|
KittyMemoryEx 1.0.0
Dedicated library for runtime code patching, memory scanning, tracing, injection and some more useful memory utilities. works for both Android and Linux
|
Provides utility functions for handling ZIP files. More...
Classes | |
| struct | CentralDirectoryInfo |
| Structure to hold ZIP Central Directory info. More... | |
| struct | ZipEntryInfo |
| Structure to hold ZIP entry info. More... | |
| struct | ZipEntryMMap |
| Structure to hold memory mapped ZIP entry info. More... | |
Functions | |
| bool | findCentralDirectory (const uint8_t *data, uint64_t fileSize, CentralDirectoryInfo *info) |
| Finds the central directory of a ZIP file. | |
| std::vector< ZipEntryInfo > | listEntriesInZip (const std::string &zipPath) |
| Lists all entries in a ZIP file. | |
| bool | findEntryInfoByDataOffset (const std::string &zipPath, uint64_t dataOffset, ZipEntryInfo *out) |
| Finds the ZipEntryInfo for an entry by its data offset. | |
| bool | mmapEntryByDataOffset (const std::string &zipPath, uint64_t dataOffset, ZipEntryMMap *out) |
| Maps an entry in a ZIP file by its data offset. | |
Provides utility functions for handling ZIP files.
| bool KittyUtils::Zip::findCentralDirectory | ( | const uint8_t * | data, |
| uint64_t | fileSize, | ||
| CentralDirectoryInfo * | info ) |
Finds the central directory of a ZIP file.
| data | Pointer to the ZIP file data. |
| fileSize | Size of the ZIP file in bytes. |
| info | Pointer to store the central directory info. |
| bool KittyUtils::Zip::findEntryInfoByDataOffset | ( | const std::string & | zipPath, |
| uint64_t | dataOffset, | ||
| ZipEntryInfo * | out ) |
Finds the ZipEntryInfo for an entry by its data offset.
| zipPath | Path to the ZIP file. |
| dataOffset | Offset of the entry in the ZIP file. |
| out | Pointer to store the ZipEntryInfo object if found. |
| std::vector< ZipEntryInfo > KittyUtils::Zip::listEntriesInZip | ( | const std::string & | zipPath | ) |
Lists all entries in a ZIP file.
| zipPath | Path to the ZIP file. |
| bool KittyUtils::Zip::mmapEntryByDataOffset | ( | const std::string & | zipPath, |
| uint64_t | dataOffset, | ||
| ZipEntryMMap * | out ) |
Maps an entry in a ZIP file by its data offset.
| zipPath | Path to the ZIP file. |
| dataOffset | Offset of the entry in the ZIP file. |
| out | Pointer to store the ZipEntryMMap object if found. |