about summary refs log tree commit diff stats
path: root/miasm2/os_dep/win_api_x86_32_seh.py
diff options
context:
space:
mode:
Diffstat (limited to 'miasm2/os_dep/win_api_x86_32_seh.py')
-rw-r--r--miasm2/os_dep/win_api_x86_32_seh.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/miasm2/os_dep/win_api_x86_32_seh.py b/miasm2/os_dep/win_api_x86_32_seh.py
index e77e30d9..7b10c88c 100644
--- a/miasm2/os_dep/win_api_x86_32_seh.py
+++ b/miasm2/os_dep/win_api_x86_32_seh.py
@@ -19,11 +19,14 @@
 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 #
 import logging
+import os
+import struct
+
 from elfesteem import pe_init
-from miasm2.jitter.csts import *
-from miasm2.core.utils import *
+
+from miasm2.jitter.csts import PAGE_READ, PAGE_WRITE
+from miasm2.core.utils import pck32, upck32
 import miasm2.arch.x86.regs as x86_regs
-import os
 
 # Constants Windows
 EXCEPTION_BREAKPOINT = 0x80000003