about summary refs log tree commit diff stats
path: root/example/jitter/unpack_upx.py
diff options
context:
space:
mode:
Diffstat (limited to 'example/jitter/unpack_upx.py')
-rw-r--r--example/jitter/unpack_upx.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/example/jitter/unpack_upx.py b/example/jitter/unpack_upx.py
index 09bd801e..eb03209b 100644
--- a/example/jitter/unpack_upx.py
+++ b/example/jitter/unpack_upx.py
@@ -13,10 +13,10 @@ if filename and os.path.isfile(filename):
 # User defined methods
 
 def kernel32_GetProcAddress(jitter):
-    """Hook on GetProcAddress to note where UPX store imports pointer"""
+    """Hook on GetProcAddress to note where UPX stores import pointers"""
     ret_ad, args = jitter.func_args_stdcall(["libbase", "fname"])
 
-    # When the function is called, EBX is a pointer on the destination buffer
+    # When the function is called, EBX is a pointer to the destination buffer
     dst_ad = jitter.cpu.EBX
     logging.info('EBX ' + hex(dst_ad))
 
@@ -28,7 +28,7 @@ def kernel32_GetProcAddress(jitter):
     # 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 append in UPX, just for skeleton
+    # NOTE: never happens in UPX, just for skeleton
     jitter.handle_function(ad)
 
     jitter.func_ret_stdcall(ret_ad, ad)