00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00035
00036
00037 #ifndef _XED_INST_PRINTER_H_
00038 # define _XED_INST_PRINTER_H_
00039 #include "xed-types.h"
00040 #include "xed-decoded-inst.h"
00041 #include "xed-syntax-enum.h"
00042
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054 XED_DLL_EXPORT xed_bool_t
00055 xed_format_att(xed_decoded_inst_t* xedd,
00056 char* out_buffer,
00057 xed_uint32_t buffer_len,
00058 xed_uint64_t runtime_instruction_address);
00059
00069 XED_DLL_EXPORT xed_bool_t
00070 xed_format_intel(xed_decoded_inst_t* xedd,
00071 char* out_buffer,
00072 xed_uint32_t buffer_len,
00073 xed_uint64_t runtime_instruction_address);
00074
00085 XED_DLL_EXPORT xed_bool_t
00086 xed_format_xed(xed_decoded_inst_t* xedd,
00087 char* out_buffer,
00088 xed_uint32_t buffer_len,
00089 xed_uint64_t runtime_instruction_address);
00090
00091
00102 XED_DLL_EXPORT xed_bool_t
00103 xed_format(xed_syntax_enum_t syntax,
00104 xed_decoded_inst_t* xedd,
00105 char* out_buffer,
00106 int buffer_len,
00107 xed_uint64_t runtime_instruction_address);
00108
00109
00111
00112
00113
00115
00116
00117
00118
00119
00120
00121
00122
00123
00124
00125
00126 XED_DLL_EXPORT xed_bool_t
00127 xed_format_att_context(xed_decoded_inst_t* xedd,
00128 char* out_buffer,
00129 xed_uint32_t buffer_len,
00130 xed_uint64_t runtime_instruction_address,
00131 void* context);
00132
00143 XED_DLL_EXPORT xed_bool_t
00144 xed_format_intel_context(xed_decoded_inst_t* xedd,
00145 char* out_buffer,
00146 xed_uint32_t buffer_len,
00147 xed_uint64_t runtime_instruction_address,
00148 void* context);
00149
00150
00162 XED_DLL_EXPORT xed_bool_t
00163 xed_format_context(xed_syntax_enum_t syntax,
00164 xed_decoded_inst_t* xedd,
00165 char* out_buffer,
00166 int buffer_len,
00167 xed_uint64_t runtime_instruction_address,
00168 void* context);
00170 #endif
00171
00172
00173
00174