mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 02:39:44 +02:00
New combined decompiler testing framework
This commit is contained in:
parent
5d7a7c5291
commit
ab76cc6095
32 changed files with 1788 additions and 791 deletions
|
@ -64,6 +64,20 @@ ArchitectureCapability *ArchitectureCapability::findCapability(Document *doc)
|
|||
return (ArchitectureCapability *)0;
|
||||
}
|
||||
|
||||
/// Return the ArchitectureCapability object with the matching name
|
||||
/// \param name is the name to match
|
||||
/// \return the ArchitectureCapability or null if no match is found
|
||||
ArchitectureCapability *ArchitectureCapability::getCapability(const string &name)
|
||||
|
||||
{
|
||||
for(int4 i=0;i<thelist.size();++i) {
|
||||
ArchitectureCapability *res = thelist[i];
|
||||
if (res->getName() == name)
|
||||
return res;
|
||||
}
|
||||
return (ArchitectureCapability *)0;
|
||||
}
|
||||
|
||||
/// Modify order that extensions are searched, to effect which gets a chance
|
||||
/// to run first.
|
||||
/// Right now all we need to do is make sure the raw architecture comes last
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue