diff options
| author | Ajax <commial@gmail.com> | 2015-11-06 17:19:05 +0100 |
|---|---|---|
| committer | Ajax <commial@gmail.com> | 2015-11-06 17:31:44 +0100 |
| commit | 93ca252a09d8dc018fe8d96485a6a8883a8b2f15 (patch) | |
| tree | 69069d5599e4b42285a58306b858e2d44431a1df /example/jitter/unpack_upx.py | |
| parent | ecb48bb8a993e72b96d84fe09f81bbdc0c513fbc (diff) | |
| download | focaccia-miasm-93ca252a09d8dc018fe8d96485a6a8883a8b2f15.tar.gz focaccia-miasm-93ca252a09d8dc018fe8d96485a6a8883a8b2f15.zip | |
Example/UnpackUPX: useless variable
Diffstat (limited to 'example/jitter/unpack_upx.py')
| -rw-r--r-- | example/jitter/unpack_upx.py | 5 |
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() |