com.ibm.dtfj.image
Interface ImageSection
- public interface ImageSection
Represents a range of memory used for a specific purpose.
- See Also:
ImageModule
getBaseAddress
public ImagePointer getBaseAddress()
- Returns:
- the lowest address of memory in this section
getSize
public long getSize()
- Returns:
- the size of this contiguous image section as measured in bytes
getName
public java.lang.String getName()
- Returns:
- the name of this section (e.g. ".text"). Note that sections of the image which have no specific
name will receive a name synthesized by the implementation. This will never be null.
isExecutable
public boolean isExecutable()
throws DataUnavailable
- Returns:
- true if this section contains executable code, false otherwise
- Throws:
DataUnavailable
isReadOnly
public boolean isReadOnly()
throws DataUnavailable
- Returns:
- true if write access to this section was disabled
- Throws:
DataUnavailable
isShared
public boolean isShared()
throws DataUnavailable
- Returns:
- true if this section is shared between processes
- Throws:
DataUnavailable