mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 18:29:37 +02:00
GP-3369 Implement shortened display names in decompiler
This commit is contained in:
parent
69549f576f
commit
ba694068ef
31 changed files with 709 additions and 134 deletions
|
@ -4668,8 +4668,8 @@ void FuncCallSpecs::setFuncdata(Funcdata *f)
|
|||
fd = f;
|
||||
if (fd != (Funcdata *)0) {
|
||||
entryaddress = fd->getAddress();
|
||||
if (fd->getName().size() != 0)
|
||||
name = fd->getName();
|
||||
if (fd->getDisplayName().size() != 0)
|
||||
name = fd->getDisplayName();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -5130,7 +5130,7 @@ void FuncCallSpecs::deindirect(Funcdata &data,Funcdata *newfd)
|
|||
|
||||
{
|
||||
entryaddress = newfd->getAddress();
|
||||
name = newfd->getName();
|
||||
name = newfd->getDisplayName();
|
||||
fd = newfd;
|
||||
|
||||
Varnode *vn = data.newVarnodeCallSpecs(this);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue