h_mem_assist.c | 51 static uint8_t *instbuf; variable in typeref:typename:uint8_t * 146 memcpy(instbuf, test->code_begin, size); 278 instbuf = mmap(NULL, PAGE_SIZE, PROT_READ|PROT_WRITE, MAP_ANON|MAP_PRIVATE, 280 if (instbuf == MAP_FAILED) 283 if (nvmm_hva_map(mach, (uintptr_t)instbuf, PAGE_SIZE) == -1) 285 ret = nvmm_gpa_map(mach, (uintptr_t)instbuf, 0x2000, PAGE_SIZE, 424 instbuf = mmap(NULL, PAGE_SIZE, PROT_READ|PROT_WRITE, MAP_ANON|MAP_PRIVATE, 426 if (instbuf == MAP_FAILED) 429 if (nvmm_hva_map(mach, (uintptr_t)instbuf, PAGE_SIZE) == -1) 431 ret = nvmm_gpa_map(mach, (uintptr_t)instbuf, 0x2000, PAGE_SIZE [all...] |