Lines Matching refs:to_string
1283 return std::string("<unknown>: ") + to_string(format_hex(Type, 1)); in getElfPtType()
2513 return to_string(ElfHeader->e_shnum); in getSectionHeadersNumString()
2518 return "0 (" + to_string(Arr[0].sh_size) + ")"; in getSectionHeadersNumString()
2525 return to_string(ElfHeader->e_shstrndx); in getSectionHeaderTableIndexString()
2530 return to_string(ElfHeader->e_shstrndx) + " (" + to_string(Arr[0].sh_link) + ")"; in getSectionHeaderTableIndexString()
2564 Str = to_string(e->e_phoff) + " (bytes into file)"; in printFileHeaders()
2566 Str = to_string(e->e_shoff) + " (bytes into file)"; in printFileHeaders()
2580 Str = to_string(e->e_ehsize) + " (bytes)"; in printFileHeaders()
2582 Str = to_string(e->e_phentsize) + " (bytes)"; in printFileHeaders()
2584 Str = to_string(e->e_phnum); in printFileHeaders()
2586 Str = to_string(e->e_shentsize) + " (bytes)"; in printFileHeaders()
2722 Offset = to_string(format_hex_no_prefix(R.r_offset, Width)); in printRelocation()
2723 Info = to_string(format_hex_no_prefix(R.r_info, Width)); in printRelocation()
2730 Value = to_string(format_hex_no_prefix(Sym->getValue(), Width)); in printRelocation()
2818 OS << to_string(format_hex_no_prefix(R, ELFT::Is64Bits ? 16 : 8)) in printRelocations()
2953 OS << "There are " << to_string(Sections.size()) in printSectionHeaders()
2973 Number = to_string(SectionIndex); in printSectionHeaders()
2978 Address = to_string(format_hex_no_prefix(Sec.sh_addr, Width)); in printSectionHeaders()
2980 Offset = to_string(format_hex_no_prefix(Sec.sh_offset, 6)); in printSectionHeaders()
2982 Size = to_string(format_hex_no_prefix(Sec.sh_size, 6)); in printSectionHeaders()
2984 EntrySize = to_string(format_hex_no_prefix(Sec.sh_entsize, 2)); in printSectionHeaders()
2988 Link = to_string(Sec.sh_link); in printSectionHeaders()
2990 Info = to_string(Sec.sh_info); in printSectionHeaders()
2992 Alignment = to_string(Sec.sh_addralign); in printSectionHeaders()
3054 to_string(format_hex_no_prefix(SectionIndex, 4)) + "]"; in getSymbolSectionNdx()
3058 to_string(format_hex_no_prefix(SectionIndex, 4)) + "]"; in getSymbolSectionNdx()
3063 to_string(format_hex_no_prefix(SectionIndex, 4)) + "]"; in getSymbolSectionNdx()
3065 return to_string(format_decimal(SectionIndex, 3)); in getSymbolSectionNdx()
3095 Num = to_string(format_decimal(Idx++, 6)) + ":"; in printSymbol()
3096 Value = to_string(format_hex_no_prefix(Symbol->st_value, Width)); in printSymbol()
3097 Size = to_string(format_decimal(Symbol->st_size, 5)); in printSymbol()
3136 Num = to_string(format_decimal(Sym, 5)); in printHashedSymbol()
3137 Buc = to_string(format_decimal(Bucket, 3)) + ":"; in printHashedSymbol()
3140 Value = to_string(format_hex_no_prefix(Symbol->st_value, Width)); in printHashedSymbol()
3141 Size = to_string(format_decimal(Symbol->st_size, 5)); in printHashedSymbol()
3328 Offset = to_string(format_hex(Phdr.p_offset, 8)); in printProgramHeaders()
3329 VMA = to_string(format_hex(Phdr.p_vaddr, Width)); in printProgramHeaders()
3330 LMA = to_string(format_hex(Phdr.p_paddr, Width)); in printProgramHeaders()
3331 FileSz = to_string(format_hex(Phdr.p_filesz, SizeWidth)); in printProgramHeaders()
3332 MemSz = to_string(format_hex(Phdr.p_memsz, SizeWidth)); in printProgramHeaders()
3334 Align = to_string(format_hex(Phdr.p_align, 1)); in printProgramHeaders()
3391 Offset = to_string(format_hex_no_prefix(R.r_offset, Width)); in printDynamicRelocation()
3392 Info = to_string(format_hex_no_prefix(R.r_info, Width)); in printDynamicRelocation()
3393 Value = to_string(format_hex_no_prefix(Sym->getValue(), Width)); in printDynamicRelocation()
3406 Addend += to_string(format_hex_no_prefix(std::abs(RelAddend), 1)); in printDynamicRelocation()
4021 OS << to_string(format_hex_no_prefix(Parser.getGotAddress(&E), 8 + Bias)); in printMipsGOT()
4023 OS << to_string(format_decimal(Parser.getGotOffset(&E), 6)) + "(gp)"; in printMipsGOT()
4025 OS << to_string(format_hex_no_prefix(E, 8 + Bias)); in printMipsGOT()
4027 OS << to_string(format_hex_no_prefix(Sym->st_value, 8 + Bias)); in printMipsGOT()
4073 OS << to_string(format_hex_no_prefix(Parser.getGotAddress(&E), 8 + Bias)); in printMipsPLT()
4075 OS << to_string(format_hex_no_prefix(E, 8 + Bias)); in printMipsPLT()
4077 OS << to_string(format_hex_no_prefix(Sym->st_value, 8 + Bias)); in printMipsPLT()