MCPcopy Create free account
hub / github.com/apache/arrow / MakeFuzzReaderProperties

Function MakeFuzzReaderProperties

cpp/src/parquet/arrow/fuzz_internal.cc:178–189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176}
177
178ReaderProperties MakeFuzzReaderProperties(MemoryPool* pool) {
179 FileDecryptionProperties::Builder builder;
180 builder.key_retriever(MakeKeyRetriever());
181 builder.plaintext_files_allowed();
182 // XXX Cannot set a AAD prefix as that would fail on files
183 // that store their own ADD prefix.
184 auto decryption_properties = builder.build();
185
186 ReaderProperties properties(pool);
187 properties.file_decryption_properties(decryption_properties);
188 return properties;
189}
190
191} // namespace
192

Callers 1

FuzzReaderFunction · 0.85

Calls 3

MakeKeyRetrieverFunction · 0.85
key_retrieverMethod · 0.80
buildMethod · 0.45

Tested by

no test coverage detected