Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

COFF Symbol Table Entries
Hi,

I am trying to write a program to read the COFF format and fix some
symbol table entries. The problem I have is this.

1. The COFF file that I am trying to fix is in the big endian format.
My program that is trying to fix the file runs on Linux on a i386
processor.

2. I can successfully read the file header, section header and
everything else (making the endian conversion).
However, when I try to read the symbol table, everything goes haywire.
I get the symbol table offset from the file header. The symbol table
entries return weird values. The offset into the string table for long
symbol names is greater than the string table itself. Also, for some
symbol table entries, I have a big number (for ex, 113) of auxiliary
entries.

Can anybody help me with this ? What am I doing wrong ?
I have spent days trying to figure this out.

Also, if someebody can point me to UNIX COFF specification, that would
be great.  I only have the following document..that does not have a
great level of detail.

http://www.delorie.com/djgpp/doc/coff/

Thanks a lot.
AK

Report this thread to moderator Post Follow-up to this message
Old Post
AK
08-25-04 08:59 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Compilers archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 04:56 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.