Home
last modified time | relevance | path

Searched refs:SafeReadLink (Results 1 – 11 of 11) sorted by relevance

/external/google-breakpad/src/common/linux/
Dsafe_readlink_unittest.cc35 using google_breakpad::SafeReadLink;
39 EXPECT_FALSE(SafeReadLink("/proc/self/exe", buffer, 0)); in TEST()
44 EXPECT_FALSE(SafeReadLink("/proc/self/exe", buffer, 1)); in TEST()
49 EXPECT_TRUE(SafeReadLink("/proc/self/exe", buffer, sizeof(buffer))); in TEST()
56 EXPECT_TRUE(SafeReadLink("/proc/self/exe", buffer2, path_length + 1)); in TEST()
61 EXPECT_FALSE(SafeReadLink("/proc/self/exe", buffer, path_length)); in TEST()
66 EXPECT_FALSE(SafeReadLink("nonexistent_path", buffer, sizeof(buffer))); in TEST()
71 EXPECT_TRUE(SafeReadLink("/proc/self/exe", actual_path, sizeof(actual_path))); in TEST()
74 EXPECT_FALSE(SafeReadLink(actual_path, buffer, sizeof(buffer))); in TEST()
80 EXPECT_TRUE(SafeReadLink("/proc/self/exe", buffer_pointer, sizeof(buffer))); in TEST()
[all …]
Dsafe_readlink.h54 bool SafeReadLink(const char* path, char* buffer, size_t buffer_size);
59 bool SafeReadLink(const char* path, char (&buffer)[N]) { in SafeReadLink() function
60 return SafeReadLink(path, buffer, sizeof(buffer)); in SafeReadLink()
Dsafe_readlink.cc39 bool SafeReadLink(const char* path, char* buffer, size_t buffer_size) { in SafeReadLink() function
Dfile_id_unittest.cc50 using google_breakpad::SafeReadLink;
77 ASSERT_TRUE(SafeReadLink("/proc/self/exe", exe_name)); in TEST()
/external/google-breakpad/src/client/linux/minidump_writer/
Dminidump_writer_unittest_utils.cc50 if (!SafeReadLink("/proc/self/exe", self_path)) { in GetHelperBinary()
Dlinux_dumper.cc456 if (!SafeReadLink(exe_link, new_path)) in HandleDeletedFileInMapping()
Dlinux_ptrace_dumper_unittest.cc330 ASSERT_TRUE(SafeReadLink("/proc/self/exe", exe_name)); in TEST_F()
/external/google-breakpad/src/processor/testdata/symbols/null_read_av/7B7D1968FF0D47AE4366E9C3A7E1B6750/
Dnull_read_av.sym5356 FUNC eee0 3a 0 google_breakpad::SafeReadLink(char const*, char*, unsigned long)
/external/google-breakpad/src/processor/testdata/symbols/overflow/B0E1FC01EF48E39CAF5C881D2DF0C3840/
Doverflow.sym5426 FUNC f440 3a 0 google_breakpad::SafeReadLink(char const*, char*, unsigned long)
/external/google-breakpad/src/processor/testdata/symbols/microdump/breakpad_unittests/DA7778FB66018A4E9B4110ED06E730D00/
Dbreakpad_unittests.sym31976 FUNC 48af2 32 0 google_breakpad::SafeReadLink
/external/google-breakpad/src/processor/testdata/symbols/microdump/breakpad_unittests/D6D1FEC9A15DE7F38A236898871A2E770/
Dbreakpad_unittests.sym33610 FUNC 6d054 7c 0 google_breakpad::SafeReadLink