NameCacheStore
function · dbcache · orchestration
- Address
0x55f310· 393 bytes, up to0x55f498- Signature
void __thiscall (void *this, CDataStore *stream, uint32_t arg3, uint32_t arg4)- Meaning
- Writes a name record into the names cache, sets its valid byte and runs the callbacks
- Confidence
- verified, proof two
- Finding
- dbcache/overview#name-cache-writers
Finding: Name cache writers in dbcache: overview
The names cache has two row writers. The lookup 0x55f080 inserts an empty, pending node on a miss when it has a callback; 0x55f310, called only from
the handler for opcode 0x51 (0x555230), writes the payload and sets the valid byte +0x170. The payload of a node reaches a caller only through
the lookup's return (add eax,0x20 occurs once in 0x554b00 to 0x5738c0, at 0x55f2e5); the bulk reader 0x55f4a0 has no caller. A removal, 0x555600 to 0x560170,
frees a name.
The derivation is in the doc.
Callers 1
- HandleNameQueryResponse dbcache
Callees 5
- UnlinkDbCacheLink dbcache
- 0x55ec50 dbcache
- NameCacheAllocNode dbcache
- SMemFree storm
- SStrCopy storm
Calls and jumps by a bare address, from tables/calls.tsv.