Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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`.



Right but you do see how this means that you need to lift code that has semantics that cannot be modeled in C?


Sure, 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: