Re: Extracting symbol values from COFF files (VBDis)
23 May 2002 01:29:25 -0400

          From comp.compilers

Related articles
Extracting symbol values from COFF files (Troy Kemp) (2002-05-17)
Re: Extracting symbol values from COFF files (2002-05-23)
| List of all articles for this month |

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

Troy Kemp <> 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.


Post a followup to this message

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