Lines Matching full:lto
5 $ECHO "$BLUE[*] Testing: LTO llvm_mode"
6 test -e ../afl-clang-lto -a -e ../SanitizerCoverageLTO.so && {
16 ../afl-clang-lto -o test-instr.plain ../test-instr.c > /dev/null 2>&1
18 $ECHO "$GREEN[+] llvm_mode LTO compilation succeeded"
23 … $ECHO "$RED[!] llvm_mode LTO instrumentation should be different on different input but is not"
26 $ECHO "$GREEN[+] llvm_mode LTO instrumentation present and working correctly"
29 $ECHO "$GREEN[+] llvm_mode LTO run reported $TUPLES instrumented locations which is fine"
31 $ECHO "$RED[!] llvm_mode LTO instrumentation produces weird numbers: $TUPLES"
36 $ECHO "$RED[!] llvm_mode LTO instrumentation failed"
41 $ECHO "$RED[!] LTO llvm_mode failed"
47 …AFL_DEBUG=1 AFL_LLVM_INSTRUMENT_FILE=instrumentlist.txt ../afl-clang-lto -o test-compcov test-comp…
50 $ECHO "$GREEN[+] llvm_mode LTO instrumentlist feature works correctly"
55 $ECHO "$RED[!] llvm_mode LTO instrumentlist feature failed"
59 $ECHO "$RED[!] llvm_mode LTO instrumentlist feature compilation failed"
63 ../afl-clang-lto -o test-persistent ../utils/persistent_mode/persistent_demo.c > /dev/null 2>&1
66 $ECHO "$GREEN[+] llvm_mode LTO persistent mode feature works correctly"
68 $ECHO "$RED[!] llvm_mode LTO persistent mode feature failed to work"
72 $ECHO "$RED[!] llvm_mode LTO persistent mode feature compilation failed"
77 $ECHO "$YELLOW[-] LTO llvm_mode not compiled, cannot test"