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

Unified Diff: src/google_breakpad/processor/minidump.h

Issue 1291603002: Add check for executable stack/heap when rating Linux exploitability. (Closed) Base URL: http://google-breakpad.googlecode.com/svn/trunk/
Patch Set: Created 5 years, 4 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
« no previous file with comments | « no previous file | src/processor/exploitability_linux.h » ('j') | src/processor/exploitability_linux.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/google_breakpad/processor/minidump.h
===================================================================
--- src/google_breakpad/processor/minidump.h (revision 1481)
+++ src/google_breakpad/processor/minidump.h (working copy)
@@ -914,6 +914,9 @@
public:
virtual ~MinidumpLinuxMapsList();
+ // Get number of mappings.
+ unsigned int mapping_count() const { return valid_ ? maps_count_ : 0; }
ivanpe 2015/08/12 00:26:23 Getter should match the name of the variable: http
liuandrew 2015/08/14 22:43:36 Done.
+
// Get mapping at the given memory address. The caller owns the pointer.
const MinidumpLinuxMaps *GetLinuxMapsForAddress(uint64_t address) const;
// Get mapping at the given index. The caller owns the pointer.
« no previous file with comments | « no previous file | src/processor/exploitability_linux.h » ('j') | src/processor/exploitability_linux.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698