1

I am trying to use angr, a binary analysis toolkit for Python. I realized that I need a binary file to be able to load the project and start working on it.

How can I convert a python script or c++ program to a binary file? Is there a way achieve this?

Note: I believe the binary file is different than .exe file as I already tried pycompile which created .exe file.

anaw ol
  • 11
  • 2
  • 1
    Well, an exe is also a binary (for windows). Refer to this https://stackoverflow.com/questions/12339671/how-to-compile-python-script-to-binary-executable. – Rohan Mukherjee Jun 21 '20 at 00:42
  • 1
    Tools like `angr` are used when no source is available because all you have is a binary. They're kind of pointless when you *already have the source*. You don't need to reverse-engineer the code, you can just open it in a text editor. – tadman Jun 21 '20 at 00:45
  • 1
    Same goes for C++ if you already have the source. Just read it. – tadman Jun 21 '20 at 00:46

0 Answers0