Skip to content

feat: support explicit Rust Box value inspection - #261

Merged
swananan merged 1 commit into
mainfrom
feature/rust-box-values
Jul 27, 2026
Merged

feat: support explicit Rust Box value inspection#261
swananan merged 1 commit into
mainfrom
feature/rust-box-values

Conversation

@swananan

Copy link
Copy Markdown
Owner

Summary

  • document explicit dereference as the safe way to inspect sized Rust
    Box<T> values because rustc emits them as ordinary pointer DWARF
  • verify pointer-root and pointee adapter behavior across the supported rustc
    compatibility matrix
  • add host e2e coverage for Box<i32>, Box<String>, and Box<Struct>
  • explain why the Rust adapter must not classify ordinary pointers as boxes

Testing

  • cargo fmt --all -- --check
  • cargo clippy --all-targets --all-features -- -D warnings
  • cargo test -p ghostscope-dwarf --all-features
  • full supported rustc compatibility matrix
  • focused sized Box host e2e, runner job 6519244c49f6
  • full standard host e2e, runner job fbb7b081a9fe

Container topology e2e was intentionally skipped because this change does not
affect container, PID namespace, sandbox, or runner-topology behavior.

rustc emits sized Box<T> as ordinary pointer DWARF, so automatic
classification would confuse owners with references and raw pointers.

Document explicit dereference as the safe inspection path and pin the
behavior across the supported rustc matrix and host e2e.
@swananan
swananan merged commit 68c1e5a into main Jul 27, 2026
10 checks passed
@swananan
swananan deleted the feature/rust-box-values branch July 27, 2026 14:59
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