x64dbg / x64dbgpy

Automating x64dbg using Python, Snapshots:
https://ci.appveyor.com/project/mrexodia/x64dbg-python/build/artifacts
MIT License
1.47k stars 70 forks source link

Support python 3 #44

Open KOLANICH opened 4 years ago

mrexodia commented 4 years ago

In theory rewriting things with pybind11 should make this very doable. Part of the API is already in pybind11, but the interpreter isn’t (because at the time this wasn’t supported). Do you have any suggestions to have this transition go smoothly?

Previously the argument to not support python 3 was that basically nobody was using it in RE, but now that IDA switched(?) I think it’s time...

KOLANICH commented 4 years ago

Do you have any suggestions to have this transition go smoothly?

Currently no, I have not even looked into the sources yet.

noword commented 4 years ago

I have not looked into the sources either. But what is pybind11 for? The QT lib? Maybe we don't need the GUI, just loading and running python script is enough. Or use a embedded ipython even better.

mrexodia commented 4 years ago

Then maybe look into the sources and what x64dbgpy actually does before commenting 😏

nj00001 commented 3 years ago

python3 supports a lot of powerful binary analysis frameworks, and it will be exciting to combine it with x64dbg

mrexodia commented 3 years ago

Some development has happened recently, but it's very early stage and currently you can pretty much only print("Hello world"): https://github.com/x64dbg/x64dbgpy3/tree/dev

schrodyn commented 1 year ago

Was wondering if there are any plans to complete the support for python3? There's so many modules available now that would help in x64dbg scripts that aren't compatible with python2.

mrexodia commented 1 year ago

See https://github.com/x64dbg/x64dbg/wiki/Plugins there’s a few python 3 plugins

schrodyn commented 1 year ago

Thanks, I'll check those out and try developing some python3 based scripts myself - see what works.