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 TypeMethodDescriptionvoidaddConstraint(Func targetFunc, Constraint constraint) static MatchingStatedeserialize(String statePath) booleanlonglonggetModuleAt(long address) inthashCode()static voidserialize(MatchingState state, String outFolder) voidsetIdentifiedRoutines(BiMap<Func, Func> identifiedRoutines) voidsetIdentifiedRoutinesRange(long startAddr, long endAddr) voidsetNonIdentifiableRoutines(Set<Func> nonIdentifiableRoutines) voidsetRefMetadata(ExecutableModelMetadata refMetadata) voidsetResultLog(String resultLog) voidsetRoutinesConstraints(Map<Func, List<Constraint>> routinesConstraints) voidsetTargetModules(Map<ModuleId, Module> targetModules) voidsetTargetModulesMapping(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
-