Skip to content

Commit

Permalink
Merge pull request #46 from arata-nvm/bugfix/afl-status-screen
Browse files Browse the repository at this point in the history
Fix AFL/AFLFast/DIE status screen
  • Loading branch information
potetisensei committed Mar 9, 2022
2 parents 0b8b8d0 + c8fc903 commit 03e2096
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion algorithms/aflfast/aflfast_state.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ void AFLFastState::ShowStats(void) {
tmp = DescribeInteger(total_tmouts) + " (" +
DescribeInteger(unique_tmouts);
if (unique_hangs >= GetKeepUniqueHang(*this)) tmp += '+';
tmp += ')';
tmp += " unique)";

MSG (bSTG bV bSTOP " total tmouts : " cRST "%-22s " bSTG bV "\n", tmp.c_str());

Expand Down
2 changes: 1 addition & 1 deletion algorithms/die/die_state.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -852,7 +852,7 @@ void DIEState::ShowStats(void) {
tmp = DescribeInteger(total_tmouts) + " (" +
DescribeInteger(unique_tmouts);
if (unique_hangs >= GetKeepUniqueHang(*this)) tmp += '+';
tmp += ')';
tmp += " unique)";

MSG (bSTG bV bSTOP " total tmouts : " cRST "%-22s " bSTG bV "\n", tmp.c_str());

Expand Down
2 changes: 1 addition & 1 deletion include/fuzzuf/algorithms/afl/templates/afl_state.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1709,7 +1709,7 @@ void AFLStateTemplate<Testcase>::ShowStats(void) {
tmp = DescribeInteger(total_tmouts) + " (" +
DescribeInteger(unique_tmouts);
if (unique_hangs >= GetKeepUniqueHang(*this)) tmp += '+';
tmp += ')';
tmp += " unique)";

MSG (bSTG bV bSTOP " total tmouts : " cRST "%-22s " bSTG bV "\n", tmp.c_str());

Expand Down

0 comments on commit 03e2096

Please sign in to comment.