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 Go 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 Go 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().

  • Field Details

    • GOLANG_API_EXPORT

      public static final CategoryPath GOLANG_API_EXPORT
  • Constructor Details

    • GolangDWARFFunctionFixup

      public GolangDWARFFunctionFixup()
  • Method Details