Files
open5gs/lib/crypt
Sukchan Lee 333d3fe1c6 clang scan-build static analysis findings/resolutions (#3387)
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
2024-08-16 16:42:12 +09:00
..
2019-10-27 17:41:14 +09:00
2019-10-27 17:41:14 +09:00
2020-11-12 20:58:08 -05:00
2020-11-12 20:58:08 -05:00
2020-11-12 20:58:08 -05:00
2020-11-12 20:58:08 -05:00
2020-11-12 20:58:08 -05:00
2020-11-12 20:58:08 -05:00
2020-11-12 20:58:08 -05:00
2020-11-12 20:58:08 -05:00
2020-11-12 20:58:08 -05:00
2020-11-12 20:58:08 -05:00
2020-11-12 20:58:08 -05:00
2019-10-27 17:41:14 +09:00
2024-08-02 17:30:21 +09:00
2019-10-27 17:41:14 +09:00