diff options
| author | serpilliere <serpilliere@users.noreply.github.com> | 2020-01-07 10:13:22 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-01-07 10:13:22 +0100 |
| commit | ca79614f9e7cec641aa71e33d5a567ba2cd7cbc3 (patch) | |
| tree | 1b040dccc456d774f42d957ba4c1146bd9142376 | |
| parent | 667bc58f573b98a87b27d0613ebf58c3fc8d2371 (diff) | |
| parent | 6bfa31c2998db8cef2f4be13eb77d3c83f5afe06 (diff) | |
| download | miasm-ca79614f9e7cec641aa71e33d5a567ba2cd7cbc3.tar.gz miasm-ca79614f9e7cec641aa71e33d5a567ba2cd7cbc3.zip | |
Merge pull request #1120 from carolineLe/fix_pe_loader
Loader/PE: Initialize entry.originalfirstthunks if empty
| -rw-r--r-- | miasm/loader/pe.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm/loader/pe.py b/miasm/loader/pe.py index 6ab6451e..f402e980 100644 --- a/miasm/loader/pe.py +++ b/miasm/loader/pe.py @@ -887,7 +887,7 @@ class DirDelay(CStruct): addr, Rva) else: - entry.originalfirstthunks + entry.originalfirstthunks = None if entry.firstthunk: entry.firstthunks = struct_array(self, raw, |