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

Function ID registration without stripping namespaces #5858

Open
Thodoris1999 opened this issue Oct 5, 2023 · 4 comments · May be fixed by #7228
Open

Function ID registration without stripping namespaces #5858

Thodoris1999 opened this issue Oct 5, 2023 · 4 comments · May be fixed by #7228

Comments

@Thodoris1999
Copy link

Thodoris1999 commented Oct 5, 2023

Hello,
I am using ghidra for C++ decompilation and we use namespaces to represent c++ namespaces. I want to use function ID matching analysis, but the registration process strips any namespaces and only leaves the last part of the name, which is an issue for me since C++ code often has simple names that clash when you remove the namespace. Is it possible to support an option to make namespace stripping optional?

@Anonymous941
Copy link

Any updates on this?

@gemesa
Copy link
Contributor

gemesa commented Nov 24, 2024

This would be useful for Rust binaries as well.

@gemesa gemesa linked a pull request Nov 26, 2024 that will close this issue
@gemesa
Copy link
Contributor

gemesa commented Nov 26, 2024

@Swyter @itsmeft24 @Anonymous941 @Thodoris1999 I am tagging you because you seem to be interested in this issue and I came up with a solution, see the linked PR. Even if the Ghidra team decides not to merge it you can build your custom Ghidra and include that PR as a patch.

@Anonymous941
Copy link

@gemesa Amazing, thank you so much! I'll wait for a while to see if it gets merged and then if not try to compile it myself

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants