Is it possible to get the function name from a malformed string

This question is a follow-up to the next question , which provides code to demonstrate a function name given by a function backtrace

.

I wonder if there is a way to get the name and namespaces of the called object . Here we assume that the function has a name and that its name can be parsed with abi::__cxa_demangle

(for example, it is not a lambda function).

Also, is it possible to get a list of the namespaces this function is in?

0


source to share





All Articles