• v0.25.0
    ci / checks (push) Successful in 59s
    ci / corpus (push) Successful in 22s
    release / build-and-publish (push) Successful in 5m16s
    Stable

    lucio released this 2026-09-01 23:56:22 -07:00 | 235 commits to master since this release

    Struct members — s.field, reg2hw.ctrl.q and the anonymous
    aggregates resolve.

    typedef struct packed {…} bus_t; bus_t s; s.field recorded nothing.
    The in-file gap was a single resolver gate: a struct typedef's member
    scope already existed, hung off the typedef, and lookup simply never
    entered it. Now any symbol whose child scope is a struct scope — a
    typedef, an anonymous struct {…} s; declarator, or an inline nested
    field — answers member access with one rule, and fields carry their
    own type so s.hdr.addr hops through a member. Unions are the same
    node. Anonymous enum {A, B} x; variants land in the enclosing scope
    exactly like typedef'd ones (the open handshake since types-decls).

    Across files, struct members are exported under the typedef's name,
    and inline nested fields — the shape opentitan's generated register
    packages use everywhere — under a synthesized owner.field key
    carried as the field's type, so hw2reg.status.txfull.d lands on
    txfull's d and never rxfull's two lines up (bare-name keys would
    collide on q/d/qe in every register package). Same-named struct
    typedefs in two packages answer ambiguity, never a guess. FACTS_FORMAT
    8 → 9 (older stores rebuild once); typeDefinition works inside a
    typedef struct body.

    Unresolved names on the corpus fell 1 203 → 1 162; its store shrank
    1.1 % (a resolved local fact encodes smaller than the external
    candidate it replaced) while opentitan's register packages grow theirs
    4.3 %. QA: 28 live opentitan probes across six IPs with three planted
    sibling-field pairs, zero wrong answers, hover under 0.5 ms. Known
    remaining shape: an indexed link mid-chain (reg2hw.key_share0[i].q),
    pre-existing and filed.

    Downloads