[lxc-devel] [lxc/lxc] 745d60: oss-fuzz.sh: take SANITIZER into account
Christian Brauner
noreply at github.com
Sun Mar 28 21:16:58 UTC 2021
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: 745d60487b41cb0c677c699c3b98f021277ae2a5
https://github.com/lxc/lxc/commit/745d60487b41cb0c677c699c3b98f021277ae2a5
Author: Evgeny Vereshchagin <evvers at ya.ru>
Date: 2021-03-28 (Sun, 28 Mar 2021)
Changed paths:
M src/tests/oss-fuzz.sh
Log Message:
-----------
oss-fuzz.sh: take SANITIZER into account
to make it possible to build the fuzzer with UBSan and MSan locally
```
$ SANITIZER=undefined ./src/tests/oss-fuzz.sh
$ printf 'lxc.signal.stop=sigrtmax-020000000020' >oss-fuzz-32596
$ UBSAN_OPTIONS=print_stacktrace=1:print_summary=1:halt_on_error=1 ./out/fuzz-lxc-config-read oss-fuzz-32596
INFO: Seed: 595864277
INFO: Loaded 1 modules (61553 inline 8-bit counters): 61553 [0x80a1b0, 0x819221),
INFO: Loaded 1 PC tables (61553 PCs): 61553 [0x819228,0x909938),
./out/fuzz-lxc-config-read: Running 1 inputs 1 time(s) each.
Running: oss-fuzz-32596
confile_utils.c:1051:20: runtime error: signed integer overflow: 64 - -2147483632 cannot be represented in type 'int'
#0 0x51799a in rt_sig_num /home/vagrant/lxc/src/lxc/confile_utils.c:1051:20
#1 0x517268 in sig_parse /home/vagrant/lxc/src/lxc/confile_utils.c:1069:11
#2 0x500ca4 in set_config_signal_stop /home/vagrant/lxc/src/lxc/confile.c:1738:10
#3 0x4b8c7c in parse_line /home/vagrant/lxc/src/lxc/confile.c:2962:9
#4 0x5a5eb0 in lxc_file_for_each_line_mmap /home/vagrant/lxc/src/lxc/parse.c:125:9
```
Signed-off-by: Evgeny Vereshchagin <evvers at ya.ru>
Commit: a6fa6772e11c9d65df366181314e69e7ec1c32aa
https://github.com/lxc/lxc/commit/a6fa6772e11c9d65df366181314e69e7ec1c32aa
Author: Evgeny Vereshchagin <evvers at ya.ru>
Date: 2021-03-28 (Sun, 28 Mar 2021)
Changed paths:
M .github/workflows/cifuzz.yml
Log Message:
-----------
cifuzz: turn on UBsan
Signed-off-by: Evgeny Vereshchagin <evvers at ya.ru>
Commit: cc19bc54067493812f13f0bf102b068c0014dbcb
https://github.com/lxc/lxc/commit/cc19bc54067493812f13f0bf102b068c0014dbcb
Author: Christian Brauner <christian.brauner at ubuntu.com>
Date: 2021-03-28 (Sun, 28 Mar 2021)
Changed paths:
M .github/workflows/cifuzz.yml
M src/tests/oss-fuzz.sh
Log Message:
-----------
Merge pull request #3745 from evverx/ubsan-msan-support
oss-fuzz/cifuzz: a couple of follow-up commits
Compare: https://github.com/lxc/lxc/compare/94d05c50c9f3...cc19bc540674
More information about the lxc-devel
mailing list