1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
#[doc(inline)]
pub use panda_sys as sys;
#[doc(inline)]
pub use panda_macros as cbs;
pub mod on_sys;
mod library_mode;
pub use library_mode::*;
mod api;
pub use api::*;
mod error;
pub use error::*;
mod callbacks;
pub use callbacks::*;
pub use inventory;
pub mod panda_arg;
#[doc(inline)]
pub use panda_arg::PandaArgs;
pub mod enums;
pub mod plugins;
pub mod taint;
pub use enums::arch::*;
pub mod prelude {
pub use crate::panda_arg::PandaArgs;
pub use crate::sys::target_long;
pub use crate::sys::target_pid_t;
pub use crate::sys::target_ptr_t;
pub use crate::sys::target_ulong;
pub use crate::sys::CPUState;
pub use crate::sys::TranslationBlock;
pub use crate::Panda;
pub use crate::PluginHandle;
pub use panda_macros::PandaArgs;
}
#[cfg(not(feature = "ppc"))]
pub use panda_macros::{on_all_sys_enter, on_all_sys_return};
pub use panda_macros::{
after_block_exec, after_block_translate, after_cpu_exec_enter, after_insn_exec,
after_insn_translate, after_loadvm, after_machine_init, asid_changed, before_block_exec,
before_block_exec_invalidate_opt, before_block_translate, before_cpu_exec_exit,
before_handle_exception, before_handle_interrupt, before_loadvm, cpu_restore_state,
during_machine_init, guest_hypercall, hd_read, hd_write, hook, init, insn_exec, insn_translate,
main_loop_wait, mmio_after_read, mmio_before_write, monitor, on_mmap_updated, on_process_end,
on_process_start, on_rec_auxv, on_thread_end, on_thread_start, phys_mem_after_read,
phys_mem_after_write, phys_mem_before_read, phys_mem_before_write, pre_shutdown,
replay_after_dma, replay_before_dma, replay_handle_packet, replay_hd_transfer,
replay_net_transfer, replay_serial_read, replay_serial_receive, replay_serial_send,
replay_serial_write, top_loop, unassigned_io_read, unassigned_io_write, uninit,
virt_mem_after_read, virt_mem_after_write, virt_mem_before_read, virt_mem_before_write,
};