A crate for analyzing the usage of unsafe code in Rust, based on cloc-rust.
Currently, this is based on a textual analysis of code. In the future, this could be expanded to use the AST for further analysis.
For more information on unsafe code:
Example
extern crate unsafe_unicorn;
use ;
More examples are available in examples/
TODO
- make PR for tokei
- add dependency analysis
- expand tests
- add docs
- clean up code
- look for c-like array iteration?