com.pnfsoftware.jeb.core.units.codeobject.ISegmentInformation |
Known Indirect Subclasses |
Definition of object code segments and sections.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | FLAG_ALLOC_ON_WRITE | The segment will be allocated once there is an actual write to it. | |||||||||
int | FLAG_EXECUTE | The segment or section is executable | |||||||||
int | FLAG_INVALID | The segment or section appears invalid. | |||||||||
int | FLAG_READ | The segment or section is readable | |||||||||
int | FLAG_RW | Combination flag: R, W | |||||||||
int | FLAG_RWX | Combination flag: R, W, X | |||||||||
int | FLAG_SYNTHETIC | The segment or section is not explicitly defined in the code object file. | |||||||||
int | FLAG_WRITE | The segment or section is writable |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract long |
getAlignment()
Get the memory alignment within the segment.
| ||||||||||
abstract int |
getFlags()
Get the flags for this segment or section.
| ||||||||||
abstract String |
getName()
Retrieve the name of the segment or section.
| ||||||||||
abstract long |
getOffsetInFile()
Get the file offset of the segment or section.
| ||||||||||
abstract long |
getOffsetInMemory()
Get the in-memory, base-relative address of the beginning of this segment or section.
| ||||||||||
abstract long |
getSizeInFile()
Get the file size of this segment or section.
| ||||||||||
abstract long |
getSizeInMemory()
Get the in-memory size of this segment or section.
|
The segment will be allocated once there is an actual write to it. Useful for large and initially empty segments.
The segment or section is executable
The segment or section appears invalid.
The segment or section is readable
Combination flag: R, W
Combination flag: R, W, X
The segment or section is not explicitly defined in the code object file.
The segment or section is writable
Get the memory alignment within the segment.
Get the flags for this segment or section.
FLAG_*
attributes
Retrieve the name of the segment or section.
Get the file offset of the segment or section.
Get the in-memory, base-relative address of the beginning of this segment or section. If a base address is not known or cannot be determined, the offset is 0-relative, and therefore, considered absolute.
Get the file size of this segment or section.
Get the in-memory size of this segment or section.