mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-18 19:23:56 +00:00
Add macOS support
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
#include "fuzzer.hpp"
|
||||
#include <cinttypes>
|
||||
|
||||
#include "input_generator.hpp"
|
||||
|
||||
namespace fuzzer
|
||||
@@ -123,7 +125,7 @@ namespace fuzzer
|
||||
const auto executions = context.executions.exchange(0);
|
||||
const auto highest_scorer = context.generator.get_highest_scorer();
|
||||
const auto avg_score = context.generator.get_average_score();
|
||||
printf("Executions/s: %zd - Score: %zX - Avg: %.3f\n", executions, highest_scorer.score, avg_score);
|
||||
printf("Executions/s: %" PRIu64 " - Score: %" PRIx64 " - Avg: %.3f\n", executions, highest_scorer.score, avg_score);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user