diff options
| author | Camille Mougey <commial@gmail.com> | 2018-01-16 19:58:24 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-01-16 19:58:24 +0100 |
| commit | b1aa02dffd6f321084d6b3c337ad42b131560e88 (patch) | |
| tree | ccfce65718aa802f8e240a9dbbdf89b9b6a9518b /example/jitter/sandbox_call.py | |
| parent | 3e2364edcb6c4259782e251c236bad1090c8c9e0 (diff) | |
| parent | d147d92892b294b31f1703685a3cf67b80cadb94 (diff) | |
| download | miasm-b1aa02dffd6f321084d6b3c337ad42b131560e88.tar.gz miasm-b1aa02dffd6f321084d6b3c337ad42b131560e88.zip | |
Merge pull request #660 from serpilliere/fix_windows_open
Append b to the opens mode
Diffstat (limited to 'example/jitter/sandbox_call.py')
| -rw-r--r-- | example/jitter/sandbox_call.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example/jitter/sandbox_call.py b/example/jitter/sandbox_call.py index 49365004..dc64af15 100644 --- a/example/jitter/sandbox_call.py +++ b/example/jitter/sandbox_call.py @@ -13,7 +13,7 @@ options = parser.parse_args() sb = Sandbox_Linux_arml(options.filename, options, globals()) -with open(options.filename) as fdesc: +with open(options.filename, "rb") as fdesc: cont = Container.from_stream(fdesc) addr_to_call = cont.symbol_pool.getby_name("md5_starts").offset |