public class

MatchingState

extends Object
java.lang.Object
   ↳ com.pnfsoftware.jeb.core.units.code.asm.sig.codeless.MatchingState

Class Overview

Matching result (not necessarily final), between a target model and a reference model.

Summary

Constants
String DEFAULT_NAME
Public Constructors
MatchingState()
Public Methods
void addConstraint(Func targetFunc, Constraint constraint)
static MatchingState deserialize(String statePath)
boolean equals(Object obj)
BiMap<FuncFunc> getIdentifiedRoutines()
Couple<Long, Long> getIdentifiedRoutinesRange()
long getMatchedRangeEndAddress()
long getMatchedRangeStartAddress()
Module getModuleAt(long address)
Set<Func> getNonIdentifiableRoutines()
ExecutableModelMetadata getRefMetadata()
String getResultLog()
Map<Func, List<Constraint>> getRoutinesConstraints()
Map<ModuleIdModule> getTargetModules()
SegmentMap<Long, Module> getTargetModulesMapping()
int hashCode()
static void serialize(MatchingState state, String outFolder)
void setIdentifiedRoutines(BiMap<FuncFunc> 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<ModuleIdModule> targetModules)
void setTargetModulesMapping(SegmentMap<Long, Module> targetModulesMapping)
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String DEFAULT_NAME

Constant Value: "codeless-sig.state"

Public Constructors

public MatchingState ()

Public Methods

public void addConstraint (Func targetFunc, Constraint constraint)

public static MatchingState deserialize (String statePath)

public boolean equals (Object obj)

public BiMap<FuncFunc> getIdentifiedRoutines ()

public Couple<Long, Long> getIdentifiedRoutinesRange ()

public long getMatchedRangeEndAddress ()

public long getMatchedRangeStartAddress ()

public Module getModuleAt (long address)

public Set<Func> getNonIdentifiableRoutines ()

public ExecutableModelMetadata getRefMetadata ()

public String getResultLog ()

public Map<Func, List<Constraint>> getRoutinesConstraints ()

public Map<ModuleIdModule> getTargetModules ()

public SegmentMap<Long, Module> getTargetModulesMapping ()

public int hashCode ()

public static void serialize (MatchingState state, String outFolder)

Throws
IOException

public void setIdentifiedRoutines (BiMap<FuncFunc> identifiedRoutines)

public void setIdentifiedRoutinesRange (long startAddr, long endAddr)

public void setNonIdentifiableRoutines (Set<Func> nonIdentifiableRoutines)

public void setRefMetadata (ExecutableModelMetadata refMetadata)

public void setResultLog (String resultLog)

public void setRoutinesConstraints (Map<Func, List<Constraint>> routinesConstraints)

public void setTargetModules (Map<ModuleIdModule> targetModules)

public void setTargetModulesMapping (SegmentMap<Long, Module> targetModulesMapping)

public String toString ()