We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e864f2e commit fa64228Copy full SHA for fa64228
src/test/fuzz/bitdeque.cpp
@@ -2,11 +2,10 @@
2
// Distributed under the MIT software license, see the accompanying
3
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
5
-#include <util/bitdeque.h>
6
-
7
#include <random.h>
8
#include <test/fuzz/FuzzedDataProvider.h>
9
#include <test/fuzz/util.h>
+#include <util/bitdeque.h>
10
11
#include <deque>
12
#include <vector>
@@ -54,7 +53,8 @@ FUZZ_TARGET_INIT(bitdeque, InitRandData)
54
53
--initlen;
55
}
56
57
- while (provider.remaining_bytes()) {
+ LIMITED_WHILE(provider.remaining_bytes() > 0, 900)
+ {
58
{
59
assert(deq.size() == bitdeq.size());
60
auto it = deq.begin();
@@ -538,5 +538,4 @@ FUZZ_TARGET_INIT(bitdeque, InitRandData)
538
539
);
540
541
542
0 commit comments