2025-09-03 05:57 ftp://ftp.de.debian.org/debian/pool/main/r/raqm/raqm_0.10.3.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.12.41+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.67 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.18.0 head-info: e6e045f (2025-09-02 21:05:14 +0200) count: 3 34 elapsed-time: 0.0 0.6 head-timing-info: old-timing-info: head results: raqm-0.10.3/tests/raqm-test.c:164:28: error: There is an unknown macro here somewhere. Configuration is required. If RAQM_VERSION_STRING is a macro then please configure it. [unknownMacro] raqm-0.10.3/src/raqm.c:2168:0: error: failed to evaluate #if condition, undefined function-like macro invocation: HB_VERSION_ATLEAST( ... ) [preprocessorErrorDirective] raqm-0.10.3/src/raqm.c:2168:2: error: failed to evaluate #if condition, undefined function-like macro invocation: HB_VERSION_ATLEAST( ... ) [preprocessorErrorDirective] diff: 2.18.0 raqm-0.10.3/src/raqm.c:1302:7: style: Condition '!_raqm_shape(rq)' is always false [knownConditionTrueFalse] raqm-0.10.3/src/raqm.c:1302:20: note: Calling function '_raqm_shape' returns 1 raqm-0.10.3/src/raqm.c:1302:7: note: Condition '!_raqm_shape(rq)' is always false 2.18.0 raqm-0.10.3/src/raqm.c:1375:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable codepoint [valueFlowBailoutIncompleteVar] 2.18.0 raqm-0.10.3/src/raqm.c:1434:42: style: Parameter 'rq' can be declared as pointer to const [constParameterPointer] 2.18.0 raqm-0.10.3/src/raqm.c:1488:23: style: Parameter 'rq' can be declared as pointer to const [constParameterPointer] 2.18.0 raqm-0.10.3/src/raqm.c:1490:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HB_DIRECTION_LTR [valueFlowBailoutIncompleteVar] 2.18.0 raqm-0.10.3/src/raqm.c:1666:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRIBIDI_PAR_ON [valueFlowBailoutIncompleteVar] 2.18.0 raqm-0.10.3/src/raqm.c:1935:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hb_script_t [valueFlowBailoutIncompleteVar] 2.18.0 raqm-0.10.3/src/raqm.c:1975:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HB_SCRIPT_INVALID [valueFlowBailoutIncompleteVar] 2.18.0 raqm-0.10.3/src/raqm.c:2032:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HB_UNICODE_GENERAL_CATEGORY_NON_SPACING_MARK [valueFlowBailoutIncompleteVar] 2.18.0 raqm-0.10.3/src/raqm.c:2048:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HB_SCRIPT_INVALID [valueFlowBailoutIncompleteVar] 2.18.0 raqm-0.10.3/src/raqm.c:2087:19: style: Checking if unsigned expression 'stack->size' is less than zero. [unsignedLessThanZero] 2.18.0 raqm-0.10.3/src/raqm.c:2092:16: style: Checking if unsigned expression 'stack->size' is less than zero. [unsignedLessThanZero] head raqm-0.10.3/src/raqm.c:2168:0: error: failed to evaluate #if condition, undefined function-like macro invocation: HB_VERSION_ATLEAST( ... ) [preprocessorErrorDirective] head raqm-0.10.3/src/raqm.c:2168:2: error: failed to evaluate #if condition, undefined function-like macro invocation: HB_VERSION_ATLEAST( ... ) [preprocessorErrorDirective] 2.18.0 raqm-0.10.3/src/raqm.c:2175:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HB_BUFFER_FLAG_BOT [valueFlowBailoutIncompleteVar] 2.18.0 raqm-0.10.3/src/raqm.c:2264:34: style: Parameter 'rq' can be declared as pointer to const [constParameterPointer] 2.18.0 raqm-0.10.3/src/raqm.c:2277:34: style: Parameter 'rq' can be declared as pointer to const [constParameterPointer] 2.18.0 raqm-0.10.3/src/raqm.c:2316:35: style: Parameter 'rq' can be declared as pointer to const [constParameterPointer] 2.18.0 raqm-0.10.3/src/raqm.c:2329:35: style: Parameter 'rq' can be declared as pointer to const [constParameterPointer] 2.18.0 raqm-0.10.3/src/raqm.c:2421:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cluster [valueFlowBailoutIncompleteVar] 2.18.0 raqm-0.10.3/src/raqm.c:242:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HB_SCRIPT_INVALID [valueFlowBailoutIncompleteVar] 2.18.0 raqm-0.10.3/src/raqm.c:2481:15: style: Variable 'delta_x' is assigned a value that is never used. [unreadVariable] 2.18.0 raqm-0.10.3/src/raqm.c:2509:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x_advance [valueFlowBailoutIncompleteVar] 2.18.0 raqm-0.10.3/src/raqm.c:2692:32: style: Condition '_raqm_in_hangul_syllable(ch)' is always false [knownConditionTrueFalse] raqm-0.10.3/src/raqm.c:2692:32: note: Calling function '_raqm_in_hangul_syllable' returns 0 raqm-0.10.3/src/raqm.c:2692:32: note: Condition '_raqm_in_hangul_syllable(ch)' is always false 2.18.0 raqm-0.10.3/src/raqm.c:2720:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAQM_VERSION_MAJOR [valueFlowBailoutIncompleteVar] 2.18.0 raqm-0.10.3/src/raqm.c:2737:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAQM_VERSION_STRING [valueFlowBailoutIncompleteVar] 2.18.0 raqm-0.10.3/src/raqm.c:337:5: warning: If memory allocation fails, then there is a possible null pointer dereference: run [nullPointerOutOfMemory] raqm-0.10.3/src/raqm.c:336:18: note: Assuming allocation function fails raqm-0.10.3/src/raqm.c:336:18: note: Assignment 'run=malloc(sizeof(struct raqm_run_t))', assigned value is 0 raqm-0.10.3/src/raqm.c:337:5: note: Null pointer dereference 2.18.0 raqm-0.10.3/src/raqm.c:338:5: warning: If memory allocation fails, then there is a possible null pointer dereference: run [nullPointerOutOfMemory] raqm-0.10.3/src/raqm.c:336:18: note: Assuming allocation function fails raqm-0.10.3/src/raqm.c:336:18: note: Assignment 'run=malloc(sizeof(struct raqm_run_t))', assigned value is 0 raqm-0.10.3/src/raqm.c:338:5: note: Null pointer dereference 2.18.0 raqm-0.10.3/src/raqm.c:341:3: warning: If memory allocation fails, then there is a possible null pointer dereference: run [nullPointerOutOfMemory] raqm-0.10.3/src/raqm.c:336:18: note: Assuming allocation function fails raqm-0.10.3/src/raqm.c:336:18: note: Assignment 'run=malloc(sizeof(struct raqm_run_t))', assigned value is 0 raqm-0.10.3/src/raqm.c:341:3: note: Null pointer dereference 2.18.0 raqm-0.10.3/src/raqm.c:342:3: warning: If memory allocation fails, then there is a possible null pointer dereference: run [nullPointerOutOfMemory] raqm-0.10.3/src/raqm.c:336:18: note: Assuming allocation function fails raqm-0.10.3/src/raqm.c:336:18: note: Assignment 'run=malloc(sizeof(struct raqm_run_t))', assigned value is 0 raqm-0.10.3/src/raqm.c:342:3: note: Null pointer dereference 2.18.0 raqm-0.10.3/src/raqm.c:343:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HB_DIRECTION_INVALID [valueFlowBailoutIncompleteVar] 2.18.0 raqm-0.10.3/src/raqm.c:343:3: warning: If memory allocation fails, then there is a possible null pointer dereference: run [nullPointerOutOfMemory] raqm-0.10.3/src/raqm.c:336:18: note: Assuming allocation function fails raqm-0.10.3/src/raqm.c:336:18: note: Assignment 'run=malloc(sizeof(struct raqm_run_t))', assigned value is 0 raqm-0.10.3/src/raqm.c:343:3: note: Null pointer dereference 2.18.0 raqm-0.10.3/src/raqm.c:344:3: warning: If memory allocation fails, then there is a possible null pointer dereference: run [nullPointerOutOfMemory] raqm-0.10.3/src/raqm.c:336:18: note: Assuming allocation function fails raqm-0.10.3/src/raqm.c:336:18: note: Assignment 'run=malloc(sizeof(struct raqm_run_t))', assigned value is 0 raqm-0.10.3/src/raqm.c:344:3: note: Null pointer dereference 2.18.0 raqm-0.10.3/src/raqm.c:345:3: warning: If memory allocation fails, then there is a possible null pointer dereference: run [nullPointerOutOfMemory] raqm-0.10.3/src/raqm.c:336:18: note: Assuming allocation function fails raqm-0.10.3/src/raqm.c:336:18: note: Assignment 'run=malloc(sizeof(struct raqm_run_t))', assigned value is 0 raqm-0.10.3/src/raqm.c:345:3: note: Null pointer dereference 2.18.0 raqm-0.10.3/src/raqm.c:827:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hb_feature_t [valueFlowBailoutIncompleteVar] DONE