mirror of
https://github.com/systemd/systemd
synced 2024-11-05 18:25:39 +00:00
7db7d5b733
The fuzzers will be used by oss-fuzz to automatically and continuously fuzz systemd. This commit includes the build tooling necessary to build fuzz targets, and a fuzzer for the DNS packet parser.
11 lines
338 B
Bash
Executable file
11 lines
338 B
Bash
Executable file
#!/bin/sh
|
|
|
|
set -eu
|
|
|
|
for symbol in `nm -g --defined-only "$@" | grep " T " | cut -d" " -f3 | sort -u` ; do
|
|
if test -f ${MESON_BUILD_ROOT}/man/$symbol.3 ; then
|
|
echo "✓ Symbol $symbol() is documented."
|
|
else
|
|
printf " \x1b[1;31mSymbol $symbol() lacks documentation.\x1b[0m\n"
|
|
fi
|
|
done
|