🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.misc
Article #3674

Finding the Data Segment from an .EXE

#3674
From: charles spell
Date: Sun, 07 Oct 1990 23:43
15 lines
1070 bytes
I am trying to find out where (offset) in a .EXE the start of the
(initialized) data segment is from a compiled TurboC program. I can get
the Code Segment from the word at 16h in the .EXE header, but am not sure
of an easy way to find the data segment that follows the code...

any ideas?

Thanx in advance.

-- 
 .--------------------------.  ...  |On the border of your mind lies a place
 |uunet!mcnc!unccvax!cs00chs|  (")  |where dreams and reality are one...I will 
 `--------------------------'-w-U-w-|take you there, for I am the subject...
 \%\%\%\%\%\%\%\%\%\%\%\%\%\%\%\%\%\|the subject of your imagination. -Aldo Nova
Technical Details
Message-ID: <2819@unccvax.uncc.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!rutgers!mcnc!unccvax!cs00chs

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!rutgers!mcnc!unccvax!cs00chs
From: cs00chs@unccvax.uncc.edu (charles spell)
Newsgroups: comp.sys.ibm.pc.misc,comp.binaries.ibm.pc.d,comp.lang.c
Subject: Finding the Data Segment from an .EXE
Keywords: How?
Message-ID: <2819@unccvax.uncc.edu>
Date: 7 Oct 90 23:43:44 GMT
Followup-To: poster
Organization: University of NC at Charlotte
Lines: 15