diff options
author | 2021-04-30 09:49:53 +0300 | |
---|---|---|
committer | 2021-04-29 23:49:53 -0700 | |
commit | 181b3575afc392c704ae3be02baf0c4b8150cd87 (patch) | |
tree | 354cd2c0774d6b92bfebb2c5d2f4a0933b7c34ed | |
parent | c84e425d3ed2c7936bc8a03daf8afc8077db4008 (diff) |
[lxc] turn off AFL for now (#5685)
It seems LXC is failing to compile with AFL with
```
../../src/lxc/storage -pthread -O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -stdlib=libc++ -Wl,--as-needed -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,-z -Wl,now -pie -Wl,-fuse-ld=gold -o fuzz-lxc-define-load fuzz_lxc_define_load-fuzz-lxc-define-load.o ../lxc/.libs/liblxc.a /usr/lib/libFuzzingEngine.a -lpthread -pthread
Step #32: /usr/bin/ld: /usr/lib/libFuzzingEngine.a(aflpp_driver.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
Step #32: /usr/lib/libFuzzingEngine.a: error adding symbols: Bad value
Step #32: clang-12: [0;1;31merror: [0m[1mlinker command failed with exit code 1 (use -v to see invocation)[0m
Step #32: make[3]: *** [fuzz-lxc-config-read] Error 1
```
Apparently aflpp tends to misdetect compiler/linker features 30% (70%?)
of the time: https://github.com/google/oss-fuzz/issues/4280#issuecomment-829733181
-rw-r--r-- | projects/lxc/project.yaml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/projects/lxc/project.yaml b/projects/lxc/project.yaml index f19d3563..7f1b3da3 100644 --- a/projects/lxc/project.yaml +++ b/projects/lxc/project.yaml @@ -10,3 +10,6 @@ auto_ccs: - stgraber@stgraber.org - evverx@gmail.com main_repo: "https://github.com/lxc/lxc" +fuzzing_engines: + - libfuzzer + - honggfuzz |