Skip to content

Release 0.3.2 - #2

Merged
BinFlip merged 1 commit into
mainfrom
feature/v0.3.2
Sep 14, 2026
Merged

BinFlip merged 1 commit into
mainfrom
feature/v0.3.2

Conversation

@BinFlip

@BinFlip BinFlip commented Sep 14, 2026

Copy link
Copy Markdown
Collaborator

Summary

Patch release 0.3.2.

Fixed

  • ObjectInfo::has_method_table() (new) gates method iteration on a non-zero method count. VbObject::has_method_table() delegates to it, so a descriptor-supplied count is no longer iterated over an uninitialized methods_va.
  • VbProject::diagnostics() reports an Info quirk at site method_table when methods_va is set but the method count is zero.
  • VbObject::code_entries() and VbProject::code_entrypoints() are fail-soft per slot: an unreadable method slot, proc_size, or object is dropped (traced under the tracing feature) instead of aborting the walk.

Changed

  • Em-dashes replaced with plain hyphens across docs, comments, and ParseDiagnostic message strings (exact-message matchers will see the new punctuation).
  • BStr::to_string_lossy() and FuncTypDesc string defaults use as_chunks::<2>() instead of chunks_exact(2). Clippy 1.98 added chunks_exact_to_as_chunks, which already failed CI's stable clippy job on main. as_chunks is stable since 1.88, matching the MSRV.
  • Transitive dependencies refreshed: bitflags 2.13.2, log 0.4.34, scroll_derive 0.13.2 (now on syn 3.0.5), zerocopy 0.8.57. Direct dependencies (goblin, tracing, proptest) were already current. All bumped crates declare an MSRV at or below 1.88.
  • Version bumped to 0.3.2, CHANGELOG entry added, and the missing 0.3.1 date filled in.

Verification

Run on a copy outside the local [patch] config so the lockfile matches CI resolution:

  • cargo fmt --check
  • cargo clippy --locked --all-targets --all-features -- -D warnings (stable 1.98 and 1.88)
  • cargo test --locked and --all-features (stable): 269 passed
  • cargo +1.88 test --locked: 269 passed
  • RUSTDOCFLAGS="-D warnings" cargo doc --locked --no-deps
  • cargo package --locked (verify build)

- ObjectInfo::has_method_table() gates method iteration on a non-zero
  method count, and diagnostics() flags an uninitialized methods_va.
- code_entries() / code_entrypoints() drop unreadable slots and objects
  instead of aborting the walk.
- Replace em-dashes with plain hyphens across docs, comments, and
  diagnostic message strings.
- Use as_chunks::<2>() for UTF-16LE decoding (clippy 1.98
  chunks_exact_to_as_chunks).
- Refresh transitive dependencies.
@BinFlip
BinFlip merged commit ae4c075 into main Sep 14, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant