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

Documentation for structured demangling #285

Open
actioninja opened this issue Jul 25, 2023 · 3 comments
Open

Documentation for structured demangling #285

actioninja opened this issue Jul 25, 2023 · 3 comments

Comments

@actioninja
Copy link

I need to get the resulting AST from a demangle for usage in reverse engineering. I'm struggling to figure out how to actually do this, since no API surface seems to actually return the AST tree and there's no working example of how to do so.

@khuey
Copy link
Collaborator

khuey commented Aug 17, 2023

We don't currently expose the full AST. We could add something to do that, but I wouldn't document it beyond "here's the cxxabi spec, good luck".

@fitzgen
Copy link
Member

fitzgen commented Aug 21, 2023

The AST would likely have breaking changes ~every release, which seems really unfortunate for basically all users who wouldn't be using the AST.

@khuey
Copy link
Collaborator

khuey commented Aug 21, 2023

Yes, I think we'd do it with an off by default feature that says "if you turn this on semver goes out the window and you get zero compatibility guarantees"

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

No branches or pull requests

3 participants