Class 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 Detail

      • DecompileDebug

        public DecompileDebug​(java.io.File debugf)
    • Method Detail

      • setFunction

        public void setFunction​(Function f)
      • shutdown

        public void shutdown​(Language pcodelanguage,
                             java.lang.String xmlOptions)
      • getBytes

        public void getBytes​(Address addr,
                             byte[] res)
      • 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)
      • addInject

        public void addInject​(Address addr,
                              java.lang.String name,
                              int injectType,
                              java.lang.String payload)
      • addPossiblePrototypeExtension

        public void addPossiblePrototypeExtension​(Function testFunc)