MatchHardwareRow
function · unassigned · primitive
- Address
0x641610· 84 bytes, up to0x641663- Signature
void __thiscall (void *this)- Meaning
- Finds the first row from index 1 whose vendor and device fields equal the record and stores its id
- Confidence
- verified, proof one
- Finding
- console/hardware#matching-a-row
Finding: Matching a row in console: hardware
0x641610 scans the rows from index 1 for the first one whose second field equals the vendor word and whose third field equals the device word, and stores its first field, the row id, as the matched id. Row 0 is never examined. When the first match leaves the id at 0, the vendor word becomes 0xffff and the adapter class (gx/device#adapter-class: 2, 1 or 0) replaces the device word, and the scan runs again; a failed class query skips it. A machine with no matching row so matches only a row whose vendor field is 0xffff and whose device field is its class.
The derivation is in the doc.
Callers 1
- DetectHardware unassigned
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.