Home
last modified time | relevance | path

Searched refs:copy_buffer (Results 1 – 1 of 1) sorted by relevance

/system/nfc/utils/test/ringbuffer_fuzzer/
Dringbuffer_fuzzer.cpp51 uint8_t* copy_buffer = (uint8_t*)malloc(bytes_to_grab); in LLVMFuzzerTestOneInput() local
57 ringbuffer_peek(buffer, offset, copy_buffer, (size_t)bytes_to_grab); in LLVMFuzzerTestOneInput()
58 free(copy_buffer); in LLVMFuzzerTestOneInput()
67 uint8_t* copy_buffer = (uint8_t*)malloc(bytes_to_grab); in LLVMFuzzerTestOneInput() local
68 ringbuffer_pop(buffer, copy_buffer, bytes_to_grab); in LLVMFuzzerTestOneInput()
69 free(copy_buffer); in LLVMFuzzerTestOneInput()