[pso] [tema1][win] syscall gresit

Catalin Morosan cercetasu2003 at yahoo.com
Sat Mar 31 01:38:11 EEST 2007


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




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cursuri.cs.pub.ro/pipermail/pso/attachments/20070330/4e28a4ab/attachment.htm


More information about the pso mailing list