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")); |
+ |
} |
} |