about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorFabrice Desclaux <fabrice.desclaux@cea.fr>2015-01-29 08:59:29 +0100
committerFabrice Desclaux <fabrice.desclaux@cea.fr>2015-01-29 09:21:25 +0100
commit2129672c245b886a420b3b4ac9f802d104cd1f98 (patch)
tree1e333564f0e9dc71f155d3cb1e645b82e0e3423d
parentb20bbe9ba9d953a311dec4fa2dab076b30c64248 (diff)
downloadmiasm-2129672c245b886a420b3b4ac9f802d104cd1f98.tar.gz
miasm-2129672c245b886a420b3b4ac9f802d104cd1f98.zip
Os_dep/Win: Add GetProcAddress lib handler
-rw-r--r--miasm2/os_dep/win_api_x86_32.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm2/os_dep/win_api_x86_32.py b/miasm2/os_dep/win_api_x86_32.py
index a4c07e59..0996d616 100644
--- a/miasm2/os_dep/win_api_x86_32.py
+++ b/miasm2/os_dep/win_api_x86_32.py
@@ -954,7 +954,7 @@ def kernel32_GetProcAddress(jitter):
     else:
         ad = 0
     ad = winobjs.runtime_dll.lib_get_add_func(libbase, fname)
-
+    jitter.add_breakpoint(ad, jitter.handle_lib)
     jitter.func_ret_stdcall(ret_ad, ad)