Skip to content

PAGE_FAULT_IN_NONPAGED_AREA globalpte #1

@fork1488

Description

@fork1488

I can't make it work, crash on this, can u help me? 22h2 win11 like pte not present

PAGE_FAULT_IN_NONPAGED_AREA (50)
Invalid system memory was referenced.  This cannot be protected by try-except.
Typically the address is just plain bad or it is pointing at freed memory.
Arguments:
Arg1: ffffc5fc001f7790, memory referenced.
Arg2: 0000000000000003, X64: bit 0 set if the fault was due to a not-present PTE.
	bit 1 is set if the fault was due to a write, clear if a read.
	bit 3 is set if the processor decided the fault was due to a corrupted PTE.
	bit 4 is set if the fault was due to attempted execute of a no-execute PTE.
	- ARM64: bit 1 is set if the fault was due to a write, clear if a read.
	bit 3 is set if the fault was due to attempted execute of a no-execute PTE.
Arg3: ffffdf8e4e1f5830, If non-zero, the instruction address which referenced the bad memory
	address.
Arg4: 0000000000000008, (reserved)

void* deHandler = GetHandlerAddress(INTERRUPT_VECTOR_DE);
if (!deHandler || !PageSpacePatch(pml4, deHandler,
	deShellCode, sizeof(deShellCode), TABLE_LEVEL_PML4))

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions