Class DecompiledFunction

java.lang.Object
ghidra.app.decompiler.DecompiledFunction

public class DecompiledFunction extends Object
A class to hold pieces of a decompiled function.
  • Constructor Details

    • DecompiledFunction

      public DecompiledFunction(String signature, String c)
      Constructs a new decompiled function.
      Parameters:
      signature - the function signature or prototype (eg, "int foo(double d)")
      c - the complete C code of the function.
  • Method Details

    • getSignature

      public String getSignature()
      Returns the function signature or prototype (eg, "int foo(double d)").
      Returns:
      the function signature or prototype (eg, "int foo(double d)")
    • getC

      public String getC()
      Returns the complete C code of the function.
      Returns:
      the complete C code of the function