Lines Matching refs:StringPrintf
177 *error_msg = StringPrintf("Failed to get length of file: '%s' fd=%d: %s", in Setup()
183 *error_msg = StringPrintf("File size of %zd bytes not large enough to contain ELF header of " in Setup()
200 *error_msg = StringPrintf("File size of %zd bytes not large enough to contain ELF program " in Setup()
208 *error_msg = StringPrintf("Failed to map ELF program headers: %s", error_msg->c_str()); in Setup()
216 *error_msg = StringPrintf("Failed to map ELF file: %s", error_msg->c_str()); in Setup()
236 *error_msg = StringPrintf("Failed to find shstrtab section header in ELF file: '%s'", in Setup()
244 *error_msg = StringPrintf("Failed to find PT_DYNAMIC program header in ELF file: '%s'", in Setup()
258 *error_msg = StringPrintf("Failed to find section header for section %d in ELF file: '%s'", in Setup()
345 *error_msg = StringPrintf("Offset %d is out of range for %s in ELF file: '%s'", offset, label, in CheckAndSet()
391 *error_msg = StringPrintf("No section headers in ELF file: '%s'", file_->GetPath().c_str()); in CheckSectionsExist()
398 *error_msg = StringPrintf("Failed to find PT_DYNAMIC program header in ELF file: '%s'", in CheckSectionsExist()
405 *error_msg = StringPrintf("Failed to find dynamic section in ELF file: '%s'", in CheckSectionsExist()
415 *error_msg = StringPrintf("No strtab for symtab in ELF file: '%s'", file_->GetPath().c_str()); in CheckSectionsExist()
422 *error_msg = StringPrintf("Symtab is not linked to the strtab in ELF file: '%s'", in CheckSectionsExist()
430 *error_msg = StringPrintf("No dynstr in ELF file: '%s'", file_->GetPath().c_str()); in CheckSectionsExist()
434 *error_msg = StringPrintf("No dynsym in ELF file: '%s'", file_->GetPath().c_str()); in CheckSectionsExist()
440 *error_msg = StringPrintf("Failed to find hash section in ELF file: '%s'", in CheckSectionsExist()
448 *error_msg = StringPrintf("Hash section is not linked to the dynstr in ELF file: '%s'", in CheckSectionsExist()
461 *error_msg = StringPrintf("Shstrtab is not in the mapped ELF file: '%s'", in CheckSectionsExist()
486 *error_msg = StringPrintf("Failed to find ELF magic value %d %d %d %d in %s, found %d %d %d %d", in SetMap()
497 *error_msg = StringPrintf("Failed to find expected EI_CLASS value %d in %s, found %d", in SetMap()
504 *error_msg = StringPrintf("Failed to find expected EI_DATA value %d in %s, found %d", in SetMap()
511 *error_msg = StringPrintf("Failed to find expected EI_VERSION value %d in %s, found %d", in SetMap()
518 *error_msg = StringPrintf("Failed to find expected e_type value %d in %s, found %d", in SetMap()
525 *error_msg = StringPrintf("Failed to find expected e_version value %d in %s, found %d", in SetMap()
532 *error_msg = StringPrintf("Failed to find expected e_entry value %d in %s, found %d", in SetMap()
539 *error_msg = StringPrintf("Failed to find non-zero e_phoff value in %s", in SetMap()
544 *error_msg = StringPrintf("Failed to find non-zero e_shoff value in %s", in SetMap()
549 *error_msg = StringPrintf("Failed to find non-zero e_ehsize value in %s", in SetMap()
554 *error_msg = StringPrintf("Failed to find non-zero e_phentsize value in %s", in SetMap()
559 *error_msg = StringPrintf("Failed to find non-zero e_phnum value in %s", in SetMap()
564 *error_msg = StringPrintf("Failed to find non-zero e_shentsize value in %s", in SetMap()
569 *error_msg = StringPrintf("Failed to find non-zero e_shnum value in %s", in SetMap()
574 *error_msg = StringPrintf("Failed to find non-zero e_shstrndx value in %s", in SetMap()
579 *error_msg = StringPrintf("Failed to find e_shnum value %d less than %d in %s", in SetMap()
588 *error_msg = StringPrintf("Failed to find e_phoff value %" PRIu64 " less than %zd in %s", in SetMap()
595 *error_msg = StringPrintf("Failed to find e_shoff value %" PRIu64 " less than %zd in %s", in SetMap()
1144 *error_msg = StringPrintf("No program header for entry %d in ELF file %s.", in Load()
1172 *error_msg = StringPrintf("Failed to get length of file: '%s' fd=%d: %s", in Load()
1196 *error_msg = StringPrintf("Failed to allocate %s: %s", in Load()
1235 *error_msg = StringPrintf("Invalid p_filesz > p_memsz (%" PRIu64 " > %" PRIu64 "): %s", in Load()
1243 *error_msg = StringPrintf("Unsupported unaligned p_filesz < p_memsz (%" PRIu64 in Load()
1251 *error_msg = StringPrintf("File size of %zd bytes not large enough to contain ELF segment " in Load()
1267 *error_msg = StringPrintf("Failed to map ELF file segment %d from %s: %s", in Load()
1272 … *error_msg = StringPrintf("Failed to map ELF file segment %d from %s at expected address %p, " in Load()
1280 std::string name = StringPrintf("Zero-initialized segment %" PRIu64 " of ELF file %s", in Load()
1288 *error_msg = StringPrintf("Failed to map zero-initialized ELF file segment %d from %s: %s", in Load()
1293 *error_msg = StringPrintf("Failed to map zero-initialized ELF file segment %d from %s " in Load()
1305 *error_msg = StringPrintf("dynamic section address invalid in ELF file %s", in Load()
1317 *error_msg = StringPrintf("DT_HASH value %p does not refer to a loaded ELF segment of %s", in Load()
1326 *error_msg = StringPrintf("DT_HASH value %p does not refer to a loaded ELF segment of %s", in Load()
1335 *error_msg = StringPrintf("DT_HASH value %p does not refer to a loaded ELF segment of %s", in Load()
1344 *error_msg = StringPrintf("DT_NULL found after %d .dynamic entries, " in Load()
1592 *error_msg = StringPrintf("Failed to truncate while stripping ELF file: '%s': %s", in Strip()
1643 LOG(INFO) << StringPrintf("In %s moving Elf_Dyn[%d] from 0x%" PRIx64 " to 0x%" PRIx64, in FixupDynamic()
1665 LOG(INFO) << StringPrintf("In %s moving Elf_Shdr[%d] from 0x%" PRIx64 " to 0x%" PRIx64, in FixupSectionHeaders()
1685 LOG(INFO) << StringPrintf("In %s moving Elf_Phdr[%d] from 0x%" PRIx64 " to 0x%" PRIx64, in FixupProgramHeaders()
1713 LOG(INFO) << StringPrintf("In %s moving Elf_Sym[%d] from 0x%" PRIx64 " to 0x%" PRIx64, in FixupSymbols()
1733 LOG(INFO) << StringPrintf("In %s moving Elf_Rel[%d] from 0x%" PRIx64 " to 0x%" PRIx64, in FixupRelocations()
1744 LOG(INFO) << StringPrintf("In %s moving Elf_Rela[%d] from 0x%" PRIx64 " to 0x%" PRIx64, in FixupRelocations()
1774 *error_msg = StringPrintf("File %s is too short to be a valid ELF file", in Open()
1798 *error_msg = StringPrintf("Failed to find expected EI_CLASS value %d or %d in %s, found %d", in Open()
1808 *error_msg = StringPrintf("File %s is too short to be a valid ELF file", in Open()
1831 *error_msg = StringPrintf("Failed to find expected EI_CLASS value %d or %d in %s, found %d", in Open()