1
2
3
4
5
6
7
8
9
10
11
12
13
14
#[cxx::bridge]
pub mod ffi {
    unsafe extern "C++" {
        include!("LIEF/rust/runtime/linux/Process.hpp");

        type runtime_linux_Process;

        #[Self = "runtime_linux_Process"]
        fn cmdline() -> UniquePtr<CxxString>;

        #[Self = "runtime_linux_Process"]
        fn glibc_version() -> UniquePtr<CxxString>;
    }
}