/system/core/libunwindstack/tests/ |
D | ArmExidxExtractTest.cpp | 59 elf_memory_.SetData32(0x1000, 0x7fff2340); in TEST_F() 60 elf_memory_.SetData32(0x1004, 1); in TEST_F() 67 elf_memory_.SetData32(0x4000, 0x7ffa3000); in TEST_F() 68 elf_memory_.SetData32(0x4004, 0x80a8b0b0); in TEST_F() 77 elf_memory_.SetData32(0x534, 0x7ffa3000); in TEST_F() 78 elf_memory_.SetData32(0x538, 0x80a1a2a3); in TEST_F() 88 elf_memory_.SetData32(0x4000, 0x7ffa3000); in TEST_F() 92 elf_memory_.SetData32(0x4004, compact_value | (i << 24)); in TEST_F() 99 elf_memory_.SetData32(0x5000, 0x1234); in TEST_F() 100 elf_memory_.SetData32(0x5004, 0x00001230); in TEST_F() [all …]
|
D | ElfInterfaceArmTest.cpp | 46 memory_.SetData32(0x1000, 0x230000); in TEST_F() 52 memory_.SetData32(0x1000, 0x80001000); in TEST_F() 56 memory_.SetData32(0x1000, 0x70001000); in TEST_F() 92 memory_.SetData32(0x1000, 0x6000); in TEST_F() 102 memory_.SetData32(0x8000, 0x7fffff00); in TEST_F() 113 memory_.SetData32(0x1000, 0x6000); in TEST_F() 114 memory_.SetData32(0x1008, 0x7000); in TEST_F() 125 memory_.SetData32(0x1000, 0x6000); in TEST_F() 133 memory_.SetData32(0x1000, 0x8000); in TEST_F() 142 memory_.SetData32(0x1000, 0x6000); in TEST_F() [all …]
|
D | DwarfEhFrameWithHdrTest.cpp | 84 this->memory_.SetData32(0x1006, 126); in TYPED_TEST_P() 106 this->memory_.SetData32(0x1006, 0); in TYPED_TEST_P() 111 this->memory_.SetData32(0x1006, 126); in TYPED_TEST_P() 124 this->memory_.SetData32(0x1006, 1); in TYPED_TEST_P() 125 this->memory_.SetData32(0x100a, 0x2500); in TYPED_TEST_P() 126 this->memory_.SetData32(0x100e, 0x1400); in TYPED_TEST_P() 129 this->memory_.SetData32(0x1300, 0xfc); in TYPED_TEST_P() 130 this->memory_.SetData32(0x1304, 0); in TYPED_TEST_P() 134 this->memory_.SetData32(0x1400, 0xfc); in TYPED_TEST_P() 135 this->memory_.SetData32(0x1404, 0x104); in TYPED_TEST_P() [all …]
|
D | DwarfEhFrameTest.cpp | 54 this->memory_.SetData32(0x5000, 0xfc); in TYPED_TEST_P() 56 this->memory_.SetData32(0x5004, 0); in TYPED_TEST_P() 60 this->memory_.SetData32(0x5100, 0xfc); in TYPED_TEST_P() 61 this->memory_.SetData32(0x5104, 0x104); in TYPED_TEST_P() 62 this->memory_.SetData32(0x5108, 0x1500); in TYPED_TEST_P() 63 this->memory_.SetData32(0x510c, 0x200); in TYPED_TEST_P() 91 this->memory_.SetData32(0x5000, 0xffffffff); in TYPED_TEST_P() 98 this->memory_.SetData32(0x5100, 0xffffffff); in TYPED_TEST_P()
|
D | JitDebugTest.cpp | 127 memory_->SetData32(dwarf_offset, 0xfc); in CreateElf() 128 memory_->SetData32(dwarf_offset + 0x4, 0xffffffff); in CreateElf() 136 memory_->SetData32(dwarf_offset + 0x100, 0xfc); in CreateElf() 137 memory_->SetData32(dwarf_offset + 0x104, 0); in CreateElf() 138 memory_->SetData32(dwarf_offset + 0x108, pc); in CreateElf() 139 memory_->SetData32(dwarf_offset + 0x10c, size); in CreateElf() 142 memory_->SetData32(dwarf_offset, 0xffffffff); in CreateElf() 152 memory_->SetData32(dwarf_offset + 0x100, 0xffffffff); in CreateElf() 178 memory_->SetData32(addr, 1); in WriteDescriptor32() 180 memory_->SetData32(addr + 4, 0); in WriteDescriptor32() [all …]
|
D | ArmExidxDecodeTest.cpp | 231 process_memory_.SetData32(0x10000, 0x10); in TEST_P() 257 process_memory_.SetData32(0x10000 + i * 4, i + 0x20); in TEST_P() 310 process_memory_.SetData32(0x10034, 0x11); in TEST_P() 311 process_memory_.SetData32(0x10038, 0x22); in TEST_P() 312 process_memory_.SetData32(0x1003c, 0x33); in TEST_P() 448 process_memory_.SetData32(0x10000, 0x14); in TEST_P() 472 process_memory_.SetData32(0x10000, 0x20); in TEST_P() 473 process_memory_.SetData32(0x10004, 0x30); in TEST_P() 474 process_memory_.SetData32(0x10008, 0x40); in TEST_P() 475 process_memory_.SetData32(0x1000c, 0x50); in TEST_P() [all …]
|
D | RegsStepIfSignalHandlerTest.cpp | 60 elf_memory_->SetData32(0x5000, pc_data); in ArmStepIfSignalHandlerNonRt() 63 process_memory_.SetData32(addr + index * 4, index * 0x10); in ArmStepIfSignalHandlerNonRt() 90 elf_memory_->SetData32(0x5000, pc_data); in ArmStepIfSignalHandlerRt() 93 process_memory_.SetData32(addr + index * 4, index * 0x10); in ArmStepIfSignalHandlerRt() 141 process_memory_.SetData32(addr + index * 4, index * 0x10); in TEST_F() 165 process_memory_.SetData32(addr, 0x8100); in TEST_F() 169 process_memory_.SetData32(addr + index * 4, index * 0x10); in TEST_F()
|
D | ElfInterfaceTest.cpp | 470 memory_.SetData32(0x2000, 0x1000); in TEST_F() 471 memory_.SetData32(0x2008, 0x1000); in TEST_F() 647 memory_.SetData32(0x10004, 0x500); in InitHeadersEhFrameTest() 648 memory_.SetData32(0x10008, 250); in InitHeadersEhFrameTest() 673 memory_.SetData32(0x5000, 0xfc); in InitHeadersDebugFrame() 674 memory_.SetData32(0x5004, 0xffffffff); in InitHeadersDebugFrame() 677 memory_.SetData32(0x5100, 0xfc); in InitHeadersDebugFrame() 678 memory_.SetData32(0x5104, 0); in InitHeadersDebugFrame() 679 memory_.SetData32(0x5108, 0x1500); in InitHeadersDebugFrame() 680 memory_.SetData32(0x510c, 0x200); in InitHeadersDebugFrame() [all …]
|
D | DwarfMemoryTest.cpp | 105 memory_.SetData32(0x100, static_cast<uint32_t>(-1000000000)); in TEST_F() 106 memory_.SetData32(0x104, 3000000000); in TEST_F() 258 memory_.SetData32(0, 0x12345678); in TEST_F() 281 memory_.SetData32(4, 0x12345678); in TEST_F() 367 memory_.SetData32(0, 0xe0000000); in ReadEncodedValue_data4() 445 memory_.SetData32(0, 0x15234); in ReadEncodedValue_high_bit_set()
|
D | DexFilesTest.cpp | 110 memory_->SetData32(addr + 12, head); in WriteDescriptor32() 122 memory_->SetData32(entry_addr, next); in WriteEntry32() 124 memory_->SetData32(entry_addr + 4, prev); in WriteEntry32() 126 memory_->SetData32(entry_addr + 8, dex_file); in WriteEntry32()
|
D | RegsTest.cpp | 166 memory_->SetData32(0x2000, 0); in TEST_F() 168 memory_->SetData32(0x2000, 0xe000f000); in TEST_F() 172 memory_->SetData32(0x2100, 0); in TEST_F() 174 memory_->SetData32(0x2100, 0xf111f111); in TEST_F()
|
D | MemoryFake.h | 49 void SetData32(uint64_t addr, uint32_t value) { in SetData32() function
|
D | DwarfDebugFrameTest.cpp | 53 memory->SetData32(offset, length); in SetCie32() 56 memory->SetData32(offset, 0xffffffff); in SetCie32() 63 memory->SetData32(offset, 0xffffffff); in SetCie64() 76 memory->SetData32(offset, length); in SetFde32() 78 memory->SetData32(offset, cie_offset); in SetFde32() 80 memory->SetData32(offset, pc_start); in SetFde32() 82 memory->SetData32(offset, pc_length); in SetFde32() 92 memory->SetData32(offset, 0xffffffff); in SetFde64()
|
D | ElfTest.cpp | 123 memory_->SetData32(0, 0x7f000000); in TEST_F() 294 memory_->SetData32(0x3000, 0xdf0027ad); in TEST_F() 296 process_memory.SetData32(0x50000, 0); in TEST_F() 298 process_memory.SetData32(0x500a0 + i * sizeof(uint32_t), i); in TEST_F()
|
D | DwarfSectionImplTest.cpp | 359 this->memory_.SetData32(0x2150, 0x12345678); in TYPED_TEST_P()
|