| /llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/tests/ |
| H A D | wrappers_c_test.cpp | 223 EXPECT_EQ(mallopt(-1000, 1), 0); in TEST() 227 EXPECT_EQ(mallopt(M_PURGE, 0), 1); in TEST() 229 EXPECT_EQ(mallopt(M_DECAY_TIME, 1), 1); in TEST() 230 EXPECT_EQ(mallopt(M_DECAY_TIME, 0), 1); in TEST() 231 EXPECT_EQ(mallopt(M_DECAY_TIME, 1), 1); in TEST() 232 EXPECT_EQ(mallopt(M_DECAY_TIME, 0), 1); in TEST() 235 EXPECT_EQ(mallopt(M_CACHE_COUNT_MAX, 100), 1); in TEST() 236 EXPECT_EQ(mallopt(M_CACHE_SIZE_MAX, 1024 * 1024 * 2), 1); in TEST() 237 EXPECT_EQ(mallopt(M_TSDS_COUNT_MAX, 10), 1); in TEST()
|
| /llvm-project-15.0.7/compiler-rt/test/sanitizer_common/TestCases/Linux/ |
| H A D | mallopt.cpp | 12 int res = mallopt(-42, 0); in main()
|
| /llvm-project-15.0.7/compiler-rt/lib/dfsan/ |
| H A D | dfsan_interceptors.cpp | 108 INTERCEPTOR(int, mallopt, int cmd, int value) { return 0; } in INTERCEPTOR() argument 205 INTERCEPT_FUNCTION(mallopt); in initialize_interceptors()
|
| H A D | done_abilist.txt | 67 fun:mallopt=discard
|
| H A D | libc_ubuntu1404_abilist.txt | 2251 fun:mallopt=uninstrumented
|
| /llvm-project-15.0.7/compiler-rt/lib/scudo/ |
| H A D | scudo_malloc.cpp | 80 INTERCEPTOR_ATTRIBUTE int mallopt(int cmd, int value) { in mallopt() function
|
| /llvm-project-15.0.7/compiler-rt/lib/memprof/ |
| H A D | memprof_malloc_linux.cpp | 127 INTERCEPTOR(int, mallopt, int cmd, int value) { return 0; } in INTERCEPTOR() argument
|
| /llvm-project-15.0.7/compiler-rt/lib/lsan/ |
| H A D | lsan_interceptors.cpp | 179 INTERCEPTOR(int, mallopt, int cmd, int value) { in INTERCEPTOR() argument 182 #define LSAN_MAYBE_INTERCEPT_MALLOPT INTERCEPT_FUNCTION(mallopt)
|
| /llvm-project-15.0.7/compiler-rt/test/dfsan/ |
| H A D | interceptors.c | 80 int r = mallopt(0, 0); in test_mallopt()
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/tests/ |
| H A D | sanitizer_allocator_testlib.cpp | 184 void mallopt() { in mallopt() function
|
| /llvm-project-15.0.7/compiler-rt/lib/hwasan/ |
| H A D | hwasan_allocation_functions.cpp | 170 INTERCEPTOR_ALIAS(int, mallopt, int cmd, int value);
|
| /llvm-project-15.0.7/compiler-rt/lib/asan/ |
| H A D | asan_malloc_linux.cpp | 139 INTERCEPTOR(int, mallopt, int cmd, int value) { in INTERCEPTOR() argument
|
| /llvm-project-15.0.7/llvm/docs/ |
| H A D | ScudoHardenedAllocator.rst | 190 - via the standard ``mallopt`` `API <https://man7.org/linux/man-pages/man3/mallopt.3.html>`_, 257 The following "mallopt" options are available (options are defined in
|
| /llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/ |
| H A D | wrappers_c.inc | 175 INTERFACE WEAK int SCUDO_PREFIX(mallopt)(int param, int value) {
|
| /llvm-project-15.0.7/compiler-rt/lib/msan/ |
| H A D | msan_interceptors.cpp | 264 INTERCEPTOR(int, mallopt, int cmd, int value) { in INTERCEPTOR() argument 267 #define MSAN_MAYBE_INTERCEPT_MALLOPT INTERCEPT_FUNCTION(mallopt)
|