3 ms·
That's unlikely, since we use QEMU as a lifter, which sometimes supports new instructions before they hit silicon. However, I think we'll emit a call to some `
by aleclm 3y ago
That's unlikely, since we use QEMU as a lifter, which sometimes supports new instructions before they hit silicon.
However, I think we'll emit a call to some `noreturn` function. Basically we emit a call to `abort`.
- saagarjha 3y agoRight but you do see how this means that you need to lift code that has semantics that cannot be modeled in C?
- aleclm 3y agoSure, in those cases we emit calls to C functions. The only thing we need to know is what registers are taken as input, what registers are output and what registers are preserved. In QEMU parlance, these are helper functions, and they have actual implementations. But for decompilation purposes, you don't need to implement them. You just need to know how they interact with the registers.