Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

alex-ozdemir/analyze-unsafe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Analyze-Unsafe

Some of my work analyzing use of unsafe by crates on crates.io.

Runbook

Right now the repository is set up to run a backwards dataflow analysis to see if dereferenced pointers originate in public interfaces.

To see it in action, check out examples/v1.rs and run cargo run --bin analyze -- --sysroot ~/.multirust/toolchains/nightly-x86_64-unknown-linux-gnu examples/v1.rs, where you will need to replace ~/.multirust/toolchains/nightly-x86_64-unknown-linux-gnu with the location of your nightly install.

Write Up

As a work on the analysis, I intend to keep my (in progress) write-up and some data online.

About

Analyzing the way Rust code uses unsafe, out in the wild.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published