Package ghidra.feature.vt.gui.plugin
Interface VTController
- All Superinterfaces:
VTSessionSupplier
- All Known Implementing Classes:
VTControllerImpl
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addListener
(VTControllerListener listener) boolean
void
boolean
void
dispose()
void
domainObjectChanged
(ghidra.framework.model.DomainObjectChangedEvent ev) ghidra.program.util.AddressCorrelation
getCorrelator
(ghidra.program.model.listing.Data source, ghidra.program.model.listing.Data destination) ghidra.program.util.AddressCorrelation
getCorrelator
(ghidra.program.model.listing.Function source, ghidra.program.model.listing.Function destination) getCurrentMarkupForLocation
(ghidra.program.util.ProgramLocation location, ghidra.program.model.listing.Program program) ghidra.app.plugin.core.colorizer.ColorizingService
ghidra.program.model.listing.Program
ghidra.program.model.symbol.Symbol
getDestinationSymbol
(VTAssociation association) getMarkupItems
(docking.ActionContext context) getMatchInfo
(VTMatch match) ghidra.framework.options.ToolOptions
ghidra.program.model.address.AddressSetView
Gets the address set for the current selection in the Destination Tool.ghidra.program.model.address.AddressSetView
Gets the address set for the current selection in the Source Tool.ghidra.framework.plugintool.ServiceProvider
ghidra.app.plugin.core.colorizer.ColorizingService
ghidra.program.model.listing.Program
ghidra.program.model.symbol.Symbol
getSourceSymbol
(VTAssociation association) ghidra.framework.plugintool.PluginTool
getTool()
void
gotoDestinationLocation
(ghidra.program.util.ProgramLocation location) void
gotoSourceLocation
(ghidra.program.util.ProgramLocation location) void
markupItemStatusChanged
(VTMarkupItem markupItem) void
openVersionTrackingSession
(VTSession session) boolean
openVersionTrackingSession
(ghidra.framework.model.DomainFile domainFile) void
optionsChanged
(ghidra.framework.options.ToolOptions options, String optionName, Object oldValue, Object newValue) void
readConfigState
(ghidra.framework.options.SaveState saveState) void
refresh()
void
removeListener
(VTControllerListener listener) void
Runs VT tasks, listening for destination program changes and updates undo/redo state accordingly.void
setSelectedMarkupItem
(VTMarkupItem markupItem) void
setSelectedMatch
(VTMatch match) void
setSelectionInDestinationTool
(ghidra.program.model.address.AddressSetView destinationSet) Sets the selection in the destination tool to the given address set.void
setSelectionInSourceTool
(ghidra.program.model.address.AddressSetView sourceSet) Sets the selection in the source tool to the given address set.void
writeConfigState
(ghidra.framework.options.SaveState saveState)
-
Field Details
-
VERSION_TRACKING_OPTIONS_NAME
- See Also:
-
-
Method Details
-
addListener
-
removeListener
-
getSession
VTSession getSession()- Specified by:
getSession
in interfaceVTSessionSupplier
-
openVersionTrackingSession
boolean openVersionTrackingSession(ghidra.framework.model.DomainFile domainFile) -
openVersionTrackingSession
-
closeVersionTrackingSession
boolean closeVersionTrackingSession() -
closeCurrentSessionIgnoringChanges
void closeCurrentSessionIgnoringChanges() -
dispose
void dispose() -
readConfigState
void readConfigState(ghidra.framework.options.SaveState saveState) -
writeConfigState
void writeConfigState(ghidra.framework.options.SaveState saveState) -
getSourceProgram
ghidra.program.model.listing.Program getSourceProgram() -
getDestinationProgram
ghidra.program.model.listing.Program getDestinationProgram() -
checkForUnSavedChanges
boolean checkForUnSavedChanges() -
getCorrelator
ghidra.program.util.AddressCorrelation getCorrelator(ghidra.program.model.listing.Function source, ghidra.program.model.listing.Function destination) -
getCorrelator
ghidra.program.util.AddressCorrelation getCorrelator(ghidra.program.model.listing.Data source, ghidra.program.model.listing.Data destination) -
getCurrentMarkupForLocation
VTMarkupItem getCurrentMarkupForLocation(ghidra.program.util.ProgramLocation location, ghidra.program.model.listing.Program program) -
getMarkupItems
-
getOptions
ghidra.framework.options.ToolOptions getOptions() -
getParentComponent
Component getParentComponent() -
getServiceProvider
ghidra.framework.plugintool.ServiceProvider getServiceProvider() -
getVersionTrackingSessionName
String getVersionTrackingSessionName() -
refresh
void refresh() -
getMatchInfo
MatchInfo getMatchInfo() -
getTool
ghidra.framework.plugintool.PluginTool getTool() -
setSelectedMatch
-
getMatchInfo
-
setSelectedMarkupItem
-
getCorrelator
AddressCorrelatorManager getCorrelator() -
domainObjectChanged
void domainObjectChanged(ghidra.framework.model.DomainObjectChangedEvent ev) -
optionsChanged
-
gotoSourceLocation
void gotoSourceLocation(ghidra.program.util.ProgramLocation location) -
gotoDestinationLocation
void gotoDestinationLocation(ghidra.program.util.ProgramLocation location) -
runVTTask
Runs VT tasks, listening for destination program changes and updates undo/redo state accordingly.- Parameters:
task
- the task
-
getSourceSymbol
-
getDestinationSymbol
-
getSelectionInSourceTool
ghidra.program.model.address.AddressSetView getSelectionInSourceTool()Gets the address set for the current selection in the Source Tool.- Returns:
- the current selection or null.
-
getSelectionInDestinationTool
ghidra.program.model.address.AddressSetView getSelectionInDestinationTool()Gets the address set for the current selection in the Destination Tool.- Returns:
- the current selection or null.
-
setSelectionInSourceTool
void setSelectionInSourceTool(ghidra.program.model.address.AddressSetView sourceSet) Sets the selection in the source tool to the given address set.- Parameters:
sourceSet
- the addressSet to set the source tool's selection.
-
setSelectionInDestinationTool
void setSelectionInDestinationTool(ghidra.program.model.address.AddressSetView destinationSet) Sets the selection in the destination tool to the given address set.- Parameters:
destinationSet
- the addressSet to set the destination tool's selection.
-
markupItemStatusChanged
-
getSourceColorizingService
ghidra.app.plugin.core.colorizer.ColorizingService getSourceColorizingService() -
getDestinationColorizingService
ghidra.app.plugin.core.colorizer.ColorizingService getDestinationColorizingService()
-