| Modifier and Type | Method and Description |
|---|---|
| public COFFLineNumber | getCOFFLineNumber(int index)
Retrieves the COFF line number at the given index; valid indices are numbered 0...getNumberOfLineNumbers() - 1. |
| public COFFRelocation | |
| public String | |
| public short | |
| public short | |
| public int | |
| public int | |
| public int | |
| public int | getSectionFlags()
Flags describing section's characteristics; see |
| public int | |
| public int | getSizeOfRawData()
Size of the section (object file) or size of the initialized data on disk (image files). |
| public int | getVirtualAddress()
For executable images this is the address of the first byte of the section, when loaded into memory, relative to the image base. |
| public boolean | hasSectionFlag(int flag)
Returns true if the appropriate flag (from |
| getCOFFLineNumber | back to summary |
|---|---|
| public COFFLineNumber getCOFFLineNumber(int index) Retrieves the COFF line number at the given index; valid indices are numbered 0...getNumberOfLineNumbers() - 1. | |
| getCOFFRelocation | back to summary |
|---|---|
| public COFFRelocation getCOFFRelocation(int index) This is only present for object files. Retrieves the COFF relocation at the given index; valid indices are numbered 0...getNumberOfRelocations() - 1. | |
| getName | back to summary |
|---|---|
| public String getName() | |
| getNumberOfLineNumbers | back to summary |
|---|---|
| public short getNumberOfLineNumbers() Number of line-number entries for the section. | |
| getNumberOfRelocations | back to summary |
|---|---|
| public short getNumberOfRelocations() Number of relocation entries for the section. Set to 0 for executable images. | |
| getPointerToLineNumbers | back to summary |
|---|---|
| public int getPointerToLineNumbers() File pointer to beginning of line-number entries for the section. Set to 0 if there are no COFF line numbers. | |
| getPointerToRawData | back to summary |
|---|---|
| public int getPointerToRawData() File pointer to section's first page within the COFF file. For executable images, this must be a multiple of FileAlignment from the optional header. For object files, the value should be aligned on a four-byte boundary for best performance. When a section contains only uninitialized data, this field should be 0. | |
| getPointerToRelocations | back to summary |
|---|---|
| public int getPointerToRelocations() File pointer to beginning of relocation entries for the section. Set to 0 for executable images or if there are no relocations. | |
| getSectionFlags | back to summary |
|---|---|
| public int getSectionFlags() Flags describing section's characteristics; see | |
| getSize | back to summary |
|---|---|
| public int getSize() Total size of the section when loaded into memory. If this value is greater than Size of Raw Data, the section is zero-padded. This field is valid only for executable images and should be set to 0 for object files. | |
| getSizeOfRawData | back to summary |
|---|---|
| public int getSizeOfRawData() Size of the section (object file) or size of the initialized data on disk (image files). For executable image, this must be a multiple of FileAlignment from the optional header. If this is less than VirtualSize the remainder of the section is zero filled. Because this field is rounded while the VirtualSize field is not it is possible for this to be greater than VirtualSize as well. When a section contains only uninitialized data, this field should be 0. | |
| getVirtualAddress | back to summary |
|---|---|
| public int getVirtualAddress() For executable images this is the address of the first byte of the section, when loaded into memory, relative to the image base. For object files, this field is the address of the first byte before relocation is applied; for simplicity, compilers should set this to zero. Otherwise, it is an arbitrary value that is subtracted from offsets during relocation. | |
| hasSectionFlag | back to summary |
|---|---|
| public boolean hasSectionFlag(int flag) Returns true if the appropriate flag (from | |