summaryrefslogtreecommitdiff
path: root/binaryninjaapi.h
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2023-02-08 08:56:03 -0500
committerPeter LaFosse <peter@vector35.com>2023-02-08 11:52:37 -0500
commit0b752f36c9d3b6bcb51a05fdcf5b38633d38bdbd (patch)
tree74551bbf2d65f3d21a159ee006df7da45e93e398 /binaryninjaapi.h
parentc2f7f8acadb4aec2c4df646528692fc9bfe1abd1 (diff)
Add boolean for Function.user_type to indicate if a user type has been set
Diffstat (limited to 'binaryninjaapi.h')
-rw-r--r--binaryninjaapi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h
index 7ad86999..c08e2c1a 100644
--- a/binaryninjaapi.h
+++ b/binaryninjaapi.h
@@ -8754,6 +8754,8 @@ namespace BinaryNinja {
void SetRegisterStackAdjustments(const std::map<uint32_t, Confidence<int32_t>>& regStackAdjust);
void SetClobberedRegisters(const Confidence<std::set<uint32_t>>& clobbered);
+ bool HasUserType() const;
+
void ApplyImportedTypes(Symbol* sym, Ref<Type> type = nullptr);
void ApplyAutoDiscoveredType(Type* type);