11 #ifndef HEXAGON_ARCH_H
12 #define HEXAGON_ARCH_H
43 #define HEX_PKT_UNK "? "
44 #define HEX_PKT_SINGLE "[ "
45 #define HEX_PKT_SINGLE_UTF8 "[ "
46 #define HEX_PKT_FIRST_UTF8 "┌ "
47 #define HEX_PKT_MID_UTF8 "│ "
48 #define HEX_PKT_LAST_UTF8 "└ "
49 #define HEX_PKT_FIRST_SDK "{ "
50 #define HEX_PKT_SDK_PADDING " "
51 #define HEX_PKT_LAST_SDK " }"
52 #define HEX_PKT_FIRST "/ "
53 #define HEX_PKT_MID "| "
54 #define HEX_PKT_LAST "\\ "
55 #define HEX_PKT_ELOOP_01_UTF8 " ∎ endloop01"
56 #define HEX_PKT_ELOOP_1_UTF8 " ∎ endloop1"
57 #define HEX_PKT_ELOOP_0_UTF8 " ∎ endloop0"
58 #define HEX_PKT_ELOOP_01 " < endloop01"
59 #define HEX_PKT_ELOOP_1 " < endloop1"
60 #define HEX_PKT_ELOOP_0 " < endloop0"
61 #define HEX_PKT_ELOOP_01_SDK ":endloop01"
62 #define HEX_PKT_ELOOP_1_SDK ":endloop1"
63 #define HEX_PKT_ELOOP_0_SDK ":endloop0"
RZ_API HexLoopAttr hex_get_loop_flag(const HexPkt *p)
Returns the loop type of a packet. Though only if this packet is the last packet in last packet in a ...
RZ_API void hexagon_reverse_opcode(const RzAsm *rz_asm, HexReversedOpcode *rz_reverse, const ut8 *buf, const ut64 addr)
Reverses a given opcode and copies the result into one of the rizin structs in rz_reverse.
RZ_API void hex_insn_free(HexInsn *i)
RZ_API ut8 hexagon_get_pkt_index_of_addr(const ut32 addr, const HexPkt *p)
Returns the index of an addr in a given packet.
RZ_API HexState * hexagon_get_state()
Initializes each packet of the state once.
RZ_API void hex_const_ext_free(HexConstExt *ce)
Pointer to the rizin structs for disassembled and analysed instructions.
Buffer packets for reversed instructions.
ut64(WINAPI *w32_GetEnabledXStateFeatures)()