trou / cpu_rec_rs Goto Github PK
View Code? Open in Web Editor NEWDetermine which CPU architecture is used in a binary file.
License: Apache License 2.0
Determine which CPU architecture is used in a binary file.
License: Apache License 2.0
Crashed when run ./cpu_rec_rs /bin/bash
$ RUST_BACKTRACE=1 ./cpu_rec_rs /bin/bash
Loading corpus from cpu_rec_corpus/*.corpus
thread 'main' panicked at 'index out of bounds: the len is 0 but the index is 0', src/main.rs:91:26
stack backtrace:
0: rust_begin_unwind
at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/std/src/panicking.rs:578:5
1: core::panicking::panic_fmt
at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/core/src/panicking.rs:67:14
2: core::panicking::panic_bounds_check
at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/core/src/panicking.rs:162:5
3: <usize as core::slice::index::SliceIndex<[T]>>::index
at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/core/src/slice/index.rs:261:10
4: core::slice::index::<impl core::ops::index::Index<I> for [T]>::index
at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/core/src/slice/index.rs:19:9
5: <alloc::vec::Vec<T,A> as core::ops::index::Index<I>>::index
at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/alloc/src/vec/mod.rs:2691:9
6: cpu_rec_rs::predict
at /home/cpu_rec_rs/src/main.rs:91:26
7: cpu_rec_rs::guess_with_windows
at /home/cpu_rec_rs/src/main.rs:109:20
8: cpu_rec_rs::main
at /home/cpu_rec_rs/src/main.rs:243:18
9: core::ops::function::FnOnce::call_once
at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.