| 1 |
// Message: (style:variableScope) The scope of the variable 'text' can be reduced. |
| 2 |
// Reason: Don't error for being able to reduce scope of variables in tests |
| 3 |
variableScope:tests/unit/* |
| 4 |
|
| 5 |
// cppcheck Message: (information:ConfigurationNotChecked) Skipping configuration 'SO_RCVLOWAT' since the value of 'SO_RCVLOWAT' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. |
| 6 |
// Reason: There are many Config options that aren't checked by Cppcheck, and it warns for each. Ignore these so that they don't clutter the output. |
| 7 |
ConfigurationNotChecked:bin/s2nd.c |
| 8 |
ConfigurationNotChecked:tls/s2n_x509_validator.c |
| 9 |
ConfigurationNotChecked:utils/s2n_socket.c |
| 10 |
|
| 11 |
// cppcheck Message: (style:redundantAssignment) Variable 'mock_time' is reassigned a value before the old one has been used. |
| 12 |
// Reason: s2n_config_set_monotonic_clock() takes a reference to mock_time so that whenever it's modified locally, the timer sees the update when it dereferences the pointer. |
| 13 |
redundantAssignment:tests/unit/s2n_timer_test.c |
| 14 |
|
| 15 |
// cppcheck Message: (style:knownConditionTrueFalse) Condition 's2n_libcrypto_awslc_api_version()<17' is always true |
| 16 |
// Reason: s2n_libcrypto_awslc_api_version() are implemented using macro's and for certain libcrypto's the preprocessor will produce a trivial function returning e.g. 1 always. |
| 17 |
knownConditionTrueFalse:crypto/s2n_libcrypto.c |