SetWardenBuffer
function · warden · host
- Address
0x6ca010· 83 bytes, up to0x6ca062- Signature
WardenBuffer * __thiscall (WardenBuffer *this, uint32_t size, const void *data)- Meaning
- Copies size bytes of data into a new allocation, or empties the buffer for a null data pointer
- Confidence
- verified, proof one
- Finding
- warden/cache#the-cache-record
Finding: The cache record in warden: the module cache
A WardenBuffer is stored as a dword length and then the bytes one at a time. The reader allocates the length
and fills it byte by byte. A reader given a store that holds fewer than four bytes writes no length, and the
length it uses is the store's own address, read from the slot that held the argument. A length longer than the
rest of the store leaves the bytes past the end as the allocator gave them.
The derivation is in the doc.
Callers 2
- 0x6c9f60 unassigned
- AssignWardenBuffer warden
Callees 1
- SMemAlloc storm
Calls and jumps by a bare address, from tables/calls.tsv.