[Bug 34486] __unDName cannot demangle a string and shows error

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Sep 11 06:17:34 CDT 2013


http://bugs.winehq.org/show_bug.cgi?id=34486

--- Comment #3 from Ivan Permyakov <info at vmpsoft.com> 2013-09-11 06:17:34 CDT ---
The original UnDecorateSymbolName from dbhelp.dll returns the following value:
[thunk]:QtConcurrent::IterateKernel<class QList<struct sRenderingChunk
*>::iterator,void>::shouldStartThread`vtordisp{4294967292,8}' (void)

I think that the problem in the function handle_template:

1200 static BOOL handle_template(struct parsed_symbol* sym)
1201 {
1202     const char* name;
1203     const char* args;
1204 
1205     assert(*sym->current == '$');
1206     sym->current++;
1207     if (!(name = get_literal_string(sym))) return FALSE;
1208     if (!(args = get_args(sym, NULL, FALSE, '<', '>'))) return FALSE;
1209     sym->result = str_printf(sym, "%s%s", name, args);
1210     return TRUE;
1211 }

At the beginning of this code sym->current has "$4PPPPPPPM at 7EAA_NXZ" but it
seems that "$4" is the sign of the numer "PPPPPPPM" (-4 = 4294967292) instead
of the literal string "4PPPPPPPM"

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list