mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-22 03:12:01 +08:00
GP-1042 corrected source type for return-param
This commit is contained in:
+4
-2
@@ -169,8 +169,10 @@ public class ReturnParameterDB extends ParameterDB {
|
||||
|
||||
@Override
|
||||
public SourceType getSource() {
|
||||
// VARDO: What source-type should be used ?
|
||||
return function.getSymbol().getSource();
|
||||
if (dataType == null || Undefined.isUndefined(dataType)) {
|
||||
return SourceType.DEFAULT;
|
||||
}
|
||||
return function.getSignatureSource();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user