summaryrefslogtreecommitdiff
path: root/binaryninjaapi.h
diff options
context:
space:
mode:
authorGlenn Smith <glenn@vector35.com>2022-08-23 00:34:20 -0400
committerGlenn Smith <glenn@vector35.com>2022-09-29 21:02:25 -0400
commitb6442a914783cb2861ff8d1cd6a3865fed29e0f7 (patch)
tree2b45fe796746d52f32132447948b34092b5523d6 /binaryninjaapi.h
parent0725c6fbd58b3d40ffefdb319121a29ba4168517 (diff)
DebugInfo: take entire Type for function instead of by-parts
Diffstat (limited to 'binaryninjaapi.h')
-rw-r--r--binaryninjaapi.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h
index a01ab998..3d29520f 100644
--- a/binaryninjaapi.h
+++ b/binaryninjaapi.h
@@ -11927,18 +11927,13 @@ namespace BinaryNinja {
std::string fullName;
std::string rawName;
uint64_t address;
- Ref<Type> returnType;
- std::vector<std::tuple<std::string, Ref<Type>>> parameters;
- bool variableParameters;
- Ref<CallingConvention> callingConvention;
+ Ref<Type> type;
Ref<Platform> platform;
DebugFunctionInfo(std::string shortName, std::string fullName, std::string rawName, uint64_t address,
- Ref<Type> returnType, std::vector<std::tuple<std::string, Ref<Type>>> parameters, bool variableParameters,
- Ref<CallingConvention> callingConvention, Ref<Platform> platform) :
+ Ref<Type> type, Ref<Platform> platform) :
shortName(shortName),
- fullName(fullName), rawName(rawName), address(address), returnType(returnType), parameters(parameters),
- variableParameters(variableParameters), callingConvention(callingConvention), platform(platform)
+ fullName(fullName), rawName(rawName), address(address), platform(platform)
{}
};