class FuzzedTransactionHandler

Defined at line 65 of file ../../src/storage/lib/vfs/cpp/journal/fuzzer_utils.h

Fake that returns data from the fuzzer rather than from disk.

Public Methods

void Init (FuzzerUtils * fuzz_utils)

Register the parent object, which provides the FuzzedDataProvider.

Defined at line 60 of file ../../src/storage/lib/vfs/cpp/journal/fuzzer_utils.cc

void FuzzedTransactionHandler ()

Defined at line 67 of file ../../src/storage/lib/vfs/cpp/journal/fuzzer_utils.h

zx_status_t RunRequests (const std::vector<storage::BufferedOperation> & requests)

Defined at line 67 of file ../../src/storage/lib/vfs/cpp/journal/fuzzer_utils.cc

void ~FuzzedTransactionHandler ()

Defined at line 68 of file ../../src/storage/lib/vfs/cpp/journal/fuzzer_utils.h

void SetJournalStart (uint64_t journal_start)

Indicate the block number that the journal should start at. Read transactions at this offset

will return a fuzzed superblock.

Defined at line 75 of file ../../src/storage/lib/vfs/cpp/journal/fuzzer_utils.h

uint64_t BlockNumberToDevice (uint64_t block_num)

TransactionHandler interface

Defined at line 78 of file ../../src/storage/lib/vfs/cpp/journal/fuzzer_utils.h

uint32_t block_size ()

Defined at line 81 of file ../../src/storage/lib/vfs/cpp/journal/fuzzer_utils.h