Commit 299c6d75 authored by Per's avatar Per

README

parent fa061753
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment