| Modifier and Type | Class and Description |
|---|---|
class |
ElfHelper.Sizes |
| Constructor and Description |
|---|
ElfHelper(Elf elf)
Create a new
ElfHelper using an existing Elf
object. |
ElfHelper(String filename)
Create a new
ElfHelper based on the given filename. |
ElfHelper(String filename,
long fileoffset)
Create a new
ElfHelper based on the given filename. |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
Elf.Symbol[] |
getCommonObjects() |
Elf |
getElf()
Give back the Elf object that this helper is wrapping
|
Elf.Symbol[] |
getExternalFunctions() |
Elf.Symbol[] |
getExternalObjects() |
Elf.Symbol[] |
getLocalFunctions() |
Elf.Symbol[] |
getLocalObjects() |
Elf.Dynamic[] |
getNeeded() |
String |
getQnxUsage() |
ElfHelper.Sizes |
getSizes() |
String |
getSoname() |
Elf.Symbol[] |
getUndefined() |
public ElfHelper(Elf elf) throws IOException
ElfHelper using an existing Elf
object.elf - An existing Elf object to wrap.IOException - Error processing the Elf file.public ElfHelper(String filename) throws IOException
ElfHelper based on the given filename.filename - The file to use for creating a new Elf object.IOException - Error processing the Elf file.Elf.Elf( String )public ElfHelper(String filename, long fileoffset) throws IOException
ElfHelper based on the given filename.filename - The file to use for creating a new Elf object.IOException - Error processing the Elf file.Elf.Elf( String )public void dispose()
public Elf getElf()
public Elf.Symbol[] getExternalFunctions() throws IOException
IOExceptionpublic Elf.Symbol[] getExternalObjects() throws IOException
IOExceptionpublic Elf.Symbol[] getUndefined() throws IOException
IOExceptionpublic Elf.Symbol[] getLocalFunctions() throws IOException
IOExceptionpublic Elf.Symbol[] getLocalObjects() throws IOException
IOExceptionpublic Elf.Symbol[] getCommonObjects() throws IOException
IOExceptionpublic Elf.Dynamic[] getNeeded() throws IOException
IOExceptionpublic String getSoname() throws IOException
IOExceptionpublic String getQnxUsage() throws IOException
IOExceptionpublic ElfHelper.Sizes getSizes() throws IOException
IOExceptionCopyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.