[pso] [tema1][win] syscall gresit
omar Chouydary
chouydary at yahoo.com
Sat Mar 31 20:21:30 EEST 2007
What??? Ce treaba au variabilele initializate cu registrul eax? Variabilele sunt pe stiva... mult dupa parametrii si n-au treaba cu registrii actuali.
Catalin Morosan <cercetasu2003 at yahoo.com> wrote: Nu trebuie sa ai nicio variabila initializata inainte de a face "_asm mov syscall, eax" pentru ca s-ar putea sa iti modifice registrul eax.
De preferat e ca instructiunea "_asm mov syscall, eax" sa fie prima ta instructiune din functie.
----- Original Message ----
From: Luis Cazacu <lewisparma at gmail.com>
To: Proiectarea Sistemelor de Operare <pso at cursuri.cs.pub.ro>
Sent: Saturday, March 31, 2007 1:29:44 AM
Subject: [pso] [tema1][win] syscall gresit
Cand incerc sa aflu id-ul apelului de sistem in functia interceptor
cu urm secventa de cod:
"_asm mov syscall, eax
DbgPrint("syscall=%d",syscall);"
imi afiseaza syscall=1 indiferent de apelul pe care incerc sa il interceptez.
Any ideas?
_______________________________________________
pso mailing list
pso at cursuri.cs.pub.ro
http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/pso
_______________________________________________
pso mailing list
pso at cursuri.cs.pub.ro
http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/pso
---------------------------------
Looking for earth-friendly autos?
Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cursuri.cs.pub.ro/pipermail/pso/attachments/20070331/e4b29d9b/attachment.htm
More information about the pso
mailing list