A27-0-4
: C-Style (and arrays) detected when logging in assert or using the hash/stringize operator in a macro
#772
Labels
false positive/false negative
An issue related to observed false positives or false negatives.
Standard-AUTOSAR
Affected rules
A27-0-4
A18-1-1
Description
Alerts of both rules are triggered even if no C-style array or string is directly used. It may also be relevant that the usage of the # operator is covered by rule
M16-3-2
.Example
A27-0-4
andA18-1-1
alerts are signaled onASSERT(flag_);
as well asassert((false) && "A way ... message");
The text was updated successfully, but these errors were encountered: