Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crash on std #61

Open
cdstanford opened this issue Jul 12, 2024 · 1 comment
Open

crash on std #61

cdstanford opened this issue Jul 12, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@cdstanford
Copy link
Collaborator

I am getting a crash on std (I might be doing something obvious wrong) -- here is the output below.

Possibly related to #58

cargo run --bin scan ../rust/library/std    
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.20s
     Running `target/debug/scan ../rust/library/std`
[2024-07-08T20:22:29Z WARN  cargo_scan::scan_stats] Scan crashed, skipping crate: ../rust/library/std
crate, fn_decl, callee, effect, dir, file, line, col

num_effects, total, loc_lb, loc_ub, macros, loc_lb, loc_ub, conditional_code, loc_lb, loc_ub, skipped_calls, loc_lb, loc_ub, skipped_fn_ptrs, loc_lb, loc_ub, skipped_other, loc_lb, loc_ub, unsafe_trait, loc_lb, loc_ub, unsafe_impl, loc_lb, loc_ub, pub_fns, pub_fns_with_effects, pub_total_effects, audited_fns, audited_loc
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
@cdstanford cdstanford added the bug Something isn't working label Jul 12, 2024
@cdstanford
Copy link
Collaborator Author

cdstanford commented Aug 1, 2024

I think we're still getting the same results on this one, I will try to look into it sometime when I get a chance!

$ RUST_LOG=info cargo run --release --bin scan -- ../rust/library/std
    Finished `release` profile [optimized] target(s) in 0.13s
     Running `target/release/scan ../rust/library/std`
[2024-08-01T21:26:34Z INFO  cargo_scan::scanner] Scanning crate: "../rust/library/std"
[2024-08-01T21:26:34Z WARN  cargo_scan::scan_stats] Scan crashed, skipping crate: ../rust/library/std
crate, fn_decl, callee, effect, dir, file, line, col

num_effects, total, loc_lb, loc_ub, macros, loc_lb, loc_ub, conditional_code, loc_lb, loc_ub, skipped_calls, loc_lb, loc_ub, skipped_fn_ptrs, loc_lb, loc_ub, skipped_other, loc_lb, loc_ub, unsafe_trait, loc_lb, loc_ub, unsafe_impl, loc_lb, loc_ub, pub_fns, pub_fns_with_effects, pub_total_effects, audited_fns, audited_loc
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant