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
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