Re: [Valgrind-users] Visualizing memory traces using valgrind

2013-04-11 Thread Thomas Rast
Andrew Clinton ajcli...@gmail.com writes: I've been working on a new valgrind tool and graphical front end for visualizing memory traces and graphically representing program address space. It's becoming fairly complete - so I thought I'd post here to see if any valgrind users/developers are

Re: [Valgrind-users] Visualizing memory traces using valgrind

2013-04-11 Thread Andrew Clinton
Slow down / pause is something that's planned. Rewind is difficult since this would require actually logging the trace data (currently it's transient), which would take up a huge amount of space - though this may be useful for short-lived programs. On Thu, Apr 11, 2013 at 5:49 AM, Thomas Rast

Re: [Valgrind-users] Visualizing memory traces using valgrind

2013-04-11 Thread Dave Goodell
On Apr 11, 2013, at 9:00 AM CDT, Andrew Clinton ajcli...@gmail.com wrote: Slow down / pause is something that's planned. Rewind is difficult since this would require actually logging the trace data (currently it's transient), which would take up a huge amount of space - though this may be

Re: [Valgrind-users] Visualizing memory traces using valgrind

2013-04-11 Thread paulf
- Original Message - Slow down / pause is something that's planned. Rewind is difficult since this would require actually logging the trace data (currently it's transient), which would take up a huge amount of space - though this may be useful for short-lived programs. Hi Is it

Re: [Valgrind-users] Visualizing memory traces using valgrind

2013-04-11 Thread Andrew Clinton
For logging, perhaps a record button that would record up to some fixed cache size and then auto-pause the program. To continue, the cache would need to be cleared. Data mining the trace is a great idea, a simple use case I was considering was to detect data stride / structure size to better

[Valgrind-users] Memcheck fails to find error

2013-04-11 Thread Milian Wolff
Hey there, a friend of mine is starting C++ and asked me this apparently simple question: Why does the following program not show me an error? ~~~ #include iostream using namespace std; int main () { int billy[2]; billy[4] = 42; cout billy[4] endl; return 0; } ~~~ My first

Re: [Valgrind-users] Memcheck fails to find error

2013-04-11 Thread Paul Floyd
On 11 Apr 2013, at 21:20, Milian Wolff wrote: Hey there, a friend of mine is starting C++ and asked me this apparently simple question: Why does the following program not show me an error? Hi memcheck is a heap checker, not a stack checker. Try --tool=exp-sgcheck (where sg is stack