Interface IELFDynamicTable
public interface IELFDynamicTable
Interface for the ELF dynamic table (
SHT_DYNAMIC section).-
Method Summary
Modifier and TypeMethodDescriptiongetEntry(int tag) Attempt to retrieve common DynamicTable Entry from its tag.Get finalizer routine addresses.Get initializer routine addresses.Get library name, or null if none.Get pre-initializer routine addresses.Get required library names.Get library search path, or null if none.intRetrieve the number of symbols in Symbol Table.
-
Method Details
-
getPreInitializers
Get pre-initializer routine addresses.- Returns:
- pre-initializer routine addresses
-
getInitializers
Get initializer routine addresses.- Returns:
- initializer routine addresses
-
getFinalizers
Get finalizer routine addresses.- Returns:
- finalizer routine addresses
-
getLibraryName
String getLibraryName()Get library name, or null if none.- Returns:
- library name, or null if none
-
getSearchPath
String getSearchPath()Get library search path, or null if none.- Returns:
- library search path, or null if none
-
getRequiredLibs
Get required library names.- Returns:
- required library names
-
getEntry
Attempt to retrieve common DynamicTable Entry from its tag. Does not contain dynamic entries related to String table, functions and libraries (use the other methods)- Parameters:
tag- SeeELF.DT_* for common tags.- Returns:
- relevant value (valid pointer or value) or null if not present - or not exposed.
-
getSymtabNumber
int getSymtabNumber()Retrieve the number of symbols in Symbol Table.- Returns:
- count of symbols
-