encounter / objdiff

A local diffing tool for decompilation projects
Apache License 2.0
125 stars 21 forks source link

Support COFF line numbers #55

Closed tomsons26 closed 2 months ago

tomsons26 commented 8 months ago

MSVC stores line numbers in obj as extra data accessed via a pointer in various headers. Official specs are available here "5.3. COFF Line Numbers" https://courses.cs.washington.edu/courses/cse378/03wi/lectures/LinkerFiles/coff.pdf Pointers are mentioned in "4. Section Table (Section Headers)" "5.5.1. Auxiliary Format 1: Function Definitions"