Skip to content
Snippets Groups Projects
Commit 299c6d75 authored by Per's avatar Per
Browse files

README

parent fa061753
Branches
No related tags found
No related merge requests found
......@@ -80,14 +80,15 @@ In this case it is the Rust built in division by zero detection that causes a `p
The error found is at line 24.
``` rust
#![no_std]
#![no_main]
#[macro_use]
extern crate klee;
use core::ptr;
#[no_mangle]
fn main() {
let u = ksymbol!("u");
......@@ -102,6 +103,6 @@ fn f1(u: u8) -> u8 {
}
fn f2(u: u8) -> u8 {
100 / u // <- error found here is a Rust div 0 panic! .
100 / u // <- Rust div 0 panic!
}
```
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment