Class VTPreconditionValidator

java.lang.Object
ghidra.feature.vt.gui.validator.VTPreconditionValidator
All Implemented Interfaces:
docking.widgets.conditiontestpanel.ConditionTester, ghidra.util.classfinder.ExtensionPoint
Direct Known Subclasses:
MemoryBlocksValidator, NoReturnsFunctionsValidator, NumberOfFunctionsValidator, VTPostAnalysisPreconditionValidatorAdaptor

public abstract class VTPreconditionValidator extends Object implements docking.widgets.conditiontestpanel.ConditionTester, ghidra.util.classfinder.ExtensionPoint
Validator objects looks for specific preconditions that should exist in order to get optimal results when applying a program correlator.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final ghidra.program.model.listing.Program
     
    protected final VTSession
     
    protected final ghidra.program.model.listing.Program
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    VTPreconditionValidator(ghidra.program.model.listing.Program sourceProgram, ghidra.program.model.listing.Program destinationProgram, VTSession existingResults)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract docking.widgets.conditiontestpanel.ConditionResult
    doRun(ghidra.util.task.TaskMonitor monitor)
     
    final docking.widgets.conditiontestpanel.ConditionResult
    run(ghidra.util.task.TaskMonitor monitor)
     
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface docking.widgets.conditiontestpanel.ConditionTester

    getDescription, getName
  • Field Details

    • sourceProgram

      protected final ghidra.program.model.listing.Program sourceProgram
    • destinationProgram

      protected final ghidra.program.model.listing.Program destinationProgram
    • existingResults

      protected final VTSession existingResults
  • Constructor Details

    • VTPreconditionValidator

      public VTPreconditionValidator(ghidra.program.model.listing.Program sourceProgram, ghidra.program.model.listing.Program destinationProgram, VTSession existingResults)
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • run

      public final docking.widgets.conditiontestpanel.ConditionResult run(ghidra.util.task.TaskMonitor monitor) throws ghidra.util.exception.CancelledException
      Specified by:
      run in interface docking.widgets.conditiontestpanel.ConditionTester
      Throws:
      ghidra.util.exception.CancelledException
    • doRun

      public abstract docking.widgets.conditiontestpanel.ConditionResult doRun(ghidra.util.task.TaskMonitor monitor) throws ghidra.util.exception.CancelledException
      Throws:
      ghidra.util.exception.CancelledException