Unicorn – The Ultimate CPU Emulator
21–30 of 35 posts
Re: Unicorn – The Ultimate CPU Emulator
#22[1] https://www.qemu.org/docs/master/devel/tcg-plugins.html
[2] https://gitlab.com/qemu-project/qemu/-/tree/master/contrib/p...
Re: Unicorn – The Ultimate CPU Emulator
#23The problem is that it's not sustainable - QEMU improved so much since the moment of fork and updating the QEMU code in Unicorn is always done manually. It is especially important for architectures that evolve quickly - ARM64, RISC-V, x86. Meanwhile, QEMU now has the notion of TCG plugins[1] that can read/write registers and memory, which is enough for most cases. You can see many examples of the plugins in contrib/p…
Re: Unicorn – The Ultimate CPU Emulator
#24The problem is that it's not sustainable - QEMU improved so much since the moment of fork and updating the QEMU code in Unicorn is always done manually. It is especially important for architectures that evolve quickly - ARM64, RISC-V, x86. Meanwhile, QEMU now has the notion of TCG plugins[1] that can read/write registers and memory, which is enough for most cases. You can see many examples of the plugins in contrib/p…
This looks useful for a lot of instrumentation use cases, but less so for building custom emulators, if I'm understanding it correctly.
Re: Unicorn – The Ultimate CPU Emulator
#25uh.. what is a cpu emulator? or what can I do with it? I am kind of having hard time comprehend this.
It can be used for many things. But the main use is reverse engineering.
Re: Unicorn – The Ultimate CPU Emulator
#26uh.. what is a cpu emulator? or what can I do with it? I am kind of having hard time comprehend this.
Re: Unicorn – The Ultimate CPU Emulator
#27uh.. what is a cpu emulator? or what can I do with it? I am kind of having hard time comprehend this.
It can be used for many things. But the main use is reverse engineering.
Re: Unicorn – The Ultimate CPU Emulator
#28It felt like science fiction watching Codex write unicorn to host binaries and reverse engineer them.
Re: Unicorn – The Ultimate CPU Emulator
#29The problem is that it's not sustainable - QEMU improved so much since the moment of fork and updating the QEMU code in Unicorn is always done manually. It is especially important for architectures that evolve quickly - ARM64, RISC-V, x86. Meanwhile, QEMU now has the notion of TCG plugins[1] that can read/write registers and memory, which is enough for most cases. You can see many examples of the plugins in contrib/p…
Re: Unicorn – The Ultimate CPU Emulator
#30The problem is that it's not sustainable - QEMU improved so much since the moment of fork and updating the QEMU code in Unicorn is always done manually. It is especially important for architectures that evolve quickly - ARM64, RISC-V, x86. Meanwhile, QEMU now has the notion of TCG plugins[1] that can read/write registers and memory, which is enough for most cases. You can see many examples of the plugins in contrib/p…
This looks useful for a lot of instrumentation use cases, but less so for building custom emulators, if I'm understanding it correctly.