[pso] [Tema1][Win] interceptor test - Reply

Alex Drenea alexdrenea at gmail.com
Sat Apr 5 15:47:40 EEST 2008


Si inca un lucru putin ciudat. Parametrii din old_stack pe care ii afisez
sunt intotdeauna aceeasi. Doar daca reincarc modulul se schimba.



2008/4/5 Alex Drenea <alexdrenea at gmail.com>:

> Pe new_stack nu am reusit sa il afisez (adica afiseaza valori invalide) am
> cautat si la new_stack[0],[1] si la new_stack[-1][-2].
> Sunt convins ca undeva in functia mea e o problema, insa chiar nu pot sa
> un degetul pe ea :(
>
> Cat despre apelul de sistem original, returneaza 0.
> Alex.
>   On Sat, Apr 5, 2008 at 3:20 PM, Razvan Deaconescu <razvand at cs.pub.ro>
> wrote:
>
> > On Sat, 2008-04-05 at 15:09 +0300, Alex Drenea wrote:
> > > Dupa cum spuneam si in primul mail, codul cu care fac afisarea in sci
> > > si test este :
> > > sci.c:
> > > NTSTATUS genericHandler()
> > > {
> > >  int* old_stack;
> > >  ...
> > >  _asm mov old_stack, ebp
> > >  _asm add old_stack, 8
> > >  ...
> > >  DbgPrint("old : %x %x %x",old_stack[0], old_stack[1],
> > > old_stack[2] );
> > >  ...
> > > }
> >
> > Si spui ca totusi apelul de sistem original intoarce ceea ce trebuie?
> > new_stack iti afiseaza aceleasi valori (gresite)?
> >
> > Razvan
> >
> >
> >
> > --
> >  This message has been scanned for viruses and
> > dangerous content by MailScanner, and is
> > believed to be clean.
> >
> > _______________________________________________
> > 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/20080405/2473b505/attachment.htm 


More information about the pso mailing list