mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 18:29:37 +02:00
GP-2237 AddrSpace as marshaling primitive and prettyprint update
This commit is contained in:
parent
4807ec354a
commit
6be9943b8a
58 changed files with 1333 additions and 1098 deletions
|
@ -119,15 +119,14 @@ void StringManager::encode(Encoder &encoder) const
|
|||
|
||||
/// Parse a \<stringmanage> element, with \<string> children.
|
||||
/// \param decoder is the stream decoder
|
||||
/// \param m is the manager for looking up AddressSpaces
|
||||
void StringManager::decode(Decoder &decoder, const AddrSpaceManager *m)
|
||||
void StringManager::decode(Decoder &decoder)
|
||||
|
||||
{
|
||||
uint4 elemId = decoder.openElement(ELEM_STRINGMANAGE);
|
||||
for (;;) {
|
||||
uint4 subId = decoder.openElement();
|
||||
if (subId != ELEM_STRING) break;
|
||||
Address addr = Address::decode(decoder, m);
|
||||
Address addr = Address::decode(decoder);
|
||||
StringData &stringData(stringMap[addr]);
|
||||
uint4 subId2 = decoder.openElement(ELEM_BYTES);
|
||||
stringData.isTruncated = decoder.readBool(ATTRIB_TRUNC);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue