Index: src/processor/exploitability_unittest.cc |
=================================================================== |
--- src/processor/exploitability_unittest.cc (revision 1476) |
+++ src/processor/exploitability_unittest.cc (working copy) |
@@ -127,6 +127,18 @@ |
ExploitabilityFor("linux_inside_module_exe_region1.dmp")); |
ASSERT_EQ(google_breakpad::EXPLOITABILITY_INTERESTING, |
ExploitabilityFor("linux_inside_module_exe_region2.dmp")); |
+ ASSERT_EQ(google_breakpad::EXPLOITABILITY_HIGH, |
+ ExploitabilityFor("linux_jmp_to_module_not_exe_region.dmp")); |
+ ASSERT_EQ(google_breakpad::EXPLOITABILITY_HIGH, |
+ ExploitabilityFor("linux_write_to_nonwritable_module.dmp")); |
+ ASSERT_EQ(google_breakpad::EXPLOITABILITY_HIGH, |
+ ExploitabilityFor("linux_write_to_nonwritable_region_math.dmp")); |
+ ASSERT_EQ(google_breakpad::EXPLOITABILITY_HIGH, |
+ ExploitabilityFor("linux_write_to_outside_module.dmp")); |
+ ASSERT_EQ(google_breakpad::EXPLOITABILITY_HIGH, |
+ ExploitabilityFor("linux_write_to_outside_module_via_math.dmp")); |
+ ASSERT_EQ(google_breakpad::EXPLOITABILITY_INTERESTING, |
+ ExploitabilityFor("linux_write_to_under_4k.dmp")); |
} |
} |