Is it possible to get the function name from the mangled string

送分小仙女□ 提交于 2019-12-25 18:24:48

问题


This question is a continuation of the following question, where a code to demangle a function-name given by the backtrace function is presented.

I wonder whether there is a way to get the name and the namespaces of a callable object. Here we assume that the function does have a name and that it is possible to demangle its name with abi::__cxa_demangle (for example, it's not a lambda function).

Furthermore, would it be possible to get a list of the namespaces in which the function is?

来源:https://stackoverflow.com/questions/44920101/is-it-possible-to-get-the-function-name-from-the-mangled-string

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!