CUDASecurity-CON06¶
Wrap functions that can fail spuriously in a loop
Required inputs: IR
Based on: CertC-CON41
With excerpts from SEI CERT, Copyright (C) 1995-2021 Carnegie Mellon University. See 9.4 3rd-Party Licenses in the documentation for full details.Possible Messages
Key |
Text |
Severity |
Disabled |
|---|---|---|---|
call_outside_loop |
Wrap functions that can fail spuriously in a loop. |
None |
False |
Options¶
This rule shares the following common options: confidence, exclude_in_macros, exclude_messages_in_system_headers, excludes, extend_exclude_to_macro_invocations, includes, justification_checker, languages, post_processing, provider, report_at, severity
The following places define options that affect this rule: Stylechecks, Analysis-GlobalOptions
spuriously_failing_routines¶
spuriously_failing_routines
Names of routines that can spuriously fail.Type: set[bauhaus.analysis.config.QualifiedName]
Default:
{'atomic_compare_exchange_weak', 'atomic_compare_exchange_weak_explicit', 'cuda::std::atomic_compare_exchange_weak', 'cuda::std::atomic_compare_exchange_weak_explicit'}