about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCamille Mougey <camille.mougey@cea.fr>2015-02-16 15:25:29 +0100
committerCamille Mougey <camille.mougey@cea.fr>2015-02-16 15:32:47 +0100
commitcc499d537d154ec411a340796f0d0dbd7a9efcc6 (patch)
tree7c54044d92238d15fbe488c86f1d486be55ab250
parent3d14c127bfbf9575455efbf5c54edc68d4afdcc1 (diff)
downloadmiasm-cc499d537d154ec411a340796f0d0dbd7a9efcc6.tar.gz
miasm-cc499d537d154ec411a340796f0d0dbd7a9efcc6.zip
PyLint: Remove `global` variables undefined
/miasm2/os_dep/win_api_x86_32_seh.py:596: [W0601(global-variable-undefined), init_seh] Global variable 'seh_count' undefined at the module level
miasm2/os_dep/win_api_x86_32_seh.py:729: [W0601(global-variable-undefined), fake_seh_handler] Global variable 'seh_count' undefined at the module level
-rw-r--r--miasm2/os_dep/win_api_x86_32_seh.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm2/os_dep/win_api_x86_32_seh.py b/miasm2/os_dep/win_api_x86_32_seh.py
index 8075a284..e77e30d9 100644
--- a/miasm2/os_dep/win_api_x86_32_seh.py
+++ b/miasm2/os_dep/win_api_x86_32_seh.py
@@ -590,7 +590,7 @@ def build_fake_InLoadOrderModuleList(modules_name):
 all_seh_ad = dict([(x, None)
                   for x in xrange(FAKE_SEH_B_AD, FAKE_SEH_B_AD + 0x1000, 0x20)])
 # http://blog.fireeye.com/research/2010/08/download_exec_notes.html
-
+seh_count = 0
 
 def init_seh(myjit):
     global seh_count