macro_rules! xref {
    ($e:expr) => { ... };
}
Expand description

Obfuscates the xref to static data.

static FOO: i32 = 42;
let foo = obfstr::xref!(&FOO);

// When looking at the disassembly the reference to `FOO` has been obfuscated.
assert_eq!(foo as *const _, &FOO as *const _);