lizhuohua / rust-mir-checker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Thread 'rustc' panicked at 'panic in fold1'.

thanhlecongg opened this issue · comments

Hi, I am trying to run MirChecker for my project
RUSTSEC-2018-0008.zip

My project can be compiled without errors using cargo.

Checking RUSTSEC-2018-0008 v0.1.0 (/Users/thanhdeku/Documents/Research/Melbourne/Detection/rust-mir-checker/rust-study/section-5-memory-safety-issues/reproduced-bugs/cve/RUSTSEC-2018-0008)
warning: crate `RUSTSEC_2018_0008` should have a snake case name
  |
  = note: `#[warn(non_snake_case)]` on by default
  = help: convert the identifier to snake case: `rustsec_2018_0008`

warning: 1 warning emitted

    Finished dev [unoptimized + debuginfo] target(s) in 0.23s

However, MirChecker, cannot compile it.

warning: crate `RUSTSEC_2018_0008` should have a snake case name
  |
  = note: `#[warn(non_snake_case)]` on by default
  = help: convert the identifier to snake case: `rustsec_2018_0008`

thread 'rustc' panicked at 'panic in fold1', src/analysis/mir_visitor/call_visitor.rs:190:18
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: 1 warning emitted

error: could not compile `RUSTSEC-2018-0008`

I wonder if you know why does the situation happen ?
Many thanks. Have a good day.

*Note: To run/compile my project, please follow instructions in main.rs