public final class MinElf
extends java.lang.Object
See specification at http://www.sco.com/developers/gabi/latest/contents.html. You will not be able to verify the operation of the functions below without having read the ELF specification.
| Modifier and Type | Class and Description |
|---|---|
static class |
MinElf.ISA |
| Modifier and Type | Field and Description |
|---|---|
static int |
DT_NEEDED |
static int |
DT_NULL |
static int |
DT_STRTAB |
static int |
ELF_MAGIC |
static int |
PN_XNUM |
static int |
PT_DYNAMIC |
static int |
PT_LOAD |
| Constructor and Description |
|---|
MinElf() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String[] |
extract_DT_NEEDED(ElfByteChannel bc)
Treating
bc as an ELF file, extract all the DT_NEEDED entries from its dynamic section. |
static java.lang.String[] |
extract_DT_NEEDED(java.io.File elfFile) |
public static final int ELF_MAGIC
public static final int DT_NULL
public static final int DT_NEEDED
public static final int DT_STRTAB
public static final int PT_LOAD
public static final int PT_DYNAMIC
public static final int PN_XNUM
public static java.lang.String[] extract_DT_NEEDED(java.io.File elfFile)
throws java.io.IOException
java.io.IOExceptionpublic static java.lang.String[] extract_DT_NEEDED(ElfByteChannel bc) throws java.io.IOException
bc as an ELF file, extract all the DT_NEEDED entries from its dynamic section.bc - ElfByteChannel referring to ELF filejava.io.IOException