Skip to content

Commit

Permalink
github-ci: add padding check to scan-build
Browse files Browse the repository at this point in the history
  • Loading branch information
victorjulien committed Apr 26, 2023
1 parent 47fe88b commit cb66a1e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/scan-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ jobs:
env:
CC: clang-16
# exclude libhtp from the analysis
# disable security.insecureAPI.DeprecatedOrUnsafeBufferHandling explicitly as
# this will require significant effort to address.
- run: |
scan-build-16 --status-bugs --exclude libhtp/ \
-enable-checker valist.Uninitialized \
Expand All @@ -83,9 +85,9 @@ jobs:
-enable-checker nullability.NullableReturnedFromNonnull \
-enable-checker nullability.NullablePassedToNonnull \
-enable-checker nullability.NullableDereferenced \
-enable-checker optin.performance.Padding \
\
-disable-checker security.insecureAPI.DeprecatedOrUnsafeBufferHandling \
-disable-checker optin.performance.Padding \
\
make
env:
Expand Down

0 comments on commit cb66a1e

Please sign in to comment.