fix ci for mac
MODIFY
test/test-frida-mode.sh
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

fix ci for mac