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

obfuscating and benchmark attributes #3

Open
DavidDeharbe opened this issue Jul 13, 2015 · 0 comments
Open

obfuscating and benchmark attributes #3

DavidDeharbe opened this issue Jul 13, 2015 · 0 comments
Assignees

Comments

@DavidDeharbe
Copy link

Command-line option -obfuscate should be handle differently the values of pre-defined benchmark attributes, e.g.

(set-logic QF_UFLRA)
(set-info :source | Benchmark generated by veriT |)
(set-info :smt-lib-version 2.0)
(set-info :status unsat)
(declare-fun x () Real)
(declare-fun f (Real) Real)
(assert (=> (> x 0) (< (f x) 0)))
(assert (=> (< x 0) (> (f x) 0)))
(assert (= (f x) 0))
(assert (not (= x 0)))
(check-sat)
(exit)

yields

<pre>
(set-logic QF_UFLRA)
(set-info :source S0)
(set-info :smt-lib-version 2.0)
(set-info :status S1)
(declare-fun S2 () Real)
(declare-fun S3 (Real) Real)
(assert (=> (> S2 0) (< (S3 S2) 0)))
(assert (=> (< S2 0) (> (S3 S2) 0)))
(assert (= (S3 S2) 0))
(assert (not (= S2 0)))
(check-sat)
(exit)

For the :source attribute, it should be either:

  • removed,
  • replaced by "produced by smtpp -obfuscate",
  • replaced by a user-defined string.

For the :status attribute, it should be either:

  • kept,
  • removed,
  • any of the above, at the discretion of the user.
@DavidDeharbe DavidDeharbe changed the title obfuscating and benchmark attribuets obfuscating and benchmark attributes Jul 13, 2015
@rbonichon rbonichon self-assigned this Jul 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants