duma
duma copied to clipboard
duma: Detect Unintended Memory Access (D.U.M.A.) - A Red-Zone memory allocator
If the duration argument is not defined at start, the test runs forever. I found for example, running hurd in a VM, there is no response to CTRL-c, so the...
Experimental test testalloc0.cpp crashes around line 80 ` if ( argc >= 1 ) test = atoi( argv[1] ); ` args are indexed from zero, so I think code should...
This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more. ## Open These updates have all been created already. Click a checkbox below to...
When compiling the shared library of DUMA with default /MD, it will raise LNK4006 error. (I forgot the error message... Maybe strcat or something in C runtime library) I set...
```cmake if (NOT DUMA_SHARED_WITH_CPP_SUPPORT) target_compile_definitions(DUMA_SHARED PRIVATE DUMA_SO_NO_CPP_SUPPORT) endif() if (NOT DUMA_SHARED_WITH_LEAK_DETECTION) target_compile_definitions(DUMA_SHARED PRIVATE DUMA_SO_NO_LEAKDETECTION) endif() if (DUMA_SHARED_PREFER_ATEXIT) target_compile_definitions(DUMA_SHARED PRIVATE DUMA_SO_PREFER_ATEXIT) endif() if (DUMA_SHARED_PREFER_GETENV) target_compile_definitions(DUMA_SHARED PRIVATE DUMA_SO_PREFER_GETENV) endif() if (DUMA_SHARED_NO_HANG_MSG) target_compile_definitions(DUMA_SHARED...
In `gdb` (under Cygwin), I got: ``` [Switching to Thread 13604.0x396c] 0x000000010056b969 in _duma_allocate (alignment=1, userSize=32, protectBelow=0, fillByte=0, protectAllocList=1, allocator=EFA_CALLOC, fail=DUMA_FAIL_ENV, filename=0x1005f21c0 "UNKNOWN (use #include \"duma.h\")", lineno=0) at duma.c:1435 1435...
In src/duma.c line 2254: ```cpp void *_duma_memmove(void *dest, const void *src, size_t size) { char *d = (char *)dest; const char *s = (const char *)src; if (d < s)...
Sources in ./stacktrace/ implements StackTraceCleanup() and printStackTrace(), it is necessary in Windows. But it is not even in the CMakeLists.txt. It will not compile and link.
It seems that on armhf the generated value of DUMA_MIN_ALIGNMENT in duma_config.h can be 1 or 4, depending on the test system used. [edited] See https://tests.reproducible-builds.org/debian/rb-pkg/bullseye/armhf/diffoscope-results/duma.html ( No problems on...
Without altering the C++ Standard in the CMake file, I kept running into errors like: ``` duma/src/dumapp.cpp:198:18: error: declaration of 'void* operator new(size_t, const std::nothrow_t&) throw ()' has a different...