X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=docs%2FHACKING.md;h=a86a6f21725b5d18f9cbbea3eb6db6f05266ad46;hb=6b000af4f206a87f424f05c163ea818b142e372e;hp=17136060ce59faf5a272796ff053a8b42387713e;hpb=1e268f423c66b818da70fbb30c3fb7657cd93080;p=thirdparty%2Fsystemd.git diff --git a/docs/HACKING.md b/docs/HACKING.md index 17136060ce5..a86a6f21725 100644 --- a/docs/HACKING.md +++ b/docs/HACKING.md @@ -1,3 +1,9 @@ +--- +title: Hacking on systemd +category: Contributing +layout: default +--- + # Hacking on systemd We welcome all contributions to systemd. If you notice a bug or a missing @@ -92,8 +98,8 @@ Happy hacking! ## Fuzzers systemd includes fuzzers in `src/fuzz/` that use libFuzzer and are automatically -run by [OSS-Fuzz](https://github.com/google/oss-fuzz) with sanitizers. To add a -fuzz target, create a new `src/fuzz/fuzz-foo.c` file with a `LLVMFuzzerTestOneInput` +run by [OSS-Fuzz](https://github.com/google/oss-fuzz) with sanitizers. +To add a fuzz target, create a new `src/fuzz/fuzz-foo.c` file with a `LLVMFuzzerTestOneInput` function and add it to the list in `src/fuzz/meson.build`. Whenever possible, a seed corpus and a dictionary should also be added with new @@ -117,7 +123,5 @@ guidance in [CONTRIBUTING.md](CONTRIBUTING.md) on how to report a security vulne For more details on building fuzzers and integrating with OSS-Fuzz, visit: -- https://github.com/google/oss-fuzz/blob/master/docs/new_project_guide.md -- https://llvm.org/docs/LibFuzzer.html -- https://github.com/google/fuzzer-test-suite/blob/master/tutorial/libFuzzerTutorial.md -- https://chromium.googlesource.com/chromium/src/testing/libfuzzer/+/HEAD/efficient_fuzzer.md +- [Setting up a new project - OSS-Fuzz](https://google.github.io/oss-fuzz/getting-started/new-project-guide/) +- [Tutorials - OSS-Fuzz](https://google.github.io/oss-fuzz/reference/useful-links/#tutorials)