elrond 1.0.0

Standard conformant elf parser
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

use super::super::nom::{le_u8};

new_enum!{@byte_parser_with_unknown
    type_name: SymBinding;
    new_trait: {
        trait_name: SymbolBinding;
        getter_method: get_sym_binding;
    }
    parser_name: parse_binding;
    values: {
        (is_local, Local, 0),
        (is_global, Global, 1),
        (is_weak, Weak, 2),
        (is_lo_proc, LoProc, 13),
        (is_hi_proc, HiProc, 15)
    }
}