diff options
| author | Camille Mougey <camille.mougey@cea.fr> | 2014-12-03 18:55:09 +0100 |
|---|---|---|
| committer | Camille Mougey <camille.mougey@cea.fr> | 2014-12-03 18:55:09 +0100 |
| commit | b5ef677a36d82af8a93c0cbacf958e59fe5f79e1 (patch) | |
| tree | 85efbcbd72649d2a0ccb9488261ca1aa254f379d | |
| parent | 6a0cf990d2e0c11edc91629aabfd52f847f1a381 (diff) | |
| download | miasm-b5ef677a36d82af8a93c0cbacf958e59fe5f79e1.tar.gz miasm-b5ef677a36d82af8a93c0cbacf958e59fe5f79e1.zip | |
Kernel32: GetModuleFileName: Give a hint on warning (hcurmodule)
| -rw-r--r-- | miasm2/os_dep/win_api_x86_32.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/miasm2/os_dep/win_api_x86_32.py b/miasm2/os_dep/win_api_x86_32.py index f09116e0..a4c07e59 100644 --- a/miasm2/os_dep/win_api_x86_32.py +++ b/miasm2/os_dep/win_api_x86_32.py @@ -805,7 +805,8 @@ def kernel32_GetModuleFileName(jitter, funcname, set_str): for x in winobjs.runtime_dll.name2off.items()]) p = name_inv[hmodule] else: - log.warning('unknown module %x' % hmodule) + log.warning('Unknown module 0x%x.' + \ + 'Set winobjs.hcurmodule and retry' % hmodule) p = None if p is None: |