mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-11 09:41:35 +00:00
Merge pull request #130 from devnexen/last_nit_before_rel
Suppress noisy little build compiler plugins warning on platforms != …
This commit is contained in:
commit
08f2a35b9b
@ -83,7 +83,7 @@ typedef int64_t s64;
|
|||||||
#define AFL_SR(s) (srandom(s))
|
#define AFL_SR(s) (srandom(s))
|
||||||
#define AFL_R(x) (random() % (x))
|
#define AFL_R(x) (random() % (x))
|
||||||
#else
|
#else
|
||||||
#define AFL_SR(s)
|
#define AFL_SR(s) ((void)s)
|
||||||
#define AFL_R(x) (arc4random_uniform(x))
|
#define AFL_R(x) (arc4random_uniform(x))
|
||||||
#endif
|
#endif
|
||||||
#else
|
#else
|
||||||
@ -91,7 +91,7 @@ typedef int64_t s64;
|
|||||||
#define SR(s) (srandom(s))
|
#define SR(s) (srandom(s))
|
||||||
#define R(x) (random() % (x))
|
#define R(x) (random() % (x))
|
||||||
#else
|
#else
|
||||||
#define SR(s)
|
#define SR(s) ((void)s)
|
||||||
#define R(x) (arc4random_uniform(x))
|
#define R(x) (arc4random_uniform(x))
|
||||||
#endif
|
#endif
|
||||||
#endif /* ^AFL_LLVM_PASS */
|
#endif /* ^AFL_LLVM_PASS */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user