Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1208)

Unified Diff: src/processor/exploitability_unittest.cc

Issue 1210493003: Checking location of the instruction pointer to see if it is (Closed) Base URL: http://google-breakpad.googlecode.com/svn/trunk/
Patch Set: Checking location of the instruction pointer to see if it is Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/processor/exploitability_unittest.cc
===================================================================
--- src/processor/exploitability_unittest.cc (revision 1462)
+++ src/processor/exploitability_unittest.cc (working copy)
@@ -113,5 +113,12 @@
ExploitabilityFor("linux_overflow.dmp"));
ASSERT_EQ(google_breakpad::EXPLOITABILITY_HIGH,
ExploitabilityFor("linux_stacksmash.dmp"));
+ ASSERT_EQ(google_breakpad::EXPLOITABILITY_NONE,
+ ExploitabilityFor("linux_divide_by_zero.dmp"));
+ ASSERT_EQ(google_breakpad::EXPLOITABILITY_NONE,
+ ExploitabilityFor("linux_null_dereference.dmp"));
+ ASSERT_EQ(google_breakpad::EXPLOITABILITY_HIGH,
+ ExploitabilityFor("linux_jmp_to_0.dmp"));
+
}
}

Powered by Google App Engine
This is Rietveld 408576698