valgrind
Unit tests take a long time to run. Valgrind problem? Gcov problem?
I\'ve created a unit test suite for a project I\'m working on. My unit tests used to run very quickly... 200+ of them would run within a few seconds. Typically each test would take less than 10 millis[详细]
2023-03-14 04:20 分类:问答Valgrind error - cannot execute binary file
For some reason I can\'t make valgrind work with my Cocoa apllication on OS X 10.6, compiled with Apple GCC 4.2.1... After googling this error I found out that valgrind doesn\'t work with 64-bit execu[详细]
2023-03-13 21:00 分类:问答valgrind on the ARM9?
I see that valgrind has an ARM7 target, but I find conflic开发者_如何转开发ting information on whether valgrind has support for the ARM9. The ARM9 target I am working with is running linux.[详细]
2023-03-13 08:02 分类:问答Could valgrind complaint about uninitialized values be a false positive?
So I\'ve been teaching myself C, and in the hopes of learning how to properly manage memory from the beginning and write better code, I\'ve been running Valgrind on everything. This has helped me with[详细]
2023-03-12 16:35 分类:问答Valgrind says "Source and destination overlap in memcpy" about two buffers but they seems to not overlap
LAST EDIT in the end of OP I tested with Valgrind a function used in a project and it says \"Source and destination overlap in memcpy\" and gives me also \"Invalid read\" and \"Invalid write\" errors[详细]
2023-03-12 10:31 分类:问答gprof vs cachegrind profiles
While trying to optimize a code, I\'m a bit puzzled by differences in profiles produced by kcachegrdind and gprof. Specifically, if I use gprof (compiling with the -pg switch, etc), I have this:[详细]
2023-03-12 09:59 分类:问答Shorten function names in profling results with valgrind+kcachegrind
I work usually with valgrind+kcachegrind to profile C++ codes. A new code I am working with uses very long function names, so that the graphical results are a mess. I wonder how can one s开发者_JS百科[详细]
2023-03-12 03:36 分类:问答Valgrind output confusing
I am having a bit of trouble understanding the Valgrind output: 1> \"Invalid write of size 4\" is coming up in an auto-generated adb file,[详细]
2023-03-12 02:26 分类:问答How do I let Callgrind access my Qt project's source code?
I built a Qt project in Debug mode with Qt Creator, ran Callgrind to generate profiling data and tried loading it into Cachegrind. I noticed that I only see profiling information for Qt classes, so I[详细]
2023-03-11 06:47 分类:问答Valgrind yells about uninitialised value written
this function fills an array dinamically generated with data read from a file. Valgrind yells this: ==21124== Syscall param write(buf) points to uninitialised byte(s)[详细]
2023-03-11 04:23 分类:问答