mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 18:29:37 +02:00
GP-2246 Fix broken SegmentOp marshaling
This commit is contained in:
parent
bdf3ce0c22
commit
89b8a59e99
2 changed files with 5 additions and 4 deletions
|
@ -142,9 +142,9 @@ void ExecutablePcodeGhidra::decode(Decoder &decoder)
|
|||
|
||||
{
|
||||
uint4 elemId = decoder.openElement();
|
||||
if (elemId != ELEM_CASE_PCODE && elemId != ELEM_ADDR_PCODE &&
|
||||
if (elemId != ELEM_PCODE && elemId != ELEM_CASE_PCODE && elemId != ELEM_ADDR_PCODE &&
|
||||
elemId != ELEM_DEFAULT_PCODE && elemId != ELEM_SIZE_PCODE)
|
||||
throw XmlError("Expecting <case_pcode>, <addr_pcode>, <default_pcode>, or <size_pcode>");
|
||||
throw XmlError("Expecting <pcode>, <case_pcode>, <addr_pcode>, <default_pcode>, or <size_pcode>");
|
||||
decodePayloadAttributes(decoder);
|
||||
decodePayloadParams(decoder); // Parse the parameters
|
||||
decoder.closeElementSkipping(elemId); // But skip rest of body
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue