|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object frysk.dwfl.ObjectFile
public class ObjectFile
What ltrace needs to know about each loaded executable or shared library.
Field Summary | |
---|---|
private static HashMap |
cachedFiles
|
private ElfSection |
dynamicStrtab
|
private File |
filename
|
private static Log |
fine
|
private static Log |
finest
|
private String |
interp
|
private File |
resolvedInterp
|
private String |
soname
|
private static Log |
warning
|
Constructor Summary | |
---|---|
protected |
ObjectFile(File file,
Elf elfFile,
ElfEHeader eh)
|
Method Summary | |
---|---|
private static void |
assertFitsToInt(long num,
String context)
|
static ObjectFile |
buildFromFile(String path)
|
private static ElfSection |
getElfSectionWithAddr(Elf elfFile,
long addr)
|
File |
getFilename()
Answer filename. |
String |
getInterp()
Answer INTERP or null if none was in file. |
String |
getSoname()
Either answer primed soname, or construct soname from filename. |
File |
resolveInterp()
Find a canonical path to interpreter and answer that. |
protected void |
setInterp(String interp)
|
protected void |
setSoname(String soname)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final Log warning
private static final Log fine
private static final Log finest
private File filename
private String soname
private String interp
private File resolvedInterp
private ElfSection dynamicStrtab
private static HashMap cachedFiles
Constructor Detail |
---|
protected ObjectFile(File file, Elf elfFile, ElfEHeader eh)
Method Detail |
---|
private static void assertFitsToInt(long num, String context)
protected void setSoname(String soname)
public String getSoname()
protected void setInterp(String interp)
public String getInterp()
public File resolveInterp()
public File getFilename()
private static ElfSection getElfSectionWithAddr(Elf elfFile, long addr)
public static ObjectFile buildFromFile(String path)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |