objdiff icon indicating copy to clipboard operation
objdiff copied to clipboard

[Feature request] Support for IDO line numbers

Open AngheloAlf opened this issue 10 months ago • 0 comments

Currently objdiff doesn't seem to support line numbers for IDO objects.

IDO emits line numbers in the .mdebug elf section. As far as I know there are no official docs for this section, but the best community resources we have is this: https://github.com/decompals/ultralib/blob/main/tools/mdebug.py

The attachment contains an object built with IDO, specifically IDO 7.1, built with cc -mips2 -O2 -c ido_lines_example.c -o ido_lines_example.o

ido_lines_example.zip

objdump dump can parse this. It can be tested with mips-linux-gnu-objdump -drl ido_lines_example.o

AngheloAlf avatar Mar 26 '25 12:03 AngheloAlf