Searched refs:heap_string (Results 1 - 3 of 3) sorted by relevance
/netbsd-current/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/ |
H A D | gcore.c | 28 static char *heap_string; variable 42 heap_string = (char *) malloc (80); 43 strcpy (heap_string, "I'm a little teapot, short and stout...");
|
/netbsd-current/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.base/ |
H A D | gcore.c | 28 static char *heap_string; variable 42 heap_string = (char *) malloc (80); 43 strcpy (heap_string, "I'm a little teapot, short and stout...");
|
/netbsd-current/sys/external/bsd/compiler_rt/dist/lib/asan/tests/ |
H A D | asan_str_test.cc | 83 char *heap_string = Ident((char*)malloc(length + 1)); local 87 heap_string[i] = 'a'; 90 heap_string[length] = 0; 92 StrLenOOBTestTemplate(heap_string, length, OOBKind::Heap); 95 free(heap_string); 106 wchar_t *heap_string = Ident((wchar_t*)malloc(hello_size)); local 107 memcpy(heap_string, L"Hello, World!", hello_size); 108 EXPECT_EQ(hello_len, Ident(wcslen(heap_string))); 109 EXPECT_DEATH(Ident(wcslen(heap_string + 14)), RightOOBReadMessage(0)); 110 free(heap_string); [all...] |
Completed in 83 milliseconds