2025-12-26 14:03 ftp://ftp.de.debian.org/debian/pool/main/a/alire/alire_1.2.1.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-90-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.69 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.19.0 head-info: a5ec929 (2025-12-24 09:21:38 +0100) count: 11 11 elapsed-time: 0.0 0.1 head-timing-info: old-timing-info: head results: alire-1.2.1/deps/gnatcoll-slim/src/getRSS.c:33:2: error: #error "Cannot define getPeakRSS( ) or getCurrentRSS( ) for an unknown OS." [preprocessorErrorDirective] alire-1.2.1/deps/gnatcoll-slim/src/gnatcoll_support.c:128:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IREAD [valueFlowBailoutIncompleteVar] alire-1.2.1/deps/gnatcoll-slim/src/gnatcoll_support.c:185:18: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] alire-1.2.1/deps/gnatcoll-slim/src/gnatcoll_support.c:184:19: note: Assuming allocation function fails alire-1.2.1/deps/gnatcoll-slim/src/gnatcoll_support.c:184:19: note: Assignment 'result=strdup("/tmp")', assigned value is 0 alire-1.2.1/deps/gnatcoll-slim/src/gnatcoll_support.c:185:18: note: Null pointer dereference alire-1.2.1/deps/gnatcoll-slim/src/gnatcoll_support.c:83:29: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] alire-1.2.1/deps/gnatcoll-slim/src/gnatcoll_support.c:87:23: style: Parameter 'start' can be declared as pointer to const [constParameterPointer] alire-1.2.1/deps/gnatcoll-slim/src/gnatcoll_support.c:93:28: style: Parameter 'start' can be declared as pointer to const [constParameterPointer] alire-1.2.1/deps/gnatcoll-slim/src/gnatcoll_support.c:101:45: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] alire-1.2.1/deps/gnatcoll-slim/src/gnatcoll_support.c:111:32: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] alire-1.2.1/deps/gnatcoll-slim/src/set_std_prefix.c:24:23: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] alire-1.2.1/deps/gnatcoll-slim/src/update_path.c:24:32: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] alire-1.2.1/testsuite/tests/crate_config/basic/my_index/libcrate_config_src/src/test.c:5:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CRATE_VERSION [valueFlowBailoutIncompleteVar] diff: DONE