LibAFL
LibAFL copied to clipboard
frida-asan: Crash the target at the actual error instruction
frida-asan should crash the target at the actual error instruction location instead of panicking from the error reporting function.
This can probably be most easily achieved by:
mprotecting the page being accessed to remove read/write permissions.- Jumping back to the error instruction with restored state by (ab)using either
longjmporsigreturn.
This will make triaging bugs much easier, as they will die e.g. when run under gdb at the actual 'fault' location.