Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?
DRAKVUF FF mask
uint8_t fmask[VMI_PS_4KB] = {[0 ... VMI_PS_4KB-1] = 0xFF};
if (VMI_FAILURE == vmi_write_pa(drakvuf->vmi, drakvuf->zero_page_gfn<<12, VMI_PS_4KB, &fmask, NULL))
{
PRINT_DEBUG("Failed to mask FF to the empty page\n");
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment