about summary refs log tree commit diff
path: root/test
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2022-01-30 18:02:09 +0100
committervanhauser-thc <vh@thc.org>2022-01-30 18:02:09 +0100
commit59a7337bf14b53ba970b6362d911c196f22e3b5e (patch)
treecbbf2e63abc4c2c989d44e240e8973ac9d87c3c4 /test
parentc75124aefa1480df74b0f9ea6872730a1be6b015 (diff)
downloadafl++-59a7337bf14b53ba970b6362d911c196f22e3b5e.tar.gz
fix ci for mac
Diffstat (limited to 'test')
-rwxr-xr-xtest/test-frida-mode.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-frida-mode.sh b/test/test-frida-mode.sh
index 92b44071..501ef70a 100755
--- a/test/test-frida-mode.sh
+++ b/test/test-frida-mode.sh
@@ -61,7 +61,7 @@ test -e ../afl-frida-trace.so && {
           #if file test-instr | grep -q "32-bit"; then
           #else
           #fi
-          export AFL_FRIDA_PERSISTENT_ADDR=0x`nm test-instr | grep "T main" | awk '{print $1}'`
+          export AFL_FRIDA_PERSISTENT_ADDR=0x`nm test-instr | grep -Ei "T _main|T main" | awk '{print $1}'`
           $ECHO "Info: AFL_FRIDA_PERSISTENT_ADDR=$AFL_FRIDA_PERSISTENT_ADDR <= $(nm test-instr | grep "T main" | awk '{print $1}')"
           env|grep AFL_|sort
           file test-instr