From 35adefaa9d1ecf5e8c09a787dbd6bda1d1a49325 Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Wed, 5 Apr 2023 13:54:44 -0400 Subject: Add APIs for dumping the contents of TypeLibraries --- binaryninjacore.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'binaryninjacore.h') diff --git a/binaryninjacore.h b/binaryninjacore.h index 3b9fb33f..afdaa6cb 100644 --- a/binaryninjacore.h +++ b/binaryninjacore.h @@ -5212,6 +5212,8 @@ extern "C" BINARYNINJACOREAPI BNTypeLibrary* BNNewTypeLibraryReference(BNTypeLibrary* lib); BINARYNINJACOREAPI BNTypeLibrary* BNDuplicateTypeLibrary(BNTypeLibrary* lib); BINARYNINJACOREAPI BNTypeLibrary* BNLoadTypeLibraryFromFile(const char* path); + BINARYNINJACOREAPI bool BNTypeLibraryDecompressToFile(const char* file, const char* output); + BINARYNINJACOREAPI char* BNTypeLibraryDecompressToString(const char* file); BINARYNINJACOREAPI void BNFreeTypeLibrary(BNTypeLibrary* lib); BINARYNINJACOREAPI BNTypeLibrary* BNLookupTypeLibraryByName(BNArchitecture* arch, const char* name); -- cgit v1.3.1