CUDASecurityΒΆ
General CUDA security rules
Nested Rules
Do not form or use out-of-bounds array subscripts for CUDA kernels |
|
Prevent data races when accessing bit-fields from multiple threads |
|
When data must be accessed by multiple threads, provide a mutex and guarantee no adjacent data is also accessed |
|
Avoid race conditions when using library functions |
|
Do not allow data races in multithreaded code |
|
Avoid deadlock by locking in a predefined order |
|
Wrap functions that can fail spuriously in a loop |
|
Do not declare an identifier with conflicting Memory attribute specifiers |
|
Avoid information leakage when passing a structure across a trust boundary |
|
Detect and handle CUDA runtime API errors |
|
Do not call va_arg with an argument of the incorrect type |
|
Do not rely on side effects in operands to sizeof, _Alignof, or _Generic |
|
Do not call va_arg() on a va_list that has an indeterminate value |
Options
Setting an option for this rule means setting the default for all nested rules.
This rule shares the following common options: 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
This rule has no individual options.