Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2014-06-11 | Delete temporary string within demangler even in failure cases.gdb-7.8-branchpoint | Andrew Burgess | 1 | -1/+4 | |
A call to demangle_template might allocate storage within a temporary string even if the call to demangle_template eventually returns failure. This will never cause the demangler to crash, but does leak memory, as a result I've not added any tests for this. Calling string_delete is safe, even if nothing is allocated into the string, the string is initialised with string_init, so we know the internal pointers are NULL. libiberty/ChangeLog * cplus-dem.c (do_type): Call string_delete even if the call to demangle_template fails. | |||||
2014-05-28 | cplus-demangler, free resource after a failed call to gnu_special. | Andrew Burgess | 1 | -0/+7 | |
libiberty/ 2014-05-14 Andrew Burgess <aburgess@broadcom.com> * cplus-dmem.c (internal_cplus_demangle): Free any resources allocated by possible previous call to gnu_special. (squangle_mop_up): Reset pointers to NULL after calling free. * testsuite/demangle-expected: New test case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210425 138bc75d-0d04-0410-961f-82ee72b054a4 | |||||
2011-04-20 | merge from gcc | DJ Delorie | 1 | -2/+1 | |
2011-03-25 | merge from gcc | DJ Delorie | 1 | -3/+2 | |
2011-03-04 | 2011-03-04 Michael Snyder <msnyder@vmware.com> | Michael Snyder | 1 | -2/+3 | |
* cplus-dem.c (ada_demangle): Stop memory leak. Also fix a one line indent problem. | |||||
2011-01-03 | merge from gcc | DJ Delorie | 1 | -1/+1 | |
2010-09-27 | merge from gcc | DJ Delorie | 1 | -63/+137 | |
2010-01-11 | merge from gcc | DJ Delorie | 1 | -108/+169 | |
2009-09-23 | merge from gcc | DJ Delorie | 1 | -1/+4 | |
2008-03-13 | merge from gcc | DJ Delorie | 1 | -2/+2 | |
2008-01-23 | 2008-01-23 Thiago Jung Bauermann <bauerman@br.ibm.com> | Ben Elliston | 1 | -12/+20 | |
* cplus-dem.c (demangle_function_name): Changed to return value indicating if a name was correctly demangled. (iterate_demangle_function): Use demangle_function_name return value. | |||||
2006-05-12 | merge from gcc | DJ Delorie | 1 | -1/+1 | |
2005-05-24 | merge from gcc | DJ Delorie | 1 | -39/+29 | |
2005-05-10 | Update the address and phone number of the FSF organization. | Nick Clifton | 1 | -2/+2 | |
2005-03-27 | merge from gcc | DJ Delorie | 1 | -333/+156 | |
2004-11-24 | merge from gcc | DJ Delorie | 1 | -7/+1 | |
2004-01-02 | merge from gcc | DJ Delorie | 1 | -2/+21 | |
2003-10-20 | * cplus-dem.c (demangle_template): Register a new Btype only | Joel Brobecker | 1 | -4/+4 | |
when needed. * testsuite/demangle-expected: Add a new test. | |||||
2003-03-11 | merge from gcc | DJ Delorie | 1 | -23/+26 | |
2003-03-04 | merge from gcc | DJ Delorie | 1 | -0/+9 | |
2003-02-20 | merge from gcc | DJ Delorie | 1 | -1/+1 | |
2003-02-13 | merge from gcc | DJ Delorie | 1 | -15/+16 | |
2002-10-06 | merge from gcc | DJ Delorie | 1 | -10/+8 | |
2002-09-20 | merge from gcc | DJ Delorie | 1 | -2/+2 | |
2002-09-12 | merge from gcc | DJ Delorie | 1 | -334/+0 | |
2002-07-29 | merge from gcc | DJ Delorie | 1 | -2/+0 | |
2002-02-19 | merge from gcc | DJ Delorie | 1 | -2/+9 | |
2002-02-18 | merge from gcc | DJ Delorie | 1 | -5/+16 | |
2002-02-05 | merge from gcc | DJ Delorie | 1 | -7/+4 | |
2002-02-03 | merge from gcc | DJ Delorie | 1 | -1/+5 | |
2002-01-03 | merge from gcc | DJ Delorie | 1 | -1/+1 | |
2002-01-02 | merge from gcc | DJ Delorie | 1 | -27/+8 | |
2001-12-13 | merge from gcc | DJ Delorie | 1 | -0/+3 | |
2001-12-06 | * demangle.h (no_demangling): New. | Richard Henderson | 1 | -0/+10 | |
(NO_DEMANGLING_STYLE_STRING): New. * cplus-dem.c (libiberty_demanglers): Add no_demangling case. (cplus_demangle): Support no_demangling. | |||||
2001-10-17 | merge from gcc | DJ Delorie | 1 | -1/+1 | |
2001-10-07 | merge from gcc | DJ Delorie | 1 | -7/+7 | |
2001-03-20 | merge from gcc | DJ Delorie | 1 | -1/+1 | |
2001-03-05 | merge from gcc | DJ Delorie | 1 | -1/+1 | |
2001-02-17 | merge from gcc | DJ Delorie | 1 | -1/+1 | |
2001-02-02 | merge from gcc | DJ Delorie | 1 | -9/+11 | |
2000-12-08 | * safe-ctype.c: New file. | DJ Delorie | 1 | -32/+33 | |
* Makefile.in (CFILES): Add safe-ctype.c. (REQUIRED_OFILES): Add safe-ctype.o. * argv.c: Define ISBLANK and use it, not isspace. * basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c, strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h. Use uppercase ctype macros. Don't test ISUPPER(c)/ISLOWER(c) before calling TOLOWER(c)/TOUPPER(c). | |||||
2000-12-05 | * cp-demangle.c: s/new_abi/v3/. | DJ Delorie | 1 | -12/+17 | |
* cplus-dem.c: Likewise. (current_demangling_style): Now auto_demangling. (cplus_demangle): Try v3 demangling if AUTO_DEMANGLING. (main): Use standard symbol chars for auto_demangling. | |||||
2000-11-23 | * cplus-dem.c (main): Handle gnat_demangling. | Hans-Peter Nilsson | 1 | -0/+1 | |
2000-11-21 | * cplus-dem.c (cplus_demangle): Fix formatting. | Hans-Peter Nilsson | 1 | -32/+38 | |
(grow_vect): Ditto. (ada_demangle): Ditto. (internal_cplus_demangle): Ditto. (mop_up): Ditto. * cplus-dem.c (main): Handle java_demangling. * cplus-dem.c (grow_vect): Prototype. (ada_demangle): Cast the arg of ctype macros to unsigned char. | |||||
2000-11-16 | * cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for | Hans-Peter Nilsson | 1 | -1/+1 | |
parameter `option'. Do s/cplus_dem.c/cplus-dem.c/g on ChangeLog. | |||||
2000-11-15 | [merge] | DJ Delorie | 1 | -8/+8 | |
* cplus_dem.c: Eliminate use of DEFUN, it is obsolete and cannot be used in GCC. | |||||
2000-11-15 | * cplus_dem.c: Add gnat demangler. Add java to demangle style | Hans-Peter Nilsson | 1 | -0/+148 | |
list. | |||||
2000-10-12 | merge from gcc repository | DJ Delorie | 1 | -14/+13 | |
2000-09-13 | * testsuite/demangle-expected: Add two tests for anonymous | Hans-Peter Nilsson | 1 | -0/+19 | |
namespaces. * cplus-dem.c (gnu_special): Handle anonymous namespaces. | |||||
2000-09-10 | * testsuite/demangle-expected: Add four tests for type_info | Hans-Peter Nilsson | 1 | -1/+1 | |
mangling. * cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type, for a non-template non-qualified type_info function or node. |