summaryrefslogtreecommitdiff
path: root/binaryninjacore.h
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2022-01-18 09:31:18 -0500
committerPeter LaFosse <peter@vector35.com>2022-01-19 10:52:42 -0500
commit28cdd331752203f771990844699463d47724e840 (patch)
tree778a710d6e9ffba9345efcb74b3d11a48c739c2d /binaryninjacore.h
parent5d66fab3c2b36a14f9efd119a818c48c0950394a (diff)
Add getters and setters for syscall number in type objects
Diffstat (limited to 'binaryninjacore.h')
-rw-r--r--binaryninjacore.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h
index f1353c10..eb6833a4 100644
--- a/binaryninjacore.h
+++ b/binaryninjacore.h
@@ -4821,6 +4821,8 @@ __attribute__ ((format (printf, 1, 2)))
BINARYNINJACOREAPI BNNamedTypeReference* BNGetRegisteredTypeName(BNType* type);
BINARYNINJACOREAPI BNReferenceType BNTypeGetReferenceType(BNType* type);
BINARYNINJACOREAPI char* BNGetTypeAlternateName(BNType* type);
+ BINARYNINJACOREAPI uint32_t BNTypeGetSystemCallNumber(BNType* type);
+ BINARYNINJACOREAPI bool BNTypeIsSystemCall(BNType* type);
BINARYNINJACOREAPI char* BNGetTypeString(BNType* type, BNPlatform* platform);
BINARYNINJACOREAPI char* BNGetTypeStringBeforeName(BNType* type, BNPlatform* platform);
@@ -4843,6 +4845,7 @@ __attribute__ ((format (printf, 1, 2)))
BINARYNINJACOREAPI void BNTypeBuilderSetTypeName(BNTypeBuilder* type, BNQualifiedName* name);
BINARYNINJACOREAPI void BNTypeBuilderSetAlternateName(BNTypeBuilder* type, const char* name);
BINARYNINJACOREAPI BNTypeClass BNGetTypeBuilderClass(BNTypeBuilder* type);
+ BINARYNINJACOREAPI void BNTypeBuilderSetSystemCallNumber(BNTypeBuilder* type, bool v, uint32_t n);
BINARYNINJACOREAPI uint64_t BNGetTypeBuilderWidth(BNTypeBuilder* type);
BINARYNINJACOREAPI size_t BNGetTypeBuilderAlignment(BNTypeBuilder* type);
BINARYNINJACOREAPI BNBoolWithConfidence BNIsTypeBuilderSigned(BNTypeBuilder* type);
@@ -4869,6 +4872,8 @@ __attribute__ ((format (printf, 1, 2)))
BINARYNINJACOREAPI BNQualifiedName BNTypeBuilderGetStructureName(BNTypeBuilder* type);
BINARYNINJACOREAPI BNReferenceType BNTypeBuilderGetReferenceType(BNTypeBuilder* type);
BINARYNINJACOREAPI char* BNGetTypeBuilderAlternateName(BNTypeBuilder* type);
+ BINARYNINJACOREAPI bool BNTypeBuilderIsSystemCall(BNTypeBuilder* type);
+ BINARYNINJACOREAPI uint32_t BNTypeBuilderGetSystemCallNumber(BNTypeBuilder* type);
BINARYNINJACOREAPI char* BNGetTypeBuilderString(BNTypeBuilder* type, BNPlatform* platform);
BINARYNINJACOREAPI char* BNGetTypeBuilderStringBeforeName(BNTypeBuilder* type, BNPlatform* platform);