Package net.fornwall.jelf
Class ElfNoteSection
java.lang.Object
net.fornwall.jelf.ElfSection
net.fornwall.jelf.ElfNoteSection
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classThe descriptor content of a linkNT_GNU_ABI_TAGtype note. -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal intfinal intfinal intstatic final intA possible value of then_typewhere the description should containElfNoteSection.GnuAbiDescriptor.static final intA possible value of then_typefor a note containing build ID bits as generated by "ld --build-id".static final intA possible value of then_typefor a note containing a version string generated by GNU gold.static final intA possible value of then_typefor a note containing synthetic hwcap information.Fields inherited from class net.fornwall.jelf.ElfSection
header, parser -
Method Summary
Methods inherited from class net.fornwall.jelf.ElfSection
getData
-
Field Details
-
NT_GNU_ABI_TAG
public static final int NT_GNU_ABI_TAGA possible value of then_typewhere the description should containElfNoteSection.GnuAbiDescriptor.- See Also:
-
NT_GNU_HWCAP
public static final int NT_GNU_HWCAPA possible value of then_typefor a note containing synthetic hwcap information.The descriptor begins with two words: word 0: number of entries word 1: bitmask of enabled entries Then follow variable-length entries, one byte followed by a '\0'-terminated hwcap name string. The byte gives the bit number to test if enabled,
(1U << bit) & bitmask.- See Also:
-
NT_GNU_BUILD_ID
public static final int NT_GNU_BUILD_IDA possible value of then_typefor a note containing build ID bits as generated by "ld --build-id".The descriptor consists of any nonzero number of bytes.
- See Also:
-
NT_GNU_GOLD_VERSION
public static final int NT_GNU_GOLD_VERSIONA possible value of then_typefor a note containing a version string generated by GNU gold.- See Also:
-
n_namesz
public final int n_namesz -
n_descsz
public final int n_descsz -
n_type
public final int n_type
-
-
Method Details
-
getName
-
descriptorBytes
public byte[] descriptorBytes() -
descriptorAsString
-
descriptorAsGnuAbi
-