encounter / objdiff

A local diffing tool for decompilation projects
Apache License 2.0
77 stars 13 forks source link

Support COFF line numbers #55

Open tomsons26 opened 3 months ago

tomsons26 commented 3 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"