You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.
Issue
The transfer functions for
div
andmul
seem wrong.Steps to reproduce
I was reading the code and found two issues:
div
(https://github.com/facebookexperimental/MIRAI/blob/main/checker/src/interval_domain.rs#L126)The use of
saturating.add
seems a typomul
(https://github.com/facebookexperimental/MIRAI/blob/main/checker/src/interval_domain.rs#L332)gives wrong results if negative intervals.
A sound transfer function would be
The text was updated successfully, but these errors were encountered: