DkmDisassembledInstruction Class

Definition

Contains information about a disassembled instruction in the debuggee. Objects are returned from DkmProcess.Disassemble.

public ref class DkmDisassembledInstruction
[Windows::Foundation::Metadata::WebHostHidden]
public ref class DkmDisassembledInstruction
[Windows::Foundation::Metadata::WebHostHidden]
class DkmDisassembledInstruction
[System.Runtime.InteropServices.Guid("0d808671-5c47-a9c5-fffb-5aecb558b2b4")]
public class DkmDisassembledInstruction
[<System.Runtime.InteropServices.Guid("0d808671-5c47-a9c5-fffb-5aecb558b2b4")>]
type DkmDisassembledInstruction = class
Public Class DkmDisassembledInstruction
Inheritance
DkmDisassembledInstruction
Attributes

Properties

Address

The formatted address of this instruction in the debuggee address space.

AddressOffset

The address as an offset from some starting point, usually the beginning of the associated function.

ByteOffset

The number of bytes from the beginning of the corresponding source statement.

CodeBytes

The code bytes for this instruction.

DocumentPosition

[Optional] An optional reference to the document and text position this instruction belongs to in the source document.

FormattedOpcode

The opcode for this instruction including resolved symbol names. If nothing is resolved, this is the same as RawOpcode.

FormattedOperands

The operands for this instruction including resolved symbol names. If nothing is resolved, this is the same as RawOperands.

InstructionLength

The length of the instruction in bytes.

InstructionPointer

The address of this instruction in the debuggee address space.

Process

DkmProcess represents a target process which is being debugged. The debugger debugs processes, so this is the basic unit of debugging. A DkmProcess can represent a system process or a virtual process such as minidumps.

RawOpcode

The raw opcode for this instruction with no symbolic lookups.

RawOperands

The raw operands for this instruction with no symbolic lookups.

RegisterOperands

A read only collection of CV constants representing any register arguments in the disassembled instruction.

Symbol

[Optional] The symbol name, if any, associated with the address (public symbol, label, and so on).

ValidInstruction

True if this instruction was successfully disassembled. False if it is a filler instruction used by heuristic unwinders when an invalid op code is encountered. Most disassembly providers will fill the op code with question marks when this is set to true to indicate a bogus instruction.

Methods

Create(DkmProcess, UInt64, UInt32, String, String, String, String, String, String, String, String, DkmSourcePosition, UInt32, ReadOnlyCollection<Int32>, Boolean)

Create a new DkmDisassembledInstruction object instance.

Location constraint: API must be called from an IDE component (component level > 100,000).

Applies to