Valgrind steps
This commit is contained in:
parent
1f44b48fde
commit
53b9f8e4a3
1 changed files with 15 additions and 0 deletions
|
@ -34,3 +34,18 @@ cmake:
|
|||
|
||||
buggy:
|
||||
cd ./buggy_programs && make -j4
|
||||
cd ./buggy_programs && mkdir -p build
|
||||
cd ./buggy_programs && cmake -B build
|
||||
cd ./buggy_programs && make -C build
|
||||
|
||||
valgrind: buggy
|
||||
cd ./buggy_programs/build/ && valgrind ./dangling
|
||||
cd ./buggy_programs/build/ && valgrind ./bounds
|
||||
cd ./buggy_programs/build/ && valgrind ./bounds-heap
|
||||
cd ./buggy_programs/build/ && valgrind ./leak
|
||||
cd ./buggy_programs/build/ && valgrind ./sum
|
||||
cd ./buggy_programs/build/ && valgrind ./sum_alt
|
||||
cd ./buggy_programs/build/ && valgrind ./ub
|
||||
|
||||
clean:
|
||||
git clean -fdx
|
||||
|
|
Loading…
Reference in a new issue