r/AskReverseEngineering • u/ddddavidee • Apr 27 '21
VirtualMachine proprietary implementation reverse engineering
Hi all,
I would like to understand how to approach the reverse engineering of a proprietary virtual machine implementation. Is there any good blogpost or paper or video to understand how to approach the problem?
More in details: I've an implementation of an algorithm that is implemented using a biiiig switch case and big block of code re-implementing the heap and stack of the functions. I would like to simplify it, understanding who does what.
1
Upvotes
View all comments
Show parent comment
2
u/dLabsPeterL Apr 27 '21
If that’s your goal, using an emulation engine such as Unicorn is probably your best bet. Set-up a common state (input) and observe the output and threat those two different blocks as a black-box.
You should also google: Syntia program synthesis I’ve not used it but the idea is nice.