Eric Pouech : dbghelp,winedump: Added support for symbol 0x113a.

Alexandre Julliard julliard at winehq.org
Wed Oct 1 14:09:10 CDT 2008


Module: wine
Branch: master
Commit: ee4aaf7fcd941aa157d81c95e3c4b0c86d8c9fdd
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=ee4aaf7fcd941aa157d81c95e3c4b0c86d8c9fdd

Author: Eric Pouech <eric.pouech at orange.fr>
Date:   Mon Sep 29 21:30:48 2008 +0200

dbghelp,winedump: Added support for symbol 0x113a.

---

 dlls/dbghelp/msc.c     |    2 ++
 include/wine/mscvpdb.h |    9 +++++++++
 tools/winedump/msc.c   |    5 +++++
 3 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/dlls/dbghelp/msc.c b/dlls/dbghelp/msc.c
index ff322b7..6ae4fdf 100644
--- a/dlls/dbghelp/msc.c
+++ b/dlls/dbghelp/msc.c
@@ -1725,7 +1725,9 @@ static int codeview_snarf(const struct msc_debug_info* msc_dbg, const BYTE* root
             TRACE("S-Align V1\n");
             break;
 
+        /* the symbols we can safely ignore for now */
         case 0x112c:
+        case S_SECUCOOKIE_V3:
             TRACE("Unsupported symbol id %x\n", sym->generic.id);
             break;
 
diff --git a/include/wine/mscvpdb.h b/include/wine/mscvpdb.h
index 8cfd501..602453e 100644
--- a/include/wine/mscvpdb.h
+++ b/include/wine/mscvpdb.h
@@ -1522,6 +1522,14 @@ union codeview_symbol
         unsigned int            offset;
         unsigned short          segment;
     } ssearch_v1;
+
+    struct
+    {
+        short int               len;
+        short int               id;
+        unsigned int            offset;
+        unsigned int            unknown;
+    } security_cookie_v3;
 };
 
 #define S_COMPILAND_V1  0x0001
@@ -1597,6 +1605,7 @@ union codeview_symbol
 #define S_MSTOOL_V3     0x1116  /* compiler command line options and build information */
 #define S_PUB_FUNC1_V3  0x1125  /* didn't get the difference between the two */
 #define S_PUB_FUNC2_V3  0x1127
+#define S_SECUCOOKIE_V3 0x113A
 
 /* ======================================== *
  *          Line number information
diff --git a/tools/winedump/msc.c b/tools/winedump/msc.c
index 60814c9..44f907e 100644
--- a/tools/winedump/msc.c
+++ b/tools/winedump/msc.c
@@ -1033,6 +1033,11 @@ int codeview_dump_symbols(const void* root, unsigned long size)
             nest_block++;
             break;
 
+        case S_SECUCOOKIE_V3:
+            printf("\tSecurity Cookie V3 @%d unk:%x\n",
+                   sym->security_cookie_v3.offset, sym->security_cookie_v3.unknown);
+            break;
+
         case S_END_V1:
             if (nest_block)
             {




More information about the wine-cvs mailing list