2026-09-20 01:28 ftp://ftp.de.debian.org/debian/pool/main/libu/libunibreak/libunibreak_7.0.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 -j96 platform: Linux-6.8.0-137-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.22.0 head-info: 40380d9 (2026-09-19 14:51:49 +0200) count: 20 20 elapsed-time: 0.9 1.0 head-timing-info: old-timing-info: head results: libunibreak-libunibreak_7_0/tools/graphemebreak_test.c:34:27: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: breaks [nullPointerOutOfMemory] libunibreak-libunibreak_7_0/tools/graphemebreak_test.c:28:20: note: Assuming allocation function fails libunibreak-libunibreak_7_0/tools/graphemebreak_test.c:28:20: note: Assignment 'breaks=malloc(len)', assigned value is 0 libunibreak-libunibreak_7_0/tools/graphemebreak_test.c:34:27: note: Null pointer dereference libunibreak-libunibreak_7_0/tools/graphemebreak_test.c:12:26: style: Parameter 'argv' can be declared as const array [constParameter] libunibreak-libunibreak_7_0/tools/graphemebreak_bench.c:30:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libunibreak-libunibreak_7_0/tools/wordbreak_test.c:34:26: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: breaks [nullPointerOutOfMemory] libunibreak-libunibreak_7_0/tools/wordbreak_test.c:28:19: note: Assuming allocation function fails libunibreak-libunibreak_7_0/tools/wordbreak_test.c:28:19: note: Assignment 'breaks=malloc(len)', assigned value is 0 libunibreak-libunibreak_7_0/tools/wordbreak_test.c:34:26: note: Null pointer dereference libunibreak-libunibreak_7_0/tools/wordbreak_test.c:12:26: style: Parameter 'argv' can be declared as const array [constParameter] libunibreak-libunibreak_7_0/tools/linebreak_bench.c:30:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libunibreak-libunibreak_7_0/tools/wordbreak_bench.c:30:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libunibreak-libunibreak_7_0/tools/linebreak_test.c:29:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libunibreak-libunibreak_7_0/tools/linebreak_test.c:152:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iconv_t [valueFlowBailoutIncompleteVar] libunibreak-libunibreak_7_0/tools/graphemebreak_bench.c:14:26: style: Parameter 'argv' can be declared as const array [constParameter] libunibreak-libunibreak_7_0/tools/wordbreak_bench.c:14:26: style: Parameter 'argv' can be declared as const array [constParameter] libunibreak-libunibreak_7_0/src/tests.c:101:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libunibreak-libunibreak_7_0/tools/linebreak_bench.c:14:26: style: Parameter 'argv' can be declared as const array [constParameter] libunibreak-libunibreak_7_0/src/tests.c:210:17: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libunibreak-libunibreak_7_0/src/tests.c:226:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libunibreak-libunibreak_7_0/src/tests.c:226:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libunibreak-libunibreak_7_0/src/tests.c:226:5: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libunibreak-libunibreak_7_0/src/tests.c:230:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libunibreak-libunibreak_7_0/src/tests.c:47:26: style: Parameter 'argv' can be declared as const array [constParameter] libunibreak-libunibreak_7_0/src/graphemebreak.c:118:29: style: Variable 'states' can be declared as const array [constVariable] diff: DONE