Execution of script taking more time. #2138
Replies: 6 comments
-
What version of z3 do you have installed? What is the result of running this command in a terminal |
Beta Was this translation helpful? Give feedback.
-
Z3 version 4.8.7 - 64 bit |
Beta Was this translation helpful? Give feedback.
-
It's a bit hard to provide more guidance without some more context. Can you provide the code you're working with? As a general comment, it's sadly very common for an attempted program verification to generate proof obligation that is infeasible to solve. Breaking up the problem in a way that the solvers can actually complete their tasks in a reasonable amount of time is a bit of a black art. One easy thing to try is to attempt using different solvers; sometimes you get lucky and a different solver has an easier time solving your proof obligations. |
Beta Was this translation helpful? Give feedback.
-
I tried the script with different solvers, it did not work. Here I have attached files containing DRBG_update function in C and Cryptol , and SAW Script. Output was : [warning] at ./AES128TBox.cry:266:83--266:84 Globals: External references: Definitions: [05:08:57.615] drbg_update_spec [05:08:57.644] Verifying drbg_update ... Attachments : |
Beta Was this translation helpful? Give feedback.
-
I also encountered the problem that the running time is too long. The verification of the aes algorithm has been running for more than a day. I still don't get the results now. [09:38:36.218] Loading file "/home/saw-script/examples/openssl_aes/aes.saw" [09:38:36.603] Verifying aes_encrypt ... Is there something wrong with this? |
Beta Was this translation helpful? Give feedback.
-
Is this still relevant? It's been multiple years. A quick look at the original example suggests that it's trying to do too much at once and should get broken down into multiple specifications for multiple functions. |
Beta Was this translation helpful? Give feedback.
-
I implemented DRBG Generate function in C and Cryptol and used SAW script. After executing , it gives output :
[08:02:28.976] Verifying generate ...
[08:02:29.045] Simulating generate ...
[08:05:55.496] Checking proof obligations generate ...
[22:40:29.832]
*** Data.SBV: fd:5: hGetLine: end of file:
*** Sent : (check-sat)
*** Executable: /usr/bin/z3
*** Options : -nw -in -smt2
What is the issue here? Could you please help?
Beta Was this translation helpful? Give feedback.
All reactions