2026-05-27 22:03 ftp://ftp.de.debian.org/debian/pool/main/libv/libvdestack/libvdestack_0.1.4.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j8 platform: Linux-6.17.0-29-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.4.0 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0 cppcheck: head 2.20.0 head-info: 6e46c6b (2026-05-27 18:39:55 +0200) count: 21 21 elapsed-time: 0.0 0.1 head-timing-info: old-timing-info: head results: libvdestack-0.1.4/vdestack.c:110:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RTLD_NEXT [valueFlowBailoutIncompleteVar] libvdestack-0.1.4/vdestack.c:126:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAP_NET_ADMIN [valueFlowBailoutIncompleteVar] libvdestack-0.1.4/vdestack.c:146:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] libvdestack-0.1.4/vdestack.c:159:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] libvdestack-0.1.4/vdestack.c:194:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libvdestack-0.1.4/vdestack.c:213:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable signalfd_siginfo [valueFlowBailoutIncompleteVar] libvdestack-0.1.4/vdestack.c:231:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable revents [valueFlowBailoutIncompleteVar] libvdestack-0.1.4/vdestack.c:241:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] libvdestack-0.1.4/vdestack.c:251:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] libvdestack-0.1.4/vdestack.c:285:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] libvdestack-0.1.4/vdestack.c:309:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _NSIG [valueFlowBailoutIncompleteVar] libvdestack-0.1.4/vdestack.c:323:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] libvdestack-0.1.4/vdestack.c:361:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] libvdestack-0.1.4/vdestack.c:432:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libvdestack-0.1.4/vdestack.c:459:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libvdestack-0.1.4/vdestack.c:143:27: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] libvdestack-0.1.4/vdestack.c:211:37: style: Parameter 'stack' can be declared as pointer to const [constParameterPointer] libvdestack-0.1.4/vdestack.c:228:47: style: Parameter 'pfd' can be declared as pointer to const [constParameterPointer] libvdestack-0.1.4/vdestack.c:276:52: style: Parameter 'buf' can be declared as pointer to const. However it seems that 'stream2tap_read' is a callback function, if 'buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libvdestack-0.1.4/vdestack.c:289:61: note: You might need to cast the function pointer here libvdestack-0.1.4/vdestack.c:276:52: note: Parameter 'buf' can be declared as pointer to const libvdestack-0.1.4/vdestack.c:277:7: style: Variable 'tapfd' can be declared as pointer to const [constVariablePointer] libvdestack-0.1.4/vdestack.c:352:8: style: Variable 'ifnameok' can be declared as pointer to const [constVariablePointer] diff: DONE