KlugyTools/Hexdiff/memcheck.sh

16 lines
277 B
Bash
Raw Normal View History

2022-11-24 14:37:21 +01:00
#!/bin/sh
#
# seek for memory leaks
# ---------------------
# you need a recent version of http://www.valgrind.org/
#
make hexdiff
rm valgr-plop*
valgrind --tool=memcheck --log-file=valgr-plop \
--leak-check=yes --show-reachable=yes \
./hexdiff hexdiff.o fonctions.o