From ae52bbf6d22bc7f4a75b990d74540362021b61f8 Mon Sep 17 00:00:00 2001 From: Zxilly Date: Sun, 10 Mar 2024 01:12:01 +0800 Subject: [PATCH] fix: init symtab for peFile --- pe.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pe.go b/pe.go index 856b5e6..080526b 100644 --- a/pe.go +++ b/pe.go @@ -62,7 +62,7 @@ func openPE(fp string) (peF *peFile, err error) { return } - peF = &peFile{file: f, osFile: osFile, imageBase: imageBase} + peF = &peFile{file: f, osFile: osFile, imageBase: imageBase, symtab: newSymbolTableOnce()} return }