Displaying 2 results from an estimated 2 matches for "__msan_allocated_memory".
2015 Nov 07
2
Docs for leak checker (and other sanitizers)?
...for
asan and msan. However I haven't been able to find any documentation
on this api. In particular msan and asan seem to have different
thoughts on whether these functions should be called directly or
through macros so I'm not sure which is the stable api. Also I have no
idea when to call __msan_allocated_memory() and company but I suspect
it's relevant for giving msan enough information about a pool
allocator to find leaks...
--
greg
2015 Nov 10
2
Docs for leak checker (and other sanitizers)?
On Mon, Nov 9, 2015 at 7:20 PM, Kostya Serebryany <kcc at google.com> wrote:
> Most likely, you need
> https://github.com/google/sanitizers/wiki/AddressSanitizerLeakSanitizer
Thanks!
> I don't think lsan supports this mode directly,
> but why do you think that the init-time allocations are going to be
> "leaked"?
> If there is some object still pointing to