Home
last modified time | relevance | path

Searched refs:memmem (Results 1 – 14 of 14) sorted by relevance

/llvm-project-15.0.7/compiler-rt/test/asan/TestCases/Linux/
H A Dmemmem_test.cpp12 res = memmem(a1, sizeof(a1) + 1, a2, sizeof(a2)); // BOOM in main()
14 res = memmem(a1, sizeof(a1), a2, sizeof(a2) + 1); // BOOM in main()
/llvm-project-15.0.7/compiler-rt/test/fuzzer/
H A DStrstrTest.cpp15 #define memmem(a, b, c, d) true macro
23 memmem(s.data(), s.size(), "kuku", 4) in LLVMFuzzerTestOneInput()
H A Dmagic-separator.test1 # Temporary disable this test on non-linux: looks like there is no memmem on windows.
H A DMagicSeparatorTest.cpp27 while (const uint8_t *Pos = (const uint8_t *)memmem(Beg, End - Beg, in SplitInput()
/llvm-project-15.0.7/compiler-rt/lib/fuzzer/
H A DFuzzerInterceptors.cpp149 DEFINE_REAL(void *, memmem, const void *, size_t, const void *, size_t) in DEFINE_REAL()
213 void *memmem(const void *s1, size_t len1, const void *s2, size_t len2) { in memmem() function
215 void *result = REAL(memmem)(s1, len1, s2, len2); in memmem()
247 REAL(memmem) = reinterpret_cast<memmem_type>( in fuzzerInit()
248 getFuncAddr("memmem", reinterpret_cast<uintptr_t>(&memmem))); in fuzzerInit()
H A DFuzzerUtilPosix.cpp175 return memmem(Data, DataLen, Patt, PattLen); in SearchMemory()
H A DFuzzerUtilFuchsia.cpp539 return memmem(Data, DataLen, Patt, PattLen); in SearchMemory()
H A DFuzzerFlags.def107 "Use hints from intercepting memmem, strstr, etc")
/llvm-project-15.0.7/compiler-rt/test/sanitizer_common/TestCases/Posix/
H A Dweak_hook_test.cpp89 ptr_sink = memmem(s1, sizeof(s1), s2, sizeof(s2)); in main()
/llvm-project-15.0.7/clang/test/Analysis/
H A Dtaint-generic.c670 void *memmem(const void *haystack, size_t haystacklen, const void *needle, size_t needlelen);
675 char *result = memmem(haystack, 9, needle, needlelen); in testMemmem()
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_flags.inc235 "If set, uses a wrapper for memmem() to find more errors.")
H A Dsanitizer_common_interceptors.inc752 INTERCEPTOR(void*, memmem, const void *s1, SIZE_T len1, const void *s2,
755 COMMON_INTERCEPTOR_ENTER(ctx, memmem, s1, len1, s2, len2);
756 void *r = REAL(memmem)(s1, len1, s2, len2);
766 #define INIT_MEMMEM COMMON_INTERCEPT_FUNCTION(memmem);
/llvm-project-15.0.7/clang/docs/analyzer/
H A Dcheckers.rst2393 …locked``, ``getdelim``, ``getline``, ``getw``, ``memcmp``, ``memcpy``, ``memmem``, ``memmove``, ``…
/llvm-project-15.0.7/compiler-rt/lib/dfsan/
H A Dlibc_ubuntu1404_abilist.txt2273 fun:memmem=uninstrumented