diff options
| author | Rusty Wagner <rusty.wagner@gmail.com> | 2024-04-01 15:19:59 -0400 |
|---|---|---|
| committer | Rusty Wagner <rusty.wagner@gmail.com> | 2024-04-01 16:07:49 -0400 |
| commit | a7fd2f8080123ddcbb51fdcc3d3e786e60a111b5 (patch) | |
| tree | e3b81857df1c778e8c5cfa0afc567675963d5801 /binaryninjaapi.h | |
| parent | 020562880d65802d6eef26ca32428a405bb78dc3 (diff) | |
Add md1rom binary view with pure Rust lzma implementation
Diffstat (limited to 'binaryninjaapi.h')
| -rw-r--r-- | binaryninjaapi.h | 27 |
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 |
