x86_exception_query x86_instrumentation_subscribe
API Reference Manual  /  4 Model-to-Model Interfaces  / 

x86_instruction_query

Description
The x86_instruction_query interface is used to query additional information about an instruction for the x86 architecture and is a complement to the cpu_instruction_query interface.

SIM_INTERFACE(x86_instruction_query) {
        linear_address_t (*linear_address)(conf_object_t *cpu,
                                           instruction_handle_t *handle);
};

#define X86_INSTRUCTION_QUERY_INTERFACE "x86_instruction_query"

The linear_address is used to get the linear address of the instruction.

Execution Context
Threaded Context for all methods, but must be called from a callback receiving a handle of type instruction_handle_t.

x86_exception_query x86_instrumentation_subscribe