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/src/instrument | |
| 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/src/instrument')
| -rw-r--r-- | frida_mode/src/instrument/instrument.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/frida_mode/src/instrument/instrument.c b/frida_mode/src/instrument/instrument.c index 971f80c0..5c77ade6 100644 --- a/frida_mode/src/instrument/instrument.c +++ b/frida_mode/src/instrument/instrument.c @@ -5,6 +5,7 @@ #include "config.h" #include "debug.h" +#include "asan.h" #include "entry.h" #include "frida_cmplog.h" #include "instrument.h" @@ -107,6 +108,7 @@ static void instr_basic_block(GumStalkerIterator *iterator, if (!range_is_excluded((void *)instr->address)) { + asan_instrument(instr, iterator); cmplog_instrument(instr, iterator); } @@ -142,6 +144,7 @@ void instrument_init(void) { transformer = gum_stalker_transformer_make_from_callback(instr_basic_block, NULL, NULL); + asan_init(); cmplog_init(); } |
