2025-11-21 06:32 ftp://ftp.de.debian.org/debian/pool/main/f/flashrom/flashrom_1.6.0.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=openssl --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j4 platform: Linux-5.4.0-216-generic-x86_64-with-glibc2.29 python: 3.8.10 client-version: 1.3.69 compiler: g++ (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0 cppcheck: head 2.18.0 head-info: 5374cd3 (2025-11-20 15:35:39 +0100) count: 1032 1029 elapsed-time: 7.4 11.1 head-timing-info: old-timing-info: head results: flashrom-1.6.0/82802ab.c:44:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FEATURE_ADDR_SHIFTED [valueFlowBailoutIncompleteVar] flashrom-1.6.0/82802ab.c:138:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLASHROM_PROGRESS_WRITE [valueFlowBailoutIncompleteVar] flashrom-1.6.0/asm106x.c:48:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx8 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/asm106x.c:82:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx32 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/asm106x.c:137:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCI_ROM_ADDRESS [valueFlowBailoutIncompleteVar] flashrom-1.6.0/atahpt.c:89:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCI_BASE_ADDRESS_4 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/at45db.c:81:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_ERASEFUNCTIONS [valueFlowBailoutIncompleteVar] flashrom-1.6.0/at45db.c:193:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_ERASEFUNCTIONS [valueFlowBailoutIncompleteVar] flashrom-1.6.0/at45db.c:228:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/at45db.c:238:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/at45db.c:269:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/at45db.c:328:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/at45db.c:346:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/at45db.c:366:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/at45db.c:386:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/at45db.c:406:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/at45db.c:422:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable size [valueFlowBailoutIncompleteVar] flashrom-1.6.0/at45db.c:480:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/at45db.c:500:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/at45db.c:518:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/at45db.c:537:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/atahpt.c:49:22: style: Variable 'data' can be declared as pointer to const [constVariablePointer] flashrom-1.6.0/atahpt.c:58:22: style: Variable 'data' can be declared as pointer to const [constVariablePointer] flashrom-1.6.0/atapromise.c:71:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_ERASEFUNCTIONS [valueFlowBailoutIncompleteVar] flashrom-1.6.0/atapromise.c:131:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCI_BASE_ADDRESS_4 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/atavia.c:100:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/atavia.c:112:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIxPTR [valueFlowBailoutIncompleteVar] flashrom-1.6.0/atavia.c:132:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIxPTR [valueFlowBailoutIncompleteVar] flashrom-1.6.0/atavia.c:149:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_FLASHROM_FATAL [valueFlowBailoutIncompleteVar] flashrom-1.6.0/bitbang_spi.c:161:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_FLASHROM_BUG [valueFlowBailoutIncompleteVar] flashrom-1.6.0/board_enable.c:2531:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vendor_name [valueFlowBailoutIncompleteVar] flashrom-1.6.0/board_enable.c:2691:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OK [valueFlowBailoutIncompleteVar] flashrom-1.6.0/board_enable.c:2727:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P1 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/board_enable.c:2732:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P2 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/board_enable.c:2758:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P3 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/cbtable.c:162:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId32 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/cbtable.c:178:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx32 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/cbtable.c:227:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_PTR [valueFlowBailoutIncompleteVar] flashrom-1.6.0/cbtable.c:302:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LB_TAG_MAINBOARD [valueFlowBailoutIncompleteVar] flashrom-1.6.0/cbtable.c:327:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_PTR [valueFlowBailoutIncompleteVar] flashrom-1.6.0/board_enable.c:2568:2: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] flashrom-1.6.0/board_enable.c:2569:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] flashrom-1.6.0/buspirate_spi.c:41:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sp_fd [valueFlowBailoutIncompleteVar] flashrom-1.6.0/buspirate_spi.c:71:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_OOM [valueFlowBailoutIncompleteVar] flashrom-1.6.0/buspirate_spi.c:85:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/buspirate_spi.c:215:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPI_INVALID_LENGTH [valueFlowBailoutIncompleteVar] flashrom-1.6.0/buspirate_spi.c:270:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPI_INVALID_LENGTH [valueFlowBailoutIncompleteVar] flashrom-1.6.0/buspirate_spi.c:437:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_OOM [valueFlowBailoutIncompleteVar] flashrom-1.6.0/ch347_spi.c:287:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vendor_id [valueFlowBailoutIncompleteVar] flashrom-1.6.0/ch341a_spi.c:112:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBUSB_TRANSFER_CANCELLED [valueFlowBailoutIncompleteVar] flashrom-1.6.0/ch341a_spi.c:129:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/ch341a_spi.c:135:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/ch341a_spi.c:170:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable length [valueFlowBailoutIncompleteVar] flashrom-1.6.0/ch341a_spi.c:374:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/ch341a_spi.c:440:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vendor_id [valueFlowBailoutIncompleteVar] flashrom-1.6.0/cbtable.c:103:11: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] flashrom-1.6.0/cbtable.c:272:23: style: Variable 'rec' can be declared as pointer to const [constVariablePointer] flashrom-1.6.0/cbtable.c:295:72: style: Parameter 'last' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/cbtable.c:336:22: style: Variable 'forward' can be declared as pointer to const [constVariablePointer] flashrom-1.6.0/chipset_enable.c:2236:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vendor_name [valueFlowBailoutIncompleteVar] flashrom-1.6.0/ch347_spi.c:207:10: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] flashrom-1.6.0/cli_common.c:25:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FEATURE_OTP [valueFlowBailoutIncompleteVar] flashrom-1.6.0/cli_classic.c:186:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] flashrom-1.6.0/cli_classic.c:201:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] flashrom-1.6.0/cli_output.c:46:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] flashrom-1.6.0/cli_classic.c:224:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] flashrom-1.6.0/cli_output.c:60:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] flashrom-1.6.0/cli_classic.c:311:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLASHROM_WP_OK [valueFlowBailoutIncompleteVar] flashrom-1.6.0/cli_output.c:71:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLASHROM_MSG_ERROR [valueFlowBailoutIncompleteVar] flashrom-1.6.0/cli_classic.c:622:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] flashrom-1.6.0/cli_output.c:78:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLASHROM_PROGRESS_READ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/cli_classic.c:744:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUS_PARALLEL [valueFlowBailoutIncompleteVar] flashrom-1.6.0/cli_output.c:130:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLASHROM_PROGRESS_NR [valueFlowBailoutIncompleteVar] flashrom-1.6.0/cli_classic.c:791:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] flashrom-1.6.0/cli_output.c:161:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] flashrom-1.6.0/cli_classic.c:1108:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] flashrom-1.6.0/custom_baud.c:24:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] flashrom-1.6.0/custom_baud.c:22:94: style: Parameter 'tio_wanted' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/custom_baud_darwin.c:31:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable baud [valueFlowBailoutIncompleteVar] flashrom-1.6.0/custom_baud_darwin.c:53:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable B19200 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/custom_baud_linux.c:36:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BEFORE_FLAGS [valueFlowBailoutIncompleteVar] flashrom-1.6.0/custom_baud_linux.c:52:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable baud [valueFlowBailoutIncompleteVar] flashrom-1.6.0/developerbox_spi.c:160:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vendor_id [valueFlowBailoutIncompleteVar] flashrom-1.6.0/cli_getopt.c:76:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MB_LEN_MAX [valueFlowBailoutIncompleteVar] flashrom-1.6.0/cli_getopt.c:134:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] flashrom-1.6.0/digilent_spi.c:236:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/digilent_spi.c:289:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/digilent_spi.c:345:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBUSB_ENDPOINT_IN [valueFlowBailoutIncompleteVar] flashrom-1.6.0/digilent_spi.c:384:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/dediprog.c:212:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBUSB_TRANSFER_COMPLETED [valueFlowBailoutIncompleteVar] flashrom-1.6.0/dediprog.c:241:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBUSB_ENDPOINT_IN [valueFlowBailoutIncompleteVar] flashrom-1.6.0/dediprog.c:249:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBUSB_ENDPOINT_OUT [valueFlowBailoutIncompleteVar] flashrom-1.6.0/dediprog.c:379:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/dediprog.c:462:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/dediprog.c:611:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/dediprog.c:740:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/dediprog.c:854:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBUSB_ENDPOINT_IN [valueFlowBailoutIncompleteVar] flashrom-1.6.0/dediprog.c:880:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBUSB_ENDPOINT_IN [valueFlowBailoutIncompleteVar] flashrom-1.6.0/dediprog.c:1051:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vendor_id [valueFlowBailoutIncompleteVar] flashrom-1.6.0/dediprog.c:1143:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] flashrom-1.6.0/cli_classic.c:1375:23: style:inconclusive: Boolean expression 'options.read_it' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] flashrom-1.6.0/cli_classic.c:1375:42: style:inconclusive: Boolean expression 'options.verify_it' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] flashrom-1.6.0/dirtyjtag_spi.c:84:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/dirtyjtag_spi.c:105:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/dirtyjtag_spi.c:138:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/dirtyjtag_spi.c:209:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/cli_classic.c:982:15: warning: If memory allocation fails, then there is a possible null pointer dereference: options->logfile [nullPointerOutOfMemory] flashrom-1.6.0/cli_classic.c:981:29: note: Assuming allocation function fails flashrom-1.6.0/cli_classic.c:981:29: note: Assignment 'options->logfile=strdup(optarg)', assigned value is 0 flashrom-1.6.0/cli_classic.c:982:15: note: Null pointer dereference flashrom-1.6.0/cli_classic.c:198:33: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/cli_classic.c:222:8: style: Variable 'delim' can be declared as pointer to const [constVariablePointer] flashrom-1.6.0/cli_classic.c:617:42: style: Parameter 'argv' can be declared as const array [constParameter] flashrom-1.6.0/dmi.c:53:16: style: struct member 'Anonymous0::type' is never used. [unusedStructMember] flashrom-1.6.0/dmi.c:54:16: style: struct member 'Anonymous0::offset' is never used. [unusedStructMember] flashrom-1.6.0/dmi.c:76:10: style: struct member 'Anonymous1::type' is never used. [unusedStructMember] flashrom-1.6.0/drkaiser.c:84:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCI_BASE_ADDRESS_2 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/drkaiser.c:48:24: style: Variable 'data' can be declared as pointer to const [constVariablePointer] flashrom-1.6.0/drkaiser.c:56:24: style: Variable 'data' can be declared as pointer to const [constVariablePointer] flashrom-1.6.0/edi.c:32:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EDI_WRITE [valueFlowBailoutIncompleteVar] flashrom-1.6.0/edi.c:41:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EDI_READ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/edi.c:80:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EDI_NOT_READY [valueFlowBailoutIncompleteVar] flashrom-1.6.0/edi.c:111:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EDI_NOT_READY [valueFlowBailoutIncompleteVar] flashrom-1.6.0/edi.c:137:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EDI_DISABLE [valueFlowBailoutIncompleteVar] flashrom-1.6.0/edi.c:153:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENE_EC_HWVERSION [valueFlowBailoutIncompleteVar] flashrom-1.6.0/edi.c:178:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENE_XBI_EFCFG [valueFlowBailoutIncompleteVar] flashrom-1.6.0/edi.c:196:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENE_XBI_EFCFG [valueFlowBailoutIncompleteVar] flashrom-1.6.0/edi.c:214:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENE_XBI_EFCFG [valueFlowBailoutIncompleteVar] flashrom-1.6.0/edi.c:226:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENE_XBI_EFA0 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/edi.c:251:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENE_EC_PXCFG [valueFlowBailoutIncompleteVar] flashrom-1.6.0/edi.c:269:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENE_EC_PXCFG [valueFlowBailoutIncompleteVar] flashrom-1.6.0/edi.c:288:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/edi.c:334:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/edi.c:410:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/edi.c:473:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/edi.c:501:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENE_EC_HWVERSION [valueFlowBailoutIncompleteVar] flashrom-1.6.0/dummyflasher.c:112:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIxPTR [valueFlowBailoutIncompleteVar] flashrom-1.6.0/dummyflasher.c:119:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/dummyflasher.c:149:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/dummyflasher.c:208:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIxPTR [valueFlowBailoutIncompleteVar] flashrom-1.6.0/dummyflasher.c:213:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIxPTR [valueFlowBailoutIncompleteVar] flashrom-1.6.0/dummyflasher.c:218:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIxPTR [valueFlowBailoutIncompleteVar] flashrom-1.6.0/dummyflasher.c:224:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIxPTR [valueFlowBailoutIncompleteVar] flashrom-1.6.0/dummyflasher.c:234:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIxPTR [valueFlowBailoutIncompleteVar] flashrom-1.6.0/dummyflasher.c:240:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIxPTR [valueFlowBailoutIncompleteVar] flashrom-1.6.0/dummyflasher.c:246:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIxPTR [valueFlowBailoutIncompleteVar] flashrom-1.6.0/dummyflasher.c:252:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIxPTR [valueFlowBailoutIncompleteVar] flashrom-1.6.0/dummyflasher.c:261:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATUS1 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/dummyflasher.c:411:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPI_INVALID_OPCODE [valueFlowBailoutIncompleteVar] flashrom-1.6.0/dummyflasher.c:874:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/dummyflasher.c:910:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/dummyflasher.c:937:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLASHROM_WP_MODE_DISABLED [valueFlowBailoutIncompleteVar] flashrom-1.6.0/dummyflasher.c:946:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLASHROM_WP_MODE_DISABLED [valueFlowBailoutIncompleteVar] flashrom-1.6.0/dummyflasher.c:958:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLASHROM_WP_ERR_RANGE_LIST_UNAVAILABLE [valueFlowBailoutIncompleteVar] flashrom-1.6.0/dummyflasher.c:1020:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUS_NONE [valueFlowBailoutIncompleteVar] flashrom-1.6.0/dummyflasher.c:1408:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/en29lv640b.c:51:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLASHROM_PROGRESS_WRITE [valueFlowBailoutIncompleteVar] flashrom-1.6.0/en29lv640b.c:78:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/erasure_layout.c:33:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable eraseblocks [valueFlowBailoutIncompleteVar] flashrom-1.6.0/erasure_layout.c:44:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable layout_list [valueFlowBailoutIncompleteVar] flashrom-1.6.0/erasure_layout.c:75:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable layout_list [valueFlowBailoutIncompleteVar] flashrom-1.6.0/erasure_layout.c:101:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable erase_layout [valueFlowBailoutIncompleteVar] flashrom-1.6.0/erasure_layout.c:165:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable block_count [valueFlowBailoutIncompleteVar] flashrom-1.6.0/erasure_layout.c:197:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable layout_list [valueFlowBailoutIncompleteVar] flashrom-1.6.0/erasure_layout.c:229:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable layout_list [valueFlowBailoutIncompleteVar] flashrom-1.6.0/erasure_layout.c:279:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable block_count [valueFlowBailoutIncompleteVar] flashrom-1.6.0/erasure_layout.c:408:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx32 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/dediprog.c:233:43: style: Condition 'status->finished_idxqueued_idx' is always true [knownConditionTrueFalse] flashrom-1.6.0/dediprog.c:223:27: note: Assuming that condition 'status->finished_idx>=status->queued_idx' is not redundant flashrom-1.6.0/dediprog.c:233:43: note: Condition 'status->finished_idxqueued_idx' is always true flashrom-1.6.0/dediprog.c:550:43: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] flashrom-1.6.0/dediprog.c:673:43: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] flashrom-1.6.0/erasure_layout.c:54:26: style: Variable 'subedata' can be declared as pointer to const [constVariablePointer] flashrom-1.6.0/flashchips/amd.c:580:3: error: syntax error [syntaxError] flashrom-1.6.0/cli_getopt.c:50:8: style: Variable 'optchar' can be declared as pointer to const [constVariablePointer] flashrom-1.6.0/flashchips/amic.c:884:3: error: syntax error [syntaxError] flashrom-1.6.0/flashchips/boya_bohong.c:171:3: error: syntax error [syntaxError] flashrom-1.6.0/flashchips/bright.c:46:3: error: syntax error [syntaxError] flashrom-1.6.0/flashchips/catalyst.c:43:3: error: syntax error [syntaxError] flashrom-1.6.0/flashchips/ene.c:43:3: error: syntax error [syntaxError] flashrom-1.6.0/flashchips/atmel.c:2066:3: error: syntax error [syntaxError] flashrom-1.6.0/flashchips/eon.c:2100:3: error: syntax error [syntaxError] flashrom-1.6.0/flashchips/esi.c:112:3: error: syntax error [syntaxError] flashrom-1.6.0/flashchips/esmt.c:121:3: error: syntax error [syntaxError] flashrom-1.6.0/flashchips/fudan.c:423:3: error: syntax error [syntaxError] flashrom-1.6.0/flashchips/fujitsu.c:212:3: error: syntax error [syntaxError] flashrom-1.6.0/flashchips/hyundai.c:110:3: error: syntax error [syntaxError] flashrom-1.6.0/flashchips/intel.c:517:3: error: syntax error [syntaxError] flashrom-1.6.0/flashchips/issi.c:730:3: error: syntax error [syntaxError] flashrom-1.6.0/flashchips/gigadevice.c:1714:3: error: syntax error [syntaxError] flashrom-1.6.0/flashchips/macronix.c:2940:3: error: syntax error [syntaxError] flashrom-1.6.0/flashchips/micron.c:486:3: error: syntax error [syntaxError] flashrom-1.6.0/flashchips/mosel_vitelic.c:208:3: error: syntax error [syntaxError] flashrom-1.6.0/flashchips/micron_numonyx_st.c:1358:3: error: syntax error [syntaxError] flashrom-1.6.0/flashchips/nantronics.c:215:3: error: syntax error [syntaxError] flashrom-1.6.0/flashchips/puya.c:148:3: error: syntax error [syntaxError] flashrom-1.6.0/flashchips/pmc.c:886:3: error: syntax error [syntaxError] flashrom-1.6.0/flashchips/sanyo.c:417:3: error: syntax error [syntaxError] flashrom-1.6.0/flashchips/sharp.c:82:3: error: syntax error [syntaxError] flashrom-1.6.0/flashchips/spansion.c:1076:3: error: syntax error [syntaxError] flashrom-1.6.0/flashchips/sst.c:1712:3: error: syntax error [syntaxError] flashrom-1.6.0/flashchips/st.c:581:3: error: syntax error [syntaxError] flashrom-1.6.0/flashchips/syncmos_mosel_vitelic.c:233:3: error: syntax error [syntaxError] flashrom-1.6.0/flashchips/ti.c:83:3: error: syntax error [syntaxError] flashrom-1.6.0/flashchips/xmc.c:730:3: error: syntax error [syntaxError] flashrom-1.6.0/flashchips/xtx.c:134:3: error: syntax error [syntaxError] flashrom-1.6.0/flashchips/winbond.c:2942:3: error: syntax error [syntaxError] flashrom-1.6.0/flashchips/zetta.c:133:3: error: syntax error [syntaxError] flashrom-1.6.0/fmap.c:47:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fmap_area [valueFlowBailoutIncompleteVar] flashrom-1.6.0/fmap.c:53:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FMAP_SIGNATURE [valueFlowBailoutIncompleteVar] flashrom-1.6.0/fmap.c:99:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fmap [valueFlowBailoutIncompleteVar] flashrom-1.6.0/fmap.c:192:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FMAP_SIGNATURE [valueFlowBailoutIncompleteVar] flashrom-1.6.0/flashrom.c:109:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_CHIP_RESTORE_FUNCTIONS [valueFlowBailoutIncompleteVar] flashrom-1.6.0/flashrom.c:128:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] flashrom-1.6.0/flashrom.c:146:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable parallel [valueFlowBailoutIncompleteVar] flashrom-1.6.0/flashrom.c:207:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable registered_master_count [valueFlowBailoutIncompleteVar] flashrom-1.6.0/flashrom.c:220:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUS_SPI [valueFlowBailoutIncompleteVar] flashrom-1.6.0/flashrom.c:243:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUS_SPI [valueFlowBailoutIncompleteVar] flashrom-1.6.0/flashrom.c:280:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/flashrom.c:321:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/flashrom.c:374:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUS_PROG [valueFlowBailoutIncompleteVar] flashrom-1.6.0/flashrom.c:394:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx32 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/flashrom.c:412:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable spi_block_erase_emulation [valueFlowBailoutIncompleteVar] flashrom-1.6.0/flashrom.c:468:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO_BLOCK_ERASE_FUNC [valueFlowBailoutIncompleteVar] flashrom-1.6.0/flashrom.c:507:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_ERASEFUNCTIONS [valueFlowBailoutIncompleteVar] flashrom-1.6.0/flashrom.c:560:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable spi_chip_read [valueFlowBailoutIncompleteVar] flashrom-1.6.0/flashrom.c:604:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx32 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/flashrom.c:649:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/flashrom.c:788:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/flashrom.c:853:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/flashrom.c:885:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_PTR [valueFlowBailoutIncompleteVar] flashrom-1.6.0/flashrom.c:901:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_PTR [valueFlowBailoutIncompleteVar] flashrom-1.6.0/flashrom.c:951:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUS_NONSPI [valueFlowBailoutIncompleteVar] flashrom-1.6.0/flashrom.c:999:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable write_jedec [valueFlowBailoutIncompleteVar] flashrom-1.6.0/flashrom.c:1053:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx32 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/flashrom.c:1081:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable probe_jedec [valueFlowBailoutIncompleteVar] flashrom-1.6.0/flashrom.c:1123:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flashchips [valueFlowBailoutIncompleteVar] flashrom-1.6.0/flashrom.c:1267:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLASHROM_PROGRESS_ERASE [valueFlowBailoutIncompleteVar] flashrom-1.6.0/flashrom.c:1315:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLASHROM_PROGRESS_READ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/flashrom.c:1335:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_ERASEFUNCTIONS [valueFlowBailoutIncompleteVar] flashrom-1.6.0/flashrom.c:1429:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLASHROM_PROGRESS_READ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/flashrom.c:1468:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLASHROM_PROGRESS_READ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/flashrom.c:1510:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLASHROM_PROGRESS_READ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/flashrom.c:1572:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable programmer_table_size [valueFlowBailoutIncompleteVar] flashrom-1.6.0/flashrom.c:1608:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable programmer_table_size [valueFlowBailoutIncompleteVar] flashrom-1.6.0/flashrom.c:1698:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BAD [valueFlowBailoutIncompleteVar] flashrom-1.6.0/flashrom.c:1754:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLASHROM_WP_OK [valueFlowBailoutIncompleteVar] flashrom-1.6.0/flashrom.c:1760:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLASHROM_WP_OK [valueFlowBailoutIncompleteVar] flashrom-1.6.0/flashrom.c:1800:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLASHROM_WP_OK [valueFlowBailoutIncompleteVar] flashrom-1.6.0/flashrom.c:1841:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO_DECODE_RANGE_FUNC [valueFlowBailoutIncompleteVar] flashrom-1.6.0/flashrom.c:2009:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLASHROM_PROGRESS_READ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/ft2232_spi.c:128:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vendor_name [valueFlowBailoutIncompleteVar] flashrom-1.6.0/ft2232_spi.c:139:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vendor_name [valueFlowBailoutIncompleteVar] flashrom-1.6.0/ft2232_spi.c:186:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SET_BITS_LOW [valueFlowBailoutIncompleteVar] flashrom-1.6.0/ft2232_spi.c:233:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPI_INVALID_LENGTH [valueFlowBailoutIncompleteVar] flashrom-1.6.0/ft2232_spi.c:311:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INTERFACE_A [valueFlowBailoutIncompleteVar] flashrom-1.6.0/dummyflasher.c:589:7: style: The if condition is the same as the previous if condition [duplicateCondition] flashrom-1.6.0/dummyflasher.c:583:7: note: First condition flashrom-1.6.0/dummyflasher.c:589:7: note: Second condition flashrom-1.6.0/dummyflasher.c:1021:13: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: bustext [nullPointerOutOfMemory] flashrom-1.6.0/dummyflasher.c:1016:19: note: Assuming allocation function fails flashrom-1.6.0/dummyflasher.c:1016:19: note: Assignment 'bustext=strdup("parallel+lpc+fwh+spi+prog")', assigned value is 0 flashrom-1.6.0/dummyflasher.c:1021:13: note: Null pointer dereference flashrom-1.6.0/dummyflasher.c:944:68: style: Parameter 'flash' can be declared as pointer to const. However it seems that 'dummy_wp_write_cfg' is a callback function, if 'flash' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flashrom-1.6.0/dummyflasher.c:999:18: note: You might need to cast the function pointer here flashrom-1.6.0/dummyflasher.c:944:68: note: Parameter 'flash' can be declared as pointer to const flashrom-1.6.0/dummyflasher.c:955:113: style: Parameter 'flash' can be declared as pointer to const. However it seems that 'dummy_wp_get_available_ranges' is a callback function, if 'flash' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flashrom-1.6.0/dummyflasher.c:1000:19: note: You might need to cast the function pointer here flashrom-1.6.0/dummyflasher.c:955:113: note: Parameter 'flash' can be declared as pointer to const flashrom-1.6.0/gfxnvidia.c:109:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCI_BASE_ADDRESS_0 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/helpers_fileio.c:41:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] flashrom-1.6.0/helpers_fileio.c:96:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] flashrom-1.6.0/hwaccess_physmap.c:178:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] flashrom-1.6.0/hwaccess_physmap.c:197:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] flashrom-1.6.0/hwaccess_physmap.c:229:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIxPTR [valueFlowBailoutIncompleteVar] flashrom-1.6.0/hwaccess_physmap.c:248:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/hwaccess_physmap.c:264:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIxPTR [valueFlowBailoutIncompleteVar] flashrom-1.6.0/hwaccess_physmap.c:321:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_PTR [valueFlowBailoutIncompleteVar] flashrom-1.6.0/hwaccess_physmap.c:335:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_PTR [valueFlowBailoutIncompleteVar] flashrom-1.6.0/hwaccess_physmap.c:185:2: error: Memory leak: virt_addr [memleak] flashrom-1.6.0/hwaccess_physmap.c:204:2: error: Memory leak: virt_addr [memleak] flashrom-1.6.0/hwaccess_x86_io.c:163:0: error: #error Unsupported or misconfigured platform. [preprocessorErrorDirective] flashrom-1.6.0/hwaccess_physmap.c:207:43: style: Parameter 'virt_addr' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/hwaccess_physmap.c:315:19: portability: 'virt_addr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/hwaccess_physmap.c:481:6: style: struct member 'undo_mmio_write_data::reg' is never used. [unusedStructMember] flashrom-1.6.0/flashrom.c:1280:38: portability: 'have' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/flashrom.c:1280:52: portability: 'want' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/flashrom.c:1517:40: portability: 'curcontents' is of type 'void * const'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/flashrom.c:1519:61: portability: 'curcontents' is of type 'void * const'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/i2c_helper_linux.c:43:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] flashrom-1.6.0/i2c_helper_linux.c:73:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] flashrom-1.6.0/i2c_helper_linux.c:83:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] flashrom-1.6.0/i2c_helper_linux.c:107:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/i2c_helper_linux.c:131:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable I2C_SLAVE [valueFlowBailoutIncompleteVar] flashrom-1.6.0/i2c_helper_linux.c:145:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable I2C_SLAVE [valueFlowBailoutIncompleteVar] flashrom-1.6.0/i2c_helper_linux.c:80:33: style: Parameter 'bus_str' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/ich_descriptors.c:90:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_NUM_MASTERS [valueFlowBailoutIncompleteVar] flashrom-1.6.0/ich_descriptors.c:103:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx32 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/ich_descriptors.c:131:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHIPSET_ICH8 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/ich_descriptors.c:155:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx32 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/ich_descriptors.c:393:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx32 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/ich_descriptors.c:456:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/ich_descriptors.c:474:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/ich_descriptors.c:494:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/ich_descriptors.c:947:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx32 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/ich_descriptors.c:1005:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx32 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/ich_descriptors.c:1041:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHIPSET_ICH8 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/ich_descriptors.c:1162:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICH_RET_PARAM [valueFlowBailoutIncompleteVar] flashrom-1.6.0/ich_descriptors.c:1443:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHIPSET_ICH_UNKNOWN [valueFlowBailoutIncompleteVar] flashrom-1.6.0/ichspi.c:329:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/ichspi.c:346:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/ichspi.c:457:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId16 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/ichspi.c:496:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId16 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/ichspi.c:519:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId32 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/ichspi.c:528:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId32 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/ichspi.c:540:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId32 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/ichspi.c:601:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx32 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/ichspi.c:662:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPI_INVALID_LENGTH [valueFlowBailoutIncompleteVar] flashrom-1.6.0/ichspi.c:723:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx32 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/ichspi.c:747:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/ichspi.c:1091:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx32 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/ichspi.c:1120:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHIPSET_ICH_UNKNOWN [valueFlowBailoutIncompleteVar] flashrom-1.6.0/ichspi.c:1161:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPI_INVALID_LENGTH [valueFlowBailoutIncompleteVar] flashrom-1.6.0/ichspi.c:1351:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx32 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/ichspi.c:1477:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flashchips [valueFlowBailoutIncompleteVar] flashrom-1.6.0/ichspi.c:1493:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATUS1 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/ichspi.c:1518:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATUS1 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/ichspi.c:1573:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx32 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/ichspi.c:1608:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId32 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/ichspi.c:1663:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId32 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/ichspi.c:1770:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable writecnt [valueFlowBailoutIncompleteVar] flashrom-1.6.0/ichspi.c:1855:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHIPSET_METEOR_LAKE [valueFlowBailoutIncompleteVar] flashrom-1.6.0/ichspi.c:1887:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHIPSET_METEOR_LAKE [valueFlowBailoutIncompleteVar] flashrom-1.6.0/ichspi.c:1915:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx32 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/ichspi.c:1968:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIX8 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/ichspi.c:1987:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx32 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/ichspi.c:2031:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx16 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/ichspi.c:2082:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_FLASHROM_FATAL [valueFlowBailoutIncompleteVar] flashrom-1.6.0/ichspi.c:2197:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx16 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/ichspi.c:2459:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_PTR [valueFlowBailoutIncompleteVar] flashrom-1.6.0/internal.c:167:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUS_NONSPI [valueFlowBailoutIncompleteVar] flashrom-1.6.0/ichspi.c:324:33: style: Parameter 'op' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/ichspi.c:341:32: style: Parameter 'op' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/ichspi.c:1655:51: style: Parameter 'flash' can be declared as pointer to const. However it seems that 'ich_hwseq_block_erase' is a callback function, if 'flash' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flashrom-1.6.0/ichspi.c:2020:12: note: You might need to cast the function pointer here flashrom-1.6.0/ichspi.c:1655:51: note: Parameter 'flash' can be declared as pointer to const flashrom-1.6.0/internal_par.c:77:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUS_NONSPI [valueFlowBailoutIncompleteVar] flashrom-1.6.0/ichspi.c:305:31: portability: 'ich_spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:310:31: portability: 'ich_spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:315:31: portability: 'ich_spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:608:26: portability: 'ich_spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:609:26: portability: 'ich_spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:610:26: portability: 'ich_spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:611:26: portability: 'ich_spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:611:44: portability: 'ich_spibar+0x58' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:613:33: portability: 'ich_spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:614:34: portability: 'ich_spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:615:37: portability: 'ich_spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:616:37: portability: 'ich_spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:616:55: portability: 'ich_spibar+0x58' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:622:26: portability: 'ich_spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:623:26: portability: 'ich_spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:624:26: portability: 'ich_spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:625:26: portability: 'ich_spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:625:50: portability: 'ich_spibar+swseq_data.reg_opmenu' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:627:33: portability: 'ich_spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:628:34: portability: 'ich_spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:629:37: portability: 'ich_spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:630:37: portability: 'ich_spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:630:61: portability: 'ich_spibar+swseq_data.reg_opmenu' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:721:38: portability: 'ich_spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:728:39: portability: 'ich_spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:729:38: portability: 'ich_spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:849:4: portability: 'ich_spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:853:3: portability: 'ich_spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:901:2: portability: 'ich_spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:913:2: portability: 'ich_spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:963:2: portability: 'ich_spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:981:3: portability: 'ich_spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:1018:2: portability: 'ich_spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:1030:2: portability: 'ich_spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:1083:2: portability: 'ich_spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:1104:3: portability: 'ich_spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:1299:2: portability: 'ich_spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:1348:2: portability: 'ich_spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:1383:2: portability: 'ich_spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:1396:2: portability: 'ich_spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:1706:2: portability: 'ich_spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:1738:2: portability: 'ich_spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:1861:47: portability: 'ich_spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:1862:48: portability: 'ich_spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:1874:31: portability: 'ich_spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:1909:40: portability: 'ich_spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:1958:38: portability: 'ich_spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:1983:26: portability: 'ich_spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:1983:36: portability: 'ich_spibar+reg_pr0' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:2031:65: portability: 'spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:2032:65: portability: 'spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:2033:61: portability: 'spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:2035:34: portability: 'spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:2038:66: portability: 'spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:2039:67: portability: 'spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:2040:63: portability: 'spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:2041:65: portability: 'spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:2046:71: portability: 'spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:2180:27: portability: 'spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:2196:28: portability: 'spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:2201:26: portability: 'spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:2219:27: portability: 'spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:2265:26: portability: 'spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:2270:34: portability: 'spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:2276:44: portability: 'spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:2278:45: portability: 'spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:2280:45: portability: 'spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:2282:49: portability: 'spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:2282:73: portability: 'spibar+swseq_data.reg_opmenu' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:2304:36: portability: 'spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:2311:28: portability: 'spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:2316:28: portability: 'spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:2321:28: portability: 'spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:2345:28: portability: 'spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:2468:65: portability: 'ich_spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:2469:65: portability: 'ich_spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:2470:65: portability: 'ich_spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:2474:76: portability: 'ich_spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:2476:27: portability: 'ich_spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:2476:34: portability: 'ich_spibar+offs' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:2478:38: portability: 'ich_spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:2481:66: portability: 'ich_spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:2482:67: portability: 'ich_spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:2483:67: portability: 'ich_spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:2484:69: portability: 'ich_spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:2488:75: portability: 'ich_spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:2490:69: portability: 'ich_spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/ichspi.c:1988:38: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] flashrom-1.6.0/ichspi.c:1992:13: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] flashrom-1.6.0/it8212.c:59:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCI_ROM_ADDRESS [valueFlowBailoutIncompleteVar] flashrom-1.6.0/it8212.c:75:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCI_ROM_ADDRESS [valueFlowBailoutIncompleteVar] flashrom-1.6.0/it87spi.c:50:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPI_GENERIC_ERROR [valueFlowBailoutIncompleteVar] flashrom-1.6.0/it87spi.c:92:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SUPERIO_VENDOR_ITE [valueFlowBailoutIncompleteVar] flashrom-1.6.0/it87spi.c:124:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPI_GENERIC_ERROR [valueFlowBailoutIncompleteVar] flashrom-1.6.0/it87spi.c:172:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPI_GENERIC_ERROR [valueFlowBailoutIncompleteVar] flashrom-1.6.0/it87spi.c:244:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPI_GENERIC_ERROR [valueFlowBailoutIncompleteVar] flashrom-1.6.0/it87spi.c:295:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLASHROM_PROGRESS_WRITE [valueFlowBailoutIncompleteVar] flashrom-1.6.0/it87spi.c:340:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] flashrom-1.6.0/it87spi.c:449:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable superio_count [valueFlowBailoutIncompleteVar] flashrom-1.6.0/jedec.c:52:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/jedec.c:87:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/jedec.c:92:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FEATURE_ADDR_MASK [valueFlowBailoutIncompleteVar] flashrom-1.6.0/jedec.c:112:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FEATURE_ADDR_SHIFTED [valueFlowBailoutIncompleteVar] flashrom-1.6.0/jedec.c:144:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx32 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/jedec.c:170:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIMING_ZERO [valueFlowBailoutIncompleteVar] flashrom-1.6.0/jedec.c:188:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FEATURE_ADDR_SHIFTED [valueFlowBailoutIncompleteVar] flashrom-1.6.0/jedec.c:288:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FEATURE_ADDR_SHIFTED [valueFlowBailoutIncompleteVar] flashrom-1.6.0/jedec.c:333:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/jedec.c:385:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLASHROM_PROGRESS_WRITE [valueFlowBailoutIncompleteVar] flashrom-1.6.0/jedec.c:427:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIxPTR [valueFlowBailoutIncompleteVar] flashrom-1.6.0/jedec.c:470:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLASHROM_PROGRESS_WRITE [valueFlowBailoutIncompleteVar] flashrom-1.6.0/jedec.c:303:41: style: Parameter 'flash' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/jedec.c:316:40: style: Parameter 'flash' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/jedec.c:330:45: style: Parameter 'flash' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/jlink_spi.c:74:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JAYLINK_OK [valueFlowBailoutIncompleteVar] flashrom-1.6.0/jlink_spi.c:104:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JAYLINK_OK [valueFlowBailoutIncompleteVar] flashrom-1.6.0/jlink_spi.c:138:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPI_INVALID_LENGTH [valueFlowBailoutIncompleteVar] flashrom-1.6.0/jlink_spi.c:190:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JAYLINK_OK [valueFlowBailoutIncompleteVar] flashrom-1.6.0/jlink_spi.c:232:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] flashrom-1.6.0/layout.c:296:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] flashrom-1.6.0/layout.c:328:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx32 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/layout.c:424:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] flashrom-1.6.0/layout.c:444:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable start [valueFlowBailoutIncompleteVar] flashrom-1.6.0/libflashrom.c:66:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_MESSAGE_LENGTH_LIMIT [valueFlowBailoutIncompleteVar] flashrom-1.6.0/libflashrom.c:128:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/libflashrom.c:195:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flashrom_version [valueFlowBailoutIncompleteVar] flashrom-1.6.0/libflashrom.c:200:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable programmer_table_size [valueFlowBailoutIncompleteVar] flashrom-1.6.0/libflashrom.c:213:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flashchips_size [valueFlowBailoutIncompleteVar] flashrom-1.6.0/libflashrom.c:316:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable programmer_table_size [valueFlowBailoutIncompleteVar] flashrom-1.6.0/libflashrom.c:345:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable registered_master_count [valueFlowBailoutIncompleteVar] flashrom-1.6.0/libflashrom.c:383:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flashchips_size [valueFlowBailoutIncompleteVar] flashrom-1.6.0/libflashrom.c:630:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLASHROM_WP_ERR_OTHER [valueFlowBailoutIncompleteVar] flashrom-1.6.0/libflashrom.c:668:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLASHROM_WP_ERR_OTHER [valueFlowBailoutIncompleteVar] flashrom-1.6.0/libflashrom.c:679:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLASHROM_WP_ERR_OTHER [valueFlowBailoutIncompleteVar] flashrom-1.6.0/libflashrom.c:690:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLASHROM_WP_ERR_OTHER [valueFlowBailoutIncompleteVar] flashrom-1.6.0/libflashrom.c:701:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLASHROM_WP_ERR_OTHER [valueFlowBailoutIncompleteVar] flashrom-1.6.0/libflashrom.c:408:2: error: Common realloc mistake: 'matched_names' nulled but not freed upon failure [memleakOnRealloc] flashrom-1.6.0/libflashrom.c:395:4: warning: If memory allocation fails, then there is a possible null pointer dereference: matched_names [nullPointerOutOfMemory] flashrom-1.6.0/libflashrom.c:383:37: note: Assuming allocation function fails flashrom-1.6.0/libflashrom.c:383:37: note: Assignment 'matched_names=calloc(flashchips_size+1,sizeof(char*))', assigned value is 0 flashrom-1.6.0/libflashrom.c:392:18: note: Assuming condition is false flashrom-1.6.0/libflashrom.c:395:4: note: Null pointer dereference flashrom-1.6.0/libflashrom.c:328:68: style: Parameter 'flashprog' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/libflashrom.c:467:97: style: Parameter 'flashctx' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/libflashrom.c:565:26: style: Parameter 'flashctx' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/libflashrom.c:591:26: style: Parameter 'flashctx' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/linux_spi.c:83:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tx_buf [valueFlowBailoutIncompleteVar] flashrom-1.6.0/linux_mtd.c:96:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] flashrom-1.6.0/linux_spi.c:130:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] flashrom-1.6.0/linux_mtd.c:132:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MTD_WRITEABLE [valueFlowBailoutIncompleteVar] flashrom-1.6.0/linux_spi.c:170:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPI_MODE_0 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/linux_mtd.c:181:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FEATURE_NO_ERASE [valueFlowBailoutIncompleteVar] flashrom-1.6.0/linux_mtd.c:194:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable eraseblocks [valueFlowBailoutIncompleteVar] flashrom-1.6.0/linux_mtd.c:229:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable eraseblocks [valueFlowBailoutIncompleteVar] flashrom-1.6.0/linux_mtd.c:275:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/linux_mtd.c:320:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLASHROM_WP_MODE_DISABLED [valueFlowBailoutIncompleteVar] flashrom-1.6.0/linux_mtd.c:383:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLASHROM_WP_MODE_DISABLED [valueFlowBailoutIncompleteVar] flashrom-1.6.0/linux_mtd.c:428:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLASHROM_WP_ERR_RANGE_LIST_UNAVAILABLE [valueFlowBailoutIncompleteVar] flashrom-1.6.0/linux_mtd.c:477:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] flashrom-1.6.0/layout.c:99:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] flashrom-1.6.0/layout.c:100:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] flashrom-1.6.0/layout.c:199:23: warning: If memory allocation fails, then there is a possible null pointer dereference: filename [nullPointerOutOfMemory] flashrom-1.6.0/layout.c:383:42: note: Assuming allocation function fails flashrom-1.6.0/layout.c:383:42: note: Calling function 'sanitise_filename', 1st argument 'strdup(entry->region.name)' value is 0 flashrom-1.6.0/layout.c:199:23: note: Null pointer dereference flashrom-1.6.0/layout.c:200:30: warning: If memory allocation fails, then there is a possible null pointer dereference: filename [nullPointerOutOfMemory] flashrom-1.6.0/layout.c:383:42: note: Assuming allocation function fails flashrom-1.6.0/layout.c:383:42: note: Calling function 'sanitise_filename', 1st argument 'strdup(entry->region.name)' value is 0 flashrom-1.6.0/layout.c:200:30: note: Null pointer dereference flashrom-1.6.0/linux_spi.c:223:29: style: Same value in both branches of ternary operator. [duplicateValueTernary] flashrom-1.6.0/layout.c:89:9: style: Variable 'tstr1' can be declared as pointer to const [constVariablePointer] flashrom-1.6.0/linux_spi.c:53:25: style: Variable 'spi_data' can be declared as pointer to const [constVariablePointer] flashrom-1.6.0/layout.c:89:17: style: Variable 'tstr2' can be declared as pointer to const [constVariablePointer] flashrom-1.6.0/linux_spi.c:61:25: style: Variable 'spi_data' can be declared as pointer to const [constVariablePointer] flashrom-1.6.0/layout.c:119:8: style: Variable 'colon' can be declared as pointer to const [constVariablePointer] flashrom-1.6.0/layout.c:207:57: style: Parameter 'l' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/layout.c:221:57: style: Parameter 'l' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/layout.c:232:79: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/layout.c:374:53: style: Parameter 'flash' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/layout.c:473:68: style: Parameter 'l' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/mcp6x_spi.c:149:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx32 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/mediatek_i2c_spi.c:57:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable I2C_SMBUS_BLOCK_MAX [valueFlowBailoutIncompleteVar] flashrom-1.6.0/mediatek_i2c_spi.c:104:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable I2C_SMBUS_BLOCK_MAX [valueFlowBailoutIncompleteVar] flashrom-1.6.0/mediatek_i2c_spi.c:164:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPI_INVALID_LENGTH [valueFlowBailoutIncompleteVar] flashrom-1.6.0/mediatek_i2c_spi.c:194:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPI_INVALID_LENGTH [valueFlowBailoutIncompleteVar] flashrom-1.6.0/mediatek_i2c_spi.c:403:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPI_GENERIC_ERROR [valueFlowBailoutIncompleteVar] flashrom-1.6.0/mediatek_i2c_spi.c:474:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/mediatek_i2c_spi.c:489:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPI_GENERIC_ERROR [valueFlowBailoutIncompleteVar] flashrom-1.6.0/mcp6x_spi.c:48:44: portability: 'data->spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/mcp6x_spi.c:50:44: portability: 'data->spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/mcp6x_spi.c:53:35: portability: 'data->spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/mcp6x_spi.c:56:44: portability: 'data->spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/mcp6x_spi.c:64:44: portability: 'data->spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/mcp6x_spi.c:73:44: portability: 'data->spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/mcp6x_spi.c:82:44: portability: 'data->spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/mcp6x_spi.c:91:44: portability: 'data->spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/mcp6x_spi.c:98:44: portability: 'data->spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/mcp6x_spi.c:168:35: portability: 'mcp6x_spibar' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] flashrom-1.6.0/mstarddc_spi.c:54:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] flashrom-1.6.0/mstarddc_spi.c:83:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] flashrom-1.6.0/mstarddc_spi.c:188:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] flashrom-1.6.0/linux_mtd.c:178:25: style: Variable 'data' can be declared as pointer to const [constVariablePointer] flashrom-1.6.0/linux_mtd.c:425:117: style: Parameter 'flash' can be declared as pointer to const. However it seems that 'linux_mtd_wp_get_available_ranges' is a callback function, if 'flash' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flashrom-1.6.0/linux_mtd.c:450:19: note: You might need to cast the function pointer here flashrom-1.6.0/linux_mtd.c:425:117: note: Parameter 'flash' can be declared as pointer to const flashrom-1.6.0/ni845x_spi.c:276:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kNi845x12Volts [valueFlowBailoutIncompleteVar] flashrom-1.6.0/ni845x_spi.c:515:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uInt8 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/mediatek_i2c_spi.c:148:13: style: Condition 'len' is always true [knownConditionTrueFalse] flashrom-1.6.0/mediatek_i2c_spi.c:137:10: note: Assuming that condition 'len==0' is not redundant flashrom-1.6.0/mediatek_i2c_spi.c:148:13: note: Condition 'len' is always true flashrom-1.6.0/mstarddc_spi.c:214:10: style: Variable 'cmd' can be declared as const array [constVariable] flashrom-1.6.0/nic3com.c:108:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCI_BASE_ADDRESS_0 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/nicintel.c:82:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCI_BASE_ADDRESS_2 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/nic3com.c:60:23: style: Variable 'data' can be declared as pointer to const [constVariablePointer] flashrom-1.6.0/nic3com.c:69:23: style: Variable 'data' can be declared as pointer to const [constVariablePointer] flashrom-1.6.0/nicintel_eeprom.c:118:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TEST_OK_PREWB [valueFlowBailoutIncompleteVar] flashrom-1.6.0/nicintel_eeprom.c:143:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx32 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/nicintel_eeprom.c:342:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPI_SR_WIP [valueFlowBailoutIncompleteVar] flashrom-1.6.0/nicintel_eeprom.c:488:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCI_BASE_ADDRESS_0 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/nicintel_spi.c:292:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCI_BASE_ADDRESS_0 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/ni845x_spi.c:360:10: warning: %d in format string (no. 1) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] flashrom-1.6.0/ni845x_spi.c:568:8: style: Variable 'ignore_io_voltage_limits_str' can be declared as pointer to const [constVariablePointer] flashrom-1.6.0/nicnatsemi.c:93:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCI_BASE_ADDRESS_0 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/nicrealtek.c:104:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCI_BASE_ADDRESS_0 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/ogp_spi.c:143:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCI_BASE_ADDRESS_0 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/opaque.c:63:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/nicrealtek.c:42:26: style: Variable 'data' can be declared as pointer to const [constVariablePointer] flashrom-1.6.0/nicrealtek.c:58:26: style: Variable 'data' can be declared as pointer to const [constVariablePointer] flashrom-1.6.0/parallel.c:145:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUS_FWH [valueFlowBailoutIncompleteVar] flashrom-1.6.0/parade_lspcon.c:87:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPI_GENERIC_ERROR [valueFlowBailoutIncompleteVar] flashrom-1.6.0/parade_lspcon.c:96:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPI_GENERIC_ERROR [valueFlowBailoutIncompleteVar] flashrom-1.6.0/parade_lspcon.c:105:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPI_GENERIC_ERROR [valueFlowBailoutIncompleteVar] flashrom-1.6.0/pcidev.c:42:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCI_HEADER_TYPE [valueFlowBailoutIncompleteVar] flashrom-1.6.0/parade_lspcon.c:157:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/pcidev.c:156:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCI_FILL_IDENT [valueFlowBailoutIncompleteVar] flashrom-1.6.0/parade_lspcon.c:182:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/pcidev.c:174:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCI_SUBSYSTEM_VENDOR_ID [valueFlowBailoutIncompleteVar] flashrom-1.6.0/parade_lspcon.c:262:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/pcidev.c:197:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCI_FILL_IDENT [valueFlowBailoutIncompleteVar] flashrom-1.6.0/parade_lspcon.c:352:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPI_GENERIC_ERROR [valueFlowBailoutIncompleteVar] flashrom-1.6.0/pcidev.c:212:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCI_CLASS_DEVICE [valueFlowBailoutIncompleteVar] flashrom-1.6.0/parade_lspcon.c:371:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPI_GENERIC_ERROR [valueFlowBailoutIncompleteVar] flashrom-1.6.0/pcidev.c:224:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/parade_lspcon.c:388:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPI_GENERIC_ERROR [valueFlowBailoutIncompleteVar] flashrom-1.6.0/pcidev.c:236:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/parade_lspcon.c:411:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/pcidev.c:278:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCI_FILL_IDENT [valueFlowBailoutIncompleteVar] flashrom-1.6.0/parade_lspcon.c:452:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/pcidev.c:344:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/parade_lspcon.c:466:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPI_GENERIC_ERROR [valueFlowBailoutIncompleteVar] flashrom-1.6.0/pickit2_spi.c:448:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vendor_id [valueFlowBailoutIncompleteVar] flashrom-1.6.0/pickit2_spi.c:167:12: style: struct member 'pickit2_spispeeds::speed' is never used. [unusedStructMember] flashrom-1.6.0/parade_lspcon.c:128:61: style: Parameter 'packet' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/parade_lspcon.c:418:29: style: Variable 'parade_lspcon_data' can be declared as pointer to const [constVariablePointer] flashrom-1.6.0/pony_spi.c:70:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIN_TXD [valueFlowBailoutIncompleteVar] flashrom-1.6.0/pony_spi.c:80:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIN_RTS [valueFlowBailoutIncompleteVar] flashrom-1.6.0/pony_spi.c:90:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIN_DTR [valueFlowBailoutIncompleteVar] flashrom-1.6.0/pony_spi.c:96:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIN_CTS [valueFlowBailoutIncompleteVar] flashrom-1.6.0/pony_spi.c:137:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sp_fd [valueFlowBailoutIncompleteVar] flashrom-1.6.0/pony_spi.c:247:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIN_RTS [valueFlowBailoutIncompleteVar] flashrom-1.6.0/print.c:609:0: error: #error Endianness could not be determined [preprocessorErrorDirective] flashrom-1.6.0/printlock.c:54:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIxPTR [valueFlowBailoutIncompleteVar] flashrom-1.6.0/printlock.c:87:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable size [valueFlowBailoutIncompleteVar] flashrom-1.6.0/printlock.c:100:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable eraseblocks [valueFlowBailoutIncompleteVar] flashrom-1.6.0/printlock.c:108:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable eraseblocks [valueFlowBailoutIncompleteVar] flashrom-1.6.0/printlock.c:122:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIxPTR [valueFlowBailoutIncompleteVar] flashrom-1.6.0/printlock.c:185:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable size [valueFlowBailoutIncompleteVar] flashrom-1.6.0/printlock.c:203:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable eraseblocks [valueFlowBailoutIncompleteVar] flashrom-1.6.0/printlock.c:211:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable eraseblocks [valueFlowBailoutIncompleteVar] flashrom-1.6.0/pony_spi.c:65:24: style: Variable 'data' can be declared as pointer to const [constVariablePointer] flashrom-1.6.0/pony_spi.c:75:24: style: Variable 'data' can be declared as pointer to const [constVariablePointer] flashrom-1.6.0/pony_spi.c:85:24: style: Variable 'data' can be declared as pointer to const [constVariablePointer] flashrom-1.6.0/pony_spi.c:95:24: style: Variable 'data' can be declared as pointer to const [constVariablePointer] flashrom-1.6.0/printlock.c:87:21: style: Variable 'blocks' can be declared as const array [constVariable] flashrom-1.6.0/printlock.c:185:21: style: Variable 'blocks' can be declared as const array [constVariable] flashrom-1.6.0/programmer.c:31:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_FLASHROM_LIMIT [valueFlowBailoutIncompleteVar] flashrom-1.6.0/programmer.c:42:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUS_NONE [valueFlowBailoutIncompleteVar] flashrom-1.6.0/platform/udelay_dos.c:155:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] flashrom-1.6.0/rayer_spi.c:231:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NT [valueFlowBailoutIncompleteVar] flashrom-1.6.0/realtek_mst_i2c_spi.c:61:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPI_GENERIC_ERROR [valueFlowBailoutIncompleteVar] flashrom-1.6.0/realtek_mst_i2c_spi.c:70:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPI_GENERIC_ERROR [valueFlowBailoutIncompleteVar] flashrom-1.6.0/realtek_mst_i2c_spi.c:79:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPI_GENERIC_ERROR [valueFlowBailoutIncompleteVar] flashrom-1.6.0/realtek_mst_i2c_spi.c:113:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/realtek_mst_i2c_spi.c:151:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/realtek_mst_i2c_spi.c:223:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPI_GENERIC_ERROR [valueFlowBailoutIncompleteVar] flashrom-1.6.0/realtek_mst_i2c_spi.c:314:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPI_GENERIC_ERROR [valueFlowBailoutIncompleteVar] flashrom-1.6.0/realtek_mst_i2c_spi.c:332:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPI_GENERIC_ERROR [valueFlowBailoutIncompleteVar] flashrom-1.6.0/realtek_mst_i2c_spi.c:375:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPI_GENERIC_ERROR [valueFlowBailoutIncompleteVar] flashrom-1.6.0/realtek_mst_i2c_spi.c:409:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/realtek_mst_i2c_spi.c:456:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/realtek_mst_i2c_spi.c:499:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPI_GENERIC_ERROR [valueFlowBailoutIncompleteVar] flashrom-1.6.0/raiden_debug_spi.c:625:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBUSB_ERROR_NO_DEVICE [valueFlowBailoutIncompleteVar] flashrom-1.6.0/raiden_debug_spi.c:774:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable write_count [valueFlowBailoutIncompleteVar] flashrom-1.6.0/raiden_debug_spi.c:857:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPI_INVALID_LENGTH [valueFlowBailoutIncompleteVar] flashrom-1.6.0/raiden_debug_spi.c:955:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable packet_id [valueFlowBailoutIncompleteVar] flashrom-1.6.0/raiden_debug_spi.c:1038:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable packet_id [valueFlowBailoutIncompleteVar] flashrom-1.6.0/raiden_debug_spi.c:1062:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable packet_id [valueFlowBailoutIncompleteVar] flashrom-1.6.0/raiden_debug_spi.c:1206:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPI_INVALID_LENGTH [valueFlowBailoutIncompleteVar] flashrom-1.6.0/raiden_debug_spi.c:1295:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBUSB_ENDPOINT_OUT [valueFlowBailoutIncompleteVar] flashrom-1.6.0/raiden_debug_spi.c:1332:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBUSB_ENDPOINT_DIR_MASK [valueFlowBailoutIncompleteVar] flashrom-1.6.0/raiden_debug_spi.c:1348:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBUSB_ENDPOINT_IN [valueFlowBailoutIncompleteVar] flashrom-1.6.0/raiden_debug_spi.c:1428:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JEDEC_BYTE_PROGRAM_OUTSIZE [valueFlowBailoutIncompleteVar] flashrom-1.6.0/raiden_debug_spi.c:1522:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBUSB_CLASS_VENDOR_SPEC [valueFlowBailoutIncompleteVar] flashrom-1.6.0/rayer_spi.c:103:25: style: Variable 'data' can be declared as pointer to const [constVariablePointer] flashrom-1.6.0/rpmc.c:46:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RPMC_ERROR_SPI_TRANSMISSION [valueFlowBailoutIncompleteVar] flashrom-1.6.0/rpmc.c:59:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RPMC_TAG_LENGTH [valueFlowBailoutIncompleteVar] flashrom-1.6.0/rpmc.c:123:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RPMC_ERROR_SPI_TRANSMISSION [valueFlowBailoutIncompleteVar] flashrom-1.6.0/rpmc.c:146:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RPMC_HMAC_KEY_LENGTH [valueFlowBailoutIncompleteVar] flashrom-1.6.0/rpmc.c:170:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FEATURE_FLASH_HARDENING [valueFlowBailoutIncompleteVar] flashrom-1.6.0/rpmc.c:189:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RPMC_ERROR_SPI_TRANSMISSION [valueFlowBailoutIncompleteVar] flashrom-1.6.0/rpmc.c:203:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RPMC_HMAC_KEY_LENGTH [valueFlowBailoutIncompleteVar] flashrom-1.6.0/rpmc.c:232:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RPMC_OP1_MSG_HEADER_LENGTH [valueFlowBailoutIncompleteVar] flashrom-1.6.0/rpmc.c:287:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RPMC_OP1_MSG_HEADER_LENGTH [valueFlowBailoutIncompleteVar] flashrom-1.6.0/rpmc.c:335:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RPMC_OP1_MSG_HEADER_LENGTH [valueFlowBailoutIncompleteVar] flashrom-1.6.0/rpmc.c:385:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RPMC_HMAC_KEY_LENGTH [valueFlowBailoutIncompleteVar] flashrom-1.6.0/rpmc.c:451:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RPMC_SUCCESS [valueFlowBailoutIncompleteVar] flashrom-1.6.0/realtek_mst_i2c_spi.c:416:35: style: Variable 'realtek_mst_data' can be declared as pointer to const [constVariablePointer] flashrom-1.6.0/s25f.c:73:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable writecnt [valueFlowBailoutIncompleteVar] flashrom-1.6.0/s25f.c:107:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable writecnt [valueFlowBailoutIncompleteVar] flashrom-1.6.0/s25f.c:139:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATUS1 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/s25f.c:187:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx32 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/s25f.c:201:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable writecnt [valueFlowBailoutIncompleteVar] flashrom-1.6.0/s25f.c:253:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable writecnt [valueFlowBailoutIncompleteVar] flashrom-1.6.0/s25f.c:321:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable writecnt [valueFlowBailoutIncompleteVar] flashrom-1.6.0/s25f.c:358:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JEDEC_RDID [valueFlowBailoutIncompleteVar] flashrom-1.6.0/satamv.c:123:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCI_BASE_ADDRESS_0 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/raiden_debug_spi.c:1625:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] flashrom-1.6.0/raiden_debug_spi.c:1466:30: warning: Either the condition 'target_str' is redundant or there is possible null pointer dereference: target_str. [nullPointerRedundantCheck] flashrom-1.6.0/raiden_debug_spi.c:1468:6: note: Assuming that condition 'target_str' is not redundant flashrom-1.6.0/raiden_debug_spi.c:1466:30: note: Null pointer dereference flashrom-1.6.0/raiden_debug_spi.c:770:31: style: Parameter 'read' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/raiden_debug_spi.c:1055:31: style: Parameter 'read' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/satasii.c:49:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx32 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/satasii.c:109:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCI_BASE_ADDRESS_0 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/satasii.c:65:24: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] flashrom-1.6.0/serial.c:123:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable baud [valueFlowBailoutIncompleteVar] flashrom-1.6.0/serial.c:154:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] flashrom-1.6.0/serial.c:160:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SER_INV_FD [valueFlowBailoutIncompleteVar] flashrom-1.6.0/serial.c:297:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] flashrom-1.6.0/serial.c:341:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIN_TXD [valueFlowBailoutIncompleteVar] flashrom-1.6.0/serial.c:368:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIN_CTS [valueFlowBailoutIncompleteVar] flashrom-1.6.0/serial.c:381:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCIFLUSH [valueFlowBailoutIncompleteVar] flashrom-1.6.0/serial.c:508:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] flashrom-1.6.0/serial.c:592:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] flashrom-1.6.0/sb600spi.c:73:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCI_REVISION_ID [valueFlowBailoutIncompleteVar] flashrom-1.6.0/sb600spi.c:146:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx16 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/sb600spi.c:185:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/sb600spi.c:227:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/sb600spi.c:315:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/sb600spi.c:557:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable programmer_may_write [valueFlowBailoutIncompleteVar] flashrom-1.6.0/sb600spi.c:640:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx32 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/serprog.c:114:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] flashrom-1.6.0/serprog.c:177:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] flashrom-1.6.0/serprog.c:237:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] flashrom-1.6.0/serprog.c:399:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/serprog.c:435:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/serprog.c:454:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIxPTR [valueFlowBailoutIncompleteVar] flashrom-1.6.0/serprog.c:486:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/serprog.c:531:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIxPTR [valueFlowBailoutIncompleteVar] flashrom-1.6.0/serprog.c:539:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIxPTR [valueFlowBailoutIncompleteVar] flashrom-1.6.0/serprog.c:577:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/serprog.c:634:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sp_fd [valueFlowBailoutIncompleteVar] flashrom-1.6.0/ft2232_spi.c:219:91: style: Parameter 'cmds' can be declared as pointer to const. However it seems that 'ft2232_spi_send_multicommand' is a callback function, if 'cmds' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flashrom-1.6.0/ft2232_spi.c:297:18: note: You might need to cast the function pointer here flashrom-1.6.0/ft2232_spi.c:219:91: note: Parameter 'cmds' can be declared as pointer to const flashrom-1.6.0/serial.c:266:29: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/serial.c:403:31: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/serial.c:418:14: style: Variable 'tmp' is assigned a value that is never used. [unreadVariable] flashrom-1.6.0/serial.c:456:14: style: Variable 'tmp' is assigned a value that is never used. [unreadVariable] flashrom-1.6.0/sfdp.c:26:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JEDEC_SFDP_OUTSIZE [valueFlowBailoutIncompleteVar] flashrom-1.6.0/sfdp.c:85:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO_BLOCK_ERASE_FUNC [valueFlowBailoutIncompleteVar] flashrom-1.6.0/sfdp.c:164:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FEATURE_WRSR_WREN [valueFlowBailoutIncompleteVar] flashrom-1.6.0/sfdp.c:297:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FEATURE_FLASH_HARDENING [valueFlowBailoutIncompleteVar] flashrom-1.6.0/sfdp.c:358:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx32 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi.c:36:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable writecnt [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi.c:81:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_DATA_UNSPECIFIED [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi.c:93:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_DATA_UNSPECIFIED [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi.c:112:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MiB [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi.c:160:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi.c:229:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/sb600spi.c:503:44: style: Condition 'amd_gen<=CHIPSET_HUDSON234' is always true [knownConditionTrueFalse] flashrom-1.6.0/sb600spi.c:469:14: note: Assuming that condition 'amd_gen>=CHIPSET_BOLTON' is not redundant flashrom-1.6.0/sb600spi.c:503:44: note: Condition 'amd_gen<=CHIPSET_HUDSON234' is always true flashrom-1.6.0/sb600spi.c:347:20: style: struct member 'spispeed::name' is never used. [unusedStructMember] flashrom-1.6.0/sb600spi.c:348:16: style: struct member 'spispeed::speed' is never used. [unusedStructMember] flashrom-1.6.0/spi25.c:51:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JEDEC_RDID_OUTSIZE [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi25.c:67:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JEDEC_REMS_OUTSIZE [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi25.c:79:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JEDEC_RES_OUTSIZE [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi25.c:95:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JEDEC_WREN_OUTSIZE [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi25.c:109:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JEDEC_WRDI_OUTSIZE [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi25.c:143:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx32 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi25.c:165:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPI_INVALID_LENGTH [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi25.c:222:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JEDEC_REMS_INSIZE [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi25.c:254:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx32 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi25.c:274:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx32 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi25.c:285:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT25F_RDID_OUTSIZE [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi25.c:309:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATUS1 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi25.c:331:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable readarr [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi25.c:354:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FEATURE_4BA_EAR_C5C8 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi25.c:405:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FEATURE_4BA_EAR_ANY [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi25.c:439:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JEDEC_MAX_ADDR_LEN [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi25.c:479:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JEDEC_CE_60 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi25.c:485:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JEDEC_CE_62 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi25.c:491:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JEDEC_CE_C7 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi25.c:565:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi25.c:575:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi25.c:586:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi25.c:649:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi25.c:655:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FEATURE_4BA_WRITE [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi25.c:663:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FEATURE_4BA_READ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi25.c:688:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLASHROM_PROGRESS_READ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi25.c:732:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLASHROM_PROGRESS_WRITE [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi25.c:753:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLASHROM_PROGRESS_WRITE [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi25.c:762:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JEDEC_AAI_WORD_PROGRAM_CONT_OUTSIZE [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi25.c:833:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JEDEC_EXIT_4_BYTE_ADDR_MODE [valueFlowBailoutIncompleteVar] flashrom-1.6.0/sfdp.c:123:61: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/sfdp.c:201:17: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] flashrom-1.6.0/spi95.c:33:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_M95_RDID_OUTSIZE_MAX [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi25_statusreg.c:41:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JEDEC_WRSR [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi25_statusreg.c:73:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JEDEC_WRSR [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi25_statusreg.c:212:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JEDEC_RDSR [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi25_statusreg.c:274:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATUS1 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi25_statusreg.c:302:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATUS1 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi25_statusreg.c:477:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATUS1 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi25_statusreg.c:488:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATUS1 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi25_statusreg.c:504:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATUS1 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi25_statusreg.c:525:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATUS1 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi25_statusreg.c:545:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATUS1 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi25_statusreg.c:560:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATUS1 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi25_statusreg.c:574:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATUS1 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi25_statusreg.c:590:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATUS1 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi25_statusreg.c:606:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATUS1 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi25_statusreg.c:665:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATUS1 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi25_statusreg.c:691:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATUS1 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi25_statusreg.c:709:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATUS1 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi25_statusreg.c:728:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATUS1 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi25_statusreg.c:746:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATUS1 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi25_statusreg.c:763:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATUS1 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi25_statusreg.c:786:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATUS1 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi25_statusreg.c:801:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATUS1 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi25_statusreg.c:862:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATUS1 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi25_statusreg.c:884:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATUS1 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi25_statusreg.c:917:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable spi_disable_blockprotect_at45db [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi25_statusreg.c:953:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATUS1 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi25_statusreg.c:984:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATUS1 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi25_statusreg.c:1003:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATUS1 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi25_statusreg.c:1021:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATUS1 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi25_statusreg.c:1032:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable printlock_at49f [valueFlowBailoutIncompleteVar] flashrom-1.6.0/serprog.c:117:12: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] flashrom-1.6.0/serprog.c:119:13: style: Obsolescent function 'gethostbyaddr' called. It is recommended to use 'getnameinfo' instead. [prohibitedgethostbyaddrCalled] flashrom-1.6.0/serprog.c:108:18: style: Variable 'hostPtr' can be declared as pointer to const [constVariablePointer] flashrom-1.6.0/serprog.c:286:72: style: Parameter 'parms' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/spidriver.c:38:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sp_fd [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spidriver.c:50:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spidriver.c:96:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPI_GENERIC_ERROR [valueFlowBailoutIncompleteVar] flashrom-1.6.0/sst28sf040.c:95:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLASHROM_PROGRESS_WRITE [valueFlowBailoutIncompleteVar] flashrom-1.6.0/sst28sf040.c:120:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/spi25_statusreg.c:268:48: style: Parameter 'flash' can be declared as pointer to const. However it seems that 'spi_restore_status' is a callback function, if 'flash' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flashrom-1.6.0/spi25_statusreg.c:318:24: note: You might need to cast the function pointer here flashrom-1.6.0/spi25_statusreg.c:268:48: note: Parameter 'flash' can be declared as pointer to const flashrom-1.6.0/spi25_statusreg.c:474:67: style: Parameter 'flash' can be declared as pointer to const. However it seems that 'spi_prettyprint_status_register_plain' is a callback function, if 'flash' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flashrom-1.6.0/spi25_statusreg.c:1070:55: note: You might need to cast the function pointer here flashrom-1.6.0/spi25_statusreg.c:474:67: note: Parameter 'flash' can be declared as pointer to const flashrom-1.6.0/spi25_statusreg.c:485:76: style: Parameter 'flash' can be declared as pointer to const. However it seems that 'spi_prettyprint_status_register_default_welwip' is a callback function, if 'flash' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flashrom-1.6.0/spi25_statusreg.c:1067:64: note: You might need to cast the function pointer here flashrom-1.6.0/spi25_statusreg.c:485:76: note: Parameter 'flash' can be declared as pointer to const flashrom-1.6.0/spi25_statusreg.c:501:70: style: Parameter 'flash' can be declared as pointer to const. However it seems that 'spi_prettyprint_status_register_bp1_srwd' is a callback function, if 'flash' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flashrom-1.6.0/spi25_statusreg.c:1059:58: note: You might need to cast the function pointer here flashrom-1.6.0/spi25_statusreg.c:501:70: note: Parameter 'flash' can be declared as pointer to const flashrom-1.6.0/spi25_statusreg.c:522:70: style: Parameter 'flash' can be declared as pointer to const. However it seems that 'spi_prettyprint_status_register_bp2_srwd' is a callback function, if 'flash' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flashrom-1.6.0/spi25_statusreg.c:1062:58: note: You might need to cast the function pointer here flashrom-1.6.0/spi25_statusreg.c:522:70: note: Parameter 'flash' can be declared as pointer to const flashrom-1.6.0/spi25_statusreg.c:542:70: style: Parameter 'flash' can be declared as pointer to const. However it seems that 'spi_prettyprint_status_register_bp3_srwd' is a callback function, if 'flash' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flashrom-1.6.0/spi25_statusreg.c:1065:58: note: You might need to cast the function pointer here flashrom-1.6.0/spi25_statusreg.c:542:70: note: Parameter 'flash' can be declared as pointer to const flashrom-1.6.0/spi25_statusreg.c:557:70: style: Parameter 'flash' can be declared as pointer to const. However it seems that 'spi_prettyprint_status_register_bp4_srwd' is a callback function, if 'flash' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flashrom-1.6.0/spi25_statusreg.c:1066:58: note: You might need to cast the function pointer here flashrom-1.6.0/spi25_statusreg.c:557:70: note: Parameter 'flash' can be declared as pointer to const flashrom-1.6.0/spi25_statusreg.c:571:69: style: Parameter 'flash' can be declared as pointer to const. However it seems that 'spi_prettyprint_status_register_bp2_bpl' is a callback function, if 'flash' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flashrom-1.6.0/spi25_statusreg.c:1060:57: note: You might need to cast the function pointer here flashrom-1.6.0/spi25_statusreg.c:571:69: note: Parameter 'flash' can be declared as pointer to const flashrom-1.6.0/spi25_statusreg.c:587:72: style: Parameter 'flash' can be declared as pointer to const. However it seems that 'spi_prettyprint_status_register_bp2_tb_bpl' is a callback function, if 'flash' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flashrom-1.6.0/spi25_statusreg.c:1063:60: note: You might need to cast the function pointer here flashrom-1.6.0/spi25_statusreg.c:587:72: note: Parameter 'flash' can be declared as pointer to const flashrom-1.6.0/spi25_statusreg.c:662:68: style: Parameter 'flash' can be declared as pointer to const. However it seems that 'spi_prettyprint_status_register_at25df' is a callback function, if 'flash' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flashrom-1.6.0/spi25_statusreg.c:1049:56: note: You might need to cast the function pointer here flashrom-1.6.0/spi25_statusreg.c:662:68: note: Parameter 'flash' can be declared as pointer to const flashrom-1.6.0/spi25_statusreg.c:688:67: style: Parameter 'flash' can be declared as pointer to const. However it seems that 'spi_prettyprint_status_register_at25f' is a callback function, if 'flash' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flashrom-1.6.0/spi25_statusreg.c:1051:55: note: You might need to cast the function pointer here flashrom-1.6.0/spi25_statusreg.c:688:67: note: Parameter 'flash' can be declared as pointer to const flashrom-1.6.0/spi25_statusreg.c:706:71: style: Parameter 'flash' can be declared as pointer to const. However it seems that 'spi_prettyprint_status_register_at25f512a' is a callback function, if 'flash' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flashrom-1.6.0/spi25_statusreg.c:1053:59: note: You might need to cast the function pointer here flashrom-1.6.0/spi25_statusreg.c:706:71: note: Parameter 'flash' can be declared as pointer to const flashrom-1.6.0/spi25_statusreg.c:725:71: style: Parameter 'flash' can be declared as pointer to const. However it seems that 'spi_prettyprint_status_register_at25f512b' is a callback function, if 'flash' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flashrom-1.6.0/spi25_statusreg.c:1054:59: note: You might need to cast the function pointer here flashrom-1.6.0/spi25_statusreg.c:725:71: note: Parameter 'flash' can be declared as pointer to const flashrom-1.6.0/spi25_statusreg.c:742:71: style: Parameter 'flash' can be declared as pointer to const. However it seems that 'spi_prettyprint_status_register_at25f4096' is a callback function, if 'flash' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flashrom-1.6.0/spi25_statusreg.c:1052:59: note: You might need to cast the function pointer here flashrom-1.6.0/spi25_statusreg.c:742:71: note: Parameter 'flash' can be declared as pointer to const flashrom-1.6.0/spi25_statusreg.c:760:71: style: Parameter 'flash' can be declared as pointer to const. However it seems that 'spi_prettyprint_status_register_at25fs010' is a callback function, if 'flash' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flashrom-1.6.0/spi25_statusreg.c:1055:59: note: You might need to cast the function pointer here flashrom-1.6.0/spi25_statusreg.c:760:71: note: Parameter 'flash' can be declared as pointer to const flashrom-1.6.0/spi25_statusreg.c:783:71: style: Parameter 'flash' can be declared as pointer to const. However it seems that 'spi_prettyprint_status_register_at25fs040' is a callback function, if 'flash' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flashrom-1.6.0/spi25_statusreg.c:1056:59: note: You might need to cast the function pointer here flashrom-1.6.0/spi25_statusreg.c:783:71: note: Parameter 'flash' can be declared as pointer to const flashrom-1.6.0/spi25_statusreg.c:798:72: style: Parameter 'flash' can be declared as pointer to const. However it seems that 'spi_prettyprint_status_register_at26df081a' is a callback function, if 'flash' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flashrom-1.6.0/spi25_statusreg.c:1057:60: note: You might need to cast the function pointer here flashrom-1.6.0/spi25_statusreg.c:798:72: note: Parameter 'flash' can be declared as pointer to const flashrom-1.6.0/spi25_statusreg.c:859:70: style: Parameter 'flash' can be declared as pointer to const. However it seems that 'spi_prettyprint_status_register_en25s_wp' is a callback function, if 'flash' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flashrom-1.6.0/spi25_statusreg.c:1068:58: note: You might need to cast the function pointer here flashrom-1.6.0/spi25_statusreg.c:859:70: note: Parameter 'flash' can be declared as pointer to const flashrom-1.6.0/spi25_statusreg.c:881:66: style: Parameter 'flash' can be declared as pointer to const. However it seems that 'spi_prettyprint_status_register_n25q' is a callback function, if 'flash' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flashrom-1.6.0/spi25_statusreg.c:1069:54: note: You might need to cast the function pointer here flashrom-1.6.0/spi25_statusreg.c:881:66: note: Parameter 'flash' can be declared as pointer to const flashrom-1.6.0/spi25_statusreg.c:950:73: style: Parameter 'flash' can be declared as pointer to const. However it seems that 'spi_prettyprint_status_register_bp2_ep_srwd' is a callback function, if 'flash' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flashrom-1.6.0/spi25_statusreg.c:1061:61: note: You might need to cast the function pointer here flashrom-1.6.0/spi25_statusreg.c:950:73: note: Parameter 'flash' can be declared as pointer to const flashrom-1.6.0/spi25_statusreg.c:981:67: style: Parameter 'flash' can be declared as pointer to const. However it seems that 'spi_prettyprint_status_register_sst25' is a callback function, if 'flash' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flashrom-1.6.0/spi25_statusreg.c:1071:55: note: You might need to cast the function pointer here flashrom-1.6.0/spi25_statusreg.c:981:67: note: Parameter 'flash' can be declared as pointer to const flashrom-1.6.0/spi25_statusreg.c:991:72: style: Parameter 'flash' can be declared as pointer to const. However it seems that 'spi_prettyprint_status_register_sst25vf016' is a callback function, if 'flash' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flashrom-1.6.0/spi25_statusreg.c:1072:60: note: You might need to cast the function pointer here flashrom-1.6.0/spi25_statusreg.c:991:72: note: Parameter 'flash' can be declared as pointer to const flashrom-1.6.0/spi25_statusreg.c:1011:73: style: Parameter 'flash' can be declared as pointer to const. However it seems that 'spi_prettyprint_status_register_sst25vf040b' is a callback function, if 'flash' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flashrom-1.6.0/spi25_statusreg.c:1073:61: note: You might need to cast the function pointer here flashrom-1.6.0/spi25_statusreg.c:1011:73: note: Parameter 'flash' can be declared as pointer to const flashrom-1.6.0/spi25_statusreg.c:1029:61: style: Parameter 'flash' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/tests/ch341a_spi.c:138:2: error: There is an unknown macro here somewhere. Configuration is required. If SKIP_TEST is a macro then please configure it. [unknownMacro] flashrom-1.6.0/stlinkv3_spi.c:138:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBUSB_TRANSFER_COMPLETED [valueFlowBailoutIncompleteVar] flashrom-1.6.0/stlinkv3_spi.c:368:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBUSB_TRANSFER_COMPLETED [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/chip_wp.c:30:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLASHROM_MSG_INFO [valueFlowBailoutIncompleteVar] flashrom-1.6.0/stlinkv3_spi.c:496:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vendor_id [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/chip_wp.c:48:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KiB [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/chip_wp.c:127:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLASHROM_WP_MODE_HARDWARE [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/chip_wp.c:155:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLASHROM_WP_MODE_HARDWARE [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/chip_wp.c:192:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLASHROM_WP_MODE_HARDWARE [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/chip_wp.c:289:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KiB [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/chip_wp.c:325:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLASHROM_WP_MODE_HARDWARE [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/chip_wp.c:376:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_REGISTERS [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/dummyflasher.c:219:2: error: There is an unknown macro here somewhere. Configuration is required. If SKIP_TEST is a macro then please configure it. [unknownMacro] flashrom-1.6.0/tests/chip_wp.c:282:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: contents [nullPointerOutOfMemory] flashrom-1.6.0/tests/chip_wp.c:280:34: note: Assuming allocation function fails flashrom-1.6.0/tests/chip_wp.c:280:34: note: Assignment 'contents=malloc(size)', assigned value is 0 flashrom-1.6.0/tests/chip_wp.c:282:9: note: Null pointer dereference flashrom-1.6.0/tests/chip.c:58:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MiB [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/chip.c:68:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MiB [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/flashrom.c:42:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUS_NONSPI [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/chip.c:78:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MiB [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/chip.c:112:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KiB [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/chip.c:218:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_test_write_injector [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/chip.c:247:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_test_write_injector [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/chip.c:309:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_test_write_injector [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/chip.c:346:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_test_write_injector [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/chip.c:424:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_test_write_injector [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/chip.c:474:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_test_write_injector [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/chip.c:644:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KiB [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/chip.c:743:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_test_write_injector [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/chip.c:662:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: newcontents [nullPointerOutOfMemory] flashrom-1.6.0/tests/chip.c:660:31: note: Assuming allocation function fails flashrom-1.6.0/tests/chip.c:660:31: note: Assignment 'newcontents=calloc(1,mock_chip_size)', assigned value is 0 flashrom-1.6.0/tests/chip.c:662:9: note: Null pointer dereference flashrom-1.6.0/tests/chip.c:692:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: newcontents [nullPointerOutOfMemory] flashrom-1.6.0/tests/chip.c:660:31: note: Assuming allocation function fails flashrom-1.6.0/tests/chip.c:660:31: note: Assignment 'newcontents=calloc(1,mock_chip_size)', assigned value is 0 flashrom-1.6.0/tests/chip.c:692:9: note: Null pointer dereference flashrom-1.6.0/tests/io_real.c:24:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/io_real.c:30:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/io_real.c:36:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/io_real.c:47:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/io_real.c:22:31: style: Parameter 'state' can be declared as pointer to const. However it seems that 'io_real_open' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flashrom-1.6.0/tests/io_real.c:55:14: note: You might need to cast the function pointer here flashrom-1.6.0/tests/io_real.c:22:31: note: Parameter 'state' can be declared as pointer to const flashrom-1.6.0/tests/io_real.c:28:34: style: Parameter 'state' can be declared as pointer to const. However it seems that 'io_real_fopen' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flashrom-1.6.0/tests/io_real.c:56:15: note: You might need to cast the function pointer here flashrom-1.6.0/tests/io_real.c:28:34: note: Parameter 'state' can be declared as pointer to const flashrom-1.6.0/tests/io_real.c:34:35: style: Parameter 'state' can be declared as pointer to const. However it seems that 'io_real_fdopen' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flashrom-1.6.0/tests/io_real.c:58:16: note: You might need to cast the function pointer here flashrom-1.6.0/tests/io_real.c:34:35: note: Parameter 'state' can be declared as pointer to const flashrom-1.6.0/stlinkv3_spi.c:221:9: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] flashrom-1.6.0/stlinkv3_spi.c:224:4: note: Found duplicate branches for 'if' and 'else'. flashrom-1.6.0/stlinkv3_spi.c:221:9: note: Found duplicate branches for 'if' and 'else'. flashrom-1.6.0/tests/libflashrom.c:51:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLASHROM_MSG_INFO [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/libflashrom.c:60:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLASHROM_MSG_ERROR [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/libflashrom.c:71:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLASHROM_MSG_WARN [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/libusb_wraps.c:25:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/libusb_wraps.c:31:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/libusb_wraps.c:39:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/libusb_wraps.c:44:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/libusb_wraps.c:50:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/libusb_wraps.c:56:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/libusb_wraps.c:62:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/libusb_wraps.c:68:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/libusb_wraps.c:75:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/libusb_wraps.c:81:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/libusb_wraps.c:87:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/libusb_wraps.c:95:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/libusb_wraps.c:102:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/libusb_wraps.c:108:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/libusb_wraps.c:114:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/libusb_wraps.c:123:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/libusb_wraps.c:131:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/libusb_wraps.c:139:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/libusb_wraps.c:145:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/libusb_wraps.c:151:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/libusb_wraps.c:159:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/libusb_wraps.c:168:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/libusb_wraps.c:174:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/libusb_wraps.c:179:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/libusb_wraps.c:185:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/libusb_wraps.c:190:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/libusb_wraps.c:198:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/libusb_wraps.c:206:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/libusb_wraps.c:213:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/libusb_wraps.c:221:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/libusb_wraps.c:23:19: style: Parameter 'usb_ctx' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/tests/libusb_wraps.c:37:46: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/tests/libusb_wraps.c:42:46: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/tests/libusb_wraps.c:48:39: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/tests/libusb_wraps.c:54:71: style: Parameter 'devh' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/tests/libusb_wraps.c:60:62: style: Parameter 'dev_handle' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/tests/libusb_wraps.c:66:62: style: Parameter 'dev_handle' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/tests/libusb_wraps.c:73:19: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/tests/libusb_wraps.c:79:63: style: Parameter 'dev_handle' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/tests/libusb_wraps.c:100:53: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/tests/libusb_wraps.c:106:57: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/tests/libusb_wraps.c:137:59: style: Parameter 'devh' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/tests/libusb_wraps.c:137:70: style: Parameter 'config' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/tests/libusb_wraps.c:143:59: style: Parameter 'devh' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/tests/libusb_wraps.c:149:57: style: Parameter 'devh' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/tests/libusb_wraps.c:166:59: style: Parameter 'devh' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/tests/libusb_wraps.c:172:48: style: Parameter 'devh' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/tests/libusb_wraps.c:177:56: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/tests/libusb_wraps.c:183:48: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/tests/libusb_wraps.c:219:41: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/tests/erase_func_algo.c:73:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/erase_func_algo.c:95:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/erase_func_algo.c:112:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TEST_ERASE_INJECTOR_1 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/erase_func_algo.c:244:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TEST_ERASE_INJECTOR_1 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/erase_func_algo.c:245:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TEST_ERASE_INJECTOR_2 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/erase_func_algo.c:246:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TEST_ERASE_INJECTOR_3 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/erase_func_algo.c:247:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TEST_ERASE_INJECTOR_4 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/erase_func_algo.c:248:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TEST_ERASE_INJECTOR_5 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/erase_func_algo.c:259:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_test_write_injector [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/erase_func_algo.c:1170:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMUnitTest [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/erase_func_algo.c:1209:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMUnitTest [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/erase_func_algo.c:1432:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TEST_ERASE_INJECTOR_1 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/erase_func_algo.c:1481:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TEST_ERASE_INJECTOR_1 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/erase_func_algo.c:1482:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TEST_ERASE_INJECTOR_2 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/erase_func_algo.c:1483:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TEST_ERASE_INJECTOR_3 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/erase_func_algo.c:1484:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TEST_ERASE_INJECTOR_4 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/erase_func_algo.c:1485:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TEST_ERASE_INJECTOR_5 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/erase_func_algo.c:1509:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_test_erase_injector [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/erase_func_algo.c:1614:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_test_erase_injector [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/erase_func_algo.c:1689:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable programmer_dummy [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/erase_func_algo.c:1724:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TEST_ERASE_INJECTOR_5 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/lifecycle.c:27:90: warning:inconclusive: Either the condition 'chip_name' is redundant or there is possible null pointer dereference: chip_name. [nullPointerRedundantCheck] flashrom-1.6.0/tests/lifecycle.c:36:6: note: Assuming that condition 'chip_name' is not redundant flashrom-1.6.0/tests/lifecycle.c:27:90: note: Null pointer dereference flashrom-1.6.0/tests/mediatek_i2c_spi.c:50:2: error: There is an unknown macro here somewhere. Configuration is required. If SKIP_TEST is a macro then please configure it. [unknownMacro] flashrom-1.6.0/tests/parade_lspcon.c:136:2: error: There is an unknown macro here somewhere. Configuration is required. If SKIP_TEST is a macro then please configure it. [unknownMacro] flashrom-1.6.0/tests/raiden_debug_spi.c:200:2: error: There is an unknown macro here somewhere. Configuration is required. If SKIP_TEST is a macro then please configure it. [unknownMacro] flashrom-1.6.0/tests/realtek_mst_i2c_spi.c:77:2: error: There is an unknown macro here somewhere. Configuration is required. If SKIP_TEST is a macro then please configure it. [unknownMacro] flashrom-1.6.0/tests/spi25.c:106:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable default_spi_read [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/selfcheck.c:37:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable programmer_table_size [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/spi25.c:275:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_M95_RDID_2BA_OUTSIZE [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/selfcheck.c:61:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flashchips_size [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/selfcheck.c:76:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flashchips_size [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/tests.c:30:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MOCK_FD [valueFlowBailoutIncompleteVar] flashrom-1.6.0/usb_device.c:347:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBUSB_ERROR_NOT_SUPPORTED [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/tests.c:45:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/tests.c:50:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/tests.c:60:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/tests.c:66:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/tests.c:72:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/tests.c:77:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/tests.c:100:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MOCK_FD [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/tests.c:105:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/tests.c:118:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/tests.c:131:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/tests.c:144:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/tests.c:158:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/tests.c:172:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/tests.c:186:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/tests.c:194:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/tests.c:202:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/tests.c:211:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/tests.c:220:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/tests.c:228:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/tests.c:234:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/tests.c:240:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/tests.c:246:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/tests.c:252:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/tests.c:258:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/tests.c:264:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/tests.c:270:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/tests.c:276:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/tests.c:282:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/tests.c:290:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/tests.c:298:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/tests.c:306:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/tests.c:312:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/tests.c:318:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/tests.c:324:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/tests.c:330:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/tests.c:344:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/tests.c:369:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/tests.c:420:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/tests.c:426:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ME [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/tests.c:441:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CM_OUTPUT_STDOUT [valueFlowBailoutIncompleteVar] flashrom-1.6.0/tests/tests.c:43:29: style: Parameter 'virt_addr' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/tests/tests.c:58:76: style: Parameter 'devs' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/tests/tests.c:64:39: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/tests/tests.c:226:41: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/tests/tests.c:232:43: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/tests/tests.c:238:44: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/tests/tests.c:244:46: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/tests/tests.c:250:32: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/tests/tests.c:256:34: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/tests/tests.c:262:36: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/tests/tests.c:268:35: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/tests/tests.c:274:37: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/tests/tests.c:304:25: style: Parameter 'fp' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/tests/tests.c:310:25: style: Parameter 'fp' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/tests/tests.c:322:26: style: Parameter 'fp' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/tests/tests.c:322:36: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/tests/tests.c:350:23: style: Parameter 'fp' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/tests/tests.c:356:25: style: Parameter 'fp' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/tests/tests.c:361:28: style: Parameter 'fp' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/tests/tests.c:418:46: style: Parameter 'termios_p' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/tests/tests.c:430:34: style: Parameter 'vargp' can be declared as pointer to const. However it seems that 'doing_nothing' is a callback function, if 'vargp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flashrom-1.6.0/tests/tests.c:454:35: note: You might need to cast the function pointer here flashrom-1.6.0/tests/tests.c:430:34: note: Parameter 'vargp' can be declared as pointer to const flashrom-1.6.0/usbdev.c:63:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx16 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/usb_device.c:100:43: style: Parameter 'device' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/w29ee011.c:70:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/usbdev.c:95:15: style: Parameter 'serialno' can be declared as pointer to const. However it seems that 'filter_by_serial' is a callback function, if 'serialno' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flashrom-1.6.0/usbdev.c:116:50: note: You might need to cast the function pointer here flashrom-1.6.0/usbdev.c:95:15: note: Parameter 'serialno' can be declared as pointer to const flashrom-1.6.0/usbdev.c:119:98: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'filter_by_number' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flashrom-1.6.0/usbdev.c:144:50: note: You might need to cast the function pointer here flashrom-1.6.0/usbdev.c:119:98: note: Parameter 'handle' can be declared as pointer to const flashrom-1.6.0/wbsio_spi.c:91:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/wbsio_spi.c:208:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] flashrom-1.6.0/w39.c:225:47: style: Parameter 'flash' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/util/ich_descriptors_tool/ich_descriptors_tool.c:71:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] flashrom-1.6.0/util/ich_descriptors_tool/ich_descriptors_tool.c:116:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] flashrom-1.6.0/util/ich_descriptors_tool/ich_descriptors_tool.c:161:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHIPSET_ICH_UNKNOWN [valueFlowBailoutIncompleteVar] flashrom-1.6.0/writeprotect.c:34:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUS_PROG [valueFlowBailoutIncompleteVar] flashrom-1.6.0/writeprotect.c:51:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUS_PROG [valueFlowBailoutIncompleteVar] flashrom-1.6.0/writeprotect.c:70:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_REG [valueFlowBailoutIncompleteVar] flashrom-1.6.0/writeprotect.c:103:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RW [valueFlowBailoutIncompleteVar] flashrom-1.6.0/writeprotect.c:153:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_REG [valueFlowBailoutIncompleteVar] flashrom-1.6.0/writeprotect.c:168:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_REGISTERS [valueFlowBailoutIncompleteVar] flashrom-1.6.0/writeprotect.c:187:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_REGISTERS [valueFlowBailoutIncompleteVar] flashrom-1.6.0/writeprotect.c:240:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable decode_range_spi25 [valueFlowBailoutIncompleteVar] flashrom-1.6.0/writeprotect.c:257:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLASHROM_WP_ERR_OTHER [valueFlowBailoutIncompleteVar] flashrom-1.6.0/writeprotect.c:314:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RW [valueFlowBailoutIncompleteVar] flashrom-1.6.0/writeprotect.c:373:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLASHROM_WP_OK [valueFlowBailoutIncompleteVar] flashrom-1.6.0/writeprotect.c:436:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLASHROM_WP_OK [valueFlowBailoutIncompleteVar] flashrom-1.6.0/writeprotect.c:470:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLASHROM_WP_OK [valueFlowBailoutIncompleteVar] flashrom-1.6.0/writeprotect.c:480:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLASHROM_WP_OK [valueFlowBailoutIncompleteVar] flashrom-1.6.0/writeprotect.c:505:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO_DECODE_RANGE_FUNC [valueFlowBailoutIncompleteVar] flashrom-1.6.0/writeprotect.c:511:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUS_SPI [valueFlowBailoutIncompleteVar] flashrom-1.6.0/writeprotect.c:520:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLASHROM_WP_OK [valueFlowBailoutIncompleteVar] flashrom-1.6.0/writeprotect.c:540:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLASHROM_WP_OK [valueFlowBailoutIncompleteVar] flashrom-1.6.0/writeprotect.c:570:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLASHROM_WP_ERR_CHIP_UNSUPPORTED [valueFlowBailoutIncompleteVar] flashrom-1.6.0/writeprotect.c:607:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLASHROM_WP_ERR_CHIP_UNSUPPORTED [valueFlowBailoutIncompleteVar] flashrom-1.6.0/wbsio_spi.c:172:44: style: Parameter 'flash' can be declared as pointer to const. However it seems that 'wbsio_spi_read' is a callback function, if 'flash' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flashrom-1.6.0/wbsio_spi.c:191:11: note: You might need to cast the function pointer here flashrom-1.6.0/wbsio_spi.c:172:44: note: Parameter 'flash' can be declared as pointer to const flashrom-1.6.0/writeprotect_ranges.c:61:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KiB [valueFlowBailoutIncompleteVar] flashrom-1.6.0/util/ich_descriptors_tool/ich_descriptors_tool.c:272:3: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] flashrom-1.6.0/writeprotect.c:283:10: style: The comparison 'ord == 0' is always true. [knownConditionTrueFalse] flashrom-1.6.0/writeprotect.c:281:12: note: 'ord' is assigned value '0' here. flashrom-1.6.0/writeprotect.c:283:10: note: The comparison 'ord == 0' is always true. flashrom-1.6.0/util/ich_descriptors_tool/ich_descriptors_tool.c:113:25: style: Parameter 'argv' can be declared as const array [constParameter] flashrom-1.6.0/util/ich_descriptors_tool/ich_descriptors_tool.c:155:11: style: Variable 'pMAC' can be declared as pointer to const [constVariablePointer] flashrom-1.6.0/writeprotect.c:68:89: style: Parameter 'flash' can be declared as pointer to const [constParameterPointer] flashrom-1.6.0/writeprotect.c:399:19: style: Variable 'last_range' can be declared as pointer to const [constVariablePointer] flashrom-1.6.0/tests/erase_func_algo.c:1301:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] flashrom-1.6.0/tests/erase_func_algo.c:1301:3: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] flashrom-1.6.0/tests/erase_func_algo.c:1380:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] flashrom-1.6.0/tests/erase_func_algo.c:1380:3: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] flashrom-1.6.0/tests/erase_func_algo.c:1453:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] flashrom-1.6.0/tests/erase_func_algo.c:1453:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] flashrom-1.6.0/tests/erase_func_algo.c:1462:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] flashrom-1.6.0/tests/erase_func_algo.c:1462:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] flashrom-1.6.0/tests/erase_func_algo.c:1568:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] flashrom-1.6.0/tests/erase_func_algo.c:1568:3: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] flashrom-1.6.0/tests/erase_func_algo.c:1766:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] flashrom-1.6.0/tests/erase_func_algo.c:1766:3: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] flashrom-1.6.0/tests/erase_func_algo.c:1174:3: warning: If memory allocation fails, then there is a possible null pointer dereference: all_cases [nullPointerOutOfMemory] flashrom-1.6.0/tests/erase_func_algo.c:1170:39: note: Assuming allocation function fails flashrom-1.6.0/tests/erase_func_algo.c:1170:39: note: Assignment 'all_cases=calloc(test_cases_num*2,sizeof(struct CMUnitTest))', assigned value is 0 flashrom-1.6.0/tests/erase_func_algo.c:1174:3: note: Null pointer dereference flashrom-1.6.0/tests/erase_func_algo.c:1181:3: warning: If memory allocation fails, then there is a possible null pointer dereference: all_cases [nullPointerOutOfMemory] flashrom-1.6.0/tests/erase_func_algo.c:1170:39: note: Assuming allocation function fails flashrom-1.6.0/tests/erase_func_algo.c:1170:39: note: Assignment 'all_cases=calloc(test_cases_num*2,sizeof(struct CMUnitTest))', assigned value is 0 flashrom-1.6.0/tests/erase_func_algo.c:1181:3: note: Null pointer dereference flashrom-1.6.0/tests/erase_func_algo.c:1213:3: warning: If memory allocation fails, then there is a possible null pointer dereference: all_cases [nullPointerOutOfMemory] flashrom-1.6.0/tests/erase_func_algo.c:1209:39: note: Assuming allocation function fails flashrom-1.6.0/tests/erase_func_algo.c:1209:39: note: Assignment 'all_cases=calloc(num_cases,sizeof(struct CMUnitTest))', assigned value is 0 flashrom-1.6.0/tests/erase_func_algo.c:1213:3: note: Null pointer dereference flashrom-1.6.0/tests/erase_func_algo.c:1220:3: warning: If memory allocation fails, then there is a possible null pointer dereference: all_cases [nullPointerOutOfMemory] flashrom-1.6.0/tests/erase_func_algo.c:1209:39: note: Assuming allocation function fails flashrom-1.6.0/tests/erase_func_algo.c:1209:39: note: Assignment 'all_cases=calloc(num_cases,sizeof(struct CMUnitTest))', assigned value is 0 flashrom-1.6.0/tests/erase_func_algo.c:1220:3: note: Null pointer dereference flashrom-1.6.0/tests/erase_func_algo.c:1152:20: style: Variable 'current_test_case' can be declared as pointer to const [constVariablePointer] diff: head flashrom-1.6.0/ft2232_spi.c:219:91: style: Parameter 'cmds' can be declared as pointer to const. However it seems that 'ft2232_spi_send_multicommand' is a callback function, if 'cmds' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flashrom-1.6.0/ft2232_spi.c:297:18: note: You might need to cast the function pointer here flashrom-1.6.0/ft2232_spi.c:219:91: note: Parameter 'cmds' can be declared as pointer to const 2.18.0 flashrom-1.6.0/hwaccess_x86_io.c:163:2: error: #error Unsupported or misconfigured platform. [preprocessorErrorDirective] 2.18.0 flashrom-1.6.0/print.c:609:2: error: #error Endianness could not be determined [preprocessorErrorDirective] head flashrom-1.6.0/tests/erase_func_algo.c:1152:20: style: Variable 'current_test_case' can be declared as pointer to const [constVariablePointer] head flashrom-1.6.0/tests/io_real.c:22:31: style: Parameter 'state' can be declared as pointer to const. However it seems that 'io_real_open' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flashrom-1.6.0/tests/io_real.c:55:14: note: You might need to cast the function pointer here flashrom-1.6.0/tests/io_real.c:22:31: note: Parameter 'state' can be declared as pointer to const head flashrom-1.6.0/tests/io_real.c:28:34: style: Parameter 'state' can be declared as pointer to const. However it seems that 'io_real_fopen' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flashrom-1.6.0/tests/io_real.c:56:15: note: You might need to cast the function pointer here flashrom-1.6.0/tests/io_real.c:28:34: note: Parameter 'state' can be declared as pointer to const head flashrom-1.6.0/tests/io_real.c:34:35: style: Parameter 'state' can be declared as pointer to const. However it seems that 'io_real_fdopen' is a callback function, if 'state' is declared with const you might also need to cast function pointer(s). [constParameterCallback] flashrom-1.6.0/tests/io_real.c:58:16: note: You might need to cast the function pointer here flashrom-1.6.0/tests/io_real.c:34:35: note: Parameter 'state' can be declared as pointer to const DONE