Fix for "Unknown function tag: scope" error

This commit is contained in:
caheckman 2019-07-04 12:53:36 -04:00
parent a3ea66e4db
commit ef12c20829
3 changed files with 21 additions and 3 deletions

View file

@ -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());
}