2026-05-03 04:56 ftp://ftp.de.debian.org/debian/pool/main/libj/libjcat/libjcat_0.2.5.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --library=openssl --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-111-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.70 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04.1) 14.2.0 cppcheck: head 2.20.0 head-info: e5c4a73 (2026-05-01 11:10:43 +0200) count: 169 169 elapsed-time: 1.3 1.1 head-timing-info: old-timing-info: head results: libjcat-0.2.5/libjcat/jcat-blob.c:33:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jcat_blob_parent_class [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-blob.c:47:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_USEC_PER_SEC [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-blob.c:184:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDateTime [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-blob.c:225:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JcatBlob [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-blob.c:271:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-blob.c:307:19: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] libjcat-0.2.5/libjcat/jcat-blob.c:342:19: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] libjcat-0.2.5/libjcat/jcat-blob.c:378:19: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] libjcat-0.2.5/libjcat/jcat-blob.c:396:19: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] libjcat-0.2.5/libjcat/jcat-blob.c:421:19: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] libjcat-0.2.5/libjcat/jcat-blob.c:465:19: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] libjcat-0.2.5/libjcat/jcat-bt-checkpoint.c:208:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-bt-checkpoint.c:297:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jcat_bt_checkpoint_parent_class [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-bt-checkpoint.c:206:32: style: Parameter 'blob' can be declared as pointer to const [constParameterPointer] libjcat-0.2.5/libjcat/jcat-bt-checkpoint.c:308:43: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] libjcat-0.2.5/libjcat/jcat-bt-verifier.c:139:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-bt-verifier.c:185:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jcat_bt_verifier_parent_class [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-bt-verifier.c:136:30: style: Parameter 'blob' can be declared as pointer to const [constParameterPointer] libjcat-0.2.5/libjcat/jcat-bt-verifier.c:196:39: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] libjcat-0.2.5/libjcat/jcat-common.c:42:30: error: There is an unknown macro here somewhere. Configuration is required. If G_GSIZE_FORMAT is a macro then please configure it. [unknownMacro] libjcat-0.2.5/libjcat/jcat-context.c:48:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jcat_context_parent_class [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-context.c:63:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXUINT32 [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-context.c:117:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDir [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-context.c:246:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JcatEngine [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-context.c:282:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXUINT32 [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-context.c:337:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPtrArray [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-context.c:450:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPtrArray [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-context.c:135:22: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] libjcat-0.2.5/libjcat/jcat-context.c:171:22: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] libjcat-0.2.5/libjcat/jcat-context.c:179:22: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] libjcat-0.2.5/libjcat/jcat-engine.c:309:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jcat_engine_parent_class [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-engine.c:371:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-engine.c:39:21: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] libjcat-0.2.5/libjcat/jcat-engine.c:276:21: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] libjcat-0.2.5/libjcat/jcat-engine.c:293:21: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] libjcat-0.2.5/libjcat/jcat-engine.c:313:85: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'jcat_engine_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libjcat-0.2.5/libjcat/jcat-engine.c:363:31: note: You might need to cast the function pointer here libjcat-0.2.5/libjcat/jcat-engine.c:313:85: note: Parameter 'pspec' can be declared as pointer to const libjcat-0.2.5/libjcat/jcat-engine.c:335:91: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'jcat_engine_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libjcat-0.2.5/libjcat/jcat-engine.c:364:31: note: You might need to cast the function pointer here libjcat-0.2.5/libjcat/jcat-engine.c:335:91: note: Parameter 'pspec' can be declared as pointer to const libjcat-0.2.5/libjcat/jcat-engine.c:405:30: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] libjcat-0.2.5/libjcat/jcat-file.c:31:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jcat_file_parent_class [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-file.c:55:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-file.c:89:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GList [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-file.c:172:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JsonParser [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-file.c:202:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GConverter [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-file.c:240:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GInputStream [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-file.c:267:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JsonBuilder [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-file.c:303:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GConverter [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-file.c:346:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GOutputStream [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-file.c:408:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPtrArray [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-file.c:489:19: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] libjcat-0.2.5/libjcat/jcat-file.c:507:19: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] libjcat-0.2.5/libjcat/jcat-gnutls-common.c:15:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gnutls_x509_trust_list_iter_t [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-gnutls-common.c:53:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gnutls_x509_crt_t [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-gnutls-common.c:88:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gnutls_privkey_t [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-gnutls-common.c:119:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gnutls_pubkey_t [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-gnutls-common.c:151:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gnutls_x509_dn_t [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-gnutls-common.c:175:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gnutls_x509_privkey_t [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-gnutls-common.c:271:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_DIG_NULL [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-gnutls-common.c:452:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GStrv [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-gnutls-common.c:49:46: style: Parameter 'blob' can be declared as pointer to const [constParameterPointer] libjcat-0.2.5/libjcat/jcat-gnutls-common.c:84:50: style: Parameter 'blob' can be declared as pointer to const [constParameterPointer] libjcat-0.2.5/libjcat/jcat-gnutls-ed25519-engine.c:30:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gnutls_datum_t [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-gnutls-ed25519-engine.c:53:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_ECC_CURVE_ED25519 [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-gnutls-ed25519-engine.c:70:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gnutls_datum_t [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-gnutls-ed25519-engine.c:100:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_ECC_CURVE_ED25519 [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-gnutls-ed25519-engine.c:118:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gnutls_pubkey_t [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-gnutls-ed25519-engine.c:140:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GBytes [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-gnutls-ed25519-engine.c:178:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_SIGN_EDDSA_ED25519 [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-gnutls-ed25519-engine.c:198:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GBytes [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-gnutls-ed25519-engine.c:249:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-gnutls-ed25519-engine.c:296:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-gnutls-ed25519-engine.c:396:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jcat_gnutls_ed25519_engine_parent_class [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-gnutls-ed25519-engine.c:417:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gnutls_pubkey_deinit [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-gnutls-ed25519-engine.c:45:47: style: Parameter 'blob' can be declared as pointer to const [constParameterPointer] libjcat-0.2.5/libjcat/jcat-gnutls-ed25519-engine.c:85:48: style: Parameter 'blob_public' can be declared as pointer to const [constParameterPointer] libjcat-0.2.5/libjcat/jcat-gnutls-ed25519-engine.c:86:20: style: Parameter 'blob_privkey' can be declared as pointer to const [constParameterPointer] libjcat-0.2.5/libjcat/jcat-gnutls-ed25519-engine.c:154:15: style: Parameter 'blob' can be declared as pointer to const. However it seems that 'jcat_gnutls_ed25519_engine_pubkey_verify' is a callback function, if 'blob' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libjcat-0.2.5/libjcat/jcat-gnutls-ed25519-engine.c:406:32: note: You might need to cast the function pointer here libjcat-0.2.5/libjcat/jcat-gnutls-ed25519-engine.c:154:15: note: Parameter 'blob' can be declared as pointer to const libjcat-0.2.5/libjcat/jcat-gnutls-ed25519-engine.c:155:15: style: Parameter 'blob_signature' can be declared as pointer to const. However it seems that 'jcat_gnutls_ed25519_engine_pubkey_verify' is a callback function, if 'blob_signature' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libjcat-0.2.5/libjcat/jcat-gnutls-ed25519-engine.c:406:32: note: You might need to cast the function pointer here libjcat-0.2.5/libjcat/jcat-gnutls-ed25519-engine.c:155:15: note: Parameter 'blob_signature' can be declared as pointer to const libjcat-0.2.5/libjcat/jcat-gnutls-ed25519-engine.c:190:20: style: Parameter 'blob' can be declared as pointer to const. However it seems that 'jcat_gnutls_ed25519_engine_pubkey_sign' is a callback function, if 'blob' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libjcat-0.2.5/libjcat/jcat-gnutls-ed25519-engine.c:407:30: note: You might need to cast the function pointer here libjcat-0.2.5/libjcat/jcat-gnutls-ed25519-engine.c:190:20: note: Parameter 'blob' can be declared as pointer to const libjcat-0.2.5/libjcat/jcat-gnutls-ed25519-engine.c:240:20: style: Parameter 'blob' can be declared as pointer to const. However it seems that 'jcat_gnutls_ed25519_engine_self_verify' is a callback function, if 'blob' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libjcat-0.2.5/libjcat/jcat-gnutls-ed25519-engine.c:408:30: note: You might need to cast the function pointer here libjcat-0.2.5/libjcat/jcat-gnutls-ed25519-engine.c:240:20: note: Parameter 'blob' can be declared as pointer to const libjcat-0.2.5/libjcat/jcat-gnutls-ed25519-engine.c:241:20: style: Parameter 'blob_signature' can be declared as pointer to const. However it seems that 'jcat_gnutls_ed25519_engine_self_verify' is a callback function, if 'blob_signature' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libjcat-0.2.5/libjcat/jcat-gnutls-ed25519-engine.c:408:30: note: You might need to cast the function pointer here libjcat-0.2.5/libjcat/jcat-gnutls-ed25519-engine.c:241:20: note: Parameter 'blob_signature' can be declared as pointer to const libjcat-0.2.5/libjcat/jcat-gnutls-ed25519-engine.c:289:18: style: Parameter 'blob' can be declared as pointer to const. However it seems that 'jcat_gnutls_ed25519_engine_self_sign' is a callback function, if 'blob' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libjcat-0.2.5/libjcat/jcat-gnutls-ed25519-engine.c:409:28: note: You might need to cast the function pointer here libjcat-0.2.5/libjcat/jcat-gnutls-ed25519-engine.c:289:18: note: Parameter 'blob' can be declared as pointer to const libjcat-0.2.5/libjcat/jcat-gnutls-pkcs7-engine.c:34:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gnutls_x509_crt_t [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-gnutls-pkcs7-engine.c:67:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_X509_FMT_PEM [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-gnutls-pkcs7-engine.c:77:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GBytes [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-gnutls-pkcs7-engine.c:106:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gnutls_x509_trust_list_t [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-gnutls-pkcs7-engine.c:195:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gnutls_pkcs7_t [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-gnutls-pkcs7-engine.c:344:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-gnutls-pkcs7-engine.c:395:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_DIG_NULL [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-gnutls-pkcs7-engine.c:502:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-gnutls-pkcs7-engine.c:586:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jcat_gnutls_pkcs7_engine_parent_class [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-gnutls-pkcs7-engine.c:607:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gnutls_x509_crt_deinit [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-gnutls-pkcs7-engine.c:183:13: style: Parameter 'blob' can be declared as pointer to const [constParameterPointer] libjcat-0.2.5/libjcat/jcat-gnutls-pkcs7-engine.c:184:13: style: Parameter 'blob_signature' can be declared as pointer to const [constParameterPointer] libjcat-0.2.5/libjcat/jcat-gnutls-pkcs7-engine.c:388:18: style: Parameter 'blob' can be declared as pointer to const. However it seems that 'jcat_gnutls_pkcs7_engine_pubkey_sign' is a callback function, if 'blob' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libjcat-0.2.5/libjcat/jcat-gnutls-pkcs7-engine.c:597:30: note: You might need to cast the function pointer here libjcat-0.2.5/libjcat/jcat-gnutls-pkcs7-engine.c:388:18: note: Parameter 'blob' can be declared as pointer to const libjcat-0.2.5/libjcat/jcat-gpg-engine.c:30:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gpgme_data_t [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-gpg-engine.c:85:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-gpg-engine.c:208:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gpgme_data_t [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-gpg-engine.c:292:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jcat_gpg_engine_parent_class [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-gpg-engine.c:198:18: style: Parameter 'blob' can be declared as pointer to const. However it seems that 'jcat_gpg_engine_pubkey_verify' is a callback function, if 'blob' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libjcat-0.2.5/libjcat/jcat-gpg-engine.c:302:32: note: You might need to cast the function pointer here libjcat-0.2.5/libjcat/jcat-gpg-engine.c:198:18: note: Parameter 'blob' can be declared as pointer to const libjcat-0.2.5/libjcat/jcat-gpg-engine.c:199:18: style: Parameter 'blob_signature' can be declared as pointer to const. However it seems that 'jcat_gpg_engine_pubkey_verify' is a callback function, if 'blob_signature' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libjcat-0.2.5/libjcat/jcat-gpg-engine.c:302:32: note: You might need to cast the function pointer here libjcat-0.2.5/libjcat/jcat-gpg-engine.c:199:18: note: Parameter 'blob_signature' can be declared as pointer to const libjcat-0.2.5/libjcat/jcat-gpg-engine.c:307:37: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] libjcat-0.2.5/libjcat/jcat-item.c:30:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jcat_item_parent_class [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-item.c:88:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GList [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-item.c:250:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPtrArray [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-item.c:309:19: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] libjcat-0.2.5/libjcat/jcat-libcrypto-common.h:33:1: debug: Failed to parse 'typedef STACK_OF ( X509 ) STACK_OF_X509 ;'. The checking continues anyway. [simplifyTypedef] libjcat-0.2.5/libjcat/jcat-libcrypto-common.c:29:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BIO [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-libcrypto-common.c:43:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BIO [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-libcrypto-common.c:81:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BIO [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-libcrypto-common.c:121:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EVP_PKEY [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-libcrypto-common.c:158:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-libcrypto-common.c:235:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EVP_MAX_MD_SIZE [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-libcrypto-common.c:383:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BIO [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-libcrypto-common.c:41:53: style: Parameter 'blob' can be declared as pointer to const [constParameterPointer] libjcat-0.2.5/libjcat/jcat-libcrypto-common.c:79:53: style: Parameter 'blob' can be declared as pointer to const [constParameterPointer] libjcat-0.2.5/libjcat/jcat-libcrypto-common.c:117:57: style: Parameter 'blob' can be declared as pointer to const [constParameterPointer] libjcat-0.2.5/libjcat/jcat-libcrypto-pkcs7-engine.c:392:2: error: failed to evaluate #if condition, undefined function-like macro invocation: OPENSSL_VERSION_PREREQ( ... ) [syntaxError] libjcat-0.2.5/libjcat/jcat-result.c:119:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDateTime [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-result.c:158:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jcat_result_parent_class [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-result.c:216:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_READWRITE [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-result.c:162:85: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'jcat_result_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libjcat-0.2.5/libjcat/jcat-result.c:207:31: note: You might need to cast the function pointer here libjcat-0.2.5/libjcat/jcat-result.c:162:85: note: Parameter 'pspec' can be declared as pointer to const libjcat-0.2.5/libjcat/jcat-result.c:182:91: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'jcat_result_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libjcat-0.2.5/libjcat/jcat-result.c:208:31: note: You might need to cast the function pointer here libjcat-0.2.5/libjcat/jcat-result.c:182:91: note: Parameter 'pspec' can be declared as pointer to const libjcat-0.2.5/libjcat/jcat-result.c:237:30: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] libjcat-0.2.5/libjcat/jcat-self-test.c:39:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-self-test.c:78:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-self-test.c:101:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-self-test.c:220:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-self-test.c:283:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-self-test.c:1158:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-self-test.c:1187:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-self-test.c:1223:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-self-test.c:1279:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SRCDIR [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-self-test.c:1180:2: warning: Assert statement calls a function which may have desired side effects: 'g_bytes_get_size'. [assertWithSideEffect] libjcat-0.2.5/libjcat/jcat-self-test.c:1210:2: warning: Assert statement calls a function which may have desired side effects: 'g_bytes_get_size'. [assertWithSideEffect] libjcat-0.2.5/libjcat/jcat-self-test.c:1212:2: warning: Assert statement calls a function which may have desired side effects: 'g_bytes_get_size'. [assertWithSideEffect] libjcat-0.2.5/libjcat/jcat-self-test.c:1214:2: warning: Assert statement calls a function which may have desired side effects: 'g_bytes_get_size'. [assertWithSideEffect] libjcat-0.2.5/libjcat/jcat-self-test.c:1157:10: style: Variable 'buf' can be declared as pointer to const [constVariablePointer] libjcat-0.2.5/libjcat/jcat-self-test.c:1186:10: style: Variable 'buf' can be declared as pointer to const [constVariablePointer] libjcat-0.2.5/libjcat/jcat-sha1-engine.c:23:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-sha1-engine.c:35:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-sha1-engine.c:57:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jcat_sha1_engine_parent_class [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-sha1-engine.c:29:42: style: Parameter 'engine' can be declared as pointer to const. However it seems that 'jcat_sha1_engine_self_verify' is a callback function, if 'engine' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libjcat-0.2.5/libjcat/jcat-sha1-engine.c:66:30: note: You might need to cast the function pointer here libjcat-0.2.5/libjcat/jcat-sha1-engine.c:29:42: note: Parameter 'engine' can be declared as pointer to const libjcat-0.2.5/libjcat/jcat-sha1-engine.c:31:17: style: Parameter 'blob_signature' can be declared as pointer to const. However it seems that 'jcat_sha1_engine_self_verify' is a callback function, if 'blob_signature' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libjcat-0.2.5/libjcat/jcat-sha1-engine.c:66:30: note: You might need to cast the function pointer here libjcat-0.2.5/libjcat/jcat-sha1-engine.c:31:17: note: Parameter 'blob_signature' can be declared as pointer to const libjcat-0.2.5/libjcat/jcat-sha1-engine.c:71:39: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] libjcat-0.2.5/libjcat/jcat-sha256-engine.c:23:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-sha256-engine.c:35:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-sha256-engine.c:57:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jcat_sha256_engine_parent_class [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-sha256-engine.c:29:44: style: Parameter 'engine' can be declared as pointer to const. However it seems that 'jcat_sha256_engine_self_verify' is a callback function, if 'engine' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libjcat-0.2.5/libjcat/jcat-sha256-engine.c:66:30: note: You might need to cast the function pointer here libjcat-0.2.5/libjcat/jcat-sha256-engine.c:29:44: note: Parameter 'engine' can be declared as pointer to const libjcat-0.2.5/libjcat/jcat-sha256-engine.c:31:19: style: Parameter 'blob_signature' can be declared as pointer to const. However it seems that 'jcat_sha256_engine_self_verify' is a callback function, if 'blob_signature' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libjcat-0.2.5/libjcat/jcat-sha256-engine.c:66:30: note: You might need to cast the function pointer here libjcat-0.2.5/libjcat/jcat-sha256-engine.c:31:19: note: Parameter 'blob_signature' can be declared as pointer to const libjcat-0.2.5/libjcat/jcat-sha256-engine.c:71:43: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] libjcat-0.2.5/libjcat/jcat-sha512-engine.c:23:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-sha512-engine.c:35:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-sha512-engine.c:57:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jcat_sha512_engine_parent_class [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-sha512-engine.c:29:44: style: Parameter 'engine' can be declared as pointer to const. However it seems that 'jcat_sha512_engine_self_verify' is a callback function, if 'engine' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libjcat-0.2.5/libjcat/jcat-sha512-engine.c:66:30: note: You might need to cast the function pointer here libjcat-0.2.5/libjcat/jcat-sha512-engine.c:29:44: note: Parameter 'engine' can be declared as pointer to const libjcat-0.2.5/libjcat/jcat-sha512-engine.c:31:19: style: Parameter 'blob_signature' can be declared as pointer to const. However it seems that 'jcat_sha512_engine_self_verify' is a callback function, if 'blob_signature' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libjcat-0.2.5/libjcat/jcat-sha512-engine.c:66:30: note: You might need to cast the function pointer here libjcat-0.2.5/libjcat/jcat-sha512-engine.c:31:19: note: Parameter 'blob_signature' can be declared as pointer to const libjcat-0.2.5/libjcat/jcat-sha512-engine.c:71:43: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] libjcat-0.2.5/libjcat/jcat-tool.c:87:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GStrv [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-tool.c:173:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GFile [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-tool.c:202:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GFile [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-tool.c:233:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GFile [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-tool.c:272:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GBytes [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-tool.c:375:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GBytes [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-tool.c:448:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GBytes [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-tool.c:536:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GBytes [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-tool.c:641:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GFile [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-tool.c:699:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GFile [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-tool.c:764:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] libjcat-0.2.5/libjcat/jcat-tool.c:115:14: style: Variable 'item' can be declared as pointer to const [constVariablePointer] libjcat-0.2.5/libjcat/jcat-tool.c:262:51: style: Parameter 'priv' can be declared as pointer to const [constParameterPointer] diff: DONE