• Home
  • Raw
  • Download

Lines Matching refs:memory

51 static void SetCie32(MemoryFake* memory, uint64_t offset, uint32_t length,  in SetCie32()  argument
53 memory->SetData32(offset, length); in SetCie32()
56 memory->SetData32(offset, 0xffffffff); in SetCie32()
58 memory->SetMemory(offset, data); in SetCie32()
61 static void SetCie64(MemoryFake* memory, uint64_t offset, uint64_t length, in SetCie64() argument
63 memory->SetData32(offset, 0xffffffff); in SetCie64()
65 memory->SetData64(offset, length); in SetCie64()
68 memory->SetData64(offset, 0xffffffffffffffffUL); in SetCie64()
70 memory->SetMemory(offset, data); in SetCie64()
73 static void SetFde32(MemoryFake* memory, uint64_t offset, uint32_t length, uint64_t cie_offset, in SetFde32() argument
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()
85 memory->SetMemory(offset, *data); in SetFde32()
89 static void SetFde64(MemoryFake* memory, uint64_t offset, uint64_t length, uint64_t cie_offset, in SetFde64() argument
92 memory->SetData32(offset, 0xffffffff); in SetFde64()
94 memory->SetData64(offset, length); in SetFde64()
96 memory->SetData64(offset, cie_offset); in SetFde64()
98 memory->SetData64(offset, pc_start); in SetFde64()
100 memory->SetData64(offset, pc_length); in SetFde64()
103 memory->SetMemory(offset, *data); in SetFde64()
107 static void SetFourFdes32(MemoryFake* memory) { in SetFourFdes32() argument
108 SetCie32(memory, 0x5000, 0xfc, std::vector<uint8_t>{1, '\0', 0, 0, 1}); in SetFourFdes32()
111 SetFde32(memory, 0x5100, 0xfc, 0, 0x1500, 0x200); in SetFourFdes32()
112 SetFde32(memory, 0x5200, 0xfc, 0, 0x2500, 0x300); in SetFourFdes32()
115 SetCie32(memory, 0x5300, 0xfc, std::vector<uint8_t>{1, '\0', 0, 0, 1}); in SetFourFdes32()
118 SetFde32(memory, 0x5400, 0xfc, 0x300, 0x3500, 0x400); in SetFourFdes32()
119 SetFde32(memory, 0x5500, 0xfc, 0x300, 0x4500, 0x500); in SetFourFdes32()
254 static void SetFourFdes64(MemoryFake* memory) { in SetFourFdes64() argument
256 SetCie64(memory, 0x5000, 0xf4, std::vector<uint8_t>{1, '\0', 0, 0, 1}); in SetFourFdes64()
259 SetFde64(memory, 0x5100, 0xf4, 0, 0x1500, 0x200); in SetFourFdes64()
260 SetFde64(memory, 0x5200, 0xf4, 0, 0x2500, 0x300); in SetFourFdes64()
263 SetCie64(memory, 0x5300, 0xf4, std::vector<uint8_t>{1, '\0', 0, 0, 1}); in SetFourFdes64()
266 SetFde64(memory, 0x5400, 0xf4, 0x300, 0x3500, 0x400); in SetFourFdes64()
267 SetFde64(memory, 0x5500, 0xf4, 0x300, 0x4500, 0x500); in SetFourFdes64()