Closed dlmarrero closed 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.
dlopen
QEMU_PERSISTENT_HOOK
https://github.com/AFLplusplus/qemuafl/blob/fa07ebfff5de3d7a531caf2f9e0306960953a5e7/accel/tcg/cpu-exec.c#L517-L524
sure, send a PR :)
The error message displayed when
dlopen
fails to loadQEMU_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