Skip to main content

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

  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?

Back to the top