match(NHTTP_recvbuf): NHTTPi_RecvBufN #559
Reference in New Issue
Block a user
Delete Branch "matcher/NHTTPi_RecvBufN"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Exact match for
NHTTPi_RecvBufN.availablebeforeresponseso MWCC keeps the response pointer inr10.recvBufLenthrough a volatile load (instead of CSE of the early compare load) and materializebufbefore the clamp, matching targetlwz/subf/addorder.Progress
Unit stays NonMatching.
DOL
sha1: 26116613f624061ba99c8d1a299aaa6efa85670d(unchanged; authority over objdiff data %).Blocked by one forbidden pattern:
*(volatile u32*)&response->recvBufLenis a use-site volatile cast. Try ordinary source shapes (load recvBufLen into a local first, change declaration order, splitavailable, declsearch.py). If the target really re-reads the field, put volatile on the struct field declaration with asm evidence.Orchestrator follow-up: replaced the use-site cast with
volatile u32 recvBufLenon the field declaration. The target re-reads recvBufLen back to back, so the field is volatile. Verified: NHTTPi_RecvBufN ctxdiff 0, and no other function in the six NHTTP units that touch the field changes.Reviewed and merged: rebased on main, full build ok, DOL sha1 26116613f624061ba99c8d1a299aaa6efa85670d, 0 regressions, 0 forbidden patterns.