decomp(aterm): typed progress record and recovered AES/Discovery/Protocol structure #1293
Reference in New Issue
Block a user
Delete Branch "agent/w0929/sol-r2b-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 5a9a04c6. instruction-exact functions: 20/26 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.
Formal verification. PR-changed functions: 0/3 verified (0 proven, 0 may-equivalent, 0 distinguished) · 3 not verified (3 unsupported).
Not verified on this run:
ATERMAesExpandEncryptKey(unsupported),ATERMDiscoverAccessPoints(unsupported),ATERMRunConfigProtocol(unsupported).Graphify review — findings
Refactors
ATERM.ctoward matching codegen without changing behaviour.ATERMRunConfigProtocolnow uses two inline helpers:atermWaitForIntervalfor the 500 ms alarm wait, andatermDecodeEncryptedResponsefor the shared checksum, sequence and AES-unwrap decode in both receive states.ATERMDiscoverAccessPointsreports progress through a typedAtermProgresswith a separatechangedIndexinstead of an overloadedprogressInfoarray, alongside local reordering here and inATERMAesExpandEncryptKey, plus the archivedsol_r2attempt notes.Worth a look
src/scene/setting/ATERM.c:1406· Escalate · mediumReview 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 — 52 functions depend on the 52 functions this change touches.
Health — grade B; 5 existing hotspot(s) in the area this change touches (pre-existing, not introduced here):
ATERMRunConfigProtocol()— 1 callers, 22 callees (high)ATERMScanAccessPoints()— 1 callers, 12 callees (high)ATERMStartNetworkStack()— 1 callers, 12 callees (high)ATERMDiscoverAccessPoints()— 1 callers, 6 callees (medium)ATERMi_ApConfigEnd()— 0 callers, 6 callees (medium)Verification — 52 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):
Formal verification
Could not verify: Could not verify
ATERMAesExpandEncryptKey.The verifier did not have enough to check
ATERMAesExpandEncryptKey, so it is saying so rather than guessing. No false assurance is the whole point.Guarantee: No guarantee either way, this is an honest abstention, not a pass.
Note: Reason: unsupported parameter type(s)
Could not verify: Could not verify
ATERMDiscoverAccessPoints.The verifier did not have enough to check
ATERMDiscoverAccessPoints, so it is saying so rather than guessing. No false assurance is the whole point.Guarantee: No guarantee either way, this is an honest abstention, not a pass.
Note: Reason: unsupported parameter type(s)
Could not verify: Could not verify
ATERMRunConfigProtocol.The verifier did not have enough to check
ATERMRunConfigProtocol, so it is saying so rather than guessing. No false assurance is the whole point.Guarantee: No guarantee either way, this is an honest abstention, not a pass.
Note: Reason: unsupported return type: s32