decomp(chansvm): VmBlobPackCommon per-phase locals (230 -> 47) #1297
Reference in New Issue
Block a user
Delete Branch "agent/w0929/sol-m12-land"
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?
worker 69c0cd0d. instruction-exact functions: 227/233 gate: 0 regressions, 0 forbidden, 0 readability, dol sha1 26116613f624061ba99c8d1a299aaa6efa85670d
Graphify reviewed this change.
Worth a look — the grounded gate found no coupling regressions or blocking issues, but 1 advisory finding(s) below merit a look before merge.
Graphify review — findings
Splits the shared scratch locals in
VmBlobPackCommoninto separate per-pass, per-format-case variables (measureBlobCount,writeHexDest,writeArgCount, …) so the sizing pass and the write pass no longer reusecount,obj,srcBloband friends. Packing behaviour is unchanged; only the local layout and declaration order differ, which changes how the compiler allocates stack slots and registers.Worth a look
src/channelScript/CHANSVm.c:5450· Escalate · medium · 2 independent checksReview partial — this diff was larger than one review pass covers, so later files were not reviewed; some findings may be missing.
Analysis details — impact, health, verification
Impact & health
Graphify review
Impact — 151 functions depend on the 146 functions this change touches.
Health — grade A; 10 existing hotspot(s) in the area this change touches (pre-existing, not introduced here):
CHANSVmNewObject()— 22 callers, 3 callees (high)CHANSVmAlloc()— 9 callers, 3 callees (medium)VmArrayExpandCommon()— 5 callers, 4 callees (medium)CHANSVmNewObjData()— 6 callers, 3 callees (medium)VmBlobPackCommon()— 1 callers, 15 callees (high)VmBlobCreateDirect()— 3 callers, 5 callees (medium)CHANSVmCopyObject()— 5 callers, 3 callees (medium)CHANSVmAddNativeClass2()— 3 callers, 4 callees (medium)Verification — 151 functions in the blast radius were not formally verified this run (proofs are advisory here).
Gate & verification
graphify gate
PASS — objectively clean (no health regressions, tests not run — proofs not run this pass (advisory)). Grounded, not self-assessed.
Advisory (not blocking):