Package net.fornwall.jelf
Class ElfDynamicSection.ElfDynamicStructure
java.lang.Object
net.fornwall.jelf.ElfDynamicSection.ElfDynamicStructure
- Enclosing class:
- ElfDynamicSection
An entry in the
ElfDynamicSection.entries of a ElfDynamicSection.
In the elf.h header file this represents either of the following structures:
typedef struct {
Elf32_Sword d_tag;
union {
Elf32_Word d_val;
Elf32_Addr d_ptr;
Elf32_Off d_off;
} d_un;
} Elf32_Dyn;
typedef struct {
Elf64_Xword d_tag;
union {
Elf64_Xword d_val;
Elf64_Addr d_ptr;
} d_un;
} Elf64_Dyn;
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal longA tag value whose value defines how to interpretd_val_or_ptr.final longA field whose value is to be interpreted as specified by thed_tag. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
d_tag
public final long d_tagA tag value whose value defines how to interpretd_val_or_ptr.One of the DT_* constants in
ElfDynamicSection. -
d_val_or_ptr
public final long d_val_or_ptrA field whose value is to be interpreted as specified by thed_tag.
-
-
Constructor Details
-
ElfDynamicStructure
public ElfDynamicStructure(long d_tag, long d_val_or_ptr)
-
-
Method Details