hooking 0.4.0

hooking libs in rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use thiserror::Error;

pub type Result<T> = std::result::Result<T, AssemblyError>;

#[derive(Debug, Error)]
pub enum AssemblyError {
    #[error("Error during assembly/dissasembly")]
    AssemblyError(#[from] super::inner::InnerError),

    #[error("Could not decode enough instructions while trying to relocate")]
    RelocationError,
}