ConsenSysDiligence / ConsenSysDiligence/scribble
Scribble miscompiles lets inside of an implication
Open
- Dominant language
- TypeScript
- Stars
- 334
- Forks
- 28
- PR merge metrics
- No merged PRs in 30d
Description
Given the annotation: ```/// #if_succeeds cond ==> let x := E0 in E1;``` scribble will produce the following instrumentation:
```
let x_0 := E0;
if ((!cond) || E1) {
...
}
```
This is incorrect, since `E0` will always be evaluated, even when `cond` is false. This is can cause unexpected crashes. Fix it.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.