From 6bfa31c2998db8cef2f4be13eb77d3c83f5afe06 Mon Sep 17 00:00:00 2001 From: Caroline Leman Date: Mon, 6 Jan 2020 17:51:43 +0100 Subject: Loader/PE: Initialize entry.originalfirstthunks if empty --- miasm/loader/pe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- cgit 1.4.1