java.lang.Object | |
↳ | com.pnfsoftware.jeb.core.units.codeobject.SegmentInformation |
Standard implementation of the ISegmentInformation
interface for segments and sections.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.pnfsoftware.jeb.core.units.codeobject.ISegmentInformation
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
SegmentInformation(String name, long offsetInFile, long sizeInFile, long offsetInMemory, long sizeInMemory, int flags) | |||||||||||
SegmentInformation(SegmentInformation segment) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
long |
getAlignment()
Get the memory alignment within the segment.
| ||||||||||
int |
getFlags()
Get the flags for this segment or section.
| ||||||||||
String |
getName()
Retrieve the name of the segment or section.
| ||||||||||
long |
getOffsetInFile()
Get the file offset of the segment or section.
| ||||||||||
long |
getOffsetInMemory()
Get the in-memory, base-relative address of the beginning of this segment or section.
| ||||||||||
long |
getSizeInFile()
Get the file size of this segment or section.
| ||||||||||
long |
getSizeInMemory()
Get the in-memory size of this segment or section.
| ||||||||||
void | setAlignment(long alignment) | ||||||||||
void | setFlags(int flags) | ||||||||||
void | setName(String name) | ||||||||||
void | setOffsetInFile(long offsetInFile) | ||||||||||
void | setOffsetInMemory(long offsetInMemory) | ||||||||||
void | setSizeInFile(long sizeInFile) | ||||||||||
void | setSizeInMemory(long sizeInMemory) | ||||||||||
String | toString() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.pnfsoftware.jeb.core.units.codeobject.ISegmentInformation
|
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.