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

drsyms: honor mangling flags to query routines on Windows #601

Open
derekbruening opened this issue Nov 28, 2014 · 3 comments
Open

drsyms: honor mangling flags to query routines on Windows #601

derekbruening opened this issue Nov 28, 2014 · 3 comments

Comments

@derekbruening
Copy link
Contributor

From rnk@google.com on November 04, 2011 14:52:15

We decided that always requesting mangled symbols by turning off SYMOPT_UNDNAME was too much of a performance loss to support, and had major complications with respect to public and private symbols (issue #558). Instead, we chose to ignore the mangling flags for simplicity and performance and just get the default demangled symbols on Windows. This issue covers adding support to honor the mangling flags so that users can get fully mangled names and fully demangled names (most importantly, ones with parameter types).

Original issue: http://code.google.com/p/dynamorio/issues/detail?id=601

@derekbruening
Copy link
Contributor Author

From bruen...@google.com on January 22, 2014 15:05:11

Issue 1350 has been merged into this issue.

@derekbruening
Copy link
Contributor Author

From bruen...@google.com on January 23, 2014 11:18:18

*** TODO add issue #601 workaround: global flag DRSYM_DEMANGLE_FULL so symquery can have template and func params?

No, it doesn't work that way: up front it's either SYMOPT_UNDNAME or
nothing. So either mangled, or partially demangled. To get full
demangling, you'd have to start mangled and call the undecorate routine
every time. So probably not worth adding this global flag? Or might some
user want to pay the perf cost of always starting with mangled symbols?

Owner: ---
Labels: Component-Extension

@derekbruening
Copy link
Contributor Author

From bruen...@google.com on January 23, 2014 11:19:06

Summary: drsyms: honor mangling flags to query routines on Windows (was: drsyms: Honor mangling flags to search routines on Windows)

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

No branches or pull requests

1 participant