diff options
| author | WorksButNotTested <62701594+WorksButNotTested@users.noreply.github.com> | 2021-05-17 19:02:45 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-17 20:02:45 +0200 |
| commit | e40c0c2da16f14dfddb5641f6f825903879534a9 (patch) | |
| tree | 363135f288fd63253471a0455ebadd24a512a1ce /frida_mode/include | |
| parent | 9d50ae7468970412177c9e08edf7f32ff9fdf1ce (diff) | |
| download | afl++-e40c0c2da16f14dfddb5641f6f825903879534a9.tar.gz | |
FASAN Support (#918)
* FASAN Support * Fix handling of Address Sanitizer DSO * Changes to identification of Address Sanitizer DSO Co-authored-by: Your Name <you@example.com>
Diffstat (limited to 'frida_mode/include')
| -rw-r--r-- | frida_mode/include/asan.h | 13 | ||||
| -rw-r--r-- | frida_mode/include/ctx.h | 11 |
2 files changed, 24 insertions, 0 deletions
diff --git a/frida_mode/include/asan.h b/frida_mode/include/asan.h new file mode 100644 index 00000000..7a8726e0 --- /dev/null +++ b/frida_mode/include/asan.h @@ -0,0 +1,13 @@ +#ifndef _ASAN_H +#define _ASAN_H + +#include "frida-gum.h" + +extern gboolean asan_initialized; + +void asan_init(void); +void asan_arch_init(void); +void asan_instrument(const cs_insn *instr, GumStalkerIterator *iterator); + +#endif + diff --git a/frida_mode/include/ctx.h b/frida_mode/include/ctx.h new file mode 100644 index 00000000..030d124a --- /dev/null +++ b/frida_mode/include/ctx.h @@ -0,0 +1,11 @@ +#ifndef _CTX_H +#define _CTX_H + +#include "frida-gum.h" + +#if defined(__x86_64__) +guint64 ctx_read_reg(GumX64CpuContext *ctx, x86_reg reg); +#endif + +#endif + |
