Is there a way to programatically acquire _KPCR's address. I know it is at address fs:[0x1c] so by using inline assembly this can be done, but is there another way to do it without using inline assembly?
Code: Select all
return (PKPCR) (ULONG_PTR) __readfsdword (FIELD_OFFSET (KPCR, SelfPcr));