2026-05-04 11:07 ftp://ftp.de.debian.org/debian/pool/main/p/python-cffi/python-cffi_2.0.0.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=python --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: 52 52 elapsed-time: 0.8 0.7 head-timing-info: old-timing-info: head results: cffi-2.0.0/demo/manual.c:58:10: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] cffi-2.0.0/demo/manual.c:8:23: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] cffi-2.0.0/demo/manual.c:124:33: style: struct member '_cffi_align_foo_s::x' is never used. [unusedStructMember] cffi-2.0.0/src/c/misc_thread_common.h:4:3: error: #error "xxx no-thread configuration not tested, please report if you need that" [preprocessorErrorDirective] cffi-2.0.0/src/c/call_python.c:8:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable interp [valueFlowBailoutIncompleteVar] cffi-2.0.0/src/c/call_python.c:105:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _CFFI_OP_EXTERN_PYTHON [valueFlowBailoutIncompleteVar] cffi-2.0.0/src/c/call_python.c:287:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cffi-2.0.0/src/c/call_python.c:8:25: style: Variable 'interp' can be declared as pointer to const [constVariablePointer] cffi-2.0.0/src/c/call_python.c:24:20: style: Variable 'tstate' can be declared as pointer to const [constVariablePointer] cffi-2.0.0/src/c/call_python.c:27:25: style: Variable 'interp' can be declared as pointer to const [constVariablePointer] cffi-2.0.0/src/c/cdlopen.c:9:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FFIError [valueFlowBailoutIncompleteVar] cffi-2.0.0/src/c/cdlopen.c:34:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FFIError [valueFlowBailoutIncompleteVar] cffi-2.0.0/src/c/cdlopen.c:62:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Lib_Type [valueFlowBailoutIncompleteVar] cffi-2.0.0/src/c/cdlopen.c:131:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyTuple_Type [valueFlowBailoutIncompleteVar] cffi-2.0.0/src/c/cdlopen.c:14:5: warning: Return value of function dlerror() is not used. [ignoredReturnValue] cffi-2.0.0/src/c/cdlopen.c:85:18: style: Variable 'ssrc' can be declared as pointer to const [constVariablePointer] cffi-2.0.0/src/c/cdlopen.c:86:20: style: Variable 'usrc' can be declared as pointer to const [constVariablePointer] cffi-2.0.0/src/c/cglob.c:76:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FFIError [valueFlowBailoutIncompleteVar] cffi-2.0.0/src/c/commontypes.c:216:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] cffi-2.0.0/src/c/lib_obj.c:149:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _CFFI_OP_FUNCTION_END [valueFlowBailoutIncompleteVar] cffi-2.0.0/src/c/lib_obj.c:230:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_RuntimeError [valueFlowBailoutIncompleteVar] cffi-2.0.0/src/c/lib_obj.c:464:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type_op [valueFlowBailoutIncompleteVar] cffi-2.0.0/src/c/lib_obj.c:492:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] cffi-2.0.0/src/c/lib_obj.c:537:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyModule_Type [valueFlowBailoutIncompleteVar] cffi-2.0.0/src/c/lib_obj.c:567:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_AttributeError [valueFlowBailoutIncompleteVar] cffi-2.0.0/src/c/lib_obj.c:722:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CT_FUNCTIONPTR [valueFlowBailoutIncompleteVar] cffi-2.0.0/src/c/lib_obj.c:151:14: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] cffi-2.0.0/src/c/lib_obj.c:39:16: style: Variable 'lo' can be declared as pointer to const [constVariablePointer] cffi-2.0.0/src/c/libffi_x86_x64/ffi.c:49:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FFI_TYPE_STRUCT [valueFlowBailoutIncompleteVar] cffi-2.0.0/src/c/libffi_x86_x64/ffi.c:150:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FFI_TYPE_INT [valueFlowBailoutIncompleteVar] cffi-2.0.0/src/c/libffi_x86_x64/ffi.c:205:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FFI_TYPE_STRUCT [valueFlowBailoutIncompleteVar] cffi-2.0.0/src/c/libffi_x86_x64/ffi.c:364:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FFI_TYPE_STRUCT [valueFlowBailoutIncompleteVar] cffi-2.0.0/src/c/libffi_x86_x64/ffi.c:418:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FFI_SYSV [valueFlowBailoutIncompleteVar] cffi-2.0.0/src/c/libffi_x86_x64/ffi.c:208:21: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] cffi-2.0.0/src/c/libffi_x86_x64/ffi.c:264:26: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] cffi-2.0.0/src/c/libffi_x86_x64/ffi.c:353:49: style:inconclusive: Function 'ffi_prep_incoming_args_SYSV' argument 2 names different: declaration 'ret' definition 'rvalue'. [funcArgNamesDifferent] cffi-2.0.0/src/c/libffi_x86_x64/ffi.c:242:62: note: Function 'ffi_prep_incoming_args_SYSV' argument 2 names different: declaration 'ret' definition 'rvalue'. cffi-2.0.0/src/c/libffi_x86_x64/ffi.c:353:49: note: Function 'ffi_prep_incoming_args_SYSV' argument 2 names different: declaration 'ret' definition 'rvalue'. cffi-2.0.0/src/c/libffi_x86_x64/ffi.c:354:15: style:inconclusive: Function 'ffi_prep_incoming_args_SYSV' argument 3 names different: declaration 'args' definition 'avalue'. [funcArgNamesDifferent] cffi-2.0.0/src/c/libffi_x86_x64/ffi.c:243:15: note: Function 'ffi_prep_incoming_args_SYSV' argument 3 names different: declaration 'args' definition 'avalue'. cffi-2.0.0/src/c/libffi_x86_x64/ffi.c:354:15: note: Function 'ffi_prep_incoming_args_SYSV' argument 3 names different: declaration 'args' definition 'avalue'. cffi-2.0.0/src/c/libffi_x86_x64/ffi.c:354:32: style: Parameter 'cif' can be declared as pointer to const [constParameterPointer] cffi-2.0.0/src/c/libffi_x86_x64/ffi.c:276:9: style: Variable 'rtype' is assigned a value that is never used. [unreadVariable] cffi-2.0.0/src/c/libffi_x86_x64/prep_cif.c:52:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FFI_OK [valueFlowBailoutIncompleteVar] cffi-2.0.0/src/c/libffi_x86_x64/prep_cif.c:97:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FFI_FIRST_ABI [valueFlowBailoutIncompleteVar] cffi-2.0.0/src/c/libffi_x86_x64/win32.c:42:21: style: Parameter 'ecif' can be declared as pointer to const [constParameterPointer] cffi-2.0.0/src/c/libffi_x86_x64/win32.c:45:17: style: Parameter 'rvalue' can be declared as pointer to const [constParameterPointer] cffi-2.0.0/src/c/parse_c_type.c:381:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] cffi-2.0.0/src/c/parse_c_type.c:87:41: style: Parameter 'tok' can be declared as pointer to const [constParameterPointer] cffi-2.0.0/src/c/parse_c_type.c:97:38: style: Parameter 'tok' can be declared as pointer to const [constParameterPointer] cffi-2.0.0/testing/embedding/add_recursive-test.c:15:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cffi-2.0.0/testing/embedding/perf-test.c:15:42: style: Parameter 'stop' can be declared as pointer to const [constParameterPointer] cffi-2.0.0/testing/embedding/perf-test.c:15:64: style: Parameter 'start' can be declared as pointer to const [constParameterPointer] cffi-2.0.0/testing/embedding/thread1-test.c:32:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cffi-2.0.0/testing/embedding/thread2-test.c:45:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cffi-2.0.0/testing/embedding/thread3-test.c:42:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] diff: DONE