MCPcopy Create free account
hub / github.com/WheretIB/nullc / corrupt

Function corrupt

tests/TestStackRealloc.cpp:359–360  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

357y.y = &x;\r\n\
358auto ref z = y, w = z;\r\n\
359y = nullptr;\r\n\
360void corrupt(){ int[32*1024] e = 0xfeeefeee; } corrupt();\r\n\
361x = 8;\r\n\
362return *Foo(z).y;";
363TEST_RELOCATE("VM stack relocation (auto ref)", testAutoRefStackRelocate, "8");

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected