Valgrind steps

This commit is contained in:
Imbus 2024-11-12 04:57:45 +01:00
parent 1f44b48fde
commit 53b9f8e4a3

View file

@ -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