mahaloz / decomp2dbg

A plugin to introduce interactive symbols into your debugger from your decompiler
BSD 2-Clause "Simplified" License
621 stars 39 forks source link

Incorrect symbol address for some functions in Ghidra #101

Open antkss opened 5 months ago

antkss commented 5 months ago

image

antkss commented 5 months ago

i still can use disassemble cookhim but these numbers are in a wrong order image

antkss commented 5 months ago

chall.zip this is the binary

mahaloz commented 5 months ago

Would you be able to describe in more detail what the bug is? In your first screenshot, I can see the decompilation. d2d does not touch how disassemble works, so I'm not sure what the bug is here.

antkss commented 5 months ago

my program is in main function right now you can see gdb show us it's the main function and these number here is following the order 2024_06_04_0aw_Kleki but when connected to ghidra, it shows in wrong order image sometime it doesn't show any number, i need these numbers because it can use to set breakpoint image

antkss commented 5 months ago

the issue happends only when i use ghidra, binary ninja or angr is fine

mahaloz commented 5 months ago

@antkss, so if I understand this correctly, the issue is the number <+0> shown next to the addresses? This really seems like a pwndbg issue. Are you sure this is reproducible in something like GEF?

antkss commented 5 months ago

@antkss, so if I understand this correctly, the issue is the number <+0> shown next to the addresses? This really seems like a pwndbg issue. Are you sure this is reproducible in something like GEF?

gef is in trouble too, raw gdb either

https://github.com/mahaloz/decomp2dbg/issues/101#issuecomment-2146322734