diff options
author | hexcoder- <heiko@hexco.de> | 2020-02-19 02:13:50 +0100 |
---|---|---|
committer | hexcoder- <heiko@hexco.de> | 2020-02-19 02:13:50 +0100 |
commit | 3beee6da772f88f1bd7987b4b2e7c56a53ec3270 (patch) | |
tree | 2e9cbb09322c058bd2d48831062bc3cec298663d /qemu_mode/patches/tcg-runtime.diff | |
parent | 16a7e4ae681c45aadbba15bd32e7e1b5aeba2226 (diff) | |
parent | def4ad645c0ab450f8502e16117ecc50dcc2f41a (diff) | |
download | afl++-3beee6da772f88f1bd7987b4b2e7c56a53ec3270.tar.gz |
Merge branch 'master' of https://github.com/vanhauser-thc/AFLplusplus
Diffstat (limited to 'qemu_mode/patches/tcg-runtime.diff')
-rw-r--r-- | qemu_mode/patches/tcg-runtime.diff | 20 |
1 files changed, 3 insertions, 17 deletions
diff --git a/qemu_mode/patches/tcg-runtime.diff b/qemu_mode/patches/tcg-runtime.diff index 54a62ba8..15456320 100644 --- a/qemu_mode/patches/tcg-runtime.diff +++ b/qemu_mode/patches/tcg-runtime.diff @@ -1,24 +1,10 @@ diff --git a/accel/tcg/tcg-runtime.c b/accel/tcg/tcg-runtime.c -index d0d44844..46154af1 100644 +index d0d44844..009ef15a 100644 --- a/accel/tcg/tcg-runtime.c +++ b/accel/tcg/tcg-runtime.c -@@ -31,6 +31,8 @@ - #include "disas/disas.h" - #include "exec/log.h" - -+#include "../../../patches/afl-qemu-common.h" -+ - /* 32-bit helpers */ - - int32_t HELPER(div_i32)(int32_t arg1, int32_t arg2) -@@ -167,3 +169,10 @@ void HELPER(exit_atomic)(CPUArchState *env) +@@ -167,3 +167,5 @@ void HELPER(exit_atomic)(CPUArchState *env) { cpu_loop_exit_atomic(ENV_GET_CPU(env), GETPC()); } + -+ -+void HELPER(afl_entry_routine)(CPUArchState *env) { -+ -+ afl_forkserver(ENV_GET_CPU(env)); -+ -+} ++#include "../../../patches/afl-qemu-tcg-runtime-inl.h" |