Class Constraint
java.lang.Object
com.pnfsoftware.jeb.core.units.code.asm.sig.codeless.Constraint
Constraint limiting a target function to a set of possible reference functions.
-
Constructor Summary
ConstructorsConstructorDescriptionConstraint(Collection<Func> possibleFuncs) Create a constraint from possible reference functions. -
Method Summary
Modifier and TypeMethodDescriptionbooleanGet the possible reference functions.inthashCode()booleanisEmpty()Determine whether this constraint allows no function.voidsetPossibleFuncs(Set<Func> possibleFuncs) Set the possible reference functions.
-
Constructor Details
-
Constraint
Create a constraint from possible reference functions.- Parameters:
possibleFuncs- possible reference functions
-
-
Method Details
-
isEmpty
public boolean isEmpty()Determine whether this constraint allows no function.- Returns:
- true if no possible function remains
-
hashCode
public int hashCode() -
equals
-
getPossibleFuncs
Get the possible reference functions.- Returns:
- possible reference functions
-
setPossibleFuncs
Set the possible reference functions.- Parameters:
possibleFuncs- possible reference functions
-