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
A class to represent a demangled function pointer
- 
Field Summary
Fields inherited from class ghidra.app.util.demangler.AbstractDemangledFunctionDefinitionDataType
callingConvention, DEFAULT_NAME_PREFIX, EMPTY_STRING, ID, isConstPointer, isTrailingPointer64, isTrailingRestrict, isTrailingUnaligned, modifier, parameters, parentName, returnTypeFields inherited from class ghidra.app.util.demangler.DemangledDataType
ARR_NOTATION, BOOL, CHAR, CHAR8_T, CLASS, COCLASS, COINTERFACE, COMPLEX, CONST, DEMANGLER_ANONYMOUS_FUNCTION_CATEGORY_PATH, DEMANGLER_ROOT_CATEGORY_PATH, DOUBLE, ENUM, FLOAT, FLOAT128, FLOAT2, INT, INT0_T, INT128, INT16, INT32, INT64, INT8, LONG, LONG_DOUBLE, LONG_LONG, PRIMITIVES, PTR_NOTATION, PTR64, REF_NOTATION, RESTRICT, RIGHT_REF_NOTATION, SHORT, SIGNED, SPACE, STRING, STRUCT, UNALIGNED, UNDEFINED, UNION, UNSIGNED, VARARGS, VOID, VOLATILE, WCHAR_T, WCHAR16, WCHAR32Fields inherited from class ghidra.app.util.demangler.DemangledType
mangled, namespace, template - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddFunctionPointerParens(StringBuilder buffer, String s) protected StringReturns 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.AbstractDemangledFunctionDefinitionDataType
addParameter, addParentName, getCallingConvention, getConventionPointerNameString, getDataType, getParameters, getReturnType, getSignature, isConstPointer, isTrailingPointer64, isTrailingRestrict, isTrailingUnaligned, setCallingConvention, setConstPointer, setModifier, setReturnType, setTrailingPointer64, setTrailingRestrict, setTrailingUnaligned, toSignatureMethods inherited from class ghidra.app.util.demangler.DemangledDataType
getArrayDimensions, getBasedName, getDemanglerCategoryPath, getMemberScope, getPointerLevels, incrementPointerLevels, isArray, isClass, isCoclass, isCointerface, isComplex, isEnum, isLValueReference, isPointer, isPointer64, isPrimitive, isReference, isRestrict, isRValueReference, isSigned, isStruct, isTemplate, isUnaligned, isUnion, isUnsigned, isVarArgs, isVoid, setArray, setBasedName, setClass, setCoclass, setCointerface, setComplex, setEnum, setEnumType, setEnumType, setLValueReference, setMemberScope, setPointer64, setReference, setRestrict, setRValueReference, setSigned, setStruct, setTemplate, setUnaligned, setUnion, setUnsigned, setVarArgs, toStringMethods inherited from class ghidra.app.util.demangler.DemangledType
getDemangledName, getMangledString, getName, getNamespace, getNamespaceName, getNamespaceString, getOriginalDemangled, getTemplate, isConst, isVolatile, setConst, setName, setNamespace, setTemplate, setVolatileMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ghidra.app.util.demangler.Demangled
getMangledContext, setMangledContext 
- 
Constructor Details
- 
DemangledFunctionPointer
 
 - 
 - 
Method Details
- 
getTypeString
Description copied from class:AbstractDemangledFunctionDefinitionDataTypeReturns the string for this type of reference (e.g., * or &)- Specified by:
 getTypeStringin classAbstractDemangledFunctionDefinitionDataType- Returns:
 - the string
 
 - 
setDisplayDefaultFunctionPointerSyntax
public 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
 - 
addFunctionPointerParens
- Overrides:
 addFunctionPointerParensin classAbstractDemangledFunctionDefinitionDataType
 
 -