Enum lldb::DisassemblyFlavor [] [src]

pub enum DisassemblyFlavor {
    ATT,
    Default,
    Intel,
}

Which syntax should be used in disassembly?

On x86, there are 2 syntaxes used for disassembly. Other architectures need not be concerned by this and can just use DisassemblyFlavor::Default all the time.

Variants

The primary syntax used by the GNU Assembler and in the Linux world.

AT&T syntax:

For example:

movb $0x05, %al

This syntax is described in detail in GAS Syntax.

The default syntax.

The primary syntax used on Windows.

This differs from AT&T syntax in that:

For example:

mov al, 05h

Trait Implementations

impl Clone for DisassemblyFlavor
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for DisassemblyFlavor
[src]

impl Debug for DisassemblyFlavor
[src]

[src]

Formats the value using the given formatter.