Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
No results found
Show changes
Commits on Source (1)
......@@ -164,13 +164,12 @@ static int find_map_addr(struct dl_phdr_info *p_info, size_t p_size, void *p_dat
void** trace_map_fixed_addr = (void**)p_data;
*trace_map_fixed_addr = NULL;
if(p_info->dlpi_name == NULL) return 0;
PRINT_DEBUG ("Name: ");
PRINT_DEBUG(p_info->dlpi_name);
PRINT_DEBUG ("\n");
if(p_info->dlpi_name == NULL) return 0;
const char* the_name = (p_info->dlpi_name[0] == '\0') ?
"/proc/self/exe" :
p_info->dlpi_name;
......@@ -333,6 +332,10 @@ static void zafl_setupAflTracemapSharedMemory()
void zafl_initAflForkServer()
{
if (getenv("ZAFL_DEBUG")) debug = 1;
PRINT_DEBUG("libautozafl: auto-initialize fork server\n");
static int fork_server_initialized = 0;
if (fork_server_initialized) return;
......