Questions about VMX-root Mode compatibility of the unicorn engine #1870
-
Hi, We are trying to add the unicorn engine into the @HyperDbg debugger to enhance our virtualization support for certain instructions. For example, we want to change our single instruction instrumentation behavior of the '!monitor' command based on emulation to offer faster virtualization experience by removing extra VM-exits. So, I have several questions I appreciate it if you could answer them.
Thanks again, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
1, it depends, Unicorn is just a CPU emulator and thus you could do anything with it. You seem to misunderstand how unicorn works. In a nutshell, Unicorn is never a Hypervisor that executes instructions on the real CPU but instead a Dynamic Binary Translator which emulates every instruction. |
Beta Was this translation helpful? Give feedback.
1, it depends, Unicorn is just a CPU emulator and thus you could do anything with it.
2. Yes.
3. No. The situation is a bit subtle. Unicorn relies on two syscall:
mmap
andmalloc
where the first one can be replaced be static memory and the latter one could be hijacked by whatever you wish.You seem to misunderstand how unicorn works. In a nutshell, Unicorn is never a Hypervisor that executes instructions on the real CPU but instead a Dynamic Binary Translator which emulates every instruction.