diff options
| author | ajax <devnull@localhost> | 2014-09-18 18:55:02 +0200 |
|---|---|---|
| committer | ajax <devnull@localhost> | 2014-09-18 18:55:02 +0200 |
| commit | edd933fe4a8e985cb769ec44e8219e95d617590e (patch) | |
| tree | d44e77a96a34b4c0ad159c0abc837b7cc3323bf5 | |
| parent | f2058cdc7aa6bdb4667805f9a83e9a38ee6a6ab5 (diff) | |
| download | miasm-edd933fe4a8e985cb769ec44e8219e95d617590e.tar.gz miasm-edd933fe4a8e985cb769ec44e8219e95d617590e.zip | |
Unpack UPX: Useless wrapper
| -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: |