Commit Graph

47 Commits

Author SHA1 Message Date
Nikolay Sivov eab914b968 msvcrt: Move demangler flags to a header and use them. 2013-02-25 10:40:36 +01:00
Francois Gouget fac36c55e9 Assorted typo, spelling, wording and case fixes. 2012-05-15 16:26:43 +02:00
Alexandre Julliard 0c45c8b58e msvcrt: Add support for function namespaces in symbol demangling. 2011-05-15 20:27:15 +02:00
Alexandre Julliard 5d12e970ff msvcrt: Add support for template operators in symbol demangling. 2011-05-15 20:26:36 +02:00
Alexandre Julliard 5e1b9c149e msvcrt: Add support for __ptr64 attribute in symbol demangling. 2011-05-15 17:39:28 +02:00
Marcus Meissner ecb89ba89e msvcrt: Move side effect out of assert (Coverity). 2011-03-04 16:26:02 +01:00
Eric Pouech d568c2ac56 mscvrt: Fix some undname quirks (space at the end of multi-level templates). 2009-11-18 11:09:34 +01:00
Eric Pouech 6fab1e86f3 msvcrt: In undname functions, no longer use a fixed-size array for storing internal information. 2009-11-16 13:47:22 +01:00
Eric Pouech c65106e1d5 msvcrt: In undname helpers, allow str_array_push to return errors (instead of asserting). 2009-11-16 13:44:15 +01:00
Michael Stefaniuc 109f83614f msvcrt: Avoid using size_t when not neededed. 2009-05-27 15:40:18 +02:00
Alexandre Julliard 82f175e9b5 msvcrt: Replace long by MSVCRT_long. 2009-05-23 11:57:39 +02:00
Andrew Talbot 4c3d27dfee msvcrt: Sign-compare warnings fix. 2008-10-22 13:54:53 +02:00
Eric Pouech f55da6db84 msvcrt: Fixed space in type with double indirection.
Spotted by James Hawkins.
2008-04-29 12:36:44 +02:00
Eric Pouech 2e1775620a msvcrt: undname: correctly handle multi-dimensional arrays.
Based on a patch from Ulrich Küttler.
2008-04-29 12:36:35 +02:00
Eric Pouech a940218c0b msvcrt: Fixed symbol unmangling for template-parameter-?? form, as well as test.
Spotted by James Hawkins.
2008-04-29 12:36:08 +02:00
Andrew Talbot bacd4516d6 msvcrt: Remove unused variable. 2008-04-23 12:23:23 +02:00
Austin English 05faae7b5a Spelling fixes. 2008-04-09 12:07:39 +02:00
Eric Pouech 0920f8e778 msvcrt: symbol undecoration: Really check that we get a template string before making use of it. 2008-01-22 12:07:21 +01:00
Eric Pouech 95cff6c8f9 msvcrt: symbol undecoration: Added support for RTTI types. 2008-01-22 12:07:07 +01:00
Eric Pouech 49ac014d28 msvcrt: symbol undecoration: Added support for thunks. 2008-01-22 12:06:50 +01:00
Eric Pouech 3db08321f4 msvcrt: symbol undecoration: Corrected handling of non static member function modifiers. 2008-01-22 12:06:34 +01:00
Eric Pouech d7c0e274e8 msvcrt: symbol undecoration: Added support for a couple of more calling conventions. 2008-01-22 12:06:04 +01:00
Eric Pouech 056e589556 msvcrt: symbol undecoration: Added support for cointerface. 2008-01-22 12:05:40 +01:00
Eric Pouech 2d2e7c74bb msvcrt: symbol undecoration: Handling of void in template parameters' list. 2008-01-22 12:05:21 +01:00
Eric Pouech 2e47a3a4f8 msvcrt: symbol undecoration: Now correctly parsing the template forms. 2008-01-22 12:05:05 +01:00
Alexandre Julliard 49864b084d msvcrt: Fix demangling of function pointers by maintaining the left/right distinction for type references. 2007-10-10 19:52:16 +02:00
Alexandre Julliard 1b819cbe87 msvcrt: Use a valid parameter array when demangling a template name. 2007-08-14 18:10:53 +02:00
Michael Stefaniuc d7d40b7dd3 msvcrt: Remove superfluous casts of void pointers to other pointer types. 2007-07-04 12:06:58 +02:00
Michael Stefaniuc 590bf1be88 msvcrt: Demangle a C++ mangled string that is only a name with it's template argument list. 2007-04-06 12:31:05 +02:00
Michael Stefaniuc 4718261e9b msvcrt: Move the code to demangle a name with its template argument list out of get_class() and into a separate function. 2007-04-06 12:31:04 +02:00
Alexandre Julliard 24beabfd4e msvcrt: Explicitly specify CDECL calling convention on exported functions. 2006-06-13 11:40:23 +02:00
Andrew Talbot 034fc473ec msvcrt: Write-strings warning fix. 2006-06-07 15:24:18 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
qingdoa daoo 750102d1a3 msvcrt: If caller passes a NULL deallocator to __unDNameEx, don't use it. 2006-04-13 11:23:13 +02:00
Rein Klazes ef9038c761 msvcrt: Fix read beyond end of string in __unDNameEx(). 2006-03-30 21:54:45 +02:00
Eric Pouech f7441f9e1a msvcrt: Some more fixes to name demangling. 2006-03-06 11:37:14 +01:00
Michael Stefaniuc 4758df4687 msvcrt: Misc cleanups in undname.c.
- remove unused argument from functions
- print the pointer in the str_array_push TRACE to be able to distinguish
  the different arrays.
- comment and white space cleanups
2006-02-20 11:18:51 +01:00
Michael Stefaniuc 262a5eec78 msvcrt: Use a separate stack for back references to names
Use a separate array/stack for the back references to names as
sym->stack is used to push temporary strings to it which breaks back
referencing in some occasions (26 symbols in the mfc42 dll).  During
this cleanup get_class() a little bit.
2006-02-20 11:18:04 +01:00
Michael Stefaniuc e367ebbf19 msvcrt: Move code to parse a literal string out of get_class().
unDName: Move the code to parse a literal string from get_class() to a
separate function. Add some error handling to the new function.
2006-02-20 11:17:41 +01:00
Michael Stefaniuc 538d1a1233 msvcrt: Wrap get_class() and get_class_string() for unDName. 2006-02-20 11:16:59 +01:00
Michael Stefaniuc d815b50756 msvcrt: __unDNameEx is not a stub. 2006-02-08 12:42:33 +01:00
Michael Stefaniuc 0df8b0a020 msvcrt: Handle data types B,R,S in C++ symbol demangling. 2006-02-07 12:27:35 +01:00
Eric Pouech ced7436fe9 Ensures, when we cannot demangle the string, to return the mangled
name instead of a NULL pointer.
2005-11-18 12:06:00 +00:00
Uwe Bonnes 6cc66c9925 Undname: Allow more then one coded character in demangle_datatype. 2005-11-14 15:11:39 +00:00
Eric Pouech 0518c164ca Previous fix incorrectly removed all test for strings starting with
'?', this is only valid when undname is called with the 'NO_ARGUMENTS'
flags.
2005-10-26 10:09:05 +00:00
Vijay Kiran Kamuju 9c6a15ce62 Fix msvcrt symbol demangling for non MS symbols. 2005-10-20 13:15:11 +00:00
Eric Pouech 98f94544ac Implemented __unDName and __unDNameEx functions. 2004-11-08 22:10:43 +00:00