You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Highlights
Backward Program Slicing (xref slice <ADDR> --to <TARGET> [--fields]): Extracts a compact backward slice of reaching variable definitions, enclosing control-flow conditions, and early-exit precondition guards leading to a target call, field, or instruction address.
Cross-Build Pseudo-C Diff (xref diff-c --other <OTHER_BIN> <ADDR...> [--fields]): Matches stripped functions across builds via xref match invariants, normalizes volatile fn_<hex> and L_<hex> addresses to stable positional identifiers (@fn_N, @L_N), and emits a unified diff of pure logic changes.
Struct & Vec<T> Field Sugar (xref c --fields & Typed C (->) Web Tab): Lifts raw *(T *)(reg + 0x...) pointer arithmetic into readable reg->f_<off>, ®->sub_<off>, and reg->vec_<off>.{ptr,len,cap} expressions inferred by xref layout.
Parallel Modular Source-Tree Dump (xref dump --out <DIR> [--src <PATTERN>] [--fields]): Decompiles functions in parallel across CPU cores into a structured module directory tree (<crate>/src/.../*.c) reconstructed from embedded source-path strings.