diff options
Diffstat (limited to 'example')
| -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: |