diff options
| author | ajax <devnull@localhost> | 2014-09-22 17:50:37 +0200 |
|---|---|---|
| committer | ajax <devnull@localhost> | 2014-09-22 17:50:37 +0200 |
| commit | 2d4f214f9d42bae556447a6aac375e50a4d62d12 (patch) | |
| tree | 9f4e82fc1a3527e4dbcdb6c2b1525f08f6a7b01e | |
| parent | 418d1bb2885c20864696842712a56bd5a0f51ecb (diff) | |
| download | miasm-2d4f214f9d42bae556447a6aac375e50a4d62d12.tar.gz miasm-2d4f214f9d42bae556447a6aac375e50a4d62d12.zip | |
WinAPI SEH: reduce import scope
Diffstat (limited to '')
| -rw-r--r-- | miasm2/jitter/os_dep/win_api_x86_32_seh.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/miasm2/jitter/os_dep/win_api_x86_32_seh.py b/miasm2/jitter/os_dep/win_api_x86_32_seh.py index df028e8c..1a28977d 100644 --- a/miasm2/jitter/os_dep/win_api_x86_32_seh.py +++ b/miasm2/jitter/os_dep/win_api_x86_32_seh.py @@ -22,7 +22,7 @@ import logging from elfesteem import pe_init from miasm2.jitter.csts import * from miasm2.core.utils import * -from miasm2.arch import x86 +import miasm2.arch.x86.regs as x86_regs import os # Constants Windows @@ -840,7 +840,7 @@ def set_win_fs_0(myjit, fs=4): regs['FS'] = 0x4 myjit.cpu.vm_set_gpreg(regs) myjit.cpu.vm_set_segm_base(regs['FS'], FS_0_AD) - segm_to_do = set([x86.regs.FS]) + segm_to_do = set([x86_regs.FS]) return segm_to_do |