Class JCImageSection
java.lang.Object
com.ibm.dtfj.image.javacore.JCImageSection
- All Implemented Interfaces:
 ImageSection
- 
Constructor Summary
ConstructorsConstructorDescriptionJCImageSection(String name, ImagePointer base, long size) Construct a new Image section with the given name, base address and length in bytes - 
Method Summary
Modifier and TypeMethodDescriptionGets the base address (the lowest) of memory in this section.getName()Gets the name of this section.Get the OS-specific properties for this section.longgetSize()Gets the size of the memory section.booleanTests executable permission on memory section.booleanTests read permission on memory section.booleanisShared()Tests shared permission on memory section. 
- 
Constructor Details
- 
JCImageSection
Construct a new Image section with the given name, base address and length in bytes 
 - 
 - 
Method Details
- 
getBaseAddress
Description copied from interface:ImageSectionGets the base address (the lowest) of memory in this section.- Specified by:
 getBaseAddressin interfaceImageSection- Returns:
 - Base address pointer.
 
 - 
getName
Description copied from interface:ImageSectionGets the name of this section. Some memory sections are named. For example, the executable data in a module is typically called ".text". For memory sections without a specific name, a placeholder string will be returned. This method will never return null.- Specified by:
 getNamein interfaceImageSection- Returns:
 - non-null name String.
 
 - 
getSize
public long getSize()Description copied from interface:ImageSectionGets the size of the memory section.- Specified by:
 getSizein interfaceImageSection- Returns:
 - Size of section in bytes.
 
 - 
isExecutable
Description copied from interface:ImageSectionTests executable permission on memory section.- Specified by:
 isExecutablein interfaceImageSection- Returns:
 - true if the memory pages in this section are marked executable. False otherwise.
 - Throws:
 DataUnavailable
 - 
isReadOnly
Description copied from interface:ImageSectionTests read permission on memory section.- Specified by:
 isReadOnlyin interfaceImageSection- Returns:
 - true if the memory pages in this section are marked read-only. False otherwise.
 - Throws:
 DataUnavailable
 - 
getProperties
Description copied from interface:ImageSectionGet the OS-specific properties for this section.- Specified by:
 getPropertiesin interfaceImageSection- Returns:
 - a table of OS-specific properties for this section.
Values which are commonly available include
- "readable" -- whether the memory section can be read from
 - "writable" -- whether the memory section can be written to
 - "executable" -- whether data in the memory section can be executed
 
 
 
 -