diff --git a/.github/workflows/linux_clang.yml b/.github/workflows/linux_clang.yml index d868fbc..6bd0e30 100644 --- a/.github/workflows/linux_clang.yml +++ b/.github/workflows/linux_clang.yml @@ -35,7 +35,7 @@ jobs: # Build the lib - name: Build MacroLibX - run: make -j + run: make -j && make fclean && make -j DEBUG=true # Build the test - name: Build Test diff --git a/.github/workflows/linux_gcc.yml b/.github/workflows/linux_gcc.yml index 5d3b915..6030878 100644 --- a/.github/workflows/linux_gcc.yml +++ b/.github/workflows/linux_gcc.yml @@ -35,7 +35,7 @@ jobs: # Build the lib - name: Build MacroLibX - run: make TOOLCHAIN=gcc -j + run: make TOOLCHAIN=gcc -j && make fclean && make TOOLCHAIN=gcc DEBUG=true -j # Build the test - name: Build Test diff --git a/.github/workflows/macos_x86.yml b/.github/workflows/macos_x86.yml index ba4361d..217d31f 100644 --- a/.github/workflows/macos_x86.yml +++ b/.github/workflows/macos_x86.yml @@ -41,7 +41,7 @@ jobs: # Build the lib - name: Build MacroLibX - run: make -j + run: make -j && make fclean && make DEBUG=true -j # Build the test - name: Build Test diff --git a/Makefile b/Makefile index a6d8efe..7c51147 100644 --- a/Makefile +++ b/Makefile @@ -6,14 +6,13 @@ # By: maldavid +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # Created: 2022/10/04 16:43:41 by maldavid #+# #+# # -# Updated: 2023/12/07 15:25:52 by kbz_8 ### ########.fr # +# Updated: 2023/12/10 23:15:03 by kbz_8 ### ########.fr # # # # **************************************************************************** # NAME = libmlx.so SRCS = $(wildcard $(addsuffix /*.cpp, ./src/core)) -SRCS += $(wildcard $(addsuffix /*.cpp, ./src/core/**)) SRCS += $(wildcard $(addsuffix /*.cpp, ./src/platform)) SRCS += $(wildcard $(addsuffix /*.cpp, ./src/renderer)) SRCS += $(wildcard $(addsuffix /*.cpp, ./src/renderer/**)) @@ -32,15 +31,18 @@ MODE = "release" CXX = clang++ -ifeq ($(TOOLCHAIN), gcc) - CXX = g++ -endif - -CXXFLAGS = -std=c++17 -O3 -fPIC +CXXFLAGS = -std=c++17 -O3 -fPIC -Wall -Wextra -Werror INCLUDES = -I./includes -I./src -I./third_party LDLIBS = +ifeq ($(TOOLCHAIN), gcc) + CXX = g++ + CXXFLAGS += -Wno-error=cpp +else + CXXFLAGS += -Wno-error=#warning +endif + ifeq ($(OS), Darwin) LDLIBS += -lSDL2 endif diff --git a/includes/mlx.h b/includes/mlx.h index 57dc761..bab16ee 100644 --- a/includes/mlx.h +++ b/includes/mlx.h @@ -6,7 +6,7 @@ /* By: maldavid +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2022/10/04 16:56:35 by maldavid #+# #+# */ -/* Updated: 2023/12/08 18:07:40 by kbz_8 ### ########.fr */ +/* Updated: 2023/12/11 20:35:41 by kbz_8 ### ########.fr */ /* */ /* ************************************************************************** */ @@ -15,19 +15,7 @@ #ifndef __MACRO_LIB_X_H__ #define __MACRO_LIB_X_H__ -#if defined(_WIN32) || defined(_WIN64) - #define MLX_EXPORT __declspec(dllexport) - #define MLX_IMPORT __declspec(dllimport) -#else - #define MLX_EXPORT - #define MLX_IMPORT -#endif - -#ifdef MLX_BUILD - #define MLX_API MLX_EXPORT -#else - #define MLX_API MLX_IMPORT -#endif +#include "mlx_profile.h" #ifdef __cplusplus extern "C" { diff --git a/src/core/profile.h b/includes/mlx_profile.h similarity index 50% rename from src/core/profile.h rename to includes/mlx_profile.h index 45d6ed7..5f6f527 100644 --- a/src/core/profile.h +++ b/includes/mlx_profile.h @@ -1,12 +1,12 @@ /* ************************************************************************** */ /* */ /* ::: :::::::: */ -/* profile.h :+: :+: :+: */ +/* mlx_profile.h :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: maldavid +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2023/11/10 08:49:17 by maldavid #+# #+# */ -/* Updated: 2023/12/08 18:49:38 by kbz_8 ### ########.fr */ +/* Updated: 2023/12/11 20:35:57 by kbz_8 ### ########.fr */ /* */ /* ************************************************************************** */ @@ -53,21 +53,48 @@ #error "Unknown environment!" #endif +#ifdef MLX_COMPILER_MSVC + #ifdef MLX_BUILD + #define MLX_API __declspec(dllexport) + #else + #define MLX_API __declspec(dllimport) + #endif +#else + #define MLX_API +#endif // Checking common assumptions -#include -#include +#ifdef __cplusplus + #include + #include -static_assert(CHAR_BIT == 8, "CHAR_BIT is expected to be 8"); + static_assert(CHAR_BIT == 8, "CHAR_BIT is expected to be 8"); -static_assert(sizeof(int8_t) == 1, "int8_t is not of the correct size" ); -static_assert(sizeof(int16_t) == 2, "int16_t is not of the correct size"); -static_assert(sizeof(int32_t) == 4, "int32_t is not of the correct size"); -static_assert(sizeof(int64_t) == 8, "int64_t is not of the correct size"); + static_assert(sizeof(int8_t) == 1, "int8_t is not of the correct size" ); + static_assert(sizeof(int16_t) == 2, "int16_t is not of the correct size"); + static_assert(sizeof(int32_t) == 4, "int32_t is not of the correct size"); + static_assert(sizeof(int64_t) == 8, "int64_t is not of the correct size"); -static_assert(sizeof(uint8_t) == 1, "uint8_t is not of the correct size" ); -static_assert(sizeof(uint16_t) == 2, "uint16_t is not of the correct size"); -static_assert(sizeof(uint32_t) == 4, "uint32_t is not of the correct size"); -static_assert(sizeof(uint64_t) == 8, "uint64_t is not of the correct size"); + static_assert(sizeof(uint8_t) == 1, "uint8_t is not of the correct size" ); + static_assert(sizeof(uint16_t) == 2, "uint16_t is not of the correct size"); + static_assert(sizeof(uint32_t) == 4, "uint32_t is not of the correct size"); + static_assert(sizeof(uint64_t) == 8, "uint64_t is not of the correct size"); +#else + #define STATIC_ASSERT(COND, MSG) typedef char static_assertion___##MSG[(COND)?1:-1] + #include + #include + + STATIC_ASSERT(CHAR_BIT == 8, CHAR_BIT_is_expected_to_be_8); + + STATIC_ASSERT(sizeof(int8_t) == 1, int8_t_is_not_of_the_correct_size); + STATIC_ASSERT(sizeof(int16_t) == 2, int16_t_is_not_of_the_correct_size); + STATIC_ASSERT(sizeof(int32_t) == 4, int32_t_is_not_of_the_correct_size); + STATIC_ASSERT(sizeof(int64_t) == 8, int64_t_is_not_of_the_correct_size); + + STATIC_ASSERT(sizeof(uint8_t) == 1, uint8_t_is_not_of_the_correct_size); + STATIC_ASSERT(sizeof(uint16_t) == 2, uint16_t_is_not_of_the_correct_size); + STATIC_ASSERT(sizeof(uint32_t) == 4, uint32_t_is_not_of_the_correct_size); + STATIC_ASSERT(sizeof(uint64_t) == 8, uint64_t_is_not_of_the_correct_size); +#endif #endif diff --git a/src/core/application.cpp b/src/core/application.cpp index a7c3749..5072560 100644 --- a/src/core/application.cpp +++ b/src/core/application.cpp @@ -6,7 +6,7 @@ /* By: maldavid +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2022/10/04 22:10:52 by maldavid #+# #+# */ -/* Updated: 2023/12/09 17:44:13 by kbz_8 ### ########.fr */ +/* Updated: 2023/12/11 19:46:13 by kbz_8 ### ########.fr */ /* */ /* ************************************************************************** */ @@ -15,12 +15,14 @@ #include #include #include -#include +#include +#include namespace mlx::core { Application::Application() : _in(std::make_unique()) { + SDL_SetMemoryFunctions(MemManager::malloc, MemManager::calloc, MemManager::realloc, MemManager::free); if(SDL_Init(SDL_INIT_VIDEO | SDL_INIT_EVENTS | SDL_INIT_TIMER) != 0) error::report(e_kind::fatal_error, "SDL error : unable to init all subsystems : %s", SDL_GetError()); } diff --git a/src/core/application.h b/src/core/application.h index a877086..272bda1 100644 --- a/src/core/application.h +++ b/src/core/application.h @@ -6,7 +6,7 @@ /* By: maldavid +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2022/10/04 21:49:46 by maldavid #+# #+# */ -/* Updated: 2023/12/08 18:52:47 by kbz_8 ### ########.fr */ +/* Updated: 2023/12/11 19:46:49 by kbz_8 ### ########.fr */ /* */ /* ************************************************************************** */ @@ -24,7 +24,7 @@ #include #include -#include +#include namespace mlx::core { @@ -69,7 +69,6 @@ namespace mlx::core std::function _loop_hook; std::unique_ptr _in; void* _param = nullptr; - bool _is_loop_running = false; }; } diff --git a/src/core/bridge.cpp b/src/core/bridge.cpp index 854d9f5..af8ff8b 100644 --- a/src/core/bridge.cpp +++ b/src/core/bridge.cpp @@ -6,7 +6,7 @@ /* By: maldavid +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2022/10/04 17:35:20 by maldavid #+# #+# */ -/* Updated: 2023/12/07 23:05:05 by kbz_8 ### ########.fr */ +/* Updated: 2023/12/11 15:56:18 by kbz_8 ### ########.fr */ /* */ /* ************************************************************************** */ @@ -16,6 +16,7 @@ #include #include #include +#include extern "C" { @@ -25,8 +26,9 @@ extern "C" if(init) { mlx::core::error::report(e_kind::error, "MLX cannot be initialized multiple times"); - return NULL; + return NULL; // not nullptr for the C compatibility } + mlx::MemManager::get(); // just to initialize the C garbage collector mlx::core::Application* app = new mlx::core::Application; mlx::Render_Core::get().init(); if(app == nullptr) @@ -219,4 +221,4 @@ extern "C" static_cast(mlx)->getScreenSize(w, h); return 0; } -} \ No newline at end of file +} diff --git a/src/core/errors.h b/src/core/errors.h index d8f5ba1..d5aa359 100644 --- a/src/core/errors.h +++ b/src/core/errors.h @@ -6,7 +6,7 @@ /* By: maldavid +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2022/10/04 17:42:32 by maldavid #+# #+# */ -/* Updated: 2023/12/08 18:53:11 by kbz_8 ### ########.fr */ +/* Updated: 2023/12/11 19:46:57 by kbz_8 ### ########.fr */ /* */ /* ************************************************************************** */ @@ -14,7 +14,7 @@ #define __MLX_ERRORS__ #include -#include +#include enum class e_kind { diff --git a/src/core/graphics.cpp b/src/core/graphics.cpp index a66e140..523ff3c 100644 --- a/src/core/graphics.cpp +++ b/src/core/graphics.cpp @@ -6,7 +6,7 @@ /* By: maldavid +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2023/04/02 15:13:55 by maldavid #+# #+# */ -/* Updated: 2023/12/09 16:52:08 by kbz_8 ### ########.fr */ +/* Updated: 2023/12/10 22:20:38 by kbz_8 ### ########.fr */ /* */ /* ************************************************************************** */ @@ -16,7 +16,8 @@ namespace mlx { GraphicsSupport::GraphicsSupport(std::size_t w, std::size_t h, const std::string& title, int id) : _window(std::make_shared(w, h, title)), - _renderer(std::make_unique()), _text_put_pipeline(std::make_unique()), + _text_put_pipeline(std::make_unique()), + _renderer(std::make_unique()), _id(id) { _renderer->setWindow(_window.get()); diff --git a/src/core/graphics.h b/src/core/graphics.h index 2680162..ffd8e56 100644 --- a/src/core/graphics.h +++ b/src/core/graphics.h @@ -6,7 +6,7 @@ /* By: maldavid +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2023/04/02 14:49:49 by maldavid #+# #+# */ -/* Updated: 2023/12/08 19:04:59 by kbz_8 ### ########.fr */ +/* Updated: 2023/12/11 19:47:03 by kbz_8 ### ########.fr */ /* */ /* ************************************************************************** */ @@ -26,7 +26,7 @@ #include #include #include -#include +#include namespace mlx { diff --git a/src/core/memory.cpp b/src/core/memory.cpp index 3fd1c5b..8edf9a3 100644 --- a/src/core/memory.cpp +++ b/src/core/memory.cpp @@ -6,7 +6,7 @@ /* By: maldavid +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2023/12/07 16:32:01 by kbz_8 #+# #+# */ -/* Updated: 2023/12/08 12:56:14 by kbz_8 ### ########.fr */ +/* Updated: 2023/12/11 15:25:02 by kbz_8 ### ########.fr */ /* */ /* ************************************************************************** */ @@ -17,7 +17,7 @@ namespace mlx { - void* MemManager::alloc(std::size_t size) + void* MemManager::malloc(std::size_t size) { void* ptr = std::malloc(size); if(ptr != nullptr) @@ -25,6 +25,25 @@ namespace mlx return ptr; } + void* MemManager::calloc(std::size_t n, std::size_t size) + { + void* ptr = std::calloc(n, size); + if(ptr != nullptr) + _blocks.push_back(ptr); + return ptr; + } + + void* MemManager::realloc(void* ptr, std::size_t size) + { + void* ptr2 = std::realloc(ptr, size); + if(ptr2 != nullptr) + _blocks.push_back(ptr2); + auto it = std::find(_blocks.begin(), _blocks.end(), ptr); + if(it != _blocks.end()) + _blocks.erase(it); + return ptr2; + } + void MemManager::free(void* ptr) { auto it = std::find(_blocks.begin(), _blocks.end(), ptr); diff --git a/src/core/memory.h b/src/core/memory.h index b4649e1..6d61b88 100644 --- a/src/core/memory.h +++ b/src/core/memory.h @@ -6,7 +6,7 @@ /* By: maldavid +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2023/12/07 16:31:51 by kbz_8 #+# #+# */ -/* Updated: 2023/12/08 19:05:15 by kbz_8 ### ########.fr */ +/* Updated: 2023/12/11 19:47:13 by kbz_8 ### ########.fr */ /* */ /* ************************************************************************** */ @@ -14,7 +14,7 @@ #define __MLX_MEMORY__ #include -#include +#include #include namespace mlx @@ -24,15 +24,17 @@ namespace mlx friend class Singleton; public: - void* alloc(std::size_t size); - void free(void* ptr); + static void* malloc(std::size_t size); + static void* calloc(std::size_t n, std::size_t size); + static void* realloc(void* ptr, std::size_t size); + static void free(void* ptr); private: MemManager() = default; ~MemManager(); private: - std::list _blocks; + inline static std::list _blocks; }; } diff --git a/src/platform/inputs.cpp b/src/platform/inputs.cpp index 7dce064..bb369db 100644 --- a/src/platform/inputs.cpp +++ b/src/platform/inputs.cpp @@ -6,7 +6,7 @@ /* By: maldavid +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2022/10/05 16:30:19 by maldavid #+# #+# */ -/* Updated: 2023/12/08 12:17:40 by kbz_8 ### ########.fr */ +/* Updated: 2023/12/11 19:01:14 by kbz_8 ### ########.fr */ /* */ /* ************************************************************************** */ @@ -16,12 +16,6 @@ namespace mlx { - Input::Input() - { - std::memset(_keys.data(), 0, SDL_NUM_SCANCODES); - std::memset(_mouse.data(), 0, 8); - } - void Input::update() { _xRel = 0; @@ -47,7 +41,6 @@ namespace mlx { case SDL_KEYDOWN: { - _keys[_event.key.keysym.scancode] = static_cast(action::down); if(hooks[MLX_KEYDOWN].hook) hooks[MLX_KEYDOWN].hook(_event.key.keysym.scancode, hooks[MLX_KEYDOWN].param); break; @@ -55,7 +48,6 @@ namespace mlx case SDL_KEYUP: { - _keys[_event.key.keysym.scancode] = static_cast(action::up); if(hooks[MLX_KEYUP].hook) hooks[MLX_KEYUP].hook(_event.key.keysym.scancode, hooks[MLX_KEYUP].param); break; @@ -63,7 +55,6 @@ namespace mlx case SDL_MOUSEBUTTONDOWN: { - _mouse[_event.button.button] = static_cast(action::down); if(hooks[MLX_MOUSEDOWN].hook) hooks[MLX_MOUSEDOWN].hook(_event.button.button, hooks[MLX_MOUSEDOWN].param); break; @@ -71,7 +62,6 @@ namespace mlx case SDL_MOUSEBUTTONUP: { - _mouse[_event.button.button] = static_cast(action::up); if(hooks[MLX_MOUSEUP].hook) hooks[MLX_MOUSEUP].hook(_event.button.button, hooks[MLX_MOUSEUP].param); break; diff --git a/src/platform/inputs.h b/src/platform/inputs.h index 332d8e0..9e68289 100644 --- a/src/platform/inputs.h +++ b/src/platform/inputs.h @@ -6,7 +6,7 @@ /* By: maldavid +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2022/10/05 16:27:35 by maldavid #+# #+# */ -/* Updated: 2023/12/08 18:54:03 by kbz_8 ### ########.fr */ +/* Updated: 2023/12/11 19:47:20 by kbz_8 ### ########.fr */ /* */ /* ************************************************************************** */ @@ -18,14 +18,12 @@ #include #include -#include +#include #include "window.h" namespace mlx { - enum class action : uint8_t { up = (1 << 1), down = (1 << 2) }; - struct Hook { std::function hook; @@ -35,13 +33,10 @@ namespace mlx class Input { public: - Input(); + Input() = default; void update(); - inline bool getInKey(const SDL_Scancode key, action type = action::down) const noexcept { return _keys[key] & static_cast(type); } - - inline bool getInMouse(const uint8_t button, action type = action::down) const noexcept { return _mouse[button] & static_cast(type); } inline bool isMouseMoving() const noexcept { return _xRel || _yRel; } inline int getX() const noexcept { return _x; } @@ -68,11 +63,9 @@ namespace mlx ~Input() = default; private: - std::array _keys; std::unordered_map> _windows; std::unordered_map> _events_hooks; SDL_Event _event; - std::array _mouse; int _x = 0; int _y = 0; diff --git a/src/platform/window.cpp b/src/platform/window.cpp index c3e712f..39b6093 100644 --- a/src/platform/window.cpp +++ b/src/platform/window.cpp @@ -6,7 +6,7 @@ /* By: maldavid +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2022/10/04 17:36:44 by maldavid #+# #+# */ -/* Updated: 2023/12/09 16:52:29 by kbz_8 ### ########.fr */ +/* Updated: 2023/12/10 22:49:11 by kbz_8 ### ########.fr */ /* */ /* ************************************************************************** */ @@ -41,7 +41,6 @@ namespace mlx void MLX_Window::destroy() noexcept { - std::cout << "prout" << std::endl; if(_win != nullptr) { SDL_DestroyWindow(_win); diff --git a/src/platform/window.h b/src/platform/window.h index f1c7f16..b362b90 100644 --- a/src/platform/window.h +++ b/src/platform/window.h @@ -6,7 +6,7 @@ /* By: maldavid +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2022/10/04 21:53:12 by maldavid #+# #+# */ -/* Updated: 2023/12/09 16:35:57 by kbz_8 ### ########.fr */ +/* Updated: 2023/12/11 19:47:26 by kbz_8 ### ########.fr */ /* */ /* ************************************************************************** */ @@ -15,7 +15,7 @@ #include #include -#include +#include namespace mlx { diff --git a/src/renderer/buffers/vk_buffer.cpp b/src/renderer/buffers/vk_buffer.cpp index 5c1f2ec..bd25952 100644 --- a/src/renderer/buffers/vk_buffer.cpp +++ b/src/renderer/buffers/vk_buffer.cpp @@ -6,7 +6,7 @@ /* By: maldavid +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2022/10/08 18:55:57 by maldavid #+# #+# */ -/* Updated: 2023/11/16 13:54:25 by maldavid ### ########.fr */ +/* Updated: 2023/12/10 23:05:14 by kbz_8 ### ########.fr */ /* */ /* ************************************************************************** */ @@ -59,7 +59,7 @@ namespace mlx _buffer = VK_NULL_HANDLE; } - void Buffer::createBuffer(VkBufferUsageFlags usage, VmaAllocationCreateInfo info, VkDeviceSize size, const char* name) + void Buffer::createBuffer(VkBufferUsageFlags usage, VmaAllocationCreateInfo info, VkDeviceSize size, [[maybe_unused]] const char* name) { VkBufferCreateInfo bufferInfo{}; bufferInfo.sType = VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO; @@ -74,7 +74,7 @@ namespace mlx alloc_name.append("_index_buffer"); else if(usage & VK_BUFFER_USAGE_VERTEX_BUFFER_BIT) alloc_name.append("_vertex_buffer"); - else if((usage & VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT) != 1) + else if(!(usage & VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT)) alloc_name.append("_buffer"); _allocation = Render_Core::get().getAllocator().createBuffer(&bufferInfo, &info, _buffer, alloc_name.c_str()); #else diff --git a/src/renderer/buffers/vk_buffer.h b/src/renderer/buffers/vk_buffer.h index 783c486..08b4344 100644 --- a/src/renderer/buffers/vk_buffer.h +++ b/src/renderer/buffers/vk_buffer.h @@ -6,7 +6,7 @@ /* By: maldavid +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2022/10/06 23:18:52 by maldavid #+# #+# */ -/* Updated: 2023/12/08 19:05:50 by kbz_8 ### ########.fr */ +/* Updated: 2023/12/11 19:47:39 by kbz_8 ### ########.fr */ /* */ /* ************************************************************************** */ @@ -15,7 +15,7 @@ #include #include -#include +#include namespace mlx { diff --git a/src/renderer/buffers/vk_ibo.h b/src/renderer/buffers/vk_ibo.h index ecaa21f..f320b94 100644 --- a/src/renderer/buffers/vk_ibo.h +++ b/src/renderer/buffers/vk_ibo.h @@ -6,7 +6,7 @@ /* By: maldavid +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2023/01/25 15:05:05 by maldavid #+# #+# */ -/* Updated: 2023/12/08 19:06:07 by kbz_8 ### ########.fr */ +/* Updated: 2023/12/11 19:47:47 by kbz_8 ### ########.fr */ /* */ /* ************************************************************************** */ @@ -16,7 +16,7 @@ #include #include "vk_buffer.h" #include -#include +#include namespace mlx { diff --git a/src/renderer/buffers/vk_ubo.cpp b/src/renderer/buffers/vk_ubo.cpp index 70ceae5..2369b5b 100644 --- a/src/renderer/buffers/vk_ubo.cpp +++ b/src/renderer/buffers/vk_ubo.cpp @@ -6,7 +6,7 @@ /* By: maldavid +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2022/10/06 18:45:52 by maldavid #+# #+# */ -/* Updated: 2023/11/16 13:57:42 by maldavid ### ########.fr */ +/* Updated: 2023/12/10 22:22:28 by kbz_8 ### ########.fr */ /* */ /* ************************************************************************** */ @@ -16,7 +16,7 @@ namespace mlx { - void UBO::create(Renderer* renderer, uint32_t size, const char* name) + void UBO::create(Renderer* renderer, uint32_t size, [[maybe_unused]] const char* name) { _renderer = renderer; diff --git a/src/renderer/buffers/vk_ubo.h b/src/renderer/buffers/vk_ubo.h index 057e24e..6dcdc21 100644 --- a/src/renderer/buffers/vk_ubo.h +++ b/src/renderer/buffers/vk_ubo.h @@ -16,7 +16,7 @@ #include "vk_buffer.h" #include #include -#include +#include namespace mlx { diff --git a/src/renderer/buffers/vk_vbo.h b/src/renderer/buffers/vk_vbo.h index 7b52c76..6c67332 100644 --- a/src/renderer/buffers/vk_vbo.h +++ b/src/renderer/buffers/vk_vbo.h @@ -15,7 +15,7 @@ #include "vk_buffer.h" #include -#include +#include namespace mlx { diff --git a/src/renderer/command/cmd_manager.h b/src/renderer/command/cmd_manager.h index e6a13be..4d5e7c5 100644 --- a/src/renderer/command/cmd_manager.h +++ b/src/renderer/command/cmd_manager.h @@ -16,7 +16,7 @@ #include #include -#include +#include #include #include #include diff --git a/src/renderer/command/vk_cmd_buffer.h b/src/renderer/command/vk_cmd_buffer.h index 0b4e742..eca0520 100644 --- a/src/renderer/command/vk_cmd_buffer.h +++ b/src/renderer/command/vk_cmd_buffer.h @@ -15,7 +15,7 @@ #include #include -#include +#include namespace mlx { diff --git a/src/renderer/command/vk_cmd_pool.h b/src/renderer/command/vk_cmd_pool.h index cacc651..142e05e 100644 --- a/src/renderer/command/vk_cmd_pool.h +++ b/src/renderer/command/vk_cmd_pool.h @@ -14,7 +14,7 @@ #define __MLX_VK_CMD_POOL__ #include -#include +#include namespace mlx { diff --git a/src/renderer/core/memory.cpp b/src/renderer/core/memory.cpp index 3570705..9e2d9b7 100644 --- a/src/renderer/core/memory.cpp +++ b/src/renderer/core/memory.cpp @@ -6,11 +6,11 @@ /* By: kbz_8 +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2023/10/20 22:02:37 by kbz_8 #+# #+# */ -/* Updated: 2023/11/14 12:45:29 by maldavid ### ########.fr */ +/* Updated: 2023/12/10 22:44:55 by kbz_8 ### ########.fr */ /* */ /* ************************************************************************** */ -#include +#include #include #include @@ -22,9 +22,18 @@ #ifdef MLX_COMPILER_CLANG #pragma clang diagnostic push - #pragma clang diagnostic ignored "-Wnullability-completeness" + #pragma clang diagnostic ignored "-Weverything" #include #pragma clang diagnostic pop +#elif defined(MLX_COMPILER_GCC) + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wimplicit-fallthrough" + #pragma GCC diagnostic ignored "-Wmissing-field-initializers" + #pragma GCC diagnostic ignored "-Wunused-parameter" + #pragma GCC diagnostic ignored "-Wunused-variable" + #pragma GCC diagnostic ignored "-Wparentheses" + #include + #pragma GCC diagnostic pop #else #include #endif diff --git a/src/renderer/core/memory.h b/src/renderer/core/memory.h index 671a90b..71e5974 100644 --- a/src/renderer/core/memory.h +++ b/src/renderer/core/memory.h @@ -15,7 +15,7 @@ #include #include -#include +#include namespace mlx { diff --git a/src/renderer/core/render_core.cpp b/src/renderer/core/render_core.cpp index aa8ec23..669e4c0 100644 --- a/src/renderer/core/render_core.cpp +++ b/src/renderer/core/render_core.cpp @@ -6,7 +6,7 @@ /* By: maldavid +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2022/12/17 23:33:34 by maldavid #+# #+# */ -/* Updated: 2023/11/20 12:04:51 by maldavid ### ########.fr */ +/* Updated: 2023/12/10 23:14:18 by kbz_8 ### ########.fr */ /* */ /* ************************************************************************** */ diff --git a/src/renderer/core/render_core.h b/src/renderer/core/render_core.h index 8319cca..e3fde08 100644 --- a/src/renderer/core/render_core.h +++ b/src/renderer/core/render_core.h @@ -24,7 +24,7 @@ #include #include -#include +#include namespace mlx { diff --git a/src/renderer/core/vk_device.h b/src/renderer/core/vk_device.h index c2353af..24aa329 100644 --- a/src/renderer/core/vk_device.h +++ b/src/renderer/core/vk_device.h @@ -15,7 +15,7 @@ #include #include "vk_queues.h" -#include +#include namespace mlx { diff --git a/src/renderer/core/vk_fence.cpp b/src/renderer/core/vk_fence.cpp index 6ecb821..3c54d49 100644 --- a/src/renderer/core/vk_fence.cpp +++ b/src/renderer/core/vk_fence.cpp @@ -6,7 +6,7 @@ /* By: maldavid +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2023/04/02 17:53:06 by maldavid #+# #+# */ -/* Updated: 2023/11/18 17:07:21 by maldavid ### ########.fr */ +/* Updated: 2023/12/10 22:45:21 by kbz_8 ### ########.fr */ /* */ /* ************************************************************************** */ @@ -16,9 +16,6 @@ namespace mlx { void Fence::init() { - VkSemaphoreCreateInfo semaphoreInfo{}; - semaphoreInfo.sType = VK_STRUCTURE_TYPE_SEMAPHORE_CREATE_INFO; - VkFenceCreateInfo fenceInfo{}; fenceInfo.sType = VK_STRUCTURE_TYPE_FENCE_CREATE_INFO; fenceInfo.flags = VK_FENCE_CREATE_SIGNALED_BIT; diff --git a/src/renderer/core/vk_fence.h b/src/renderer/core/vk_fence.h index 342ce78..f50e223 100644 --- a/src/renderer/core/vk_fence.h +++ b/src/renderer/core/vk_fence.h @@ -14,7 +14,7 @@ #define __MLX_VK_FENCE__ #include -#include +#include #include namespace mlx diff --git a/src/renderer/core/vk_instance.h b/src/renderer/core/vk_instance.h index d5de82d..213c19a 100644 --- a/src/renderer/core/vk_instance.h +++ b/src/renderer/core/vk_instance.h @@ -15,7 +15,7 @@ #include #include -#include +#include namespace mlx { diff --git a/src/renderer/core/vk_queues.h b/src/renderer/core/vk_queues.h index 1716999..3649591 100644 --- a/src/renderer/core/vk_queues.h +++ b/src/renderer/core/vk_queues.h @@ -16,7 +16,7 @@ #include #include #include -#include +#include namespace mlx { diff --git a/src/renderer/core/vk_semaphore.h b/src/renderer/core/vk_semaphore.h index 9ae964f..1472b61 100644 --- a/src/renderer/core/vk_semaphore.h +++ b/src/renderer/core/vk_semaphore.h @@ -15,7 +15,7 @@ #include #include -#include +#include namespace mlx { diff --git a/src/renderer/core/vk_surface.h b/src/renderer/core/vk_surface.h index 24dd3ec..c8542f4 100644 --- a/src/renderer/core/vk_surface.h +++ b/src/renderer/core/vk_surface.h @@ -15,7 +15,7 @@ #include #include -#include +#include namespace mlx { diff --git a/src/renderer/core/vk_validation_layers.cpp b/src/renderer/core/vk_validation_layers.cpp index 9060c83..27d7341 100644 --- a/src/renderer/core/vk_validation_layers.cpp +++ b/src/renderer/core/vk_validation_layers.cpp @@ -6,7 +6,7 @@ /* By: maldavid +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2022/12/19 14:05:25 by maldavid #+# #+# */ -/* Updated: 2023/11/20 07:21:57 by maldavid ### ########.fr */ +/* Updated: 2023/12/10 22:25:36 by kbz_8 ### ########.fr */ /* */ /* ************************************************************************** */ @@ -83,7 +83,7 @@ namespace mlx createInfo.pfnUserCallback = ValidationLayers::debugCallback; } - VKAPI_ATTR VkBool32 VKAPI_CALL ValidationLayers::debugCallback(VkDebugUtilsMessageSeverityFlagBitsEXT messageSeverity, VkDebugUtilsMessageTypeFlagsEXT messageType, const VkDebugUtilsMessengerCallbackDataEXT* pCallbackData, void* pUserData) + VKAPI_ATTR VkBool32 VKAPI_CALL ValidationLayers::debugCallback(VkDebugUtilsMessageSeverityFlagBitsEXT messageSeverity, [[maybe_unused]] VkDebugUtilsMessageTypeFlagsEXT messageType, const VkDebugUtilsMessengerCallbackDataEXT* pCallbackData, [[maybe_unused]] void* pUserData) { if(messageSeverity == VK_DEBUG_UTILS_MESSAGE_SEVERITY_ERROR_BIT_EXT) { diff --git a/src/renderer/core/vk_validation_layers.h b/src/renderer/core/vk_validation_layers.h index a956674..41a0909 100644 --- a/src/renderer/core/vk_validation_layers.h +++ b/src/renderer/core/vk_validation_layers.h @@ -14,7 +14,7 @@ #define __VK_VALIDATION_LAYERS__ #include -#include +#include namespace mlx { diff --git a/src/renderer/descriptors/vk_descriptor_pool.h b/src/renderer/descriptors/vk_descriptor_pool.h index 7a97760..617ec3e 100644 --- a/src/renderer/descriptors/vk_descriptor_pool.h +++ b/src/renderer/descriptors/vk_descriptor_pool.h @@ -15,7 +15,7 @@ #include #include -#include +#include namespace mlx { diff --git a/src/renderer/descriptors/vk_descriptor_set.h b/src/renderer/descriptors/vk_descriptor_set.h index d9c51d3..270b46e 100644 --- a/src/renderer/descriptors/vk_descriptor_set.h +++ b/src/renderer/descriptors/vk_descriptor_set.h @@ -15,7 +15,7 @@ #include #include -#include +#include #include namespace mlx diff --git a/src/renderer/descriptors/vk_descriptor_set_layout.cpp b/src/renderer/descriptors/vk_descriptor_set_layout.cpp index eec18a0..70909a7 100644 --- a/src/renderer/descriptors/vk_descriptor_set_layout.cpp +++ b/src/renderer/descriptors/vk_descriptor_set_layout.cpp @@ -6,7 +6,7 @@ /* By: maldavid +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2023/01/23 18:37:28 by maldavid #+# #+# */ -/* Updated: 2023/11/18 17:23:16 by maldavid ### ########.fr */ +/* Updated: 2023/12/10 22:25:59 by kbz_8 ### ########.fr */ /* */ /* ************************************************************************** */ @@ -18,7 +18,7 @@ namespace mlx void DescriptorSetLayout::init(std::vector> binds, VkShaderStageFlagBits stage) { std::vector bindings(binds.size()); - for(int i = 0; i < binds.size(); i++) + for(std::size_t i = 0; i < binds.size(); i++) { bindings[i].binding = binds[i].first; bindings[i].descriptorCount = 1; diff --git a/src/renderer/descriptors/vk_descriptor_set_layout.h b/src/renderer/descriptors/vk_descriptor_set_layout.h index 23d2ef2..21c4abf 100644 --- a/src/renderer/descriptors/vk_descriptor_set_layout.h +++ b/src/renderer/descriptors/vk_descriptor_set_layout.h @@ -17,7 +17,7 @@ #include #include #include -#include +#include namespace mlx { diff --git a/src/renderer/images/texture.cpp b/src/renderer/images/texture.cpp index 694bd37..3d43381 100644 --- a/src/renderer/images/texture.cpp +++ b/src/renderer/images/texture.cpp @@ -6,7 +6,7 @@ /* By: maldavid +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2023/03/31 18:03:35 by maldavid #+# #+# */ -/* Updated: 2023/11/16 14:01:47 by maldavid ### ########.fr */ +/* Updated: 2023/12/10 22:46:08 by kbz_8 ### ########.fr */ /* */ /* ************************************************************************** */ @@ -69,7 +69,7 @@ namespace mlx void Texture::setPixel(int x, int y, uint32_t color) noexcept { - if(x < 0 || y < 0 || x > getWidth() || y > getHeight()) + if(x < 0 || y < 0 || static_cast(x) > getWidth() || static_cast(y) > getHeight()) return; if(_map == nullptr) openCPUmap(); @@ -79,7 +79,7 @@ namespace mlx int Texture::getPixel(int x, int y) noexcept { - if(x < 0 || y < 0 || x > getWidth() || y > getHeight()) + if(x < 0 || y < 0 || static_cast(x) > getWidth() || static_cast(y) > getHeight()) return 0; if(_map == nullptr) openCPUmap(); diff --git a/src/renderer/images/texture.h b/src/renderer/images/texture.h index e15b5fc..695e580 100644 --- a/src/renderer/images/texture.h +++ b/src/renderer/images/texture.h @@ -21,7 +21,7 @@ #include #include #include -#include +#include namespace mlx { diff --git a/src/renderer/images/texture_atlas.h b/src/renderer/images/texture_atlas.h index 59a0edc..c571e27 100644 --- a/src/renderer/images/texture_atlas.h +++ b/src/renderer/images/texture_atlas.h @@ -16,7 +16,7 @@ #include #include #include -#include +#include namespace mlx { diff --git a/src/renderer/images/vk_image.h b/src/renderer/images/vk_image.h index 7e0e865..2498c90 100644 --- a/src/renderer/images/vk_image.h +++ b/src/renderer/images/vk_image.h @@ -18,7 +18,7 @@ #include #include #include -#include +#include namespace mlx { diff --git a/src/renderer/pipeline/pipeline.h b/src/renderer/pipeline/pipeline.h index 6dbfe7a..78e4213 100644 --- a/src/renderer/pipeline/pipeline.h +++ b/src/renderer/pipeline/pipeline.h @@ -14,7 +14,7 @@ #define __PIPELINE__ #include -#include +#include #include namespace mlx diff --git a/src/renderer/pixel_put.cpp b/src/renderer/pixel_put.cpp index 00349e4..90e4fe1 100644 --- a/src/renderer/pixel_put.cpp +++ b/src/renderer/pixel_put.cpp @@ -6,7 +6,7 @@ /* By: maldavid +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2023/03/31 15:14:50 by maldavid #+# #+# */ -/* Updated: 2023/11/16 13:44:58 by maldavid ### ########.fr */ +/* Updated: 2023/12/10 22:33:59 by kbz_8 ### ########.fr */ /* */ /* ************************************************************************** */ @@ -29,7 +29,7 @@ namespace mlx void PixelPutPipeline::setPixel(uint32_t x, uint32_t y, uint32_t color) noexcept { - if(x < 0 || y < 0 || x > _width || y > _height) + if(x > _width || y > _height) return; _cpu_map[(y * _width) + x] = color; _has_been_modified = true; diff --git a/src/renderer/pixel_put.h b/src/renderer/pixel_put.h index 503bf62..bd51d41 100644 --- a/src/renderer/pixel_put.h +++ b/src/renderer/pixel_put.h @@ -13,7 +13,7 @@ #ifndef __MLX_PIXEL_PUT__ #define __MLX_PIXEL_PUT__ -#include +#include #include #include diff --git a/src/renderer/renderer.cpp b/src/renderer/renderer.cpp index 5a6f663..27667ec 100644 --- a/src/renderer/renderer.cpp +++ b/src/renderer/renderer.cpp @@ -6,7 +6,7 @@ /* By: maldavid +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2022/12/18 17:25:16 by maldavid #+# #+# */ -/* Updated: 2023/11/20 07:25:47 by maldavid ### ########.fr */ +/* Updated: 2023/12/10 22:21:10 by kbz_8 ### ########.fr */ /* */ /* ************************************************************************** */ @@ -23,9 +23,9 @@ namespace mlx _pass.init(_swapchain.getImagesFormat()); _cmd.init(); - for(int i = 0; i < _swapchain.getImagesNumber(); i++) + for(std::size_t i = 0; i < _swapchain.getImagesNumber(); i++) _framebuffers.emplace_back().init(_pass, _swapchain.getImage(i)); - for(int i = 0; i < MAX_FRAMES_IN_FLIGHT; i++) + for(std::size_t i = 0; i < MAX_FRAMES_IN_FLIGHT; i++) _semaphores[i].init(); _uniform_buffer.reset(new UBO); diff --git a/src/renderer/renderer.h b/src/renderer/renderer.h index 42b8db9..1dedc61 100644 --- a/src/renderer/renderer.h +++ b/src/renderer/renderer.h @@ -6,7 +6,7 @@ /* By: maldavid +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2022/12/18 17:14:45 by maldavid #+# #+# */ -/* Updated: 2023/12/08 19:12:06 by kbz_8 ### ########.fr */ +/* Updated: 2023/12/10 22:19:41 by kbz_8 ### ########.fr */ /* */ /* ************************************************************************** */ @@ -31,7 +31,7 @@ #include #include -#include +#include #include @@ -109,7 +109,7 @@ namespace mlx inline uint32_t getActiveImageIndex() noexcept { return _current_frame_index; } inline uint32_t getImageIndex() noexcept { return _image_index; } - constexpr inline void requireFrameBufferResize(int index) noexcept { _framebufferResized = true; } + constexpr inline void requireFrameBufferResize() noexcept { _framebufferResized = true; } ~Renderer() = default; diff --git a/src/renderer/renderpass/vk_framebuffer.h b/src/renderer/renderpass/vk_framebuffer.h index d8c92ed..436e82e 100644 --- a/src/renderer/renderpass/vk_framebuffer.h +++ b/src/renderer/renderpass/vk_framebuffer.h @@ -14,7 +14,7 @@ #define __MLX_VK_FRAMEBUFFER__ #include -#include +#include namespace mlx { diff --git a/src/renderer/renderpass/vk_render_pass.cpp b/src/renderer/renderpass/vk_render_pass.cpp index 42184ea..710681f 100644 --- a/src/renderer/renderpass/vk_render_pass.cpp +++ b/src/renderer/renderpass/vk_render_pass.cpp @@ -6,7 +6,7 @@ /* By: maldavid +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2022/10/06 18:21:36 by maldavid #+# #+# */ -/* Updated: 2023/11/20 07:24:40 by maldavid ### ########.fr */ +/* Updated: 2023/12/10 22:32:27 by kbz_8 ### ########.fr */ /* */ /* ************************************************************************** */ @@ -18,7 +18,7 @@ namespace mlx { - static const VkClearValue clearColor = { 0.0f, 0.0f, 0.0f, 1.0f }; + static const VkClearValue clearColor = {{{ 0.0f, 0.0f, 0.0f, 1.0f }}}; // wtf, this mess to satisfy a warning void RenderPass::init(VkFormat attachement_format) { diff --git a/src/renderer/renderpass/vk_render_pass.h b/src/renderer/renderpass/vk_render_pass.h index c955800..bc2171b 100644 --- a/src/renderer/renderpass/vk_render_pass.h +++ b/src/renderer/renderpass/vk_render_pass.h @@ -14,7 +14,7 @@ #define __MLX_VK_RENDER_PASS__ #include -#include +#include namespace mlx { diff --git a/src/renderer/swapchain/vk_swapchain.cpp b/src/renderer/swapchain/vk_swapchain.cpp index 626d305..826830c 100644 --- a/src/renderer/swapchain/vk_swapchain.cpp +++ b/src/renderer/swapchain/vk_swapchain.cpp @@ -6,7 +6,7 @@ /* By: maldavid +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2022/10/06 18:22:28 by maldavid #+# #+# */ -/* Updated: 2023/11/18 17:15:10 by maldavid ### ########.fr */ +/* Updated: 2023/12/10 22:32:54 by kbz_8 ### ########.fr */ /* */ /* ************************************************************************** */ @@ -68,7 +68,7 @@ namespace mlx tmp.resize(imageCount); vkGetSwapchainImagesKHR(device, _swapChain, &imageCount, tmp.data()); - for(int i = 0; i < imageCount; i++) + for(std::size_t i = 0; i < imageCount; i++) { _images[i].create(tmp[i], surfaceFormat.format, _extent.width, _extent.height); _images[i].transitionLayout(VK_IMAGE_LAYOUT_PRESENT_SRC_KHR); diff --git a/src/renderer/swapchain/vk_swapchain.h b/src/renderer/swapchain/vk_swapchain.h index b6b8374..8db2155 100644 --- a/src/renderer/swapchain/vk_swapchain.h +++ b/src/renderer/swapchain/vk_swapchain.h @@ -15,7 +15,7 @@ #include #include -#include +#include #include namespace mlx diff --git a/src/renderer/text_library.h b/src/renderer/text_library.h index aa124c3..b889224 100644 --- a/src/renderer/text_library.h +++ b/src/renderer/text_library.h @@ -20,7 +20,7 @@ #include #include #include -#include +#include namespace mlx { diff --git a/src/renderer/text_pipeline.cpp b/src/renderer/text_pipeline.cpp index 48b8f08..4468a0b 100644 --- a/src/renderer/text_pipeline.cpp +++ b/src/renderer/text_pipeline.cpp @@ -6,7 +6,7 @@ /* By: maldavid +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2023/04/06 16:41:13 by maldavid #+# #+# */ -/* Updated: 2023/12/07 22:29:45 by kbz_8 ### ########.fr */ +/* Updated: 2023/12/11 15:12:02 by kbz_8 ### ########.fr */ /* */ /* ************************************************************************** */ @@ -23,8 +23,8 @@ #include #define STB_TRUETYPE_IMPLEMENTATION -#define STB_malloc(x, u) ((void)(u), MemManager::get().alloc(x)) -#define STB_free(x, u) ((void)(u), MemManager::get().free(x)) +#define STB_malloc(x, u) ((void)(u), MemManager::malloc(x)) +#define STB_free(x, u) ((void)(u), MemManager::free(x)) #include constexpr const int RANGE = 1024; @@ -46,7 +46,7 @@ namespace mlx for(char c : text) { - if(c < 32 || c > 127) + if(c < 32) continue; stbtt_aligned_quad q; diff --git a/src/renderer/text_pipeline.h b/src/renderer/text_pipeline.h index e1e29ec..b6ca962 100644 --- a/src/renderer/text_pipeline.h +++ b/src/renderer/text_pipeline.h @@ -20,7 +20,7 @@ #include #include #include -#include +#include namespace mlx { diff --git a/valgrind.supp b/valgrind.supp index ed92da5..3e26281 100644 --- a/valgrind.supp +++ b/valgrind.supp @@ -27,3193 +27,51 @@ Memcheck:Leak fun:*alloc ... - obj:*libGLX_nvidia.so* - ... -} -{ - name - Memcheck:ReallocZero - fun:realloc - ... - obj:*libGLX_nvidia.so* - ... -} -{ - name - Memcheck:BadSize - fun:posix_memalign - ... - obj:*libGLX_nvidia.so* + obj:*nvidia.so* ... } { name Memcheck:Leak - match-leak-kinds: indirect - fun:malloc + fun:*alloc obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init - fun:main + ... + fun:X11* + ... } { name Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - fun:strdup + fun:*alloc obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init + ... + fun:SDL* + ... } { name Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - fun:strdup + fun:*alloc obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL + ... + fun:_dl_* + ... } { name Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - fun:strdup - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - fun:strdup - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* + fun:calloc obj:* } { name Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* -} -{ - name - Memcheck:Leak - match-leak-kinds: definite fun:realloc obj:* - obj:* - obj:* - obj:* - fun:SDL_DBus_Init_Spinlocked.lto_priv.0 - fun:UnknownInlinedFun - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init - fun:main -} -{ - name - Memcheck:Leak - match-leak-kinds: definite - fun:malloc - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init - fun:main -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - fun:strdup - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init - fun:main -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init - fun:main -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:realloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init - fun:main -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:realloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - fun:SDL_DBus_Init_Spinlocked.lto_priv.0 - fun:UnknownInlinedFun - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init - fun:main -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - fun:SDL_DBus_Init_Spinlocked.lto_priv.0 - fun:UnknownInlinedFun - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init - fun:main -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - fun:SDL_DBus_Init_Spinlocked.lto_priv.0 - fun:UnknownInlinedFun - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init - fun:main -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:calloc - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:calloc - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:realloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:calloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:calloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* -} -{ - name - Memcheck:Leak - match-leak-kinds: definite - fun:malloc - obj:* - obj:* - fun:SDL_DBus_Init_Spinlocked.lto_priv.0 - fun:UnknownInlinedFun - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init - fun:main -} -{ - name - Memcheck:Leak - match-leak-kinds: definite - fun:malloc - obj:* - obj:* - fun:SDL_DBus_Init_Spinlocked.lto_priv.0 - fun:UnknownInlinedFun - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init - fun:main -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:realloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:realloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* -} -{ - name - Memcheck:Leak - match-leak-kinds: definite - fun:malloc - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init - fun:main -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* -} -{ - name - Memcheck:Leak - match-leak-kinds: definite - fun:malloc - obj:* - obj:* - fun:SDL_DBus_Init_Spinlocked.lto_priv.0 - fun:UnknownInlinedFun - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init - fun:main -} -{ - name - Memcheck:Leak - match-leak-kinds: reachable - fun:realloc - fun:SDL_GetErrBuf - fun:SDL_SetError_REAL - fun:destroy - fun:_ZN3mlx10MLX_WindowD1Ev - fun:_M_release - fun:~__shared_count - fun:~__shared_ptr - fun:~pair - fun:destroy > > - fun:destroy > > - fun:_M_deallocate_node - fun:_M_deallocate_nodes - fun:clear - fun:_ZNSt10_HashtableIjSt4pairIKjSt10shared_ptrIN3mlx10MLX_WindowEEESaIS6_ENSt8__detail10_Select1stESt8equal_toIjESt4hashIjENS8_18_Mod_range_hashingENS8_20_Default_ranged_hashENS8_20_Prime_rehash_policyENS8_17_Hashtable_traitsILb0ELb0ELb1EEEED2Ev - fun:~unordered_map - fun:~Input - fun:operator() - fun:~unique_ptr - fun:_ZN3mlx4core11ApplicationD1Ev - fun:mlx_destroy_display - fun:main -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:calloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:calloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* -} -{ - name - Memcheck:Leak - match-leak-kinds: reachable - fun:realloc - fun:SDL_SetError_REAL - fun:destroy - fun:_ZN3mlx10MLX_WindowD1Ev - fun:_M_release - fun:~__shared_count - fun:~__shared_ptr - fun:~pair - fun:destroy > > - fun:destroy > > - fun:_M_deallocate_node - fun:_M_deallocate_nodes - fun:clear - fun:_ZNSt10_HashtableIjSt4pairIKjSt10shared_ptrIN3mlx10MLX_WindowEEESaIS6_ENSt8__detail10_Select1stESt8equal_toIjESt4hashIjENS8_18_Mod_range_hashingENS8_20_Default_ranged_hashENS8_20_Prime_rehash_policyENS8_17_Hashtable_traitsILb0ELb0ELb1EEEED2Ev - fun:~unordered_map - fun:~Input - fun:operator() - fun:~unique_ptr - fun:_ZN3mlx4core11ApplicationD1Ev - fun:mlx_destroy_display - fun:main -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:calloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:calloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 -} -{ - name - Memcheck:Leak - match-leak-kinds: definite - fun:malloc - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init - fun:main -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:realloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init - fun:main -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init - fun:main -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init - fun:main -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init - fun:main -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init - fun:main -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init - fun:main -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init - fun:main -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init - fun:main -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init - fun:main -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init - fun:main -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init - fun:main -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init - fun:main -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init - fun:main -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init - fun:main -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:calloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:calloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:calloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:realloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* -} -{ - name - Memcheck:Leak - match-leak-kinds: reachable - fun:malloc - fun:UnknownInlinedFun - fun:SDL_strdup_REAL - fun:SDL_IBus_Init - fun:SDL_IME_Init.isra.0 - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init - fun:main -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:realloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev -} -{ - name - Memcheck:Leak - match-leak-kinds: definite - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 -} -{ - name - Memcheck:Leak - match-leak-kinds: reachable - fun:malloc - fun:malloc - fun:strdup - fun:_dl_load_cache_lookup - fun:_dl_map_object - fun:openaux - fun:_dl_catch_exception - fun:_dl_map_object_deps - fun:dl_open_worker_begin - fun:_dl_catch_exception - fun:dl_open_worker - fun:_dl_catch_exception - fun:_dl_open -} -{ - name - Memcheck:Leak - match-leak-kinds: reachable - fun:malloc - fun:malloc - fun:_dl_new_object - fun:_dl_map_object_from_fd - fun:_dl_map_object - fun:openaux - fun:_dl_catch_exception - fun:_dl_map_object_deps - fun:dl_open_worker_begin - fun:_dl_catch_exception - fun:dl_open_worker - fun:_dl_catch_exception - fun:_dl_open -} -{ - name - Memcheck:Leak - match-leak-kinds: reachable - fun:realloc - fun:SDL_realloc_REAL - fun:UnknownInlinedFun - fun:SDL_TLSSet_REAL - fun:SDL_GetErrBuf - fun:SDL_SetError_REAL - fun:destroy - fun:_ZN3mlx10MLX_WindowD1Ev - fun:_M_release - fun:~__shared_count - fun:~__shared_ptr - fun:~pair - fun:destroy > > - fun:destroy > > - fun:_M_deallocate_node - fun:_M_deallocate_nodes - fun:clear - fun:_ZNSt10_HashtableIjSt4pairIKjSt10shared_ptrIN3mlx10MLX_WindowEEESaIS6_ENSt8__detail10_Select1stESt8equal_toIjESt4hashIjENS8_18_Mod_range_hashingENS8_20_Default_ranged_hashENS8_20_Prime_rehash_policyENS8_17_Hashtable_traitsILb0ELb0ELb1EEEED2Ev - fun:~unordered_map - fun:~Input - fun:operator() - fun:~unique_ptr - fun:_ZN3mlx4core11ApplicationD1Ev - fun:mlx_destroy_display - fun:main -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:calloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:calloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:calloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* -} -{ - name - Memcheck:Leak - match-leak-kinds: definite - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:realloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:calloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* -} -{ - name - Memcheck:Leak - match-leak-kinds: reachable - fun:malloc - fun:malloc - fun:strdup - fun:_dl_load_cache_lookup - fun:_dl_map_object - fun:dl_open_worker_begin - fun:_dl_catch_exception - fun:dl_open_worker - fun:_dl_catch_exception - fun:_dl_open - fun:dlopen_doit - fun:_dl_catch_exception - fun:_dl_catch_error -} -{ - name - Memcheck:Leak - match-leak-kinds: reachable - fun:malloc - fun:malloc - fun:_dl_new_object - fun:_dl_map_object_from_fd - fun:_dl_map_object - fun:dl_open_worker_begin - fun:_dl_catch_exception - fun:dl_open_worker - fun:_dl_catch_exception - fun:_dl_open - fun:dlopen_doit - fun:_dl_catch_exception - fun:_dl_catch_error -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:realloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard -} -{ - name - Memcheck:Leak - match-leak-kinds: definite - fun:calloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:realloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:calloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:calloc - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:calloc - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:realloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:calloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - fun:SDL_DBus_Init_Spinlocked.lto_priv.0 - fun:UnknownInlinedFun - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init - fun:main -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - fun:strdup - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:realloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - fun:SDL_DBus_Init_Spinlocked.lto_priv.0 -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:realloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - fun:SDL_DBus_Init_Spinlocked.lto_priv.0 -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:realloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - fun:SDL_DBus_CallMethodInternal - fun:SDL_DBus_CallMethodOnConnection - fun:IBus_SetupConnection -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:realloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - fun:SDL_DBus_CallMethodInternal - fun:SDL_DBus_CallMethod - fun:SDL_DBus_ScreensaverInhibit -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:calloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:calloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:calloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - fun:strdup - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:calloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:realloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - fun:SDL_DBus_CallMethodInternal - fun:SDL_DBus_CallMethod - fun:SDL_DBus_ScreensaverInhibit - fun:X11_SuspendScreenSaver - fun:UnknownInlinedFun - fun:SDL_VideoInit_REAL -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:realloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - fun:SDL_DBus_CallMethodInternal - fun:SDL_DBus_CallMethodOnConnection - fun:IBus_SetupConnection -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:realloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - fun:SDL_DBus_CallVoidMethodInternal - fun:SDL_DBus_CallVoidMethod - fun:X11_SuspendScreenSaver - fun:UnknownInlinedFun - fun:SDL_VideoInit_REAL -} -{ - name - Memcheck:Leak - match-leak-kinds: reachable - fun:malloc - fun:malloc - fun:_dl_close_worker - fun:_dl_close - fun:_dl_catch_exception - fun:_dl_catch_error - fun:_dlerror_run - fun:dlclose@@GLIBC_2.34 - fun:UnknownInlinedFun - fun:loader_scanned_icd_clear.constprop.0 - fun:UnknownInlinedFun - fun:UnknownInlinedFun - fun:vkDestroyInstance - fun:_ZN3mlx8Instance7destroyEv - fun:_ZN3mlx11Render_Core7destroyEv - fun:mlx_destroy_display -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:calloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - fun:SDL_DBus_Init_Spinlocked.lto_priv.0 - fun:UnknownInlinedFun - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:calloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:calloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 -} -{ - name - Memcheck:Leak - match-leak-kinds: definite - fun:malloc - obj:* - obj:* - fun:SDL_DBus_Init_Spinlocked.lto_priv.0 - fun:UnknownInlinedFun - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init - fun:main -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:realloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:calloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 -} -{ - name - Memcheck:Leak - match-leak-kinds: definite - fun:calloc - obj:* - obj:* - obj:* - obj:* - fun:SDL_DBus_Init_Spinlocked.lto_priv.0 - fun:UnknownInlinedFun - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init - fun:main -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:calloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:calloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - fun:strdup - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard -} -{ - name - Memcheck:Leak - match-leak-kinds: definite - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:realloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:calloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - fun:strdup - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard -} -{ - name - Memcheck:Leak - match-leak-kinds: reachable - fun:calloc - fun:calloc - fun:_dl_check_map_versions - fun:dl_open_worker_begin - fun:_dl_catch_exception - fun:dl_open_worker - fun:_dl_catch_exception - fun:_dl_open - fun:dlopen_doit - fun:_dl_catch_exception - fun:_dl_catch_error - fun:_dlerror_run - fun:dlopen_implementation - fun:dlopen@@GLIBC_2.34 -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard -} -{ - name - Memcheck:Leak - match-leak-kinds: definite - fun:calloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* -} -{ - name - Memcheck:Leak - match-leak-kinds: definite - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:realloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:realloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:calloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:calloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:calloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 -} -{ - name - Memcheck:Leak - match-leak-kinds: definite - fun:calloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard -} -{ - name - Memcheck:Leak - match-leak-kinds: reachable - fun:calloc - fun:calloc - fun:_dl_new_object - fun:_dl_map_object_from_fd - fun:_dl_map_object - fun:openaux - fun:_dl_catch_exception - fun:_dl_map_object_deps - fun:dl_open_worker_begin - fun:_dl_catch_exception - fun:dl_open_worker - fun:_dl_catch_exception - fun:_dl_open -} -{ - name - Memcheck:Leak - match-leak-kinds: reachable - fun:calloc - fun:calloc - fun:_dl_new_object - fun:_dl_map_object_from_fd - fun:_dl_map_object - fun:dl_open_worker_begin - fun:_dl_catch_exception - fun:dl_open_worker - fun:_dl_catch_exception - fun:_dl_open - fun:dlopen_doit - fun:_dl_catch_exception - fun:_dl_catch_error -} -{ - name - Memcheck:Leak - match-leak-kinds: definite - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* -} -{ - name - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL -} -{ - name - Memcheck:Leak - match-leak-kinds: definite - fun:calloc - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - obj:* - fun:SDL_DBus_Init_Spinlocked.lto_priv.0 - fun:UnknownInlinedFun - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init } { name Memcheck:Leak - match-leak-kinds: definite fun:malloc obj:* obj:* @@ -3225,22 +83,6 @@ obj:* obj:* obj:* - fun:X11_InitKeyboard -} -{ - name - Memcheck:Leak - match-leak-kinds: definite - fun:malloc - obj:* - obj:* - obj:* - obj:* obj:* - fun:X11_InitKeyboard - fun:X11_VideoInit.lto_priv.0 - fun:SDL_VideoInit_REAL - fun:SDL_InitSubSystem_REAL.part.0 - fun:_ZN3mlx4core11ApplicationC1Ev - fun:mlx_init } +