2026-05-01 23:49 ftp://ftp.de.debian.org/debian/pool/main/f/fxt/fxt_0.3.15.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=motif --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j6 platform: Linux-7.0.3+deb14-amd64-x86_64-with-glibc2.42 python: 3.13.12 client-version: 1.4.0 compiler: g++ (Debian 15.2.0-17) 15.2.0 cppcheck: head 2.20.0 head-info: e5c4a734 (2026-05-01 11:10:43 +0200) count: 174 176 elapsed-time: 0.3 0.2 head-timing-info: old-timing-info: head results: fxt-0.3.15/kernel/linux-fkt/kernel/fkt.c:68:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fkt_sendfile_proc [valueFlowBailoutIncompleteVar] fxt-0.3.15/kernel/linux-fkt/kernel/fkt-mod.c:48:2: error: failed to evaluate #if condition, undefined function-like macro invocation: KERNEL_VERSION( ... ) [syntaxError] fxt-0.3.15/tools/dolib.c:32:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fxt-0.3.15/tools/dolib.c:27:8: style: Variable 'prog' can be declared as pointer to const [constVariablePointer] fxt-0.3.15/tools/dolib.c:27:15: style: Variable 'arch' can be declared as pointer to const [constVariablePointer] fxt-0.3.15/tools/dolib.c:27:22: style: Variable 'def' can be declared as pointer to const [constVariablePointer] fxt-0.3.15/tools/dolib.c:27:28: style: Variable 'name' can be declared as pointer to const [constVariablePointer] fxt-0.3.15/tools/dolib.c:27:35: style: Variable 'lib' can be declared as pointer to const [constVariablePointer] fxt-0.3.15/tools/fkt_extract.c:42:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fxt-0.3.15/tools/fkt_extract.c:99:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] fxt-0.3.15/tools/fkt_extract.c:116:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fxt-0.3.15/tools/fkt_extract.c:136:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] fxt-0.3.15/tools/fkt_setmask.c:40:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FKT_SETMASK [valueFlowBailoutIncompleteVar] fxt-0.3.15/tools/fut_bench.c:67:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fxt-0.3.15/tools/fkt_select.c:99:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nb [valueFlowBailoutIncompleteVar] fxt-0.3.15/tools/fkt_select.c:193:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fxt-0.3.15/tools/fkt_select.c:231:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fxt-0.3.15/tools/fkt_select.c:255:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fxt-0.3.15/tools/fkt_record.c:85:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fxt-0.3.15/tools/fkt_record.c:105:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SC_CLK_TCK [valueFlowBailoutIncompleteVar] fxt-0.3.15/tools/fkt_record.c:128:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] fxt-0.3.15/tools/fkt_record.c:168:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] fxt-0.3.15/tools/fkt_record.c:196:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] fxt-0.3.15/tools/fkt_record.c:207:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] fxt-0.3.15/tools/fkt_record.c:263:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable opterr [valueFlowBailoutIncompleteVar] fxt-0.3.15/tools/fut_bench.c:28:14: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'f' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] fxt-0.3.15/tools/fut_bench.c:96:37: note: You might need to cast the function pointer here fxt-0.3.15/tools/fut_bench.c:28:14: note: Parameter 'arg' can be declared as pointer to const fxt-0.3.15/tools/fut_bench.c:60:26: style: Parameter 'argv' can be declared as const array [constParameter] fxt-0.3.15/tools/fkt_extract.c:58:8: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] fxt-0.3.15/tools/fkt_extract.c:76:8: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] fxt-0.3.15/tools/fkt_extract.c:114:19: style: Parameter 'argv0' can be declared as pointer to const [constParameterPointer] fxt-0.3.15/tools/fkt_extract.c:58:31: portability: 'buffer' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] fxt-0.3.15/tools/fkt_extract.c:76:32: portability: 'buffer' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] fxt-0.3.15/tools/fkt_record.c:84:18: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] fxt-0.3.15/tools/fkt_record.c:333:2: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] fxt-0.3.15/tools/fkt_record.c:335:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] fxt-0.3.15/tools/fkt_print.c:156:2: error: #error some code not the same [preprocessorErrorDirective] fxt-0.3.15/tools/fkt_record.c:87:49: warning: Either the condition '(breakout=localtime(the_time))==NULL' is redundant or there is possible null pointer dereference: breakout. [nullPointerRedundantCheck] fxt-0.3.15/tools/fkt_record.c:84:39: note: Assuming that condition '(breakout=localtime(the_time))==NULL' is not redundant fxt-0.3.15/tools/fkt_record.c:87:49: note: Null pointer dereference fxt-0.3.15/tools/fkt_select.c:111:6: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'unsigned long long'. [invalidPrintfArgType_sint] fxt-0.3.15/tools/fkt_select.c:111:6: warning: %lld in format string (no. 2) requires 'long long' but the argument type is 'unsigned long long'. [invalidPrintfArgType_sint] fxt-0.3.15/tools/fkt_select.c:111:6: warning: %lld in format string (no. 3) requires 'long long' but the argument type is 'unsigned long long'. [invalidPrintfArgType_sint] fxt-0.3.15/tools/fkt_select.c:119:6: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'unsigned long long'. [invalidPrintfArgType_sint] fxt-0.3.15/tools/fkt_select.c:123:7: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'unsigned long long'. [invalidPrintfArgType_sint] fxt-0.3.15/tools/fkt_select.c:126:6: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'unsigned long long'. [invalidPrintfArgType_sint] fxt-0.3.15/tools/fkt_select.c:81:2: error: Common realloc mistake: 'cols' nulled but not freed upon failure [memleakOnRealloc] fxt-0.3.15/tools/fkt_select.c:289:10: error: Common realloc mistake: 'pages' nulled but not freed upon failure [memleakOnRealloc] fxt-0.3.15/tools/fkt_select.c:301:8: error: Common realloc mistake: 'pages' nulled but not freed upon failure [memleakOnRealloc] fxt-0.3.15/tools/fkt_record.c:72:22: style: Parameter 'message' can be declared as pointer to const [constParameterPointer] fxt-0.3.15/tools/fkt_record.c:75:14: style: Variable 'breakout' can be declared as pointer to const [constVariablePointer] fxt-0.3.15/tools/fkt_record.c:98:56: style: Parameter 'tmsstart' can be declared as pointer to const [constParameterPointer] fxt-0.3.15/tools/fkt_select.c:117:13: style: Unsigned expression 'mousex' can't be negative so it is unnecessary to test it. [unsignedPositive] fxt-0.3.15/tools/fkt_record.c:99:25: style: Parameter 'tmsend' can be declared as pointer to const [constParameterPointer] fxt-0.3.15/tools/fkt_select.c:117:45: style: Unsigned expression 'mousey' can't be negative so it is unnecessary to test it. [unsignedPositive] fxt-0.3.15/tools/fkt_record.c:210:18: style: Parameter 'progname' can be declared as pointer to const [constParameterPointer] fxt-0.3.15/tools/fkt_record.c:245:11: style: Variable 'outfile' can be declared as pointer to const [constVariablePointer] fxt-0.3.15/tools/fkt_select.c:229:26: style: Parameter 'argv0' can be declared as pointer to const [constParameterPointer] fxt-0.3.15/tools/fkt_record.c:67:17: style: struct member 'code_list_item::code' is never used. [unusedStructMember] fxt-0.3.15/tools/fkt_record.c:68:12: style: struct member 'code_list_item::name' is never used. [unusedStructMember] fxt-0.3.15/tools/fkt_record.c:69:25: style: struct member 'code_list_item::link' is never used. [unusedStructMember] fxt-0.3.15/tools/fkt_record.c:143:8: style: Variable 'sum' is assigned a value that is never used. [unreadVariable] fxt-0.3.15/tools/fkt_record.c:145:9: style: Variable 'sum' is assigned a value that is never used. [unreadVariable] fxt-0.3.15/tools/fxt_internal.h:183:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fxt_block_ondisk [valueFlowBailoutIncompleteVar] fxt-0.3.15/tools/fxt_internal.h:210:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fxt_block_ondisk [valueFlowBailoutIncompleteVar] fxt-0.3.15/tools/fxt_internal.h:231:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fxt-0.3.15/tools/get_cpu_info.c:55:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fxt-0.3.15/tools/get_cpu_info.c:71:26: style: Checking if unsigned expression 'fxt->infos.ncpus' is less than zero. [unsignedLessThanZero] fxt-0.3.15/tools/get_cpu_info.c:43:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] fxt-0.3.15/tools/fxt_internal.h:228:60: style: Parameter 'block' can be declared as pointer to const [constParameterPointer] fxt-0.3.15/tools/fut_record.c:291:12: portability: '(void*)first_slot' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] fxt-0.3.15/tools/fut_record.c:294:51: portability: '(void*)prev_slot' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] fxt-0.3.15/tools/fut_record.c:310:6: portability: '(void*)first_slot' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] fxt-0.3.15/tools/fut_record.c:314:47: portability: '(void*)first_slot' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] fxt-0.3.15/tools/ev.c:84:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fxt-0.3.15/tools/ev.c:176:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fxt-0.3.15/tools/fxt.c:96:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] fxt-0.3.15/tools/fxt.c:113:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] fxt-0.3.15/tools/fxt.c:134:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] fxt-0.3.15/tools/fxt.c:200:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] fxt-0.3.15/tools/fxt.c:228:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fxt_block_ondisk [valueFlowBailoutIncompleteVar] fxt-0.3.15/tools/fxt.c:257:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fxt_block_ondisk [valueFlowBailoutIncompleteVar] fxt-0.3.15/tools/fxt.c:270:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] fxt-0.3.15/tools/fxt_print.c:234:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fxt-0.3.15/tools/fxt_print.c:350:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable opterr [valueFlowBailoutIncompleteVar] fxt-0.3.15/tools/fut_setup.c:108:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fxt-0.3.15/tools/fut_setup.c:220:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] fxt-0.3.15/tools/fut_setup.c:287:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPERM [valueFlowBailoutIncompleteVar] fxt-0.3.15/tools/fut_setup.c:348:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] fxt-0.3.15/tools/fut_setup.c:381:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPERM [valueFlowBailoutIncompleteVar] fxt-0.3.15/tools/fut_setup.c:432:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] fxt-0.3.15/tools/names.c:58:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fxt-0.3.15/tools/names.c:232:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FKT_SYS_CALL_MASK [valueFlowBailoutIncompleteVar] fxt-0.3.15/tools/fxt_print.c:232:18: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] fxt-0.3.15/tools/fxt_print.c:404:2: warning: %i in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] fxt-0.3.15/tools/fxt_print.c:407:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] fxt-0.3.15/tools/fxt_print.c:409:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] fxt-0.3.15/tools/fxt_print.c:410:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] fxt-0.3.15/tools/fxt_print.c:411:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] fxt-0.3.15/tools/fxt_print.c:412:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] fxt-0.3.15/tools/fxt_print.c:413:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] fxt-0.3.15/tools/fxt_print.c:414:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] fxt-0.3.15/tools/fxt_print.c:415:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] fxt-0.3.15/tools/fxt_print.c:431:2: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] fxt-0.3.15/tools/fxt_print.c:226:43: style: Parameter 'message' can be declared as pointer to const [constParameterPointer] fxt-0.3.15/tools/fxt_print.c:228:13: style: Variable 'breakout' can be declared as pointer to const [constVariablePointer] fxt-0.3.15/tools/fxt_print.c:280:10: style: Variable 'name' can be declared as pointer to const [constVariablePointer] fxt-0.3.15/tools/fxt_print.c:324:18: style: Parameter 'progname' can be declared as pointer to const [constParameterPointer] fxt-0.3.15/tools/fxt_print.c:340:10: style: Variable 'infile' can be declared as pointer to const [constVariablePointer] fxt-0.3.15/tools/pids.c:67:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fxt-0.3.15/tools/pids.c:102:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fxt-0.3.15/tools/ev.c:84:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] fxt-0.3.15/tools/fut_setup.c:432:24: warning: If memory allocation fails, then there is a possible null pointer dereference: fut_filename [nullPointerOutOfMemory] fxt-0.3.15/tools/fut_setup.c:421:28: note: Assuming allocation function fails fxt-0.3.15/tools/fut_setup.c:421:28: note: Assignment 'fut_filename=strdup("trace_file")', assigned value is 0 fxt-0.3.15/tools/fut_setup.c:432:24: note: Null pointer dereference fxt-0.3.15/tools/fut_setup.c:409:66: style: Checking if unsigned expression 'n=fut_getbuffer(&nlongs,©,first_slot,next_slot)' is less than zero. [unsignedLessThanZero] fxt-0.3.15/tools/fut_setup.c:513:14: style: Checking if unsigned expression 'nlongs' is less than zero. [unsignedLessThanZero] fxt-0.3.15/tools/fut_setup.c:191:29: style:inconclusive: Function 'fut_setup' argument 1 names different: declaration 'nints' definition 'nlongs'. [funcArgNamesDifferent] fxt-0.3.15/tools/fut.h:2159:36: note: Function 'fut_setup' argument 1 names different: declaration 'nints' definition 'nlongs'. fxt-0.3.15/tools/fut_setup.c:191:29: note: Function 'fut_setup' argument 1 names different: declaration 'nints' definition 'nlongs'. fxt-0.3.15/tools/fut_setup.c:267:44: style:inconclusive: Function 'fut_setup_flush_callback' argument 1 names different: declaration 'nints' definition 'nlongs'. [funcArgNamesDifferent] fxt-0.3.15/tools/fut.h:2161:51: note: Function 'fut_setup_flush_callback' argument 1 names different: declaration 'nints' definition 'nlongs'. fxt-0.3.15/tools/fut_setup.c:267:44: note: Function 'fut_setup_flush_callback' argument 1 names different: declaration 'nints' definition 'nlongs'. fxt-0.3.15/tools/fut_setup.c:374:35: style:inconclusive: Function 'fut_getbuffer' argument 1 names different: declaration 'nints' definition 'nlongs'. [funcArgNamesDifferent] fxt-0.3.15/tools/fut.h:2168:42: note: Function 'fut_getbuffer' argument 1 names different: declaration 'nints' definition 'nlongs'. fxt-0.3.15/tools/fut_setup.c:374:35: note: Function 'fut_getbuffer' argument 1 names different: declaration 'nints' definition 'nlongs'. fxt-0.3.15/tools/fut_setup.c:250:2: style: Variable '__args' can be declared as pointer to const [constVariablePointer] fxt-0.3.15/tools/fut_setup.c:251:2: style: Variable '__args' can be declared as pointer to const [constVariablePointer] fxt-0.3.15/tools/fut_setup.c:252:2: style: Variable '__args' can be declared as pointer to const [constVariablePointer] fxt-0.3.15/tools/fut_setup.c:357:2: style: Variable '__args' can be declared as pointer to const [constVariablePointer] fxt-0.3.15/tools/fut_setup.c:358:2: style: Variable '__args' can be declared as pointer to const [constVariablePointer] fxt-0.3.15/tools/fut_setup.c:359:2: style: Variable '__args' can be declared as pointer to const [constVariablePointer] fxt-0.3.15/tools/fut_setup.c:461:42: portability: '(void*)copy' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] fxt-0.3.15/tools/fut_setup.c:194:17: style: Unused variable: iptr [unusedVariable] fxt-0.3.15/tools/fut_setup.c:459:19: style: Variable 'to_write' is assigned a value that is never used. [unreadVariable] fxt-0.3.15/tools/symbols.c:65:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fxt-0.3.15/tools/symbols.c:162:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fxt-0.3.15/tools/symbols.c:201:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fxt-0.3.15/tools/symbols.c:249:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fxt-0.3.15/tools/symbols.c:373:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fxt-0.3.15/tools/symbols.c:393:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fxt-0.3.15/tools/symbols.c:421:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] fxt-0.3.15/tools/test.c:40:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fxt-0.3.15/tools/time.c:25:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] fxt-0.3.15/tools/fxt.c:262:9: style: Condition 'ret==-1' is always false [knownConditionTrueFalse] fxt-0.3.15/tools/time.c:21:37: style: Parameter 'mhz' can be declared as const array [constParameter] fxt-0.3.15/tools/names.c:70:21: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] fxt-0.3.15/tools/names.c:88:42: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] fxt-0.3.15/tools/timer.c:29:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SC_CLK_TCK [valueFlowBailoutIncompleteVar] fxt-0.3.15/tools/timer.c:47:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fxt-0.3.15/tools/timer.c:57:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] fxt-0.3.15/tools/timer.c:78:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SC_CLK_TCK [valueFlowBailoutIncompleteVar] fxt-0.3.15/tools/timer.c:22:56: style: Parameter 'tmsstart' can be declared as pointer to const [constParameterPointer] fxt-0.3.15/tools/timer.c:23:25: style: Parameter 'tmsend' can be declared as pointer to const [constParameterPointer] fxt-0.3.15/tools/timer.c:45:22: style: Parameter 's' can be declared as pointer to const [constParameterPointer] fxt-0.3.15/tools/timer.c:52:19: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] fxt-0.3.15/tools/names.c:84:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] fxt-0.3.15/tools/names.c:83:40: note: Assuming allocation function fails fxt-0.3.15/tools/names.c:83:9: note: Assignment 'ptr=(struct code_list_item*)malloc(sizeof(struct code_list_item))', assigned value is 0 fxt-0.3.15/tools/names.c:84:3: note: Null pointer dereference fxt-0.3.15/tools/names.c:98:11: warning: If memory allocation fails, then there is a possible null pointer dereference: name [nullPointerOutOfMemory] fxt-0.3.15/tools/names.c:97:16: note: Assuming allocation function fails fxt-0.3.15/tools/names.c:97:16: note: Assignment 'name=malloc(i)', assigned value is 0 fxt-0.3.15/tools/names.c:98:11: note: Null pointer dereference fxt-0.3.15/tools/names.c:100:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] fxt-0.3.15/tools/names.c:83:40: note: Assuming allocation function fails fxt-0.3.15/tools/names.c:83:9: note: Assignment 'ptr=(struct code_list_item*)malloc(sizeof(struct code_list_item))', assigned value is 0 fxt-0.3.15/tools/names.c:100:3: note: Null pointer dereference fxt-0.3.15/tools/names.c:177:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] fxt-0.3.15/tools/names.c:170:40: note: Assuming allocation function fails fxt-0.3.15/tools/names.c:170:9: note: Assignment 'ptr=(struct code_list_item*)malloc(sizeof(struct code_list_item))', assigned value is 0 fxt-0.3.15/tools/names.c:177:3: note: Null pointer dereference fxt-0.3.15/tools/fxt.c:86:2: style:inconclusive: Statements following 'return' will never be executed. [unreachableCode] fxt-0.3.15/tools/names.c:88:40: style: Variable 'xptr' is reassigned a value before the old one has been used. [redundantAssignment] fxt-0.3.15/tools/names.c:87:8: note: xptr is assigned fxt-0.3.15/tools/names.c:88:40: note: xptr is overwritten fxt-0.3.15/tools/names.c:155:65: style: Checking if unsigned expression 'fread((void*)&fxt->nirqs,sizeof(fxt->nirqs),1,fstream)' is less than zero. [unsignedLessThanZero] fxt-0.3.15/tools/names.c:161:55: style: Checking if unsigned expression 'fread((void*)&ncpus,sizeof(ncpus),1,fstream)' is less than zero. [unsignedLessThanZero] fxt-0.3.15/tools/fxt.c:255:27: style: Variable 'buf' can be declared as pointer to const [constVariablePointer] fxt-0.3.15/tools/names.c:131:25: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] fxt-0.3.15/tools/names.c:199:25: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] fxt-0.3.15/tools/names.c:291:24: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] fxt-0.3.15/tools/fxt.c:202:17: style: Variable 'dummyoff' is assigned a value that is never used. [unreadVariable] fxt-0.3.15/tools/pids.c:168:3: error: Memory leak: entry [memleak] fxt-0.3.15/tools/pids.c:192:50: style: Checking if unsigned expression 'pid' is less than zero. [unsignedLessThanZero] fxt-0.3.15/tools/pids.c:73:36: style: Parameter 'statfilename' can be declared as pointer to const [constParameterPointer] fxt-0.3.15/tools/pids.c:93:17: style: Variable 'dirent' can be declared as pointer to const [constVariablePointer] fxt-0.3.15/tools/pids.c:93:25: style: Variable 'dirent2' can be declared as pointer to const [constVariablePointer] fxt-0.3.15/tools/pids.c:191:20: style: Variable 'cur' can be declared as pointer to const [constVariablePointer] fxt-0.3.15/tools/symbols.c:168:11: warning: %ld in format string (no. 4) requires 'long *' but the argument type is 'unsigned long *'. [invalidScanfArgType_int] fxt-0.3.15/tools/symbols.c:168:11: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] fxt-0.3.15/tools/symbols.c:172:11: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] fxt-0.3.15/tools/symbols.c:256:22: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] fxt-0.3.15/tools/symbols.c:258:10: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] fxt-0.3.15/tools/symbols.c:378:9: warning: Either the condition '(fd=fopen(file,"r"))<0' is redundant or there is possible null pointer dereference: fd. [nullPointerRedundantCheck] fxt-0.3.15/tools/symbols.c:371:30: note: Assuming that condition '(fd=fopen(file,"r"))<0' is not redundant fxt-0.3.15/tools/symbols.c:378:9: note: Null pointer dereference fxt-0.3.15/tools/symbols.c:371:30: style: A pointer can not be negative so it is either pointless or an error to check if it is. [pointerLessThanZero] fxt-0.3.15/tools/symbols.c:46:29: style: Variable 'found' can be declared as pointer to const [constVariablePointer] fxt-0.3.15/tools/symbols.c:385:24: style: Variable 'cur' can be declared as pointer to const [constVariablePointer] fxt-0.3.15/tools/symbols.c:453:24: style: Variable 'cur' can be declared as pointer to const [constVariablePointer] diff: 2.20.0 fxt-0.3.15/tools/names.c:176:3: warning: If memory allocation fails, then there is a possible null pointer dereference: name [nullPointerOutOfMemory] fxt-0.3.15/tools/names.c:174:16: note: Assuming allocation function fails fxt-0.3.15/tools/names.c:174:16: note: Assignment 'name=malloc(k)', assigned value is 0 fxt-0.3.15/tools/names.c:176:3: note: Null pointer dereference 2.20.0 fxt-0.3.15/tools/names.c:99:3: warning: If memory allocation fails, then there is a possible null pointer dereference: name [nullPointerOutOfMemory] fxt-0.3.15/tools/names.c:97:16: note: Assuming allocation function fails fxt-0.3.15/tools/names.c:97:16: note: Assignment 'name=malloc(i)', assigned value is 0 fxt-0.3.15/tools/names.c:99:3: note: Null pointer dereference DONE