Lines Matching refs:name_
149 name_ = name; in Read()
187 DL_ERR("can't read file \"%s\": %s", name_.c_str(), strerror(errno)); in ReadElfHeader()
192 DL_ERR("\"%s\" is too small to be an ELF executable: only found %zd bytes", name_.c_str(), in ReadElfHeader()
201 DL_ERR("\"%s\" has bad ELF magic", name_.c_str()); in VerifyElfHeader()
211 DL_ERR("\"%s\" is 32-bit instead of 64-bit", name_.c_str()); in VerifyElfHeader()
213 DL_ERR("\"%s\" has unknown ELF class: %d", name_.c_str(), elf_class); in VerifyElfHeader()
220 DL_ERR("\"%s\" is 64-bit instead of 32-bit", name_.c_str()); in VerifyElfHeader()
222 DL_ERR("\"%s\" has unknown ELF class: %d", name_.c_str(), elf_class); in VerifyElfHeader()
229 DL_ERR("\"%s\" not little-endian: %d", name_.c_str(), header_.e_ident[EI_DATA]); in VerifyElfHeader()
234 DL_ERR("\"%s\" has unexpected e_type: %d", name_.c_str(), header_.e_type); in VerifyElfHeader()
239 DL_ERR("\"%s\" has unexpected e_version: %d", name_.c_str(), header_.e_version); in VerifyElfHeader()
244 DL_ERR("\"%s\" has unexpected e_machine: %d", name_.c_str(), header_.e_machine); in VerifyElfHeader()
269 DL_ERR("\"%s\" has invalid e_phnum: %zd", name_.c_str(), phdr_num_); in ReadProgramHeaders()
276 DL_ERR("\"%s\" has invalid phdr offset/size", name_.c_str()); in ReadProgramHeaders()
281 DL_ERR("\"%s\" phdr mmap failed: %s", name_.c_str(), strerror(errno)); in ReadProgramHeaders()
293 DL_ERR("\"%s\" has no section headers", name_.c_str()); in ReadSectionHeaders()
299 DL_ERR("\"%s\" has invalid shdr offset/size", name_.c_str()); in ReadSectionHeaders()
304 DL_ERR("\"%s\" shdr mmap failed: %s", name_.c_str(), strerror(errno)); in ReadSectionHeaders()
323 DL_ERR("\"%s\" .dynamic section header was not found", name_.c_str()); in ReadDynamicSection()
328 DL_ERR("\"%s\" .dynamic section has invalid sh_link: %d", name_.c_str(), dynamic_shdr->sh_link); in ReadDynamicSection()
336 name_.c_str(), dynamic_shdr->sh_link, strtab_shdr->sh_type); in ReadDynamicSection()
341 DL_ERR("\"%s\" has invalid offset/size of .dynamic section", name_.c_str()); in ReadDynamicSection()
342 PRINT("\"%s\" has invalid offset/size of .dynamic section", name_.c_str()); in ReadDynamicSection()
347 DL_ERR("\"%s\" dynamic section mmap failed: %s", name_.c_str(), strerror(errno)); in ReadDynamicSection()
355 name_.c_str()); in ReadDynamicSection()
360 DL_ERR("\"%s\" strtab section mmap failed: %s", name_.c_str(), strerror(errno)); in ReadDynamicSection()
425 DL_ERR("\"%s\" has no loadable segments", name_.c_str()); in ReserveAddressSpace()
456 reserved_size - load_size_, load_size_, name_.c_str()); in ReserveAddressSpace()
462 DL_ERR("couldn't reserve %zd bytes of address space for \"%s\"", load_size_, name_.c_str()); in ReserveAddressSpace()
468 load_size_, mmap_hint, name_.c_str()); in ReserveAddressSpace()
506 DL_ERR("\"%s\" invalid file size: %" PRId64, name_.c_str(), file_size_); in LoadSegments()
513 name_.c_str(), i, reinterpret_cast<void*>(phdr->p_offset), in LoadSegments()
527 DL_ERR("couldn't map \"%s\" segment %zd: %s", name_.c_str(), i, strerror(errno)); in LoadSegments()
553 DL_ERR("couldn't zero fill \"%s\" gap: %s", name_.c_str(), strerror(errno)); in LoadSegments()
950 DL_ERR("can't find loaded phdr for \"%s\"", name_.c_str()); in FindPhdr()
972 name_.c_str(), reinterpret_cast<void*>(loaded)); in CheckPhdr()