2026-05-02 13:18 ftp://ftp.de.debian.org/debian/pool/main/h/hxtools/hxtools_20251011.orig.tar.xz 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 -j1 platform: Linux-6.8.0-1047-aws-aarch64-with-glibc2.35 python: 3.10.12 client-version: 1.4.0 compiler: g++ (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0 cppcheck: head 2.20.0 head-info: e5c4a73 (2026-05-01 11:10:43 +0200) count: 173 159 elapsed-time: 2.3 1.4 head-timing-info: old-timing-info: head results: hxtools-20251011/sadmin/clock_info.c:122:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] hxtools-20251011/sadmin/clock_info.c:146:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] hxtools-20251011/sadmin/clock_info.c:133:38: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] hxtools-20251011/sadmin/clock_info.c:152:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] hxtools-20251011/sadmin/clock_info.c:105:2: warning: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] hxtools-20251011/sadmin/fd0ssh.c:23:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] hxtools-20251011/sadmin/fd0ssh.c:73:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] hxtools-20251011/sadmin/fd0ssh.c:165:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] hxtools-20251011/sadmin/fd0ssh.c:153:2: error: Memory leak: buf [memleak] hxtools-20251011/sadmin/fd0ssh.c:130:14: style: Variable 'p' can be declared as pointer to const [constVariablePointer] hxtools-20251011/sadmin/ofl.c:45:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COMPAT_PROC [valueFlowBailoutIncompleteVar] hxtools-20251011/sadmin/ofl.c:96:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] hxtools-20251011/sadmin/ofl.c:230:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COMPAT_PROC [valueFlowBailoutIncompleteVar] hxtools-20251011/sadmin/ofl.c:297:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sh [valueFlowBailoutIncompleteVar] hxtools-20251011/sadmin/proc_iomem_count.c:31:29: error: There is an unknown macro here somewhere. Configuration is required. If COMPAT_PROC is a macro then please configure it. [unknownMacro] hxtools-20251011/sadmin/proc_stat_parse.c:80:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCKS_PER_SEC [valueFlowBailoutIncompleteVar] hxtools-20251011/sadmin/proc_stat_parse.c:138:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] hxtools-20251011/sadmin/proc_stat_parse.c:45:2: warning: %llu in format string (no. 14) requires 'unsigned long long *' but the argument type is 'signed long long *'. [invalidScanfArgType_int] hxtools-20251011/sadmin/proc_stat_parse.c:45:2: warning: %llu in format string (no. 15) requires 'unsigned long long *' but the argument type is 'signed long long *'. [invalidScanfArgType_int] hxtools-20251011/sadmin/proc_stat_parse.c:45:2: warning: %llu in format string (no. 16) requires 'unsigned long long *' but the argument type is 'signed long long *'. [invalidScanfArgType_int] hxtools-20251011/sadmin/proc_stat_parse.c:45:2: warning: %llu in format string (no. 17) requires 'unsigned long long *' but the argument type is 'signed long long *'. [invalidScanfArgType_int] hxtools-20251011/sadmin/proc_stat_parse.c:45:2: warning: %lld in format string (no. 41) requires 'long long *' but the argument type is 'unsigned long long *'. [invalidScanfArgType_int] hxtools-20251011/sadmin/proc_stat_parse.c:112:2: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'unsigned long long'. [invalidPrintfArgType_sint] hxtools-20251011/sadmin/proc_stat_parse.c:114:2: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'unsigned long long'. [invalidPrintfArgType_sint] hxtools-20251011/sadmin/psthreads.c:163:37: error: There is an unknown macro here somewhere. Configuration is required. If COMPAT_PROC is a macro then please configure it. [unknownMacro] hxtools-20251011/sdevel/bin2c.c:169:63: error: There is an unknown macro here somewhere. Configuration is required. If HX_SIZET_FMT is a macro then please configure it. [unknownMacro] hxtools-20251011/sdevel/checkbrack.cpp:20:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] hxtools-20251011/sdevel/checkbrack.cpp:33:31: error: Out of bounds access of line, index 'line.size()' is out of bounds. [containerOutOfBoundsIndexExpression] hxtools-20251011/sdevel/checkbrack.cpp:34:31: error: Out of bounds access of line, index 'line.size()' is out of bounds. [containerOutOfBoundsIndexExpression] hxtools-20251011/sdevel/checkbrack.cpp:35:31: error: Out of bounds access of line, index 'line.size()' is out of bounds. [containerOutOfBoundsIndexExpression] hxtools-20251011/sdevel/checkbrack.cpp:36:31: error: Out of bounds access of line, index 'line.size()' is out of bounds. [containerOutOfBoundsIndexExpression] hxtools-20251011/sdevel/checkbrack.cpp:37:31: error: Out of bounds access of line, index 'line.size()' is out of bounds. [containerOutOfBoundsIndexExpression] hxtools-20251011/sdevel/checkbrack.cpp:38:31: error: Out of bounds access of line, index 'line.size()' is out of bounds. [containerOutOfBoundsIndexExpression] hxtools-20251011/sdevel/gxxdm.cpp:327:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] hxtools-20251011/sdevel/gxxdm.cpp:55:21: style: Condition 'sym[idx]=='O'' is always false [knownConditionTrueFalse] hxtools-20251011/sdevel/gxxdm.cpp:71:10: style: Condition 'ret<0' is always false [knownConditionTrueFalse] hxtools-20251011/sdevel/gxxdm.cpp:70:26: note: Calling function 'dparse_qual_mf' returns !<=-1 hxtools-20251011/sdevel/gxxdm.cpp:71:10: note: Condition 'ret<0' is always false hxtools-20251011/sdevel/gxxdm.cpp:125:44: style:inconclusive: Function 'dparse_type' argument 1 names different: declaration '' definition 'ast'. [funcArgNamesDifferentUnnamed] hxtools-20251011/sdevel/gxxdm.cpp:125:61: style:inconclusive: Function 'dparse_type' argument 2 names different: declaration '' definition 'sym'. [funcArgNamesDifferentUnnamed] hxtools-20251011/sdevel/gxxdm.cpp:125:73: style:inconclusive: Function 'dparse_type' argument 3 names different: declaration '' definition 'idx'. [funcArgNamesDifferentUnnamed] hxtools-20251011/sdevel/gxxdm.cpp:213:49: style:inconclusive: Function 'dparse_paramlist' argument 1 names different: declaration '' definition 'ast'. [funcArgNamesDifferentUnnamed] hxtools-20251011/sdevel/gxxdm.cpp:213:66: style:inconclusive: Function 'dparse_paramlist' argument 2 names different: declaration '' definition 'sym'. [funcArgNamesDifferentUnnamed] hxtools-20251011/sdevel/gxxdm.cpp:213:78: style:inconclusive: Function 'dparse_paramlist' argument 3 names different: declaration '' definition 'idx'. [funcArgNamesDifferentUnnamed] hxtools-20251011/sdevel/gxxdm.cpp:214:10: style:inconclusive: Function 'dparse_paramlist' argument 4 names different: declaration '' definition 'endchar'. [funcArgNamesDifferentUnnamed] hxtools-20251011/sdevel/gxxdm.cpp:96:16: style: Variable 'arsize' is assigned a value that is never used. [unreadVariable] hxtools-20251011/sdevel/gxxdm.cpp:98:10: style: Variable 'arsize' is assigned a value that is never used. [unreadVariable] hxtools-20251011/sdevel/gxxdm.cpp:99:10: style: Variable 'arsize' is assigned a value that is never used. [unreadVariable] hxtools-20251011/sdevel/peicon.c:212:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] hxtools-20251011/sdevel/peicon.c:361:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] hxtools-20251011/sdevel/peicon.c:576:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HXOPT_USAGEONERR [valueFlowBailoutIncompleteVar] hxtools-20251011/sdevel/peicon.c:230:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] hxtools-20251011/sdevel/peicon.c:277:2: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] hxtools-20251011/sdevel/peicon.c:392:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] hxtools-20251011/sdevel/peicon.c:455:4: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] hxtools-20251011/sdevel/peicon.c:487:4: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] hxtools-20251011/sdevel/peicon.c:598:3: error: Resource leak: fd [resourceLeak] hxtools-20251011/sdevel/peicon.c:603:3: error: Memory leak: base [memleak] hxtools-20251011/sdevel/peicon.c:603:3: error: Resource leak: fd [resourceLeak] hxtools-20251011/sdevel/peicon.c:558:6: warning: If memory allocation fails, then there is a possible null pointer dereference: mz [nullPointerOutOfMemory] hxtools-20251011/sdevel/peicon.c:600:13: note: Assuming allocation function fails hxtools-20251011/sdevel/peicon.c:600:13: note: Assignment 'base=mmap(NULL,sb.st_size,PROT_READ,MAP_SHARED,fd,0)', assigned value is 0 hxtools-20251011/sdevel/peicon.c:601:11: note: Assuming condition is false hxtools-20251011/sdevel/peicon.c:606:20: note: Calling function 'parse_mzhdr', 1st argument 'base' value is 0 hxtools-20251011/sdevel/peicon.c:556:27: note: Assignment 'mz=base', assigned value is 0 hxtools-20251011/sdevel/peicon.c:558:6: note: Null pointer dereference hxtools-20251011/sdevel/peicon.c:607:9: warning: If memory allocation fails, then there is a possible null pointer dereference: base [nullPointerOutOfMemory] hxtools-20251011/sdevel/peicon.c:600:13: note: Assuming allocation function fails hxtools-20251011/sdevel/peicon.c:600:13: note: Assignment 'base=mmap(NULL,sb.st_size,PROT_READ,MAP_SHARED,fd,0)', assigned value is 0 hxtools-20251011/sdevel/peicon.c:601:11: note: Assuming condition is false hxtools-20251011/sdevel/peicon.c:607:9: note: Null pointer dereference hxtools-20251011/sdevel/peicon.c:572:8: style: Variable 'base' can be declared as pointer to const [constVariablePointer] hxtools-20251011/sdevel/peicon.c:135:25: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] hxtools-20251011/sdevel/peicon.c:140:26: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] hxtools-20251011/sdevel/peicon.c:25:11: style: struct member 'mzhdr::unused' is never used. [unusedStructMember] hxtools-20251011/sdevel/peicon.c:26:10: style: struct member 'mzhdr::reserved' is never used. [unusedStructMember] hxtools-20251011/sdevel/peicon.c:32:11: style: struct member 'pecoffhdr::machine' is never used. [unusedStructMember] hxtools-20251011/sdevel/peicon.c:34:11: style: struct member 'pecoffhdr::xtime' is never used. [unusedStructMember] hxtools-20251011/sdevel/peicon.c:35:11: style: struct member 'pecoffhdr::symtab_ptr' is never used. [unusedStructMember] hxtools-20251011/sdevel/peicon.c:36:11: style: struct member 'pecoffhdr::num_symbols' is never used. [unusedStructMember] hxtools-20251011/sdevel/peicon.c:38:11: style: struct member 'pecoffhdr::flags' is never used. [unusedStructMember] hxtools-20251011/sdevel/peicon.c:43:11: style: struct member 'pesecthdr::virt_size' is never used. [unusedStructMember] hxtools-20251011/sdevel/peicon.c:45:11: style: struct member 'pesecthdr::reloctbl_ofs' is never used. [unusedStructMember] hxtools-20251011/sdevel/peicon.c:45:25: style: struct member 'pesecthdr::lntbl_ofs' is never used. [unusedStructMember] hxtools-20251011/sdevel/peicon.c:46:11: style: struct member 'pesecthdr::reloc_count' is never used. [unusedStructMember] hxtools-20251011/sdevel/peicon.c:46:24: style: struct member 'pesecthdr::ln_count' is never used. [unusedStructMember] hxtools-20251011/sdevel/peicon.c:47:11: style: struct member 'pesecthdr::flags' is never used. [unusedStructMember] hxtools-20251011/sdevel/peicon.c:60:25: style: struct member 'resdataent::codepage' is never used. [unusedStructMember] hxtools-20251011/sdevel/peicon.c:60:35: style: struct member 'resdataent::reserved' is never used. [unusedStructMember] hxtools-20251011/smath/graph-fanout.c:86:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] hxtools-20251011/smath/graph-fanout.c:277:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HXOPT_USAGEONERR [valueFlowBailoutIncompleteVar] hxtools-20251011/smath/graph-fanout.c:310:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] hxtools-20251011/smath/graph-lchain.c:63:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] hxtools-20251011/smath/graph-lchain.c:139:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] hxtools-20251011/smath/graph-lchain.c:262:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] hxtools-20251011/smath/graph-lchain.c:286:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] hxtools-20251011/smath/graph-lchain.c:74:7: warning: Either the condition 'common_ancestor==NULL' is redundant or there is possible null pointer dereference: w. [nullPointerRedundantCheck] hxtools-20251011/smath/graph-lchain.c:85:22: note: Assuming that condition 'common_ancestor==NULL' is not redundant hxtools-20251011/smath/graph-lchain.c:84:20: note: Assignment to 'common_ancestor=w' hxtools-20251011/smath/graph-lchain.c:74:7: note: Null pointer dereference hxtools-20251011/smath/graph-lchain.c:37:15: style: Variable 'common_ancestor' can be declared as pointer to const [constVariablePointer] hxtools-20251011/smm/bsvplay.c:111:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] hxtools-20251011/smm/bsvplay.c:159:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] hxtools-20251011/smm/bsvplay.c:191:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] hxtools-20251011/smm/bsvplay.c:207:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HXOPT_USAGEONERR [valueFlowBailoutIncompleteVar] hxtools-20251011/smm/bsvplay.c:226:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] hxtools-20251011/smm/bsvplay.c:146:10: error: Array 'notemap[3060]' accessed at index 24479, which is out of bounds. [arrayIndexOutOfBounds] hxtools-20251011/smm/bsvplay.c:145:20: note: Assuming that condition 'n' definition 'pcsp'. [funcArgNamesDifferentUnnamed] hxtools-20251011/smm/pcspkr_pcm.c:41:52: style:inconclusive: Function 'pcspkr_output' argument 2 names different: declaration '' definition 'frequency'. [funcArgNamesDifferentUnnamed] hxtools-20251011/smm/pcspkr_pcm.c:42:10: style:inconclusive: Function 'pcspkr_output' argument 3 names different: declaration '' definition 'duration'. [funcArgNamesDifferentUnnamed] hxtools-20251011/smm/pcspkr_pcm.c:42:25: style:inconclusive: Function 'pcspkr_output' argument 4 names different: declaration '' definition 'af_pause'. [funcArgNamesDifferentUnnamed] hxtools-20251011/smm/pcspkr_pcm.c:58:42: style:inconclusive: Function 'pcspkr_silence' argument 1 names different: declaration '' definition 'pcsp'. [funcArgNamesDifferentUnnamed] hxtools-20251011/smm/pcspkr_pcm.c:58:53: style:inconclusive: Function 'pcspkr_silence' argument 2 names different: declaration '' definition 'duration'. [funcArgNamesDifferentUnnamed] hxtools-20251011/smm/qplay.c:67:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] hxtools-20251011/smm/qplay.c:108:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] hxtools-20251011/smm/qplay.c:137:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] hxtools-20251011/smm/qplay.c:158:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] hxtools-20251011/smm/qplay.c:185:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] hxtools-20251011/smm/qplay.c:203:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] hxtools-20251011/smm/qplay.c:219:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] hxtools-20251011/smm/qplay.c:237:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] hxtools-20251011/smm/qplay.c:282:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] hxtools-20251011/smm/qplay.c:348:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] hxtools-20251011/smm/qplay.c:376:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HXMAP_SCDATA [valueFlowBailoutIncompleteVar] hxtools-20251011/smm/qplay.c:421:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] hxtools-20251011/smm/qplay.c:169:30: warning: Either the condition 'n>MAX_OCTAVES*12+1' is redundant or the array 'notemap[108]' is accessed at index 108, which is out of bounds. [arrayIndexOutOfBoundsCond] hxtools-20251011/smm/qplay.c:162:8: note: Assuming that condition 'n>MAX_OCTAVES*12+1' is not redundant hxtools-20251011/smm/qplay.c:169:30: note: Array index out of bounds hxtools-20251011/smm/qplay.c:268:35: style:inconclusive: Function 'parse_str' argument 1 names different: declaration '' definition 'ptr'. [funcArgNamesDifferentUnnamed] hxtools-20251011/suser/declone.c:21:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] hxtools-20251011/suser/declone.c:52:6: error: Return value of allocation function 'mkstemp' is not stored. [leakReturnValNotUsed] hxtools-20251011/suser/declone.c:75:9: warning: If memory allocation fails, then there is a possible null pointer dereference: outmap [nullPointerOutOfMemory] hxtools-20251011/suser/declone.c:70:21: note: Assuming allocation function fails hxtools-20251011/suser/declone.c:70:21: note: Assignment 'outmap=mmap(NULL,sb.st_size,PROT_WRITE,MAP_SHARED,outfd,0)', assigned value is 0 hxtools-20251011/suser/declone.c:75:9: note: Null pointer dereference hxtools-20251011/suser/declone.c:32:8: style: Variable 'inmap' can be declared as pointer to const [constVariablePointer] hxtools-20251011/suser/sysinfo.c:200:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COMPAT_PROC [valueFlowBailoutIncompleteVar] hxtools-20251011/suser/sysinfo.c:212:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COMPAT_PROC [valueFlowBailoutIncompleteVar] hxtools-20251011/suser/sysinfo.c:427:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HXOPT_ERR_SUCCESS [valueFlowBailoutIncompleteVar] hxtools-20251011/suser/sysinfo.c:394:22: style: Condition 'sib->disk_total!=-1' is always true [knownConditionTrueFalse] hxtools-20251011/suser/sysinfo.c:239:38: style: Parameter 'sib' can be declared as pointer to const [constParameterPointer] hxtools-20251011/suser/sysinfo.c:297:46: style: Parameter 'sib' can be declared as pointer to const [constParameterPointer] hxtools-20251011/suser/sysinfo.c:324:46: style: Parameter 'sib' can be declared as pointer to const [constParameterPointer] hxtools-20251011/suser/sysinfo.c:44:7: style: struct member 'sy_block::gfx_hardware_buf' is never used. [unusedStructMember] hxtools-20251011/suser/tailhex.c:65:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HXOPT_USAGEONERR [valueFlowBailoutIncompleteVar] hxtools-20251011/suser/tailhex.c:143:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] hxtools-20251011/suser/tailhex.c:79:3: error: Memory leak: buf [memleak] hxtools-20251011/suser/xcp.c:93:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] hxtools-20251011/suser/xcp.c:104:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] hxtools-20251011/suser/xcp.c:143:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] hxtools-20251011/suser/xcp.c:189:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HXOPT_USAGEONERR [valueFlowBailoutIncompleteVar] hxtools-20251011/suser/xcp.c:213:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] hxtools-20251011/suser/xcp.c:113:3: error: Resource leak: ifd [resourceLeak] hxtools-20251011/suser/xcp.c:118:3: error: Resource leak: ifd [resourceLeak] hxtools-20251011/suser/xcp.c:118:3: error: Resource leak: ofd [resourceLeak] hxtools-20251011/suser/xcp.c:124:3: error: Resource leak: ifd [resourceLeak] hxtools-20251011/suser/xcp.c:124:3: error: Resource leak: ofd [resourceLeak] hxtools-20251011/suser/xcp.c:130:3: error: Resource leak: ifd [resourceLeak] hxtools-20251011/suser/xcp.c:130:3: error: Resource leak: ofd [resourceLeak] hxtools-20251011/suser/xcp.c:152:3: error: Resource leak: ifd [resourceLeak] hxtools-20251011/suser/xcp.c:157:3: error: Resource leak: ifd [resourceLeak] hxtools-20251011/suser/xcp.c:157:3: error: Resource leak: ofd [resourceLeak] hxtools-20251011/suser/xcp.c:161:3: error: Resource leak: ifd [resourceLeak] hxtools-20251011/suser/xcp.c:161:3: error: Resource leak: ofd [resourceLeak] hxtools-20251011/suser/xcp.c:167:3: error: Resource leak: ifd [resourceLeak] hxtools-20251011/suser/xcp.c:167:3: error: Resource leak: ofd [resourceLeak] hxtools-20251011/suser/xcp.c:172:3: error: Resource leak: ifd [resourceLeak] hxtools-20251011/suser/xcp.c:172:3: error: Resource leak: ofd [resourceLeak] hxtools-20251011/suser/xcp.c:172:3: error: Memory leak: iarea [memleak] hxtools-20251011/suser/xcp.c:179:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: oarea [nullPointerOutOfMemory] hxtools-20251011/suser/xcp.c:169:20: note: Assuming allocation function fails hxtools-20251011/suser/xcp.c:169:20: note: Assignment 'oarea=mmap(NULL,isb.st_size,PROT_WRITE,MAP_PRIVATE,ofd,0)', assigned value is 0 hxtools-20251011/suser/xcp.c:179:9: note: Null pointer dereference hxtools-20251011/suser/xcp.c:179:16: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: iarea [nullPointerOutOfMemory] hxtools-20251011/suser/xcp.c:164:20: note: Assuming allocation function fails hxtools-20251011/suser/xcp.c:164:20: note: Assignment 'iarea=mmap(NULL,isb.st_size,PROT_READ,MAP_SHARED,ifd,0)', assigned value is 0 hxtools-20251011/suser/xcp.c:170:12: note: Assuming condition is false hxtools-20251011/suser/xcp.c:179:16: note: Null pointer dereference hxtools-20251011/suser/xcp.c:181:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: iarea [nullPointerOutOfMemory] hxtools-20251011/suser/xcp.c:164:20: note: Assuming allocation function fails hxtools-20251011/suser/xcp.c:164:20: note: Assignment 'iarea=mmap(NULL,isb.st_size,PROT_READ,MAP_SHARED,ifd,0)', assigned value is 0 hxtools-20251011/suser/xcp.c:170:12: note: Assuming condition is false hxtools-20251011/suser/xcp.c:181:9: note: Null pointer dereference hxtools-20251011/suser/xcp.c:182:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: oarea [nullPointerOutOfMemory] hxtools-20251011/suser/xcp.c:169:20: note: Assuming allocation function fails hxtools-20251011/suser/xcp.c:169:20: note: Assignment 'oarea=mmap(NULL,isb.st_size,PROT_WRITE,MAP_PRIVATE,ofd,0)', assigned value is 0 hxtools-20251011/suser/xcp.c:182:9: note: Null pointer dereference diff: head hxtools-20251011/sdevel/gxxdm.cpp:125:44: style:inconclusive: Function 'dparse_type' argument 1 names different: declaration '' definition 'ast'. [funcArgNamesDifferentUnnamed] head hxtools-20251011/sdevel/gxxdm.cpp:125:61: style:inconclusive: Function 'dparse_type' argument 2 names different: declaration '' definition 'sym'. [funcArgNamesDifferentUnnamed] head hxtools-20251011/sdevel/gxxdm.cpp:125:73: style:inconclusive: Function 'dparse_type' argument 3 names different: declaration '' definition 'idx'. [funcArgNamesDifferentUnnamed] head hxtools-20251011/sdevel/gxxdm.cpp:213:49: style:inconclusive: Function 'dparse_paramlist' argument 1 names different: declaration '' definition 'ast'. [funcArgNamesDifferentUnnamed] head hxtools-20251011/sdevel/gxxdm.cpp:213:66: style:inconclusive: Function 'dparse_paramlist' argument 2 names different: declaration '' definition 'sym'. [funcArgNamesDifferentUnnamed] head hxtools-20251011/sdevel/gxxdm.cpp:213:78: style:inconclusive: Function 'dparse_paramlist' argument 3 names different: declaration '' definition 'idx'. [funcArgNamesDifferentUnnamed] head hxtools-20251011/sdevel/gxxdm.cpp:214:10: style:inconclusive: Function 'dparse_paramlist' argument 4 names different: declaration '' definition 'endchar'. [funcArgNamesDifferentUnnamed] head hxtools-20251011/smm/pcspkr_pcm.c:41:41: style:inconclusive: Function 'pcspkr_output' argument 1 names different: declaration '' definition 'pcsp'. [funcArgNamesDifferentUnnamed] head hxtools-20251011/smm/pcspkr_pcm.c:41:52: style:inconclusive: Function 'pcspkr_output' argument 2 names different: declaration '' definition 'frequency'. [funcArgNamesDifferentUnnamed] head hxtools-20251011/smm/pcspkr_pcm.c:42:10: style:inconclusive: Function 'pcspkr_output' argument 3 names different: declaration '' definition 'duration'. [funcArgNamesDifferentUnnamed] head hxtools-20251011/smm/pcspkr_pcm.c:42:25: style:inconclusive: Function 'pcspkr_output' argument 4 names different: declaration '' definition 'af_pause'. [funcArgNamesDifferentUnnamed] head hxtools-20251011/smm/pcspkr_pcm.c:58:42: style:inconclusive: Function 'pcspkr_silence' argument 1 names different: declaration '' definition 'pcsp'. [funcArgNamesDifferentUnnamed] head hxtools-20251011/smm/pcspkr_pcm.c:58:53: style:inconclusive: Function 'pcspkr_silence' argument 2 names different: declaration '' definition 'duration'. [funcArgNamesDifferentUnnamed] head hxtools-20251011/smm/qplay.c:268:35: style:inconclusive: Function 'parse_str' argument 1 names different: declaration '' definition 'ptr'. [funcArgNamesDifferentUnnamed] DONE