Ghidra Decompiler Analysis Engine
|
Go to the documentation of this file.
19 #ifndef __CPOOL_GHIDRA__
20 #define __CPOOL_GHIDRA__
34 virtual CPoolRecord *createRecord(
const vector<uintb> &refs);
38 virtual bool empty(
void)
const {
return false; }
40 virtual void saveXml(ostream &s)
const;
Ghidra specific architecture information and connection to a Ghidra client.
virtual bool empty(void) const
Is the container empty of records.
Definition: cpool_ghidra.hh:38
An implementation of ConstantPool using a Ghidra client as the backing storage.
Definition: cpool_ghidra.hh:31
A description of a byte-code object referenced by a constant.
Definition: cpool.hh:44
virtual void saveXml(ostream &s) const
Save all records in this container to an XML stream.
Definition: cpool_ghidra.cc:56
An interface to the pool of constant objects for byte-code languages.
Definition: cpool.hh:92
An XML element. A node in the DOM tree.
Definition: xml.hh:150
virtual void restoreXml(const Element *el, TypeFactory &typegrp)
Restore constant pool records from an XML stream.
Definition: cpool_ghidra.cc:62
virtual void clear(void)
Release any (local) resources.
Definition: cpool.hh:193
virtual void clear(void)
Release any (local) resources.
Definition: cpool_ghidra.hh:39
Container class for all Datatype objects in an Architecture.
Definition: type.hh:396
ConstantPoolGhidra(ArchitectureGhidra *g)
Constructor.
Definition: cpool_ghidra.cc:18
virtual const CPoolRecord * getRecord(const vector< uintb > &refs) const
Retrieve a constant pool record (CPoolRecord) given a reference to it.
Definition: cpool_ghidra.cc:30
An implementation of the Architecture interface and connection to a Ghidra client.
Definition: ghidra_arch.hh:60
An implementation of the ConstantPool interface storing records internally in RAM.
Definition: cpool.hh:153