debugger icon indicating copy to clipboard operation
debugger copied to clipboard

x86 emulator

Open xusheng6 opened this issue 3 years ago • 3 comments

xusheng6 avatar Nov 01 '22 09:11 xusheng6

Unicorn based emulator as a debug adapter is apparently the best option, but the GPL license makes it hard to use in binja. Might need to distribute it separately from binja

xusheng6 avatar Oct 14 '24 03:10 xusheng6

An alternative is the Triton framework (https://github.com/jonathansalwan/Triton), which is licensed as Apache 2

Triton itself is not primarily an emulator, but it can be leveraged to do so with some proper engineering

xusheng6 avatar Oct 29 '24 09:10 xusheng6

Bochs can be used as well, though that means we have to write some code to boot the machine from scratch, switch the CPU to protected mode, and load the code into the correct place. Which is FINE since we only need to write it once

See also https://github.com/Vector35/debugger/issues/521

xusheng6 avatar Oct 29 '24 09:10 xusheng6