mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-10 17:21:33 +00:00
code-format killed the compilation
This commit is contained in:
parent
ab0e3fdd82
commit
ce1af1bc9c
@ -1371,7 +1371,9 @@ static xxh_u32 XXH32_avalanche(xxh_u32 h32) {
|
|||||||
|
|
||||||
static xxh_u32 XXH32_finalize(xxh_u32 h32, const xxh_u8 *ptr, size_t len,
|
static xxh_u32 XXH32_finalize(xxh_u32 h32, const xxh_u8 *ptr, size_t len,
|
||||||
XXH_alignment align) {
|
XXH_alignment align) {
|
||||||
\
|
|
||||||
|
/* dummy comment */
|
||||||
|
|
||||||
#define XXH_PROCESS1 \
|
#define XXH_PROCESS1 \
|
||||||
do { \
|
do { \
|
||||||
\
|
\
|
||||||
@ -1978,7 +1980,9 @@ static xxh_u64 XXH64_avalanche(xxh_u64 h64) {
|
|||||||
|
|
||||||
static xxh_u64 XXH64_finalize(xxh_u64 h64, const xxh_u8 *ptr, size_t len,
|
static xxh_u64 XXH64_finalize(xxh_u64 h64, const xxh_u8 *ptr, size_t len,
|
||||||
XXH_alignment align) {
|
XXH_alignment align) {
|
||||||
\
|
|
||||||
|
/* dummy comment */
|
||||||
|
|
||||||
#define XXH_PROCESS1_64 \
|
#define XXH_PROCESS1_64 \
|
||||||
do { \
|
do { \
|
||||||
\
|
\
|
||||||
|
@ -56,13 +56,13 @@ void jump(afl_state_t *afl) {
|
|||||||
|
|
||||||
static const uint64_t JUMP[] = {0x180ec6d33cfd0aba, 0xd5a61266f0c9392c,
|
static const uint64_t JUMP[] = {0x180ec6d33cfd0aba, 0xd5a61266f0c9392c,
|
||||||
0xa9582618e03fc9aa, 0x39abdc4529b1661c};
|
0xa9582618e03fc9aa, 0x39abdc4529b1661c};
|
||||||
|
int i, b;
|
||||||
uint64_t s0 = 0;
|
uint64_t s0 = 0;
|
||||||
uint64_t s1 = 0;
|
uint64_t s1 = 0;
|
||||||
uint64_t s2 = 0;
|
uint64_t s2 = 0;
|
||||||
uint64_t s3 = 0;
|
uint64_t s3 = 0;
|
||||||
for (int i = 0; i < sizeof JUMP / sizeof *JUMP; i++)
|
for (i = 0; i < sizeof JUMP / sizeof *JUMP; i++)
|
||||||
for (int b = 0; b < 64; b++) {
|
for (b = 0; b < 64; b++) {
|
||||||
|
|
||||||
if (JUMP[i] & UINT64_C(1) << b) {
|
if (JUMP[i] & UINT64_C(1) << b) {
|
||||||
|
|
||||||
@ -94,12 +94,13 @@ void long_jump(afl_state_t *afl) {
|
|||||||
static const uint64_t LONG_JUMP[] = {0x76e15d3efefdcbbf, 0xc5004e441c522fb3,
|
static const uint64_t LONG_JUMP[] = {0x76e15d3efefdcbbf, 0xc5004e441c522fb3,
|
||||||
0x77710069854ee241, 0x39109bb02acbe635};
|
0x77710069854ee241, 0x39109bb02acbe635};
|
||||||
|
|
||||||
|
int i, b;
|
||||||
uint64_t s0 = 0;
|
uint64_t s0 = 0;
|
||||||
uint64_t s1 = 0;
|
uint64_t s1 = 0;
|
||||||
uint64_t s2 = 0;
|
uint64_t s2 = 0;
|
||||||
uint64_t s3 = 0;
|
uint64_t s3 = 0;
|
||||||
for (int i = 0; i < sizeof LONG_JUMP / sizeof *LONG_JUMP; i++)
|
for (i = 0; i < sizeof LONG_JUMP / sizeof *LONG_JUMP; i++)
|
||||||
for (int b = 0; b < 64; b++) {
|
for (b = 0; b < 64; b++) {
|
||||||
|
|
||||||
if (LONG_JUMP[i] & UINT64_C(1) << b) {
|
if (LONG_JUMP[i] & UINT64_C(1) << b) {
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user