[lxc/lxc] 38718c: build-system: add --enable-fuzzers

0 views
Skip to first unread message

Christian Brauner

unread,
Apr 28, 2021, 5:59:47 AMApr 28
to lxc-...@lists.linuxcontainers.org
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: 38718ccca04a09b0774c8c19e87d711112fc1525
https://github.com/lxc/lxc/commit/38718ccca04a09b0774c8c19e87d711112fc1525
Author: Evgeny Vereshchagin <evv...@ya.ru>
Date: 2021-04-26 (Mon, 26 Apr 2021)

Changed paths:
M configure.ac
M src/tests/Makefile.am

Log Message:
-----------
build-system: add --enable-fuzzers

Signed-off-by: Evgeny Vereshchagin <evv...@ya.ru>


Commit: 1667e14e07bb0a9ac4788a7650faca75b836ec42
https://github.com/lxc/lxc/commit/1667e14e07bb0a9ac4788a7650faca75b836ec42
Author: Evgeny Vereshchagin <evv...@ya.ru>
Date: 2021-04-26 (Mon, 26 Apr 2021)

Changed paths:
M .github/workflows/sanitizers.sh
M .github/workflows/sanitizers.yml
M src/tests/oss-fuzz.sh

Log Message:
-----------
ci: switch to --enable-fuzzers

Signed-off-by: Evgeny Vereshchagin <evv...@ya.ru>


Commit: 4a6af918557b40b7d03880dcf14a221e965f2b67
https://github.com/lxc/lxc/commit/4a6af918557b40b7d03880dcf14a221e965f2b67
Author: Evgeny Vereshchagin <evv...@ya.ru>
Date: 2021-04-26 (Mon, 26 Apr 2021)

Changed paths:
M src/lxc/Makefile.am
M src/lxc/log.c
M src/lxc/utils.h
M src/tests/lxc-test-utils.c

Log Message:
-----------
log: create log files in "fuzzing" mode if it's called outside fuzz targets

to make it possible to run the fuzzers along with the other tests

Signed-off-by: Evgeny Vereshchagin <evv...@ya.ru>


Commit: aa96786737b534c9549429eb1eb39fdd9a3c9187
https://github.com/lxc/lxc/commit/aa96786737b534c9549429eb1eb39fdd9a3c9187
Author: Evgeny Vereshchagin <evv...@ya.ru>
Date: 2021-04-26 (Mon, 26 Apr 2021)

Changed paths:
M src/tests/Makefile.am
A src/tests/lxc-test-fuzzers

Log Message:
-----------
tests: run the fuzzers along with the other tests

Signed-off-by: Evgeny Vereshchagin <evv...@ya.ru>


Commit: a10327e7d80bfbce01035ad98e69ce4428e99138
https://github.com/lxc/lxc/commit/a10327e7d80bfbce01035ad98e69ce4428e99138
Author: Evgeny Vereshchagin <evv...@ya.ru>
Date: 2021-04-27 (Tue, 27 Apr 2021)

Changed paths:
M configure.ac
M src/tests/oss-fuzz.sh

Log Message:
-----------
build-system: turn off lto=thin when building the fuzzers

With lto=thin the fuzzers fail as soon as they start with
```
ERROR: The size of coverage PC tables does not match the
number of instrumented PCs. This might be a compiler bug,
please contact the libFuzzer developers.
Also check https://bugs.llvm.org/show_bug.cgi?id=34636
for possible workarounds (tl;dr: don't use the old GNU ld)
```

Signed-off-by: Evgeny Vereshchagin <evv...@ya.ru>


Commit: 94363265bdbc13e489276188207ac5085edbb774
https://github.com/lxc/lxc/commit/94363265bdbc13e489276188207ac5085edbb774
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-04-28 (Wed, 28 Apr 2021)

Changed paths:
M .github/workflows/sanitizers.sh
M .github/workflows/sanitizers.yml
M configure.ac
M src/lxc/Makefile.am
M src/lxc/log.c
M src/lxc/utils.h
M src/tests/Makefile.am
A src/tests/lxc-test-fuzzers
M src/tests/lxc-test-utils.c
M src/tests/oss-fuzz.sh

Log Message:
-----------
Merge pull request #3802 from evverx/build-system-fuzzers

oss-fuzz: switch to --enable-fuzzers


Compare: https://github.com/lxc/lxc/compare/8f7b7b8d42d6...94363265bdbc
Reply all
Reply to author
Forward
0 new messages