mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-10 01:01:33 +00:00
small fixes
This commit is contained in:
parent
6e0aeb9833
commit
14c67f15c9
@ -666,7 +666,7 @@ void read_testcases(afl_state_t *afl, u8 *directory) {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (afl->shuffle_queue && nl_cnt > 1) {
|
if (unlikely(afl->old_seed_selection && afl->shuffle_queue && nl_cnt > 1)) {
|
||||||
|
|
||||||
ACTF("Shuffling queue...");
|
ACTF("Shuffling queue...");
|
||||||
shuffle_ptrs(afl, (void **)nl, nl_cnt);
|
shuffle_ptrs(afl, (void **)nl, nl_cnt);
|
||||||
|
@ -220,9 +220,9 @@ test "$SYS" = "i686" -o "$SYS" = "x86_64" -o "$SYS" = "amd64" -o "$SYS" = "i86pc
|
|||||||
case "$CNT" in
|
case "$CNT" in
|
||||||
*2) $ECHO "$GREEN[+] afl-cmin.bash correctly minimized the number of testcases" ;;
|
*2) $ECHO "$GREEN[+] afl-cmin.bash correctly minimized the number of testcases" ;;
|
||||||
1) {
|
1) {
|
||||||
test -s in2/* && $ECHO "$YELLOW[?] afl-cmin did minimize to one testcase. This can be a bug or due compiler optimization."
|
test -s in2/* && $ECHO "$YELLOW[?] afl-cmin.bash did minimize to one testcase. This can be a bug or due compiler optimization."
|
||||||
test -s in2/* || {
|
test -s in2/* || {
|
||||||
$ECHO "$RED[!] afl-cmin did not correctly minimize the number of testcases ($CNT)"
|
$ECHO "$RED[!] afl-cmin.bash did not correctly minimize the number of testcases ($CNT)"
|
||||||
CODE=1
|
CODE=1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user