Skip to content

VirtualQuery #1

Description

@FreeAlbatross

Hello sir,
#define CALL_STACK_TYPE 0

i tried use it for VirtualQuery but i get exception
uintptr_t baseaddress = 0x1111;
sConfig.SpoofFunctionPointer = (PVOID)GetProcAddress(kernelBase, "VirtualQuery"); // tested with Kernel32 too
sConfig.Nargs = 3;
sConfig.Arg01 = (PVOID)baseaddress ; // test
sConfig.Arg02 = &memoryInfo;
sConfig.Arg03 = (PVOID)sizeof(memoryInfo);

if i turn to CALL_STACK_TYPE 1 , it work

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