Package ghidra.app.util.bin.format.golang

# Class GolangElfInfoProducer

java.lang.Object
ghidra.app.util.bin.format.golang.GolangElfInfoProducer

All Implemented Interfaces:
  `ElfInfoProducer`, `ExtensionPoint`

public class GolangElfInfoProducer extends Object implements ElfInfoProducer
Handles marking up and program info for Golang binaries.

- NoteGoBuildId
- GoBuildInfo
  - Go version
  - App path, main package
  - Module dependency list
  - Build settings / flags

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `GolangElfInfoProducer()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `init(ElfLoadHelper elfLoadHelper)`
  Initializes this instance.
  `void`
  `markupElfInfo(TaskMonitor monitor)`
  Called by the Elf loader to give this ElfInfoProducer the opportunity to markup the Elf binary.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### GolangElfInfoProducer

    public GolangElfInfoProducer()

- ## Method Details

  - ### init

    public void init(ElfLoadHelper elfLoadHelper)
    Description copied from interface: `ElfInfoProducer`
    Initializes this instance.
    Specified by:
      `init` in interface `ElfInfoProducer`
    Parameters:
      `elfLoadHelper` - the Elf binary

  - ### markupElfInfo

    public void markupElfInfo(TaskMonitor monitor) throws CancelledException
    Description copied from interface: `ElfInfoProducer`
    Called by the Elf loader to give this ElfInfoProducer the opportunity to markup the Elf binary.
    Specified by:
      `markupElfInfo` in interface `ElfInfoProducer`
    Parameters:
      `monitor` - `TaskMonitor`
    Throws:
      `CancelledException`