Microsoft Visual Studio ASM-Interpreter macht mich verrückt!
-
Hi Kollegen:
PUSH oldprotect PUSH PAGE_EXECUTE_READ OR PAGE_GUARD PUSH 00000010h PUSH EAX Call VirtualProtectFunktioniert nicht... Er callt den Pointer dann in dem aber die Adresse
von der API ist... ErrorPUSH oldprotect PUSH PAGE_EXECUTE_READ OR PAGE_GUARD PUSH 00000010h PUSH EAX call [VirtualProtect]Das gleiche
PUSH oldprotect PUSH PAGE_EXECUTE_READ OR PAGE_GUARD PUSH 00000010h PUSH EAX mov esi, [VirtualProtect] Call esiGeht zwar ist aber "arm",
muss ich umbedingt ein Register verwenden?Zweites Problem:
DWORD oldprotect = 0;push oldprotect<- NULL wird gepusht, ich brauche aber den Pointer
push *oldprotecctpush offset oldprotectpush addr oldprotectpush @oldprotect<- Geht alles nicht
Vielen Dank schonmal