diff options
author | van Hauser <vh@thc.org> | 2021-12-27 11:23:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-27 11:23:24 +0100 |
commit | 43b162c222cd7f258e41fb8b7b3fc5c6dd6b0bd2 (patch) | |
tree | 112f94f4cb261114256da5ced1557f0f86f727b4 /frida_mode/src/persistent/persistent_arm64.c | |
parent | 54eca027a5b234c530a59e340a3ad617d1f24384 (diff) | |
parent | 5d9134d6adfdbfb72dc0f1ba2759ee577c38a7da (diff) | |
download | afl++-43b162c222cd7f258e41fb8b7b3fc5c6dd6b0bd2.tar.gz |
Merge pull request #1228 from WorksButNotTested/frida
Frida
Diffstat (limited to 'frida_mode/src/persistent/persistent_arm64.c')
-rw-r--r-- | frida_mode/src/persistent/persistent_arm64.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/frida_mode/src/persistent/persistent_arm64.c b/frida_mode/src/persistent/persistent_arm64.c index 48f29bb0..16ecf39c 100644 --- a/frida_mode/src/persistent/persistent_arm64.c +++ b/frida_mode/src/persistent/persistent_arm64.c @@ -236,7 +236,13 @@ static void instrument_exit(GumArm64Writer *cw) { static int instrument_afl_persistent_loop_func(void) { int ret = __afl_persistent_loop(persistent_count); - instrument_previous_pc = instrument_hash_zero; + if (instrument_previous_pc_addr == NULL) { + + FATAL("instrument_previous_pc_addr uninitialized"); + + } + + *instrument_previous_pc_addr = instrument_hash_zero; return ret; } |