This reduces chances of function collision. When using the fuzz_target macro, calling run inside the block will call the run function declared inside the macro definition instead of calling the run function defined in the module using fuzz_target. Using the run function of the macro is probably not the intended goal because it leads to a recursive call. Renaming makes it less likely to call __libfuzzer_sys_run by accident.
This reduces chances of function collision. When using the
fuzz_target
macro, callingrun
inside the block will call therun
function declared inside the macro definition instead of calling therun
function defined in the module usingfuzz_target
. Using therun
function of the macro is probably not the intended goal because it leads to a recursive call. Renaming makes it less likely to call__libfuzzer_sys_run
by accident.Closes #99