Package ghidra.app.decompiler
Class DecompileDebug
- java.lang.Object
-
- ghidra.app.decompiler.DecompileDebug
-
public class DecompileDebug extends java.lang.Object
A container for collecting communication between the decompiler and the Ghidra database, as serviced through DecompileCallback during decompilation of a function. The query results can then be dumped as an XML document. The container is populated through methods that mirror the various methods in DecompileCallback.
-
-
Constructor Summary
Constructors Constructor Description DecompileDebug(java.io.File debugf)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addFlowOverride(Address addr, FlowOverride fo)
void
addInject(Address addr, java.lang.String name, int injectType, java.lang.String payload)
void
addPossiblePrototypeExtension(Function testFunc)
void
getBytes(Address addr, byte[] res)
void
getCodeSymbol(Address addr, long id, java.lang.String name, Namespace namespace)
void
getComments(java.lang.String comm)
void
getCPoolRef(java.lang.String rec, long[] refs)
void
getFNTypes(HighFunction hfunc)
void
getMapped(Namespace namespc, java.lang.String res)
void
getNamespacePath(Namespace namespace)
void
getPcode(Address addr, Instruction instr)
void
getStringData(Address addr, DecompileCallback.StringData stringData)
void
getTrackedRegisters(java.lang.String doc)
void
getType(DataType dt)
void
nameIsUsed(Namespace spc, java.lang.String nm)
void
setFunction(Function f)
void
setPcodeDataTypeManager(PcodeDataTypeManager dtm)
void
shutdown(Language pcodelanguage, java.lang.String xmlOptions)
-
-
-
Method Detail
-
setFunction
public void setFunction(Function f)
-
setPcodeDataTypeManager
public void setPcodeDataTypeManager(PcodeDataTypeManager dtm)
-
shutdown
public void shutdown(Language pcodelanguage, java.lang.String xmlOptions)
-
getPcode
public void getPcode(Address addr, Instruction instr)
-
getBytes
public void getBytes(Address addr, byte[] res)
-
getStringData
public void getStringData(Address addr, DecompileCallback.StringData stringData)
-
getComments
public void getComments(java.lang.String comm)
-
getCodeSymbol
public void getCodeSymbol(Address addr, long id, java.lang.String name, Namespace namespace)
-
getNamespacePath
public void getNamespacePath(Namespace namespace)
-
getMapped
public void getMapped(Namespace namespc, java.lang.String res)
-
getType
public void getType(DataType dt)
-
getFNTypes
public void getFNTypes(HighFunction hfunc)
-
getTrackedRegisters
public void getTrackedRegisters(java.lang.String doc)
-
getCPoolRef
public void getCPoolRef(java.lang.String rec, long[] refs)
-
nameIsUsed
public void nameIsUsed(Namespace spc, java.lang.String nm)
-
addFlowOverride
public void addFlowOverride(Address addr, FlowOverride fo)
-
addInject
public void addInject(Address addr, java.lang.String name, int injectType, java.lang.String payload)
-
addPossiblePrototypeExtension
public void addPossiblePrototypeExtension(Function testFunc)
-
-