Crate panda_macros[][src]

Attribute Macros

(Callback) Called after execution of every basic block. If exitCode > TB_EXIT_IDX1, then the block exited early.

(Callback) Called after execution of every basic block. If exitCode > TB_EXIT_IDX1, then the block exited early.

(Callback) Called after cpu_exec calls cpu_exec_enter function.

(Callback) Called after execution of an instruction identified by the PANDA_CB_AFTER_INSN_TRANSLATE callback

(Callback) Called after the translation of each instruction.

(Callback) Called right after a snapshot has been loaded (either with loadvm or replay initialization), but before any guest code runs.

(Callback) Called right after the machine has been initialized, but before any guest code runs.

(Callback) Called when asid changes.

(Callback) Called before execution of every basic block.

(Callback) Called before execution of every basic block, with the option to invalidate the TB.

(Callback) Called before translation of each basic block.

(Callback) Called before cpu_exec calls cpu_exec_exit function.

(Callback) Called just before we are about to handle an exception.

(Callback)

(Callback) Called at start of replay, before loadvm is called. This allows us to hook devices’ loadvm handlers. Remember to unregister the existing handler for the device first. See the example in the sample plugin.

(Callback) Called inside of cpu_restore_state(), when there is a CPU fault/exception.

(Callback) Called in the middle of machine initialization

(Callback) Called when a program inside the guest makes a hypercall to pass information from inside the guest to a plugin

(Callback) Called when there is a hard drive read

(Callback) Called when there is a hard drive write

(Required Callback) Called when the plugin is being uninitialized

(Callback) Called before execution of any instruction identified by the PANDA_CB_INSN_TRANSLATE callback.

(Callback) Called before the translation of each instruction.

(Callback) Called in IO thread in place where monitor cmds are processed

(Callback) Called after MMIO memory is read.

(Callback) Called after MMIO memory is written to.

(Callback) Called when someone uses the plugin_cmd monitor command.

(Callback)

(Callback)

(Callback)

(Callback)

(Callback)

(Callback) Called after memory is read.

(Callback) Called after memory is written.

(Callback) Called after memory is read.

(Callback) Called before memory is written.

(Callback) Called just before qemu shuts down

(Callback) In replay only, we are about to dma between qemu buffer and guest memory

(Callback) In replay only. We are about to dma between qemu buffer and guest memory.

(Callback) In replay only, we have a packet (incoming / outgoing) in hand.

(Callback) In replay only. Some kind of data transfer involving hard drive.

(Callback) In replay only, some kind of data transfer within the network card (currently, only the E1000 is supported).

(Callback) In replay only, called when a byte read from the serial RX FIFO

(Callback) In replay only, called when a byte is received on the serial port.

(Callback) In replay only, called when a byte is sent on the serial port.

(Callback) In replay only, called when a byte written to the serial TX FIFO

(Callback) Called at the top of the loop that manages emulation.

(Callback) Called when the guest attempts to read from an unmapped peripheral via MMIO

(Callback) Called when the guest attempts to write to an unmapped peripheral via MMIO

(Callback) Called when the plugin is being uninitialized

(Callback) Called after memory is read.

(Callback) Called after memory is written.

(Callback) Called before memory is read.

(Callback) Called before memory is written.

Derive Macros