mirror of
https://github.com/open5gs/open5gs.git
synced 2026-04-28 03:19:31 +00:00
The clang scan-build procedure ``` Assume Ubuntu docker container with open5gs mounted to /src. Assume these tools are installed to docker container: sudo apt install -y clang-tools clang For easy reference to clang scan-build tool: Put normal open5gs build procedure into a file called /src/build ======================= Inside docker container: ======================= export CLANG_OUT_DIR=/src/scan_build_results scan-build -disable-checker deadcode.DeadStores --override-compiler --keep-going --exclude subprojects --exclude tests --exclude lib/asn1c -maxloop 200 -o $CLANG_OUT_DIR -plist-html /src/build 2>&1 | tee /src/logclang.txt ======================= Results: ======================= Results are in html format in $CLANG_OUT_DIR - top level index.html ``` Note that in this analysis the following suppressions were assumed: - no deadcode.DeadStores analysis since those are not functional findings - exclude lib/asn1c for reason that is outside of open5gs control - exclude tests for reason that those are not functional findings - exclude subprojects since those are outside of open5gs control |
||
|---|---|---|
| .. | ||
| openssl | ||
| curve25519-donna.c | ||
| ecc.c | ||
| ecc.h | ||
| kasumi.c | ||
| kasumi.h | ||
| meson.build | ||
| milenage.c | ||
| milenage.h | ||
| ogs-aes-cmac.c | ||
| ogs-aes-cmac.h | ||
| ogs-aes.c | ||
| ogs-aes.h | ||
| ogs-base64.c | ||
| ogs-base64.h | ||
| ogs-crypt.h | ||
| ogs-kdf.c | ||
| ogs-kdf.h | ||
| ogs-sha1-hmac.c | ||
| ogs-sha1-hmac.h | ||
| ogs-sha1.c | ||
| ogs-sha1.h | ||
| ogs-sha2-hmac.c | ||
| ogs-sha2-hmac.h | ||
| ogs-sha2.c | ||
| ogs-sha2.h | ||
| snow-3g.c | ||
| snow-3g.h | ||
| zuc.c | ||
| zuc.h | ||