https://llvm.org/bugs/show_bug.cgi?id=28890
Bug ID: 28890 Summary: libFuzzer 3.8 fails with "illegal hardware instruction" Product: new-bugs Version: 3.8 Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P Component: new bugs Assignee: unassignedb...@nondot.org Reporter: sylves...@debian.org CC: jack.ll...@gmail.com, llvm-bugs@lists.llvm.org, vonos...@gmail.com Depends on: 25991 Classification: Unclassified Trying the example with llvm 3.8: http://llvm.org/docs/LibFuzzer.html $ apt-get install libfuzzer-3.8-dev clang-3.8 [..] $ cat << EOF > test_fuzzer.cc #include <stdint.h> #include <stddef.h> extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { if (size > 0 && data[0] == 'H') if (size > 1 && data[1] == 'I') if (size > 2 && data[2] == '!') __builtin_trap(); return 0; } EOF $ clang++-3.8 -fsanitize=address -fsanitize-coverage=edge test_fuzzer.cc /usr/lib/llvm-3.8/lib/libFuzzer.a $ ./a.out Seed: 2980367726 PreferSmall: 1 #0 READ units: 1 exec/s: 0 #1 INITED cov: 2 units: 1 exec/s: 0 #2 NEW cov: 3 units: 2 exec/s: 0 L: 64 MS: 0 #657 NEW cov: 4 units: 3 exec/s: 0 L: 64 MS: 0 #1070 NEW cov: 5 units: 4 exec/s: 0 L: 1 MS: 4 ShuffleBytes-ChangeByte-EraseByte-CrossOver- #4893 NEW cov: 6 units: 5 exec/s: 0 L: 2 MS: 2 CrossOver-ChangeBit- #5577 NEW cov: 7 units: 6 exec/s: 0 L: 50 MS: 1 CrossOver- zsh: illegal hardware instruction ./a.out reported here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=833563 -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs