How to get the stack pointer and return address and restore them to a previous state
I’m trying to implement a poor man’s call with current continuation for a program written in C. I can “easily” access and memcpy the relevant part of the C stack (obviously, that’s not portable and is full of UB, but I already bit that bullet).
How to get the stack pointer and return address and restore them to a previous state
I’m trying to implement a poor man’s “call with current continuation” for a program written in C. I can “easily” access and memcpy the relevant part of the C stack (obviously, that’s not portable and is full of UB, but I already bit that bullet).
How to get and restore the “stack pointer” and “return address” to a previous state
I’m trying to implement a poor man’s “call with current continuation” for a program written in C. I can “easily” access and memcpy the relevant part of the C stack (obviously, that’s not portable and is full of UB, but I already bit that bullet).