Lines Matching refs:interface
127 ASSERT_TRUE(elf.interface() == nullptr);
174 ASSERT_TRUE(elf.interface() != nullptr);
186 ASSERT_TRUE(elf.interface() != nullptr);
198 ASSERT_TRUE(elf.interface() != nullptr);
210 ASSERT_TRUE(elf.interface() != nullptr);
222 ASSERT_TRUE(elf.interface() != nullptr);
234 ASSERT_TRUE(elf.interface() != nullptr);
245 ASSERT_TRUE(elf.interface() != nullptr);
247 EXPECT_EQ(0x1acU, elf.interface()->gnu_debugdata_offset());
248 EXPECT_EQ(0x100U, elf.interface()->gnu_debugdata_size());
259 ASSERT_TRUE(elf.interface() != nullptr);
261 EXPECT_EQ(0x200U, elf.interface()->gnu_debugdata_offset());
262 EXPECT_EQ(0x100U, elf.interface()->gnu_debugdata_size());
273 ASSERT_TRUE(elf.interface() != nullptr);
275 EXPECT_EQ(0x1acU, elf.interface()->gnu_debugdata_offset());
276 EXPECT_EQ(0x8cU, elf.interface()->gnu_debugdata_size());
287 ASSERT_TRUE(elf.interface() != nullptr);
289 EXPECT_EQ(0x200U, elf.interface()->gnu_debugdata_offset());
290 EXPECT_EQ(0x90U, elf.interface()->gnu_debugdata_size());
296 ElfInterfaceFake* interface = new ElfInterfaceFake(memory_);
297 elf.FakeSetInterface(interface);
320 ElfInterfaceFake* interface = new ElfInterfaceFake(memory_);
321 elf.FakeSetInterface(interface);
365 ElfInterfaceMock* interface = new ElfInterfaceMock(memory_);
366 elf.FakeSetInterface(interface);
370 EXPECT_CALL(*interface, Step(0x1000, 0, ®s, &process_memory, &finished))
383 ElfInterfaceMock* interface = new ElfInterfaceMock(memory_);
384 elf.FakeSetInterface(interface);
388 EXPECT_CALL(*interface, Step(0x7300, 0x4000, ®s, &process_memory, &finished))
408 ElfInterfaceMock* interface = new ElfInterfaceMock(memory_);
409 elf.FakeSetInterface(interface);
413 EXPECT_CALL(*interface, GetGlobalVariable(global, &offset)).WillOnce(::testing::Return(false));
423 ElfInterfaceMock* interface = new ElfInterfaceMock(memory_);
424 elf.FakeSetInterface(interface);
428 EXPECT_CALL(*interface, GetGlobalVariable(global, &offset))
439 ElfInterfaceMock* interface = new ElfInterfaceMock(memory_);
440 elf.FakeSetInterface(interface);
447 EXPECT_CALL(*interface, GetGlobalVariable(global, &offset)).WillOnce(::testing::Return(false));
461 ElfInterfaceMock* interface = new ElfInterfaceMock(memory_);
462 elf.FakeSetInterface(interface);
466 EXPECT_CALL(*interface, GetGlobalVariable(global, &offset))
478 ElfInterfaceMock* interface = new ElfInterfaceMock(memory_);
479 elf.FakeSetInterface(interface);
483 EXPECT_CALL(*interface, GetGlobalVariable(global, &offset))
495 ElfInterfaceMock* interface = new ElfInterfaceMock(memory_);
496 interface->MockSetDynamicOffset(0x400);
497 interface->MockSetDynamicVaddr(0x800);
498 interface->MockSetDynamicSize(0x100);
499 elf.FakeSetInterface(interface);
503 EXPECT_CALL(*interface, GetGlobalVariable(global, &offset))
515 ElfInterfaceMock* interface = new ElfInterfaceMock(memory_);
516 interface->MockSetDynamicOffset(0x1000);
517 interface->MockSetDynamicVaddr(0x800);
518 interface->MockSetDynamicSize(0x100);
519 elf.FakeSetInterface(interface);
523 EXPECT_CALL(*interface, GetGlobalVariable(global, &offset))
544 ElfInterfaceMock* interface = new ElfInterfaceMock(memory_);
545 elf.FakeSetInterface(interface);
547 EXPECT_CALL(*interface, IsValidPc(0x1500)).WillOnce(::testing::Return(true));
557 ElfInterfaceMock* interface = new ElfInterfaceMock(memory_);
558 elf.FakeSetInterface(interface);
560 interface, IsValidPc(0x500)).WillOnce(::testing::Return(true));
572 ElfInterfaceMock* interface = new ElfInterfaceMock(memory_);
573 elf.FakeSetInterface(interface);
577 EXPECT_CALL(*interface, IsValidPc(0x1500)).WillOnce(::testing::Return(false));
596 ElfInterfaceFake* interface = new ElfInterfaceFake(memory_);
597 elf.FakeSetInterface(interface);
598 interface->FakeSetErrorCode(ERROR_MEMORY_INVALID);
599 interface->FakeSetErrorAddress(0x1000);