Package ghidra.app.decompiler
Class DecompiledFunction
java.lang.Object
ghidra.app.decompiler.DecompiledFunction
A class to hold pieces of a decompiled function.
-
Constructor Summary
ConstructorDescriptionDecompiledFunction
(String signature, String c) Constructs a new decompiled function. -
Method Summary
Modifier and TypeMethodDescriptiongetC()
Returns the complete C code of the function.Returns the function signature or prototype (eg, "int foo(double d)").
-
Constructor Details
-
DecompiledFunction
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
Returns the function signature or prototype (eg, "int foo(double d)").- Returns:
- the function signature or prototype (eg, "int foo(double d)")
-
getC
Returns the complete C code of the function.- Returns:
- the complete C code of the function
-