Skip to content

423 fix dev workflow errors from security report #142

423 fix dev workflow errors from security report

423 fix dev workflow errors from security report #142

Triggered via pull request March 17, 2025 16:47
Status Success
Total duration 37s
Artifacts

cpp-linter.yml

on: pull_request
cpp-linter
33s
cpp-linter
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 10 warnings, and 10 notices
cpp-linter: src/mc/disabled/mc_interface_disabled.template.c#L18
'mc_interface.h' file not found
cpp-linter: src/mc/internal/mc_interface_internal.template.c#L18
'mc_interface.h' file not found
cpp-linter: src/mc/internal_stub/mc_interface_internal_stub.template.c#L19
'mc_interface.h' file not found
cpp-linter: src/crypto/wolfssl_stub/cryptography_interface_wolfssl.stub.c#L15
'cryptography_interface.h' file not found
cpp-linter: src/crypto/wolfssl/cryptography_interface_wolfssl.template.c#L17
'wolfssl/options.h' file not found
cpp-linter: src/crypto/libgcrypt_stub/cryptography_interface_libgcrypt.stub.c#L15
'cryptography_interface.h' file not found
cpp-linter: src/crypto/custom_stub/cryptography_interface_custom_stub.template.c#L15
'cryptography_interface.h' file not found
cpp-linter: src/crypto/kmc_stub/cryptography_interface_kmc.stub.c#L15
'cryptography_interface.h' file not found
cpp-linter: support/standalone/standalone.c#L224
multiple declarations in a single statement reduces readability
cpp-linter: support/standalone/standalone.c#L115
variable 'status' is not initialized
cpp-linter: support/standalone/standalone.c#L113
function 'crypto_standalone_process_command' has cognitive complexity of 32 (threshold 25)
cpp-linter: support/standalone/standalone.c#L57
redundant return statement at the end of a function with a void return type
cpp-linter: support/standalone/standalone.c#L40
variable 'status' is not initialized
cpp-linter: support/standalone/standalone.c#L33
variable 'tm_debug' is non-const and globally accessible, consider making it const
cpp-linter: support/standalone/standalone.c#L32
variable 'tc_debug' is non-const and globally accessible, consider making it const
cpp-linter: support/standalone/standalone.c#L31
variable 'tc_vcid' is non-const and globally accessible, consider making it const
cpp-linter: support/standalone/standalone.c#L30
variable 'tc_seq_num' is non-const and globally accessible, consider making it const
cpp-linter: support/standalone/standalone.c#L29
variable 'keepRunning' is non-const and globally accessible, consider making it const
cpp-linter: src/core/crypto_key_mgmt.c#L0
File src/core/crypto_key_mgmt.c does not conform to Custom style guidelines. (lines 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 219, 338, 402)
cpp-linter: src/core/crypto_aos.c#L0
File src/core/crypto_aos.c does not conform to Custom style guidelines. (lines 58, 59, 60, 61, 125, 133, 230, 231, 232, 391, 966, 970, 1048, 1049, 1050, 1051)
cpp-linter: src/core/crypto.c#L0
File src/core/crypto.c does not conform to Custom style guidelines. (lines 407, 409, 423, 424, 425, 426, 430, 436)
cpp-linter: src/core/crypto_mc.c#L0
File src/core/crypto_mc.c does not conform to Custom style guidelines. (lines 273)
cpp-linter: src/core/crypto_tc.c#L0
File src/core/crypto_tc.c does not conform to Custom style guidelines. (lines 342, 343, 344, 618, 619, 808, 941, 942, 947, 953, 1026, 1767, 1771, 1772, 1773, 1816, 1885, 2151, 2156, 2189, 2190, 2193)
cpp-linter: src/core/crypto_tm.c#L0
File src/core/crypto_tm.c does not conform to Custom style guidelines. (lines 704, 705, 706, 707, 763, 771, 916, 1743, 1748, 1749, 1870)
cpp-linter: src/mc/internal/mc_interface_internal.template.c#L0
File src/mc/internal/mc_interface_internal.template.c does not conform to Custom style guidelines. (lines 22)
cpp-linter: src/crypto/kmc/cryptography_interface_kmc_crypto_service.template.c#L0
File src/crypto/kmc/cryptography_interface_kmc_crypto_service.template.c does not conform to Custom style guidelines. (lines 35, 41, 91, 99, 100, 163, 345, 396, 397, 419, 427, 482, 540, 586, 639, 669, 784, 836, 850, 851, 854, 903, 1009, 1032, 1093, 1119, 1202, 1282, 1361, 1362, 1385, 1393, 1448, 1575, 1606, 1612, 1683, 1742, 1772, 2015, 2087, 2309)
cpp-linter: src/crypto/libgcrypt/cryptography_interface_libgcrypt.template.c#L0
File src/crypto/libgcrypt/cryptography_interface_libgcrypt.template.c does not conform to Custom style guidelines. (lines 138, 219, 220, 221, 245, 328, 329, 330, 331, 395, 598, 728, 814)
cpp-linter: support/standalone/standalone.c#L0
File support/standalone/standalone.c does not conform to Custom style guidelines. (lines 225, 226, 229, 240, 353, 354, 589, 590)