mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-06 03:50:02 +02:00
GP-1662 - Demangler - Fixed the MS demangler incorrectly creating
parameters types
This commit is contained in:
parent
ba2eb53110
commit
dd0c34e780
5 changed files with 60 additions and 52 deletions
|
@ -61,7 +61,7 @@ public class ParameterDefinitionImpl implements ParameterDefinition {
|
|||
* <ul>
|
||||
* <li>Function definition datatype</li>
|
||||
* <li>An unsized/zero-element array</li>
|
||||
* </ul>
|
||||
* </ul>
|
||||
* @param dataType datatype to be checked. If null specified the DEFAULT datatype will be returned.
|
||||
* @param dtMgr target datatype manager (null permitted which will adopt default data organization)
|
||||
* @param voidOK true if checking return datatype and void is allow, else false.
|
||||
|
@ -159,7 +159,7 @@ public class ParameterDefinitionImpl implements ParameterDefinition {
|
|||
|
||||
@Override
|
||||
public String toString() {
|
||||
return dataType.getName() + " " + name;
|
||||
return dataType.getName() + " " + (name == null ? "" : name);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue