Skip to content

frida-asan: Crash the target at the actual error instruction #71

Open
@s1341

Description

@s1341

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:

  1. mprotecting the page being accessed to remove read/write permissions.
  2. Jumping back to the error instruction with restored state by (ab)using either longjmp or sigreturn.

This will make triaging bugs much easier, as they will die e.g. when run under gdb at the actual 'fault' location.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions