emulator
emulator javascript api are built to expose a way to interact with unicorn emulator.
Table of contents
clean
emulator.clean();
clean the ui, unmap all regions and start from the initial context
setup
emulator.setup(Process.getCurrentThreadId());
setup the emulator with the context hooked at specified thread id
start
var stopEmulationAt = 0xdeadbeef;
emulator.start(stopEmulationAt);
start the emulation until exception or
stopEmulationAt
address is hit
step
emulator.step();
step to the next instruction
stop
emulator.stop();
stop the emulation