Ghidra Decompiler Analysis Engine
Public Member Functions | Friends | List of all members
LoadGuard Class Reference

Description of a LOAD operation that needs to be guarded. More...

#include <heritage.hh>

Public Member Functions

bool isGuarded (const Address &addr) const
 Does this guard apply to the given address. More...
 

Friends

class Heritage
 

Detailed Description

Description of a LOAD operation that needs to be guarded.

Heritage maintains a list of CPUI_LOAD ops that reference the stack dynamically. These can potentially alias stack Varnodes, so we maintain what (possibly limited) information we known about the range of stack addresses that can be referenced.

Member Function Documentation

◆ isGuarded()

bool LoadGuard::isGuarded ( const Address addr) const

Does this guard apply to the given address.

Check if the address falls within the range defined by this

Parameters
addris the given address
Returns
true if the address is contained

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