1920212223242526272829
Expr a = vc.varExpr("a", bv8); Expr ct_0 = vc.bvConstExprFromInt(8, 0); Expr a_eq_0 = vc.eqExpr(a, ct_0); // /* Query 1 */ vc.push(); // vc.printQuery(); System.out.println("\nChecking:" + a_eq_0); int query = vc.query(a_eq_0); vc.printQuery();
3334353637383940414243
// System.out.printf("query = %d\n", query); // /* Query 2 */ Expr a_neq_0 = vc.notExpr(a_eq_0); vc.push(); System.out.println("\nChecking:" + a_neq_0); query = vc.query(a_neq_0); vc.pop();