Package ghidra.program.model.symbol
Class IllegalCharCppTransformer
java.lang.Object
ghidra.program.model.symbol.IllegalCharCppTransformer
- All Implemented Interfaces:
NameTransformer
Replace illegal characters in the given name with '_'. The transformer treats the name as a
C++ symbol. Letters and digits are generally legal. '~' is allowed at the start of the symbol.
Template parameters, surrounded by '<' and '>', allow additional special characters.
Certain special characters are allowed after the keyword "operator".
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
IllegalCharCppTransformer
public IllegalCharCppTransformer()
-
-
Method Details
-
simplify
Description copied from interface:NameTransformer
Return a transformed version of the given input. If no change is made, the original String object is returned.- Specified by:
simplify
in interfaceNameTransformer
- Parameters:
input
- is the name to transform- Returns:
- the transformed version
-