Re: Port binding under linux in ASM
- From: Chuck Crayne <ccrayne@xxxxxxxxxx>
- Date: Sat, 19 Apr 2008 22:38:56 -0700
On Sat, 19 Apr 2008 21:38:40 -0700 (PDT)
tin.cans.and.string@xxxxxxxxx wrote:
Seeing as they're not explicitly pointed to by any register at
the time of the syscall, I couldn't see that there was much use
specifically defining them as data.
They are components of the sparms field, which is pointed to by the ecx
register. The association is done with a technique in Fasm which may
have to be changed a bit if you are using some other assembler.
Specifically, Fasm allows the following declaration,
virtual at sparms
p0 dd ?
p1 dd ?
p2 dd ?
p3 dd ?
p4 dd ?
p5 dd ?
end virtual
which is similar to a union or common declaration.
--
Chuck
http://www.pacificsites.com/~ccrayne/charles.html
.
- Follow-Ups:
- Re: Port binding under linux in ASM
- From: tin . cans . and . string
- Re: Port binding under linux in ASM
- From: Frank Kotler
- Re: Port binding under linux in ASM
- References:
- Port binding under linux in ASM
- From: tin . cans . and . string
- Re: Port binding under linux in ASM
- From: Chuck Crayne
- Re: Port binding under linux in ASM
- From: tin . cans . and . string
- Re: Port binding under linux in ASM
- From: tin . cans . and . string
- Re: Port binding under linux in ASM
- From: tin . cans . and . string
- Port binding under linux in ASM
- Prev by Date: Re: Port binding under linux in ASM
- Next by Date: Re: All is right !
- Previous by thread: Re: Port binding under linux in ASM
- Next by thread: Re: Port binding under linux in ASM
- Index(es):