ArchiveOpen
function · storm · orchestration
- Address
0x655690· 933 bytes, up to0x655a34- Meaning
- Allocates a zero-filled archive record with its priority and loads its tables
- Confidence
- verified, proof two
- Finding
- storm/format#header
Finding: Header in storm: the archive format
0x655bf0 tries offsets of the archive in steps of 0x200, each served from a buffered read of 0x1000 bytes, and takes the first
that passes four tests: the magic 0x1a51504d, a header size of at least 0x20, and at most 0x10000 hash
entries and 0x10000 block entries. The 32-byte header is the magic, header size, archive size, a 16-bit version
(not tested here), a 16-bit sector shift (low byte used; sector size 0x200 << shift), then the offsets of the hash
and block tables and their entry counts, relative to the header. A short read or no room for 0x20 bytes fails
with 0x8510006c.
The derivation is in the doc.
Callers 1
- SFileOpenArchive storm
Callees 13
- _strstr crt
- ReleaseRefChain net
- SMemAlloc storm
- SStrCopy storm
- SErrSetLastError storm
- 0x654e80 storm
- 0x654e90 storm
- PrepareCryptTable storm
- ArchiveLoadTables storm
- 0x6575d0 storm
- 0x662910 storm
- 0x66d2d0 storm
- 0x66dfa0 storm
Calls and jumps by a bare address, from tables/calls.tsv.