Class MatchingState
java.lang.Object
com.pnfsoftware.jeb.core.units.code.asm.sig.codeless.MatchingState
Matching result (not necessarily final), between a target model and a reference model.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addConstraint
(Func targetFunc, Constraint constraint) static MatchingState
deserialize
(String statePath) boolean
long
long
getModuleAt
(long address) int
hashCode()
static void
serialize
(MatchingState state, String outFolder) void
setIdentifiedRoutines
(BiMap<Func, Func> identifiedRoutines) void
setIdentifiedRoutinesRange
(long startAddr, long endAddr) void
setNonIdentifiableRoutines
(Set<Func> nonIdentifiableRoutines) void
setRefMetadata
(ExecutableModelMetadata refMetadata) void
setResultLog
(String resultLog) void
setRoutinesConstraints
(Map<Func, List<Constraint>> routinesConstraints) void
setTargetModules
(Map<ModuleId, Module> targetModules) void
setTargetModulesMapping
(SegmentMap<Long, Module> targetModulesMapping) toString()
-
Field Details
-
DEFAULT_NAME
- See Also:
-
-
Constructor Details
-
MatchingState
public MatchingState()
-
-
Method Details
-
addConstraint
-
getModuleAt
-
getMatchedRangeStartAddress
public long getMatchedRangeStartAddress() -
getMatchedRangeEndAddress
public long getMatchedRangeEndAddress() -
deserialize
-
serialize
- Throws:
IOException
-
getIdentifiedRoutinesRange
-
setIdentifiedRoutinesRange
public void setIdentifiedRoutinesRange(long startAddr, long endAddr) -
toString
-
getIdentifiedRoutines
-
setIdentifiedRoutines
-
getRoutinesConstraints
-
setRoutinesConstraints
-
getTargetModulesMapping
-
setTargetModulesMapping
-
getTargetModules
-
setTargetModules
-
getNonIdentifiableRoutines
-
setNonIdentifiableRoutines
-
hashCode
public int hashCode() -
equals
-
getRefMetadata
-
setRefMetadata
-
getResultLog
-
setResultLog
-