2025-11-23 08:49 ftp://ftp.de.debian.org/debian/pool/main/p/ply-probe/ply-probe_2.4.0.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --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-5.4.0-216-generic-x86_64-with-glibc2.29 python: 3.8.10 client-version: 1.3.69 compiler: g++ (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0 cppcheck: head 2.18.0 head-info: cb76e52 (2025-11-22 14:47:37 +0100) count: 457 456 elapsed-time: 1.2 1.6 head-timing-info: old-timing-info: head results: ply-probe-2.4.0/src/libply/aux/kallsyms.c:66:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable addr [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/aux/perf_event.c:33:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/aux/kallsyms.c:80:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIuPTR [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/aux/perf_event.c:49:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PERF_TYPE_TRACEPOINT [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/aux/kallsyms.c:101:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable member [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/aux/perf_event.c:82:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PERF_SAMPLE_RAW [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/aux/kallsyms.c:130:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRACEPATH [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/aux/perf_event.c:108:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PERF_TYPE_SOFTWARE [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/aux/printxf.c:43:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable printxf_default [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/aux/kallsyms.c:175:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EIO [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/aux/perf_event.c:128:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/aux/printxf.c:184:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/aux/kallsyms.c:201:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/aux/perf_event.c:136:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/aux/kallsyms.c:210:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/aux/kallsyms.c:239:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ksym [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/aux/kallsyms.c:258:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPERM [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/aux/kallsyms.c:297:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/aux/kallsyms.c:146:7: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] ply-probe-2.4.0/src/libply/aux/kallsyms.c:193:7: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] ply-probe-2.4.0/src/libply/aux/syscall.c:32:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LINUX_VERSION_CODE [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/aux/kallsyms.c:142:4: error: Common realloc mistake: 'list' nulled but not freed upon failure [memleakOnRealloc] ply-probe-2.4.0/src/libply/aux/syscall.c:80:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_bpf [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/aux/syscall.c:85:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_MAP_LOOKUP_ELEM [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/aux/syscall.c:90:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_MAP_UPDATE_ELEM [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/aux/kallsyms.c:212:2: warning: If memory allocation fails, then there is a possible null pointer dereference: ks [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/aux/kallsyms.c:396:14: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/aux/kallsyms.c:396:14: note: Assignment 'ks=xcalloc(1,sizeof(*ks))', assigned value is 0 ply-probe-2.4.0/src/libply/aux/kallsyms.c:398:25: note: Calling function 'ksyms_cache_open', 1st argument 'ks' value is 0 ply-probe-2.4.0/src/libply/aux/kallsyms.c:365:27: note: Calling function '__ksyms_cache_open', 1st argument 'ks' value is 0 ply-probe-2.4.0/src/libply/aux/kallsyms.c:209:10: note: Assuming condition is false ply-probe-2.4.0/src/libply/aux/kallsyms.c:212:2: note: Null pointer dereference ply-probe-2.4.0/src/libply/aux/syscall.c:95:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_MAP_DELETE_ELEM [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/aux/kallsyms.c:213:6: warning: If memory allocation fails, then there is a possible null pointer dereference: ks [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/aux/kallsyms.c:396:14: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/aux/kallsyms.c:396:14: note: Assignment 'ks=xcalloc(1,sizeof(*ks))', assigned value is 0 ply-probe-2.4.0/src/libply/aux/kallsyms.c:398:25: note: Calling function 'ksyms_cache_open', 1st argument 'ks' value is 0 ply-probe-2.4.0/src/libply/aux/kallsyms.c:365:27: note: Calling function '__ksyms_cache_open', 1st argument 'ks' value is 0 ply-probe-2.4.0/src/libply/aux/kallsyms.c:209:10: note: Assuming condition is false ply-probe-2.4.0/src/libply/aux/kallsyms.c:213:6: note: Null pointer dereference ply-probe-2.4.0/src/libply/aux/syscall.c:100:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_MAP_GET_NEXT_KEY [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/aux/syscall.c:108:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_perf_event_open [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/aux/kallsyms.c:88:43: style: Parameter 'ks' can be declared as pointer to const [constParameterPointer] ply-probe-2.4.0/src/libply/aux/kallsyms.c:114:47: style: Parameter 'kfuncs' can be declared as pointer to const [constParameterPointer] ply-probe-2.4.0/src/libply/aux/kallsyms.c:138:16: style: Variable 'ksym' can be declared as pointer to const [constVariablePointer] ply-probe-2.4.0/src/libply/aux/kallsyms.c:173:46: style: Parameter 'ksym' can be declared as pointer to const [constParameterPointer] ply-probe-2.4.0/src/libply/aux/kallsyms.c:207:6: style: Unused variable: err [unusedVariable] ply-probe-2.4.0/src/libply/aux/kallsyms.c:207:11: style: Unused variable: i [unusedVariable] ply-probe-2.4.0/src/libply/aux/kallsyms.c:287:11: style: Unused variable: i [unusedVariable] ply-probe-2.4.0/src/libply/aux/syscall.c:24:11: style: Parameter 'vlog' can be declared as pointer to const [constParameterPointer] ply-probe-2.4.0/src/libply/aux/syscall.c:71:15: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] ply-probe-2.4.0/src/libply/aux/syscall.c:71:26: style: Parameter 'val_or_next' can be declared as pointer to const [constParameterPointer] ply-probe-2.4.0/src/libply/aux/printxf.c:150:16: style: Variable 'dummy_ptr' can be declared as pointer to const [constVariablePointer] ply-probe-2.4.0/src/libply/aux/printxf.c:163:39: error: Uninitialized variable: ap [uninitvar] ply-probe-2.4.0/src/libply/aux/printxf.c:110:20: style: Variable 'dummy_int' is assigned a value that is never used. [unreadVariable] ply-probe-2.4.0/src/libply/aux/printxf.c:127:27: style: Variable 'dummy_ld' is assigned a value that is never used. [unreadVariable] ply-probe-2.4.0/src/libply/aux/printxf.c:129:21: style: Variable 'dummy_d' is assigned a value that is never used. [unreadVariable] ply-probe-2.4.0/src/libply/aux/printxf.c:138:29: style: Variable 'dummy_ll' is assigned a value that is never used. [unreadVariable] ply-probe-2.4.0/src/libply/aux/printxf.c:140:23: style: Variable 'dummy_l' is assigned a value that is never used. [unreadVariable] ply-probe-2.4.0/src/libply/aux/printxf.c:142:20: style: Variable 'dummy_int' is assigned a value that is never used. [unreadVariable] ply-probe-2.4.0/src/libply/aux/printxf.c:150:26: style: Variable 'dummy_ptr' is assigned a value that is never used. [unreadVariable] ply-probe-2.4.0/src/libply/aux/printxf.c:37:20: style: Unused variable: wsize [unusedVariable] ply-probe-2.4.0/src/libply/aux/printxf.c:38:15: style: Unused variable: handler [unusedVariable] ply-probe-2.4.0/src/libply/aux/printxf.c:110:10: style: Variable 'dummy_int' is assigned a value that is never used. [unreadVariable] ply-probe-2.4.0/src/libply/aux/printxf.c:127:18: style: Variable 'dummy_ld' is assigned a value that is never used. [unreadVariable] ply-probe-2.4.0/src/libply/aux/printxf.c:129:13: style: Variable 'dummy_d' is assigned a value that is never used. [unreadVariable] ply-probe-2.4.0/src/libply/aux/printxf.c:138:20: style: Variable 'dummy_ll' is assigned a value that is never used. [unreadVariable] ply-probe-2.4.0/src/libply/aux/printxf.c:140:15: style: Variable 'dummy_l' is assigned a value that is never used. [unreadVariable] ply-probe-2.4.0/src/libply/aux/printxf.c:142:10: style: Variable 'dummy_int' is assigned a value that is never used. [unreadVariable] ply-probe-2.4.0/src/libply/aux/printxf.c:150:16: style: Variable 'dummy_ptr' is assigned a value that is never used. [unreadVariable] ply-probe-2.4.0/src/libply/aux/printxf.c:163:39: error: va_list 'ap' used before va_start() was called. [va_list_usedBeforeStarted] ply-probe-2.4.0/src/libply/aux/utils.c:38:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/aux/utils.c:105:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N_EXPR [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/aux/utils.c:115:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N_EXPR [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/aux/utils.c:154:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vfprintxf [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/lib/qsort_r.c:17:13: style: Variable 'end' can be declared as pointer to const [constVariablePointer] ply-probe-2.4.0/src/libply/built-in/aggregation.c:21:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_REG_0 [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/aggregation.c:49:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_REG_0 [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/aggregation.c:68:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_SCALAR [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/aggregation.c:140:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable unicode [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/aggregation.c:270:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_REG_0 [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/aggregation.c:320:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_SCALAR [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/aux/utils.c:81:2: warning: Return value of function vasprintf() is not used. [ignoredReturnValue] ply-probe-2.4.0/src/libply/built-in/buffer.c:29:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable node [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/buffer.c:43:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx64 [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/buffer.c:56:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable node [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/buffer.c:133:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable strict [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/buffer.c:166:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/buffer.c:199:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PERF_TYPE_SOFTWARE [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/buffer.c:231:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable len [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/aux/utils.c:22:21: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/aux/utils.c:34:20: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/aux/utils.c:34:20: note: Assignment 'str=strdup(_str)', assigned value is 0 ply-probe-2.4.0/src/libply/aux/utils.c:36:10: note: Calling function 'strkill', 1st argument 'str' value is 0 ply-probe-2.4.0/src/libply/aux/utils.c:22:13: note: Assignment 'r=w=str', assigned value is 0 ply-probe-2.4.0/src/libply/aux/utils.c:22:21: note: Null pointer dereference ply-probe-2.4.0/src/libply/aux/utils.c:39:7: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/aux/utils.c:34:20: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/aux/utils.c:34:20: note: Assignment 'str=strdup(_str)', assigned value is 0 ply-probe-2.4.0/src/libply/aux/utils.c:39:7: note: Null pointer dereference ply-probe-2.4.0/src/libply/aux/utils.c:111:43: style: Parameter 'n' can be declared as pointer to const. However it seems that '__ast_fprint_post' is a callback function, if 'n' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ply-probe-2.4.0/src/libply/aux/utils.c:127:36: note: You might need to cast the function pointer here ply-probe-2.4.0/src/libply/aux/utils.c:111:43: note: Parameter 'n' can be declared as pointer to const ply-probe-2.4.0/src/libply/built-in/built-in.c:47:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable t_s64 [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/built-in.c:88:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOC_IMM [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/built-in.c:119:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable t_char [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/flow.c:34:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOC_REG [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/built-in.c:156:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/flow.c:65:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_JA [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/built-in.c:181:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_MAP [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/flow.c:119:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_SCALAR [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/built-in.c:230:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable entry [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/flow.c:145:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable val [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/built-in.c:269:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/flow.c:187:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_SCALAR [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/built-in.c:310:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_REG_1 [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/built-in.c:329:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable entry [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/flow.c:195:2: warning: If memory allocation fails, then there is a possible null pointer dereference: evh [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/built-in/flow.c:193:15: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/built-in/flow.c:193:15: note: Assignment 'evh=xcalloc(1,sizeof(*evh))', assigned value is 0 ply-probe-2.4.0/src/libply/built-in/flow.c:195:2: note: Null pointer dereference ply-probe-2.4.0/src/libply/built-in/aggregation.c:210:4: style: Condition 'hs' is always true [knownConditionTrueFalse] ply-probe-2.4.0/src/libply/built-in/aggregation.c:210:20: style: Condition 'hs' is always true [knownConditionTrueFalse] ply-probe-2.4.0/src/libply/built-in/buffer.c:235:2: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/built-in/buffer.c:233:15: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/built-in/buffer.c:233:15: note: Assignment 'buf=xcalloc(1,sizeof(*buf)+ncpus*sizeof(buf->q[0]))', assigned value is 0 ply-probe-2.4.0/src/libply/built-in/buffer.c:235:2: note: Null pointer dereference ply-probe-2.4.0/src/libply/built-in/buffer.c:236:2: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/built-in/buffer.c:233:15: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/built-in/buffer.c:233:15: note: Assignment 'buf=xcalloc(1,sizeof(*buf)+ncpus*sizeof(buf->q[0]))', assigned value is 0 ply-probe-2.4.0/src/libply/built-in/buffer.c:236:2: note: Null pointer dereference ply-probe-2.4.0/src/libply/built-in/buffer.c:238:2: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/built-in/buffer.c:233:15: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/built-in/buffer.c:233:15: note: Assignment 'buf=xcalloc(1,sizeof(*buf)+ncpus*sizeof(buf->q[0]))', assigned value is 0 ply-probe-2.4.0/src/libply/built-in/buffer.c:238:2: note: Null pointer dereference ply-probe-2.4.0/src/libply/built-in/flow.c:27:22: style: Variable 'estmt' can be declared as pointer to const [constVariablePointer] ply-probe-2.4.0/src/libply/built-in/flow.c:58:65: style: Parameter 'n' can be declared as pointer to const. However it seems that 'ifjump_ir_post' is a callback function, if 'n' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ply-probe-2.4.0/src/libply/built-in/flow.c:76:13: note: You might need to cast the function pointer here ply-probe-2.4.0/src/libply/built-in/flow.c:58:65: note: Parameter 'n' can be declared as pointer to const ply-probe-2.4.0/src/libply/built-in/flow.c:152:21: style: Variable 'evh' can be declared as pointer to const [constVariablePointer] ply-probe-2.4.0/src/libply/built-in/aggregation.c:60:15: style: Variable 't' can be declared as pointer to const [constVariablePointer] ply-probe-2.4.0/src/libply/built-in/aggregation.c:164:54: style: Parameter 't' can be declared as pointer to const [constParameterPointer] ply-probe-2.4.0/src/libply/built-in/aggregation.c:194:15: style: Variable 'arg_type' can be declared as pointer to const [constVariablePointer] ply-probe-2.4.0/src/libply/built-in/buffer.c:81:73: style: Parameter 'mem' can be declared as pointer to const [constParameterPointer] ply-probe-2.4.0/src/libply/built-in/buffer.c:102:25: style: Variable 'next' can be declared as pointer to const [constVariablePointer] ply-probe-2.4.0/src/libply/built-in/buffer.c:121:18: portability: 'q->buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] ply-probe-2.4.0/src/libply/built-in/built-in.c:115:46: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] ply-probe-2.4.0/src/libply/built-in/built-in.c:225:58: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] ply-probe-2.4.0/src/libply/built-in/built-in.c:292:45: style: Parameter 'pb' can be declared as pointer to const. However it seems that 'built_in_probe' is a callback function, if 'pb' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ply-probe-2.4.0/src/libply/built-in/built-in.c:321:11: note: You might need to cast the function pointer here ply-probe-2.4.0/src/libply/built-in/built-in.c:292:45: note: Parameter 'pb' can be declared as pointer to const ply-probe-2.4.0/src/libply/built-in/built-in.c:157:6: style: Variable 'num' is assigned a value that is never used. [unreadVariable] ply-probe-2.4.0/src/libply/built-in/built-in.c:228:6: style: Unused variable: err [unusedVariable] ply-probe-2.4.0/src/libply/built-in/math.c:24:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOC_REG [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/math.c:67:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_SCALAR [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/math.c:117:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_JEQ [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/math.c:170:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_SCALAR [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/math.c:215:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOC_REG [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/math.c:287:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_SCALAR [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/math.c:329:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOC_REG [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/math.c:405:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_SCALAR [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/print.c:127:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOSYS [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/proc.c:34:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stack_depth [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/print.c:201:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/proc.c:72:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_REG_1 [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/print.c:255:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/proc.c:98:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stack_depth [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/print.c:301:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/proc.c:126:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu32 [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/print.c:369:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable t_void [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/proc.c:153:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_FUNC_get_current_pid_tgid [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/proc.c:175:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_FUNC_get_current_pid_tgid [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/proc.c:194:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu32 [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/proc.c:221:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_FUNC_get_current_uid_gid [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/proc.c:245:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_FUNC_get_current_uid_gid [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/proc.c:262:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu32 [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/proc.c:289:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_FUNC_get_smp_processor_id [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/proc.c:327:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_REG_1 [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/proc.c:359:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCK_MONOTONIC_RAW [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/proc.c:389:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/proc.c:497:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_FUNC_ktime_get_ns [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/memory.c:24:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_B [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/memory.c:60:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N_STRING [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/memory.c:102:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/memory.c:140:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_REG_1 [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/memory.c:155:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_REG_3 [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/memory.c:164:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string_size [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/memory.c:261:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_POINTER [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/memory.c:335:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_REG_3 [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/memory.c:374:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_STRUCT [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/memory.c:426:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_REG_0 [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/memory.c:441:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_POINTER [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/memory.c:486:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/memory.c:541:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_STRUCT [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/memory.c:567:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_REG_1 [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/memory.c:598:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_REG_1 [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/memory.c:633:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_MAP [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/memory.c:658:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N_EXPR [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/memory.c:730:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable t_void [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/memory.c:761:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/memory.c:810:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_REG_1 [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/memory.c:827:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/memory.c:855:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_MAP [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/memory.c:929:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_MAP [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/print.c:141:9: warning: If memory allocation fails, then there is a possible null pointer dereference: val [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/built-in/print.c:140:15: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/built-in/print.c:140:15: note: Assignment 'val=xcalloc(1,size+1)', assigned value is 0 ply-probe-2.4.0/src/libply/built-in/print.c:141:9: note: Null pointer dereference ply-probe-2.4.0/src/libply/built-in/print.c:267:2: warning: If memory allocation fails, then there is a possible null pointer dereference: pevh [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/built-in/print.c:265:16: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/built-in/print.c:265:16: note: Assignment 'pevh=xcalloc(1,sizeof(*pevh))', assigned value is 0 ply-probe-2.4.0/src/libply/built-in/print.c:267:2: note: Null pointer dereference ply-probe-2.4.0/src/libply/built-in/print.c:268:2: warning: If memory allocation fails, then there is a possible null pointer dereference: pevh [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/built-in/print.c:265:16: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/built-in/print.c:265:16: note: Assignment 'pevh=xcalloc(1,sizeof(*pevh))', assigned value is 0 ply-probe-2.4.0/src/libply/built-in/print.c:268:2: note: Null pointer dereference ply-probe-2.4.0/src/libply/built-in/print.c:271:2: warning: If memory allocation fails, then there is a possible null pointer dereference: pevh [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/built-in/print.c:265:16: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/built-in/print.c:265:16: note: Assignment 'pevh=xcalloc(1,sizeof(*pevh))', assigned value is 0 ply-probe-2.4.0/src/libply/built-in/print.c:271:2: note: Null pointer dereference ply-probe-2.4.0/src/libply/built-in/proc.c:418:7: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] ply-probe-2.4.0/src/libply/built-in/print.c:364:2: warning: If memory allocation fails, then there is a possible null pointer dereference: evh [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/built-in/print.c:362:15: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/built-in/print.c:362:15: note: Assignment 'evh=xcalloc(1,sizeof(*evh))', assigned value is 0 ply-probe-2.4.0/src/libply/built-in/print.c:364:2: note: Null pointer dereference ply-probe-2.4.0/src/libply/built-in/proc.c:103:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sp [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/built-in/proc.c:102:15: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/built-in/proc.c:102:15: note: Assignment 'sp=xcalloc(1,sizeof(*sp)+type_sizeof(tarray))', assigned value is 0 ply-probe-2.4.0/src/libply/built-in/proc.c:103:3: note: Null pointer dereference ply-probe-2.4.0/src/libply/built-in/proc.c:104:3: warning: If memory allocation fails, then there is a possible null pointer dereference: sp [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/built-in/proc.c:102:15: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/built-in/proc.c:102:15: note: Assignment 'sp=xcalloc(1,sizeof(*sp)+type_sizeof(tarray))', assigned value is 0 ply-probe-2.4.0/src/libply/built-in/proc.c:104:3: note: Null pointer dereference ply-probe-2.4.0/src/libply/built-in/print.c:52:75: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] ply-probe-2.4.0/src/libply/built-in/print.c:107:77: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] ply-probe-2.4.0/src/libply/built-in/print.c:196:62: style: Parameter 'ev' can be declared as pointer to const. However it seems that 'printf_ev_handler' is a callback function, if 'ev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ply-probe-2.4.0/src/libply/built-in/print.c:267:21: note: You might need to cast the function pointer here ply-probe-2.4.0/src/libply/built-in/print.c:196:62: note: Parameter 'ev' can be declared as pointer to const ply-probe-2.4.0/src/libply/built-in/print.c:247:15: style: Variable 'expr' can be declared as pointer to const [constVariablePointer] ply-probe-2.4.0/src/libply/built-in/print.c:292:61: style: Parameter 'ev' can be declared as pointer to const. However it seems that 'print_ev_handler' is a callback function, if 'ev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ply-probe-2.4.0/src/libply/built-in/print.c:364:16: note: You might need to cast the function pointer here ply-probe-2.4.0/src/libply/built-in/print.c:292:61: note: Parameter 'ev' can be declared as pointer to const ply-probe-2.4.0/src/libply/built-in/print.c:317:22: style: Parameter 'pb' can be declared as pointer to const. However it seems that 'print_rewrite' is a callback function, if 'pb' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ply-probe-2.4.0/src/libply/built-in/print.c:378:13: note: You might need to cast the function pointer here ply-probe-2.4.0/src/libply/built-in/print.c:317:22: note: Parameter 'pb' can be declared as pointer to const ply-probe-2.4.0/src/libply/built-in/print.c:141:23: portability: 'pd->data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] ply-probe-2.4.0/src/libply/built-in/proc.c:24:38: style: Parameter 't' can be declared as pointer to const. However it seems that 'stack_fprint' is a callback function, if 't' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ply-probe-2.4.0/src/libply/built-in/proc.c:55:12: note: You might need to cast the function pointer here ply-probe-2.4.0/src/libply/built-in/proc.c:24:38: note: Parameter 't' can be declared as pointer to const ply-probe-2.4.0/src/libply/built-in/proc.c:149:15: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] ply-probe-2.4.0/src/libply/built-in/proc.c:171:15: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] ply-probe-2.4.0/src/libply/built-in/proc.c:217:15: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] ply-probe-2.4.0/src/libply/built-in/proc.c:241:15: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] ply-probe-2.4.0/src/libply/built-in/proc.c:285:15: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] ply-probe-2.4.0/src/libply/built-in/proc.c:321:15: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] ply-probe-2.4.0/src/libply/built-in/proc.c:413:13: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] ply-probe-2.4.0/src/libply/built-in/proc.c:493:15: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] ply-probe-2.4.0/src/libply/built-in/print.c:247:20: style: Variable 'expr' is assigned a value that is never used. [unreadVariable] ply-probe-2.4.0/src/libply/built-in/print.c:247:15: style: Variable 'expr' is assigned a value that is never used. [unreadVariable] ply-probe-2.4.0/src/libply/built-in/proc.c:86:9: style: Unused variable: depth [unusedVariable] ply-probe-2.4.0/src/libply/built-in/proc.c:149:19: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] ply-probe-2.4.0/src/libply/built-in/proc.c:149:15: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] ply-probe-2.4.0/src/libply/built-in/proc.c:171:19: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] ply-probe-2.4.0/src/libply/built-in/proc.c:171:15: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] ply-probe-2.4.0/src/libply/built-in/proc.c:217:19: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] ply-probe-2.4.0/src/libply/built-in/proc.c:217:15: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] ply-probe-2.4.0/src/libply/built-in/proc.c:241:19: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] ply-probe-2.4.0/src/libply/built-in/proc.c:241:15: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] ply-probe-2.4.0/src/libply/built-in/proc.c:285:19: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] ply-probe-2.4.0/src/libply/built-in/proc.c:285:15: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] ply-probe-2.4.0/src/libply/built-in/proc.c:321:19: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] ply-probe-2.4.0/src/libply/built-in/proc.c:321:15: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] ply-probe-2.4.0/src/libply/built-in/proc.c:493:19: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] ply-probe-2.4.0/src/libply/built-in/proc.c:493:15: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] ply-probe-2.4.0/src/libply/func.c:32:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_FUNC [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/func.c:115:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_FUNC [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/compile.c:28:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/compile.c:69:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/compile.c:97:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx64 [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/compile.c:179:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXIT [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/math.c:99:15: style: Unused variable: t [unusedVariable] ply-probe-2.4.0/src/libply/compile.c:50:20: style: Variable 'pb' can be declared as pointer to const [constVariablePointer] ply-probe-2.4.0/src/libply/compile.c:66:44: style: Parameter 'n' can be declared as pointer to const. However it seems that 'pass_type_validate' is a callback function, if 'n' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ply-probe-2.4.0/src/libply/compile.c:221:36: note: You might need to cast the function pointer here ply-probe-2.4.0/src/libply/compile.c:66:44: note: Parameter 'n' can be declared as pointer to const ply-probe-2.4.0/src/libply/compile.c:66:53: style: Parameter '_pb' can be declared as pointer to const. However it seems that 'pass_type_validate' is a callback function, if '_pb' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ply-probe-2.4.0/src/libply/compile.c:221:36: note: You might need to cast the function pointer here ply-probe-2.4.0/src/libply/compile.c:66:53: note: Parameter '_pb' can be declared as pointer to const ply-probe-2.4.0/src/libply/compile.c:84:43: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] ply-probe-2.4.0/src/libply/compile.c:50:23: style: Variable 'pb' is assigned a value that is never used. [unreadVariable] ply-probe-2.4.0/src/libply/compile.c:50:20: style: Variable 'pb' is assigned a value that is never used. [unreadVariable] ply-probe-2.4.0/src/libply/compile.c:201:15: style: Unused variable: pass [unusedVariable] ply-probe-2.4.0/src/libply/libply.c:67:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type_cmp [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/libply.c:91:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_MAP_TYPE_STACK_TRACE [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/libply.c:146:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/libply.c:180:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/libply.c:218:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_MAP [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/libply.c:290:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_MAP [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/libply.c:358:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/libply.c:455:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable val [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/libply.c:512:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/node.c:27:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/node.c:96:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N_EXPR [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/node.c:134:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N_EXPR [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/node.c:146:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N_EXPR [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/node.c:191:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N_STRING [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/node.c:216:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N_NUM [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/node.c:269:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N_EXPR [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/node.c:290:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N_EXPR [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/node.c:316:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vfprintxf [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/ir.c:56:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_REG_10 [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/ir.c:107:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_W [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/ir.c:193:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_LDX [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/ir.c:281:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VI_INSN [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/ir.c:292:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VI_LDMAP [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/ir.c:306:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VI_LABEL [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/ir.c:315:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VI_COMMENT [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/ir.c:333:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MOV64 [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/ir.c:357:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MOV64 [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/ir.c:378:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_REG_BP [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/ir.c:403:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/ir.c:412:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOC_STACK [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/ir.c:429:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_W [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/ir.c:452:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_DW [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/ir.c:475:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_DW [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/ir.c:497:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOC_STACK [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/ir.c:540:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_SCALAR [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/ir.c:581:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VI_INSN [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/ir.c:599:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VI_INSN [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/ir.c:633:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VI_INSN [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/ir.c:673:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/ir.c:682:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VI_INSN [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/ir.c:731:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dst_reg [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/built-in/memory.c:541:2: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/built-in/memory.c:531:13: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/built-in/memory.c:531:13: note: Assignment 't=xcalloc(1,sizeof(*t))', assigned value is 0 ply-probe-2.4.0/src/libply/built-in/memory.c:541:2: note: Null pointer dereference ply-probe-2.4.0/src/libply/built-in/memory.c:542:2: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/built-in/memory.c:531:13: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/built-in/memory.c:531:13: note: Assignment 't=xcalloc(1,sizeof(*t))', assigned value is 0 ply-probe-2.4.0/src/libply/built-in/memory.c:542:2: note: Null pointer dereference ply-probe-2.4.0/src/libply/built-in/memory.c:878:2: warning: If memory allocation fails, then there is a possible null pointer dereference: evh [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/built-in/memory.c:876:15: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/built-in/memory.c:876:15: note: Assignment 'evh=xcalloc(1,sizeof(*evh))', assigned value is 0 ply-probe-2.4.0/src/libply/built-in/memory.c:878:2: note: Null pointer dereference ply-probe-2.4.0/src/libply/node.c:161:2: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/node.c:160:13: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/node.c:160:13: note: Assignment 'n=xcalloc(1,sizeof(*n))', assigned value is 0 ply-probe-2.4.0/src/libply/node.c:161:2: note: Null pointer dereference ply-probe-2.4.0/src/libply/node.c:164:3: warning: If memory allocation fails, then there is a possible null pointer dereference: n [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/node.c:160:13: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/node.c:160:13: note: Assignment 'n=xcalloc(1,sizeof(*n))', assigned value is 0 ply-probe-2.4.0/src/libply/node.c:164:3: note: Null pointer dereference ply-probe-2.4.0/src/libply/node.c:170:10: warning: If memory allocation fails, then there is a possible null pointer dereference: src [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/node.c:200:21: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/node.c:200:21: note: Assignment 'unquoted=xcalloc(1,len+1)', assigned value is 0 ply-probe-2.4.0/src/libply/node.c:203:10: note: Assignment 'data=unquoted', assigned value is 0 ply-probe-2.4.0/src/libply/node.c:208:34: note: Calling function '__string_escape', 2nd argument 'data' value is 0 ply-probe-2.4.0/src/libply/node.c:170:10: note: Null pointer dereference ply-probe-2.4.0/src/libply/node.c:201:11: warning: If memory allocation fails, then there is a possible null pointer dereference: unquoted [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/node.c:200:21: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/node.c:200:21: note: Assignment 'unquoted=xcalloc(1,len+1)', assigned value is 0 ply-probe-2.4.0/src/libply/node.c:201:11: note: Null pointer dereference ply-probe-2.4.0/src/libply/node.c:206:16: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/node.c:200:21: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/node.c:200:21: note: Assignment 'unquoted=xcalloc(1,len+1)', assigned value is 0 ply-probe-2.4.0/src/libply/node.c:203:10: note: Assignment 'data=unquoted', assigned value is 0 ply-probe-2.4.0/src/libply/node.c:206:16: note: Null pointer dereference ply-probe-2.4.0/src/libply/node.c:221:17: warning: Possible null pointer dereference: u64 [nullPointer] ply-probe-2.4.0/src/libply/node.c:239:35: note: Calling function '__node_num', 4th argument 'NULL' value is 0 ply-probe-2.4.0/src/libply/node.c:221:17: note: Null pointer dereference ply-probe-2.4.0/src/libply/built-in/memory.c:249:17: style: Variable 'f' can be declared as pointer to const [constVariablePointer] ply-probe-2.4.0/src/libply/built-in/memory.c:361:17: style: Variable 'f' can be declared as pointer to const [constVariablePointer] ply-probe-2.4.0/src/libply/built-in/memory.c:408:18: style: Variable 'dst' can be declared as pointer to const [constVariablePointer] ply-probe-2.4.0/src/libply/built-in/memory.c:616:43: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] ply-probe-2.4.0/src/libply/built-in/memory.c:887:22: style: Parameter 'pb' can be declared as pointer to const. However it seems that 'clear_rewrite' is a callback function, if 'pb' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ply-probe-2.4.0/src/libply/built-in/memory.c:943:13: note: You might need to cast the function pointer here ply-probe-2.4.0/src/libply/built-in/memory.c:887:22: note: Parameter 'pb' can be declared as pointer to const ply-probe-2.4.0/src/libply/node.c:307:38: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] ply-probe-2.4.0/src/libply/node.c:19:30: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] ply-probe-2.4.0/src/libply/node.c:40:41: style: Parameter 'nloc' can be declared as pointer to const [constParameterPointer] ply-probe-2.4.0/src/libply/node.c:46:42: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] ply-probe-2.4.0/src/libply/node.c:144:26: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] ply-probe-2.4.0/src/libply/node.c:214:13: style: Parameter 's64' can be declared as pointer to const [constParameterPointer] ply-probe-2.4.0/src/libply/node.c:214:28: style: Parameter 'u64' can be declared as pointer to const [constParameterPointer] ply-probe-2.4.0/src/libply/node.c:268:15: style: Unused variable: last [unusedVariable] ply-probe-2.4.0/src/libply/built-in/memory.c:52:10: style: Unused variable: done [unusedVariable] ply-probe-2.4.0/src/libply/built-in/memory.c:95:17: style: Unused variable: f [unusedVariable] ply-probe-2.4.0/src/libply/built-in/memory.c:163:15: style: Unused variable: t [unusedVariable] ply-probe-2.4.0/src/libply/built-in/memory.c:165:6: style: Unused variable: i [unusedVariable] ply-probe-2.4.0/src/libply/built-in/memory.c:409:9: style: Unused variable: size [unusedVariable] ply-probe-2.4.0/src/libply/built-in/memory.c:524:8: style: Unused variable: kname [unusedVariable] ply-probe-2.4.0/src/libply/built-in/memory.c:582:9: style: Unused variable: offset [unusedVariable] ply-probe-2.4.0/src/libply/built-in/memory.c:583:17: style: Unused variable: f [unusedVariable] ply-probe-2.4.0/src/libply/built-in/memory.c:625:15: style: Unused variable: ktype [unusedVariable] ply-probe-2.4.0/src/libply/libply.c:430:6: style: Condition 'err' is always false [knownConditionTrueFalse] ply-probe-2.4.0/src/libply/libply.c:351:7: note: Assuming that condition 'err' is not redundant ply-probe-2.4.0/src/libply/libply.c:357:18: note: Assuming condition is false ply-probe-2.4.0/src/libply/libply.c:429:20: note: Calling function 'ply_load_bpf' returns 0 ply-probe-2.4.0/src/libply/libply.c:429:20: note: Assignment 'err=ply_load_bpf(ply)', assigned value is 0 ply-probe-2.4.0/src/libply/libply.c:430:6: note: Condition 'err' is always false ply-probe-2.4.0/src/libply/libply.c:139:2: warning: If memory allocation fails, then there is a possible null pointer dereference: pb [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/libply.c:137:14: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/libply.c:137:14: note: Assignment 'pb=xcalloc(1,sizeof(*pb))', assigned value is 0 ply-probe-2.4.0/src/libply/libply.c:139:2: note: Null pointer dereference ply-probe-2.4.0/src/libply/libply.c:140:2: warning: If memory allocation fails, then there is a possible null pointer dereference: pb [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/libply.c:137:14: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/libply.c:137:14: note: Assignment 'pb=xcalloc(1,sizeof(*pb))', assigned value is 0 ply-probe-2.4.0/src/libply/libply.c:140:2: note: Null pointer dereference ply-probe-2.4.0/src/libply/libply.c:141:2: warning: If memory allocation fails, then there is a possible null pointer dereference: pb [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/libply.c:137:14: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/libply.c:137:14: note: Assignment 'pb=xcalloc(1,sizeof(*pb))', assigned value is 0 ply-probe-2.4.0/src/libply/libply.c:141:2: note: Null pointer dereference ply-probe-2.4.0/src/libply/libply.c:143:2: warning: If memory allocation fails, then there is a possible null pointer dereference: pb [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/libply.c:137:14: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/libply.c:137:14: note: Assignment 'pb=xcalloc(1,sizeof(*pb))', assigned value is 0 ply-probe-2.4.0/src/libply/libply.c:143:2: note: Null pointer dereference ply-probe-2.4.0/src/libply/libply.c:143:30: warning: If memory allocation fails, then there is a possible null pointer dereference: pb [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/libply.c:137:14: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/libply.c:137:14: note: Assignment 'pb=xcalloc(1,sizeof(*pb))', assigned value is 0 ply-probe-2.4.0/src/libply/libply.c:143:30: note: Null pointer dereference ply-probe-2.4.0/src/libply/libply.c:144:7: warning: If memory allocation fails, then there is a possible null pointer dereference: pb [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/libply.c:137:14: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/libply.c:137:14: note: Assignment 'pb=xcalloc(1,sizeof(*pb))', assigned value is 0 ply-probe-2.4.0/src/libply/libply.c:144:7: note: Null pointer dereference ply-probe-2.4.0/src/libply/libply.c:444:1: style: Label 'err' is not used. [unusedLabel] ply-probe-2.4.0/src/libply/libply.c:527:1: style: Label 'err_free' is not used. [unusedLabel] ply-probe-2.4.0/src/libply/libply.c:213:22: style: Variable 'sym' can be declared as pointer to const [constVariablePointer] ply-probe-2.4.0/src/libply/provider.c:34:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable entry [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/provider.c:45:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable entry [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/provider/interval.c:23:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/libply.c:231:6: style: Unused variable: err [unusedVariable] ply-probe-2.4.0/src/libply/libply.c:463:20: style: Unused variable: pb [unusedVariable] ply-probe-2.4.0/src/libply/provider.c:32:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] ply-probe-2.4.0/src/libply/provider/interval.c:74:2: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/provider/interval.c:73:16: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/provider/interval.c:73:16: note: Assignment 'data=xcalloc(1,sizeof(*data))', assigned value is 0 ply-probe-2.4.0/src/libply/provider/interval.c:74:2: note: Null pointer dereference ply-probe-2.4.0/src/libply/provider/interval.c:75:2: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/provider/interval.c:73:16: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/provider/interval.c:73:16: note: Assignment 'data=xcalloc(1,sizeof(*data))', assigned value is 0 ply-probe-2.4.0/src/libply/provider/interval.c:75:2: note: Null pointer dereference ply-probe-2.4.0/src/libply/provider/interval.c:21:49: style: Parameter 'pb' can be declared as pointer to const. However it seems that 'interval_sym_alloc' is a callback function, if 'pb' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ply-probe-2.4.0/src/libply/provider/interval.c:108:15: note: You might need to cast the function pointer here ply-probe-2.4.0/src/libply/provider/interval.c:21:49: note: Parameter 'pb' can be declared as pointer to const ply-probe-2.4.0/src/libply/provider/interval.c:21:66: style: Parameter 'n' can be declared as pointer to const. However it seems that 'interval_sym_alloc' is a callback function, if 'n' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ply-probe-2.4.0/src/libply/provider/interval.c:108:15: note: You might need to cast the function pointer here ply-probe-2.4.0/src/libply/provider/interval.c:21:66: note: Parameter 'n' can be declared as pointer to const ply-probe-2.4.0/src/libply/provider/interval.c:95:46: style: Parameter 'pb' can be declared as pointer to const. However it seems that 'interval_detach' is a callback function, if 'pb' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ply-probe-2.4.0/src/libply/provider/interval.c:112:12: note: You might need to cast the function pointer here ply-probe-2.4.0/src/libply/provider/interval.c:95:46: note: Parameter 'pb' can be declared as pointer to const ply-probe-2.4.0/src/libply/provider/kretprobe.c:78:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/provider/kprobe.c:142:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/provider/kprobe.c:189:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/provider/profile.c:25:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/provider/profile.c:41:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/provider/profile.c:83:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/provider/kretprobe.c:98:2: warning: If memory allocation fails, then there is a possible null pointer dereference: xp [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/provider/kretprobe.c:97:14: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/provider/kretprobe.c:97:14: note: Assignment 'xp=xcalloc(1,sizeof(*xp))', assigned value is 0 ply-probe-2.4.0/src/libply/provider/kretprobe.c:98:2: note: Null pointer dereference ply-probe-2.4.0/src/libply/provider/kretprobe.c:99:2: warning: If memory allocation fails, then there is a possible null pointer dereference: xp [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/provider/kretprobe.c:97:14: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/provider/kretprobe.c:97:14: note: Assignment 'xp=xcalloc(1,sizeof(*xp))', assigned value is 0 ply-probe-2.4.0/src/libply/provider/kretprobe.c:99:2: note: Null pointer dereference ply-probe-2.4.0/src/libply/provider/kretprobe.c:100:2: warning: If memory allocation fails, then there is a possible null pointer dereference: xp [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/provider/kretprobe.c:97:14: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/provider/kretprobe.c:97:14: note: Assignment 'xp=xcalloc(1,sizeof(*xp))', assigned value is 0 ply-probe-2.4.0/src/libply/provider/kretprobe.c:100:2: note: Null pointer dereference ply-probe-2.4.0/src/libply/provider/kretprobe.c:101:9: warning: If memory allocation fails, then there is a possible null pointer dereference: xp [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/provider/kretprobe.c:97:14: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/provider/kretprobe.c:97:14: note: Assignment 'xp=xcalloc(1,sizeof(*xp))', assigned value is 0 ply-probe-2.4.0/src/libply/provider/kretprobe.c:101:9: note: Null pointer dereference ply-probe-2.4.0/src/libply/provider/kretprobe.c:102:2: warning: If memory allocation fails, then there is a possible null pointer dereference: xp [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/provider/kretprobe.c:97:14: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/provider/kretprobe.c:97:14: note: Assignment 'xp=xcalloc(1,sizeof(*xp))', assigned value is 0 ply-probe-2.4.0/src/libply/provider/kretprobe.c:102:2: note: Null pointer dereference ply-probe-2.4.0/src/libply/ir.c:55:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ply-probe-2.4.0/src/libply/ir.c:729:4: error: Common realloc mistake: 'insns' nulled but not freed upon failure [memleakOnRealloc] ply-probe-2.4.0/src/libply/ir.c:738:4: error: Common realloc mistake: 'insns' nulled but not freed upon failure [memleakOnRealloc] ply-probe-2.4.0/src/libply/ir.c:565:2: warning: If memory allocation fails, then there is a possible null pointer dereference: ir [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/ir.c:563:14: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/ir.c:563:14: note: Assignment 'ir=xcalloc(1,sizeof(*ir))', assigned value is 0 ply-probe-2.4.0/src/libply/ir.c:565:2: note: Null pointer dereference ply-probe-2.4.0/src/libply/ir.c:566:2: warning: If memory allocation fails, then there is a possible null pointer dereference: ir [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/ir.c:563:14: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/ir.c:563:14: note: Assignment 'ir=xcalloc(1,sizeof(*ir))', assigned value is 0 ply-probe-2.4.0/src/libply/ir.c:566:2: note: Null pointer dereference ply-probe-2.4.0/src/libply/ir.c:226:31: style: Parameter 'vi' can be declared as pointer to const [constParameterPointer] ply-probe-2.4.0/src/libply/ir.c:269:50: style: Parameter 'vi' can be declared as pointer to const [constParameterPointer] ply-probe-2.4.0/src/libply/ir.c:393:52: style: Parameter 'dst' can be declared as pointer to const [constParameterPointer] ply-probe-2.4.0/src/libply/ir.c:573:44: style: Parameter 'ir' can be declared as pointer to const [constParameterPointer] ply-probe-2.4.0/src/libply/ir.c:573:62: style: Parameter 'last' can be declared as pointer to const [constParameterPointer] ply-probe-2.4.0/src/libply/ir.c:651:46: style: Parameter 'ir' can be declared as pointer to const [constParameterPointer] ply-probe-2.4.0/src/libply/ir.c:653:16: style: Variable 'vi' can be declared as pointer to const [constVariablePointer] ply-probe-2.4.0/src/libply/ir.c:720:31: style: Parameter 'ir' can be declared as pointer to const [constParameterPointer] ply-probe-2.4.0/src/libply/provider/kprobe.c:209:2: warning: If memory allocation fails, then there is a possible null pointer dereference: xp [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/provider/kprobe.c:208:14: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/provider/kprobe.c:208:14: note: Assignment 'xp=xcalloc(1,sizeof(*xp))', assigned value is 0 ply-probe-2.4.0/src/libply/provider/kprobe.c:209:2: note: Null pointer dereference ply-probe-2.4.0/src/libply/provider/kprobe.c:210:2: warning: If memory allocation fails, then there is a possible null pointer dereference: xp [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/provider/kprobe.c:208:14: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/provider/kprobe.c:208:14: note: Assignment 'xp=xcalloc(1,sizeof(*xp))', assigned value is 0 ply-probe-2.4.0/src/libply/provider/kprobe.c:210:2: note: Null pointer dereference ply-probe-2.4.0/src/libply/provider/kprobe.c:211:2: warning: If memory allocation fails, then there is a possible null pointer dereference: xp [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/provider/kprobe.c:208:14: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/provider/kprobe.c:208:14: note: Assignment 'xp=xcalloc(1,sizeof(*xp))', assigned value is 0 ply-probe-2.4.0/src/libply/provider/kprobe.c:211:2: note: Null pointer dereference ply-probe-2.4.0/src/libply/provider/kprobe.c:212:9: warning: If memory allocation fails, then there is a possible null pointer dereference: xp [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/provider/kprobe.c:208:14: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/provider/kprobe.c:208:14: note: Assignment 'xp=xcalloc(1,sizeof(*xp))', assigned value is 0 ply-probe-2.4.0/src/libply/provider/kprobe.c:212:9: note: Null pointer dereference ply-probe-2.4.0/src/libply/provider/kprobe.c:213:2: warning: If memory allocation fails, then there is a possible null pointer dereference: xp [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/provider/kprobe.c:208:14: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/provider/kprobe.c:208:14: note: Assignment 'xp=xcalloc(1,sizeof(*xp))', assigned value is 0 ply-probe-2.4.0/src/libply/provider/kprobe.c:213:2: note: Null pointer dereference ply-probe-2.4.0/src/libply/provider/kprobe.c:62:39: style: Parameter 't' can be declared as pointer to const. However it seems that 'caller_fprint' is a callback function, if 't' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ply-probe-2.4.0/src/libply/provider/kprobe.c:80:12: note: You might need to cast the function pointer here ply-probe-2.4.0/src/libply/provider/kprobe.c:62:39: note: Parameter 't' can be declared as pointer to const ply-probe-2.4.0/src/libply/provider/special.c:14:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/provider/profile.c:23:48: style: Parameter 'pb' can be declared as pointer to const. However it seems that 'profile_sym_alloc' is a callback function, if 'pb' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ply-probe-2.4.0/src/libply/provider/profile.c:118:15: note: You might need to cast the function pointer here ply-probe-2.4.0/src/libply/provider/profile.c:23:48: note: Parameter 'pb' can be declared as pointer to const ply-probe-2.4.0/src/libply/provider/profile.c:23:65: style: Parameter 'n' can be declared as pointer to const. However it seems that 'profile_sym_alloc' is a callback function, if 'n' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ply-probe-2.4.0/src/libply/provider/profile.c:118:15: note: You might need to cast the function pointer here ply-probe-2.4.0/src/libply/provider/profile.c:23:65: note: Parameter 'n' can be declared as pointer to const ply-probe-2.4.0/src/libply/provider/profile.c:100:45: style: Parameter 'pb' can be declared as pointer to const. However it seems that 'profile_detach' is a callback function, if 'pb' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ply-probe-2.4.0/src/libply/provider/profile.c:122:12: note: You might need to cast the function pointer here ply-probe-2.4.0/src/libply/provider/profile.c:100:45: note: Parameter 'pb' can be declared as pointer to const ply-probe-2.4.0/src/libply/provider/special.c:12:48: style: Parameter 'pb' can be declared as pointer to const. However it seems that 'special_sym_alloc' is a callback function, if 'pb' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ply-probe-2.4.0/src/libply/provider/special.c:36:15: note: You might need to cast the function pointer here ply-probe-2.4.0/src/libply/provider/special.c:12:48: note: Parameter 'pb' can be declared as pointer to const ply-probe-2.4.0/src/libply/provider/special.c:12:65: style: Parameter 'n' can be declared as pointer to const. However it seems that 'special_sym_alloc' is a callback function, if 'n' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ply-probe-2.4.0/src/libply/provider/special.c:36:15: note: You might need to cast the function pointer here ply-probe-2.4.0/src/libply/provider/special.c:12:65: note: Parameter 'n' can be declared as pointer to const ply-probe-2.4.0/src/libply/provider/xprobe.c:28:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIxPTR [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/provider/xprobe.c:67:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRACEPATH [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/provider/xprobe.c:83:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRACEPATH [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/provider/xprobe.c:112:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRACEPATH [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/provider/xprobe.c:176:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/provider/xprobe.c:205:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/provider/xprobe.c:233:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/provider/xprobe.c:250:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRACEPATH [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/sym.c:23:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sym [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/sym.c:48:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N_EXPR [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/sym.c:25:2: warning: If memory allocation fails, then there is a possible null pointer dereference: sym [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/sym.c:23:33: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/sym.c:23:33: note: Assignment 'st->syms[st->len-1]=xcalloc(1,sizeof(struct sym))', assigned value is 0 ply-probe-2.4.0/src/libply/sym.c:24:6: note: sym is assigned 'st->syms[st->len-1]' here. ply-probe-2.4.0/src/libply/sym.c:25:2: note: Null pointer dereference ply-probe-2.4.0/src/libply/sym.c:26:2: warning: If memory allocation fails, then there is a possible null pointer dereference: sym [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/sym.c:23:33: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/sym.c:23:33: note: Assignment 'st->syms[st->len-1]=xcalloc(1,sizeof(struct sym))', assigned value is 0 ply-probe-2.4.0/src/libply/sym.c:24:6: note: sym is assigned 'st->syms[st->len-1]' here. ply-probe-2.4.0/src/libply/sym.c:26:2: note: Null pointer dereference ply-probe-2.4.0/src/libply/sym.c:27:2: warning: If memory allocation fails, then there is a possible null pointer dereference: sym [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/sym.c:23:33: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/sym.c:23:33: note: Assignment 'st->syms[st->len-1]=xcalloc(1,sizeof(struct sym))', assigned value is 0 ply-probe-2.4.0/src/libply/sym.c:24:6: note: sym is assigned 'st->syms[st->len-1]' here. ply-probe-2.4.0/src/libply/sym.c:27:2: note: Null pointer dereference ply-probe-2.4.0/src/libply/sym.c:28:2: warning: If memory allocation fails, then there is a possible null pointer dereference: sym [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/sym.c:23:33: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/sym.c:23:33: note: Assignment 'st->syms[st->len-1]=xcalloc(1,sizeof(struct sym))', assigned value is 0 ply-probe-2.4.0/src/libply/sym.c:24:6: note: sym is assigned 'st->syms[st->len-1]' here. ply-probe-2.4.0/src/libply/sym.c:28:2: note: Null pointer dereference ply-probe-2.4.0/src/libply/sym.c:32:68: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] ply-probe-2.4.0/src/libply/provider/tracepoint.c:54:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BPF_REG_2 [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/provider/tracepoint.c:97:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string_size [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/provider/tracepoint.c:193:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/type.c:123:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_VOID [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/provider/tracepoint.c:223:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable t_uchar [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/type.c:169:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hex [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/provider/tracepoint.c:261:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/type.c:200:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx64 [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/provider/tracepoint.c:311:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/type.c:261:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable t_char [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/provider/tracepoint.c:341:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/type.c:342:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable t_void [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/ply/ply.c:39:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/provider/tracepoint.c:370:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRACEPATH [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/type.c:451:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable t_void [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/ply/ply.c:74:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RLIMIT_MEMLOCK [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/type.c:466:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_SCALAR [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/ply/ply.c:120:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/type.c:544:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/ply/ply.c:141:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LINUX_VERSION_CODE [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/type.c:565:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/ply/ply.c:206:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/type.c:598:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_STRUCT [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/ply/ply.c:240:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/type.c:636:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_STRUCT [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/type.c:649:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/type.c:697:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_SCALAR [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/type.c:740:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_TYPEDEF [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/type.c:760:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_ARRAY [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/type.c:781:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_MAP [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/type.c:805:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T_POINTER [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/type.c:918:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SC_NPROCESSORS_ONLN [valueFlowBailoutIncompleteVar] ply-probe-2.4.0/src/libply/provider/xprobe.c:26:42: style: Parameter 'pb' can be declared as pointer to const [constParameterPointer] ply-probe-2.4.0/src/libply/provider/xprobe.c:62:42: style: Parameter 'pb' can be declared as pointer to const [constParameterPointer] ply-probe-2.4.0/src/libply/provider/xprobe.c:79:44: style: Parameter 'pb' can be declared as pointer to const [constParameterPointer] ply-probe-2.4.0/src/libply/provider/xprobe.c:245:8: style: Unused variable: func [unusedVariable] ply-probe-2.4.0/src/ply/ply.c:42:29: style: Parameter 'plybin' can be declared as pointer to const [constParameterPointer] ply-probe-2.4.0/src/ply/ply.c:234:8: style: Variable 'cmd' can be declared as pointer to const [constVariablePointer] ply-probe-2.4.0/src/libply/provider/tracepoint.c:274:9: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] ply-probe-2.4.0/src/libply/provider/tracepoint.c:277:10: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] ply-probe-2.4.0/src/libply/provider/tracepoint.c:373:2: warning: If memory allocation fails, then there is a possible null pointer dereference: tp [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/provider/tracepoint.c:362:14: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/provider/tracepoint.c:362:14: note: Assignment 'tp=xcalloc(1,sizeof(*tp))', assigned value is 0 ply-probe-2.4.0/src/libply/provider/tracepoint.c:373:2: note: Null pointer dereference ply-probe-2.4.0/src/libply/provider/tracepoint.c:376:3: warning: If memory allocation fails, then there is a possible null pointer dereference: data_t [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/provider/tracepoint.c:375:19: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/provider/tracepoint.c:375:19: note: Assignment 'data_t=xcalloc(1,sizeof(*data_t))', assigned value is 0 ply-probe-2.4.0/src/libply/provider/tracepoint.c:376:3: note: Null pointer dereference ply-probe-2.4.0/src/libply/provider/tracepoint.c:382:3: warning: If memory allocation fails, then there is a possible null pointer dereference: datap_t [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/provider/tracepoint.c:381:19: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/provider/tracepoint.c:381:19: note: Assignment 'datap_t=xcalloc(1,sizeof(*datap_t))', assigned value is 0 ply-probe-2.4.0/src/libply/provider/tracepoint.c:382:3: note: Null pointer dereference ply-probe-2.4.0/src/libply/provider/tracepoint.c:387:2: warning: If memory allocation fails, then there is a possible null pointer dereference: tp [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/provider/tracepoint.c:362:14: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/provider/tracepoint.c:362:14: note: Assignment 'tp=xcalloc(1,sizeof(*tp))', assigned value is 0 ply-probe-2.4.0/src/libply/provider/tracepoint.c:387:2: note: Null pointer dereference ply-probe-2.4.0/src/libply/provider/tracepoint.c:41:25: style: Parameter 'pb' can be declared as pointer to const. However it seems that 'tracepoint_dyn_ir_post' is a callback function, if 'pb' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ply-probe-2.4.0/src/libply/provider/tracepoint.c:143:13: note: You might need to cast the function pointer here ply-probe-2.4.0/src/libply/provider/tracepoint.c:41:25: note: Parameter 'pb' can be declared as pointer to const ply-probe-2.4.0/src/libply/provider/tracepoint.c:301:47: style: Parameter 'pb' can be declared as pointer to const [constParameterPointer] ply-probe-2.4.0/src/libply/provider/tracepoint.c:348:48: style: Parameter 'pb' can be declared as pointer to const. However it seems that 'tracepoint_detach' is a callback function, if 'pb' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ply-probe-2.4.0/src/libply/provider/tracepoint.c:414:12: note: You might need to cast the function pointer here ply-probe-2.4.0/src/libply/provider/tracepoint.c:348:48: note: Parameter 'pb' can be declared as pointer to const ply-probe-2.4.0/src/libply/provider/tracepoint.c:96:15: style: Unused variable: t [unusedVariable] ply-probe-2.4.0/src/libply/provider/tracepoint.c:98:6: style: Unused variable: i [unusedVariable] ply-probe-2.4.0/src/libply/type.c:171:16: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] ply-probe-2.4.0/src/libply/type.c:177:16: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] ply-probe-2.4.0/src/libply/type.c:183:16: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] ply-probe-2.4.0/src/libply/type.c:189:16: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] ply-probe-2.4.0/src/libply/type.c:361:16: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] ply-probe-2.4.0/src/libply/type.c:365:16: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] ply-probe-2.4.0/src/libply/type.c:369:16: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] ply-probe-2.4.0/src/libply/type.c:373:16: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] ply-probe-2.4.0/src/libply/type.c:727:7: style: Condition 'err' is always false [knownConditionTrueFalse] ply-probe-2.4.0/src/libply/type.c:726:17: note: Calling function 'type_add' returns 0 ply-probe-2.4.0/src/libply/type.c:726:17: note: Assignment 'err=type_add(*ts)', assigned value is 0 ply-probe-2.4.0/src/libply/type.c:727:7: note: Condition 'err' is always false ply-probe-2.4.0/src/libply/type.c:707:14: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/type.c:811:13: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/type.c:811:13: note: Assignment 't=xcalloc(1,sizeof(*t))', assigned value is 0 ply-probe-2.4.0/src/libply/type.c:815:11: note: Calling function 'type_add', 1st argument 't' value is 0 ply-probe-2.4.0/src/libply/type.c:707:14: note: Null pointer dereference ply-probe-2.4.0/src/libply/type.c:747:2: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/type.c:746:13: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/type.c:746:13: note: Assignment 't=xcalloc(1,sizeof(*t))', assigned value is 0 ply-probe-2.4.0/src/libply/type.c:747:2: note: Null pointer dereference ply-probe-2.4.0/src/libply/type.c:748:2: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/type.c:746:13: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/type.c:746:13: note: Assignment 't=xcalloc(1,sizeof(*t))', assigned value is 0 ply-probe-2.4.0/src/libply/type.c:748:2: note: Null pointer dereference ply-probe-2.4.0/src/libply/type.c:749:2: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/type.c:746:13: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/type.c:746:13: note: Assignment 't=xcalloc(1,sizeof(*t))', assigned value is 0 ply-probe-2.4.0/src/libply/type.c:749:2: note: Null pointer dereference ply-probe-2.4.0/src/libply/type.c:767:2: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/type.c:766:13: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/type.c:766:13: note: Assignment 't=xcalloc(1,sizeof(*t))', assigned value is 0 ply-probe-2.4.0/src/libply/type.c:767:2: note: Null pointer dereference ply-probe-2.4.0/src/libply/type.c:768:2: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/type.c:766:13: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/type.c:766:13: note: Assignment 't=xcalloc(1,sizeof(*t))', assigned value is 0 ply-probe-2.4.0/src/libply/type.c:768:2: note: Null pointer dereference ply-probe-2.4.0/src/libply/type.c:769:2: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/type.c:766:13: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/type.c:766:13: note: Assignment 't=xcalloc(1,sizeof(*t))', assigned value is 0 ply-probe-2.4.0/src/libply/type.c:769:2: note: Null pointer dereference ply-probe-2.4.0/src/libply/type.c:790:2: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/type.c:789:13: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/type.c:789:13: note: Assignment 't=xcalloc(1,sizeof(*t))', assigned value is 0 ply-probe-2.4.0/src/libply/type.c:790:2: note: Null pointer dereference ply-probe-2.4.0/src/libply/type.c:791:2: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/type.c:789:13: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/type.c:789:13: note: Assignment 't=xcalloc(1,sizeof(*t))', assigned value is 0 ply-probe-2.4.0/src/libply/type.c:791:2: note: Null pointer dereference ply-probe-2.4.0/src/libply/type.c:792:2: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/type.c:789:13: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/type.c:789:13: note: Assignment 't=xcalloc(1,sizeof(*t))', assigned value is 0 ply-probe-2.4.0/src/libply/type.c:792:2: note: Null pointer dereference ply-probe-2.4.0/src/libply/type.c:793:2: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/type.c:789:13: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/type.c:789:13: note: Assignment 't=xcalloc(1,sizeof(*t))', assigned value is 0 ply-probe-2.4.0/src/libply/type.c:793:2: note: Null pointer dereference ply-probe-2.4.0/src/libply/type.c:794:2: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/type.c:789:13: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/type.c:789:13: note: Assignment 't=xcalloc(1,sizeof(*t))', assigned value is 0 ply-probe-2.4.0/src/libply/type.c:794:2: note: Null pointer dereference ply-probe-2.4.0/src/libply/type.c:812:2: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/type.c:811:13: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/type.c:811:13: note: Assignment 't=xcalloc(1,sizeof(*t))', assigned value is 0 ply-probe-2.4.0/src/libply/type.c:812:2: note: Null pointer dereference ply-probe-2.4.0/src/libply/type.c:813:2: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/type.c:811:13: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/type.c:811:13: note: Assignment 't=xcalloc(1,sizeof(*t))', assigned value is 0 ply-probe-2.4.0/src/libply/type.c:813:2: note: Null pointer dereference ply-probe-2.4.0/src/libply/type.c:814:2: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] ply-probe-2.4.0/src/libply/type.c:811:13: note: Assuming allocation function fails ply-probe-2.4.0/src/libply/type.c:811:13: note: Assignment 't=xcalloc(1,sizeof(*t))', assigned value is 0 ply-probe-2.4.0/src/libply/type.c:814:2: note: Null pointer dereference ply-probe-2.4.0/src/libply/type.c:165:44: style: Parameter 't' can be declared as pointer to const [constParameterPointer] ply-probe-2.4.0/src/libply/type.c:197:45: style: Parameter 't' can be declared as pointer to const [constParameterPointer] ply-probe-2.4.0/src/libply/type.c:285:41: style: Parameter 't' can be declared as pointer to const [constParameterPointer] ply-probe-2.4.0/src/libply/type.c:356:71: style: Parameter 't' can be declared as pointer to const [constParameterPointer] ply-probe-2.4.0/src/libply/type.c:381:72: style: Parameter 't' can be declared as pointer to const [constParameterPointer] ply-probe-2.4.0/src/libply/type.c:498:29: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] ply-probe-2.4.0/src/libply/type.c:498:45: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] ply-probe-2.4.0/src/libply/type.c:277:8: portability: 'data' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] ply-probe-2.4.0/src/libply/type.c:317:39: portability: 'data' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] ply-probe-2.4.0/src/libply/type.c:402:5: portability: 'a' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] ply-probe-2.4.0/src/libply/type.c:403:5: portability: 'b' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] ply-probe-2.4.0/src/libply/type.c:414:19: portability: 'a' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] ply-probe-2.4.0/src/libply/type.c:414:33: portability: 'b' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] ply-probe-2.4.0/src/libply/type.c:429:20: portability: 'a' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] ply-probe-2.4.0/src/libply/type.c:429:30: portability: 'b' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] ply-probe-2.4.0/src/libply/type.c:653:10: portability: Behaviour of 'sizeof(void)' is not covered by the ISO C standard. [sizeofVoid] ply-probe-2.4.0/src/libply/type.c:383:9: style: Unused variable: size [unusedVariable] ply-probe-2.4.0/src/libply/type.c:384:6: style: Unused variable: unsignd [unusedVariable] ply-probe-2.4.0/src/libply/type.c:476:15: style: Unused variable: t [unusedVariable] diff: head ply-probe-2.4.0/src/libply/ir.c:653:16: style: Variable 'vi' can be declared as pointer to const [constVariablePointer] DONE