Date: Thu, 28 Nov 2024 22:17:26 +0000
On Thu, Nov 28, 2024 at 5:39 PM Thiago Macieira wrote:
>
> That makes even less sense. How can you have a reference to a register?
Having put more thought into it, it would have to be two separate functions:
auto get_return_address(void) -> void (*)(void);
void set_return_address( void (*)(void) );
You mentioned Control Flow Enforcement -- which by the way I've never
encountered -- but of course you would turn that off when debugging.
>
> That makes even less sense. How can you have a reference to a register?
Having put more thought into it, it would have to be two separate functions:
auto get_return_address(void) -> void (*)(void);
void set_return_address( void (*)(void) );
You mentioned Control Flow Enforcement -- which by the way I've never
encountered -- but of course you would turn that off when debugging.
Received on 2024-11-28 22:17:37