SharpDisasm/Disassembler.cs
/// <summary>
/// (Re)Initialise the udis86 disassembler
/// </summary>
(Re)Initialise the udis86 disassembler
( Re ) Initialise the udis86 disassembler
private void InitUdis86()
        {
            Udis86.udis86.ud_init(ref _u);
            Udis86.udis86.ud_set_input_buffer(ref _u, this.Code);
            Udis86.udis86.ud_set_mode(ref _u, (byte)this.Architecture);
            Udis86.udis86.ud_set_pc(ref _u, Address);
            Udis86.udis86.ud_set_vendor(ref _u, (int)Vendor);
            _u.inp_buf_index = (int)Offset;
        }
private void InitUdis86 ( ) { Udis86 . udis86 . ud_init ( ref _u ) ; Udis86 . udis86 . ud_set_input_buffer ( ref _u , this . Code ) ; Udis86 . udis86 . ud_set_mode ( ref _u , ( byte ) this . Architecture ) ; Udis86 . udis86 . ud_set_pc ( ref _u , Address ) ; Udis86 . udis86 . ud_set_vendor ( ref _u , ( int ) Vendor ) ; _u . inp_buf_index = ( int ) Offset ; }
(Re)Initialise the udis86 disassembler
( Re ) Initialise the udis86 disassembler
// reset _u and initialise // set input buffer // set architecture // set program counter // set the vendor