On 29-03-23 04:41, John Reiser wrote:
Could it be possible to add an option like --heap-up-fill
--heap-down-fill (like for stack with malloc), that fills heap memory
with a specified values (when entering a function and leave a function)?
tl;dr 2
See
https://www.open-std.org/jtc1/sc22
Could it be possible to add an option like --heap-up-fill --heap-down-fill
(like for stack with malloc), that fills heap memory with a specified values
(when entering a function and leave a function)?
tl;dr 2
See
https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p2723r0.html
Th
On 28-03-23 11:40, Julien Allali wrote:
Hi,
Sometimes, valgrind detects error like "Conditional jump or move
depends" or "Use of uninitialized value" related to a variable in heap.
When using with gdb (--vgdb-error=1), a newbie (i.e. my students) can
have difficulties to understand as
Hi,
Sometimes, valgrind detects error like "Conditional jump or move
depends" or "Use of uninitialized value" related to a variable in heap.
When using with gdb (--vgdb-error=1), a newbie (i.e. my students) can
have difficulties to understand as the value stored is 0 (because there
was zeros