Index: src/processor/exploitability_unittest.cc |
=================================================================== |
--- src/processor/exploitability_unittest.cc (revision 1471) |
+++ src/processor/exploitability_unittest.cc (working copy) |
@@ -119,6 +119,18 @@ |
ExploitabilityFor("linux_null_dereference.dmp")); |
ASSERT_EQ(google_breakpad::EXPLOITABILITY_HIGH, |
ExploitabilityFor("linux_jmp_to_0.dmp")); |
+ ASSERT_EQ(google_breakpad::EXPLOITABILITY_HIGH, |
+ ExploitabilityFor("linux_inside_elf_header.dmp")); |
+ ASSERT_EQ(google_breakpad::EXPLOITABILITY_HIGH, |
+ ExploitabilityFor("linux_outside_module.dmp")); |
+ ASSERT_EQ(google_breakpad::EXPLOITABILITY_NONE, |
+ ExploitabilityFor("linux_raise_sigabrt.dmp")); |
+ ASSERT_EQ(google_breakpad::EXPLOITABILITY_HIGH, |
+ ExploitabilityFor("linux_in_module_outside_executable_part.dmp")); |
+ ASSERT_EQ(google_breakpad::EXPLOITABILITY_INTERESTING, |
+ ExploitabilityFor("linux_inside_module_exe_region1.dmp")); |
+ ASSERT_EQ(google_breakpad::EXPLOITABILITY_INTERESTING, |
+ ExploitabilityFor("linux_inside_module_exe_region2.dmp")); |
} |
} |