blob: fe2b7fdaad62319e7199ee7563107cfc5697742a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#ifdef __clang__
#define FALL_THROUGH
#elif defined(__GNUC__) && __GNUC__ >= 7
#define FALL_THROUGH __attribute__((fallthrough));
#else
#define FALL_THROUGH
#endif
inline uint32_t bswap32(uint32_t x)
{
return ((x&0xFF)<<24) |
((x&0xFF00)<<8) |
((x&0xFF0000)>>8) |
((x&0xFF000000)>>24);
}
void printOperandVerbose(decomp_result *res, cs_ppc_op *opers);
void printInstructionVerbose(decomp_result *res);
|