From f073540795b917be5068e119a0888814a767b019 Mon Sep 17 00:00:00 2001 From: "Liu.andrew.x@gmail.com" Date: Fri, 21 Aug 2015 16:22:19 +0000 Subject: Add check for Linux minidump ending on bad write for exploitability rating. If a crash occurred as a result to a write to unwritable memory, it is reason to suggest exploitability. The processor checks for a bad write by disassembling the command that caused the crash by piping the raw bytes near the instruction pointer through objdump. This allows the processor to see if the instruction that caused the crash is a write to memory and where the target of the address is located. R=ivanpe@chromium.org Review URL: https://codereview.chromium.org/1273823004 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1497 4c0a9323-5329-0410-9bdc-e9ce6186880e --- .../testdata/linux_jmp_to_module_not_exe_region.dmp | Bin 0 -> 44936 bytes .../testdata/linux_write_to_nonwritable_module.dmp | Bin 0 -> 44944 bytes .../testdata/linux_write_to_nonwritable_region_math.dmp | Bin 0 -> 40848 bytes .../testdata/linux_write_to_outside_module.dmp | Bin 0 -> 44944 bytes .../testdata/linux_write_to_outside_module_via_math.dmp | Bin 0 -> 44944 bytes src/processor/testdata/linux_write_to_under_4k.dmp | Bin 0 -> 44944 bytes 6 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 src/processor/testdata/linux_jmp_to_module_not_exe_region.dmp create mode 100644 src/processor/testdata/linux_write_to_nonwritable_module.dmp create mode 100644 src/processor/testdata/linux_write_to_nonwritable_region_math.dmp create mode 100644 src/processor/testdata/linux_write_to_outside_module.dmp create mode 100644 src/processor/testdata/linux_write_to_outside_module_via_math.dmp create mode 100644 src/processor/testdata/linux_write_to_under_4k.dmp (limited to 'src/processor/testdata') diff --git a/src/processor/testdata/linux_jmp_to_module_not_exe_region.dmp b/src/processor/testdata/linux_jmp_to_module_not_exe_region.dmp new file mode 100644 index 00000000..82e266b2 Binary files /dev/null and b/src/processor/testdata/linux_jmp_to_module_not_exe_region.dmp differ diff --git a/src/processor/testdata/linux_write_to_nonwritable_module.dmp b/src/processor/testdata/linux_write_to_nonwritable_module.dmp new file mode 100644 index 00000000..46456acf Binary files /dev/null and b/src/processor/testdata/linux_write_to_nonwritable_module.dmp differ diff --git a/src/processor/testdata/linux_write_to_nonwritable_region_math.dmp b/src/processor/testdata/linux_write_to_nonwritable_region_math.dmp new file mode 100644 index 00000000..6cf98610 Binary files /dev/null and b/src/processor/testdata/linux_write_to_nonwritable_region_math.dmp differ diff --git a/src/processor/testdata/linux_write_to_outside_module.dmp b/src/processor/testdata/linux_write_to_outside_module.dmp new file mode 100644 index 00000000..2ceeefb6 Binary files /dev/null and b/src/processor/testdata/linux_write_to_outside_module.dmp differ diff --git a/src/processor/testdata/linux_write_to_outside_module_via_math.dmp b/src/processor/testdata/linux_write_to_outside_module_via_math.dmp new file mode 100644 index 00000000..4663d3c2 Binary files /dev/null and b/src/processor/testdata/linux_write_to_outside_module_via_math.dmp differ diff --git a/src/processor/testdata/linux_write_to_under_4k.dmp b/src/processor/testdata/linux_write_to_under_4k.dmp new file mode 100644 index 00000000..a3ddd621 Binary files /dev/null and b/src/processor/testdata/linux_write_to_under_4k.dmp differ -- cgit v1.2.1