Skip to content

Commit 9dc63d8

Browse files
committed
fix(msvc_rtti): wrong typedescriptor, unchecked by default
1 parent 3be61b4 commit 9dc63d8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

compilers/rtti/msvc/msvc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ static bool _rtti_msvc_check_completeobjectlocator_v1(
197197
rd_library_type(ctx, typedescriptor_name, "char", n + 1, RD_TYPE_NONE);
198198
rd_library_type(ctx, cd_va, "RTTI_ClassHierarchyDescriptor", 0,
199199
RD_TYPE_NONE);
200-
rd_library_type(ctx, td_va, "RTTI_TypeDescriptor64", 0, RD_TYPE_NONE);
200+
rd_library_type(ctx, td_va, "RTTI_TypeDescriptor", 0, RD_TYPE_NONE);
201201

202202
if(rd_reader_has_error(r)) {
203203
rd_free(classtag);
@@ -451,7 +451,7 @@ const RDAnalyzerPlugin RTTI_MSVC = {
451451
.level = RD_API_LEVEL,
452452
.id = "compiler_rtti_msvc",
453453
.name = "Decode MSVC RTTI",
454-
.flags = RD_AF_SELECTED | RD_AF_RUNONCE,
454+
.flags = RD_AF_RUNONCE,
455455
.order = 1000,
456456
.execute = rtti_msvc_execute,
457457
};

0 commit comments

Comments
 (0)