46 ci integrate coretrace stack analyzer into GitHub actions sarif code scanning#47
Conversation
…ry and severity gating
…ingle fallback path
…mem call skip guard
…a by-ref captures
…in DuplicateIfCondition
…-limit duplicate else-if cases
…very and fallback
…nputs in CI wrapper
…ey in composite action
|
This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation. |
| } | ||
|
|
||
| return false; | ||
| } |
Check warning
Code scanning / coretrace-stack-analyzer
ResourceLifetime.IncompleteInterproc Warning
| } | ||
| } | ||
| } | ||
| } |
Check warning
Code scanning / coretrace-stack-analyzer
ResourceLifetime.IncompleteInterproc Warning
| } | ||
|
|
||
| return sig; | ||
| } |
Check warning
Code scanning / coretrace-stack-analyzer
ResourceLifetime.IncompleteInterproc Warning
| MemMove | ||
| }; | ||
| MemKind kind = MemKind::None; | ||
| auto classifyByName = [&](StringRef calleeName) -> MemKind |
Check warning
Code scanning / coretrace-stack-analyzer
UninitializedLocalVariable Warning
|
|
||
| bool sawUserDebugVar = false; | ||
| bool sawArtificialDebugVar = false; | ||
| for (DbgDeclareInst* declareInst : findDbgDeclares(const_cast<AllocaInst*>(AI))) |
Check warning
Code scanning / coretrace-stack-analyzer
ResourceLifetime.IncompleteInterproc Warning
| } | ||
|
|
||
| static void | ||
| collectParamEscapeFacts(llvm::Function& F, llvm::Argument& arg, |
Check notice
Code scanning / coretrace-stack-analyzer
ConstParameterNotModified.Reference Note
| } | ||
|
|
||
| static void | ||
| collectParamEscapeFacts(llvm::Function& F, llvm::Argument& arg, |
Check notice
Code scanning / coretrace-stack-analyzer
ConstParameterNotModified.Reference Note
| const ReturnedPointerArgAliasMap& returnedArgAliases, | ||
| unsigned depth = 0) | ||
| { | ||
| if (!ptr) |
Check notice
Code scanning / coretrace-stack-analyzer
None Note
| } | ||
|
|
||
| template <typename IsRecursiveCallee> | ||
| static bool detectInfiniteRecursionByDominance(llvm::Function& F, |
Check notice
Code scanning / coretrace-stack-analyzer
ConstParameterNotModified.ReferenceRvaluePreferValue Note
| } | ||
|
|
||
| template <typename IsRecursiveCallee> | ||
| static bool detectInfiniteRecursionByDominance(llvm::Function& F, |
Check notice
Code scanning / coretrace-stack-analyzer
ConstParameterNotModified.ReferenceRvaluePreferValue Note
No description provided.