Lines Matching refs:name_
157 name_ = name; in Read()
211 DL_ERR("can't read file \"%s\": %s", name_.c_str(), strerror(errno)); in ReadElfHeader()
216 DL_ERR("\"%s\" is too small to be an ELF executable: only found %zd bytes", name_.c_str(), in ReadElfHeader()
234 DL_ERR("\"%s\" has bad ELF magic: %02x%02x%02x%02x", name_.c_str(), in VerifyElfHeader()
245 DL_ERR("\"%s\" is 32-bit instead of 64-bit", name_.c_str()); in VerifyElfHeader()
247 DL_ERR("\"%s\" has unknown ELF class: %d", name_.c_str(), elf_class); in VerifyElfHeader()
254 DL_ERR("\"%s\" is 64-bit instead of 32-bit", name_.c_str()); in VerifyElfHeader()
256 DL_ERR("\"%s\" has unknown ELF class: %d", name_.c_str(), elf_class); in VerifyElfHeader()
263 DL_ERR("\"%s\" not little-endian: %d", name_.c_str(), header_.e_ident[EI_DATA]); in VerifyElfHeader()
268 DL_ERR("\"%s\" has unexpected e_type: %d", name_.c_str(), header_.e_type); in VerifyElfHeader()
273 DL_ERR("\"%s\" has unexpected e_version: %d", name_.c_str(), header_.e_version); in VerifyElfHeader()
279 name_.c_str(), in VerifyElfHeader()
289 name_.c_str(), header_.e_shentsize, sizeof(ElfW(Shdr))); in VerifyElfHeader()
295 name_.c_str(), header_.e_shentsize, sizeof(ElfW(Shdr))); in VerifyElfHeader()
296 add_dlwarning(name_.c_str(), "has invalid ELF header"); in VerifyElfHeader()
302 DL_ERR_AND_LOG("\"%s\" has invalid e_shstrndx", name_.c_str()); in VerifyElfHeader()
308 "\"%s\" has invalid e_shstrndx", name_.c_str()); in VerifyElfHeader()
309 add_dlwarning(name_.c_str(), "has invalid ELF header"); in VerifyElfHeader()
339 DL_ERR("\"%s\" has invalid e_phnum: %zd", name_.c_str(), phdr_num_); in ReadProgramHeaders()
347 name_.c_str(), in ReadProgramHeaders()
354 DL_ERR("\"%s\" phdr mmap failed: %s", name_.c_str(), strerror(errno)); in ReadProgramHeaders()
366 DL_ERR_AND_LOG("\"%s\" has no section headers", name_.c_str()); in ReadSectionHeaders()
373 name_.c_str(), in ReadSectionHeaders()
380 DL_ERR("\"%s\" shdr mmap failed: %s", name_.c_str(), strerror(errno)); in ReadSectionHeaders()
399 DL_ERR_AND_LOG("\"%s\" .dynamic section header was not found", name_.c_str()); in ReadDynamicSection()
418 name_.c_str(), in ReadDynamicSection()
427 name_.c_str(), in ReadDynamicSection()
430 add_dlwarning(name_.c_str(), "invalid .dynamic section"); in ReadDynamicSection()
437 name_.c_str(), in ReadDynamicSection()
446 name_.c_str(), in ReadDynamicSection()
449 add_dlwarning(name_.c_str(), "invalid .dynamic section"); in ReadDynamicSection()
454 name_.c_str(), in ReadDynamicSection()
463 name_.c_str(), dynamic_shdr->sh_link, strtab_shdr->sh_type); in ReadDynamicSection()
468 DL_ERR_AND_LOG("\"%s\" has invalid offset/size of .dynamic section", name_.c_str()); in ReadDynamicSection()
473 DL_ERR("\"%s\" dynamic section mmap failed: %s", name_.c_str(), strerror(errno)); in ReadDynamicSection()
481 name_.c_str()); in ReadDynamicSection()
486 DL_ERR("\"%s\" strtab section mmap failed: %s", name_.c_str(), strerror(errno)); in ReadDynamicSection()
655 DL_ERR("\"%s\" has no loadable segments", name_.c_str()); in ReserveAddressSpace()
665 load_size_ - address_space->reserved_size, load_size_, name_.c_str()); in ReserveAddressSpace()
678 DL_ERR("couldn't reserve %zd bytes of address space for \"%s\"", load_size_, name_.c_str()); in ReserveAddressSpace()
722 DL_ERR("\"%s\" invalid file size: %" PRId64, name_.c_str(), file_size_); in LoadSegments()
729 name_.c_str(), i, reinterpret_cast<void*>(phdr->p_offset), in LoadSegments()
740 DL_ERR_AND_LOG("\"%s\": W+E load segments are not allowed", name_.c_str()); in LoadSegments()
746 name_.c_str()); in LoadSegments()
747 add_dlwarning(name_.c_str(), "W+E load segments"); in LoadSegments()
757 DL_ERR("couldn't map \"%s\" segment %zd: %s", name_.c_str(), i, strerror(errno)); in LoadSegments()
790 DL_ERR("couldn't zero fill \"%s\" gap: %s", name_.c_str(), strerror(errno)); in LoadSegments()
1205 DL_ERR("can't find loaded phdr for \"%s\"", name_.c_str()); in FindPhdr()
1213 note_gnu_property_ = GnuPropertySection(phdr_table_, phdr_num_, load_start(), name_.c_str()); in FindGnuPropertySection()
1236 name_.c_str(), reinterpret_cast<void*>(loaded)); in CheckPhdr()