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 c34b886 commit fdef8bbCopy full SHA for fdef8bb
src/test/fuzz/fuzz.cpp
@@ -22,7 +22,9 @@ static bool read_stdin(std::vector<uint8_t>& data)
22
return length == 0;
23
}
24
25
-static void initialize()
+// Default initialization: Override using a non-weak initialize().
26
+__attribute__((weak))
27
+void initialize()
28
{
29
const static auto verify_handle = MakeUnique<ECCVerifyHandle>();
30
src/test/fuzz/fuzz.h
@@ -8,7 +8,7 @@
8
#include <stdint.h>
9
#include <vector>
10
11
-
+void initialize();
12
void test_one_input(const std::vector<uint8_t>& buffer);
13
14
#endif // BITCOIN_TEST_FUZZ_FUZZ_H
0 commit comments