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

Exception while connection on Fedora 39 - Python 3.12 #82

Closed Exiled1 closed 10 months ago

Exiled1 commented 11 months ago

Versions:

Potentially strange environment configurations: I am currently using this script to be able to swap between gdb versions

Behavior: After setting up the RPC server to localhost with the default port, image

And after confirming that there was a listening service on 127.0.0.1: image

I use the command gdb-pwndbg ./death_note (Should be the same thing as gdb with pwndbg installed), and use the following commands:

The same error occurs when I use GEF, and GDB, GEF: image

GDB: image

If you would like me to modify my environment to troubleshoot, I absolutely can :).

mahaloz commented 11 months ago

Hi @Exiled1, would you be able to provide your Python version? Using this binary on Ubuntu 22.04, which has Python 3.10, I was unable to reproduce this bug :(. My best guess is you have a rather old Python version that changed how one of the library calls work

Exiled1 commented 11 months ago

Hello! I actually have Python 3.11.7 installed on this machine, would that be a problem?

image

mahaloz commented 10 months ago

So it turns out this was fixed in https://github.com/mahaloz/decomp2dbg/commit/60822010a98e69c338211f928f2270960fc5a313, but the Python pip remote was not updated... ha! However, we also fixed it by installing binutils gcc. Should this bug reappear, it's due to those not being installed.