mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 18:29:37 +02:00
GP-4976 Only send back <typeref>
This commit is contained in:
parent
cb5ab633de
commit
e80f52c22e
12 changed files with 84 additions and 29 deletions
|
@ -4,9 +4,9 @@
|
|||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
|
@ -845,7 +845,7 @@ void HighVariable::encode(Encoder &encoder) const
|
|||
if (symboloffset >= 0)
|
||||
encoder.writeSignedInteger(ATTRIB_OFFSET, symboloffset);
|
||||
}
|
||||
getType()->encode(encoder);
|
||||
getType()->encodeRef(encoder);
|
||||
for(int4 j=0;j<inst.size();++j) {
|
||||
encoder.openElement(ELEM_ADDR);
|
||||
encoder.writeUnsignedInteger(ATTRIB_REF, inst[j]->getCreateIndex());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue