mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 18:29:37 +02:00
New guardStore
This commit is contained in:
parent
cb39d39a23
commit
171602e1ce
6 changed files with 42 additions and 16 deletions
|
@ -112,20 +112,6 @@ void AddrSpace::truncateSpace(uint4 newsize)
|
|||
calcScaleMask();
|
||||
}
|
||||
|
||||
/// Check if this space contains \b id2.
|
||||
/// \param id2 is the space to check
|
||||
/// \return \b true if \b id2 is contained
|
||||
bool AddrSpace::contain(AddrSpace *id2) const
|
||||
|
||||
{
|
||||
while(this != id2) {
|
||||
id2 = id2->getContain();
|
||||
if (id2 == (AddrSpace *)0)
|
||||
return false; // No containment
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
/// Write the main XML attributes for an address within this space
|
||||
/// The caller provides only the \e offset, and this routine fills
|
||||
/// in other details pertaining to this particular space.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue