Go to the source code of this file.
|
#define | READ_UINT64(p) |
|
#define | WRITE_UINT64(p, i) |
|
#define | READ_UINT32(p) |
|
#define | WRITE_UINT32(p, i) |
|
#define | READ_UINT24(p) |
|
#define | WRITE_UINT24(p, i) |
|
#define | READ_UINT16(p) |
|
#define | WRITE_UINT16(p, i) |
|
#define | LE_READ_UINT64(p) |
|
#define | LE_WRITE_UINT64(p, i) |
|
#define | LE_READ_UINT32(p) |
|
#define | LE_WRITE_UINT32(p, i) |
|
#define | LE_READ_UINT16(p) |
|
#define | LE_WRITE_UINT16(p, i) |
|
#define | FOR_BLOCKS(length, dst, src, blocksize) |
|
#define | ROTL32(n, x) (((x)<<(n)) | ((x)>>((-(n)&31)))) |
|
#define | ROTL64(n, x) (((x)<<(n)) | ((x)>>((-(n))&63))) |
|
#define | INCREMENT(size, ctr) |
|
#define | MD_INCR(ctx) ((ctx)->count_high += !++(ctx)->count_low) |
|
#define | MD_UPDATE(ctx, length, data, f, incr) |
|
#define | MD_PAD(ctx, size, f) |
|
◆ FOR_BLOCKS
Value:
static static sync static getppid static getegid const char static filename char static len const char char static bufsiz static mask static vfork const void static prot static getpgrp const char static swapflags static arg static fd static protocol static who struct sockaddr static addrlen static backlog struct timeval struct timezone static tz const struct iovec static count static mode const void const struct sockaddr static tolen const char static pathname void static offset struct stat static buf void long static basep static whence static length const void static len static semflg const void static shmflg const struct timespec struct timespec static rem const char static group const void length
assert(limit<=UINT32_MAX/2)
Definition at line 148 of file macros.h.
◆ INCREMENT
#define INCREMENT |
( |
|
size, |
|
|
|
ctr |
|
) |
| |
Value: do { \
unsigned increment_i = (
size) - 1; \
if (++(ctr)[increment_i] == 0) \
while (increment_i > 0 \
&& ++(ctr)[--increment_i] == 0 ) \
; \
} while (0)
Definition at line 162 of file macros.h.
◆ LE_READ_UINT16
#define LE_READ_UINT16 |
( |
|
p | ) |
|
◆ LE_READ_UINT32
#define LE_READ_UINT32 |
( |
|
p | ) |
|
◆ LE_READ_UINT64
#define LE_READ_UINT64 |
( |
|
p | ) |
|
◆ LE_WRITE_UINT16
#define LE_WRITE_UINT16 |
( |
|
p, |
|
|
|
i |
|
) |
| |
Value: do { \
(
p)[1] = ((
i) >> 8) & 0xff; \
} while(0)
Definition at line 141 of file macros.h.
◆ LE_WRITE_UINT32
#define LE_WRITE_UINT32 |
( |
|
p, |
|
|
|
i |
|
) |
| |
Value:do { \
(
p)[3] = ((
i) >> 24) & 0xff; \
(
p)[2] = ((
i) >> 16) & 0xff; \
(
p)[1] = ((
i) >> 8) & 0xff; \
} while(0)
Definition at line 128 of file macros.h.
◆ LE_WRITE_UINT64
#define LE_WRITE_UINT64 |
( |
|
p, |
|
|
|
i |
|
) |
| |
Value:do { \
(
p)[7] = ((
i) >> 56) & 0xff; \
(
p)[6] = ((
i) >> 48) & 0xff; \
(
p)[5] = ((
i) >> 40) & 0xff; \
(
p)[4] = ((
i) >> 32) & 0xff; \
(
p)[3] = ((
i) >> 24) & 0xff; \
(
p)[2] = ((
i) >> 16) & 0xff; \
(
p)[1] = ((
i) >> 8) & 0xff; \
} while (0)
Definition at line 110 of file macros.h.
◆ MD_INCR
#define MD_INCR |
( |
|
ctx | ) |
((ctx)->count_high += !++(ctx)->count_low) |
◆ MD_PAD
Value: do { \
unsigned __md_i; \
\
(
ctx)->block[__md_i++] = 0x80;
\
if (__md_i > (
sizeof((
ctx)->block) - (
size))) \
{
\
memset((
ctx)->block + __md_i, 0,
sizeof((
ctx)->block) - __md_i);
\
__md_i = 0; \
} \
memset((
ctx)->block + __md_i, 0, \
sizeof((
ctx)->block) - (
size) - __md_i); \
\
} while (0)
if(dbg->bits==RZ_SYS_BITS_64)
Definition at line 224 of file macros.h.
◆ MD_UPDATE
◆ READ_UINT16
◆ READ_UINT24
◆ READ_UINT32
◆ READ_UINT64
◆ ROTL32
#define ROTL32 |
( |
|
n, |
|
|
|
x |
|
) |
| (((x)<<(n)) | ((x)>>((-(n)&31)))) |
◆ ROTL64
#define ROTL64 |
( |
|
n, |
|
|
|
x |
|
) |
| (((x)<<(n)) | ((x)>>((-(n))&63))) |
◆ WRITE_UINT16
#define WRITE_UINT16 |
( |
|
p, |
|
|
|
i |
|
) |
| |
Value:do { \
(
p)[0] = ((
i) >> 8) & 0xff; \
} while(0)
Definition at line 93 of file macros.h.
◆ WRITE_UINT24
#define WRITE_UINT24 |
( |
|
p, |
|
|
|
i |
|
) |
| |
Value:do { \
(
p)[0] = ((
i) >> 16) & 0xff; \
(
p)[1] = ((
i) >> 8) & 0xff; \
} while(0)
Definition at line 82 of file macros.h.
◆ WRITE_UINT32
#define WRITE_UINT32 |
( |
|
p, |
|
|
|
i |
|
) |
| |
Value:do { \
(
p)[0] = ((
i) >> 24) & 0xff; \
(
p)[1] = ((
i) >> 16) & 0xff; \
(
p)[2] = ((
i) >> 8) & 0xff; \
} while(0)
Definition at line 68 of file macros.h.
◆ WRITE_UINT64
#define WRITE_UINT64 |
( |
|
p, |
|
|
|
i |
|
) |
| |
Value:do { \
(
p)[0] = ((
i) >> 56) & 0xff; \
(
p)[1] = ((
i) >> 48) & 0xff; \
(
p)[2] = ((
i) >> 40) & 0xff; \
(
p)[3] = ((
i) >> 32) & 0xff; \
(
p)[4] = ((
i) >> 24) & 0xff; \
(
p)[5] = ((
i) >> 16) & 0xff; \
(
p)[6] = ((
i) >> 8) & 0xff; \
} while(0)
Definition at line 49 of file macros.h.