decompiler  1.0.0
Public Member Functions | Public Attributes | List of all members
TrackedContext Struct Reference

A tracked register (Varnode) and the value it contains. More...

#include <globalcontext.hh>

Public Member Functions

void restoreXml (const Element *el, const AddrSpaceManager *manage)
 Restore this from an XML stream. More...
 
void saveXml (ostream &s) const
 Save this to an XML stream. More...
 

Public Attributes

VarnodeData loc
 Storage details of the register being tracked.
 
uintb val
 The value of the register.
 

Detailed Description

A tracked register (Varnode) and the value it contains.

This is the object returned when querying for tracked registers, via ContextDatabase::getTrackedSet(). It holds the storage details of the register and the actual value it holds at the point of the query.

Member Function Documentation

void TrackedContext::restoreXml ( const Element el,
const AddrSpaceManager manage 
)

Restore this from an XML stream.

Read a <set> tag to fill in the storage and value details

Parameters
elis the root <set> tag
manageis the manager used to decode address references

References Element::getAttributeValue(), Address::getOffset(), Address::getSpace(), and Address::restoreXml().

void TrackedContext::saveXml ( ostream &  s) const

Save this to an XML stream.

The register storage and value are serialized as a <set> tag.

Parameters
sis the output stream

References a_v_u().


The documentation for this struct was generated from the following files: