mirror of
https://github.com/vee1e/flatbuffers.git
synced 2026-09-01 17:57:25 +00:00
Updated FlexBuffers fuzzer
This commit is contained in:
parent
d8b7041d7e
commit
5b0d491127
1 changed files with 3 additions and 1 deletions
|
|
@ -8,7 +8,9 @@
|
|||
#include "flatbuffers/flexbuffers.h"
|
||||
|
||||
extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
|
||||
std::vector<bool> reuse_tracker;
|
||||
std::vector<uint8_t> reuse_tracker;
|
||||
// Check both with and without reuse tracker paths.
|
||||
flexbuffers::VerifyBuffer(data, size, &reuse_tracker);
|
||||
flexbuffers::VerifyBuffer(data, size, nullptr);
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue