Closed nfllab closed 1 year ago
I'll look into this shortly. The moduleData is used to help resolve the correct VA of the pclntab which is necessary for computing the correct function VA's
I found the bug, I forgot to add a case here for the new 1.20 layout: https://github.com/mandiant/GoReSym/blob/0704f37cede1a0b5c8a03fb57fbb4fc1f6ada76b/objfile/objfile.go#L260-L262
I should have a fix in a few days, thanks for the report!
Please try the new release https://github.com/mandiant/GoReSym/releases/tag/v2.3 and re-open this issue if you notice issues still.
Looks good, thanks!
Hi, GoReSym returns wrong function addresses for Go 1.20 samples.
For example running the v2.2 release on itself returns:
Here 7449600 equals 0x71AC00, but the correct address of main.main is 0x53f2c0.
It is also notable that moduleData was not found:
output.txt