mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-28 17:11:11 -09:00
GP-5216 Corrected FunctionDefinitionDataType.setCallingConvention bug
This commit is contained in:
@@ -189,7 +189,7 @@ public class FunctionDefinitionDataType extends GenericDataType implements Funct
|
||||
|
||||
if (GenericCallingConvention
|
||||
.getGenericCallingConvention(conventionName) == GenericCallingConvention.unknown &&
|
||||
!dataMgr.getKnownCallingConventionNames().contains(name)) {
|
||||
(dataMgr == null || !dataMgr.getKnownCallingConventionNames().contains(name))) {
|
||||
throw new InvalidInputException("Unknown calling convention name: " + conventionName);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user