mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-14 11:08:06 +00:00
code start and end in qemu env vars
This commit is contained in:
@ -182,6 +182,11 @@ static void afl_setup(void) {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (getemv("AFL_CODE_START"))
|
||||||
|
afl_start_code = strtoll(getenv("AFL_CODE_START"), NULL, 16);
|
||||||
|
if (getemv("AFL_CODE_END"))
|
||||||
|
afl_end_code = strtoll(getenv("AFL_CODE_END"), NULL, 16);
|
||||||
|
|
||||||
/* Maintain for compatibility */
|
/* Maintain for compatibility */
|
||||||
if (getenv("AFL_QEMU_COMPCOV")) { afl_compcov_level = 1; }
|
if (getenv("AFL_QEMU_COMPCOV")) { afl_compcov_level = 1; }
|
||||||
if (getenv("AFL_COMPCOV_LEVEL")) {
|
if (getenv("AFL_COMPCOV_LEVEL")) {
|
||||||
|
Reference in New Issue
Block a user