Class DemanglerUtil


  • public class DemanglerUtil
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      DemanglerUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static DemangledObject demangle​(Program program, java.lang.String mangled)
      Locates all available demanglers and checks to see if the supplied program is supported, then it attempts to demangle.
      static DemangledObject demangle​(java.lang.String mangled)
      Locates all available demanglers, then it attempts to demangle.
      static java.lang.String stripSuperfluousSignatureSpaces​(java.lang.String str)
      Remove superfluous function signature spaces from specified string
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DemanglerUtil

        public DemanglerUtil()
    • Method Detail

      • demangle

        public static DemangledObject demangle​(java.lang.String mangled)
        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

        public static DemangledObject demangle​(Program program,
                                               java.lang.String mangled)
        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 name
        mangled - the mangled name
        Returns:
        the demangled object or null
      • stripSuperfluousSignatureSpaces

        public static java.lang.String stripSuperfluousSignatureSpaces​(java.lang.String str)
        Remove superfluous function signature spaces from specified string
        Parameters:
        str - string
        Returns:
        string with unwanted spaces removed