Live data from Hacker News

Unicorn – The Ultimate CPU Emulator

unicorn-engine.org

31–35 of 35 posts

Re: Unicorn – The Ultimate CPU Emulator

#31

Somewhat relatedly, is there something halfway between QEMU and Unicorn? That is, a full VM in a library, with debugging capabilities. I'd like to be able to configure a VM, save the execution at a specific point, modify memory, run, and stop when some condition is hit (e.g. a memory address is read, or executed). For years I've had this idea of running the Jamella editor in multiple threads to crack Diablo II item s…

Maybe kinda sorta https://github.com/momo5502/sogen? It can even virtualize Modern Warfare 2 these days.

Re: Unicorn – The Ultimate CPU Emulator

#32

> Based on Qemu 5, we built Unicorn2 from scratch, […] still maintaining backward compatibility with the current version, […] we also added 2 highly-demanded architectures in PowerPC & RISCV. Qemu supports RV and PPC! And that is not what “from scratch” means!

I think they re-implemented Unicorn on a newer version of QEMU 5, rather than trying to port their old modifications over. Unicorn apparently did not support RV and PPC in the older version.

Re: Unicorn – The Ultimate CPU Emulator

#33
post #31

Somewhat relatedly, is there something halfway between QEMU and Unicorn? That is, a full VM in a library, with debugging capabilities. I'd like to be able to configure a VM, save the execution at a specific point, modify memory, run, and stop when some condition is hit (e.g. a memory address is read, or executed). For years I've had this idea of running the Jamella editor in multiple threads to crack Diablo II item s…

Maybe kinda sorta https://github.com/momo5502/sogen ? It can even virtualize Modern Warfare 2 these days.

Also interesting, but like Qiling it simulates the kernel. That seems weird to me, that two projects would independently converge on the same solution. Is it that hard to emulate both rings, or is it that it makes useful analysis more difficult?

Re: Unicorn – The Ultimate CPU Emulator

#34
post #31

Earlier quoted context omitted.

Maybe kinda sorta https://github.com/momo5502/sogen ? It can even virtualize Modern Warfare 2 these days.

Also interesting, but like Qiling it simulates the kernel. That seems weird to me, that two projects would independently converge on the same solution. Is it that hard to emulate both rings, or is it that it makes useful analysis more difficult?

Maybe some KVM patching to use SLAT for breakpoints/watchpoints would fit your bill? Not sure.
Post reply on HN