Searched defs:relocations (Results 1 - 5 of 5) sorted by relevance
/bionic/tools/relocation_packer/src/ |
H A D | packer.cc | 16 // Pack relocations into a group encoded packed representation. 18 void RelocationPacker<ELF>::PackRelocations(const std::vector<typename ELF::Rela>& relocations, argument 23 codec.Encode(relocations, &packed_words); 43 // Unpack relative relocations from a run-length encoded packed 48 std::vector<typename ELF::Rela>* relocations) { 61 codec.Decode(packed_words, relocations); 46 UnpackRelocations( const std::vector<uint8_t>& packed, std::vector<typename ELF::Rela>* relocations) argument
|
H A D | delta_encoder_unittest.cc | 17 std::vector<T>* relocations) { 22 relocations->push_back(relocation); 41 std::vector<typename ELF::Rela> relocations; local 46 codec.Encode(relocations, &packed); 51 AddRelocation(0xf00d0000, 11U, 10000, &relocations); 53 codec.Encode(relocations, &packed); 70 AddRelocation(0xf00d0004, 11U, 10012, &relocations); 73 codec.Encode(relocations, &packed); 90 AddRelocation(0xf00d0008, 41U, 10024, &relocations); 92 // Add three more relocations, 14 AddRelocation(uint32_t addr, uint32_t info, int32_t addend, std::vector<T>* relocations) argument 160 std::vector<typename ELF::Rela> relocations; local [all...] |
H A D | packer_unittest.cc | 17 std::vector<typename ELF::Rela>* relocations) { 23 relocations->push_back(relocation); 40 std::vector<typename ELF::Rela> relocations; local 44 AddRelocation<ELF>(0xd1ce0000, 0x11, 0, &relocations); 45 // Two more relocations, 4 byte deltas. 46 AddRelocation<ELF>(0xd1ce0004, 0x11, 0, &relocations); 47 AddRelocation<ELF>(0xd1ce0008, 0x11, 0, &relocations); 48 // Three more relocations, 8 byte deltas. 49 AddRelocation<ELF>(0xd1ce0010, 0x11, 0, &relocations); 50 AddRelocation<ELF>(0xd1ce0018, 0x11, 0, &relocations); 14 AddRelocation(typename ELF::Addr addr, typename ELF::Xword info, typename ELF::Sxword addend, std::vector<typename ELF::Rela>* relocations) argument 97 std::vector<typename ELF::Rela> relocations; local 149 std::vector<typename ELF::Rela> relocations; local 273 std::vector<typename ELF::Rela> relocations; local [all...] |
H A D | delta_encoder.cc | 34 // Encode relocations into a delta encoded (packed) representation. 36 void RelocationDeltaCodec<ELF>::Encode(const std::vector<ElfRela>& relocations, argument 38 if (relocations.size() == 0) 43 packed->push_back(static_cast<ElfAddr>(relocations.size())); 46 ElfAddr start_offset = relocations.size() > 1 ? 47 relocations[0].r_offset - (relocations[1].r_offset - relocations[0].r_offset) : 48 relocations[0].r_offset; 56 for (size_t group_start = 0; group_start < relocations 117 Decode(const std::vector<ElfAddr>& packed, std::vector<ElfRela>* relocations) argument 248 DetectGroup(const std::vector<ElfRela>& relocations, size_t group_starts_with, ElfAddr previous_offset, ElfAddr* group_size, ElfAddr* group_flags, ElfAddr* group_offset_delta, ElfAddr* group_info, ElfAddr* group_addend) argument [all...] |
H A D | elf_file.cc | 30 // android packed relocations section. 185 // Notes of the dynamic relocations, packed relocations, and .dynamic 246 // Loading failed if we could not identify the relocations type. 248 LOG(ERROR) << "No relocations sections found"; 252 LOG(ERROR) << "Multiple relocations sections with different types found, " 547 // DT_RELSZ or DT_RELASZ indicate the overall size of relocations. 675 // Remove relative entries from dynamic relocations and write as packed 676 // data into android packed relocations. 685 // Retrieve the current dynamic relocations sectio 688 std::vector<typename ELF::Rela> relocations; local 713 PackTypedRelocations(std::vector<typename ELF::Rela>* relocations) argument [all...] |
Completed in 207 milliseconds