coretrace/CoreTrace Stack Analyzer

Static stack usage analysis for C/C++ code — detects stack overflows, VLAs, recursion, and more.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jun 7, 2026
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: coretrace/coretrace-stack-analyzer@2264770e3944f87aeea67f2e0b9fd9c2c0cd4747 # v0.18.2

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
sourcesSource files to analyze (space-separated). If omitted, discovered from compile-commands.no""
compile-commandsPath to compile_commands.json (file or directory).no""
fail-onCI gate policy: none (never fail), error (fail on errors), warning (fail on errors+warnings).noerror
base-dirBase directory stripped from SARIF URIs to produce relative paths.no""
stack-limitOverride stack size limit (e.g. 8KiB, 1MiB).no""
sarif-fileOutput path for the SARIF report.nocoretrace-stack-analysis.sarif
json-fileOutput path for the JSON report.nocoretrace-stack-analysis.json
upload-sarifUpload SARIF to GitHub Code Scanning (true/false).notrue
extra-argsExtra arguments forwarded to the analyzer (space-separated).no""
analysis-profileAnalysis profile passed to analyzer (fast|full).nofast
resource-modelResource model path. Use 'default' to use analyzer bundled model.nodefault
resource-cache-memory-onlyEnable memory-only cross-TU resource summary cache (true/false).notrue
warnings-onlyEmit warnings/errors only (true/false).nofalse
inputs-from-git-fallbackWhen compile_commands.json is not found, analyze tracked source files from git (true/false).notrue
llvm-versionLLVM version to install.no20
namedescription
sarif-filePath to the generated SARIF report.
json-filePath to the generated JSON report.
errorsNumber of errors found.
warningsNumber of warnings found.