SBInstruction#

class lldb.SBInstruction(*args)#

Represents a (machine language) instruction.

Attributes Summary

addr

A read only property that returns an lldb object that represents the address (lldb.SBAddress) for this instruction.

comment

A read only property that returns the comment for this instruction as a string.

is_branch

A read only property that returns a boolean value that indicates if this instruction is a branch instruction.

mnemonic

A read only property that returns the mnemonic for this instruction as a string.

operands

A read only property that returns the operands for this instruction as a string.

size

A read only property that returns the size in bytes for this instruction as an integer.

Methods Summary

CanSetBreakpoint(SBInstruction self)

DoesBranch(SBInstruction self)

DumpEmulation(SBInstruction self, ...)

EmulateWithFrame(SBInstruction self, ...)

GetAddress(SBInstruction self)

GetByteSize(SBInstruction self)

GetComment(SBInstruction self, SBTarget target)

GetControlFlowKind(SBInstruction self, ...)

GetData(SBInstruction self, SBTarget target)

GetDescription(SBInstruction self, ...)

GetMnemonic(SBInstruction self, SBTarget target)

GetOperands(SBInstruction self, SBTarget target)

HasDelaySlot(SBInstruction self)

IsValid(SBInstruction self)

Print()

TestEmulation(SBInstruction self, ...)

Attributes Documentation

addr#

A read only property that returns an lldb object that represents the address (lldb.SBAddress) for this instruction.

comment#

A read only property that returns the comment for this instruction as a string.

is_branch#

A read only property that returns a boolean value that indicates if this instruction is a branch instruction.

mnemonic#

A read only property that returns the mnemonic for this instruction as a string.

operands#

A read only property that returns the operands for this instruction as a string.

size#

A read only property that returns the size in bytes for this instruction as an integer.

Methods Documentation

CanSetBreakpoint(SBInstruction self) bool#
DoesBranch(SBInstruction self) bool#
DumpEmulation(SBInstruction self, char const * triple) bool#
EmulateWithFrame(SBInstruction self, SBFrame frame, uint32_t evaluate_options) bool#
GetAddress(SBInstruction self) SBAddress#
GetByteSize(SBInstruction self) size_t#
GetComment(SBInstruction self, SBTarget target) char const *#
GetControlFlowKind(SBInstruction self, SBTarget target) lldb::InstructionControlFlowKind#
GetData(SBInstruction self, SBTarget target) SBData#
GetDescription(SBInstruction self, SBStream description) bool#
GetMnemonic(SBInstruction self, SBTarget target) char const *#
GetOperands(SBInstruction self, SBTarget target) char const *#
HasDelaySlot(SBInstruction self) bool#
IsValid(SBInstruction self) bool#
Print(SBInstruction self, SBFile out)#
Print(SBInstruction self, lldb::FileSP BORROWED) None
TestEmulation(SBInstruction self, SBStream output_stream, char const * test_file) bool#