avatar2.plugins package

Submodules

avatar2.plugins.instruction_forwarder module

avatar2.plugins.instruction_forwarder.forward_instructions(self, from_target, to_target, memory_region, instructions=None, read_from_file=True)
avatar2.plugins.instruction_forwarder.load_plugin(avatar)

avatar2.plugins.orchestrator module

class avatar2.plugins.orchestrator.OrchestrationStopReason

Bases: enum.Enum

An enumeration.

STOPPING_TRANSITION_HIT = 0
TARGET_EXITED = 2
UNKNOWN_BREAKPOINT_HIT = 1
USER_REQUESTED = 3
class avatar2.plugins.orchestrator.Transition(address, from_target, to_target, synch_regs, synched_ranges, enabled=True, max_hits=0, stop=False, hw_bkpt=False)

Bases: object

avatar2.plugins.orchestrator.add_transition(self, address, from_target, to_target, synch_regs=True, synched_ranges=[], stop=False, hw_breakpoint=False)
avatar2.plugins.orchestrator.disable_transitions(self)
avatar2.plugins.orchestrator.enable_transitions(self)
avatar2.plugins.orchestrator.load_plugin(avatar)
avatar2.plugins.orchestrator.resume_orchestration(self, blocking=True)
avatar2.plugins.orchestrator.start_orchestration(self, force_init=False, blocking=True)
avatar2.plugins.orchestrator.stop_orchestration(self, reason=<OrchestrationStopReason.USER_REQUESTED: 3>)
avatar2.plugins.orchestrator.transition_callback(avatar, message, **kwargs)
avatar2.plugins.orchestrator.update_state_callback(avatar, message, **kwargs)

Module contents