Package ghidra.util.constraint
Class ExecutableFormatConstraint
java.lang.Object
generic.constraint.Constraint<Program>
ghidra.util.constraint.ProgramConstraint
ghidra.util.constraint.ExecutableFormatConstraint
- All Implemented Interfaces:
ExtensionPoint
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns a description of this constraint (with its configuration data) to be used to journal the decision path that was taken.inthashCode()booleanisSatisfied(Program program) Returns true if the given object satisfies this constraint.voidInitialized this constraint state.Methods inherited from class generic.constraint.Constraint
getName
-
Constructor Details
-
ExecutableFormatConstraint
public ExecutableFormatConstraint()
-
-
Method Details
-
isSatisfied
Description copied from class:ConstraintReturns true if the given object satisfies this constraint.- Specified by:
isSatisfiedin classConstraint<Program>- Parameters:
program- the object to test this constraint on.- Returns:
- true if the given object satisfies this constraint.
-
loadConstraintData
Description copied from class:ConstraintInitialized this constraint state. Attributes in the xml element with this constaints tag name will be extracted into the ConstraintData object for easy retrieval.- Specified by:
loadConstraintDatain classConstraint<Program>- Parameters:
data- the ConstraintData object used to initialize this constraint.
-
equals
- Specified by:
equalsin classConstraint<Program>
-
hashCode
public int hashCode() -
getDescription
Description copied from class:ConstraintReturns a description of this constraint (with its configuration data) to be used to journal the decision path that was taken.- Specified by:
getDescriptionin classConstraint<Program>- Returns:
- a description of this constraint with its configuration data.
-