Searched refs:re_buf (Results 1 – 1 of 1) sorted by relevance
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2021-0490/ |
D | poc.cpp | 355 char *re_buf = (char*) mmap(NULL, MMAP_SIZE, PROT_READ | PROT_WRITE, MAP_SHARED, dma_fd, 0); in poc_write_kernel() local 356 FAIL_CHECK_ALOGE ((void *)re_buf != MAP_FAILED, mmap); in poc_write_kernel() 358 ALOGE("re_buf addr:%p", re_buf); in poc_write_kernel() 359 ALOGE("re_buf[0]:%x", re_buf[0]); in poc_write_kernel() 363 unsigned long *read_buf = (unsigned long *)re_buf; in poc_write_kernel() 375 memset(re_buf, 0xbb, MMAP_SIZE); in poc_write_kernel() 376 munmap(re_buf, MMAP_SIZE); in poc_write_kernel()
|