platform/libinjection/test-gprof.sh

11 lines
257 B
Bash
Raw Normal View History

2019-08-16 14:42:40 +00:00
#!/bin/sh
./autogen.sh
export CFLAGS="-O2 -pg -ansi"
./configure --enable-static --disable-shared
make clean
make
cd src
make reader
libtool --mode=execute ./reader -s -q ../data/sqli-*.txt ../data/false-*.txt
libtool --mode=execute gprof ./reader gmon.out