about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCamille Mougey <camille.mougey@cea.fr>2014-12-03 21:48:04 +0100
committerCamille Mougey <camille.mougey@cea.fr>2014-12-03 22:29:33 +0100
commit2ce28c9d3ac0b20b1b6ceb19ddccdac3f187b679 (patch)
tree93d4acc39b1d57cee195aa3f587ff636924889ee
parent8ba608cba23060502e600445108cdb46cd678df2 (diff)
downloadmiasm-2ce28c9d3ac0b20b1b6ceb19ddccdac3f187b679.tar.gz
miasm-2ce28c9d3ac0b20b1b6ceb19ddccdac3f187b679.zip
UnpackUPX: remove unused variable
-rw-r--r--example/unpack_upx.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/example/unpack_upx.py b/example/unpack_upx.py
index b3932cee..313f75a2 100644
--- a/example/unpack_upx.py
+++ b/example/unpack_upx.py
@@ -88,12 +88,11 @@ def update_binary(jitter):
 # Set callbacks
 sb.jitter.add_breakpoint(end_label, update_binary)
 
-
+# Run
 sb.run()
 
-regs = sb.jitter.cpu.get_gpreg()
+# Rebuild PE
 new_dll = []
-# XXXXX
 
 sb.pe.SHList.align_sections(0x1000, 0x1000)
 logging.info(repr(sb.pe.SHList))