public interface SectionHeader
Modifier and Type | Method and Description |
---|---|
COFFLineNumber |
getCOFFLineNumber(int index)
Retrieves the COFF line number at the given index; valid indices
are numbered 0...getNumberOfLineNumbers() - 1.
|
COFFRelocation |
getCOFFRelocation(int index)
This is only present for object files.
|
java.lang.String |
getName() |
short |
getNumberOfLineNumbers()
Number of line-number entries for the section.
|
short |
getNumberOfRelocations()
Number of relocation entries for the section.
|
int |
getPointerToLineNumbers()
File pointer to beginning of line-number entries for the
section.
|
int |
getPointerToRawData()
File pointer to section's first page within the COFF file.
|
int |
getPointerToRelocations()
File pointer to beginning of relocation entries for the section.
|
int |
getSectionFlags()
Flags describing section's characteristics; see
SectionFlags . |
int |
getSize()
Total size of the section when loaded into memory.
|
int |
getSizeOfRawData()
Size of the section (object file) or size of the initialized
data on disk (image files).
|
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.
|
boolean |
hasSectionFlag(int flag)
Returns true if the appropriate flag (from
SectionFlags ) is set. |
java.lang.String getName()
int getSize()
int getVirtualAddress()
int getSizeOfRawData()
int getPointerToRawData()
int getPointerToRelocations()
int getPointerToLineNumbers()
short getNumberOfRelocations()
short getNumberOfLineNumbers()
int getSectionFlags()
SectionFlags
.boolean hasSectionFlag(int flag)
SectionFlags
) is set.COFFRelocation getCOFFRelocation(int index)
COFFLineNumber getCOFFLineNumber(int index)
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.