summaryrefslogtreecommitdiff
path: root/binaryninjaapi.h
diff options
context:
space:
mode:
Diffstat (limited to 'binaryninjaapi.h')
-rw-r--r--binaryninjaapi.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h
index 5f2987bf..1a3dcb53 100644
--- a/binaryninjaapi.h
+++ b/binaryninjaapi.h
@@ -14907,10 +14907,25 @@ namespace BinaryNinja {
*/
TypeLibrary(Ref<Architecture> arch, const std::string& name);
+ /*! Decompresses a type library from a file
+
+ \param path
+ \return The string contents of the decompressed type library
+ */
+ std::string Decompress(const std::string& path);
+
+ /*! Decompresses a type library from a file
+
+ \param path
+ \param output
+ \return True if the type library was successfully decompressed
+ */
+ static bool DecompressToFile(const std::string& path, const std::string& output);
+
/*! Loads a finalized type library instance from file
\param path
- \return
+ \return True if the type library was successfully loaded
*/
static Ref<TypeLibrary> LoadFromFile(const std::string& path);