encounter / objdiff

A local diffing tool for decompilation projects
Apache License 2.0
113 stars 18 forks source link

View that shows which line of source asm corresponds to the line in decompiled source #134

Open H-A-M-G-E-R opened 2 hours ago

H-A-M-G-E-R commented 2 hours ago

like in decomp.me, makes decomping big functions easier

encounter commented 2 hours ago

objdiff does show source line numbers if the object was compiled with debug information (DWARFv1 .line and DWARFv2+). Does your platform use a different line number format?

encounter commented 2 hours ago

I just glanced at the agbcc repo and saw an interesting commit: https://github.com/pret/agbcc/commit/7b2372d922b6f76eac6166b270e421ce21eb583c

Could you try using -ffix-debug-line?