Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Use Unicorn Engine to improve analysis through deterministic prediction #737
I had an idea to make our analysis much more robust using Unicorn Engine (https://www.unicorn-engine.org/), a lightweight CPU emulator platform.
Here's the idea:
Given that the Instruction Pointer is at a given location. We can take a "snapshot" of the CPU regs and memory (ideally doing some sort of copy on write concept to avoid too much copying). And feed it to Unicorn Engine.
Then we can emulate the CPU up until the next "unpredictable jump/call", or the next N instructions, whichever comes first.
The most obvious feature this would offer would be the ability to predict the parameters to calls further down the execution pipeline.