2026-05-02 10:35 ftp://ftp.de.debian.org/debian/pool/main/g/gulkan/gulkan_0.15.1.orig.tar.bz2 cppcheck-options: --library=posix --library=gnu --library=bsd --library=cairo --library=gtk --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: 109 109 elapsed-time: 0.6 0.5 head-timing-info: old-timing-info: head results: gulkan-0.15.1/examples/cairo.c:105:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_FORMAT_ARGB32 [valueFlowBailoutIncompleteVar] gulkan-0.15.1/examples/cairo.c:139:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gulkan-0.15.1/examples/common/common.c:18:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VK_KHR_SWAPCHAIN_EXTENSION_NAME [valueFlowBailoutIncompleteVar] gulkan-0.15.1/examples/common/model-renderer.c:44:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable model_renderer_parent_class [valueFlowBailoutIncompleteVar] gulkan-0.15.1/examples/common/model-renderer.c:58:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VK_PIPELINE_BIND_POINT_GRAPHICS [valueFlowBailoutIncompleteVar] gulkan-0.15.1/examples/common/model-renderer.c:83:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_STATE_CREATE_INFO [valueFlowBailoutIncompleteVar] gulkan-0.15.1/examples/common/model-renderer.c:231:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sType [valueFlowBailoutIncompleteVar] gulkan-0.15.1/examples/common/model-renderer.c:265:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable descriptorType [valueFlowBailoutIncompleteVar] gulkan-0.15.1/examples/common/plane-example.c:50:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable plane_example_parent_class [valueFlowBailoutIncompleteVar] gulkan-0.15.1/examples/common/plane-example.c:85:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFW_PRESS [valueFlowBailoutIncompleteVar] gulkan-0.15.1/examples/common/plane-example.c:157:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VK_KHR_SWAPCHAIN_EXTENSION_NAME [valueFlowBailoutIncompleteVar] gulkan-0.15.1/examples/common/plane-renderer.c:50:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VK_NULL_HANDLE [valueFlowBailoutIncompleteVar] gulkan-0.15.1/examples/common/plane-renderer.c:82:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VK_NULL_HANDLE [valueFlowBailoutIncompleteVar] gulkan-0.15.1/examples/common/plane-renderer.c:123:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO [valueFlowBailoutIncompleteVar] gulkan-0.15.1/examples/common/plane-renderer.c:250:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sType [valueFlowBailoutIncompleteVar] gulkan-0.15.1/examples/common/plane-renderer.c:272:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO [valueFlowBailoutIncompleteVar] gulkan-0.15.1/examples/common/plane-renderer.c:299:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VK_PIPELINE_BIND_POINT_GRAPHICS [valueFlowBailoutIncompleteVar] gulkan-0.15.1/examples/common/plane-renderer.c:355:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable binding [valueFlowBailoutIncompleteVar] gulkan-0.15.1/examples/common/plane-renderer.c:381:7: style: Condition '!_init_texture_sampler(device,&self->sampler)' is always false [knownConditionTrueFalse] gulkan-0.15.1/examples/common/plane-renderer.c:381:30: note: Calling function '_init_texture_sampler' returns 1 gulkan-0.15.1/examples/common/plane-renderer.c:381:7: note: Condition '!_init_texture_sampler(device,&self->sampler)' is always false gulkan-0.15.1/examples/cube.c:161:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gulkan_example_parent_class [valueFlowBailoutIncompleteVar] gulkan-0.15.1/examples/cube.c:175:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable width [valueFlowBailoutIncompleteVar] gulkan-0.15.1/examples/cube.c:220:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFW_PRESS [valueFlowBailoutIncompleteVar] gulkan-0.15.1/examples/cube.c:245:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VK_SUCCESS [valueFlowBailoutIncompleteVar] gulkan-0.15.1/examples/cube.c:262:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFW_RESIZABLE [valueFlowBailoutIncompleteVar] gulkan-0.15.1/examples/cube.c:322:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VK_SUCCESS [valueFlowBailoutIncompleteVar] gulkan-0.15.1/examples/dmabuf.c:54:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMDGPU_GEM_DOMAIN_GTT [valueFlowBailoutIncompleteVar] gulkan-0.15.1/examples/dmabuf.c:136:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VK_FORMAT_B8G8R8A8_SRGB [valueFlowBailoutIncompleteVar] gulkan-0.15.1/examples/dmabuf.c:163:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gulkan_example_parent_class [valueFlowBailoutIncompleteVar] gulkan-0.15.1/examples/dmabuf.c:48:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] gulkan-0.15.1/examples/dmabuf.c:48:3: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] gulkan-0.15.1/examples/external-memory.c:58:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gulkan_example_parent_class [valueFlowBailoutIncompleteVar] gulkan-0.15.1/examples/external-memory.c:67:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFW_CONTEXT_VERSION_MAJOR [valueFlowBailoutIncompleteVar] gulkan-0.15.1/examples/external-memory.c:86:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_NO_ERROR [valueFlowBailoutIncompleteVar] gulkan-0.15.1/examples/external-memory.c:102:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL [valueFlowBailoutIncompleteVar] gulkan-0.15.1/examples/external-memory.c:83:23: style: Parameter 'prefix' can be declared as pointer to const [constParameterPointer] gulkan-0.15.1/examples/threading.c:67:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gulkan_example_parent_class [valueFlowBailoutIncompleteVar] gulkan-0.15.1/examples/threading.c:102:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFW_PRESS [valueFlowBailoutIncompleteVar] gulkan-0.15.1/examples/threading.c:115:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFW_RESIZABLE [valueFlowBailoutIncompleteVar] gulkan-0.15.1/examples/threading.c:182:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL [valueFlowBailoutIncompleteVar] gulkan-0.15.1/examples/threading.c:268:7: error: Memory pointed to by 'error' is freed twice. [doubleFree] gulkan-0.15.1/examples/threading.c:258:7: note: Memory pointed to by 'error' is freed twice. gulkan-0.15.1/examples/threading.c:268:7: note: Memory pointed to by 'error' is freed twice. gulkan-0.15.1/examples/toy.c:143:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gulkan_example_parent_class [valueFlowBailoutIncompleteVar] gulkan-0.15.1/examples/toy.c:157:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable width [valueFlowBailoutIncompleteVar] gulkan-0.15.1/examples/toy.c:177:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_RESOURCE_LOOKUP_FLAGS_NONE [valueFlowBailoutIncompleteVar] gulkan-0.15.1/examples/toy.c:222:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shaderc_glsl_fragment_shader [valueFlowBailoutIncompleteVar] gulkan-0.15.1/examples/toy.c:277:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_STATE_CREATE_INFO [valueFlowBailoutIncompleteVar] gulkan-0.15.1/examples/toy.c:407:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VkWriteDescriptorSet [valueFlowBailoutIncompleteVar] gulkan-0.15.1/examples/toy.c:450:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VK_FILTER_LINEAR [valueFlowBailoutIncompleteVar] gulkan-0.15.1/examples/toy.c:481:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VK_PIPELINE_BIND_POINT_GRAPHICS [valueFlowBailoutIncompleteVar] gulkan-0.15.1/examples/toy.c:500:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFW_PRESS [valueFlowBailoutIncompleteVar] gulkan-0.15.1/examples/toy.c:516:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFW_PRESS [valueFlowBailoutIncompleteVar] gulkan-0.15.1/examples/toy.c:529:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFW_MOUSE_BUTTON_LEFT [valueFlowBailoutIncompleteVar] gulkan-0.15.1/examples/toy.c:567:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VK_SUCCESS [valueFlowBailoutIncompleteVar] gulkan-0.15.1/examples/toy.c:588:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFW_RESIZABLE [valueFlowBailoutIncompleteVar] gulkan-0.15.1/examples/toy.c:661:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VkDescriptorSetLayoutBinding [valueFlowBailoutIncompleteVar] gulkan-0.15.1/examples/toy.c:733:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VK_FILTER_LINEAR [valueFlowBailoutIncompleteVar] gulkan-0.15.1/examples/toy.c:893:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_OUTPUT_STREAM_SPLICE_CLOSE_TARGET [valueFlowBailoutIncompleteVar] gulkan-0.15.1/examples/toy.c:1015:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VK_NULL_HANDLE [valueFlowBailoutIncompleteVar] gulkan-0.15.1/examples/toy.c:751:11: style: Condition '!_init_texture_sampler(device,filter,&input->sampler)' is always false [knownConditionTrueFalse] gulkan-0.15.1/examples/toy.c:751:34: note: Calling function '_init_texture_sampler' returns 1 gulkan-0.15.1/examples/toy.c:751:11: note: Condition '!_init_texture_sampler(device,filter,&input->sampler)' is always false gulkan-0.15.1/examples/toy.c:874:7: error: Memory leak: url [memleak] gulkan-0.15.1/examples/toy.c:886:7: error: Memory leak: url [memleak] gulkan-0.15.1/examples/toy.c:901:7: error: Memory leak: url [memleak] gulkan-0.15.1/examples/toy.c:907:7: error: Memory leak: url [memleak] gulkan-0.15.1/examples/toy.c:1184:7: error: Memory leak: url [memleak] gulkan-0.15.1/examples/toy.c:1204:7: error: Memory leak: url [memleak] gulkan-0.15.1/examples/toy.c:1218:7: error: Memory leak: url [memleak] gulkan-0.15.1/examples/toy.c:1237:3: error: Memory leak: url [memleak] gulkan-0.15.1/examples/toy.c:1292:7: error: Memory leak: context [memleak] gulkan-0.15.1/examples/toy.c:1298:7: error: Memory leak: context [memleak] gulkan-0.15.1/examples/toy.c:1316:7: error: Memory leak: context [memleak] gulkan-0.15.1/examples/toy.c:1325:7: error: Memory leak: context [memleak] gulkan-0.15.1/examples/toy.c:1333:3: error: Memory leak: context [memleak] gulkan-0.15.1/examples/toy.c:938:32: error: Allocation with g_path_get_basename, g_string_append doesn't release it. [leakNoVarFunctionCall] gulkan-0.15.1/examples/toy.c:1291:25: error: Allocation with g_option_context_get_help, g_printerr doesn't release it. [leakNoVarFunctionCall] gulkan-0.15.1/examples/toy.c:1297:25: error: Allocation with g_option_context_get_help, g_printerr doesn't release it. [leakNoVarFunctionCall] gulkan-0.15.1/examples/toy.c:1315:25: error: Allocation with g_option_context_get_help, g_printerr doesn't release it. [leakNoVarFunctionCall] gulkan-0.15.1/examples/toy.c:207:15: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] gulkan-0.15.1/examples/toy.c:208:21: style: Variable 'input' can be declared as pointer to const [constVariablePointer] gulkan-0.15.1/examples/toy.c:426:15: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] gulkan-0.15.1/examples/toy.c:680:15: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] gulkan-0.15.1/examples/toy.c:681:21: style: Variable 'input' can be declared as pointer to const [constVariablePointer] gulkan-0.15.1/src/gulkan-buffer.h:12:2: error: #error "Only can be included directly." [preprocessorErrorDirective] gulkan-0.15.1/src/gulkan-client.h:12:2: error: #error "Only can be included directly." [preprocessorErrorDirective] gulkan-0.15.1/src/gulkan-device.h:12:2: error: #error "Only can be included directly." [preprocessorErrorDirective] gulkan-0.15.1/src/gulkan-frame-buffer.h:12:2: error: #error "Only can be included directly." [preprocessorErrorDirective] gulkan-0.15.1/src/gulkan-geometry.h:12:2: error: #error "Only can be included directly." [preprocessorErrorDirective] gulkan-0.15.1/src/gulkan-instance.h:12:2: error: #error "Only can be included directly." [preprocessorErrorDirective] gulkan-0.15.1/src/gulkan-queue.h:12:2: error: #error "Only can be included directly." [preprocessorErrorDirective] gulkan-0.15.1/src/gulkan-render-pass.h:12:2: error: #error "Only can be included directly." [preprocessorErrorDirective] gulkan-0.15.1/src/gulkan-renderer.h:12:2: error: #error "Only can be included directly." [preprocessorErrorDirective] gulkan-0.15.1/src/gulkan-swapchain.h:12:2: error: #error "Only can be included directly." [preprocessorErrorDirective] gulkan-0.15.1/src/gulkan-texture.h:12:2: error: #error "Only can be included directly." [preprocessorErrorDirective] gulkan-0.15.1/src/gulkan-uniform-buffer.h:12:2: error: #error "Only can be included directly." [preprocessorErrorDirective] gulkan-0.15.1/src/gulkan-vertex-buffer.h:12:2: error: #error "Only can be included directly." [preprocessorErrorDirective] gulkan-0.15.1/tests/test_device.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VK_NULL_HANDLE [valueFlowBailoutIncompleteVar] gulkan-0.15.1/tests/test_renderer.c:16:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GULKAN_TYPE_RENDERER [valueFlowBailoutIncompleteVar] gulkan-0.15.1/tests/test_renderer.c:29:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GULKAN_TYPE_RENDERER [valueFlowBailoutIncompleteVar] gulkan-0.15.1/tests/test_renderer.c:56:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VK_SUCCESS [valueFlowBailoutIncompleteVar] gulkan-0.15.1/tests/test_renderer.c:16:37: style: Variable 'renderer' is allocated memory that is never used. [unusedAllocatedMemory] gulkan-0.15.1/tests/test_renderer.c:20:46: style: Variable 'swapchain_renderer' is allocated memory that is never used. [unusedAllocatedMemory] gulkan-0.15.1/tests/test_texture_external.c:27:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_DEBUG_TYPE_ERROR [valueFlowBailoutIncompleteVar] gulkan-0.15.1/tests/test_texture_external.c:50:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INTERP_NEAREST [valueFlowBailoutIncompleteVar] gulkan-0.15.1/tests/test_texture_external.c:78:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_NO_ERROR [valueFlowBailoutIncompleteVar] gulkan-0.15.1/tests/test_texture_external.c:90:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TRUE [valueFlowBailoutIncompleteVar] gulkan-0.15.1/tests/test_texture_external.c:133:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL [valueFlowBailoutIncompleteVar] gulkan-0.15.1/tests/test_texture_external.c:182:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_2D [valueFlowBailoutIncompleteVar] gulkan-0.15.1/tests/test_texture_external.c:207:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_FREE_MEMORY_ATI [valueFlowBailoutIncompleteVar] gulkan-0.15.1/tests/test_texture_external.c:248:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFW_CONTEXT_VERSION_MAJOR [valueFlowBailoutIncompleteVar] gulkan-0.15.1/tests/test_texture_external.c:266:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLEW_OK [valueFlowBailoutIncompleteVar] gulkan-0.15.1/tests/test_texture_external.c:75:23: style: Parameter 'prefix' can be declared as pointer to const [constParameterPointer] diff: DONE