diff options
author | FreeArtMan <dos21h@gmail.com> | 2015-12-18 21:13:02 +0000 |
---|---|---|
committer | FreeArtMan <dos21h@gmail.com> | 2015-12-18 21:13:02 +0000 |
commit | 2441dad315cdf050995e5b1fb48bf9e871fe791c (patch) | |
tree | 4d689a86e048a3727b42600d075c5dac512258e3 /Makefile | |
parent | 4c058db338ff00e0e97cea0e985625deb47143cd (diff) | |
download | dm-2441dad315cdf050995e5b1fb48bf9e871fe791c.tar.gz dm-2441dad315cdf050995e5b1fb48bf9e871fe791c.zip |
Added assertions all over the code. Fixed missing () in realloc size calc part that caused mem violation problem
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1,6 +1,6 @@ PROJECT=dm CC=gcc -CFLAGS=-std=c99 +CFLAGS= SOURCES=$(PROJECT)_parser.c darray.c tokenizer.c syntax.c mtable.c OBJECTS=$(SOURCES:.c=.o) @@ -18,3 +18,8 @@ ragel: clean: rm -f $(PROJECT) rm -f *.o + +leak: + valgrind --leak-check=full --track-origins=yes --log-file=log.txt ./dm -f test/test.bin -m test/one_byte.dm + #valgrind --track-origins=yes --log-file=log.txt ./dm -f test/test.bin -m test/one_byte.dm + |