diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2014-09-19 10:43:32 +0200 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2014-09-19 10:43:32 +0200 |
| commit | 3674bace8dbc185aefca1b4fa85983adfe73956b (patch) | |
| tree | 3868dca81348cc0ef76b024d2d151293e9a911d9 /example/unpack_upx.py | |
| parent | 3f11ce8a64d4dcc37587c4750ae5381a808695ef (diff) | |
| download | miasm-3674bace8dbc185aefca1b4fa85983adfe73956b.tar.gz miasm-3674bace8dbc185aefca1b4fa85983adfe73956b.zip | |
merge
Diffstat (limited to 'example/unpack_upx.py')
| -rw-r--r-- | example/unpack_upx.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/example/unpack_upx.py b/example/unpack_upx.py index 05e3f4b7..6805c82d 100644 --- a/example/unpack_upx.py +++ b/example/unpack_upx.py @@ -96,7 +96,7 @@ if args.graph is True: # User defined methods -def mygetproc(myjit): +def kernel32_GetProcAddress(myjit): global libs ret_ad, args = myjit.func_args_stdcall(2) libbase, fname = args @@ -113,10 +113,6 @@ def mygetproc(myjit): ad = libs.lib_get_add_func(libbase, fname, dst_ad) myjit.func_ret_stdcall(ret_ad, ad) - -def kernel32_GetProcAddress(myjit): - return mygetproc(myjit) - # Set libs for win_32 api win_api_x86_32.winobjs.runtime_dll = libs if args.verbose is True: |