about summary refs log tree commit diff stats
path: root/miasm2/os_dep/win_api_x86_32.py
diff options
context:
space:
mode:
authorCamille Mougey <commial@gmail.com>2015-01-29 12:17:28 +0100
committerCamille Mougey <commial@gmail.com>2015-01-29 12:17:28 +0100
commita222d2a117898eaa91dd85758d4ef47a7af6ef52 (patch)
tree1e333564f0e9dc71f155d3cb1e645b82e0e3423d /miasm2/os_dep/win_api_x86_32.py
parenta3900fe1a46b585771a576478ce47bc94e35537f (diff)
parent2129672c245b886a420b3b4ac9f802d104cd1f98 (diff)
downloadmiasm-a222d2a117898eaa91dd85758d4ef47a7af6ef52.tar.gz
miasm-a222d2a117898eaa91dd85758d4ef47a7af6ef52.zip
Merge pull request #50 from serpilliere/api_lib_handler
Api lib handler
Diffstat (limited to 'miasm2/os_dep/win_api_x86_32.py')
-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)