Commit Graph

6 Commits

Author SHA1 Message Date
Evgeny Vereshchagin 437268ecb1
[lxc] move apt-gets and pips to the lxc repository (#7837)
By analogy with 8d762775ac it should make it easier
to change the build script when new build dependencies like
meson are introduced.

lxc is switching to meson in https://github.com/lxc/lxc/pull/4142
so it's expected that it should fail to build on OSS-Fuzz.
2022-06-09 14:56:49 -04:00
Evgeny Vereshchagin 78a5eb5958
Revert "[lxc] turn off AFL for now (#5685)" (#5693)
This reverts commit 181b3575af.

The issue was fixed in https://github.com/google/oss-fuzz/pull/5691
2021-04-30 07:52:02 -07:00
Evgeny Vereshchagin 181b3575af
[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
2021-04-29 23:49:53 -07:00
Evgeny Vereshchagin 19ec1ffbe5
[lxc] move the build script and fuzz target upstream (#5514)
Now that https://github.com/lxc/lxc/pull/3733 is merged, it should be
safe to point OSS-Fuzz to the lxc repository.
2021-03-31 06:53:03 -07:00
Christian Brauner 24c7cf1797
projects/lxc: update mail addresses (#5510)
The other two mail addresses are aliases and so we can't use them to
access oss-fuzz.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
2021-03-25 15:13:47 -07:00
Evgeny Vereshchagin 0efca5f4f4
[lxc] initial integration (#5498) 2021-03-25 07:30:32 -07:00