Skip to main content

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

Doug Schaefer wrote:
You know, I thought it would die down over time, but given the popularity of
ELF and the ever increasing number of chips coming out, I don't see this
going away.

Yes, an extension point much needed...

Doug Schaefer, QNX Software Systems
Eclipse CDT Project Lead, Tools PMC Member

-----Original Message-----
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On
Behalf Of Chris Recoskie
Sent: Wednesday, February 14, 2007 11:01 AM
To: CDT General developers list.
Subject: 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
http://www.eclipse.org/cdt




  From:   John Cortell <john.cortell@xxxxxxxxxxxxx>

  To:     "CDT General developers list." <cdt-dev@xxxxxxxxxxx>,
          <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.

John

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

        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
      override?

      Thanks,
      Delicia.
      _______________________________________________
      cdt-dev mailing list
      cdt-dev@xxxxxxxxxxx
      https://dev.eclipse.org/mailman/listinfo/cdt-dev
      _______________________________________________
      cdt-dev mailing list
      cdt-dev@xxxxxxxxxxx
      https://dev.eclipse.org/mailman/listinfo/cdt-dev


_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev

The ARM website offers an Eclipse Plugin for the RealView tool set.
It has a real ELF disassembler which recognizes Thumb/ARM mode.
Ray



Back to the top