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 Details

    • GolangElfInfoProducer

      public GolangElfInfoProducer()
  • Method Details

    • init MODIFIED

      public void init(ElfLoadHelper newElfLoadHelper)
      param 1 renamed: elfLoadHelper → newElfLoadHelper
      -void init(ghidra.app.util.bin.format.elf.ElfLoadHelper elfLoadHelper)
      +void init(ghidra.app.util.bin.format.elf.ElfLoadHelper newElfLoadHelper)
      Description copied from interface: ElfInfoProducer
      Initializes this instance.
      Specified by:
      init in interface ElfInfoProducer
      Parameters:
      newElfLoadHelper (was: 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