/external/chromium_org/courgette/ |
D | disassembler_win32_x86.h | 45 bool ParseRelocs(std::vector<RVA> *addresses); 48 const Section* RVAToSection(RVA rva) const; 52 int RVAToFileOffset(RVA rva) const; 56 const uint8* RVAToPointer(RVA rva) const; 73 void HistogramTargets(const char* kind, const std::map<RVA, int>& map); 85 bool IsValidRVA(RVA rva) const { return rva < size_of_image_; } in IsValidRVA() 88 std::string DescribeRVA(RVA rva) const; 99 RVA FileOffsetToRVA(uint32 offset) const; 108 std::vector<RVA> abs32_locations_; 109 std::vector<RVA> rel32_locations_; [all …]
|
D | disassembler_win32_x64.h | 45 bool ParseRelocs(std::vector<RVA> *addresses); 48 const Section* RVAToSection(RVA rva) const; 52 int RVAToFileOffset(RVA rva) const; 56 const uint8* RVAToPointer(RVA rva) const; 73 void HistogramTargets(const char* kind, const std::map<RVA, int>& map); 85 bool IsValidRVA(RVA rva) const { return rva < size_of_image_; } in IsValidRVA() 88 std::string DescribeRVA(RVA rva) const; 99 RVA FileOffsetToRVA(uint32 offset) const; 108 std::vector<RVA> abs32_locations_; 109 std::vector<RVA> rel32_locations_; [all …]
|
D | disassembler_elf_32.h | 33 explicit TypedRVA(RVA rva) : rva_(rva), offset_(static_cast<size_t>(-1)) { in TypedRVA() 38 RVA rva() { in rva() 42 RVA relative_target() { in relative_target() 46 void set_relative_target(RVA relative_target) { in set_relative_target() 63 RVA target_rva) = 0; 72 const RVA rva_; 73 RVA relative_target_; 94 std::vector<RVA> &Abs32Locations() { return abs32_locations_; } in Abs32Locations() 153 CheckBool IsValidRVA(RVA rva) const WARN_UNUSED_RESULT; 156 virtual CheckBool RelToRVA(Elf32_Rel rel, RVA* result) [all …]
|
D | disassembler_win32_x86.cc | 219 bool DisassemblerWin32X86::ParseRelocs(std::vector<RVA> *relocs) { in ParseRelocs() 246 RVA page_rva = ReadU32(block, 0); in ParseRelocs() 265 RVA rva = page_rva + offset; in ParseRelocs() 284 const Section* DisassemblerWin32X86::RVAToSection(RVA rva) const { in RVAToSection() 295 int DisassemblerWin32X86::RVAToFileOffset(RVA rva) const { in RVAToFileOffset() 317 const uint8* DisassemblerWin32X86::RVAToPointer(RVA rva) const { in RVAToPointer() 376 RVA rva = abs32_locations_[i]; in ParseAbs32Relocs() 405 std::map<RVA, int>::iterator abs32_iter = abs32_target_rvas_.begin(); in ParseRel32RelocsFromSections() 406 std::map<RVA, int>::iterator rel32_iter = rel32_target_rvas_.begin(); in ParseRel32RelocsFromSections() 431 RVA relocs_start_rva = base_relocation_table().address_; in ParseRel32RelocsFromSection() [all …]
|
D | disassembler_win32_x64.cc | 219 bool DisassemblerWin32X64::ParseRelocs(std::vector<RVA> *relocs) { in ParseRelocs() 246 RVA page_rva = ReadU32(block, 0); in ParseRelocs() 265 RVA rva = page_rva + offset; in ParseRelocs() 284 const Section* DisassemblerWin32X64::RVAToSection(RVA rva) const { in RVAToSection() 295 int DisassemblerWin32X64::RVAToFileOffset(RVA rva) const { in RVAToFileOffset() 317 const uint8* DisassemblerWin32X64::RVAToPointer(RVA rva) const { in RVAToPointer() 376 RVA rva = abs32_locations_[i]; in ParseAbs32Relocs() 405 std::map<RVA, int>::iterator abs32_iter = abs32_target_rvas_.begin(); in ParseRel32RelocsFromSections() 406 std::map<RVA, int>::iterator rel32_iter = rel32_target_rvas_.begin(); in ParseRel32RelocsFromSections() 431 RVA relocs_start_rva = base_relocation_table().address_; in ParseRel32RelocsFromSection() [all …]
|
D | typedrva_unittest.cc | 11 void TestRelativeTargetX86(courgette::RVA word, courgette::RVA expected) 15 courgette::RVA rva, 17 courgette::RVA expected) const; 20 courgette::RVA rva, 22 courgette::RVA expected) const; 25 void TypedRVATest::TestRelativeTargetX86(courgette::RVA word, in TestRelativeTargetX86() 26 courgette::RVA expected) const { in TestRelativeTargetX86() 42 courgette::RVA rva, in TestRelativeTargetARM() 44 courgette::RVA expected) const { in TestRelativeTargetARM() 56 courgette::RVA rva, in TestARMOPEncode() [all …]
|
D | disassembler_elf_32_arm.cc | 20 CheckBool DisassemblerElf32ARM::Compress(ARM_RVA type, uint32 arm_op, RVA rva, in Compress() 229 RVA relative_target; in ComputeRelativeTarget() 236 RVA relative_target; in ComputeRelativeTarget() 248 RVA relative_target; in ComputeRelativeTarget() 260 RVA target_rva) { in EmitInstruction() 272 CheckBool DisassemblerElf32ARM::RelToRVA(Elf32_Rel rel, RVA* result) const { in RelToRVA() 331 std::vector<RVA>::iterator reloc_iter = abs32_locations_.begin(); in ParseRelocationSection() 388 RVA target_rva = 0; in ParseRel32RelocsFromSection() 395 RVA rva = static_cast<RVA>(p - adjust_pointer_to_rva); in ParseRel32RelocsFromSection() 404 RVA rva = static_cast<RVA>(p - adjust_pointer_to_rva); in ParseRel32RelocsFromSection() [all …]
|
D | assembly_program.h | 35 explicit Label(RVA rva) : rva_(rva), index_(kNoIndex), count_(0) {} in Label() 37 RVA rva_; // Address referred to by the label. 42 typedef std::map<RVA, Label*> RVAToLabel; 84 CheckBool EmitOriginInstruction(RVA rva) WARN_UNUSED_RESULT; 105 Label* FindOrMakeAbs32Label(RVA rva); 108 Label* FindOrMakeRel32Label(RVA rva); 143 Label* FindLabel(RVA rva, RVAToLabel* labels);
|
D | encoded_program.h | 36 CheckBool DefineRel32Label(int index, RVA address) WARN_UNUSED_RESULT; 37 CheckBool DefineAbs32Label(int index, RVA address) WARN_UNUSED_RESULT; 43 CheckBool AddOrigin(RVA rva) WARN_UNUSED_RESULT; 89 typedef NoThrowBuffer<RVA> RvaVector; 99 CheckBool DefineLabelCommon(RvaVector*, int, RVA) WARN_UNUSED_RESULT; 103 CheckBool EvaluateRel32ARM(OP op, size_t& ix_rel32_ix, RVA& current_rva,
|
D | disassembler_elf_32_arm.h | 29 TypedRVAARM(ARM_RVA type, RVA rva) : TypedRVA(rva), type_(type) { } in TypedRVAARM() 38 RVA target_rva); 55 static CheckBool Compress(ARM_RVA type, uint32 arm_op, RVA rva, 63 virtual CheckBool RelToRVA(Elf32_Rel rel, RVA* result) 74 std::map<RVA, int> rel32_target_rvas_;
|
D | disassembler_elf_32_x86.h | 21 explicit TypedRVAX86(RVA rva) : TypedRVA(rva) { in TypedRVAX86() 30 RVA target_rva) OVERRIDE { in EmitInstruction() 44 virtual CheckBool RelToRVA(Elf32_Rel rel, RVA* result) 55 std::map<RVA, int> rel32_target_rvas_;
|
D | disassembler_elf_32_x86.cc | 25 CheckBool DisassemblerElf32X86::RelToRVA(Elf32_Rel rel, RVA* result) const { in RelToRVA() 97 std::vector<RVA>::iterator reloc_iter = abs32_locations_.begin(); in ParseRelocationSection() 153 RVA rva = static_cast<RVA>(rel32 - adjust_pointer_to_rva); in ParseRel32RelocsFromSection() 160 RVA target_rva = rel32_rva->rva() + rel32_rva->relative_target(); in ParseRel32RelocsFromSection()
|
D | encoded_program.cc | 149 CheckBool EncodedProgram::DefineRel32Label(int index, RVA value) { in DefineRel32Label() 153 CheckBool EncodedProgram::DefineAbs32Label(int index, RVA value) { in DefineAbs32Label() 157 static const RVA kUnassignedRVA = static_cast<RVA>(-1); 161 RVA rva) { in DefineLabelCommon() 185 RVA previous = 0; in FinishLabelsCommon() 195 CheckBool EncodedProgram::AddOrigin(RVA origin) { in AddOrigin() 411 RVA& current_rva, in EvaluateRel32ARM() 419 RVA rva; in EvaluateRel32ARM() 441 RVA rva; in EvaluateRel32ARM() 461 RVA rva; in EvaluateRel32ARM() [all …]
|
D | disassembler_elf_32.cc | 142 CheckBool DisassemblerElf32::IsValidRVA(RVA rva) const { in IsValidRVA() 182 RVA DisassemblerElf32::FileOffsetToRVA(size_t offset) const { in FileOffsetToRVA() 206 CheckBool DisassemblerElf32::RVAsToOffsets(std::vector<RVA>* rvas, in RVAsToOffsets() 210 for (std::vector<RVA>::iterator rva = rvas->begin(); in RVAsToOffsets() 374 RVA target_rva = Read32LittleEndian(p); in ParseProgbitsSection() 378 file_offset += sizeof(RVA); in ParseProgbitsSection() 389 RVA target_rva = (RVA)(origin + (file_offset - origin_offset) + in ParseProgbitsSection() 441 RVA rva; in ParseAbs32Relocs() 455 CheckBool DisassemblerElf32::CheckSection(RVA rva) { in CheckSection()
|
D | assembly_program.cc | 59 explicit OriginInstruction(RVA rva) : Instruction(ORIGIN, 0), rva_(rva) {} in OriginInstruction() 60 RVA origin_rva() const { return rva_; } in origin_rva() 62 RVA rva_; 173 CheckBool AssemblyProgram::EmitOriginInstruction(RVA rva) { in EmitOriginInstruction() 200 Label* AssemblyProgram::FindOrMakeAbs32Label(RVA rva) { in FindOrMakeAbs32Label() 204 Label* AssemblyProgram::FindOrMakeRel32Label(RVA rva) { in FindOrMakeRel32Label() 249 Label* AssemblyProgram::FindLabel(RVA rva, RVAToLabel* labels) { in FindLabel() 371 typedef CheckBool (EncodedProgram::*DefineLabelMethod)(int index, RVA value);
|
D | adjustment_method.cc | 342 RVA m_rva_base = m_info->label_->rva_; in TryExtendAssignment() 343 RVA p_rva_base = p_info->label_->rva_; in TryExtendAssignment() 351 RVA m_rva = m_info_next->label_->rva_; in TryExtendAssignment() 352 RVA p_rva = p_info_next->label_->rva_; in TryExtendAssignment() 361 RVA m_rva_next = m_info_next_next->label_->rva_; in TryExtendAssignment() 362 RVA p_rva_next = p_info_next_next->label_->rva_; in TryExtendAssignment() 399 RVA m_rva = m_info_prev->label_->rva_; in TryExtendAssignment() 400 RVA p_rva = p_info_prev->label_->rva_; in TryExtendAssignment()
|
D | disassembler_elf_32_x86_unittest.cc | 50 std::set<courgette::RVA> abs(disassembler->Abs32Locations().begin(), in TestExe() 62 for (std::vector<courgette::RVA>::iterator abs32 = in TestExe()
|
D | types_win_pe.h | 41 RVA address_;
|
D | disassembler.h | 22 typedef uint32 RVA; typedef
|
D | disassembler_win32_x86_unittest.cc | 41 std::vector<courgette::RVA> relocs; in TestExe()
|
D | disassembler_win32_x64_unittest.cc | 41 std::vector<courgette::RVA> relocs; in TestExe()
|
/external/llvm/tools/llvm-objdump/ |
D | COFFDump.cpp | 364 uint32_t RVA; in printExportTable() local 365 if (I->getExportRVA(RVA)) in printExportTable() 367 outs() << format(" % 4d %# 8x", Ordinal, RVA); in printExportTable()
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
D | dbghelp.h | 904 typedef DWORD RVA; typedef 909 RVA Rva; 931 RVA StreamDirectoryRva; 983 RVA CSDVersionRva; 1049 RVA ModuleNameRva; 1088 RVA TypeNameRva; 1089 RVA ObjectNameRva; 1125 RVA ModuleNameRva;
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | dbghelp.h | 904 typedef DWORD RVA; typedef 909 RVA Rva; 931 RVA StreamDirectoryRva; 983 RVA CSDVersionRva; 1049 RVA ModuleNameRva; 1088 RVA TypeNameRva; 1089 RVA ObjectNameRva; 1125 RVA ModuleNameRva;
|
/external/llvm/test/tools/llvm-objdump/ |
D | coff-private-headers.test | 42 EXPORT-NEXT: Ordinal RVA Name
|