decompiler
1.0.0
|
Object for describing how a space should be truncated. More...
#include <translate.hh>
Public Member Functions | |
void | restoreXml (const Element *el) |
Restore this from XML. More... | |
const string & | getName (void) const |
Get name of address space being truncated. | |
uint4 | getSize (void) const |
Size (of pointers) for new truncated space. | |
Private Attributes | |
string | spaceName |
Name of space to be truncated. | |
uint4 | size |
Size truncated addresses into the space. | |
Object for describing how a space should be truncated.
This can turn up in various XML configuration files and essentially acts as a command to override the size of an address space as defined by the architecture
void TruncationTag::restoreXml | ( | const Element * | el | ) |
Restore this from XML.
Read a <truncate_space> XML tag to configure this object
el | is the XML element |
References Element::getAttributeValue(), size, and spaceName.
Referenced by GhidraTranslate::restoreXml().