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

Unified Diff: src/processor/exploitability_linux.h

Issue 1210493003: Checking location of the instruction pointer to see if it is (Closed) Base URL: http://google-breakpad.googlecode.com/svn/trunk/
Patch Set: Checking location of the instruction pointer to see if it is Created 5 years, 6 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.cc » ('j') | src/processor/exploitability_linux.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/processor/exploitability_linux.h
===================================================================
--- src/processor/exploitability_linux.h (revision 1462)
+++ src/processor/exploitability_linux.h (working copy)
@@ -48,6 +48,12 @@
ProcessState *process_state);
virtual ExploitabilityRating CheckPlatformExploitability();
+
+ private:
+ // checks if the instruction pointer lies in a valid instruction region
ivanpe 2015/06/25 20:58:39 Please, start sentences with capital letters and f
+ // this method takes the address of the instruction pointer and returns
+ // whether the address is a valid instruction region
+ bool InstructionPointerInCode(uint64_t instruction_ptr);
};
} // namespace google_breakpad
« no previous file with comments | « no previous file | src/processor/exploitability_linux.cc » ('j') | src/processor/exploitability_linux.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698