Close

Added integration test

A project log for Valgrind output parser with source code

A simple command line application that parses the output from Valgrind and presents it in human readable format with source code references

john-andersonJohn Anderson 05/08/2025 at 21:000 Comments

I added an integration test with a source file that generates a number of memory access errors and memory leaks. Gemini generated the source file used for testing. You can run the integration test along with the unit tests simply by running "make test" command. You will have to manually inspect the vgp.out file in the build directory for the integration test.

At this point, I have about 32 to 40 hours into this project. The majority of the time was spent on the LLR's and unit testing.

There are a couple improvements I can think of off the top of my head. For instance, I could refactor the application to use ctags to parse the function from the original source files. This could add a significant number of addition source languages with relatively little effort. However unless this little project gets some outside interest, I doubt I will get to that. The C/C++ support is sufficient for my needs.

Discussions