Skip to content

Commit

Permalink
update elfdump
Browse files Browse the repository at this point in the history
  • Loading branch information
LordNoteworthy committed Jun 27, 2024
1 parent 7893970 commit 3399497
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/elfdump.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func dumpFileHeader(fileHdr elf.FileHeader) {
}

func parse(filename string, cfg config) {
p, err := elf.New(filename)
p, err := elf.New(filename, nil)
defer p.CloseFile()
if err != nil {
panic(err)
Expand Down

0 comments on commit 3399497

Please sign in to comment.