Class GolangDWARFFunctionFixup

java.lang.Object
ghidra.app.util.bin.format.golang.GolangDWARFFunctionFixup
All Implemented Interfaces:
DWARFFunctionFixup, ExtensionPoint

public class GolangDWARFFunctionFixup extends Object implements DWARFFunctionFixup
Fixups for golang functions found during DWARF processing.

Fixes storage of parameters to match the go callspec and modifies parameter lists to match Ghidra's capabilities.

Special characters used by golang in symbol names (middle dot ·, weird slash ∕) are fixed up in DWARFProgram.getDWARFNameInfo() by calling GoSymbolName.fixGolangSpecialSymbolnameChars().

Go's 'unique' usage of DW_TAG_subroutine_type to define its ptr-to-ptr-to-func is handled in DWARFDataTypeImporter.makeDataTypeForFunctionDefinition().