diff options
author | Subhojeet Mukherjee, PhD <subhojeet.m@gmail.com> | 2024-07-01 05:43:45 +0000 |
---|---|---|
committer | Subhojeet Mukherjee, PhD <subhojeet.m@gmail.com> | 2024-07-01 05:52:06 +0000 |
commit | b169629dbd1cd0b78b541c7fa8eccf6a6a7394b1 (patch) | |
tree | 4a1108a4ffe96db28a31b5fcda1b49c65c806551 /qemu_mode/build_qemu_support.sh | |
parent | a7f928ac31bd75d91f93631790d95a86d13e134f (diff) | |
download | afl++-b169629dbd1cd0b78b541c7fa8eccf6a6a7394b1.tar.gz |
Fresh commit with all -- post revertion due to unicornafl update
Diffstat (limited to 'qemu_mode/build_qemu_support.sh')
-rwxr-xr-x | qemu_mode/build_qemu_support.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/qemu_mode/build_qemu_support.sh b/qemu_mode/build_qemu_support.sh index 19336114..4dd4fad2 100755 --- a/qemu_mode/build_qemu_support.sh +++ b/qemu_mode/build_qemu_support.sh @@ -386,6 +386,19 @@ else make -C libqasan CC="$CROSS $CROSS_FLAGS" && echo "[+] libqasan ready" fi +#### Hooking support +if [ "$ENABLE_HOOKING" = "1" ];then + echo "[+] ENABLING HOOKING" + set -e + cd ./hooking_bridge || exit 255 + mkdir -p ./build + echo "[+] Hook compiler = $CROSS" + make CC="$CROSS $CROSS_FLAGS" GLIB_H="$GLIB_H" GLIB_CONFIG_H="$GLIB_CONFIG_H" + set +e + cd .. +fi +#### End of hooking support + echo "[+] All done for qemu_mode, enjoy!" exit 0 |