#[repr(C)]pub struct Syscall {
pub ssn: u16,
pub address: *const c_void,
pub hooked: bool,
}Expand description
A struct representing a parsed system call. You are free to modify these if you wanted to do something like make a syscall to a neighbor ala hell’s gate or hall or whichever one does that. This also tells you if the syscall is hooked (Some windows APIs are by default) if you’d like to act on that in any way.
Fields§
§ssn: u16§address: *const c_void§hooked: boolTrait Implementations§
Auto Trait Implementations§
impl !Send for Syscall
impl !Sync for Syscall
impl Freeze for Syscall
impl RefUnwindSafe for Syscall
impl Unpin for Syscall
impl UnsafeUnpin for Syscall
impl UnwindSafe for Syscall
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