summaryrefslogtreecommitdiff
path: root/binaryninjaapi.h
diff options
context:
space:
mode:
authorRusty Wagner <rusty@vector35.com>2017-02-09 21:17:36 -0500
committerRusty Wagner <rusty@vector35.com>2017-02-09 21:17:36 -0500
commit3f08a3c209adba9de44f871e2a4cf358a71f59cd (patch)
tree13b66c5a4a3af8c74342f7eaa1c4ff8220b16294 /binaryninjaapi.h
parent898ec98d9858ddec7fb431ba304d996cec12ff68 (diff)
API for accessing platform-specific types and function definitions
Diffstat (limited to 'binaryninjaapi.h')
-rw-r--r--binaryninjaapi.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h
index ed9cedc5..4f3a0275 100644
--- a/binaryninjaapi.h
+++ b/binaryninjaapi.h
@@ -2342,6 +2342,16 @@ namespace BinaryNinja
void AddRelatedPlatform(Architecture* arch, Platform* platform);
Ref<Platform> GetAssociatedPlatformByAddress(uint64_t& addr);
+ std::map<QualifiedName, Ref<Type>> GetTypes();
+ std::map<QualifiedName, Ref<Type>> GetVariables();
+ std::map<QualifiedName, Ref<Type>> GetFunctions();
+ std::map<uint32_t, QualifiedNameAndType> GetSystemCalls();
+ Ref<Type> GetTypeByName(const QualifiedName& name);
+ Ref<Type> GetVariableByName(const QualifiedName& name);
+ Ref<Type> GetFunctionByName(const QualifiedName& name);
+ std::string GetSystemCallName(uint32_t n);
+ Ref<Type> GetSystemCallType(uint32_t n);
+
std::string GenerateAutoPlatformTypeId(const QualifiedName& name);
Ref<NamedTypeReference> GenerateAutoPlatformTypeReference(BNNamedTypeReferenceClass cls,
const QualifiedName& name);