decompiler
1.0.0
|
Object for describing how a space should be truncated. More...
#include <translate.hh>
Public Member Functions | |
void | decode (Decoder &decoder) |
Restore this from a stream. 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 ghidra::TruncationTag::decode | ( | Decoder & | decoder | ) |
Restore this from a stream.
Parse a <truncate_space> element to configure this object
decoder | is the stream decoder |
References ghidra::Decoder::closeElement(), ghidra::Decoder::openElement(), ghidra::Decoder::readString(), ghidra::Decoder::readUnsignedInteger(), size, and spaceName.
Referenced by ghidra::GhidraTranslate::decode().