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

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

Back to the top