2026-05-04 10:42 ftp://ftp.de.debian.org/debian/pool/main/p/psycopg2/psycopg2_2.9.11.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: 174 173 elapsed-time: 1.0 0.9 head-timing-info: old-timing-info: head results: psycopg2-2.9.11/psycopg/adapter_asis.c:42:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/adapter_asis.c:72:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isqlquoteType [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/adapter_binary.c:63:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/adapter_binary.c:135:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable connectionType [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/adapter_binary.c:152:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isqlquoteType [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/adapter_datetime.c:42:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyDateTime_IMPORT [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/adapter_datetime.c:66:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/adapter_datetime.c:119:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PSYCO_DATETIME_TIMESTAMP [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/adapter_datetime.c:140:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isqlquoteType [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/adapter_datetime.c:278:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DateType [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/adapter_datetime.c:308:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TimeType [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/adapter_datetime.c:335:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DateTimeType [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/adapter_datetime.c:389:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable InterfaceError [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/adapter_datetime.c:417:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable InterfaceError [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/adapter_datetime.c:439:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable InterfaceError [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/adapter_datetime.c:474:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DateType [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/adapter_datetime.c:486:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TimeType [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/adapter_datetime.c:498:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DateTimeType [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/adapter_datetime.c:510:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DeltaType [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/adapter_list.c:73:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/adapter_list.c:183:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable connectionType [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/adapter_list.c:200:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isqlquoteType [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/adapter_list.c:133:19: style: Variable 's' can be declared as pointer to const [constVariablePointer] psycopg2-2.9.11/psycopg/adapter_pboolean.c:62:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isqlquoteType [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/adapter_pdecimal.c:44:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_True [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/adapter_pdecimal.c:125:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isqlquoteType [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/adapter_pfloat.c:98:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isqlquoteType [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/adapter_pint.c:48:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyLong_Type [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/adapter_pint.c:99:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isqlquoteType [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/adapter_qstring.c:71:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/adapter_qstring.c:119:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable connectionType [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/adapter_qstring.c:136:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isqlquoteType [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/bytes_format.c:105:1: error: There is an unknown macro here somewhere. Configuration is required. If STEALS is a macro then please configure it. [unknownMacro] psycopg2-2.9.11/psycopg/column_type.c:165:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/column_type.c:190:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyTuple_Type [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/column_type.c:242:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_IndexError [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/column_type.c:263:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyTuple_Type [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/column_type.c:299:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyTuple_Type [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/column_type.c:309:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/column_type.c:205:26: style: Parameter 'self' can be declared as pointer to const. However it seems that 'column_len' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] psycopg2-2.9.11/psycopg/column_type.c:282:14: note: You might need to cast the function pointer here psycopg2-2.9.11/psycopg/column_type.c:205:26: note: Parameter 'self' can be declared as pointer to const psycopg2-2.9.11/psycopg/connection_int.c:173:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable connectionObject_notice [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/connection_int.c:238:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONN_NOTICES_LIMIT [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/connection_int.c:306:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable notifyType [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/connection_int.c:421:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyUnicode_DecodeUTF8 [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/connection_int.c:447:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable psycoEncodings [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/connection_int.c:562:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OperationalError [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/connection_int.c:604:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OperationalError [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/connection_int.c:662:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable InterfaceError [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/connection_int.c:733:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OperationalError [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/connection_int.c:779:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OperationalError [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/connection_int.c:832:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PSYCO_POLL_ERROR [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/connection_int.c:879:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ASYNC_READ [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/connection_int.c:913:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ASYNC_DONE [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/connection_int.c:940:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PSYCO_POLL_ERROR [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/connection_int.c:978:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PSYCO_POLL_ERROR [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/connection_int.c:1051:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_SystemError [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/connection_int.c:1078:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PSYCO_POLL_ERROR [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/connection_int.c:1177:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable InternalError [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/connection_int.c:1277:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ProgrammingError [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/connection_int.c:1408:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _save [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/connection_int.c:1457:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _save [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/connection_int.c:1496:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _save [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/connection_int.c:1526:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONN_STATUS_BEGIN [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/connection_int.c:616:34: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] psycopg2-2.9.11/psycopg/connection_type.c:64:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/connection_type.c:149:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/connection_type.c:161:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable commit [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/connection_type.c:180:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rollback [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/connection_type.c:199:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xidType [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/connection_type.c:214:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tpc_begin [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/connection_type.c:253:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tpc_prepare [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/connection_type.c:312:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONN_STATUS_READY [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/connection_type.c:368:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tpc_commit [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/connection_type.c:382:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tpc_rollback [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/connection_type.c:396:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tpc_recover [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/connection_type.c:415:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ProgrammingError [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/connection_type.c:446:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/connection_type.c:479:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/connection_type.c:532:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/connection_type.c:578:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/connection_type.c:644:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable set_session [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/connection_type.c:672:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISOLATION_LEVEL_DEFAULT [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/connection_type.c:713:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/connection_type.c:761:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_False [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/connection_type.c:808:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_False [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/connection_type.c:868:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable set_client_encoding [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/connection_type.c:914:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/connection_type.c:945:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NotSupportedError [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/connection_type.c:965:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable InvalidOid [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/connection_type.c:1035:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable connInfoType [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/connection_type.c:1051:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/connection_type.c:1067:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reset [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/connection_type.c:1100:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PSYCO_POLL_ERROR [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/connection_type.c:1134:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_False [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/connection_type.c:1161:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cancel [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/connection_type.c:1331:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONN_STATUS_SETUP [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/connection_type.c:755:43: style: Parameter 'self' can be declared as pointer to const. However it seems that 'psyco_conn_readonly_get' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] psycopg2-2.9.11/psycopg/connection_type.c:1298:17: note: You might need to cast the function pointer here psycopg2-2.9.11/psycopg/connection_type.c:755:43: note: Parameter 'self' can be declared as pointer to const psycopg2-2.9.11/psycopg/connection_type.c:802:45: style: Parameter 'self' can be declared as pointer to const. However it seems that 'psyco_conn_deferrable_get' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] psycopg2-2.9.11/psycopg/connection_type.c:1302:17: note: You might need to cast the function pointer here psycopg2-2.9.11/psycopg/connection_type.c:802:45: note: Parameter 'self' can be declared as pointer to const psycopg2-2.9.11/psycopg/connection_type.c:1130:42: style: Parameter 'self' can be declared as pointer to const. However it seems that 'psyco_conn_isexecuting' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] psycopg2-2.9.11/psycopg/connection_type.c:1233:34: note: You might need to cast the function pointer here psycopg2-2.9.11/psycopg/connection_type.c:1130:42: note: Parameter 'self' can be declared as pointer to const psycopg2-2.9.11/psycopg/conninfo_type.c:58:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/conninfo_type.c:78:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/conninfo_type.c:98:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/conninfo_type.c:122:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/conninfo_type.c:144:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/conninfo_type.c:164:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/conninfo_type.c:204:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NotSupportedError [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/conninfo_type.c:278:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/conninfo_type.c:340:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/conninfo_type.c:436:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NotSupportedError [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/conninfo_type.c:484:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NotSupportedError [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/conninfo_type.c:527:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NotSupportedError [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/conninfo_type.c:589:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable connectionType [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/cursor_int.c:48:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/cursor_int.c:119:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ProgrammingError [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/cursor_type.c:192:19: error: There is an unknown macro here somewhere. Configuration is required. If FORMAT_CODE_PY_SSIZE_T is a macro then please configure it. [unknownMacro] psycopg2-2.9.11/psycopg/diagnostics_type.c:70:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/diagnostics_type.c:135:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errorType [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/error_type.c:52:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sqlstate_errors [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/error_type.c:69:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OperationalError [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/error_type.c:167:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_StandardError [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/error_type.c:174:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_StandardError [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/error_type.c:189:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_StandardError [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/error_type.c:201:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_StandardError [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/error_type.c:219:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable diagnosticsType [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/error_type.c:242:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_StandardError [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/error_type.c:301:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/green.c:49:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/green.c:72:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/green.c:100:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OperationalError [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/green.c:153:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ProgrammingError [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/libpq_support.c:60:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POSTGRES_EPOCH_JDATE [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/libpq_support.c:90:20: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] psycopg2-2.9.11/psycopg/lobject_int.c:368:45: error: There is an unknown macro here somewhere. Configuration is required. If FORMAT_CODE_PY_SSIZE_T is a macro then please configure it. [unknownMacro] psycopg2-2.9.11/psycopg/lobject_type.c:189:37: error: There is an unknown macro here somewhere. Configuration is required. If FORMAT_CODE_PY_SSIZE_T is a macro then please configure it. [unknownMacro] psycopg2-2.9.11/psycopg/microprotocols.c:70:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isqlquoteType [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/microprotocols.c:97:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/microprotocols.c:159:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/microprotocols.c:273:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isqlquoteType [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/microprotocols_proto.c:46:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/microprotocols_proto.c:57:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/microprotocols_proto.c:68:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/notify_type.c:152:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable notifyType [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/notify_type.c:240:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_IndexError [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/notify_type.c:221:26: style: Parameter 'self' can be declared as pointer to const. However it seems that 'notify_len' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] psycopg2-2.9.11/psycopg/notify_type.c:246:14: note: You might need to cast the function pointer here psycopg2-2.9.11/psycopg/notify_type.c:221:26: note: Parameter 'self' can be declared as pointer to const psycopg2-2.9.11/psycopg/pqpath.c:1275:41: error: There is an unknown macro here somewhere. Configuration is required. If FORMAT_CODE_PY_SSIZE_T is a macro then please configure it. [unknownMacro] psycopg2-2.9.11/psycopg/psycopgmodule.c:988:1: error: There is an unknown macro here somewhere. Configuration is required. If INIT_MODULE is a macro then please configure it. [unknownMacro] psycopg2-2.9.11/psycopg/replication_connection_type.c:53:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_False [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/replication_cursor_type.c:80:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ProgrammingError [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/replication_cursor_type.c:126:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/replication_cursor_type.c:193:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/replication_cursor_type.c:231:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/replication_cursor_type.c:238:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyDateTime_IMPORT [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/replication_message_type.c:52:23: error: There is an unknown macro here somewhere. Configuration is required. If XLOGFMTSTR is a macro then please configure it. [unknownMacro] psycopg2-2.9.11/psycopg/typecast.c:50:43: error: There is an unknown macro here somewhere. Configuration is required. If FORMAT_CODE_PY_SSIZE_T is a macro then please configure it. [unknownMacro] psycopg2-2.9.11/psycopg/typecast_array.c:70:13: error: There is an unknown macro here somewhere. Configuration is required. If FORMAT_CODE_PY_SSIZE_T is a macro then please configure it. [unknownMacro] psycopg2-2.9.11/psycopg/typecast_basic.c:38:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/typecast_basic.c:53:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/typecast_basic.c:66:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/typecast_basic.c:78:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/typecast_basic.c:97:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/typecast_basic.c:128:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/typecast_binary.c:52:37: error: There is an unknown macro here somewhere. Configuration is required. If FORMAT_CODE_PY_SSIZE_T is a macro then please configure it. [unknownMacro] psycopg2-2.9.11/psycopg/typecast_datetime.c:66:34: error: There is an unknown macro here somewhere. Configuration is required. If FORMAT_CODE_PY_SSIZE_T is a macro then please configure it. [unknownMacro] psycopg2-2.9.11/psycopg/utils.c:168:1: error: There is an unknown macro here somewhere. Configuration is required. If STEALS is a macro then please configure it. [unknownMacro] psycopg2-2.9.11/psycopg/xid_type.c:99:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/xid_type.c:181:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_IndexError [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/xid_type.c:199:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/xid_type.c:395:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/xid_type.c:483:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/xid_type.c:539:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/xid_type.c:567:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/xid_type.c:603:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cursorType [valueFlowBailoutIncompleteVar] psycopg2-2.9.11/psycopg/xid_type.c:98:38: style: Comparing expression of type 'signed int' against value 2147483647. Condition is always false. [compareValueOutOfTypeRangeError] psycopg2-2.9.11/psycopg/xid_type.c:159:20: style: Parameter 'self' can be declared as pointer to const. However it seems that 'xid_len' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] psycopg2-2.9.11/psycopg/xid_type.c:250:14: note: You might need to cast the function pointer here psycopg2-2.9.11/psycopg/xid_type.c:159:20: note: Parameter 'self' can be declared as pointer to const diff: head psycopg2-2.9.11/psycopg/xid_type.c:98:38: style: Comparing expression of type 'signed int' against value 2147483647. Condition is always false. [compareValueOutOfTypeRangeError] DONE