valgrind.sh 234 B

12345678910
  1. #!/bin/bash
  2. gcc -o cjson main.c json.c MurmurHash3.c -lm -ggdb -std=c11 \
  3. -Wno-implicit-function-declaration \
  4. -fstrict-aliasing
  5. valgrind --leak-check=full --show-leak-kinds=all --error-limit=no --track-origins=yes ./cjson $@