mandiant / GoReSym

Go symbol recovery tool
MIT License
498 stars 62 forks source link

Windows ARM64 executable support #10

Closed billziss-gh closed 1 year ago

billziss-gh commented 1 year ago

When I try to run GoReSym against an ARM64 executable I get the following error:

{"error": "Failed to parse file: invalid file: open ..\cgofuse\memfs.exe: unrecognized object file or bad filepath"}

Please consider adding support for Windows ARM64 executables.

stevemk14ebr commented 1 year ago

I can look into this, can you provide an example binary for me?

billziss-gh commented 1 year ago

Here is the one I used.

memfs.zip

It should also be easy to create your own examples with GOARCH=arm64 GOOS=windows go build.

stevemk14ebr commented 1 year ago

This is fixed on master, thanks for reporting

billziss-gh commented 1 year ago

I can confirm that this is fixed. Thank you for the very quick turnaround.