mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-19 04:58:08 +00:00
another 32 bit fix
This commit is contained in:
@ -1022,7 +1022,11 @@ u32 count_bytes(afl_state_t *, u8 *);
|
|||||||
u32 count_non_255_bytes(afl_state_t *, u8 *);
|
u32 count_non_255_bytes(afl_state_t *, u8 *);
|
||||||
void simplify_trace(afl_state_t *, u8 *);
|
void simplify_trace(afl_state_t *, u8 *);
|
||||||
void classify_counts(afl_forkserver_t *);
|
void classify_counts(afl_forkserver_t *);
|
||||||
|
#ifdef WORD_SIZE_64
|
||||||
void discover_word(u8 *ret, u64 *current, u64 *virgin);
|
void discover_word(u8 *ret, u64 *current, u64 *virgin);
|
||||||
|
#else
|
||||||
|
void discover_word(u8 *ret, u32 *current, u32 *virgin);
|
||||||
|
#endif
|
||||||
void init_count_class16(void);
|
void init_count_class16(void);
|
||||||
void minimize_bits(afl_state_t *, u8 *, u8 *);
|
void minimize_bits(afl_state_t *, u8 *, u8 *);
|
||||||
#ifndef SIMPLE_FILES
|
#ifndef SIMPLE_FILES
|
||||||
|
@ -47,7 +47,7 @@ void simplify_trace(afl_state_t *afl, u8 *bytes) {
|
|||||||
|
|
||||||
inline void classify_counts(afl_forkserver_t *fsrv) {
|
inline void classify_counts(afl_forkserver_t *fsrv) {
|
||||||
|
|
||||||
u64 *mem = (u32 *)fsrv->trace_bits;
|
u32 *mem = (u32 *)fsrv->trace_bits;
|
||||||
u32 i = (fsrv->map_size >> 2);
|
u32 i = (fsrv->map_size >> 2);
|
||||||
|
|
||||||
while (i--) {
|
while (i--) {
|
||||||
|
@ -1347,7 +1347,8 @@ int main(int argc, char **argv, char **envp) {
|
|||||||
"available)\n"
|
"available)\n"
|
||||||
" PCGUARD: Dominator tree instrumentation (best!) (README.llvm.md)\n"
|
" PCGUARD: Dominator tree instrumentation (best!) (README.llvm.md)\n"
|
||||||
#if LLVM_MAJOR > 10 || (LLVM_MAJOR == 10 && LLVM_MINOR > 0)
|
#if LLVM_MAJOR > 10 || (LLVM_MAJOR == 10 && LLVM_MINOR > 0)
|
||||||
" NATIVE: use llvm's native PCGUARD instrumentation (less performant)\n"
|
" NATIVE: use llvm's native PCGUARD instrumentation (less "
|
||||||
|
"performant)\n"
|
||||||
#endif
|
#endif
|
||||||
" CLASSIC: decision target instrumentation (README.llvm.md)\n"
|
" CLASSIC: decision target instrumentation (README.llvm.md)\n"
|
||||||
" CTX: CLASSIC + callee context (instrumentation/README.ctx.md)\n"
|
" CTX: CLASSIC + callee context (instrumentation/README.ctx.md)\n"
|
||||||
|
Reference in New Issue
Block a user