Valgrind

Vasily Postnicov shamaz.mazum at gmail.com
Tue Feb 2 10:22:21 PST 2016


Do you mean an uninitialized pointer problem? Do you have a source code of
that software that you think causes a trouble? If you think your memory is
corrupted because of uninitialized pointer, I suggest to compile
problematic code with clang with AddressSanitizer. Just don't forget to
compile llvm with compiler-rt option. I hope this helps. Didn't try this by
myself, though
2 февр. 2016 г. 17:03 пользователь "Pierre Abbat" <
phma at leaf.dragonflybsd.org> написал:

> I'm developing a program and I just ran it on a data set under DragonFly
> and got quite different output than under Linux, with lots of occurrences
> of "ctrlpt garbage", which looks like a certain function is returning an
> uninitialized variable. I'd like to run it under Valgrind. I ran "pkg sea
> grind", which shows that there is a kcachegrind package (a program to look
> at the output of some of Valgrind's tools), but no package of Valgrind
> itself.
>
> Pierre
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20160202/b7730547/attachment-0006.html>


More information about the Users mailing list