mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-25 13:42:06 +00:00
Fix for "Unknown function tag: scope" error
This commit is contained in:
parent
a3ea66e4db
commit
ef12c20829
@ -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());
|
||||
}
|
||||
|
@ -132,7 +132,7 @@
|
||||
<addr offset="40" space="stack"/>
|
||||
</pentry>
|
||||
</input>
|
||||
<output killedbycall="true">
|
||||
<output>
|
||||
<pentry minsize="4" maxsize="8" metatype="float">
|
||||
<register name="XMM0_Qa"/>
|
||||
</pentry>
|
||||
@ -153,6 +153,10 @@
|
||||
<register name="R15"/>
|
||||
<register name="DF"/>
|
||||
</unaffected>
|
||||
<killedbycall>
|
||||
<register name="RAX"/>
|
||||
<register name="XMM0"/>
|
||||
</killedbycall>
|
||||
<localrange>
|
||||
<range space="stack" first="0xfffffffffff0bdc1" last="0xffffffffffffffff"/>
|
||||
<range space="stack" first="8" last="39"/>
|
||||
|
@ -64,7 +64,7 @@
|
||||
<addr offset="40" space="stack"/>
|
||||
</pentry>
|
||||
</input>
|
||||
<output killedbycall="true">
|
||||
<output>
|
||||
<pentry minsize="4" maxsize="8" metatype="float">
|
||||
<register name="XMM0_Qa"/>
|
||||
</pentry>
|
||||
@ -85,6 +85,10 @@
|
||||
<register name="R15"/>
|
||||
<register name="DF"/>
|
||||
</unaffected>
|
||||
<killedbycall>
|
||||
<register name="RAX"/>
|
||||
<register name="XMM0"/>
|
||||
</killedbycall>
|
||||
<localrange>
|
||||
<range space="stack" first="0xfffffffffff0bdc1" last="0xffffffffffffffff"/>
|
||||
<range space="stack" first="8" last="39"/>
|
||||
@ -121,7 +125,7 @@
|
||||
<addr offset="40" space="stack"/>
|
||||
</pentry>
|
||||
</input>
|
||||
<output killedbycall="true">
|
||||
<output>
|
||||
<pentry minsize="4" maxsize="8" metatype="float">
|
||||
<register name="XMM0_Qa"/>
|
||||
</pentry>
|
||||
@ -142,6 +146,10 @@
|
||||
<register name="R15"/>
|
||||
<register name="DF"/>
|
||||
</unaffected>
|
||||
<killedbycall>
|
||||
<register name="RAX"/>
|
||||
<register name="XMM0"/>
|
||||
</killedbycall>
|
||||
<localrange>
|
||||
<range space="stack" first="0xfffffffffff0bdc1" last="0xffffffffffffffff"/>
|
||||
<range space="stack" first="8" last="39"/>
|
||||
|
Loading…
Reference in New Issue
Block a user