FindResolveRequest
function · os · orchestration
- Address
0x43c200· 46 bytes, up to0x43c22d- Signature
ResolveRequest * __thiscall (OsTcp *this, uint32_t id)- Meaning
- Returns the resolve request with an id from the object's list, or null
- Confidence
- verified, proof two
- Finding
- net/dial#resolver-hand-off
- Test
net::dial_resolve_thread
Finding: Resolver hand-off in net: dial
The thread adds each entry, under the OsTcp object's lock (an event at +0x618 used as a mutex), to the list at request +0x24: capacity, count +0x28, data +0x2c, step. At the list's end it stores 1 at +0x20, the flag, and sets the event at the object's +0x544. A request missing from the object's list, or a hostent whose first address pointer is null, ends the thread before the flag. The OsTcp thread 0x43ae20, named OsTcp_Base, takes requests off the list's head while the head's flag is set and, on that thread, calls each one's callback through 0x43b810 with the data pointer, the count and the argument, then frees its host copy, thread handle and list.
The derivation is in the doc.
Callers 1
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.