LLVMParty/striga — reverse-engineered prompt
Reverse engineered prompt
Build me a small experimental Python reverse engineering tool that lifts x86_64 machine code into LLVM IR. I want to be able to run a few simple demo scripts from the terminal and see readable LLVM IR printed or saved for sample PE functions.
Include one demo that just lifts sample functions, one that shows wrapping the lifted code and running LLVM optimization on it, and one that demonstrates lifting BinaryShield VM handlers from a test executable. Keep it practical and easy to run with uv, with clear setup instructions and a couple of tests or sample traces so I can tell it’s working.
Use LLVM bindings from the current llvm nanobind project if that’s still the right approach, and look up current docs online if needed. Don’t make a polished product, just a clean research prototype with understandable code, comments around the tricky lifting parts, and commands like uv run python lift.py that work.
Want more depth? Deep Reverse