diff options
Diffstat (limited to 'src/google_breakpad/processor/minidump.h')
-rw-r--r-- | src/google_breakpad/processor/minidump.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/google_breakpad/processor/minidump.h b/src/google_breakpad/processor/minidump.h index 1ad513df..febdaeb7 100644 --- a/src/google_breakpad/processor/minidump.h +++ b/src/google_breakpad/processor/minidump.h @@ -1260,6 +1260,8 @@ class Minidump { bool swap() const { return valid_ ? swap_ : false; } + bool is_big_endian() const { return valid_ ? is_big_endian_ : false; } + // Print a human-readable representation of the object to stdout. void Print(); @@ -1325,6 +1327,9 @@ class Minidump { // same-endian, this will be false. bool swap_; + // true if the minidump was produced by a big-endian cpu. + bool is_big_endian_; + // Validity of the Minidump structure, false immediately after // construction or after a failed Read(); true following a successful // Read(). |