Closed xiaohuajiao closed 6 years ago
Hi,
seems like the example folder contains some invalid json files. I will investigate and get back to you asap.
in fuzz_manager/pacman.py
tasks.append(run_eval.s(package, self.docker_image,
os.path.realpath(os.path.join(os.getcwd() + "/", self.configuration_dir)),
os.path.realpath(os.path.join(os.getcwd() + "/", self.seeds)), self.fuzz_duration,
self.use_asan,
self.exec_timeout, force_qemu, self.config_dict))
self.config_dict
is not json serializable, because value of key manager
is a module object. Take a deep look a run_eval definition, we may pass a tmp dict to run_eval, like this.
tmp_dict = {"fuzzing_cores_per_binary":self.config_dict.get("fuzzing_cores_per_binary")}
tasks.append(run_eval.s(package, self.docker_image,
os.path.realpath(os.path.join(os.getcwd() + "/", self.configuration_dir)),
os.path.realpath(os.path.join(os.getcwd() + "/", self.seeds)), self.fuzz_duration,
self.use_asan,
self.exec_timeout, force_qemu, # self.config_dict
tmp_dict
))
Hi,
the issue should be fixed in the current upstream branch. Thank you very much for your help.
Best, Vincent
When i try to run
fexm fuzz ./example/crashing2.json
orfexm fuzz ./example/top500.json
, it reports following error.Here is exception info, i print out the object which trigger this exception.