dmalloc icon indicating copy to clipboard operation
dmalloc copied to clipboard

Debug Malloc memory allocation debugging C library

Results 46 dmalloc issues
Sort by recently updated
recently updated
newest added

Hello again, Here's the pull request I've been meaning to submit back in 2020. This makes use of [`VirtualAlloc`](https://learn.microsoft.com/en-us/windows/win32/api/memoryapi/nf-memoryapi-virtualalloc) on `WIN32` to allocate memory dynamically instead of relying on `INTERNAL_MEMORY_SPACE`....

https://bugs.gentoo.org/946814 `ld.lld: error: non-exported symbol 'atexit' in '/usr/lib64/libc_nonshared.a(atexit.oS)' is referenced by DSO '/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../lib64/libdmalloc.so'` https://bugs.gentoo.org/930210 `/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: bin/enblend: hidden symbol 'atexit' in /usr/lib64/libc_nonshared.a(atexit.oS) is referenced by DSO /usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: bad...

Hello, I packaged this for GNU Guix, and discovered that building the documentation (via `make installdocs`) would fail using `texi2html` at version 5.0, which is the latest. It requires the...

dmalloc.h is created as part of configure, but isn't properly depended upon when building .o files. This results in build failures; FreeBSD has hit this issue multiple times.

This change modifies the object code to depend on dmalloc.h as it's generated over the course of the build. This unbreaks parallel builds (-j greater than 1). NB: technically all...

I suspect this issue occurs with other linkers and Linux as well. ``` % ld --version LLD 19.1.7 (FreeBSD llvmorg-19.1.7-0-gcd708029e0b2-1400007) (https://github.com/llvm/llvm-project.git llvmorg-19.1.7-0-gcd708029e0b2) (compatible with GNU linkers) % gcc --version gcc...