mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-16 11:58:08 +00:00
fix 64bit support for powerpc, risc, etc.
This commit is contained in:
@ -10,8 +10,6 @@ sending a mail to <afl-users+subscribe@googlegroups.com>.
|
|||||||
|
|
||||||
|
|
||||||
### Version ++2.65d (dev)
|
### Version ++2.65d (dev)
|
||||||
- persistent mode shared memory testcase handover (instead of via
|
|
||||||
files/stdin) - x2 performance increase!
|
|
||||||
- afl-fuzz:
|
- afl-fuzz:
|
||||||
- -S slaves now only sync from the master to increase performance,
|
- -S slaves now only sync from the master to increase performance,
|
||||||
the -M master still syncs from everyone. Added checks that ensure
|
the -M master still syncs from everyone. Added checks that ensure
|
||||||
@ -32,6 +30,9 @@ sending a mail to <afl-users+subscribe@googlegroups.com>.
|
|||||||
- fixed crash in compare-transform-pass when strcasecmp/strncasecmp was
|
- fixed crash in compare-transform-pass when strcasecmp/strncasecmp was
|
||||||
tried to be instrumented with LTO
|
tried to be instrumented with LTO
|
||||||
- fixed crash in cmplog with LTO
|
- fixed crash in cmplog with LTO
|
||||||
|
- persistent mode shared memory testcase handover (instead of via
|
||||||
|
files/stdin) - 10-100% performance increase
|
||||||
|
- General support for 64 bit PowerPC, RiscV, Sparc etc.
|
||||||
- slightly better performance compilation options for afl++ and targets
|
- slightly better performance compilation options for afl++ and targets
|
||||||
- fixed afl-gcc/afl-as that could break on fast systems reusing pids in
|
- fixed afl-gcc/afl-as that could break on fast systems reusing pids in
|
||||||
the same second
|
the same second
|
||||||
|
@ -64,13 +64,10 @@ typedef uint32_t u32;
|
|||||||
'unsigned long long' in <bits/types.h>, so everything checks out.
|
'unsigned long long' in <bits/types.h>, so everything checks out.
|
||||||
|
|
||||||
But on 64-bit systems, it is #ifdef'ed in the same file as 'unsigned long'.
|
But on 64-bit systems, it is #ifdef'ed in the same file as 'unsigned long'.
|
||||||
Now, it only happens in circumstances where the type happens to have the
|
|
||||||
expected bit width, *but* the compiler does not know that... and complains
|
|
||||||
about 'unsigned long' being unsafe to pass to %llu.
|
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if defined(__x86_64__) || defined(__aarch64__)
|
#ifdef __LP64__
|
||||||
typedef unsigned long long u64;
|
typedef unsigned long long u64;
|
||||||
#else
|
#else
|
||||||
typedef uint64_t u64;
|
typedef uint64_t u64;
|
||||||
|
Reference in New Issue
Block a user