InitKeyList
function · core · orchestration
- Address
0x422fb0· 12 bytes, up to0x422fbb- Meaning
- Points a list's sentinel link at itself, marked by bit 0
- Confidence
- verified, proof two
- Finding
- core/scheduler#intrusive-lists
Finding: Intrusive lists in core: scheduler
Event-library lists link their elements in place. A head is 12 bytes: the link's offset in the
element, then a sentinel link. A link is two dwords: a pointer to the previous link and the next
element, with bit 0 set on a next pointer that names the sentinel. An unlinked link is zeros.
Unlinking writes the next link's previous pointer and the previous link's next pointer. A helper
turns a link into the link of the element after it: the sentinel at the end, else the next element
plus the offset. 0x422c90(node, mode, reference) unlinks the node, then links it after the
reference when mode is 1 and before it otherwise; no reference means the sentinel.
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.