1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00
cdt/core
Simeon Andreev 2962203bd2 Bug 569581 - Rethrow IOException in ElfParser.hasInterpProgramHeader()
This change adjusts behavior in ElfParser.hasInterpProgramHeader()
(added for bug 512822) to throw an IOException that occurred, as opposed
to logging the exception and continuing. This excludes exceptions thrown
by Elf.getSections() indicating that ELFhdr.ELFCLASSNONE is read; a new,
more specific IOException type is defined to allow handling this as a
special case.

A "generic" IOException indicates an I/O problem with the binary. E.g.
the binary can be deleted by the user or by Eclipse, while being visited
in CModelManager. If hasInterpProgramHeader() returns instead of
throwing, more problems can occur "later on".

Change-Id: I8852d9cbaa17dc97f668bb1666e9b046bbde1fca
Signed-off-by: Simeon Andreev <simeon.danailov.andreev@gmail.com>
2021-01-14 09:10:28 +01:00
..
org.eclipse.cdt.core Bug 569581 - Rethrow IOException in ElfParser.hasInterpProgramHeader() 2021-01-14 09:10:28 +01:00
org.eclipse.cdt.core.linux [releng] Increment feature and related versions to 10.2.0 2020-12-19 12:11:25 -05:00
org.eclipse.cdt.core.linux.aarch64 [releng] Increment feature and related versions to 10.2.0 2020-12-19 12:11:25 -05:00
org.eclipse.cdt.core.linux.ppc64le [releng] Increment feature and related versions to 10.2.0 2020-12-19 12:11:25 -05:00
org.eclipse.cdt.core.linux.x86_64 [releng] Increment feature and related versions to 10.2.0 2020-12-19 12:11:25 -05:00
org.eclipse.cdt.core.macosx [releng] Increment feature and related versions to 10.2.0 2020-12-19 12:11:25 -05:00
org.eclipse.cdt.core.native [releng] Increment feature and related versions to 10.2.0 2020-12-19 12:11:25 -05:00
org.eclipse.cdt.core.tests Bug 500798: Mark GCC template init message as info 2021-01-11 15:18:34 -05:00
org.eclipse.cdt.core.win32 [releng] Increment feature and related versions to 10.2.0 2020-12-19 12:11:25 -05:00
org.eclipse.cdt.core.win32.x86_64 [releng] Increment feature and related versions to 10.2.0 2020-12-19 12:11:25 -05:00
org.eclipse.cdt.ui [releng] Bump version number 2021-01-11 15:14:09 -05:00
org.eclipse.cdt.ui.tests Bug 569839: Ensure that behaviour is same running tests without suites 2020-12-21 14:50:51 -05:00
pom.xml [releng] Increment feature and related versions to 10.2.0 2020-12-19 12:11:25 -05:00