Elektrine lite

← Feed

@forrestthewoods@mastodon.gamedev.place

Post #4448048

2024-07-12 03:16 UTC

Any PE+PDB experts? I'm trying to map disassembled call instructions to their PDB defintion. I've got code that finds calls for a given file/line. But I can't get the function address to correlate with PDB data. RVA/SectionOffsets are ballpark but off. For example: .text has a virtual address of 69632 The call target address is 75717 But according to the PDB the function lives at 72112 or section offset 2480. Been chipping at this for many hours. Missing something :( https://gist.github.com/forrestthewoods/6222390a7e67e9e28812bcceb333886a

Replies (0)

No replies.