Skip to content

Commit

Permalink
fix: init symtab for peFile
Browse files Browse the repository at this point in the history
  • Loading branch information
Zxilly committed Mar 9, 2024
1 parent 1361ad7 commit ae52bbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pe.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit ae52bbf

Please sign in to comment.