Package ghidra.app.util
Class DataTypeNamingUtil
java.lang.Object
ghidra.app.util.DataTypeNamingUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
setMangledAnonymousFunctionName
(FunctionDefinitionDataType functionDefinition) Generate a simple mangled function definition name and apply it to the specified functionDefinition.
-
Method Details
-
setMangledAnonymousFunctionName
public static String setMangledAnonymousFunctionName(FunctionDefinitionDataType functionDefinition) throws IllegalArgumentException Generate a simple mangled function definition name and apply it to the specified functionDefinition. Generated name will start with_func
.- Parameters:
functionDefinition
- function definition whose name should be set- Returns:
- name applied to functionDefinition
- Throws:
IllegalArgumentException
- if generated name contains unsupported characters
-