Home
last modified time | relevance | path

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

/aosp12/system/unwinding/libunwindstack/tests/
H A DUnwinderTest.cpp67 ElfInterfaceFake* interface; in SetUpTestSuite()
71 interface = new ElfInterfaceFake(nullptr); in SetUpTestSuite()
82 elf->FakeSetInterface(new ElfInterfaceFake(nullptr)); in SetUpTestSuite()
86 elf->FakeSetInterface(new ElfInterfaceFake(nullptr)); in SetUpTestSuite()
90 elf->FakeSetInterface(new ElfInterfaceFake(nullptr)); in SetUpTestSuite()
94 interface = new ElfInterfaceFake(nullptr); in SetUpTestSuite()
107 elf->FakeSetInterface(new ElfInterfaceFake(nullptr)); in SetUpTestSuite()
113 elf->FakeSetInterface(new ElfInterfaceFake(nullptr)); in SetUpTestSuite()
119 elf->FakeSetInterface(new ElfInterfaceFake(nullptr)); in SetUpTestSuite()
145 interface = new ElfInterfaceFake(nullptr); in SetUpTestSuite()
[all …]
H A DElfFake.cpp33 std::deque<FunctionData> ElfInterfaceFake::functions_;
34 std::deque<StepData> ElfInterfaceFake::steps_;
36 bool ElfInterfaceFake::GetFunctionName(uint64_t, SharedString* name, uint64_t* offset) { in GetFunctionName()
47 bool ElfInterfaceFake::GetGlobalVariable(const std::string& global, uint64_t* offset) { in GetGlobalVariable()
56 bool ElfInterfaceFake::Step(uint64_t, Regs* regs, Memory*, bool* finished, bool* is_signal_frame) { in Step()
H A DElfFake.h67 class ElfInterfaceFake : public ElfInterface {
69 ElfInterfaceFake(Memory* memory) : ElfInterface(memory) {} in ElfInterfaceFake() function
70 virtual ~ElfInterfaceFake() = default;
H A DElfTest.cpp295 ElfInterfaceFake* interface = new ElfInterfaceFake(memory_); in TEST_F()
314 ElfInterfaceFake* interface = new ElfInterfaceFake(memory_); in VerifyStepIfSignalHandler()
543 ElfInterfaceFake* interface = new ElfInterfaceFake(memory_); in TEST_F()
H A DMapInfoTest.cpp63 ElfInterfaceFake* interface = new ElfInterfaceFake(nullptr); in TEST()
H A DMapInfoGetBuildIDTest.cpp50 elf_interface_ = new ElfInterfaceFake(memory_); in SetUp()
63 ElfInterfaceFake* elf_interface_;
H A DDexFilesTest.cpp45 ElfInterfaceFake* interface = new ElfInterfaceFake(memory); in CreateFakeElf()
H A DRegsTest.cpp42 elf_interface_ = new ElfInterfaceFake(elf_->memory()); in SetUp()
46 ElfInterfaceFake* elf_interface_;
H A DJitDebugTest.cpp43 ElfInterfaceFake* interface = new ElfInterfaceFake(memory); in CreateFakeElf()
H A DElfInterfaceTest.cpp1956 ElfInterfaceFake interface(nullptr); in TEST_F()
/aosp12/system/unwinding/libunwindstack/tests/fuzz/
H A DUnwinderComponentCreator.cpp73 void ElfPushFakeFunctionData(FuzzedDataProvider* data_provider, ElfInterfaceFake* elf) { in ElfPushFakeFunctionData()
81 ElfInterfaceFake::FakePushFunctionData(FunctionData(func_name, i)); in ElfPushFakeFunctionData()
91 ElfInterfaceFake::FakePushStepData(StepData(pc, sp, finished)); in ElfPushFakeStepData()
100 ElfInterfaceFake* interface_fake = new ElfInterfaceFake(nullptr); in PopulateElfFake()
113 ElfInterfaceFake::FakeClear(); in PopulateElfFake()
H A DUnwinderComponentCreator.h47 using unwindstack::ElfInterfaceFake;