-
Goal: Implement automated and efficient checks for memory initialization in Kani.
## Motivation
Safe Rust guarantees that every variable is initialized, and every reference points to a properly …
-
I don't have a good repro case for this, but one of our system tests is failing intermittently. I managed to get a stacktrace out, but it doesn't really tell us anything, just the line number where it…
-
auto-reduced (treereduce-rust):
````rust
extern "C" {
pub static mut symbol: [i8];
}
fn main() {
println!("C", unsafe { &symbol });
}
````
original:
````rust
extern "C…
-
### Code
```Rust
#[derive(Copy, Clone)]
struct Wide {}
struct VTable {
bar: dyn Cap,
}
trait Bar {
fn bar(&self) -> u32;
}
struct Foo {
foo: u32,
bar: bool,
}
impl Bar for Foo {…
-
It's always going to be possible to do unsafe things in Zig, because we have inline assembly, `@intToPtr`, and ability to call extern functions with the wrong ABI.
But what if we could eliminate ev…
-
**What is the feature you'd like to have?**
Pointers are not necessarily integers. And they can be bigger than the addresses. I'd like Binja to support such pointer types.
In particular, I'd like th…
-
Hi,
I'm running variant calling on non-model organisms, and for some of the downstream analyses (e.g., nucleotide diversity calculations), it is necessary to generate (possibly boolean) accessibili…
-
```
#![feature(bench_black_box)]
use autodiff::autodiff;
use std::ptr;
#[autodiff(sin_vec, Reverse, Active)]
fn cos_vec(#[dup] x: &Vec) -> f32 {
// uses enum internally and breaks
let…
-
Feature gate: `#![feature(stdarch_aarch64_mte)]`
This is a tracking issue for AArch64 MTE memory tagging intrinsics.
### Public API
```rust
// core::arch::aarch64
pub unsafe f…
-
Some common ways to implement a dot product fail to work in debug profile (but work in release).
```rust
#![feature(autodiff)]
const N: usize = 3;
#[autodiff(b_dot_local, Reverse, Duplic…