selinux/scripts
Christian Göttsche 595c4163f0 checkpolicy: add libfuzz based fuzzer
Introduce a libfuzz[1] based fuzzer testing the parsing and policy
generation code used within checkpolicy(8) and checkmodule(8), similar
to the fuzzer for secilc(8).
The fuzzer will work on generated source policy input and try to parse,
link, expand, optimize, sort and output it.
This fuzzer will also ensure policy validation is not too strict by
checking compilable source policies are valid.

Build the fuzzer in the oss-fuzz script.

[1]: https://llvm.org/docs/LibFuzzer.html

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
Acked-by: James Carter <jwcart2@gmail.com>
2024-03-04 09:54:47 -05:00
..
ci ci: bump Fedora to version 39 2023-11-15 08:37:37 -05:00
.gitignore scripts: add a helper script to run clang's static analyzer 2018-06-15 09:03:17 -04:00
Lindent Update to latest Lindent script from kernel tree. 2013-10-30 14:34:25 -04:00
env_use_destdir scripts: ignore unavailable interpreters 2023-11-15 08:37:36 -05:00
make-update Add make-update script and fix release script. 2013-10-31 14:34:02 -04:00
oss-fuzz.sh checkpolicy: add libfuzz based fuzzer 2024-03-04 09:54:47 -05:00
release Update VERSIONs to 3.4-rc1 for release. 2022-04-06 19:53:39 +02:00
run-flake8 scripts: ignore Flake8 tag E275 2022-08-15 08:50:18 -04:00
run-scan-build scripts: update run-scan-build 2023-11-15 08:37:43 -05:00