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

Function MakeFuzzReaderProperties

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

Source from the content-addressed store, hash-verified

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

Callers 1

FuzzReaderFunction · 0.85

Calls 3

MakeKeyRetrieverFunction · 0.85
key_retrieverMethod · 0.80
buildMethod · 0.45

Tested by

no test coverage detected