Home
last modified time | relevance | path

Searched refs:ElfInterfaceFake (Results 1 – 9 of 9) sorted by relevance

/system/core/libunwindstack/tests/
DUnwinderTest.cpp61 ElfInterfaceFake* interface_fake = new ElfInterfaceFake(nullptr); in SetUpTestCase()
72 elf->FakeSetInterface(new ElfInterfaceFake(nullptr)); in SetUpTestCase()
76 elf->FakeSetInterface(new ElfInterfaceFake(nullptr)); in SetUpTestCase()
80 elf->FakeSetInterface(new ElfInterfaceFake(nullptr)); in SetUpTestCase()
84 ElfInterfaceFake* interface = new ElfInterfaceFake(nullptr); in SetUpTestCase()
99 elf->FakeSetInterface(new ElfInterfaceFake(nullptr)); in SetUpTestCase()
105 elf->FakeSetInterface(new ElfInterfaceFake(nullptr)); in SetUpTestCase()
112 elf->FakeSetInterface(new ElfInterfaceFake(nullptr)); in SetUpTestCase()
118 elf->FakeSetInterface(new ElfInterfaceFake(nullptr)); in SetUpTestCase()
124 elf->FakeSetInterface(new ElfInterfaceFake(nullptr)); in SetUpTestCase()
[all …]
DElfFake.cpp32 std::deque<FunctionData> ElfInterfaceFake::functions_;
33 std::deque<StepData> ElfInterfaceFake::steps_;
35 bool ElfInterfaceFake::GetFunctionName(uint64_t, std::string* name, uint64_t* offset) { in GetFunctionName()
46 bool ElfInterfaceFake::GetGlobalVariable(const std::string& global, uint64_t* offset) { in GetGlobalVariable()
55 bool ElfInterfaceFake::Step(uint64_t, Regs* regs, Memory*, bool* finished) { in Step()
DMapInfoTest.cpp61 ElfInterfaceFake* interface = new ElfInterfaceFake(nullptr); in TEST()
DElfFake.h64 class ElfInterfaceFake : public ElfInterface {
66 ElfInterfaceFake(Memory* memory) : ElfInterface(memory) {} in ElfInterfaceFake() function
67 virtual ~ElfInterfaceFake() = default;
DElfTest.cpp272 ElfInterfaceFake* interface = new ElfInterfaceFake(memory_); in TEST_F()
291 ElfInterfaceFake* interface = new ElfInterfaceFake(memory_); in TEST_F()
524 ElfInterfaceFake* interface = new ElfInterfaceFake(memory_); in TEST_F()
DMapInfoGetBuildIDTest.cpp50 elf_interface_ = new ElfInterfaceFake(memory_); in SetUp()
60 ElfInterfaceFake* elf_interface_;
DDexFilesTest.cpp43 ElfInterfaceFake* interface = new ElfInterfaceFake(memory); in CreateFakeElf()
DRegsTest.cpp42 elf_interface_ = new ElfInterfaceFake(elf_->memory()); in SetUp()
46 ElfInterfaceFake* elf_interface_;
DJitDebugTest.cpp42 ElfInterfaceFake* interface = new ElfInterfaceFake(memory); in CreateFakeElf()