summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorsagitario <sagitario@fc51e93f-b9fe-4711-8d8d-3ae870c5f7d8>2009-07-16 18:43:44 (GMT)
committersagitario <sagitario@fc51e93f-b9fe-4711-8d8d-3ae870c5f7d8>2009-07-16 18:43:44 (GMT)
commitf411a2b22100556dbf7c05c9a4382b970e6e8822 (patch)
tree31362bac70f8cc079a6fed3ce4ce9819e0d0c569 /src
parent30d687065dd8a921c3d28c2076fc5b4be32040ee (diff)
downloadcv2pdb-f411a2b22100556dbf7c05c9a4382b970e6e8822.zip
cv2pdb-f411a2b22100556dbf7c05c9a4382b970e6e8822.tar.gz
cv2pdb-f411a2b22100556dbf7c05c9a4382b970e6e8822.tar.bz2
* entries LF_FRIENDCLS, LF_FRIENDFCN, LF_VBCLASS and LF_IVBCLASS written by DMC are now removed
Diffstat (limited to 'src')
-rw-r--r--src/cv2pdb.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/cv2pdb.cpp b/src/cv2pdb.cpp
index 6f241b4..715aaa4 100644
--- a/src/cv2pdb.cpp
+++ b/src/cv2pdb.cpp
@@ -572,6 +572,21 @@ int CV2PDB::addFields(codeview_reftype* dfieldlist, const codeview_reftype* fiel
case LF_FRIENDFCN_V2:
pos += sizeof(fieldtype->friendfcn_v2) + fieldtype->friendfcn_v2.p_name.namelen - 1;
continue;
+ case LF_FRIENDCLS_V1:
+ pos += sizeof(fieldtype->friendcls_v1);
+ continue;
+ case LF_FRIENDCLS_V2:
+ pos += sizeof(fieldtype->friendcls_v2);
+ continue;
+
+ // necessary to convert this info? no data associated with it, so it might not be used
+ case LF_VBCLASS_V1:
+ case LF_IVBCLASS_V1:
+ leaf_len = numeric_leaf(&value, &fieldtype->vbclass_v1.vbpoff);
+ pos += sizeof(fieldtype->vbclass_v1) - sizeof(fieldtype->vbclass_v1.vbpoff) + leaf_len;
+ copylen = numeric_leaf(&value, &fieldtype->vbclass_v1.vbpoff);
+ pos += copylen;
+ continue;
default:
setError("unsupported field entry");