mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-15 03:18:07 +00:00
Support for setting a fixed seed for the hash function (#1026)
Co-authored-by: Your Name <you@example.com>
This commit is contained in:
committed by
GitHub
parent
6f03749c73
commit
9e8afcc615
@ -127,6 +127,14 @@ __attribute__((visibility("default"))) void js_api_set_instrument_no_optimize(
|
||||
|
||||
}
|
||||
|
||||
__attribute__((visibility("default"))) void js_api_set_instrument_seed(
|
||||
guint64 seed) {
|
||||
|
||||
instrument_use_fixed_seed = TRUE;
|
||||
instrument_fixed_seed = seed;
|
||||
|
||||
}
|
||||
|
||||
__attribute__((visibility("default"))) void js_api_set_instrument_trace(void) {
|
||||
|
||||
instrument_tracing = TRUE;
|
||||
|
Reference in New Issue
Block a user