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

spuriously_failing_routines

spuriously_failing_routines

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'}

Names of routines that can spuriously fail.