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( 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( String )
public void dispose()
public Elf getElf()
public Elf.Symbol[] getExternalFunctions() throws IOException
IOException
public Elf.Symbol[] getExternalObjects() throws IOException
IOException
public Elf.Symbol[] getUndefined() throws IOException
IOException
public Elf.Symbol[] getLocalFunctions() throws IOException
IOException
public Elf.Symbol[] getLocalObjects() throws IOException
IOException
public Elf.Symbol[] getCommonObjects() throws IOException
IOException
public Elf.Dynamic[] getNeeded() throws IOException
IOException
public String getSoname() throws IOException
IOException
public String getQnxUsage() throws IOException
IOException
public ElfHelper.Sizes getSizes() throws IOException
IOException
Copyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.