|
From: Michael M. <mos...@gm...> - 2017-11-16 04:59:07
|
Hi,
I have a custom memory allocator that needs to change a header in free
function, so I am disabling error reporting with
VALGRIND_DISABLE_ADDR_ERROR_REPORTING_IN_RANGE;
However the comparison right after that reports gives the following message
==8374== Conditional jump or move depends on uninitialised value(s)
Why is that the case?
(valgrind 3.13.0, x86_64 )
VALGRIND_DISABLE_ADDR_ERROR_REPORTING_IN_RANGE( pItem,
sizeof(ItemInPagePH) );
if (pItem->magic() == MEMORY_POOL_MAGIC_VALUE)
{
}
|