Lines Matching refs:BacktraceTest
100 void* BacktraceTest::dl_handle_;
101 int (*BacktraceTest::test_level_one_)(int, int, int, int, void (*)(void*), void*);
102 int (*BacktraceTest::test_level_two_)(int, int, int, int, void (*)(void*), void*);
103 int (*BacktraceTest::test_level_three_)(int, int, int, int, void (*)(void*), void*);
104 int (*BacktraceTest::test_level_four_)(int, int, int, int, void (*)(void*), void*);
105 int (*BacktraceTest::test_recursive_call_)(int, void (*)(void*), void*);
106 void (*BacktraceTest::test_get_context_and_wait_)(void*, volatile int*);
107 void (*BacktraceTest::test_signal_action_)(int, siginfo_t*, void*);
108 void (*BacktraceTest::test_signal_handler_)(int);
272 TEST_F(BacktraceTest, local_no_unwind_frames) { in TEST_F() argument
292 TEST_F(BacktraceTest, local_unwind_frames) { in TEST_F() argument
324 TEST_F(BacktraceTest, local_trace) { in TEST_F() argument
379 TEST_F(BacktraceTest, local_trace_ignore_frames) { in TEST_F() argument
383 TEST_F(BacktraceTest, local_max_trace) { in TEST_F() argument
424 TEST_F(BacktraceTest, ptrace_trace) { in TEST_F() argument
438 TEST_F(BacktraceTest, ptrace_max_trace) { in TEST_F() argument
468 TEST_F(BacktraceTest, ptrace_ignore_frames) { in TEST_F() argument
484 EXPECT_NE(BacktraceTest::test_level_one_(1, 2, 3, 4, nullptr, nullptr), 0); in PtraceThreadLevelRun()
505 TEST_F(BacktraceTest, ptrace_threads) { in TEST_F() argument
554 TEST_F(BacktraceTest, thread_current_level) { in TEST_F() argument
567 TEST_F(BacktraceTest, thread_current_max) { in TEST_F() argument
575 EXPECT_NE(BacktraceTest::test_level_one_(1, 2, 3, 4, ThreadSetState, data), 0); in ThreadLevelRun()
579 TEST_F(BacktraceTest, thread_level_trace) { in TEST_F() argument
629 TEST_F(BacktraceTest, thread_ignore_frames) { in TEST_F() argument
666 EXPECT_NE(BacktraceTest::test_recursive_call_(MAX_BACKTRACE_FRAMES + 10, ThreadSetState, data), in ThreadMaxRun()
671 TEST_F(BacktraceTest, thread_max_trace) { in TEST_F() argument
765 TEST_F(BacktraceTest, thread_multiple_dump) { in TEST_F() argument
769 TEST_F(BacktraceTest, thread_multiple_dump_same_map) { in TEST_F() argument
775 TEST_F(BacktraceTest, simultaneous_maps) { in TEST_F() argument
802 TEST_F(BacktraceTest, fillin_erases) { in TEST_F() argument
821 TEST_F(BacktraceTest, format_test) { in TEST_F() argument
992 TEST_F(BacktraceTest, verify_map_remote) { in TEST_F() argument
1092 TEST_F(BacktraceTest, thread_read) { in TEST_F() argument
1143 TEST_F(BacktraceTest, process_read) { in TEST_F() argument
1226 TEST_F(BacktraceTest, check_unreadable_elf_local) { in TEST_F() argument
1268 TEST_F(BacktraceTest, check_unreadable_elf_remote) { in TEST_F() argument
1407 TEST_F(BacktraceTest, unwind_through_unreadable_elf_local) { in TEST_F() argument
1432 TEST_F(BacktraceTest, unwind_through_unreadable_elf_remote) { in TEST_F() argument
1495 TEST_F(BacktraceTest, unwind_thread_doesnt_exist) { in TEST_F() argument
1503 TEST_F(BacktraceTest, local_get_function_name_before_unwind) { in TEST_F() argument
1514 TEST_F(BacktraceTest, remote_get_function_name_before_unwind) { in TEST_F() argument
1609 uint64_t cur_func_offset = reinterpret_cast<uint64_t>(BacktraceTest::test_level_one_) + 1; in UnwindFromDevice()
1658 TEST_F(BacktraceTest, unwind_disallow_device_map_local) { in TEST_F() argument
1672 TEST_F(BacktraceTest, unwind_disallow_device_map_remote) { in TEST_F() argument
1728 ScopedSignalHandler ssh(SIGUSR1, BacktraceTest::test_signal_action_); in UnwindThroughSignal()
1730 BacktraceTest::test_level_one_(1, 2, 3, 4, SetValueAndLoop, const_cast<int*>(&value)); in UnwindThroughSignal()
1732 ScopedSignalHandler ssh(SIGUSR1, BacktraceTest::test_signal_handler_); in UnwindThroughSignal()
1734 BacktraceTest::test_level_one_(1, 2, 3, 4, SetValueAndLoop, const_cast<int*>(&value)); in UnwindThroughSignal()
1835 TEST_F(BacktraceTest, unwind_remote_through_signal_using_handler) { in TEST_F() argument
1839 TEST_F(BacktraceTest, unwind_remote_through_signal_using_action) { in TEST_F() argument
1852 TEST_F(BacktraceTest, unwind_frame_skip_numbering) { in TEST_F() argument
1882 TEST_F(BacktraceTest, check_for_leak_local) { in TEST_F() argument
1886 TEST_F(BacktraceTest, check_for_leak_local_thread) { in TEST_F() argument
1902 TEST_F(BacktraceTest, check_for_leak_remote) { in TEST_F() argument