Find Ownership Violations
find_ownership_violationsDetect memory and lifecycle violations like complex ownership, unsafe blocks, escaping references, and illegal mutability on borrowed data. Useful for Rust and C++ reviews.
Instructions
Find memory and lifecycle issues — entities with complex ownership, unsafe blocks, escaping references, or illegal mutability on borrowed data. Returns 0 for most JS/Python codebases — a non-zero result in those languages indicates a serious boundary violation worth investigating. Most detailed results for Rust and C++.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | Project name (required in multi-project mode). Use list_projects to see available projects. |