Close

Added command line flags to control output

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 20:520 Comments

I added some command line flags to control the output of the parser. By default, it will only list the errors reported along with the source file name and line number. If you run vgp in a terminal window in VsCode, you can <Control + Left Mouse Click> on the filename:Line# to navigate to the source line in the appropriate source file. The new command usage is as follows:

Usage: vgp [options] <valgrind_log_file>
Options:
  -v : Enable verbose output
  -s : Print source code
  -l : Print leak summary
  -t : Print stack trace
  -h : Show this help message

Discussions