Article View: pl.comp.lang.asm
Article #268Re: pobieranie danych z stosu
From: Remek
Date: Mon, 22 May 2006 01:23
Date: Mon, 22 May 2006 01:23
29 lines
1466 bytes
1466 bytes
Witam!
Nie napisałeś jaki kompilator i system, ale to nie takie istotne.
Chodzi o to, że z ciekawości bym skompilował i podejrzał
w debuggerze. Na moje oko może wykładać się już tu:
_asm
{
push ebp
mov ebp, esp
sub esp, 0x16
mov eax, [ebp+8]
mov s, eax
mov eax, [ebp+8+4]
mov buf, eax
mov eax, [ebp+8+8]
mov len, eax
mov eax, [ebp+8+12]
mov flags, eax
......
Myślę, że tu już powinieneś uregulować stos. W następnej
wstawce to samo, chociaż chyba już niekonieczne.
Pozdrawiam
--
Remek
Technical Details
Message-ID:
<e4r3js$qel$1@inews.gazeta.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mailReferences:
<e4nh3a$lss$1@atlantis.news.tpi.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail From: "Remek" <wiasmed@neostrada.pl> Newsgroups: pl.comp.lang.asm Subject: Re: pobieranie danych z stosu Date: Mon, 22 May 2006 03:23:29 +0200 Organization: "Portal Gazeta.pl -> http://www.gazeta.pl" Lines: 30 Message-ID: <e4r3js$qel$1@inews.gazeta.pl> References: <e4nh3a$lss$1@atlantis.news.tpi.pl> NNTP-Posting-Host: 213.199.219.5 Mime-Version: 1.0 X-Trace: inews.gazeta.pl 1148260796 27093 213.199.219.5 (22 May 2006 01:19:56 GMT) X-Complaints-To: usenet@agora.pl NNTP-Posting-Date: Mon, 22 May 2006 01:19:56 +0000 (UTC) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Priority: 3 X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-User: remeka X-MSMail-Priority: Normal Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit