Class ClangFuncNameToken

java.lang.Object
ghidra.app.decompiler.ClangToken
ghidra.app.decompiler.ClangFuncNameToken
All Implemented Interfaces:
ClangNode

public class ClangFuncNameToken extends ClangToken
A source code token representing a function name. It contains a link back to the p-code function object represented by the name
  • Constructor Details

  • Method Details

    • getHighFunction

      public HighFunction getHighFunction()
      Returns:
      the HighFunction object associated with this name
    • getPcodeOp

      public PcodeOp getPcodeOp()
      Description copied from class: ClangToken
      Many tokens directly represent a pcode operator in the data-flow
      Overrides:
      getPcodeOp in class ClangToken
      Returns:
      the operation (PcodeOp) associated with this token or null
    • getMinAddress

      public Address getMinAddress()
      Description copied from interface: ClangNode
      Get the smallest Program address associated with the code that this text represents
      Specified by:
      getMinAddress in interface ClangNode
      Overrides:
      getMinAddress in class ClangToken
      Returns:
      the smallest Address
    • getMaxAddress

      public Address getMaxAddress()
      Description copied from interface: ClangNode
      Get the biggest Program address associated with the code that this text represents
      Specified by:
      getMaxAddress in interface ClangNode
      Overrides:
      getMaxAddress in class ClangToken
      Returns:
      the biggest Address
    • decode

      public void decode(Decoder decoder, PcodeFactory pfactory) throws DecoderException
      Description copied from class: ClangToken
      Decode this token from the current position in an encoded stream
      Overrides:
      decode in class ClangToken
      Parameters:
      decoder - is the decoder for the stream
      pfactory - is used to look up p-code objects associated with the token
      Throws:
      DecoderException - for problems decoding the stream