Package ghidra.app.util
Class DataTypeNamingUtil
- java.lang.Object
-
- ghidra.app.util.DataTypeNamingUtil
-
public class DataTypeNamingUtil extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
setMangledAnonymousFunctionName(FunctionDefinitionDataType functionDefinition, java.lang.String namePrefix)
Generate a simple mangled function definition name and apply it to the specified functionDefinition.
-
-
-
Method Detail
-
setMangledAnonymousFunctionName
public static java.lang.String setMangledAnonymousFunctionName(FunctionDefinitionDataType functionDefinition, java.lang.String namePrefix) throws java.lang.IllegalArgumentException
Generate a simple mangled function definition name and apply it to the specified functionDefinition.- Parameters:
functionDefinition
- function definition whose name should be setnamePrefix
- prefix to be applied to generated name. An underscore will separate this prefix from the remainder of the mangled name. If null specified a prefix of "_function" will be used.- Returns:
- name applied to functionDefinition
- Throws:
java.lang.IllegalArgumentException
- if generated name contains unsupported characters
-
-