New answers tagged

0 votes
Accepted

Stack Program Counter

Under normal circumstances, the program counter is just incremented i.e. the next instruction is executed. When you call a function, instead of the next instruction, some other instruction needs to be ...
  • 719
0 votes

Stack Program Counter

When you perform a call, you jump into a proceduce that can ret, effectively doing similar work to how a usual function call ...
  • 11.2k
4 votes

Why is static recompilation not possible?

Static recompilation is used, for example it is central in Apple's Rosetta 2 emulator. But there are challenges that make it difficult to apply. Most importantly, all jump targets are not readily ...
  • 449
19 votes
Accepted

Why is static recompilation not possible?

Static recompilation from a binary is hard, because it is challenging to reconstruct the structure of the program. It is hard to statically figure out the location of all instructions that will be ...
  • 147k

Top 50 recent answers are included