mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 18:29:37 +02:00
basic detection of local collisions
This commit is contained in:
parent
0af34a4197
commit
8cce24b334
6 changed files with 94 additions and 0 deletions
|
@ -797,6 +797,19 @@ int4 ConstructTpl::fillinBuild(vector<int4> &check,AddrSpace *const_space)
|
|||
return 0;
|
||||
}
|
||||
|
||||
bool ConstructTpl::buildOnly(void) const
|
||||
|
||||
{
|
||||
vector<OpTpl *>::const_iterator iter;
|
||||
OpTpl *op;
|
||||
for(iter=vec.begin();iter!=vec.end();++iter) {
|
||||
op = *iter;
|
||||
if (op->getOpcode() != BUILD)
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
void ConstructTpl::changeHandleIndex(const vector<int4> &handmap)
|
||||
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue