Searched refs:memory2 (Results 1 – 1 of 1) sorted by relevance
422 uint8_t* memory2; in RunCmpBufferOverreadTest() local423 ASSERT_TRUE(posix_memalign(reinterpret_cast<void**>(&memory2), pagesize, in RunCmpBufferOverreadTest()425 memset(memory2, 0x23, 2*pagesize); in RunCmpBufferOverreadTest()428 ASSERT_TRUE(MprotectHeap(&memory2[pagesize], pagesize, PROT_NONE) == 0); in RunCmpBufferOverreadTest()432 uint8_t* buf2 = &memory2[pagesize-i]; in RunCmpBufferOverreadTest()450 uint8_t* buf2 = &memory2[pagesize-j]; in RunCmpBufferOverreadTest()457 ASSERT_TRUE(MprotectHeap(&memory2[pagesize], pagesize, PROT_READ | PROT_WRITE) == 0); in RunCmpBufferOverreadTest()459 free(memory2); in RunCmpBufferOverreadTest()