#
12be6f12 |
| 10-May-2024 |
Justine Tunney <jtunney@gmail.com> |
Fix memory corruption in C++ demangler
The __cxa_demangle_gnu3() and cpp_demangle_gnu3() functions segfault on various libcxxabi test cases due to a copy and paste error. This change fixes that.
Th
Fix memory corruption in C++ demangler
The __cxa_demangle_gnu3() and cpp_demangle_gnu3() functions segfault on various libcxxabi test cases due to a copy and paste error. This change fixes that.
This is a subset of https://github.com/libcxxrt/libcxxrt/pull/34 which fixes the immediate problem.
Reviewed by: imp, emaste (I think) Pull Request: https://github.com/freebsd/freebsd-src/pull/1222
show more ...
|
Revision tags: release/13.3.0, release/14.0.0, release/13.2.0, release/12.4.0, release/13.1.0, release/12.3.0, release/13.0.0 |
|
#
c2bffd0a |
| 04-Nov-2020 |
Dimitry Andric <dim@FreeBSD.org> |
Merge elftoolchain r3877 (by jkoshy):
Incorporate fixes from Dimitry Andric:
- Use a BUFFER_GROW() macro to avoid rounding errors in capacity calculations. - Fix a bug introduced in [r353
Merge elftoolchain r3877 (by jkoshy):
Incorporate fixes from Dimitry Andric:
- Use a BUFFER_GROW() macro to avoid rounding errors in capacity calculations. - Fix a bug introduced in [r3531]. - Fix handling of nested template parameters.
Ticket: #581
This should fix a number of assertions on elftoolchain's cxxfilt, and allow it to correctly demangle several names that it could not handle before.
Obtained from: https://sourceforge.net/p/elftoolchain/code/3877/ PR: 250702 MFC after: 3 days
show more ...
|
Revision tags: release/12.2.0, release/11.4.0 |
|
#
c364ccf9 |
| 20-Mar-2020 |
Mark Johnston <markj@FreeBSD.org> |
libelftc: Fix a memory leak in cpp_demangle_read_type().
CID: 1305425 MFC after: 1 week Sponsored by: The FreeBSD Foundation
|
#
bc02c18c |
| 07-Feb-2020 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r357408 through r357661.
|
#
334f09a6 |
| 04-Feb-2020 |
Mark Johnston <markj@FreeBSD.org> |
libelftc: Add a missing check for an error from vector_str_init().
While here consistently use the same spelling for such checks.
CID: 1376769 MFC after: 1 week Sponsored by: The FreeBSD Foundation
|
Revision tags: release/12.1.0, release/11.3.0, release/12.0.0, release/11.2.0 |
|
#
715d1396 |
| 27-Apr-2018 |
Ed Maste <emaste@FreeBSD.org> |
Update ELF Tool Chain to r3614
MFC after: 1 week Relnotes: Yes Sponsored by: The FreeBSD Foundation
|
Revision tags: release/10.4.0 |
|
#
531c2d7a |
| 24-Jul-2017 |
Enji Cooper <ngie@FreeBSD.org> |
MFhead@r320180
|
#
bca9d05f |
| 23-Jul-2017 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Merge ^/head r319973 through 321382.
|
Revision tags: release/11.1.0 |
|
#
a3604b95 |
| 27-Jun-2017 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r320042 through r320397.
|
#
18f4c9db |
| 26-Jun-2017 |
Ed Maste <emaste@FreeBSD.org> |
Update to ELF Tool Chain snapshot at r3561
This update is primarily bug fixes in C++ symbol demangling, including:
- rvalue reference - builtin type auto and decltype(auto) - revamped support for f
Update to ELF Tool Chain snapshot at r3561
This update is primarily bug fixes in C++ symbol demangling, including:
- rvalue reference - builtin type auto and decltype(auto) - revamped support for function return types - formatting fixes - omit void when its the only param - ref-qualifiers and others in function types - type qualifiers in pointer-to-member function types - incorrect handling regarding CV-qualifiers in function types - ref-qualifier found in nested-name - properly handle <name> ::= <substitute><template-args> - make sure that nested function name is not a substitute candidate - correctly handle expression in template args - skip unknown substitution abbreviations
MFC after: 4 days
show more ...
|
#
554491ff |
| 20-Apr-2017 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r316992 through r317215.
|
#
bee2765c |
| 18-Apr-2017 |
Ed Maste <emaste@FreeBSD.org> |
Update ELF Tool Chain to upstream r3520
Highlights of changes between r3490 and r3520:
- Improve C++ demangling - Improve compatibility with Binutils tools wrt. error messages - Handle additional t
Update ELF Tool Chain to upstream r3520
Highlights of changes between r3490 and r3520:
- Improve C++ demangling - Improve compatibility with Binutils tools wrt. error messages - Handle additional types/sections/etc. in readelf and elfdump - addr2line, cxxfilt: use setvbuf to set line buffering for filter use
PR: 218395 MFC after: 2 weeks Relnotes: Yes Sponsored by: The FreeBSD Foundation
show more ...
|
Revision tags: release/11.0.1, release/11.0.0 |
|
#
8f1f370d |
| 01-Sep-2016 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r305087 through r305219.
|
#
f8fd1a95 |
| 01-Sep-2016 |
Enji Cooper <ngie@FreeBSD.org> |
MFhead @ r305170
|
#
b6d812d2 |
| 31-Aug-2016 |
Ed Maste <emaste@FreeBSD.org> |
Update to ELF Tool Chain r3490
Improvements include: * readelf: report all relocation types in rel/rela for MIPS N64 * readelf: add ELFOSABI_ARM_AEABI * elfdump: add ELFOSABI_ARM_AEABI and ELFOSA
Update to ELF Tool Chain r3490
Improvements include: * readelf: report all relocation types in rel/rela for MIPS N64 * readelf: add ELFOSABI_ARM_AEABI * elfdump: add ELFOSABI_ARM_AEABI and ELFOSABI_ARM * Add recent RISC-V relocations * elfcopy: use elftc_timestamp, to support SOURCE_DATE_EPOCH
Sponsored by: The FreeBSD Foundation
show more ...
|
#
27067774 |
| 16-Aug-2016 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r303250 through r304235.
|
#
4e359ce1 |
| 25-Jul-2016 |
Ed Maste <emaste@FreeBSD.org> |
libelftc: fix demangling of wchar_t
"wchar_t" is 7 characters long, not 6.
PR: 208661 Submitted by: Daniel McRobb Obtained from: ELF Tool Chain r3480 MFC after: 3 days
|
#
b6b6f9cc |
| 20-May-2016 |
Ed Maste <emaste@FreeBSD.org> |
Update to ELF Tool Chain r3475
Improvements include:
* Add support for reporting and handling a number of new constants in various tools, including: * CloudABI OSABI * DT_TLSDESC_*
Update to ELF Tool Chain r3475
Improvements include:
* Add support for reporting and handling a number of new constants in various tools, including: * CloudABI OSABI * DT_TLSDESC_* * i386, MIPS, SPARC and amd64 relocations
* C++ demangler bug fixes
* Man page updates
* Improved input validation in several tools
This update also reduces diffs against upstream as a number of fixes included in upstream were previously cherry-picked into FreeBSD.
Sponsored by: The FreeBSD Foundation
show more ...
|
Revision tags: release/10.3.0 |
|
#
0fe0fe11 |
| 15-Feb-2016 |
Glen Barber <gjb@FreeBSD.org> |
MFH
Sponsored by: The FreeBSD Foundation
|
#
90a47263 |
| 13-Feb-2016 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r295544 through r295600.
|
#
839529ca |
| 12-Feb-2016 |
Ed Maste <emaste@FreeBSD.org> |
Update ELF Tool Chain to upstream rev 3400
Some notable improvements include:
readelf: - Add AArch64 relocation definitions. - Report value of unknown relocation types.
elfcopy: - Consider symbols
Update ELF Tool Chain to upstream rev 3400
Some notable improvements include:
readelf: - Add AArch64 relocation definitions. - Report value of unknown relocation types.
elfcopy: - Consider symbols with STB_GNU_UNIQUE binding as global symbols. - Fixed support for VMA adjustment for loadable sections found in relocatable objects. - Handle nameless global symbols. - Improve wildcard matching for !-prefixed symbols. - Add PE/COFF support.
elfdump: - Improve section type reporting. - Add MIPS-specific section types.
This update also includes a significant number of bug fixes.
PR: 207091 [exp-run] Sponsored by: The FreeBSD Foundation
show more ...
|
Revision tags: release/10.2.0 |
|
#
416ba5c7 |
| 22-Jun-2015 |
Navdeep Parhar <np@FreeBSD.org> |
Catch up with HEAD (r280229-r284686).
|
#
8472c029 |
| 30-May-2015 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r283596 through r283770.
|
#
37a48d40 |
| 28-May-2015 |
Glen Barber <gjb@FreeBSD.org> |
MFH: r282615-r283655
Sponsored by: The FreeBSD Foundation
|
#
3ef90571 |
| 27-May-2015 |
Ed Maste <emaste@FreeBSD.org> |
Update to ELF Tool Chain r3223
Highlights (upstream revisions): - Fix SHT_GROUP handling in elfcopy/strip (3206 3220 3221) - Misc elfcopy / strip bug fixes (3215 3216 3217) - Many C++ demangler i
Update to ELF Tool Chain r3223
Highlights (upstream revisions): - Fix SHT_GROUP handling in elfcopy/strip (3206 3220 3221) - Misc elfcopy / strip bug fixes (3215 3216 3217) - Many C++ demangler improvements (3199 3200 3201 3202 3203 3204 3205 3208 3210 3211 3212) - Improve GNU binutils compatibility in elfcopy / strip (3213 3214) - Add -g option to readelf(1): dump contents of section groups (3219) - Add EM_IAMCU 32-bit Intel MCU (3198)
Also add a compat #define for building with older FreeBSD ELF headers. The GRP_COMDAT flag was added to elf_common.h in r283110, but it's not available during the bootstrap build. It is also convenient to be able to build on older hosts.
Thanks to antoine@ for tracking down issues through multiple exp-runs and to kaiw@ for fixing.
PR: 198611 (exp-run), 200350 Sponsored by: The FreeBSD Foundation
show more ...
|