about summary refs log tree commit diff stats
path: root/miasm/tools
diff options
context:
space:
mode:
Diffstat (limited to 'miasm/tools')
-rw-r--r--miasm/tools/emul_lib/libcodenat.h9
-rw-r--r--miasm/tools/to_c_helper.py4
2 files changed, 13 insertions, 0 deletions
diff --git a/miasm/tools/emul_lib/libcodenat.h b/miasm/tools/emul_lib/libcodenat.h
index 0f3f99af..026236cb 100644
--- a/miasm/tools/emul_lib/libcodenat.h
+++ b/miasm/tools/emul_lib/libcodenat.h
@@ -157,6 +157,15 @@ typedef struct {
 	unsigned int reg_float_control;
 	unsigned int reg_float_control_new;
 
+	unsigned int reg_float_eip;
+	unsigned int reg_float_eip_new;
+	unsigned int reg_float_cs;
+	unsigned int reg_float_cs_new;
+	unsigned int reg_float_address;
+	unsigned int reg_float_address_new;
+	unsigned int reg_float_ds;
+	unsigned int reg_float_ds_new;
+
 
 	unsigned int tsc1;
 	unsigned int tsc2;
diff --git a/miasm/tools/to_c_helper.py b/miasm/tools/to_c_helper.py
index d3394117..b9437b15 100644
--- a/miasm/tools/to_c_helper.py
+++ b/miasm/tools/to_c_helper.py
@@ -136,6 +136,10 @@ my_C_id = [
     #i_d_new,
     #my_tick,
     float_control,
+    float_eip ,
+    float_cs ,
+    float_address ,
+    float_ds ,
     #cond,
     ds,
     #vm_exception_flags,