45 lines
1.3 KiB
C
45 lines
1.3 KiB
C
/* Capstone Disassembly Engine */
|
|
/* By Axel Souchet, 2014 */
|
|
|
|
#pragma once
|
|
|
|
typedef signed char int8_t;
|
|
typedef signed short int16_t;
|
|
typedef signed int int32_t;
|
|
typedef unsigned char uint8_t;
|
|
typedef unsigned short uint16_t;
|
|
typedef unsigned int uint32_t;
|
|
typedef signed long long int64_t;
|
|
typedef unsigned long long uint64_t;
|
|
|
|
#define __PRI_8_LENGTH_MODIFIER__ "hh"
|
|
#define __PRI_64_LENGTH_MODIFIER__ "ll"
|
|
|
|
#define PRId8 __PRI_8_LENGTH_MODIFIER__ "d"
|
|
#define PRIi8 __PRI_8_LENGTH_MODIFIER__ "i"
|
|
#define PRIo8 __PRI_8_LENGTH_MODIFIER__ "o"
|
|
#define PRIu8 __PRI_8_LENGTH_MODIFIER__ "u"
|
|
#define PRIx8 __PRI_8_LENGTH_MODIFIER__ "x"
|
|
#define PRIX8 __PRI_8_LENGTH_MODIFIER__ "X"
|
|
|
|
#define PRId16 "hd"
|
|
#define PRIi16 "hi"
|
|
#define PRIo16 "ho"
|
|
#define PRIu16 "hu"
|
|
#define PRIx16 "hx"
|
|
#define PRIX16 "hX"
|
|
|
|
#define PRId32 "ld"
|
|
#define PRIi32 "li"
|
|
#define PRIo32 "lo"
|
|
#define PRIu32 "lu"
|
|
#define PRIx32 "lx"
|
|
#define PRIX32 "lX"
|
|
|
|
#define PRId64 __PRI_64_LENGTH_MODIFIER__ "d"
|
|
#define PRIi64 __PRI_64_LENGTH_MODIFIER__ "i"
|
|
#define PRIo64 __PRI_64_LENGTH_MODIFIER__ "o"
|
|
#define PRIu64 __PRI_64_LENGTH_MODIFIER__ "u"
|
|
#define PRIx64 __PRI_64_LENGTH_MODIFIER__ "x"
|
|
#define PRIX64 __PRI_64_LENGTH_MODIFIER__ "X"
|