Data in a 32 bit code section
- From: HandyMan <luke77561@xxxxxxxxx>
- Date: 30 May 2007 09:02:29 -0700
Two questions.
Thanks.
Can Win32 apps have and use data in the code section ?
Thanks.
..DATA
..CODE
Start:
jmp short ready
;mark db "start",0
number dw 8
ready:
mov cx,word ptr [number]
invoke ExitProcess, 0
END Start
Question 2
Tracers interpret programs, rather than passing them straight to DOS
for
execution, some programs may exhibit slightly different behaviour
when
analysed than when executed. This is unfortunately unavoidable.
When a new file is loaded, the PC interrupt vector table
is copied into memory. All subsequent reads and writes to the first
1024 bytes
of RAM (vector table) are then redirected to the TRACER copy of the
interrupt
vector table. This allows programs to think they have changed an
interrupt
vector, but at the same time retains security by not changing the real
vector.
Anyone used one of these in a cmd window in XP ?
Do they still work.
.
- Follow-Ups:
- Re: Data in a 32 bit code section
- From: rhyde@xxxxxxxxxx
- Re: Data in a 32 bit code section
- Prev by Date: Re: Debianizing -- increasing ASM's reach into Linux
- Next by Date: Nasm 0.99.01 available
- Previous by thread: Debianizing -- increasing ASM's reach into Linux
- Next by thread: Re: Data in a 32 bit code section
- Index(es):
Relevant Pages
|