Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Checking for ELF header in existing binary parser

This has been begging for an extension point for years...


Chris Recoskie
Team Lead, IBM CDT Team
IBM Toronto

  From:   John Cortell <john.cortell@xxxxxxxxxxxxx>                        
  To:     "CDT General developers list." <cdt-dev@xxxxxxxxxxx>,            
  Date:   14/02/2007 09:45 AM                                              
  Subject Re: [cdt-dev] Checking for ELF header in existing binary parser  

We all just all keep extending that file to cover new architectures. Just
create a bugzilla report for this with the machine 16-bit value and the
string representation and a commiter (I'll volunteer) will add it.


At 08:34 AM 2/14/2007, Delicia wrote:

        I have a toolchain (GNU toolchain ported for a different
      architecture) that uses ELF format for binaries.
      However, the current parsers in CDT don't recognize the binary.

      Looking at the sources, org.eclipse.cdt.utils.elf.Elf.Attribute
      checks for different fields of the ELF header.
      For a start, I need to add to the switch-case for 'ehdr.e_machine',
      so that it checks for my specific value.
      What is the correct way to go about this? Is there some class I can

      cdt-dev mailing list
      cdt-dev mailing list

Back to the top