mahaloz / decomp2dbg

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

Decomp2dbg doesn't work when using an existing BinaryNinja database #61

Closed owah closed 1 year ago

owah commented 1 year ago

I noticed that when I try to continue with saved work, thus from a BNDB, decomp2dbg won't show the decompiler view, nor do the memory addresses reflect the proper names + offset in the assembly view. Maybe this is related to it being a PIE binary? (related to https://github.com/mahaloz/decomp2dbg/issues/60 ?)

mahaloz commented 1 year ago

@owah can I assume you are doing this the same way as #60 ? Where you rebased the addresses in Binja, then started debugging?

owah commented 1 year ago

I have created a new bndb of two executables without rebasing anything, and then it loads fine.

mahaloz commented 1 year ago

Alright, I'm closing this since the base cause seems to be the same as #60.