Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
bdd04f5f
Commit
bdd04f5f
authored
Dec 05, 2023
by
Piotr Caban
Committed by
Alexandre Julliard
Dec 05, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Add partial support for managed handle demangling.
parent
5af51ce0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
0 deletions
+26
-0
cpp.c
dlls/msvcrt/tests/cpp.c
+4
-0
undname.c
dlls/msvcrt/undname.c
+22
-0
No files found.
dlls/msvcrt/tests/cpp.c
View file @
bdd04f5f
...
...
@@ -1320,6 +1320,10 @@ static void test_demangle(void)
/* 147 */
{
"?ptititi4@@3PETtititi@@IET1@"
,
"unsigned int const volatile tititi::* __ptr64 const volatile __ptr64 ptititi4"
},
/* 148 */
{
"?ptititi4v@@3RETtititi@@IET1@"
,
"unsigned int const volatile tititi::* __ptr64 const volatile __ptr64 ptititi4v"
},
/* 149 */
{
"?meth@AAA@@QFCEXXZ"
,
"public: void __thiscall AAA::meth(void)volatile __unaligned "
},
/* 150 */
{
"?RegisterModuleUninitializer@<CrtImplementationDetails>@@YAXP$AAVEventHandler@System@@@Z"
,
"void __cdecl <CrtImplementationDetails>::RegisterModuleUninitializer(class System::EventHandler ^)"
},
/* 151 */
{
"?RegisterModuleUninitializer@<CrtImplementationDetails>@@YAXBE$AAVEventHandler@System@@@Z"
,
"void __cdecl <CrtImplementationDetails>::RegisterModuleUninitializer(class System::EventHandler % __ptr64 volatile)"
},
};
int
i
,
num_test
=
ARRAY_SIZE
(
test
);
char
*
name
;
...
...
dlls/msvcrt/undname.c
View file @
bdd04f5f
...
...
@@ -519,6 +519,28 @@ static BOOL get_qualified_type(struct datatype_t *ct, struct parsed_symbol* sym,
ct
->
right
=
NULL
;
ct
->
flags
=
0
;
/* parse managed handle information */
if
(
sym
->
current
[
0
]
==
'$'
&&
sym
->
current
[
1
]
==
'A'
)
{
sym
->
current
+=
2
;
switch
(
qualif
)
{
case
'A'
:
case
'B'
:
ref
=
" %"
;
break
;
case
'P'
:
case
'Q'
:
case
'R'
:
case
'S'
:
ref
=
" ^"
;
break
;
default:
return
FALSE
;
}
}
if
(
get_qualifier
(
sym
,
&
xdt2
,
&
class
))
{
unsigned
mark
=
sym
->
stack
.
num
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment