Commit befbfec3 authored by Robert Loehning's avatar Robert Loehning Committed by hjk

debugger: Added function to test NULL pointer dereference

This was removed in 8d2f0376

Change-Id: I238ab3d789b0f22fb510cd936a8bf8c07dbb2b8b
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent 18d4d20a
......@@ -2528,6 +2528,11 @@ void testMemoryView()
a[i] = i;
}
void testNullPointerDeref()
{
*(int *)0 = 0;
}
void testEndlessRecursion()
{
testEndlessRecursion();
......@@ -3702,6 +3707,7 @@ int main(int argc, char *argv[])
qregion::testQRegion();
peekandpoke::testPeekAndPoke3();
anon::testAnonymous();
//testNullPointerDeref();
//testEndlessLoop();
//testEndlessRecursion();
testQStack();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment