Home > Back-end >  This period of how to write C code in C?
This period of how to write C code in C?

Time:11-30

 
PVOID * StackMax=(PVOID *) __readgsqword (OFFSET_KPCR_RSP_BASE);
PVOID * StackFrame=(PVOID *) _AddressOfReturnAddress ();

For (PVOID * StackCurrent=StackMax;
StackCurrent & gt; StackFrame;
- StackCurrent)
{

PULONG AsUlong=(PULONG StackCurrent);
If (* AsUlong!=INFINITYHOOK_MAGIC_1)
{
continue;
}

- StackCurrent;
}



This code is translated into the C language to do??

PVOID * StackMax, StackFrame StackCurrent;
PULONG AsUlong;


I like to write, then an error: error C2036: 'PVOID: unknown size


CodePudding user response:

Line 6 and line 15 error: error C2036: 'PVOID: unknown size

CodePudding user response:

Void * * SystemCallFunction=& amp; StackCurrent [9].

And it is also the error C2036: 'PVOID' : unknown size, how to change?
  • Related