Community
Participate
Working Groups
The method getSections() in Elf.java (org.eclipse.cdt.utils.elf) only seeks to the start of the section headers. It should seek to each section header using e_shoff + e_shentsize * section_number. With reading the symbols in loadSymbolsBySection() this is done similarly. It gives the guarantee that reading the elf file will not fail if the records are extended, for whatever reason.
Created attachment 19156 [details] patch to Elf.java for the described change; also adds e_machine values
Thanks, patch applied