From 300060933c1bb37f32697c7d2656a786fdfa4068 Mon Sep 17 00:00:00 2001 From: Pierre LALET Date: Sun, 13 Dec 2015 16:05:09 +0100 Subject: Examples: set load_hdr to True for the sandbox in unpack_upx.py --- example/jitter/unpack_upx.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'example') 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: -- cgit 1.4.1