GP-1653 Allow PrototypeModel aliases

This commit is contained in:
caheckman 2022-01-21 12:42:49 -05:00
parent 22a5950d08
commit cb913e6a91
6 changed files with 234 additions and 45 deletions

View file

@ -672,6 +672,7 @@ public:
virtual ~ProtoModel(void); ///< Destructor
const string &getName(void) const { return name; } ///< Get the name of the prototype model
Architecture *getArch(void) const { return glb; } ///< Get the owning Architecture
const ProtoModel *getAliasParent(void) const { return compatModel; } ///< Return \e model \b this is an alias of (or null)
uint4 hasEffect(const Address &addr,int4 size) const; ///< Determine side-effect of \b this on the given memory range
int4 getExtraPop(void) const { return extrapop; } ///< Get the stack-pointer \e extrapop for \b this model
void setExtraPop(int4 ep) { extrapop = ep; } ///< Set the stack-pointer \e extrapop