r/AskReverseEngineering • u/MysteriousShadow__ • Nov 12 '21
Software like Ghidra except the decoded code is in Python and not C?
Ghidra is a fantastic software for reverse engineering but I'm just using it for some online fun challenges. I'm not a cs major and for god's sake I cannot read C/C++ code. Is there way to convert that to python or in general elf files to python code?
0
Upvotes
5
u/dLabsPeterL Nov 12 '21
In theory it's possible but the two languages differ too much. C is closer to assembly. Python has, for example, no built-in way to represent unions and you will end up with hackish looking Python anyways.
5
u/darth_yoda_ Nov 12 '21
I think before learning how to reverse-engineer you should learn how to forward-engineer at least at a basic level…something that is usually done in C/C++
4
u/snake_case_believer Nov 12 '21
I've been in your shoes before so ill give you an advise. You could actually take 3 paths.