idakit 0.2.0

Idiomatic Rust bindings for IDA Pro's idalib kernel
Documentation
1
2
3
4
5
6
7
8
9
10
//! Shared assertion macros for the kernel-touching integration tests.

/// Asserts `result` is `Err(Error::TypeWrite { source: <pattern> })`, the shape most
/// `TypeWriteError` rejections take.
macro_rules! assert_type_write_err {
    ($result:expr, $pattern:pat) => {
        assert2::assert!(let Err(idakit::error::Error::TypeWrite { source: $pattern }) = $result)
    };
}
pub(crate) use assert_type_write_err;