Interface IDIEAttribute
An DW_FORM_strp which will have long AND complex form
DW_FORM_flag_present which will have no form
IDIE
Attribute, represented by its name and its form. Note that form is mainly a long
form OR a complex form for almost all attributes. There are some exceptions, in particular:
-
Method Summary
Modifier and TypeMethodDescriptiongetForm()
Real form value.getName()
Attribute Name.Raw value.
Will be null for inlined strings (DW_FORM_string) and implicit flag (DW_FORM_flag_present).Retrieve the form referenceIDIE
when form represents an address.getType()
Form type as stated in DWARF specification.
-
Method Details
-
getName
String getName()Attribute Name. SeeDwarf.DwarfAttribute
- Returns:
-
getRawForm
Long getRawForm()Raw value.
Will be null for inlined strings (DW_FORM_string) and implicit flag (DW_FORM_flag_present). Otherwise, this is the raw value from the .debug_info.- Returns:
-
getForm
Object getForm()Real form value. Refer togetType()
for form type.
Will be of typeLong
for almost all types (address, constant, reference).
Some exceptions are:String
for stringsBigInteger
for 16-byte constants- byte[] for blocks
- Returns:
-
getReference
IDIE getReference()Retrieve the form referenceIDIE
when form represents an address.- Returns:
-
getType
Dwarf.DwarfFormType getType()Form type as stated in DWARF specification.- Returns:
-