Class DataHints
java.lang.Object
com.pnfsoftware.jeb.core.units.code.asm.items.DataHints
Hints for native data items.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intHint: the data item may be an absolute virtual address.static final intHint: there is a reference to specific data byte (most probably flag usage)static final intHint: the data item is NOT an address.static final intHint: the data item may be an image-base relative virtual address. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintvoidsetAddressCalculationHint(int addressCalculationHint) voidsetReferenceHint(int referenceHint)
-
Field Details
-
ABSOLUTE_ADDRESS
public static final int ABSOLUTE_ADDRESSHint: the data item may be an absolute virtual address. The item type may or may not be compatible with that hint.- See Also:
-
RELATIVE_ADDRESS
public static final int RELATIVE_ADDRESSHint: the data item may be an image-base relative virtual address. The item type may or may not be compatible with that hint.NOTE: A similar hint can also be set onto structure field definitions, which are part of structure types; see
IStructureTypeField.FLAG_HINT_RVA- See Also:
-
NO_ADDRESS
public static final int NO_ADDRESSHint: the data item is NOT an address. It is used directly or combined with another value.- See Also:
-
INNER_REFERENCE
public static final int INNER_REFERENCEHint: there is a reference to specific data byte (most probably flag usage)- See Also:
-
-
Constructor Details
-
DataHints
public DataHints()
-
-
Method Details
-
setAddressCalculationHint
public void setAddressCalculationHint(int addressCalculationHint) - Parameters:
addressCalculationHint- 0 orABSOLUTE_ADDRESS,RELATIVE_ADDRESSorNO_ADDRESS
-
getAddressCalculationHint
public int getAddressCalculationHint()- Returns:
-
setReferenceHint
public void setReferenceHint(int referenceHint) - Parameters:
addressCalculationHint- 0 or#INNER_REFERENCES
-
getReferenceHint
public int getReferenceHint()- Returns:
-