write nyx crash logs to AFL++ work directory

This commit is contained in:
Sergej Schumilo
2022-03-04 05:41:40 +01:00
parent 7c9b7c0bc0
commit 0f7419fc91
4 changed files with 27 additions and 1 deletions

View File

@ -468,6 +468,10 @@ nyx_plugin_handler_t *afl_load_libnyx_plugin(u8 *libnyx_binary) {
dlsym(handle, "nyx_get_bitmap_buffer_size");
if (plugin->nyx_get_bitmap_buffer_size == NULL) { goto fail; }
plugin->nyx_get_aux_string =
dlsym(handle, "nyx_get_aux_string");
if (plugin->nyx_get_aux_string == NULL) { goto fail; }
OKF("libnyx plugin is ready!");
return plugin;