|
1 | | -// Message: [tests/unit/s2n_stuffer_text_test.c:28]: (style:variableScope) The scope of the variable 'text' can be reduced. |
| 1 | +// Message: (style:variableScope) The scope of the variable 'text' can be reduced. |
2 | 2 | // Reason: Don't error for being able to reduce scope of variables in tests |
3 | 3 | variableScope:tests/unit/* |
4 | 4 |
|
5 | | -// cppcheck Message: [utils/s2n_socket.c:87]: (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. |
| 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 | 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 | 7 | ConfigurationNotChecked:bin/s2nd.c |
8 | 8 | ConfigurationNotChecked:tls/s2n_x509_validator.c |
9 | 9 | ConfigurationNotChecked:utils/s2n_safety.c |
10 | 10 | ConfigurationNotChecked:utils/s2n_socket.c |
11 | 11 |
|
12 | | -// cppcheck Message: [tests/unit/s2n_timer_test.c:49]: (style:redundantAssignment) Variable 'mock_time' is reassigned a value before the old one has been used. |
| 12 | +// cppcheck Message: (information:ConfigurationNotChecked) Skipping configuration 'static_assert' since the value of 'static_assert' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly. |
| 13 | +// Reason: Same as above. |
| 14 | +ConfigurationNotChecked:pq-crypto/bike_r1/bike_defs.h |
| 15 | +ConfigurationNotChecked:pq-crypto/bike_r1/gf2x_mul.c |
| 16 | +ConfigurationNotChecked:pq-crypto/bike_r1/sha.h |
| 17 | +ConfigurationNotChecked:pq-crypto/bike_r1/aes_ctr_prf.c |
| 18 | +ConfigurationNotChecked:pq-crypto/bike_r1/secure_decode_portable.c |
| 19 | +ConfigurationNotChecked:pq-crypto/bike_r1/decode.c |
| 20 | +ConfigurationNotChecked:pq-crypto/bike_r2/bike_defs.h |
| 21 | +ConfigurationNotChecked:pq-crypto/bike_r2/gf2x_mul.c |
| 22 | +ConfigurationNotChecked:pq-crypto/bike_r2/sha.h |
| 23 | +ConfigurationNotChecked:pq-crypto/bike_r2/aes_ctr_prf.c |
| 24 | +ConfigurationNotChecked:pq-crypto/bike_r2/secure_decode_portable.c |
| 25 | +ConfigurationNotChecked:pq-crypto/bike_r2/decode.c |
| 26 | +ConfigurationNotChecked:pq-crypto/bike_r2/bike_r2_kem.c |
| 27 | + |
| 28 | +// cppcheck Message: (style:redundantAssignment) Variable 'mock_time' is reassigned a value before the old one has been used. |
13 | 29 | // 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. |
14 | 30 | redundantAssignment:tests/unit/s2n_timer_test.c |
| 31 | + |
| 32 | +// cppcheck Message: (error:shiftTooManyBits) Shifting 32-bit value by 64 bits is undefined behaviour. |
| 33 | +// Reason: In the SIKE arithmetic macros, this is actually a 128-bit typedef being shifted by 64 bits. |
| 34 | +shiftTooManyBits:pq-crypto/sike_r2/fp.c |
| 35 | + |
| 36 | +// cppcheck Message (information:unmatchedSuppression) Unmatched suppression: shiftTooManyBits |
| 37 | +// Reason: After applying the shiftTooManyBits suppression above, cppcheck complains (erroneously) that it is not necessary |
| 38 | +unmatchedSuppression:pq-crypto/sike_r2/fp.c |
0 commit comments