|
ROSE 0.11.145.354
|
This class represents the contents of a central directory file header in a zip file.
The central directory is ... There are also local headers ...
Definition at line 114 of file ModulesJvm.h.
#include <Rose/BinaryAnalysis/Partitioner2/ModulesJvm.h>
Public Member Functions | |
| FileStat (const uint8_t *buf, size_t &offset, uint32_t fileIndex) | |
| Constructor. | |
| std::string | filename () const |
| The name of the file. | |
| size_t | compressedSize () const |
| Compressed size of the file (bytes) | |
| size_t | uncompressedSize () const |
| Uncompressed size of the file (bytes) | |
| size_t | offset () const |
| Offset (in bytes) of the local headers. | |
| uint32_t | centralHeaderSize () const |
| Size (in bytes) of the central directory header. | |
| FileStat & | operator= (const FileStat &)=delete |
| FileStat (const FileStat &)=default | |
|
explicit |
Constructor.
| buf | The memory buffer for the zip file. |
| offset | The offset in the buffer to the file header (in bytes). The offset is updated to the offset of the next file on exit from the constructor. |
| fileIndex | The index of the current file header. |
| size_t Rose::BinaryAnalysis::Partitioner2::ModulesJvm::FileStat::offset | ( | ) | const |
Offset (in bytes) of the local headers.
The local headers contain ...