2025-06-30 15:08 ftp://ftp.de.debian.org/debian/pool/main/r/ruby-pg/ruby-pg_1.5.6.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=ruby --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 -j6 platform: Linux-6.1.0-37-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.67 compiler: g++ (Debian 12.2.0-14+deb12u1) 12.2.0 cppcheck: head 2.17.0 head-info: bc2755d (2025-06-30 15:13:10 +0200) count: 306 305 elapsed-time: 1.7 1.8 head-timing-info: old-timing-info: head results: pg-1.5.6/ext/pg.c:144:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pg_enc_pg2ruby_mapping [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg.c:174:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pg_enc_pg2ruby_mapping [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg.c:265:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qfalse [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg.c:308:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg.c:326:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg.c:367:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONNECTION_OK [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/gvl_wrappers.c:9:37: style: Parameter 'conn' can be declared as pointer to const [constParameterPointer] pg-1.5.6/ext/pg_binary_encoder.c:31:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qtrue [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_binary_encoder.c:198:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_STRING [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_binary_encoder.c:284:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_STRING [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_binary_encoder.c:377:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pg_coder_enc_to_s [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_binary_decoder.c:30:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_eTypeError [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_binary_decoder.c:53:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_eTypeError [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_binary_decoder.c:84:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_eTypeError [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_binary_decoder.c:101:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENCODING_INLINE_MAX [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_binary_decoder.c:123:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pg_text_dec_string [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_binary_decoder.c:164:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_eTypeError [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_binary_decoder.c:244:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_eTypeError [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_binary_decoder.c:272:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_binary_decoder.c:300:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pg_text_dec_string [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_coder.c:23:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_eTypeError [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_coder.c:42:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_coder.c:61:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_coder.c:138:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_coder.c:160:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_coder.c:185:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_eArgError [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_coder.c:242:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_eArgError [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_coder.c:390:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qfalse [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_coder.c:408:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_eArgError [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_coder.c:446:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_eTypeError [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_coder.c:469:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_cObject [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_coder.c:514:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pg_coder_enc_to_s [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_coder.c:543:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pg_text_dec_string [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_coder.c:567:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_cObject [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_binary_encoder.c:181:5: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] pg-1.5.6/ext/pg_binary_encoder.c:272:5: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] pg-1.5.6/ext/pg_binary_encoder.c:199:10: style: Variable 'pstr' can be declared as pointer to const [constVariablePointer] pg-1.5.6/ext/pg_binary_encoder.c:285:10: style: Variable 'pstr' can be declared as pointer to const [constVariablePointer] pg-1.5.6/ext/pg_errors.c:78:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_eStandardError [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_binary_decoder.c:156:34: style: Parameter 'conv' can be declared as pointer to const. However it seems that 'pg_bin_dec_timestamp' is a callback function, if 'conv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pg-1.5.6/ext/pg_binary_decoder.c:304:32: note: You might need to cast the function pointer here pg-1.5.6/ext/pg_binary_decoder.c:156:34: note: Parameter 'conv' can be declared as pointer to const pg-1.5.6/ext/pg_coder.c:81:14: style: Variable 'this' can be declared as pointer to const [constVariablePointer] pg-1.5.6/ext/pg_coder.c:293:14: style: Variable 'this' can be declared as pointer to const [constVariablePointer] pg-1.5.6/ext/pg_coder.c:325:14: style: Variable 'this' can be declared as pointer to const [constVariablePointer] pg-1.5.6/ext/pg_coder.c:356:14: style: Variable 'this' can be declared as pointer to const [constVariablePointer] pg-1.5.6/ext/pg_copy_coder.c:102:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_eArgError [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_copy_coder.c:165:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_eTypeError [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_copy_coder.c:232:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENCODING_INLINE_MAX [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_copy_coder.c:376:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENCODING_INLINE_MAX [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_copy_coder.c:683:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_eArgError [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_copy_coder.c:824:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_record_coder.c:91:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_eTypeError [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_record_coder.c:193:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENCODING_INLINE_MAX [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_record_coder.c:413:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_eArgError [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_text_encoder.c:162:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_STRING [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_text_encoder.c:312:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_text_encoder.c:386:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_text_encoder.c:589:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_ARRAY [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_text_encoder.c:619:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_eArgError [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_text_encoder.c:635:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_ARRAY [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_text_encoder.c:671:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_ARRAY [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_text_encoder.c:742:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENCODING_INLINE_MAX [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_text_encoder.c:781:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENCODING_INLINE_MAX [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_result.c:87:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PGresAttDesc [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_result.c:217:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_result.c:341:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENCODING_INLINE_MAX [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_result.c:382:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_result.c:400:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_result.c:414:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qtrue [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_result.c:431:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qfalse [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_result.c:476:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_result.c:595:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_eArgError [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_result.c:612:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENCODING_INLINE_MAX [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_result.c:696:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_result.c:767:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_eArgError [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_result.c:802:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_STRING [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_result.c:829:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_eArgError [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_result.c:854:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_eArgError [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_result.c:875:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_eArgError [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_result.c:905:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_eArgError [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_result.c:926:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_eArgError [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_result.c:952:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_eArgError [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_result.c:973:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_eArgError [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_result.c:996:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_eArgError [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_result.c:1021:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_eArgError [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_result.c:1072:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENCODING_INLINE_MAX [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_result.c:1115:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable InvalidOid [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_record_coder.c:108:20: style: Variable 'this' can be declared as pointer to const [constVariablePointer] pg-1.5.6/ext/pg_result.c:1142:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_eIndexError [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_result.c:1180:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_eArgError [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_result.c:1209:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_eArgError [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_record_coder.c:388:8: style: Variable 'cur_ptr' can be declared as pointer to const [constVariablePointer] pg-1.5.6/ext/pg_result.c:1234:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_eIndexError [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_result.c:1275:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_SYMBOL [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_result.c:1307:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_eIndexError [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_result.c:1324:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_result.c:1357:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_eIndexError [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_result.c:1470:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_eArgError [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_result.c:1660:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_eArgError [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_result.c:1699:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_cObject [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:117:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:131:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:258:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:285:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONNECTION_BAD [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:333:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONNECTION_BAD [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:409:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIsVALUE [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:460:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:539:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:553:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qfalse [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:581:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONNECTION_BAD [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:603:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:636:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:650:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:664:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:689:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:724:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEF_PGPORT [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:751:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:840:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:889:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:964:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qfalse [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:1041:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qfalse [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:1054:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qfalse [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:1093:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_yield [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:1196:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_cObject [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:1230:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_ARRAY [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:1418:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_yield [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:1452:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_ARRAY [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:1512:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_yield [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:1643:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENCODING_INLINE_MAX [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:1688:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_STRING [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:1722:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_STRING [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:1745:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:1779:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:1872:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:1947:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:1989:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_ARRAY [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:2074:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:2093:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:2113:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:2126:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:2153:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:2166:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qfalse [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:2175:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qtrue [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:2192:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qfalse [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:2203:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qtrue [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:2220:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:2251:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:2408:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:2467:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qfalse [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:2483:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:2521:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:2561:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:2625:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qfalse [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:2655:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:2748:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_eArgError [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:2787:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:2802:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:2861:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:2880:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:2922:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:2959:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_STRING [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:3015:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_STRING [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:3061:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qfalse [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:3079:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:3124:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:3178:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:3277:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:3343:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:3387:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:3440:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:3464:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:3488:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:3724:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INV_READ [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:3753:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable InvalidOid [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:3774:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_STRING [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:3798:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_STRING [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:3833:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INV_READ [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:3861:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_STRING [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:3909:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:3989:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:4012:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:4035:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:4046:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_eArgError [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:4069:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:4095:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_STRING [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:4146:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_STRING [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:4214:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:4317:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:4366:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:4423:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_eArgError [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:4466:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_cObject [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_text_decoder.c:75:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_eTypeError [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_text_decoder.c:92:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENCODING_INLINE_MAX [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_text_decoder.c:109:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FIXNUM_MAX [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_text_decoder.c:170:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_cObject [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_text_decoder.c:183:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_text_decoder.c:205:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qfalse [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_text_decoder.c:224:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qfalse [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_text_decoder.c:241:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_eNoMemError [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_text_decoder.c:281:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_eTypeError [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_text_decoder.c:330:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_text_decoder.c:518:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAMEDATALEN [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_text_decoder.c:585:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENCODING_INLINE_MAX [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_text_decoder.c:758:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_text_decoder.c:827:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_text_decoder.c:961:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_copy_coder.c:396:5: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] pg-1.5.6/ext/pg_copy_coder.c:143:18: style: Variable 'this' can be declared as pointer to const [constVariablePointer] pg-1.5.6/ext/pg_copy_coder.c:182:18: style: Variable 'this' can be declared as pointer to const [constVariablePointer] pg-1.5.6/ext/pg_tuple.c:61:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qfalse [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_tuple.c:169:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qundef [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_tuple.c:191:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_eTypeError [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_tuple.c:202:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qundef [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_tuple.c:217:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_tuple.c:277:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_eIndexError [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_tuple.c:323:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_tuple.c:346:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_CONTINUE [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_tuple.c:365:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qfalse [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_tuple.c:471:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qfalse [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_tuple.c:497:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_eTypeError [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_tuple.c:553:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_cObject [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_type_map.c:64:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_eNotImpError [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_type_map.c:70:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_eNotImpError [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_type_map.c:76:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_eNotImpError [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_type_map.c:82:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_eNotImpError [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_type_map.c:88:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_eNotImpError [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_type_map.c:94:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_eNotImpError [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_type_map.c:193:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_cObject [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_type_map.c:19:13: style: Variable 'this' can be declared as pointer to const [constVariablePointer] pg-1.5.6/ext/pg_type_map.c:26:13: style: Variable 'this' can be declared as pointer to const [constVariablePointer] pg-1.5.6/ext/pg_type_map.c:156:13: style: Variable 'this' can be declared as pointer to const [constVariablePointer] pg-1.5.6/ext/pg_result.c:210:2: warning: If memory allocation fails, then there is a possible null pointer dereference: this [nullPointerOutOfMemory] pg-1.5.6/ext/pg_result.c:209:31: note: Assuming allocation function fails pg-1.5.6/ext/pg_result.c:209:9: note: Assignment 'this=(struct t_pg_result*)xmalloc(sizeof(*this)+sizeof(*this->fnames)*nfields)', assigned value is 0 pg-1.5.6/ext/pg_result.c:210:2: note: Null pointer dereference pg-1.5.6/ext/pg_result.c:271:9: warning: If memory allocation fails, then there is a possible null pointer dereference: copy [nullPointerOutOfMemory] pg-1.5.6/ext/pg_result.c:270:31: note: Assuming allocation function fails pg-1.5.6/ext/pg_result.c:270:9: note: Assignment 'copy=(struct t_pg_result*)xmalloc(len)', assigned value is 0 pg-1.5.6/ext/pg_result.c:271:9: note: Null pointer dereference pg-1.5.6/ext/pg_result.c:223:20: style: Variable 'p_conn' can be declared as pointer to const [constVariablePointer] pg-1.5.6/ext/pg_result.c:461:15: style: Variable 'this' can be declared as pointer to const [constVariablePointer] pg-1.5.6/ext/pg_result.c:585:38: style: Parameter 'argv' can be declared as pointer to const. However it seems that 'pgresult_res_status' is a callback function, if 'argv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pg-1.5.6/ext/pg_result.c:1706:47: note: You might need to cast the function pointer here pg-1.5.6/ext/pg_result.c:585:38: note: Parameter 'argv' can be declared as pointer to const pg-1.5.6/ext/pg_result.c:1444:15: style: Variable 'this' can be declared as pointer to const [constVariablePointer] pg-1.5.6/ext/pg_result.c:1451:56: style: Parameter 'data' can be declared as pointer to const. However it seems that 'yield_hash' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pg-1.5.6/ext/pg_result.c:1597:35: note: You might need to cast the function pointer here pg-1.5.6/ext/pg_result.c:1451:56: note: Parameter 'data' can be declared as pointer to const pg-1.5.6/ext/pg_result.c:1682:15: style: Variable 'this' can be declared as pointer to const [constVariablePointer] pg-1.5.6/ext/pg_type_map_all_strings.c:42:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_type_map_all_strings.c:81:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENCODING_INLINE_MAX [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_type_map_all_strings.c:64:42: style: Parameter 'p_typemap' can be declared as pointer to const. However it seems that 'pg_tmas_typecast_query_param' is a callback function, if 'p_typemap' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pg-1.5.6/ext/pg_type_map_all_strings.c:100:37: note: You might need to cast the function pointer here pg-1.5.6/ext/pg_type_map_all_strings.c:64:42: note: Parameter 'p_typemap' can be declared as pointer to const pg-1.5.6/ext/pg_tuple.c:225:14: style: Variable 'this' can be declared as pointer to const [constVariablePointer] pg-1.5.6/ext/pg_tuple.c:337:14: style: Variable 'this' can be declared as pointer to const [constVariablePointer] pg-1.5.6/ext/pg_tuple.c:388:14: style: Variable 'this' can be declared as pointer to const [constVariablePointer] pg-1.5.6/ext/pg_tuple.c:422:14: style: Variable 'this' can be declared as pointer to const [constVariablePointer] pg-1.5.6/ext/pg_tuple.c:442:14: style: Variable 'this' can be declared as pointer to const [constVariablePointer] pg-1.5.6/ext/pg_type_map_by_class.c:52:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_ARRAY [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_type_map_by_class.c:170:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pg_typemap_fit_to_result [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_text_encoder.c:238:9: style: Local variable 'intermediate' shadows outer argument [shadowArgument] pg-1.5.6/ext/pg_text_encoder.c:230:68: note: Shadowed declaration pg-1.5.6/ext/pg_text_encoder.c:238:9: note: Shadow variable pg-1.5.6/ext/pg_text_encoder.c:415:9: style: Variable 'eptr' can be declared as pointer to const [constVariablePointer] pg-1.5.6/ext/pg_text_encoder.c:437:24: style: Variable 'this' can be declared as pointer to const [constVariablePointer] pg-1.5.6/ext/pg_text_encoder.c:586:8: style: Variable 'end_ptr' can be declared as pointer to const [constVariablePointer] pg-1.5.6/ext/pg_text_encoder.c:608:8: style: Variable 'p_inend' can be declared as pointer to const [constVariablePointer] pg-1.5.6/ext/pg_type_map_by_column.c:25:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_eArgError [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_type_map_by_column.c:59:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_eArgError [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_type_map_by_column.c:92:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_type_map_by_column.c:138:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_eArgError [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_type_map_by_column.c:196:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pg_tmbc_converter [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_type_map_by_column.c:270:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_ARRAY [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_type_map_by_column.c:319:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_type_map_by_column.c:43:11: warning: If memory allocation fails, then there is a possible null pointer dereference: p_new_typemap [nullPointerOutOfMemory] pg-1.5.6/ext/pg_type_map_by_column.c:41:44: note: Assuming allocation function fails pg-1.5.6/ext/pg_type_map_by_column.c:41:27: note: Assignment 'p_new_typemap=(struct t_tmbc*)xmalloc(struct_size)', assigned value is 0 pg-1.5.6/ext/pg_type_map_by_column.c:43:11: note: Null pointer dereference pg-1.5.6/ext/pg_type_map_by_column.c:44:3: warning: If memory allocation fails, then there is a possible null pointer dereference: p_new_typemap [nullPointerOutOfMemory] pg-1.5.6/ext/pg_type_map_by_column.c:41:44: note: Assuming allocation function fails pg-1.5.6/ext/pg_type_map_by_column.c:41:27: note: Assignment 'p_new_typemap=(struct t_tmbc*)xmalloc(struct_size)', assigned value is 0 pg-1.5.6/ext/pg_type_map_by_column.c:44:3: note: Null pointer dereference pg-1.5.6/ext/pg_type_map_by_column.c:274:2: warning: If memory allocation fails, then there is a possible null pointer dereference: this [nullPointerOutOfMemory] pg-1.5.6/ext/pg_type_map_by_column.c:272:16: note: Assuming allocation function fails pg-1.5.6/ext/pg_type_map_by_column.c:272:16: note: Assignment 'this=xmalloc(sizeof(struct t_tmbc)+sizeof(struct pg_tmbc_converter)*conv_ary_len)', assigned value is 0 pg-1.5.6/ext/pg_type_map_by_column.c:274:2: note: Null pointer dereference pg-1.5.6/ext/pg_type_map_by_column.c:210:15: style: Variable 'p_coder' can be declared as pointer to const [constVariablePointer] pg-1.5.6/ext/pg_type_map_by_oid.c:66:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pg_tmbc_converter [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_type_map_by_oid.c:100:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_type_map_by_oid.c:210:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pg_typemap_fit_to_query [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_type_map_by_oid.c:249:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_eArgError [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_type_map_by_oid.c:282:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_eArgError [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_type_map_by_oid.c:353:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_eTypeError [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_connection.c:1021:6: warning: Either the condition 'cancel==NULL' is redundant or there is possible null pointer dereference: cancel. [nullPointerRedundantCheck] pg-1.5.6/ext/pg_connection.c:1018:12: note: Assuming that condition 'cancel==NULL' is not redundant pg-1.5.6/ext/pg_connection.c:1021:6: note: Null pointer dereference pg-1.5.6/ext/pg_connection.c:1259:58: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pg-1.5.6/ext/pg_connection.c:1249:31: note: Assuming allocation function fails pg-1.5.6/ext/pg_connection.c:1249:17: note: Assignment 'memory_pool=(char*)xmalloc(required_pool_size)', assigned value is 0 pg-1.5.6/ext/pg_connection.c:1258:23: note: Assignment 'paramsData->values=(char**)memory_pool', assigned value is 0 pg-1.5.6/ext/pg_connection.c:1259:58: note: Null pointer addition pg-1.5.6/ext/pg_connection.c:3026:37: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] pg-1.5.6/ext/pg_type_map_in_ruby.c:78:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_eTypeError [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_type_map_in_ruby.c:173:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_eTypeError [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_type_map_in_ruby.c:199:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_type_map_in_ruby.c:231:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_cInteger [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_type_map_by_oid.c:68:2: warning: If memory allocation fails, then there is a possible null pointer dereference: p_colmap [nullPointerOutOfMemory] pg-1.5.6/ext/pg_type_map_by_oid.c:66:20: note: Assuming allocation function fails pg-1.5.6/ext/pg_type_map_by_oid.c:66:20: note: Assignment 'p_colmap=xmalloc(sizeof(struct t_tmbc)+sizeof(struct pg_tmbc_converter)*nfields)', assigned value is 0 pg-1.5.6/ext/pg_type_map_by_oid.c:68:2: note: Null pointer dereference pg-1.5.6/ext/pg_type_map_by_oid.c:69:2: warning: If memory allocation fails, then there is a possible null pointer dereference: p_colmap [nullPointerOutOfMemory] pg-1.5.6/ext/pg_type_map_by_oid.c:66:20: note: Assuming allocation function fails pg-1.5.6/ext/pg_type_map_by_oid.c:66:20: note: Assignment 'p_colmap=xmalloc(sizeof(struct t_tmbc)+sizeof(struct pg_tmbc_converter)*nfields)', assigned value is 0 pg-1.5.6/ext/pg_type_map_by_oid.c:69:2: note: Null pointer dereference pg-1.5.6/ext/pg_type_map_by_oid.c:70:2: warning: If memory allocation fails, then there is a possible null pointer dereference: p_colmap [nullPointerOutOfMemory] pg-1.5.6/ext/pg_type_map_by_oid.c:66:20: note: Assuming allocation function fails pg-1.5.6/ext/pg_type_map_by_oid.c:66:20: note: Assignment 'p_colmap=xmalloc(sizeof(struct t_tmbc)+sizeof(struct pg_tmbc_converter)*nfields)', assigned value is 0 pg-1.5.6/ext/pg_type_map_by_oid.c:70:2: note: Null pointer dereference pg-1.5.6/ext/pg_type_map_by_oid.c:82:3: warning: If memory allocation fails, then there is a possible null pointer dereference: p_colmap [nullPointerOutOfMemory] pg-1.5.6/ext/pg_type_map_by_oid.c:66:20: note: Assuming allocation function fails pg-1.5.6/ext/pg_type_map_by_oid.c:66:20: note: Assignment 'p_colmap=xmalloc(sizeof(struct t_tmbc)+sizeof(struct pg_tmbc_converter)*nfields)', assigned value is 0 pg-1.5.6/ext/pg_type_map_by_oid.c:79:18: note: Assuming condition is false pg-1.5.6/ext/pg_type_map_by_oid.c:82:3: note: Null pointer dereference pg-1.5.6/ext/pg_type_map_by_oid.c:85:2: warning: If memory allocation fails, then there is a possible null pointer dereference: p_colmap [nullPointerOutOfMemory] pg-1.5.6/ext/pg_type_map_by_oid.c:66:20: note: Assuming allocation function fails pg-1.5.6/ext/pg_type_map_by_oid.c:66:20: note: Assignment 'p_colmap=xmalloc(sizeof(struct t_tmbc)+sizeof(struct pg_tmbc_converter)*nfields)', assigned value is 0 pg-1.5.6/ext/pg_type_map_by_oid.c:79:18: note: Assuming condition is false pg-1.5.6/ext/pg_type_map_by_oid.c:85:2: note: Null pointer dereference pg-1.5.6/ext/pg_type_map_by_oid.c:335:10: style: Variable 'this' can be declared as pointer to const [constVariablePointer] pg-1.5.6/ext/pg_connection.c:2797:50: style:inconclusive: Function 'notice_receiver_proxy' argument 2 names different: declaration 'result' definition 'pgresult'. [funcArgNamesDifferent] pg-1.5.6/ext/pg.h:376:55: note: Function 'notice_receiver_proxy' argument 2 names different: declaration 'result' definition 'pgresult'. pg-1.5.6/ext/pg_connection.c:2797:50: note: Function 'notice_receiver_proxy' argument 2 names different: declaration 'result' definition 'pgresult'. pg-1.5.6/ext/pg_connection.c:185:19: style: Variable 'this' can be declared as pointer to const [constVariablePointer] pg-1.5.6/ext/pg_connection.c:552:19: style: Variable 'this' can be declared as pointer to const [constVariablePointer] pg-1.5.6/ext/pg_connection.c:722:8: style: Variable 'port' can be declared as pointer to const [constVariablePointer] pg-1.5.6/ext/pg_connection.c:1352:45: style: Parameter 'paramsData' can be declared as pointer to const [constParameterPointer] pg-1.5.6/ext/pg_connection.c:2403:51: style: Parameter 'ptimeout' can be declared as pointer to const [constParameterPointer] pg-1.5.6/ext/pg_connection.c:3049:8: style: Variable 'ret' can be declared as pointer to const [constVariablePointer] pg-1.5.6/ext/pg_connection.c:4199:17: style: Variable 'conn_encoding' can be declared as pointer to const [constVariablePointer] pg-1.5.6/ext/pg_connection.c:4255:19: style: Variable 'this' can be declared as pointer to const [constVariablePointer] pg-1.5.6/ext/pg_connection.c:4293:19: style: Variable 'this' can be declared as pointer to const [constVariablePointer] pg-1.5.6/ext/pg_connection.c:4343:19: style: Variable 'this' can be declared as pointer to const [constVariablePointer] pg-1.5.6/ext/pg_connection.c:4392:19: style: Variable 'this' can be declared as pointer to const [constVariablePointer] pg-1.5.6/ext/pg_connection.c:4439:19: style: Variable 'this' can be declared as pointer to const [constVariablePointer] pg-1.5.6/ext/pg_connection.c:989:12: style: struct member 'SockAddr::salen' is never used. [unusedStructMember] pg-1.5.6/ext/pg_connection.c:1440:8: style: Variable 'i' is assigned a value that is never used. [unreadVariable] pg-1.5.6/ext/pg_connection.c:1977:8: style: Variable 'i' is assigned a value that is never used. [unreadVariable] pg-1.5.6/ext/pg_type_map_by_mri_type.c:65:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_type_map_by_mri_type.c:152:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pg_typemap_fit_to_result [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_type_map_by_mri_type.c:226:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Qnil [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_type_map_by_mri_type.c:261:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rb_eArgError [valueFlowBailoutIncompleteVar] pg-1.5.6/ext/pg_type_map_by_mri_type.c:221:8: style: Variable 'p_mri_type' can be declared as pointer to const [constVariablePointer] pg-1.5.6/ext/pg_type_map_by_mri_type.c:253:8: style: Variable 'p_mri_type' can be declared as pointer to const [constVariablePointer] pg-1.5.6/ext/pg_text_decoder.c:279:42: style: Parameter 'this' can be declared as pointer to const [constParameterPointer] diff: 2.17.0 pg-1.5.6/ext/pg_connection.c:1259:58: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pg-1.5.6/ext/pg_connection.c:1249:31: note: Assuming allocation function fails pg-1.5.6/ext/pg_connection.c:1249:17: note: Assignment 'memory_pool=(char*)xmalloc(required_pool_size)', assigned value is 0 pg-1.5.6/ext/pg_connection.c:1258:23: note: Assignment 'paramsData->values=(char**)memory_pool', assigned value is 0 pg-1.5.6/ext/pg_connection.c:1259:58: note: Null pointer addition head pg-1.5.6/ext/pg_connection.c:1259:58: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pg-1.5.6/ext/pg_connection.c:1249:31: note: Assuming allocation function fails pg-1.5.6/ext/pg_connection.c:1249:17: note: Assignment 'memory_pool=(char*)xmalloc(required_pool_size)', assigned value is 0 pg-1.5.6/ext/pg_connection.c:1258:23: note: Assignment 'paramsData->values=(char**)memory_pool', assigned value is 0 pg-1.5.6/ext/pg_connection.c:1259:58: note: Null pointer addition head pg-1.5.6/ext/pg_connection.c:3026:37: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] DONE