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;
virtual void clear(void)
Release any (local) resources.
Definition: cpool.hh:195
virtual bool empty(void) const
Is the container empty of records.
Definition: cpool_ghidra.hh:38
An implementation of the ConstantPool interface storing records internally in RAM.
Definition: cpool.hh:155
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 interface to the pool of constant objects for byte-code languages.
Definition: cpool.hh:94
ConstantPoolGhidra(ArchitectureGhidra *g)
Constructor.
Definition: cpool_ghidra.cc:18
An XML element. A node in the DOM tree.
Definition: xml.hh:150
virtual void clear(void)
Release any (local) resources.
Definition: cpool_ghidra.hh:39
A description of a byte-code object referenced by a constant.
Definition: cpool.hh:44
An implementation of ConstantPool using a Ghidra client as the backing storage.
Definition: cpool_ghidra.hh:31
Container class for all Datatype objects in an Architecture.
Definition: type.hh:380
Ghidra specific architecture information and connection to a Ghidra client.
An implementation of the Architecture interface and connection to a Ghidra client.
Definition: ghidra_arch.hh:60
virtual void saveXml(ostream &s) const
Save all records in this container to an XML stream.
Definition: cpool_ghidra.cc:56
virtual void restoreXml(const Element *el, TypeFactory &typegrp)
Restore constant pool records from an XML stream.
Definition: cpool_ghidra.cc:62