mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2025-12-26 01:05:07 +01:00
Add check for executable stack/heap when rating Linux exploitability.
This CL also consequentially adds a public method to get the number of mappings in a Linux minidump. R=ivanpe@chromium.org Review URL: https://codereview.chromium.org/1291603002 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1488 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
ab5ffb8b6c
commit
e3687f92c2
6 changed files with 33 additions and 3 deletions
|
|
@ -916,6 +916,9 @@ class MinidumpLinuxMapsList : public MinidumpStream {
|
|||
public:
|
||||
virtual ~MinidumpLinuxMapsList();
|
||||
|
||||
// Get number of mappings.
|
||||
unsigned int get_maps_count() const { return valid_ ? maps_count_ : 0; }
|
||||
|
||||
// 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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue