Package org.eclipse.cdt.utils.elf
Class ElfHelper
java.lang.Object
org.eclipse.cdt.utils.elf.ElfHelper
- All Implemented Interfaces:
AutoCloseable
ElfHelper
is a wrapper class for the Elf
class
to provide higher level API for sorting/searching the ELF data.- See Also:
-
Constructor Details
-
ElfHelper
Create a newElfHelper
using an existingElf
object.- Parameters:
elf
- An existing Elf object to wrap.- Throws:
IOException
- Error processing the Elf file.
-
ElfHelper
Create a newElfHelper
based on the given filename.- Parameters:
filename
- The file to use for creating a new Elf object.- Throws:
IOException
- Error processing the Elf file.- See Also:
-
ElfHelper
Create a newElfHelper
based on the given filename.- Parameters:
filename
- The file to use for creating a new Elf object.- Throws:
IOException
- Error processing the Elf file.- See Also:
-
-
Method Details
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-
dispose
public void dispose() -
getElf
Give back the Elf object that this helper is wrapping -
getExternalFunctions
- Throws:
IOException
-
getExternalObjects
- Throws:
IOException
-
getUndefined
- Throws:
IOException
-
getLocalFunctions
- Throws:
IOException
-
getLocalObjects
- Throws:
IOException
-
getCommonObjects
- Throws:
IOException
-
getNeeded
- Throws:
IOException
-
getSoname
- Throws:
IOException
-
getQnxUsage
- Throws:
IOException
-
getSizes
- Throws:
IOException
-