pub enum DecodedArg {
Raw(u64),
Fd(i32),
Path(String),
Flags(String),
Buf(Vec<u8>, usize),
Addr(u64),
Int(i64),
Size(u64),
}Expand description
A pretty-printed syscall argument.
Variants§
Raw(u64)
Raw hex value (fallback when no decoding is available).
Fd(i32)
File descriptor, e.g. 3 or a symbolic name like AT_FDCWD.
Path(String)
Null-terminated path string read from tracee memory.
Flags(String)
Bitwise OR of named flags, e.g. O_RDONLY|O_CLOEXEC.
Buf(Vec<u8>, usize)
A buffer shown as a quoted byte string (truncated).
Addr(u64)
An opaque pointer/address, displayed as hex.
Int(i64)
A plain integer (signed).
Size(u64)
An unsigned size value.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DecodedArg
impl RefUnwindSafe for DecodedArg
impl Send for DecodedArg
impl Sync for DecodedArg
impl Unpin for DecodedArg
impl UnsafeUnpin for DecodedArg
impl UnwindSafe for DecodedArg
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more