Lines Matching +full:0 +full:x47
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
26 EXPECT_CALL(Process, ReadMemory(0x47, 1)) in TEST()
27 .WillOnce(Return(ByMove(std::vector<uint8_t>{0xbb}))); in TEST()
28 EXPECT_CALL(Process, WriteMemory(0x47, Trap)).WillOnce(Return(ByMove(1))); in TEST()
29 EXPECT_CALL(Process, ReadMemory(0x47, 1)).WillOnce(Return(ByMove(Trap))); in TEST()
30 EXPECT_THAT_ERROR(Process.SetBreakpoint(0x47, 0, false).ToError(), in TEST()
38 EXPECT_CALL(Process, ReadMemory(0x47, 1)) in TEST()
41 EXPECT_THAT_ERROR(Process.SetBreakpoint(0x47, 0, false).ToError(), in TEST()
51 EXPECT_CALL(Process, ReadMemory(0x47, 1)) in TEST()
52 .WillOnce(Return(ByMove(std::vector<uint8_t>{0xbb}))); in TEST()
53 EXPECT_CALL(Process, WriteMemory(0x47, Trap)) in TEST()
56 EXPECT_THAT_ERROR(Process.SetBreakpoint(0x47, 0, false).ToError(), in TEST()
66 EXPECT_CALL(Process, ReadMemory(0x47, 1)) in TEST()
67 .WillOnce(Return(ByMove(std::vector<uint8_t>{0xbb}))); in TEST()
68 EXPECT_CALL(Process, WriteMemory(0x47, Trap)).WillOnce(Return(ByMove(1))); in TEST()
69 EXPECT_CALL(Process, ReadMemory(0x47, 1)) in TEST()
72 EXPECT_THAT_ERROR(Process.SetBreakpoint(0x47, 0, false).ToError(), in TEST()
80 FakeMemory M{{0, 1, 2, 3, 4, 5, 6, 7, 8, 9}}; in TEST()
86 EXPECT_THAT_ERROR(Process.SetBreakpoint(0x4, 0, false).ToError(), in TEST()
89 Process.ReadMemoryWithoutTrap(0, 10), in TEST()
90 llvm::HasValue(std::vector<uint8_t>{0, 1, 2, 3, 4, 5, 6, 7, 8, 9})); in TEST()
91 EXPECT_THAT_EXPECTED(Process.ReadMemoryWithoutTrap(0, 6), in TEST()
92 llvm::HasValue(std::vector<uint8_t>{0, 1, 2, 3, 4, 5})); in TEST()
105 FakeMemory M({'h', 'e', 'l', 'l', 'o', 0, 'w', 'o'}); in TEST()
112 0x0, &string[0], sizeof(string), bytes_read), in TEST()
121 FakeMemory M({'h', 'e', 'l', 'l', 'o', 0, 'w', 'o'}); in TEST()
128 0x0, &string[0], sizeof(string), bytes_read), in TEST()
138 FakeMemory M({'h', 'e', 'l', 'l', 'o', 0, 'w', 'o'}, string_start); in TEST()
144 EXPECT_THAT_EXPECTED(Process.ReadCStringFromMemory(string_start, &string[0], in TEST()