syscall_intercept icon indicating copy to clipboard operation
syscall_intercept copied to clipboard

intercept: Abort via the equivalent of raise(SIGABRT)

Open smcv opened this issue 6 years ago • 1 comments

If we're crashing, raise(SIGABRT) is more debugging-friendly than _exit(1) - that way we'll leave a core dump behind.


This change is Reviewable

smcv avatar May 29 '19 18:05 smcv

Hmm, this makes the tests fail, because some of the tests expect it to be possible to fail to patch a function. Sorry, I'm not sure I understand how those tests ever passed - wouldn't they kill the host process with exit_group()?

smcv avatar May 29 '19 18:05 smcv