about summary refs log tree commit diff stats
path: root/example
diff options
context:
space:
mode:
authorAjax <commial@gmail.com>2015-11-06 17:19:05 +0100
committerAjax <commial@gmail.com>2015-11-06 17:31:44 +0100
commit93ca252a09d8dc018fe8d96485a6a8883a8b2f15 (patch)
tree69069d5599e4b42285a58306b858e2d44431a1df /example
parentecb48bb8a993e72b96d84fe09f81bbdc0c513fbc (diff)
downloadmiasm-93ca252a09d8dc018fe8d96485a6a8883a8b2f15.tar.gz
miasm-93ca252a09d8dc018fe8d96485a6a8883a8b2f15.zip
Example/UnpackUPX: useless variable
Diffstat (limited to 'example')
-rw-r--r--example/jitter/unpack_upx.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/example/jitter/unpack_upx.py b/example/jitter/unpack_upx.py
index 2d0a02ea..0a299e97 100644
--- a/example/jitter/unpack_upx.py
+++ b/example/jitter/unpack_upx.py
@@ -46,13 +46,10 @@ else:
 if options.verbose is True:
     print sb.jitter.vm
 
-
-ep = sb.entry_point
-
 # Ensure there is one and only one leave (for OEP discovering)
 mdis = sb.machine.dis_engine(sb.jitter.bs)
 mdis.dont_dis_nulstart_bloc = True
-ab = mdis.dis_multibloc(ep)
+ab = mdis.dis_multibloc(sb.entry_point)
 
 bb = asmbloc.basicblocs(ab)
 leaves = bb.get_bad_dst()