AFLplusplus / qemuafl

This fork of QEMU enables fuzzing userspace ELF binaries under AFL++.
https://aflplus.plus
Other
79 stars 43 forks source link

Vague error message when dlopen QEMU_PERSISTENT_HOOK fails #43

Closed dlmarrero closed 1 year ago

dlmarrero commented 1 year ago

The error message displayed when dlopen fails to load QEMU_PERSISTENT_HOOK does not describe why the failure occurred. Printing the output from dlerror would make troubleshooting much easier. I can submit a PR if the maintainers agree.

https://github.com/AFLplusplus/qemuafl/blob/fa07ebfff5de3d7a531caf2f9e0306960953a5e7/accel/tcg/cpu-exec.c#L517-L524

vanhauser-thc commented 1 year ago

sure, send a PR :)