(similar to this question: C++ Name Mangling Library for Python)
I'm trying to experiment with some static analysis tools in Java that operate on C++ disassembly. I know there's "c++filt", but I'd like to avoid interfacing with an external program, and also c++filt only does demangling, whereas I'd like to do both mangling and demangling.
Is there a Java library that would have methods similar to this:
interface CMethod
{
String getName();
String getClassName();
List<String> getArguments();
String getReturnType();
}
interface Mangler
{
CMethod demangle(String mangledName);
String mangle(CMethod method);
}