Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Pascal Borland > Re: How to dete...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 9 of 15 Topic 1089 of 1118
Post > Topic >>

Re: How to determine contents of data segment?

by Jim Leonard <MobyGamer@[EMAIL PROTECTED] > Mar 3, 2008 at 12:59 PM

On Mar 3, 2:10 pm, Jim Leonard <MobyGa...@[EMAIL PROTECTED]
> wrote:
> When I add all of those up, I get ~240 bytes.  So where are the other
> ~1800?

Hold on, I figured out my mistake:  The offsets must be *inclusive*,
since I saw something I recognized.  Let's take a look at that again:

 0181:0378       foo
 0181:0478       mykeyb
 0181:047C       kbd
 0181:04FC       old9
 0181:0500       tfMaxScrX

Look at kbd.  It goes from 47c to 4fc.  4fc-47c=128 bytes, which is
exactly how large kbd is (it's not a pointer like I thought, but
rather defined as "foo:array[0..127] of byte").  So, seeing that, I
now realize that I need to go through and start looking at sizes
between offsets.

So, does anyone know of a nice .map analyzer utility out there, to
prevent me from re-inventing the wheel?  :-)
 




 15 Posts in Topic:
How to determine contents of data segment?
Jim Leonard <MobyGamer  2008-02-26 16:55:52 
Re: How to determine contents of data segment?
Jim Leonard <MobyGamer  2008-02-26 21:26:27 
Re: How to determine contents of data segment?
Marco van de Voort <ma  2008-02-27 07:37:45 
Re: How to determine contents of data segment?
Klaus Jorgensen <kj@[E  2008-02-27 13:12:46 
Re: How to determine contents of data segment?
Robert Riebisch <Rober  2008-02-27 21:59:34 
Re: How to determine contents of data segment?
Jim Leonard <MobyGamer  2008-02-29 09:33:14 
Re: How to determine contents of data segment?
Klaus Jorgensen <kj@[E  2008-02-29 21:42:09 
Re: How to determine contents of data segment?
Jim Leonard <MobyGamer  2008-03-03 12:10:43 
Re: How to determine contents of data segment?
Jim Leonard <MobyGamer  2008-03-03 12:59:08 
Re: How to determine contents of data segment?
Robert Riebisch <Rober  2008-03-03 22:15:17 
Re: How to determine contents of data segment?
Jim Leonard <MobyGamer  2008-03-03 17:16:12 
Re: How to determine contents of data segment?
Klaus Jorgensen <kj@[E  2008-03-04 08:05:18 
Re: How to determine contents of data segment?
Jim Leonard <MobyGamer  2008-03-04 07:30:04 
Re: How to determine contents of data segment?
Jim Leonard <MobyGamer  2008-03-05 07:12:53 
Re: How to determine contents of data segment?
Klaus Jorgensen <kj@[E  2008-03-05 18:05:23 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 0:20:36 CDT 2008.