Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2013 Google Inc. | 1 // Copyright (c) 2013 Google Inc. |
| 2 // All rights reserved. | 2 // All rights reserved. |
| 3 // | 3 // |
| 4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
| 5 // modification, are permitted provided that the following conditions are | 5 // modification, are permitted provided that the following conditions are |
| 6 // met: | 6 // met: |
| 7 // | 7 // |
| 8 // * Redistributions of source code must retain the above copyright | 8 // * Redistributions of source code must retain the above copyright |
| 9 // notice, this list of conditions and the following disclaimer. | 9 // notice, this list of conditions and the following disclaimer. |
| 10 // * Redistributions in binary form must reproduce the above | 10 // * Redistributions in binary form must reproduce the above |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 46 public: | 46 public: |
| 47 ExploitabilityLinux(Minidump *dump, | 47 ExploitabilityLinux(Minidump *dump, |
| 48 ProcessState *process_state); | 48 ProcessState *process_state); |
| 49 | 49 |
| 50 virtual ExploitabilityRating CheckPlatformExploitability(); | 50 virtual ExploitabilityRating CheckPlatformExploitability(); |
| 51 | 51 |
| 52 private: | 52 private: |
| 53 // This method takes the address of the instruction pointer and returns | 53 // This method takes the address of the instruction pointer and returns |
| 54 // whether the instruction pointer lies in a valid instruction region. | 54 // whether the instruction pointer lies in a valid instruction region. |
| 55 bool InstructionPointerInCode(uint64_t instruction_ptr); | 55 bool InstructionPointerInCode(uint64_t instruction_ptr); |
| 56 bool BenignCrashTrigger(const MDRawExceptionStream *raw_exception_stream); | |
|
ivanpe
2015/06/26 18:21:36
Please, add a function description.
liuandrew
2015/06/29 16:13:56
Done.
| |
| 56 }; | 57 }; |
| 57 | 58 |
| 58 } // namespace google_breakpad | 59 } // namespace google_breakpad |
| 59 | 60 |
| 60 #endif // GOOGLE_BREAKPAD_PROCESSOR_EXPLOITABILITY_LINUX_H_ | 61 #endif // GOOGLE_BREAKPAD_PROCESSOR_EXPLOITABILITY_LINUX_H_ |
| OLD | NEW |