This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Portable Executable mapping


Portable Executable mapping

Postby sicker » Apr 15, 2004 @ 5:39pm

Heya,

according to the "great" microsoft debugger my portable executable image
is mapped at 0x36010000 but the .text section for example seems also
to be mapped at its virtual address of 0x11000. can anybody tell me
the reason for that?


regards,

sicker
sicker
pm Member
 
Posts: 2
Joined: Apr 15, 2004 @ 5:35pm


Postby refractor » Apr 15, 2004 @ 6:45pm

Not 100% sure about your question, so I'll answer what I think you're asking (if I'm not, rephrase the question :P).

There are 32 "slots" for processes in the address space in the operating system. Slot 0 is allocated to the currently running process (i.e. the running process is mapped there, run for a bit, then mapped out and another is mapped in to run).

So, an executing application exists at both a slot (1 to 31) and at slot 0. That's why your application appears at two virtual memory locations.
User avatar
refractor
pm Insider
 
Posts: 2304
Joined: Feb 5, 2002 @ 1:12pm
Location: Luxembourg


Postby sicker » Apr 15, 2004 @ 7:10pm

cheers mate :)
sicker
pm Member
 
Posts: 2
Joined: Apr 15, 2004 @ 5:35pm


Postby joshbu [MSFT] » Apr 16, 2004 @ 7:52am

joshbu AT microsoft dot-you-know-where
Windows CE Software Design Engineer

“This posting is provided “AS IS” with no warranties, and confers no rights.”
joshbu [MSFT]
pm Member
 
Posts: 60
Joined: Apr 10, 2004 @ 12:28am
Location: Redmond, WA


Postby Matt Keys » Apr 17, 2004 @ 4:19am

Matt Keys
Co-Founder
PocketMatrix.com
User avatar
Matt Keys
Site Co-Founder
 
Posts: 3243
Joined: Jan 24, 2001 @ 7:29pm
Location: Michigan, USA


Return to Windows Mobile


Sort


Forum Description

A discussion forum for mobile device developers on the Windows Mobile platform. Any platform specific topics are welcome.

Moderators:

Dan East, sponge, Digby, David Horn, Kevin Gelso, RICoder

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum