From b169629dbd1cd0b78b541c7fa8eccf6a6a7394b1 Mon Sep 17 00:00:00 2001 From: "Subhojeet Mukherjee, PhD" Date: Mon, 1 Jul 2024 05:43:45 +0000 Subject: Fresh commit with all -- post revertion due to unicornafl update --- qemu_mode/build_qemu_support.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'qemu_mode/build_qemu_support.sh') 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 -- cgit 1.4.1