mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 02:39:44 +02:00
getTypePointerStripArray strips only 1 level
This commit is contained in:
parent
6df091eeee
commit
40bb05d8ed
8 changed files with 32 additions and 38 deletions
|
@ -345,7 +345,7 @@ void Funcdata::spacebaseConstant(PcodeOp *op,int4 slot,SymbolEntry *entry,const
|
|||
|
||||
Symbol *sym = entry->getSymbol();
|
||||
Datatype *entrytype = sym->getType();
|
||||
Datatype *ptrentrytype = glb->types->getTypePointer(sz,entrytype,spaceid->getWordSize());
|
||||
Datatype *ptrentrytype = glb->types->getTypePointerStripArray(sz,entrytype,spaceid->getWordSize());
|
||||
bool typelock = sym->isTypeLocked();
|
||||
if (typelock && (entrytype->getMetatype() == TYPE_UNKNOWN))
|
||||
typelock = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue