diff options
| author | 2024-10-23 15:40:41 +0200 | |
|---|---|---|
| committer | 2024-12-29 14:46:30 +0100 | |
| commit | e4dc41cdc3ebb84ef7e42f5cf261e36fe874c901 (patch) | |
| tree | 113a02ef2ccc4a7f4fd61b5777d63f0f5240188c /src/tests/fuzzer/run_test.sh | |
| parent | d6551576bac865d56211d40545b4e5d65573d511 (diff) | |
| download | OneRoll-e4dc41cdc3ebb84ef7e42f5cf261e36fe874c901.tar.gz OneRoll-e4dc41cdc3ebb84ef7e42f5cf261e36fe874c901.zip | |
Fix test
Diffstat (limited to 'src/tests/fuzzer/run_test.sh')
| -rwxr-xr-x | src/tests/fuzzer/run_test.sh | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/src/tests/fuzzer/run_test.sh b/src/tests/fuzzer/run_test.sh index 9ecdeef..e10c5d9 100755 --- a/src/tests/fuzzer/run_test.sh +++ b/src/tests/fuzzer/run_test.sh @@ -1,20 +1,22 @@ #!/bin/sh rm -rf build +rm -rf /home/renaud/applications/mine/renaudg/rolisteam/src/libraries/diceparser/src/tests/fuzzer/sync_dir/fuzzer01 mkdir build cd build -CC=afl-gcc CXX=afl-g++ cmake ../ -DSTATIC_BUILD=ON && make -#export LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH" +CC=afl-gcc CXX=afl-g++ cmake ../ -DCMAKE_PREFIX_PATH:PATH=/home/renaud/applications/other/.qt/6.7.2/gcc_64 -DQT_QMAKE_EXECUTABLE:FILEPATH=/home/renaud/applications/other/.qt/6.7.2/gcc_64/bin/qmake -DSTATIC_BUILD=ON && make +fuzzRoot=/home/renaud/applications/mine/renaudg/rolisteam/src/libraries/diceparser/src/tests/fuzzer +fuzzTestCase=/home/renaud/applications/mine/renaudg/rolisteam/src/libraries/diceparser/build/src/tests/fuzzer/fuzzTestCase #./fuzzTestCase ../testcase_dir/gooddata.txt # afl-fuzz -m 2G -i ../testcase_dir -o ../findings_dir ./fuzzTestCase @@ -afl-fuzz -m 2G -i ../testcase_dir -o ../sync_dir -M fuzzer01 ./fuzzTestCase @@ & -screen -S fuzz1 -d -m touch afl-fuzz -m 2G -i ../testcase_dir -o ../sync_dir -S fuzzer02 ./fuzzTestCase @@ & -screen -S fuzz2 -d -m touch afl-fuzz -m 2G -i ../testcase_dir -o ../sync_dir -S fuzzer03 ./fuzzTestCase @@ & -screen -S fuzz3 -d -m touch afl-fuzz -m 2G -i ../testcase_dir -o ../sync_dir -S fuzzer04 ./fuzzTestCase @@ & -screen -S fuzz4 -d -m touch afl-fuzz -m 2G -i ../testcase_dir -o ../sync_dir -S fuzzer05 ./fuzzTestCase @@ & -screen -S fuzz5 -d -m touch afl-fuzz -m 2G -i ../testcase_dir -o ../sync_dir -S fuzzer06 ./fuzzTestCase @@ +afl-fuzz -m 2G -i $fuzzRoot/testcase_dir -o $fuzzRoot/sync_dir -M fuzzer01 $fuzzTestCase @@ & +screen -S fuzz1 -d -m touch afl-fuzz -m 2G -i $fuzzRoot/testcase_dir -o $fuzzRoot/sync_dir -S fuzzer02 $fuzzTestCase @@ & +screen -S fuzz2 -d -m touch afl-fuzz -m 2G -i $fuzzRoot/testcase_dir -o $fuzzRoot/sync_dir -S fuzzer03 $fuzzTestCase @@ & +screen -S fuzz3 -d -m touch afl-fuzz -m 2G -i $fuzzRoot/testcase_dir -o $fuzzRoot/sync_dir -S fuzzer04 $fuzzTestCase @@ & +screen -S fuzz4 -d -m touch afl-fuzz -m 2G -i $fuzzRoot/testcase_dir -o $fuzzRoot/sync_dir -S fuzzer05 $fuzzTestCase @@ & +screen -S fuzz5 -d -m touch afl-fuzz -m 2G -i $fuzzRoot/testcase_dir -o $fuzzRoot/sync_dir -S fuzzer06 $fuzzTestCase @@ @@ -22,6 +24,6 @@ screen -S fuzz5 -d -m touch afl-fuzz -m 2G -i ../testcase_dir -o ../sync_dir -S # echo core >/proc/sys/kernel/core_pattern +# cd /sys/devices/system/cpu # echo performance | tee cpu*/cpufreq/scaling_governor - # echo ondemand | tee cpu*/cpufreq/scaling_governor |