summaryrefslogtreecommitdiff
path: root/src/registers.rs
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2023-10-16 13:46:48 +0200
committerSanto Cariotti <santo@dcariotti.me>2023-10-16 13:46:48 +0200
commitc7d99a1dff61d64ffc26caa8068cf41d5202af3b (patch)
treed704cf4234a38aa632f2b9066ad08da1489fca46 /src/registers.rs
parentf9207a326c7f0e5861ee9489313861fdcd7bbff0 (diff)
Trace attaching a pid
Diffstat (limited to 'src/registers.rs')
-rw-r--r--src/registers.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/registers.rs b/src/registers.rs
index d73424d..cf2aa98 100644
--- a/src/registers.rs
+++ b/src/registers.rs
@@ -6,6 +6,7 @@ use ratatui::{
};
/// Struct used to manipulate registers data from https://docs.rs/libc/0.2.147/libc/struct.user_regs_struct.html
+#[derive(Debug)]
pub struct RegistersData {
orig_rax: u64,
rdi: u64,