mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 10:19:23 +02:00
Fix for "Unknown function tag: scope" error
This commit is contained in:
parent
a3ea66e4db
commit
ef12c20829
3 changed files with 21 additions and 3 deletions
|
@ -298,6 +298,12 @@ public class HighFunction extends PcodeSyntaxTree {
|
|||
// Do nothing with override at the moment
|
||||
parser.discardSubTree();
|
||||
}
|
||||
else if (subel.getName().equals("scope")) {
|
||||
// This must be a subscope of the local scope
|
||||
// Currently this can only hold static variables of the function
|
||||
// which ghidra already knows about
|
||||
parser.discardSubTree();
|
||||
}
|
||||
else {
|
||||
throw new PcodeXMLException("Unknown tag in function: " + subel.getName());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue