neo-decompiler 0.8.1

Neo N3 NEF decompiler: parse, disassemble, lift bytecode to high-level pseudocode and C# skeletons, with a CLI, JSON reports, and optional WebAssembly bindings.
Documentation
1
2
3
4
5
6
7
use super::*;

#[test]
fn test_xor_self() {
    let expr = Expr::binary(BinOp::Xor, Expr::var("x"), Expr::var("x"));
    assert_eq!(simplify(expr), Expr::int(0));
}