INNER CODE UNIT · Rust

drop

c3rb3ru5d3d53c/binlex · crates/libvex/libvex-rs/src/lib.rs:293

    fn drop(&mut self) {
        *self.0.borrow_mut() -= 1;
    }
}

lazy_static! {
    static ref LIFT_LOCK: LiftLock = LiftLock::new();
}

#[cfg(test)]
mod test {
    use super::{Arch, TranslateArgs, VexEndness};

    #[test]
    fn sanity() {
        let mut vta = TranslateArgs::new(
            Arch::VexArchAMD64,
            Arch::VexArchAMD64,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…