Lines Matching refs:interface

130   ASSERT_TRUE(elf.interface() == nullptr);  in TEST_F()
201 ASSERT_TRUE(elf.interface() != nullptr); in TEST_F()
213 ASSERT_TRUE(elf.interface() != nullptr); in TEST_F()
225 ASSERT_TRUE(elf.interface() != nullptr); in TEST_F()
237 ASSERT_TRUE(elf.interface() != nullptr); in TEST_F()
249 ASSERT_TRUE(elf.interface() != nullptr); in TEST_F()
261 ASSERT_TRUE(elf.interface() != nullptr); in TEST_F()
272 ASSERT_TRUE(elf.interface() != nullptr); in TEST_F()
274 EXPECT_EQ(0x1acU, elf.interface()->gnu_debugdata_offset()); in TEST_F()
275 EXPECT_EQ(0x8cU, elf.interface()->gnu_debugdata_size()); in TEST_F()
286 ASSERT_TRUE(elf.interface() != nullptr); in TEST_F()
288 EXPECT_EQ(0x200U, elf.interface()->gnu_debugdata_offset()); in TEST_F()
289 EXPECT_EQ(0x90U, elf.interface()->gnu_debugdata_size()); in TEST_F()
295 ElfInterfaceFake* interface = new ElfInterfaceFake(memory_); in TEST_F() local
296 elf.FakeSetInterface(interface); in TEST_F()
314 ElfInterfaceFake* interface = new ElfInterfaceFake(memory_); in VerifyStepIfSignalHandler() local
315 elf.FakeSetInterface(interface); in VerifyStepIfSignalHandler()
370 ElfInterfaceMock* interface = new ElfInterfaceMock(memory_); in TEST_F() local
371 elf.FakeSetInterface(interface); in TEST_F()
376 EXPECT_CALL(*interface, Step(0x1000, &regs, &process_memory, &finished, &is_signal_frame)) in TEST_F()
395 ElfInterfaceMock* interface = new ElfInterfaceMock(memory_); in TEST_F() local
396 elf.FakeSetInterface(interface); in TEST_F()
399 EXPECT_CALL(*interface, GetGlobalVariable(global, ::testing::_)) in TEST_F()
410 ElfInterfaceMock* interface = new ElfInterfaceMock(memory_); in TEST_F() local
411 elf.FakeSetInterface(interface); in TEST_F()
414 EXPECT_CALL(*interface, GetGlobalVariable(global, ::testing::_)) in TEST_F()
425 ElfInterfaceMock* interface = new ElfInterfaceMock(memory_); in TEST_F() local
426 elf.FakeSetInterface(interface); in TEST_F()
427 interface->MockSetDataVaddrStart(0x500); in TEST_F()
428 interface->MockSetDataVaddrEnd(0x600); in TEST_F()
429 interface->MockSetDataOffset(0xa000); in TEST_F()
432 EXPECT_CALL(*interface, GetGlobalVariable(global, ::testing::_)) in TEST_F()
444 ElfInterfaceMock* interface = new ElfInterfaceMock(memory_); in TEST_F() local
445 elf.FakeSetInterface(interface); in TEST_F()
446 interface->MockSetDataVaddrStart(0x500); in TEST_F()
447 interface->MockSetDataVaddrEnd(0x600); in TEST_F()
448 interface->MockSetDataOffset(0xa000); in TEST_F()
450 interface->MockSetDynamicVaddrStart(0x800); in TEST_F()
451 interface->MockSetDynamicVaddrEnd(0x900); in TEST_F()
452 interface->MockSetDynamicOffset(0xc000); in TEST_F()
455 EXPECT_CALL(*interface, GetGlobalVariable(global, ::testing::_)) in TEST_F()
468 ElfInterfaceMock* interface = new ElfInterfaceMock(memory_); in TEST_F() local
469 elf.FakeSetInterface(interface); in TEST_F()
470 interface->MockSetDataVaddrStart(0x500); in TEST_F()
471 interface->MockSetDataVaddrEnd(0x600); in TEST_F()
472 interface->MockSetDataOffset(0xa000); in TEST_F()
475 EXPECT_CALL(*interface, GetGlobalVariable(global, ::testing::_)) in TEST_F()
489 ElfInterfaceMock* interface = new ElfInterfaceMock(memory_); in TEST_F() local
490 elf.FakeSetInterface(interface); in TEST_F()
491 interface->MockSetDataVaddrStart(0x8800000000000500); in TEST_F()
492 interface->MockSetDataVaddrEnd(0x8800000000000600); in TEST_F()
493 interface->MockSetDataOffset(0x880000000000a000); in TEST_F()
496 EXPECT_CALL(*interface, GetGlobalVariable(global, ::testing::_)) in TEST_F()
517 ElfInterfaceMock* interface = new ElfInterfaceMock(memory_); in TEST_F() local
518 elf.FakeSetInterface(interface); in TEST_F()
520 EXPECT_CALL(*interface, IsValidPc(0x1500)).WillOnce(::testing::Return(true)); in TEST_F()
529 ElfInterfaceMock* interface = new ElfInterfaceMock(memory_); in TEST_F() local
530 elf.FakeSetInterface(interface); in TEST_F()
534 EXPECT_CALL(*interface, IsValidPc(0x1500)).WillOnce(::testing::Return(false)); in TEST_F()
543 ElfInterfaceFake* interface = new ElfInterfaceFake(memory_); in TEST_F() local
544 elf.FakeSetInterface(interface); in TEST_F()
545 interface->FakeSetErrorCode(ERROR_MEMORY_INVALID); in TEST_F()
546 interface->FakeSetErrorAddress(0x1000); in TEST_F()