Lines Matching refs:memory

24 #include <memory>
67 explicit DwarfSectionTest(std::shared_ptr<DfxMemory> memory) : DwarfSection(memory) {};
139 bool Test04(std::shared_ptr<DfxMemoryTest> memory);
140 bool Test05(std::shared_ptr<DfxMemoryTest> memory);
144 bool Test09(std::shared_ptr<DfxMemoryTest> memory);
145 bool Test10(std::shared_ptr<DfxMemoryTest> memory);
179 bool DwarfOpTest::Test04(std::shared_ptr<DfxMemoryTest> memory)
201 memory->SetBuffer(valuePtr, valueData);
202 memory->SetBuffer(exprPtr, exprData);
255 bool DwarfOpTest::Test05(std::shared_ptr<DfxMemoryTest> memory)
259 memory->Reset();
265 memory->SetBuffer(valuePtr, valueData);
409 bool DwarfOpTest::Test09(std::shared_ptr<DfxMemoryTest> memory)
413 memory->Reset();
418 memory->SetBuffer(exprPtr, exprData);
448 bool DwarfOpTest::Test10(std::shared_ptr<DfxMemoryTest> memory)
451 memory->Reset();
456 memory->SetBuffer(exprPtr, exprData);
531 auto memory = std::make_shared<DfxMemory>(acc);
532 DwarfSectionTest dwarfSection(memory);
544 DwarfCfaInstructions instructions(memory);
762 auto memory = std::make_shared<DfxMemory>(acc);
763 DwarfSectionTest dwarfSection(memory);
789 DwarfCfaInstructions instructions(memory);
811 auto memory = std::make_shared<DfxMemoryTest>();
812 DwarfOpTest op(memory);
816 ASSERT_EQ(op.Test04(memory), true);
817 ASSERT_EQ(op.Test05(memory), true);
821 ASSERT_EQ(op.Test09(memory), true);
822 ASSERT_EQ(op.Test10(memory), true);
834 auto memory = std::make_shared<DfxMemoryTest>();
835 memory->increaseAddr = true;
836 DwarfOpTest op(memory);
843 memory->SetBuffer(exprPtr, opcodes);
859 auto memory = std::make_shared<DfxMemoryTest>();
860 memory->increaseAddr = true;
861 DwarfOpTest op(memory);
875 memory->SetBuffer(exprPtr, opcodes);
876 memory->SetBuffer(0x4, data);
893 auto memory = std::make_shared<DfxMemoryTest>();
894 memory->increaseAddr = true;
895 DwarfOpTest op(memory);
914 memory->SetBuffer(exprPtr, opcodes);
930 auto memory = std::make_shared<DfxMemoryTest>();
931 memory->increaseAddr = true;
932 DwarfOpTest op(memory);
948 memory->SetBuffer(exprPtr, opcodes);
964 auto memory = std::make_shared<DfxMemoryTest>();
965 memory->increaseAddr = true;
966 DwarfOpTest op(memory);
982 memory->SetBuffer(exprPtr, opcodes);
1000 auto memory = std::make_shared<DfxMemoryTest>();
1001 memory->increaseAddr = true;
1002 DwarfOpTest op(memory);
1018 memory->SetBuffer(exprPtr, opcodes);
1034 auto memory = std::make_shared<DfxMemoryTest>();
1035 memory->increaseAddr = true;
1036 DwarfOpTest op(memory);
1050 memory->SetBuffer(exprPtr, opcodes);
1067 auto memory = std::make_shared<DfxMemoryTest>();
1068 memory->increaseAddr = true;
1069 DwarfOpTest op(memory);
1080 memory->SetBuffer(exprPtr, opcodes);
1096 auto memory = std::make_shared<DfxMemoryTest>();
1097 memory->increaseAddr = true;
1098 DwarfOpTest op(memory);
1113 memory->SetBuffer(exprPtr, opcodes);
1129 auto memory = std::make_shared<DfxMemoryTest>();
1130 memory->increaseAddr = true;
1131 DwarfOpTest op(memory);
1147 memory->SetBuffer(exprPtr, opcodes);
1165 auto memory = std::make_shared<DfxMemory>();
1169 bool ret = instructions->Flush(*(regs.get()), memory, 0, loc, val);
1175 ret = instructions->Flush(*(regs.get()), memory, 0, loc, val);
1178 ret = instructions->Flush(*(regs.get()), memory, 0, loc, val);
1181 ret = instructions->Flush(*(regs.get()), memory, 0, loc, val);
1184 ret = instructions->Flush(*(regs.get()), memory, 0, loc, val);
1187 ret = instructions->Flush(*(regs.get()), memory, 0, loc, val);
1209 auto memory = std::make_shared<DfxMemory>();
1211 bool cur = memory->ReadString(addr, nullptr, 0, false);
1213 uintptr_t val = memory->ReadEncodedValue(addr, DW_EH_PE_omit);