mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-09-14 07:01:16 +02:00
fuzz: [refactor] Use 100'000 digit separator in __AFL_LOOP
This makes it easier to glance the exact value.
This commit is contained in:
@@ -231,7 +231,7 @@ int main(int argc, char** argv)
|
||||
// Enable AFL persistent mode. Requires compilation using afl-clang-fast++.
|
||||
// See fuzzing.md for details.
|
||||
const uint8_t* buffer = __AFL_FUZZ_TESTCASE_BUF;
|
||||
while (__AFL_LOOP(100000)) {
|
||||
while (__AFL_LOOP(100'000)) {
|
||||
size_t buffer_len = __AFL_FUZZ_TESTCASE_LEN;
|
||||
test_one_input({buffer, buffer_len});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user