Package ghidra.app.util.demangler
Class DemangledFunctionIndirect
- java.lang.Object
-
- ghidra.app.util.demangler.DemangledType
-
- ghidra.app.util.demangler.DemangledDataType
-
- ghidra.app.util.demangler.AbstractDemangledFunctionDefinitionDataType
-
- ghidra.app.util.demangler.DemangledFunctionIndirect
-
- All Implemented Interfaces:
Demangled
public class DemangledFunctionIndirect extends AbstractDemangledFunctionDefinitionDataType
A class to represent a demangled function indirect. A function indirect is similar to a function pointer or a function reference except that it does not have the start (*) for a pointer or ampersand (&) for a reference, but is still an indirect definition (not a regular function definition). The function indirect is prevalent in the Microsoft model, if not other models.
-
-
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, returnType
-
Fields inherited from class ghidra.app.util.demangler.DemangledDataType
ARR_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.DemangledType
mangled, namespace, template
-
-
Constructor Summary
Constructors Constructor Description DemangledFunctionIndirect(java.lang.String mangled, java.lang.String originalDemangled)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addFunctionPointerParens(java.lang.StringBuilder buffer, java.lang.String s)
protected java.lang.String
getTypeString()
Returns the string for this type of reference (e.g., * or &)-
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, toSignature
-
Methods inherited from class ghidra.app.util.demangler.DemangledDataType
getArrayDimensions, 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.DemangledType
getDemangledName, getMangledString, getName, getNamespace, getNamespaceName, getNamespaceString, getOriginalDemangled, getTemplate, isConst, isVolatile, setConst, setName, setNamespace, setTemplate, setVolatile
-
-
-
-
Method Detail
-
getTypeString
protected java.lang.String getTypeString()
Description copied from class:AbstractDemangledFunctionDefinitionDataType
Returns the string for this type of reference (e.g., * or &)- Specified by:
getTypeString
in classAbstractDemangledFunctionDefinitionDataType
- Returns:
- the string
-
addFunctionPointerParens
protected void addFunctionPointerParens(java.lang.StringBuilder buffer, java.lang.String s)
- Overrides:
addFunctionPointerParens
in classAbstractDemangledFunctionDefinitionDataType
-
-