2025-05-06 16:12 ftp://ftp.de.debian.org/debian/pool/main/o/ocaml-gavl/ocaml-gavl_0.1.6.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 -j3 platform: Linux-6.8.0-1022-oracle-aarch64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: 56be00d (2025-05-06 17:27:07 +0200) count: 26 26 elapsed-time: 0.1 0.1 head-timing-info: old-timing-info: head results: ocaml-gavl-0.1.6/src/gavl_stubs.c:74:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_GRAY_8 [valueFlowBailoutIncompleteVar] ocaml-gavl-0.1.6/src/gavl_stubs.c:311:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ret [valueFlowBailoutIncompleteVar] ocaml-gavl-0.1.6/src/gavl_stubs.c:381:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAVL_INTERLACE_NONE [valueFlowBailoutIncompleteVar] ocaml-gavl-0.1.6/src/gavl_stubs.c:425:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v [valueFlowBailoutIncompleteVar] ocaml-gavl-0.1.6/src/gavl_stubs.c:482:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ret [valueFlowBailoutIncompleteVar] ocaml-gavl-0.1.6/src/gavl_stubs.c:523:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Val_unit [valueFlowBailoutIncompleteVar] ocaml-gavl-0.1.6/src/gavl_stubs.c:529:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ret [valueFlowBailoutIncompleteVar] ocaml-gavl-0.1.6/src/gavl_stubs.c:594:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Val_unit [valueFlowBailoutIncompleteVar] ocaml-gavl-0.1.6/src/gavl_stubs.c:600:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ret [valueFlowBailoutIncompleteVar] ocaml-gavl-0.1.6/src/gavl_stubs.c:617:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Val_unit [valueFlowBailoutIncompleteVar] ocaml-gavl-0.1.6/src/gavl_stubs.c:640:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ret [valueFlowBailoutIncompleteVar] ocaml-gavl-0.1.6/src/gavl_stubs.c:665:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ret [valueFlowBailoutIncompleteVar] ocaml-gavl-0.1.6/src/gavl_stubs.c:687:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Val_unit [valueFlowBailoutIncompleteVar] ocaml-gavl-0.1.6/src/gavl_stubs.c:694:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Val_unit [valueFlowBailoutIncompleteVar] ocaml-gavl-0.1.6/src/gavl_stubs.c:711:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Val_unit [valueFlowBailoutIncompleteVar] ocaml-gavl-0.1.6/src/gavl_stubs.c:717:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ret [valueFlowBailoutIncompleteVar] ocaml-gavl-0.1.6/src/gavl_stubs.c:732:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Val_unit [valueFlowBailoutIncompleteVar] ocaml-gavl-0.1.6/src/gavl_stubs.c:746:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Val_unit [valueFlowBailoutIncompleteVar] ocaml-gavl-0.1.6/src/gavl_stubs.c:488:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: conv [nullPointerOutOfMemory] ocaml-gavl-0.1.6/src/gavl_stubs.c:484:28: note: Assuming allocation function fails ocaml-gavl-0.1.6/src/gavl_stubs.c:484:28: note: Assignment 'conv=malloc(sizeof(struct vid_conv_t))', assigned value is 0 ocaml-gavl-0.1.6/src/gavl_stubs.c:488:3: note: Null pointer dereference ocaml-gavl-0.1.6/src/gavl_stubs.c:489:7: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: conv [nullPointerOutOfMemory] ocaml-gavl-0.1.6/src/gavl_stubs.c:484:28: note: Assuming allocation function fails ocaml-gavl-0.1.6/src/gavl_stubs.c:484:28: note: Assignment 'conv=malloc(sizeof(struct vid_conv_t))', assigned value is 0 ocaml-gavl-0.1.6/src/gavl_stubs.c:489:7: note: Null pointer dereference ocaml-gavl-0.1.6/src/gavl_stubs.c:493:36: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: conv [nullPointerOutOfMemory] ocaml-gavl-0.1.6/src/gavl_stubs.c:484:28: note: Assuming allocation function fails ocaml-gavl-0.1.6/src/gavl_stubs.c:484:28: note: Assignment 'conv=malloc(sizeof(struct vid_conv_t))', assigned value is 0 ocaml-gavl-0.1.6/src/gavl_stubs.c:493:36: note: Null pointer dereference ocaml-gavl-0.1.6/src/gavl_stubs.c:502:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: conv [nullPointerOutOfMemory] ocaml-gavl-0.1.6/src/gavl_stubs.c:484:28: note: Assuming allocation function fails ocaml-gavl-0.1.6/src/gavl_stubs.c:484:28: note: Assignment 'conv=malloc(sizeof(struct vid_conv_t))', assigned value is 0 ocaml-gavl-0.1.6/src/gavl_stubs.c:502:3: note: Null pointer dereference ocaml-gavl-0.1.6/src/gavl_stubs.c:48:72: style: Parameter 'vf' can be declared as pointer to const [constParameterPointer] ocaml-gavl-0.1.6/src/gavl_stubs.c:63:61: style: Parameter 'vf' can be declared as pointer to const [constParameterPointer] ocaml-gavl-0.1.6/src/gavl_stubs.c:72:9: style: Variable 's' can be declared as pointer to const [constVariablePointer] ocaml-gavl-0.1.6/src/gavl_stubs.c:391:25: style: Variable 'data' can be declared as pointer to const [constVariablePointer] diff: DONE