Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Divide by zero unsafe code report safe #100

Open
Ao-senXiong opened this issue Jul 30, 2024 · 0 comments
Open

Divide by zero unsafe code report safe #100

Ao-senXiong opened this issue Jul 30, 2024 · 0 comments

Comments

@Ao-senXiong
Copy link

.jpf

classpath=/Users/aosenxiong/spf/spf-java11/jpf-symbc/build/classes:/var/folders/0v/xw7b2vwd7bzd3n8b3kc0gxj00000gn/T/jpf-benchmark.XXXXXX.iX86tsSpOU/target/classes:/Users/aosenxiong/spf/spf-java11/sv-benchmarks/java/common
symbolic.dp=z3bitvector
symbolic.bvlength=64
search.depth_limit=200
symbolic.strings=true
symbolic.string_dp=ABC
symbolic.string_dp_timeout_ms=3000
symbolic.lazy=on
symbolic.arrays=true

Java

public class Main {
  public static void main(String args[]) {
    try {
      double i = 0;
      double j = 10 / i;
    } catch (ArithmeticException exc) {
      assert false;
    }
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant