MCPcopy Create free account
hub / github.com/HexHive/NASS / FuzzedDataProvider

Method FuzzedDataProvider

fuzz/include/FuzzedDataProvider.h:35–36  ·  view source on GitHub ↗

|data| is an array of length |size| that the FuzzedDataProvider wraps to provide more granular access. |data| must outlive the FuzzedDataProvider.

Source from the content-addressed store, hash-verified

33 // |data| is an array of length |size| that the FuzzedDataProvider wraps to
34 // provide more granular access. |data| must outlive the FuzzedDataProvider.
35 FuzzedDataProvider(const uint8_t *data, size_t size)
36 : data_ptr_(data), remaining_bytes_(size) {}
37 ~FuzzedDataProvider() = default;
38
39 // See the implementation below (after the class definition) for more verbose

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected