summaryrefslogtreecommitdiff
path: root/binaryninjaapi.h
diff options
context:
space:
mode:
Diffstat (limited to 'binaryninjaapi.h')
-rw-r--r--binaryninjaapi.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h
index 14f38395..b27c8ca8 100644
--- a/binaryninjaapi.h
+++ b/binaryninjaapi.h
@@ -2114,6 +2114,33 @@ namespace BinaryNinja {
\returns Whether decompression was successful
*/
bool ZlibDecompress(DataBuffer& output) const;
+
+ /*! Decompress the contents of this buffer via LZMA compression
+
+ @threadunsafe
+
+ \param[out] output Output DataBuffer the decompressed contents will be stored in.
+ \returns Whether decompression was successful
+ */
+ bool LzmaDecompress(DataBuffer& output) const;
+
+ /*! Decompress the contents of this buffer via LZMA2 compression
+
+ @threadunsafe
+
+ \param[out] output Output DataBuffer the decompressed contents will be stored in.
+ \returns Whether decompression was successful
+ */
+ bool Lzma2Decompress(DataBuffer& output) const;
+
+ /*! Decompress the contents of this buffer via XZ compression
+
+ @threadunsafe
+
+ \param[out] output Output DataBuffer the decompressed contents will be stored in.
+ \returns Whether decompression was successful
+ */
+ bool XzDecompress(DataBuffer& output) const;
};
/*! TemporaryFile is used for creating temporary files, stored (temporarily) in the system's default temporary file