about summary refs log tree commit diff stats
path: root/example/jitter/unpack_upx.py
diff options
context:
space:
mode:
authorPierre LALET <pierre.lalet@cea.fr>2015-12-13 16:05:09 +0100
committerPierre LALET <pierre.lalet@cea.fr>2015-12-13 16:31:27 +0100
commit300060933c1bb37f32697c7d2656a786fdfa4068 (patch)
tree1e7d8cac554c507203d44a2b44051494898c0371 /example/jitter/unpack_upx.py
parente6005b389d32af540f91db871a214a4f235ef64c (diff)
downloadmiasm-300060933c1bb37f32697c7d2656a786fdfa4068.tar.gz
miasm-300060933c1bb37f32697c7d2656a786fdfa4068.zip
Examples: set load_hdr to True for the sandbox in unpack_upx.py
Diffstat (limited to 'example/jitter/unpack_upx.py')
-rw-r--r--example/jitter/unpack_upx.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/example/jitter/unpack_upx.py b/example/jitter/unpack_upx.py
index c329244e..58507506 100644
--- a/example/jitter/unpack_upx.py
+++ b/example/jitter/unpack_upx.py
@@ -43,7 +43,9 @@ parser.add_argument("--graph",
                     help="Export the CFG graph in graph.dot",
                     action="store_true")
 options = parser.parse_args()
-sb = Sandbox_Win_x86_32(options.filename, options, globals(), parse_reloc=False)
+options.load_hdr = True
+sb = Sandbox_Win_x86_32(options.filename, options, globals(),
+                        parse_reloc=False)
 
 
 if options.verbose is True: