Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
analyze: run equiv pass before pointee (#1173)
This branch changes the order of analysis passes to run the equivalence class analysis and `PointerId` renumbering before running the pointee type analysis. In particular, this improves the pointee results in cases involving `fresh` references, such as this new test case: ```Rust let mut p = 0 as *mut libc::c_void; let fresh = &mut p; *fresh = malloc(4); ``` Most of the changes here are refactorings to move specific analysis passes from `run()` into helper functions, which makes them easier to reorder.
- Loading branch information