diff options
author | mmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2006-10-26 00:27:00 +0000 |
---|---|---|
committer | mmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2006-10-26 00:27:00 +0000 |
commit | aa57b8e3dedd3cdc9f627cddae9c80b285d5a39b (patch) | |
tree | 0e39dd90f4ec347208672bf2fefae21b47ad0eaa | |
parent | Fix minor style problems (#58). r=bryner (diff) | |
download | breakpad-aa57b8e3dedd3cdc9f627cddae9c80b285d5a39b.tar.xz |
Add MDString to minidump_format.h (#59). r=bryner
http://groups.google.com/group/airbag-dev/browse_thread/thread/599a47765598cf34
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@50 4c0a9323-5329-0410-9bdc-e9ce6186880e
-rw-r--r-- | src/processor/minidump_format.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/processor/minidump_format.h b/src/processor/minidump_format.h index ef223754..b873755f 100644 --- a/src/processor/minidump_format.h +++ b/src/processor/minidump_format.h @@ -488,6 +488,13 @@ typedef enum { typedef struct { + u_int32_t length; /* Length of buffer in bytes (not characters), + * excluding 0-terminator */ + u_int16_t buffer[0]; /* UTF-16-encoded, 0-terminated */ +} MDString; /* MINIDUMP_STRING */ + + +typedef struct { u_int32_t thread_id; u_int32_t suspend_count; u_int32_t priority_class; @@ -509,7 +516,7 @@ typedef struct { u_int32_t size_of_image; u_int32_t checksum; /* 0 if unknown */ u_int32_t time_date_stamp; /* time_t */ - MDRVA module_name_rva; /* Pathname or filename, UTF-16 */ + MDRVA module_name_rva; /* MDString, pathname or filename */ MDVSFixedFileInfo version_info; /* The next field stores a CodeView record and is populated when a module's @@ -863,7 +870,7 @@ typedef struct { u_int32_t minor_version; u_int32_t build_number; u_int32_t platform_id; - MDRVA csd_version_rva; /* UTF-16 string further identifying the + MDRVA csd_version_rva; /* MDString further identifying the * host OS. * Windows: name of the installed OS * service pack. |