Searched refs:shm_base (Results 1 – 3 of 3) sorted by relevance
/system/core/trusty/confirmationui/fuzz/ |
D | msg_fuzzer.cpp | 53 static void* shm_base; variable 69 shm_base = mmap(0, CONFIRMATIONUI_MAX_MSG_SIZE, PROT_READ | PROT_WRITE, MAP_SHARED, dma_buf, 0); in LLVMFuzzerInitialize() 70 if (shm_base == MAP_FAILED) { in LLVMFuzzerInitialize() 131 memset(shm_base, 0, CONFIRMATIONUI_MAX_MSG_SIZE); in Msg() 132 memcpy(shm_base, data, size); in Msg()
|
/system/core/trusty/apploader/fuzz/ |
D | app_fuzzer.cpp | 118 void* shm_base = mmap(0, shm_len, PROT_READ | PROT_WRITE, MAP_SHARED, dma_buf, 0); in LLVMFuzzerTestOneInput() local 119 if (shm_base == MAP_FAILED) { in LLVMFuzzerTestOneInput() 124 memcpy(shm_base, data, size); in LLVMFuzzerTestOneInput() 132 munmap(shm_base, shm_len); in LLVMFuzzerTestOneInput()
|
/system/core/trusty/confirmationui/ |
D | TrustyApp.cpp | 148 void* shm_base = mmap(0, shm_len, PROT_READ | PROT_WRITE, MAP_SHARED, dma_buf, 0); in TrustyApp() local 149 if (shm_base == MAP_FAILED) { in TrustyApp() 155 shm_base_ = shm_base; in TrustyApp()
|