Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Be more strict when demangling C++ names #681

Merged
merged 3 commits into from
Sep 13, 2022

Conversation

Swatinem
Copy link
Member

The underlying cpp_demangle crate is a bit too lenient and accepts bare types, turning a into signed char for example. We want to be more strict and instead only accept _Z prefixed mangled names.

The underlying `cpp_demangle` crate is a bit too lenient and accepts bare types,
turning `a` into `signed char` for example. We want to be more strict and instead only accept
`_Z` prefixed mangled names.
@Swatinem Swatinem requested a review from a team September 13, 2022 11:14
@Swatinem Swatinem merged commit 585ba0f into master Sep 13, 2022
@Swatinem Swatinem deleted the fix/demangle-bare-type branch September 13, 2022 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants