|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTranslatableAnalyzer
com.ibm.dtfj.analyzer.base.SimpleAnalyzerBean
com.ibm.dtfj.analyzer.helpers.base.SectionsTableBase
public abstract class SectionsTableBase
A common base class for analyzers that represent an arbitrary list of ImageSections
Constructor Summary | |
---|---|
SectionsTableBase()
Null constructor for use as JavaBean |
Method Summary | |
---|---|
OneImageSection |
findContainingSection(com.ibm.dtfj.image.ImagePointer ptr)
Find the section in the list that contain a given pointer |
OneImageSection |
findContainingSection(long addr)
Find the section in the list that contain a given address (specified as a numeric value) |
OneImageSection |
findContainingSection(OneImageSection ois)
Find the section in the list that contain another given section |
java.util.Iterator |
getAllSections()
|
int |
getAllSectionsCount()
|
long |
getAllSectionsSize()
|
java.lang.String |
getAllSectionsSizeAsString()
|
int |
getCachingPriority()
Return 10 to force caching all analyzers that keep a list of sections (to preserve the content summary) |
protected void |
initializeOneSection(com.ibm.dtfj.image.ImageSection s)
Add one ImageSection object to the list of sections represented by this object. |
protected void |
initializeOneSection(OneImageSection ois)
Add one OneImageSection object to the list of sections represented by this object. |
protected void |
setChildInitializationHelper(InitializationHelper childInitializationHelper)
Specify an InitializationHelper object that will be responsible for initialzing the list of sections represented by the current object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SectionsTableBase()
Method Detail |
---|
public int getCachingPriority()
getCachingPriority
in interface IAnalyzerBase
getCachingPriority
in class SimpleAnalyzerBean
SimpleAnalyzerBean.getCachingPriority()
protected void setChildInitializationHelper(InitializationHelper childInitializationHelper)
childInitializationHelper
- the targer InitializationHelper object which will
initialize the list of sections.protected void initializeOneSection(OneImageSection ois) throws com.ibm.dtfj.image.DTFJException
ois
- the OneImageSection object to add to the list of sections
com.ibm.dtfj.image.DTFJException
protected void initializeOneSection(com.ibm.dtfj.image.ImageSection s) throws com.ibm.dtfj.image.DTFJException
s
- the ImageSection object to add to the list of sections
com.ibm.dtfj.image.DTFJException
public int getAllSectionsCount() throws com.ibm.dtfj.image.DTFJException
com.ibm.dtfj.image.DTFJException
public long getAllSectionsSize() throws com.ibm.dtfj.image.DTFJException
com.ibm.dtfj.image.DTFJException
public java.lang.String getAllSectionsSizeAsString() throws com.ibm.dtfj.image.DTFJException
com.ibm.dtfj.image.DTFJException
public OneImageSection findContainingSection(com.ibm.dtfj.image.ImagePointer ptr) throws com.ibm.dtfj.image.DTFJException
ptr
- the ImagePointer to check against the list of sections
com.ibm.dtfj.image.DTFJException
public OneImageSection findContainingSection(long addr) throws com.ibm.dtfj.image.DTFJException
addr
- the numeric address to check against the list of sections
com.ibm.dtfj.image.DTFJException
public OneImageSection findContainingSection(OneImageSection ois) throws com.ibm.dtfj.image.DTFJException
ois
- the OneImageSection object to check against the list of sections
com.ibm.dtfj.image.DTFJException
public java.util.Iterator getAllSections() throws com.ibm.dtfj.image.DTFJException
com.ibm.dtfj.image.DTFJException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |