diff options
author | ted.mielczarek <ted.mielczarek@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2009-12-23 17:09:27 +0000 |
---|---|---|
committer | ted.mielczarek <ted.mielczarek@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2009-12-23 17:09:27 +0000 |
commit | 0a5fc5d663054eb836eafc258cc2f6792358e2c9 (patch) | |
tree | eeffa69d84976079078e2c82b510fca0f60e552c /src/client/linux/minidump_writer/linux_dumper.h | |
parent | fix a badly-applied patch, and also re-run automake which I forgot to do (diff) | |
download | breakpad-0a5fc5d663054eb836eafc258cc2f6792358e2c9.tar.xz |
Issue 357: New Linux file_id code doesn't persist across strip. r=agl,nealsid at http://breakpad.appspot.com/49008
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@461 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/client/linux/minidump_writer/linux_dumper.h')
-rw-r--r-- | src/client/linux/minidump_writer/linux_dumper.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/client/linux/minidump_writer/linux_dumper.h b/src/client/linux/minidump_writer/linux_dumper.h index d8e5e783..3e8869b5 100644 --- a/src/client/linux/minidump_writer/linux_dumper.h +++ b/src/client/linux/minidump_writer/linux_dumper.h @@ -37,6 +37,7 @@ #include <sys/user.h> #include "common/linux/memory.h" +#include "google_breakpad/common/minidump_format.h" namespace google_breakpad { @@ -122,6 +123,10 @@ class LinuxDumper { // without any slashes. void BuildProcPath(char* path, pid_t pid, const char* node) const; + // Generate a File ID from the .text section of a mapped entry + bool ElfFileIdentifierForMapping(unsigned int mapping_id, + uint8_t identifier[sizeof(MDGUID)]); + // Utility method to find the location of where the kernel has // mapped linux-gate.so in memory(shows up in /proc/pid/maps as // [vdso], but we can't guarantee that it's the only virtual dynamic |