Searched refs:heap_string (Results 1 – 1 of 1) sorted by relevance
83 char *heap_string = Ident((char*)malloc(length + 1)); in TEST() local87 heap_string[i] = 'a'; in TEST()90 heap_string[length] = 0; in TEST()92 StrLenOOBTestTemplate(heap_string, length, OOBKind::Heap); in TEST()95 free(heap_string); in TEST()103 wchar_t *heap_string = Ident((wchar_t*)malloc(hello_size)); in TEST() local104 memcpy(heap_string, L"Hello, World!", hello_size); in TEST()105 EXPECT_EQ(hello_len, Ident(wcslen(heap_string))); in TEST()106 EXPECT_DEATH(Ident(wcslen(heap_string + 14)), RightOOBReadMessage(0)); in TEST()107 free(heap_string); in TEST()