Header menu logo B2R2

AsmParser Type

Assembly code parser interface.

Constructors

Constructor Description

AsmParser(isa, mode)

Full Usage: AsmParser(isa, mode)

Parameters:
Returns: AsmParser
isa : ISA
mode : ArchOperationMode
Returns: AsmParser

Instance members

Instance member Description

this.Assemble

Full Usage: this.Assemble

Parameters:
    arg0 : string

Returns: Result<byte[] list, string>
Modifiers: abstract

Run parsing from a given assembly string, and assemble binary code.

arg0 : string
Returns: Result<byte[] list, string>

this.Lift

Full Usage: this.Lift

Parameters:
Returns: Result<Stmt array, string>

Run parsing from a given assembly string, and lift it to LowUIR code.

ctxt : TranslationContext
asm : string
addr : Addr
Returns: Result<Stmt array, string>

this.Parser

Full Usage: this.Parser

Returns: IInstructionParsable
Returns: IInstructionParsable

Type something to start searching.