valgrind-tool
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

valgrind-tool

Tool created to parse Valgrind logs to acquire only suppressions and emit it to either stdout or an output file. The command-line tool can receive many files as input or stdin.

In case no output option is provided, the program will automatically start using stdout and disable all kinds of logging.

Installation

npm install -g valgrind-tool
yarn add -D valgrind-tool

Usage

export VALGRIND_COMMAND=valgrind \
    --track-origins=yes --show-leak-kinds=all \
    --leak-check=full --gen-suppressions=all ./app
$VALGRIND_COMMAND | valgrind-tool > a.supp
$VALGRIND_COMMAND | valgrind-tool --output a.supp
valgrind-tool valgrind-log1.log valgrind-log2.log --output valgrind-suppressions.supp
valgrind-tool valgrind-log1.log valgrind-log2.log > valgrind-suppressions.supp
valgrind-tool valgrind-log1.log valgrind-log2.log >> concatenated-valgrind-suppressions.supp

Readme

Keywords

none

Package Sidebar

Install

npm i valgrind-tool

Weekly Downloads

5

Version

1.0.3

License

MIT

Unpacked Size

66.5 kB

Total Files

14

Last publish

Collaborators

  • vqueiroz