Package ghidra.app.util.demangler
Class DemangledFunctionPointer
- java.lang.Object
- 
- ghidra.app.util.demangler.DemangledType
- 
- ghidra.app.util.demangler.DemangledDataType
- 
- ghidra.app.util.demangler.AbstractDemangledFunctionDefinitionDataType
- 
- ghidra.app.util.demangler.DemangledFunctionPointer
 
 
 
 
- 
- All Implemented Interfaces:
- Demangled
 
 public class DemangledFunctionPointer extends AbstractDemangledFunctionDefinitionDataType A class to represent a demangled function pointer
- 
- 
Field Summary- 
Fields inherited from class ghidra.app.util.demangler.AbstractDemangledFunctionDefinitionDataTypecallingConvention, DEFAULT_NAME_PREFIX, EMPTY_STRING, ID, isConstPointer, isTrailingPointer64, isTrailingRestrict, isTrailingUnaligned, modifier, parameters, parentName, returnType
 - 
Fields inherited from class ghidra.app.util.demangler.DemangledDataTypeARR_NOTATION, BOOL, CHAR, CLASS, COCLASS, COINTERFACE, COMPLEX, CONST, DOUBLE, ENUM, FLOAT, FLOAT128, INT, INT0_T, INT128, INT16, INT32, INT64, INT8, LONG, LONG_DOUBLE, LONG_LONG, PRIMITIVES, PTR_NOTATION, PTR64, REF_NOTATION, RESTRICT, SHORT, SIGNED, SPACE, STRING, STRUCT, UNALIGNED, UNDEFINED, UNION, UNSIGNED, VARARGS, VOID, VOLATILE, WCHAR_T
 - 
Fields inherited from class ghidra.app.util.demangler.DemangledTypemangled, namespace, template
 
- 
 - 
Constructor SummaryConstructors Constructor Description DemangledFunctionPointer(java.lang.String mangled, java.lang.String originalDemangled)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddFunctionPointerParens(java.lang.StringBuilder buffer, java.lang.String s)protected java.lang.StringgetTypeString()Returns the string for this type of reference (e.g., * or &)voidsetDisplayDefaultFunctionPointerSyntax(boolean b)Signals whether to display function pointer syntax when there is no function name, which is '(*)', such as found in this example 'void (*)()'.- 
Methods inherited from class ghidra.app.util.demangler.AbstractDemangledFunctionDefinitionDataTypeaddParameter, addParentName, getCallingConvention, getConventionPointerNameString, getDataType, getParameters, getReturnType, getSignature, isConstPointer, isTrailingPointer64, isTrailingRestrict, isTrailingUnaligned, setCallingConvention, setConstPointer, setModifier, setReturnType, setTrailingPointer64, setTrailingRestrict, setTrailingUnaligned, toSignature
 - 
Methods inherited from class ghidra.app.util.demangler.DemangledDataTypegetArrayDimensions, getBasedName, getMemberScope, getPointerLevels, incrementPointerLevels, isArray, isClass, isCoclass, isCointerface, isComplex, isEnum, isPointer, isPointer64, isPrimitive, isReference, isRestrict, isSigned, isStruct, isTemplate, isUnaligned, isUnion, isUnsigned, isVarArgs, isVoid, setArray, setBasedName, setClass, setCoclass, setCointerface, setComplex, setEnum, setEnumType, setEnumType, setMemberScope, setPointer64, setReference, setRestrict, setRValueReference, setSigned, setStruct, setTemplate, setUnaligned, setUnion, setUnsigned, setVarArgs, toString
 - 
Methods inherited from class ghidra.app.util.demangler.DemangledTypegetDemangledName, getMangledString, getName, getNamespace, getNamespaceName, getNamespaceString, getOriginalDemangled, getTemplate, isConst, isVolatile, setConst, setName, setNamespace, setTemplate, setVolatile
 
- 
 
- 
- 
- 
Method Detail- 
getTypeStringprotected java.lang.String getTypeString() Description copied from class:AbstractDemangledFunctionDefinitionDataTypeReturns the string for this type of reference (e.g., * or &)- Specified by:
- getTypeStringin class- AbstractDemangledFunctionDefinitionDataType
- Returns:
- the string
 
 - 
setDisplayDefaultFunctionPointerSyntaxpublic void setDisplayDefaultFunctionPointerSyntax(boolean b) Signals whether to display function pointer syntax when there is no function name, which is '(*)', such as found in this example 'void (*)()'. the default is true- Parameters:
- b- true to display nameless function pointer syntax; false to not display
 
 - 
addFunctionPointerParensprotected void addFunctionPointerParens(java.lang.StringBuilder buffer, java.lang.String s)- Overrides:
- addFunctionPointerParensin class- AbstractDemangledFunctionDefinitionDataType
 
 
- 
 
-