Displaying 1 result from an estimated 1 matches for "_ebp".
Did you mean:
_eb
2001 Jul 11
1
Porting MS Structured Exception Handling to Linux.
...X.1 and POSIX.4
void on_accvio(int signo/*, siginfo_t *info, void *ignored*/)
{
printf ("[%d] - on_accvio() : entered %d\n", pthread_self(), i++);
void **_p = (void **)&signo;
throw true;
struct sigcontext_struct *_regs = (struct sigcontext_struct *)++_p;
register unsigned long _ebp = _regs->ebp;
register unsigned long _eip = _regs->eip;
asm volatile ("mov %0, (%%ebp); mov %1, 4(%%ebp)" : : "r"(_ebp),
"r"(_eip));
//These are remmed out because I was testing stuff.
// register unsigned long _esp = _regs->esp;
// asm volatile ("mov...