-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[lxc] turn off AFL for now #5685
Conversation
I'm not sure why it works locally and here. I'll wait for the next build at https://oss-fuzz-build-logs.storage.googleapis.com/index.html#lxc to fail before turning it off. |
d1208f3
to
1b050f2
Compare
Looks like
to make it work. @jonathanmetzman @inferno-chromium I wonder why the static libraries are built this way? |
What's weird though is that according to https://oss-fuzz-build-logs.storage.googleapis.com/log-0e5fb2ff-cdf5-4a77-a1f0-1b4a533fbe6a.txt the latest build didn't fail and https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=33792 was closed somehow. I've opened lxc/lxc#3815 but it seems it would make sense to just wait to see whether it's a glitch of some kind or not. |
0720fc5
to
0486808
Compare
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 google#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 google#32: /usr/lib/libFuzzingEngine.a: error adding symbols: Bad value Step google#32: clang-12: [0;1;31merror: [0m[1mlinker command failed with exit code 1 (use -v to see invocation)[0m Step google#32: make[3]: *** [fuzz-lxc-config-read] Error 1 ``` Apparently aflpp tends to misdetect compiler/linker features 30% (70%?) of the time: google#4280 (comment)
0486808
to
28205d8
Compare
@jonathanmetzman @inferno-chromium could you please merge it? |
This reverts commit 181b357. The issue was fixed in google#5691
[lxc] turn off AFL for now
It seems LXC is failing to compile with AFL with
Apparently aflpp tends to misdetect compiler/linker features 30% (70%?)
of the time: #4280 (comment)