lief 1.0.0

Official Rust bindings for LIEF
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use lief_ffi as ffi;

#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub struct Range {
    pub low: u64,
    pub high: u64,
}

impl Range {
    pub fn from_ffi(raw: &ffi::Range) -> Self {
        Self {
            low: raw.low,
            high: raw.high,
        }
    }
}