2025-10-16 16:21 ftp://ftp.de.debian.org/debian/pool/main/f/fcode-utils/fcode-utils_1.0.3.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --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-6.12.48+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.67 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.18.0 head-info: 7828eb5 (2025-10-15 23:40:19 +0200) count: 228 226 elapsed-time: 0.5 0.5 head-timing-info: old-timing-info: head results: fcode-utils-1.0.3/detok/detok.c:96:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/detok/addfcodes.c:174:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/detok/addfcodes.c:227:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/detok/addfcodes.c:289:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/detok/detok.c:80:25: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] fcode-utils-1.0.3/detok/decode.c:89:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/detok/decode.c:402:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/detok/decode.c:485:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/detok/decode.c:614:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/detok/decode.c:688:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/detok/decode.c:753:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/detok/decode.c:802:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/detok/pcihdr.c:204:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCI_DATA_HDR [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/detok/pcihdr.c:446:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/detok/addfcodes.c:322:17: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] fcode-utils-1.0.3/detok/addfcodes.c:322:17: warning:inconclusive: Width 32 given in format string (no. 2) is smaller than destination buffer 'vs_fc_name[36]'. [invalidScanfFormatWidth_smaller] fcode-utils-1.0.3/detok/addfcodes.c:326:18: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] fcode-utils-1.0.3/detok/addfcodes.c:326:18: warning:inconclusive: Width 32 given in format string (no. 2) is smaller than destination buffer 'vs_fc_name[36]'. [invalidScanfFormatWidth_smaller] fcode-utils-1.0.3/detok/addfcodes.c:330:18: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] fcode-utils-1.0.3/detok/addfcodes.c:330:18: warning:inconclusive: Width 32 given in format string (no. 2) is smaller than destination buffer 'vs_fc_name[36]'. [invalidScanfFormatWidth_smaller] fcode-utils-1.0.3/detok/addfcodes.c:216:30: style: Parameter 'vf_file_name' can be declared as pointer to const [constParameterPointer] fcode-utils-1.0.3/detok/addfcodes.c:312:9: style: Variable 'lookup_result' can be declared as pointer to const [constVariablePointer] fcode-utils-1.0.3/detok/pcihdr.c:462:3: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] fcode-utils-1.0.3/detok/pcihdr.c:443:6: style: Variable 'scan_ptr' can be declared as pointer to const [constVariablePointer] fcode-utils-1.0.3/detok/decode.c:129:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] fcode-utils-1.0.3/detok/decode.c:709:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] fcode-utils-1.0.3/detok/decode.c:713:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] fcode-utils-1.0.3/detok/decode.c:713:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] fcode-utils-1.0.3/detok/decode.c:87:6: style: Variable 'strptr' can be declared as pointer to const [constVariablePointer] fcode-utils-1.0.3/detok/decode.c:177:8: style: Variable 'tname' can be declared as pointer to const [constVariablePointer] fcode-utils-1.0.3/detok/decode.c:420:8: style: Variable 'token' is assigned a value that is never used. [unreadVariable] fcode-utils-1.0.3/detok/printformats.c:91:8: style: Variable 'substrend' can be declared as pointer to const [constVariablePointer] fcode-utils-1.0.3/detok/printformats.c:92:8: style: Variable 'strend' can be declared as pointer to const [constVariablePointer] fcode-utils-1.0.3/detok/dictionary.c:133:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/detok/stream.c:233:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/detok/stream.c:508:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/detok/stream.c:546:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/romheaders/romheaders.c:86:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCI_DATA_HDR [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/detok/stream.c:99:3: error: Resource leak: infile [resourceLeak] fcode-utils-1.0.3/detok/stream.c:404:8: style: Variable 'str_start' can be declared as pointer to const [constVariablePointer] fcode-utils-1.0.3/detok/stream.c:450:6: style: Variable 'cksmptr' can be declared as pointer to const [constVariablePointer] fcode-utils-1.0.3/romheaders/romheaders.c:211:3: error: Resource leak: romfile [resourceLeak] fcode-utils-1.0.3/toke/clflags.c:345:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/clflags.c:414:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/clflags.c:525:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/clflags.c:559:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/conditl.c:134:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/conditl.c:330:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/conditl.c:436:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/conditl.c:601:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/conditl.c:710:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/devnode.c:523:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/devnode.c:565:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/clflags.c:412:40: style:inconclusive: Function 'set_cl_flag' argument 2 names different: declaration 'print_message' definition 'from_src'. [funcArgNamesDifferent] fcode-utils-1.0.3/toke/clflags.h:139:40: note: Function 'set_cl_flag' argument 2 names different: declaration 'print_message' definition 'from_src'. fcode-utils-1.0.3/toke/clflags.c:412:40: note: Function 'set_cl_flag' argument 2 names different: declaration 'print_message' definition 'from_src'. fcode-utils-1.0.3/toke/devnode.c:564:16: style: Variable 'found' can be declared as pointer to const [constVariablePointer] fcode-utils-1.0.3/toke/clflags.c:333:18: style: Variable 'was_case_tk' can be declared as const array [constVariable] fcode-utils-1.0.3/toke/conditl.c:135:20: style: Variable 'found' can be declared as pointer to const [constVariablePointer] fcode-utils-1.0.3/toke/emit.c:158:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/emit.c:191:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/emit.c:215:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/emit.c:351:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/emit.c:397:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rom_header_t [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/emit.c:469:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pci_data_t [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/errhandler.c:393:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/errhandler.c:490:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/errhandler.c:663:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/errhandler.c:696:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/errhandler.c:713:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/errhandler.c:744:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/errhandler.c:772:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/errhandler.c:799:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/errhandler.c:848:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/errhandler.c:891:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/errhandler.c:930:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/flowcontrol.c:391:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/flowcontrol.c:475:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/flowcontrol.c:604:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/flowcontrol.c:728:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/emit.c:323:10: style: Variable 'fcode_body' can be declared as pointer to const [constVariablePointer] fcode-utils-1.0.3/toke/flowcontrol.c:859:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/emit.c:324:10: style: Variable 'ob_end' can be declared as pointer to const [constVariablePointer] fcode-utils-1.0.3/toke/flowcontrol.c:1094:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/emit.c:563:16: style: Variable 'pci_hdr' can be declared as pointer to const [constVariablePointer] fcode-utils-1.0.3/toke/flowcontrol.c:1265:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/flowcontrol.c:1456:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/flowcontrol.c:1521:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/flowcontrol.c:1605:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/emit.c:573:10: style: Variable 'pci_hdr' is assigned a value that is never used. [unreadVariable] fcode-utils-1.0.3/toke/errhandler.c:530:6: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] fcode-utils-1.0.3/toke/errhandler.c:536:6: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] fcode-utils-1.0.3/toke/errhandler.c:541:6: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] fcode-utils-1.0.3/toke/errhandler.c:654:6: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] fcode-utils-1.0.3/toke/errhandler.c:487:11: style: Variable 'catgy_name' can be declared as pointer to const [constVariablePointer] fcode-utils-1.0.3/toke/errhandler.c:488:11: style: Variable 'catgy_suffx' can be declared as pointer to const [constVariablePointer] fcode-utils-1.0.3/toke/errhandler.c:630:15: style: Parameter 'saved_ifile' can be declared as pointer to const [constParameterPointer] fcode-utils-1.0.3/toke/macros.c:251:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/macros.c:462:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/macros.c:538:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/macros.c:493:28: warning: If memory allocation fails, then there is a possible null pointer dereference: macrobody [nullPointerOutOfMemory] fcode-utils-1.0.3/toke/macros.c:492:24: note: Assuming allocation function fails fcode-utils-1.0.3/toke/macros.c:492:24: note: Assignment 'macrobody=strdup(statbuf)', assigned value is 0 fcode-utils-1.0.3/toke/macros.c:493:28: note: Null pointer dereference fcode-utils-1.0.3/toke/nextfcode.c:272:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/nextfcode.c:345:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/nextfcode.c:517:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/nextfcode.c:639:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/parselocals.c:282:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/parselocals.c:396:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/parselocals.c:565:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/parselocals.c:640:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/stack.c:101:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/stack.c:131:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/stack.c:102:11: style: Variable 'stack_result' can be declared as pointer to const [constVariablePointer] fcode-utils-1.0.3/toke/stack.c:132:11: style: Variable 'stack_result' can be declared as pointer to const [constVariablePointer] fcode-utils-1.0.3/toke/parselocals.c:174:12: style: Variable 'prefix' can be declared as pointer to const [constVariablePointer] fcode-utils-1.0.3/toke/parselocals.c:335:53: style: Parameter 'lname' can be declared as pointer to const [constParameterPointer] fcode-utils-1.0.3/toke/strsubvocab.c:175:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/strsubvocab.c:141:40: style: Parameter 'tname' can be declared as pointer to const [constParameterPointer] fcode-utils-1.0.3/toke/strsubvocab.c:176:22: style: Variable 'found' can be declared as pointer to const [constVariablePointer] fcode-utils-1.0.3/toke/dictionary.c:512:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/dictionary.c:526:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/dictionary.c:838:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/dictionary.c:1453:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/stream.c:402:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/stream.c:553:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/stream.c:653:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/stream.c:905:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/stream.c:1083:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/stream.c:1410:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/stream.c:1562:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/ticvocab.c:372:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/ticvocab.c:446:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/ticvocab.c:542:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/ticvocab.c:338:36: style: Parameter 'tname' can be declared as pointer to const [constParameterPointer] fcode-utils-1.0.3/toke/ticvocab.c:371:16: style: Variable 'found' can be declared as pointer to const [constVariablePointer] fcode-utils-1.0.3/toke/ticvocab.c:583:57: style: Parameter 'reset_position' can be declared as pointer to const [constParameterPointer] fcode-utils-1.0.3/toke/dictionary.c:568:34: style:inconclusive: Function 'lookup_current' argument 1 names different: declaration 'name' definition 'tname'. [funcArgNamesDifferent] fcode-utils-1.0.3/toke/vocabfuncts.h:66:34: note: Function 'lookup_current' argument 1 names different: declaration 'name' definition 'tname'. fcode-utils-1.0.3/toke/dictionary.c:568:34: note: Function 'lookup_current' argument 1 names different: declaration 'name' definition 'tname'. fcode-utils-1.0.3/toke/dictionary.c:599:16: style: Variable 'found' can be declared as pointer to const [constVariablePointer] fcode-utils-1.0.3/toke/dictionary.c:1451:33: style: Parameter 'test_entry' can be declared as pointer to const [constParameterPointer] fcode-utils-1.0.3/toke/dictionary.c:1485:38: style: Parameter 't_entry' can be declared as pointer to const [constParameterPointer] fcode-utils-1.0.3/toke/scanner.c:164:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/scanner.c:209:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/scanner.c:486:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/scanner.c:681:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/scanner.c:744:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/scanner.c:818:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/scanner.c:866:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/scanner.c:923:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/scanner.c:1065:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/scanner.c:1244:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/scanner.c:1339:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/scanner.c:1545:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/scanner.c:1629:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/scanner.c:1660:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/scanner.c:1696:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/scanner.c:1820:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u8 [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/scanner.c:1859:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/scanner.c:1992:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/scanner.c:2043:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/scanner.c:2101:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/scanner.c:2145:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/scanner.c:2290:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/scanner.c:2337:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/scanner.c:2466:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/scanner.c:2651:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/scanner.c:2748:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/scanner.c:2818:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/scanner.c:3052:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/scanner.c:3179:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/scanner.c:3423:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/scanner.c:3569:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/scanner.c:3681:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/scanner.c:3755:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/scanner.c:3955:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/scanner.c:4056:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/scanner.c:4302:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/scanner.c:4366:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/scanner.c:5225:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/scanner.c:5359:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/toke.c:233:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/toke.c:391:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/toke.c:121:25: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] fcode-utils-1.0.3/toke/stream.c:912:31: style: Obsolescent function 'tmpnam' called. It is recommended to use 'tmpfile', 'mkstemp' or 'mkdtemp' instead. [prohibitedtmpnamCalled] fcode-utils-1.0.3/toke/stream.c:1587:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] fcode-utils-1.0.3/toke/stream.c:927:54: warning: If resource allocation fails, then there is a possible null pointer dereference: temp_file [nullPointerOutOfResources] fcode-utils-1.0.3/toke/stream.c:926:19: note: Assuming allocation function fails fcode-utils-1.0.3/toke/stream.c:926:19: note: Assignment 'temp_file=fopen(temp_file_name,"r")', assigned value is 0 fcode-utils-1.0.3/toke/stream.c:927:54: note: Null pointer dereference fcode-utils-1.0.3/toke/stream.c:945:10: warning: If resource allocation fails, then there is a possible null pointer dereference: temp_file [nullPointerOutOfResources] fcode-utils-1.0.3/toke/stream.c:926:19: note: Assuming allocation function fails fcode-utils-1.0.3/toke/stream.c:926:19: note: Assignment 'temp_file=fopen(temp_file_name,"r")', assigned value is 0 fcode-utils-1.0.3/toke/stream.c:945:10: note: Null pointer dereference fcode-utils-1.0.3/toke/stream.c:1373:31: style:inconclusive: Function 'init_output' argument 1 names different: declaration 'inname' definition 'in_name'. [funcArgNamesDifferent] fcode-utils-1.0.3/toke/stream.h:89:31: note: Function 'init_output' argument 1 names different: declaration 'inname' definition 'in_name'. fcode-utils-1.0.3/toke/stream.c:1373:31: note: Function 'init_output' argument 1 names different: declaration 'inname' definition 'in_name'. fcode-utils-1.0.3/toke/stream.c:1373:52: style:inconclusive: Function 'init_output' argument 2 names different: declaration 'outname' definition 'out_name'. [funcArgNamesDifferent] fcode-utils-1.0.3/toke/stream.h:89:51: note: Function 'init_output' argument 2 names different: declaration 'outname' definition 'out_name'. fcode-utils-1.0.3/toke/stream.c:1373:52: note: Function 'init_output' argument 2 names different: declaration 'outname' definition 'out_name'. fcode-utils-1.0.3/toke/stream.c:199:33: style: Parameter 'dir_compt' can be declared as pointer to const [constParameterPointer] fcode-utils-1.0.3/toke/stream.c:260:12: style: Variable 'separator' can be declared as pointer to const [constVariablePointer] fcode-utils-1.0.3/toke/stream.c:327:40: style: Parameter 'base_name' can be declared as pointer to const [constParameterPointer] fcode-utils-1.0.3/toke/stream.c:503:58: style: Parameter 'mode' can be declared as pointer to const [constParameterPointer] fcode-utils-1.0.3/toke/stream.c:648:36: style: Parameter 'fle_nam' can be declared as pointer to const [constParameterPointer] fcode-utils-1.0.3/toke/stream.c:1259:11: style: Variable 'ext' can be declared as pointer to const [constVariablePointer] fcode-utils-1.0.3/toke/stream.c:554:20: style: Variable 'stat_reslt' is assigned a value that is never used. [unreadVariable] fcode-utils-1.0.3/toke/tokzesc.c:162:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/tokzesc.c:181:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/tokzesc.c:257:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/tokzesc.c:308:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/tokzesc.c:347:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/tokzesc.c:624:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/tracesyms.c:195:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/tracesyms.c:220:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/tracesyms.c:454:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/tracesyms.c:730:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/usersymbols.c:356:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] fcode-utils-1.0.3/toke/usersymbols.c:171:24: warning: If memory allocation fails, then there is a possible null pointer dereference: symb_nam [nullPointerOutOfMemory] fcode-utils-1.0.3/toke/usersymbols.c:170:22: note: Assuming allocation function fails fcode-utils-1.0.3/toke/usersymbols.c:170:22: note: Assignment 'symb_nam=strdup(raw_symb)', assigned value is 0 fcode-utils-1.0.3/toke/usersymbols.c:171:24: note: Null pointer dereference fcode-utils-1.0.3/toke/usersymbols.c:253:30: style:inconclusive: Function 'eval_user_symbol' argument 1 names different: declaration 'symbol' definition 'symb_nam'. [funcArgNamesDifferent] fcode-utils-1.0.3/toke/usersymbols.h:42:29: note: Function 'eval_user_symbol' argument 1 names different: declaration 'symbol' definition 'symb_nam'. fcode-utils-1.0.3/toke/usersymbols.c:253:30: note: Function 'eval_user_symbol' argument 1 names different: declaration 'symbol' definition 'symb_nam'. fcode-utils-1.0.3/toke/usersymbols.c:165:28: style: Parameter 'raw_symb' can be declared as pointer to const [constParameterPointer] fcode-utils-1.0.3/toke/usersymbols.c:359:20: style: Variable 'dup_cand' can be declared as pointer to const [constVariablePointer] fcode-utils-1.0.3/toke/tracesyms.c:183:31: style: Parameter 'trace_symb' can be declared as pointer to const [constParameterPointer] fcode-utils-1.0.3/toke/tracesyms.c:218:30: style: Parameter 'symb_name' can be declared as pointer to const [constParameterPointer] fcode-utils-1.0.3/toke/tracesyms.c:223:20: style: Variable 'test_entry' can be declared as pointer to const [constVariablePointer] fcode-utils-1.0.3/toke/tracesyms.c:673:17: style: Variable 'test_entry' can be declared as pointer to const [constVariablePointer] fcode-utils-1.0.3/toke/scanner.c:5114:38: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] fcode-utils-1.0.3/toke/scanner.c:5116:41: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] fcode-utils-1.0.3/toke/scanner.c:4066:23: warning: If memory allocation fails, then there is a possible null pointer dereference: save_statbuf [nullPointerOutOfMemory] fcode-utils-1.0.3/toke/scanner.c:4064:27: note: Assuming allocation function fails fcode-utils-1.0.3/toke/scanner.c:4064:27: note: Assignment 'save_statbuf=strdup((char*)statbuf)', assigned value is 0 fcode-utils-1.0.3/toke/scanner.c:4066:23: note: Null pointer dereference fcode-utils-1.0.3/toke/scanner.c:391:59: style:inconclusive: Function 'push_source' argument 3 names different: declaration 'is_f_chg' definition 'file_chg'. [funcArgNamesDifferent] fcode-utils-1.0.3/toke/scanner.h:96:59: note: Function 'push_source' argument 3 names different: declaration 'is_f_chg' definition 'file_chg'. fcode-utils-1.0.3/toke/scanner.c:391:59: note: Function 'push_source' argument 3 names different: declaration 'is_f_chg' definition 'file_chg'. fcode-utils-1.0.3/toke/scanner.c:276:6: style: Variable 'safe' can be declared as pointer to const [constVariablePointer] fcode-utils-1.0.3/toke/scanner.c:595:6: style: Variable 'str' can be declared as pointer to const [constVariablePointer] fcode-utils-1.0.3/toke/scanner.c:678:30: style: Parameter 'func_nam' can be declared as pointer to const [constParameterPointer] fcode-utils-1.0.3/toke/scanner.c:2749:16: style: Variable 'found' can be declared as pointer to const [constVariablePointer] fcode-utils-1.0.3/toke/scanner.c:3417:16: style: Variable 'test_entry' can be declared as pointer to const [constVariablePointer] fcode-utils-1.0.3/toke/scanner.c:4077:12: style: Variable 'abort_string' can be declared as pointer to const [constVariablePointer] fcode-utils-1.0.3/toke/scanner.c:4226:18: style: Variable 'found' can be declared as pointer to const [constVariablePointer] fcode-utils-1.0.3/toke/scanner.c:4368:8: style: Variable 'handy_string' can be declared as pointer to const [constVariablePointer] fcode-utils-1.0.3/toke/scanner.c:601:17: style: Variable 'pop_result' is assigned a value that is never used. [unreadVariable] fcode-utils-1.0.3/toke/scanner.c:1550:7: style: Variable 'wlen' is assigned a value that is never used. [unreadVariable] fcode-utils-1.0.3/toke/scanner.c:1570:7: style: Variable 'wlen' is assigned a value that is never used. [unreadVariable] fcode-utils-1.0.3/toke/scanner.c:4065:11: style: Variable 'wlen' is assigned a value that is never used. [unreadVariable] fcode-utils-1.0.3/toke/scanner.c:4103:16: style: Variable 'abort_string' is assigned a value that is never used. [unreadVariable] diff: head fcode-utils-1.0.3/toke/tracesyms.c:223:20: style: Variable 'test_entry' can be declared as pointer to const [constVariablePointer] head fcode-utils-1.0.3/toke/tracesyms.c:673:17: style: Variable 'test_entry' can be declared as pointer to const [constVariablePointer] DONE