2026-05-03 10:52 ftp://ftp.de.debian.org/debian/pool/main/m/maloc/maloc_1.5.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 -j1 platform: Linux-6.8.0-1047-aws-aarch64-with-glibc2.35 python: 3.10.12 client-version: 1.4.0 compiler: g++ (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0 cppcheck: head 2.20.0 head-info: e5c4a73 (2026-05-01 11:10:43 +0200) count: 48 48 elapsed-time: 0.7 0.6 head-timing-info: old-timing-info: head results: maloc/src/base/maloc_base.c:36:1: error: There is an unknown macro here somewhere. Configuration is required. If VEMBED is a macro then please configure it. [unknownMacro] maloc/src/efence/efence.c:318:9: warning: If memory allocation fails, then there is a possible null pointer dereference: newAllocation [nullPointerOutOfMemory] maloc/src/efence/efence.c:317:24: note: Assuming allocation function fails maloc/src/efence/efence.c:317:24: note: Assignment 'newAllocation=malloc(newSize)', assigned value is 0 maloc/src/efence/efence.c:318:9: note: Null pointer dereference maloc/src/efence/efence.c:641:7: warning: Either the condition '!slot' is redundant or there is possible null pointer dereference: slot. [nullPointerRedundantCheck] maloc/src/efence/efence.c:638:7: note: Assuming that condition '!slot' is not redundant maloc/src/efence/efence.c:641:7: note: Null pointer dereference maloc/src/efence/efence.c:729:26: warning: Either the condition 'slot==0' is redundant or there is possible null pointer dereference: slot. [nullPointerRedundantCheck] maloc/src/efence/efence.c:723:13: note: Assuming that condition 'slot==0' is not redundant maloc/src/efence/efence.c:729:26: note: Null pointer dereference maloc/src/efence/efence.c:763:9: warning: If memory allocation fails, then there is a possible null pointer dereference: allocation [nullPointerOutOfMemory] maloc/src/efence/efence.c:761:28: note: Assuming allocation function fails maloc/src/efence/efence.c:761:28: note: Assignment 'allocation=malloc(size)', assigned value is 0 maloc/src/efence/efence.c:763:9: note: Null pointer dereference maloc/src/efence/efence.c:486:18: style: Variable 'fullSlot->mode' is reassigned a value before the old one has been used. [redundantAssignment] maloc/src/efence/efence.c:476:18: note: fullSlot->mode is assigned maloc/src/efence/efence.c:486:18: note: fullSlot->mode is overwritten maloc/src/efence/efence.c:191:9: style: Variable 'string' can be declared as pointer to const [constVariablePointer] maloc/src/efence/efence.c:568:27: style: Parameter 'address' can be declared as pointer to const [constParameterPointer] maloc/src/efence/efence.c:586:31: style: Parameter 'address' can be declared as pointer to const [constParameterPointer] maloc/src/efence/efence.c:716:10: style: Variable 'slot' can be declared as pointer to const [constVariablePointer] maloc/src/efence/page.c:45:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] maloc/src/efence/page.c:106:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] maloc/src/efence/page.c:149:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] maloc/src/efence/print.c:120:23: style:inconclusive: Function 'EF_Abort' argument 1 names different: declaration 'message' definition 'pattern'. [funcArgNamesDifferent] maloc/src/efence/efence.h:38:30: note: Function 'EF_Abort' argument 1 names different: declaration 'message' definition 'pattern'. maloc/src/efence/print.c:120:23: note: Function 'EF_Abort' argument 1 names different: declaration 'message' definition 'pattern'. maloc/src/efence/print.c:143:22: style:inconclusive: Function 'EF_Exit' argument 1 names different: declaration 'message' definition 'pattern'. [funcArgNamesDifferent] maloc/src/efence/efence.h:39:29: note: Function 'EF_Exit' argument 1 names different: declaration 'message' definition 'pattern'. maloc/src/efence/print.c:143:22: note: Function 'EF_Exit' argument 1 names different: declaration 'message' definition 'pattern'. maloc/src/efence/print.c:163:23: style:inconclusive: Function 'EF_Print' argument 1 names different: declaration 'message' definition 'pattern'. [funcArgNamesDifferent] maloc/src/efence/efence.h:40:30: note: Function 'EF_Print' argument 1 names different: declaration 'message' definition 'pattern'. maloc/src/efence/print.c:163:23: note: Function 'EF_Print' argument 1 names different: declaration 'message' definition 'pattern'. maloc/src/efence/print.c:90:12: style: Local variable 'c' shadows outer variable [shadowVariable] maloc/src/efence/print.c:54:8: note: Shadowed declaration maloc/src/efence/print.c:90:12: note: Shadow variable maloc/src/efence/print.c:102:11: style: Local variable 'c' shadows outer variable [shadowVariable] maloc/src/efence/print.c:54:8: note: Shadowed declaration maloc/src/efence/print.c:102:11: note: Shadow variable maloc/src/psh/psh.c:36:1: error: There is an unknown macro here somewhere. Configuration is required. If VEMBED is a macro then please configure it. [unknownMacro] maloc/src/psh/vcom.c:36:1: error: There is an unknown macro here somewhere. Configuration is required. If VEMBED is a macro then please configure it. [unknownMacro] maloc/src/psh/vmp.c:40:1: error: There is an unknown macro here somewhere. Configuration is required. If VEMBED is a macro then please configure it. [unknownMacro] maloc/src/psh/vmpi.c:81:1: error: There is an unknown macro here somewhere. Configuration is required. If VEMBED is a macro then please configure it. [unknownMacro] maloc/src/vsh/vlex.c:487:1: error: There is an unknown macro here somewhere. Configuration is required. If VEMBED is a macro then please configure it. [unknownMacro] maloc/src/vsh/vpars.c:36:1: error: There is an unknown macro here somewhere. Configuration is required. If VEMBED is a macro then please configure it. [unknownMacro] maloc/src/vsh/vpup.c:51:1: error: There is an unknown macro here somewhere. Configuration is required. If VEMBED is a macro then please configure it. [unknownMacro] maloc/src/vsh/vsh.c:37:1: error: There is an unknown macro here somewhere. Configuration is required. If VEMBED is a macro then please configure it. [unknownMacro] maloc/src/vsh/vyacc.c:124:1: error: There is an unknown macro here somewhere. Configuration is required. If VEMBED is a macro then please configure it. [unknownMacro] maloc/src/vsys/vio.c:36:1: error: There is an unknown macro here somewhere. Configuration is required. If VEMBED is a macro then please configure it. [unknownMacro] maloc/src/vsys/viofb.c:45:1: error: There is an unknown macro here somewhere. Configuration is required. If VEMBED is a macro then please configure it. [unknownMacro] maloc/src/vsys/vmem.c:36:1: error: There is an unknown macro here somewhere. Configuration is required. If VEMBED is a macro then please configure it. [unknownMacro] maloc/src/vsys/vnm.c:48:1: error: There is an unknown macro here somewhere. Configuration is required. If VEMBED is a macro then please configure it. [unknownMacro] maloc/src/vsys/vnmfb.c:45:1: error: There is an unknown macro here somewhere. Configuration is required. If VEMBED is a macro then please configure it. [unknownMacro] maloc/src/vsys/vpred.c:53:1: error: There is an unknown macro here somewhere. Configuration is required. If VEMBED is a macro then please configure it. [unknownMacro] maloc/src/vsys/vset.c:36:1: error: There is an unknown macro here somewhere. Configuration is required. If VEMBED is a macro then please configure it. [unknownMacro] maloc/src/vsys/ziofb.c:45:1: error: There is an unknown macro here somewhere. Configuration is required. If VEMBED is a macro then please configure it. [unknownMacro] maloc/tools/main.c:47:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VMAX_BUFSIZE [valueFlowBailoutIncompleteVar] maloc/tools/main.c:145:23: style: Label 'VERROR2' is not used. [unusedLabel] maloc/tools/main.c:166:3: style: Label 'VERROR1' is not used. [unusedLabel] maloc/tools/tests/aloc/mainc.c:53:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VNULL [valueFlowBailoutIncompleteVar] maloc/tools/tests/aloc/mainc.c:66:3: style: Label 'VERROR1' is not used. [unusedLabel] maloc/tools/tests/psh/vcomtst.c:81:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] maloc/tools/tests/psh/vmpitst.c:53:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VNULL [valueFlowBailoutIncompleteVar] maloc/tools/tests/vsh/main.c:173:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VNULL [valueFlowBailoutIncompleteVar] maloc/tools/tests/vsh/main.c:58:37: style: Parameter 'thee' can be declared as pointer to const [constParameterPointer] maloc/tools/tests/vsh/main.c:58:59: style: Parameter 'argv' can be declared as const array [constParameter] maloc/tools/tests/zfence/eftest.c:43:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] maloc/tools/tests/zfence/eftest.c:56:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] maloc/tools/tests/zfence/eftest.c:75:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ef_number [valueFlowBailoutIncompleteVar] diff: DONE