Re: Extracting symbol values from COFF files

vbdis@aol.com (VBDis)
23 May 2002 01:29:25 -0400

          From comp.compilers

Related articles
Extracting symbol values from COFF files jeeves_x@hotmai.com (Troy Kemp) (2002-05-17)
Re: Extracting symbol values from COFF files vbdis@aol.com (2002-05-23)
| List of all articles for this month |

From: vbdis@aol.com (VBDis)
Newsgroups: comp.compilers
Date: 23 May 2002 01:29:25 -0400
Organization: AOL Bertelsmann Online GmbH & Co. KG http://www.germany.aol.com
References: 02-05-084
Keywords: linker
Posted-Date: 23 May 2002 01:29:24 EDT

Troy Kemp <jeeves_x@hotmai.com> schreibt:


>>>From the coff file i need to extract that iNumber and its value 20. I
>can extract symbol name "iNumber" and its address, but not the default
>value of it.


Values can be subject to fixups, so in the general case you can have
expressions with references to other (external...) symbols. And AFAIR
multiple fixups can be applied to the same location, ending up in more
complex expressions.


IMO you should become more familiar with COFF files first, so that you know
what you may encounter there, besides simple numeric values.


DoDi


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.