Skip to content

Scan-build improvements#230

Merged
miyazakh merged 2 commits intowolfSSL:mainfrom
bigbrett:scan-build-fixes
Oct 30, 2025
Merged

Scan-build improvements#230
miyazakh merged 2 commits intowolfSSL:mainfrom
bigbrett:scan-build-fixes

Conversation

@bigbrett
Copy link
Copy Markdown
Contributor

@bigbrett bigbrett commented Oct 29, 2025

  • limits scan-build to only running on unit test suite (no reduction in coverage since all targets wildcard all source files anyway)
  • uses --exclude flag to scan-build to ignore wolfCrypt and wolfSSL source files from analysis
  • adds -j flag for parallel make

These changes should dramatically speed up the scan-build CI job and prevent issues in wolfCrypt from breaking wolfHSM CI

@bigbrett bigbrett changed the title limit default scan-build target to only testsuite Scan-build improvements Oct 29, 2025
@bigbrett bigbrett requested a review from miyazakh October 29, 2025 19:56
@miyazakh
Copy link
Copy Markdown
Contributor

miyazakh commented Oct 30, 2025

Thanks. It seems that make -j is the most effective. In my environment, the --exclude option does not seem to work, as shown by the failure in wolfcrypt when running make -j SCAN=1 -C tools/whnvmtool/.

@miyazakh miyazakh merged commit d0c67d5 into wolfSSL:main Oct 30, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants