| 29 | namespace arrow::internal { |
| 30 | |
| 31 | MemoryPool* fuzzing_memory_pool() { |
| 32 | static auto pool = std::make_shared<::arrow::CappedMemoryPool>( |
| 33 | ::arrow::default_memory_pool(), /*bytes_allocated_limit=*/kFuzzingMemoryLimit); |
| 34 | return pool.get(); |
| 35 | } |
| 36 | |
| 37 | void LogFuzzStatus(const Status& st, const uint8_t* data, int64_t size) { |
| 38 | static const int kVerbosity = []() { |
no test coverage detected