Class DebuggerPcodeUtils.LabelBoundPcodeParser

java.lang.Object
ghidra.pcodeCPort.slgh_compile.PcodeCompile
Enclosing class:
DebuggerPcodeUtils

public static class DebuggerPcodeUtils.LabelBoundPcodeParser extends SleighProgramCompiler.ErrorCollectingPcodeParser
A p-code parser that can resolve labels from a trace or its mapped programs.
  • Constructor Details

    • LabelBoundPcodeParser

      public LabelBoundPcodeParser(ServiceProvider provider, DebuggerCoordinates coordinates)
      Construct a parser bound to the given coordinates
      Parameters:
      provider - the service provider (usually the tool)
      coordinates - the current coordinates for context
  • Method Details

    • createSleighConstant

      protected ghidra.pcodeCPort.slghsymbol.SleighSymbol createSleighConstant(String sourceName, String nm, Address address)
    • findSymbol

      public ghidra.pcodeCPort.slghsymbol.SleighSymbol findSymbol(String nm)
      Overrides:
      findSymbol in class PcodeParser
    • tryMap

      protected ghidra.pcodeCPort.slghsymbol.SleighSymbol tryMap(String nm, Trace trace, long snap, Program program, Symbol symbol, Address addr, List<ghidra.pcodeCPort.slghsymbol.SleighSymbol> externals)
    • tryExternalLinkage

      protected ghidra.pcodeCPort.slghsymbol.SleighSymbol tryExternalLinkage(String nm, Trace trace, long snap, Program program, Symbol symbol, List<ghidra.pcodeCPort.slghsymbol.SleighSymbol> externals)
    • findUserSymbol

      protected ghidra.pcodeCPort.slghsymbol.SleighSymbol findUserSymbol(String nm)