Package ghidra.app.util.demangler
Class DemanglerUtil
java.lang.Object
ghidra.app.util.demangler.DemanglerUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic DemangledObject
Locates all available demanglers and checks to see if the supplied program is supported, then it attempts to demangle.static DemangledObject
Locates all available demanglers, then it attempts to demangle.static String
Remove superfluous function signature spaces from specified string
-
Constructor Details
-
DemanglerUtil
public DemanglerUtil()
-
-
Method Details
-
demangle
Locates all available demanglers, then it attempts to demangle. This method will query all demanglers regardless of architecture.This method will use only the default options for demangling. If you need to specify options, then you will have to call each specific demangler directly, creating the options specifically needed for each demangler. See
Demangler.createDefaultOptions()
.- Parameters:
mangled
- the mangled name- Returns:
- the demangled object or null
-
demangle
Locates all available demanglers and checks to see if the supplied program is supported, then it attempts to demangle.This method will use only the default options for demangling. If you need to specify options, then you will have to call each specific demangler directly, creating the options specifically needed for each demangler. See
Demangler.createDefaultOptions()
.- Parameters:
program
- the program containing the mangled namemangled
- the mangled name- Returns:
- the demangled object or null
-
stripSuperfluousSignatureSpaces
Remove superfluous function signature spaces from specified string- Parameters:
str
- string- Returns:
- string with unwanted spaces removed
-