At least on an Android O device I have, one of the dl_phdr_info objects passed to the callback of dl_iterate_phdr has NULL in its dlpi_name field.