diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2015-12-16 16:29:13 +0100 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2015-12-16 16:29:13 +0100 |
| commit | 797b00e9449368448518ffa5497935569049c3ba (patch) | |
| tree | 9b6540b736f6163197fe8dd4ff066a27a638aff4 /example/jitter/unpack_upx.py | |
| parent | 8ebdbffdc6c86e9b832869046dfc6e11a8fb21be (diff) | |
| download | miasm-797b00e9449368448518ffa5497935569049c3ba.tar.gz miasm-797b00e9449368448518ffa5497935569049c3ba.zip | |
Autopep8
Diffstat (limited to 'example/jitter/unpack_upx.py')
| -rw-r--r-- | example/jitter/unpack_upx.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/example/jitter/unpack_upx.py b/example/jitter/unpack_upx.py index c27ecdd8..72a9feb3 100644 --- a/example/jitter/unpack_upx.py +++ b/example/jitter/unpack_upx.py @@ -25,7 +25,8 @@ def kernel32_GetProcAddress(jitter): else jitter.get_str_ansi(args.fname)) logging.info(fname) - # Get the generated address of the library, and store it in memory to dst_ad + # Get the generated address of the library, and store it in memory to + # dst_ad ad = sb.libs.lib_get_add_func(args.libbase, fname, dst_ad) # Add a breakpoint in case of a call on the resolved function # NOTE: never happens in UPX, just for skeleton @@ -34,7 +35,6 @@ def kernel32_GetProcAddress(jitter): jitter.func_ret_stdcall(ret_ad, ad) - parser = Sandbox_Win_x86_32.parser(description="Generic UPX unpacker") parser.add_argument("filename", help="PE Filename") parser.add_argument('-v', "--verbose", |