Rizin
unix-like reverse engineering framework and cli tools
macros.h File Reference

Go to the source code of this file.

Macros

#define PRId64   "lld"
 
#define PRIu64   "llu"
 
#define PRId32   "ld"
 
#define PRIu32   "lu"
 
#define LD   PRId32
 
#define LU   PRIu32
 
#define __egi32(a, n)
 
#define EndGetI64(a)   (((unsigned long long int) __egi32(a,4) << 32) | __egi32(a,0))
 
#define EndGetI32(a)   __egi32(a,0)
 
#define EndGetI16(a)   ((((a)[1])<<8)|((a)[0]))
 
#define EndGetM32(a)
 
#define EndGetM16(a)   ((((a)[0])<<8)|((a)[1]))
 
#define D(x)
 

Macro Definition Documentation

◆ __egi32

#define __egi32 (   a,
  n 
)
Value:
(((unsigned int) ((unsigned char *)(a))[n+3] << 24) | \
((unsigned int) ((unsigned char *)(a))[n+2] << 16) | \
((unsigned int) ((unsigned char *)(a))[n+1] << 8) | \
((unsigned int) ((unsigned char *)(a))[n]))
int n
Definition: mipsasm.c:19
static int
Definition: sfsocketcall.h:114
#define a(i)
Definition: sha256.c:41

Definition at line 32 of file macros.h.

◆ D

#define D (   x)

Definition at line 61 of file macros.h.

◆ EndGetI16

#define EndGetI16 (   a)    ((((a)[1])<<8)|((a)[0]))

Definition at line 38 of file macros.h.

◆ EndGetI32

#define EndGetI32 (   a)    __egi32(a,0)

Definition at line 37 of file macros.h.

◆ EndGetI64

#define EndGetI64 (   a)    (((unsigned long long int) __egi32(a,4) << 32) | __egi32(a,0))

Definition at line 36 of file macros.h.

◆ EndGetM16

#define EndGetM16 (   a)    ((((a)[0])<<8)|((a)[1]))

Definition at line 45 of file macros.h.

◆ EndGetM32

#define EndGetM32 (   a)
Value:
(((unsigned int) ((unsigned char *)(a))[0] << 24) | \
((unsigned int) ((unsigned char *)(a))[1] << 16) | \
((unsigned int) ((unsigned char *)(a))[2] << 8) | \
((unsigned int) ((unsigned char *)(a))[3]))

Definition at line 41 of file macros.h.

◆ LD

#define LD   PRId32

Definition at line 27 of file macros.h.

◆ LU

#define LU   PRIu32

Definition at line 28 of file macros.h.

◆ PRId32

#define PRId32   "ld"

Definition at line 19 of file macros.h.

◆ PRId64

#define PRId64   "lld"

Definition at line 17 of file macros.h.

◆ PRIu32

#define PRIu32   "lu"

Definition at line 20 of file macros.h.

◆ PRIu64

#define PRIu64   "llu"

Definition at line 18 of file macros.h.