mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-17 20:28:08 +00:00
tweaks
This commit is contained in:
@ -35,8 +35,8 @@ sending a mail to <afl-users+subscribe@googlegroups.com>.
|
|||||||
afl++ ignores these and uses them for splicing instead.
|
afl++ ignores these and uses them for splicing instead.
|
||||||
- added AFL_EXIT_ON_TIME env that will make afl-fuzz exit fuzzing
|
- added AFL_EXIT_ON_TIME env that will make afl-fuzz exit fuzzing
|
||||||
after no new paths have been found for n seconds
|
after no new paths have been found for n seconds
|
||||||
- when AFL_FAST_CAL is set a variable path will now be calibrated
|
- when AFL_FAST_CAL is set a variable path will no be calibrated
|
||||||
8 times instead of 40
|
8 times instead of originally 40. Long calibration is now 20.
|
||||||
- added AFL_TRY_AFFINITY to try to bind to CPUs but don't error if
|
- added AFL_TRY_AFFINITY to try to bind to CPUs but don't error if
|
||||||
it fails
|
it fails
|
||||||
- afl-cc:
|
- afl-cc:
|
||||||
|
@ -92,6 +92,9 @@ def queue_new_entry(filename_new_queue, filename_orig_queue):
|
|||||||
|
|
||||||
def introspection():
|
def introspection():
|
||||||
return string
|
return string
|
||||||
|
|
||||||
|
def deinit(): # optional for Python
|
||||||
|
pass
|
||||||
```
|
```
|
||||||
|
|
||||||
### Custom Mutation
|
### Custom Mutation
|
||||||
|
@ -212,7 +212,7 @@ static py_mutator_t *init_py_module(afl_state_t *afl, u8 *module_name) {
|
|||||||
PyObject_GetAttrString(py_module, "introspection");
|
PyObject_GetAttrString(py_module, "introspection");
|
||||||
py_functions[PY_FUNC_DEINIT] = PyObject_GetAttrString(py_module, "deinit");
|
py_functions[PY_FUNC_DEINIT] = PyObject_GetAttrString(py_module, "deinit");
|
||||||
if (!py_functions[PY_FUNC_DEINIT])
|
if (!py_functions[PY_FUNC_DEINIT])
|
||||||
FATAL("deinit function not found in python module");
|
WARNF("deinit function not found in python module");
|
||||||
|
|
||||||
for (py_idx = 0; py_idx < PY_FUNC_COUNT; ++py_idx) {
|
for (py_idx = 0; py_idx < PY_FUNC_COUNT; ++py_idx) {
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user