Matches in value-assignements (V): {{numOfValueMatches}}
Matches in edge-description: {{numOfDescriptionMatches}}
-V- |
{{line.desc}}
|
Zoom Factor (%)
Run scripts/report-generator.py to display CFAs.
Zoom Factor (%)
Run scripts/report-generator.py to display ARG.
1 | int num_of_inputs_at_2273 = 2; int INPUTS_at_2273[2]; int input_at_2273_counter = 0;int num_of_inputs_at_2178 = 2; int INPUTS_at_2178[2]; int input_at_2178_counter = 0;int num_of_inputs_at_2259 = 2; int INPUTS_at_2259[2]; int input_at_2259_counter = 0;int num_of_inputs_at_2164 = 2; int INPUTS_at_2164[2]; int input_at_2164_counter = 0;int num_of_inputs_at_2245 = 2; int INPUTS_at_2245[2]; int input_at_2245_counter = 0;int num_of_inputs_at_2231 = 2; int INPUTS_at_2231[2]; int input_at_2231_counter = 0;int num_of_inputs_at_2217 = 2; int INPUTS_at_2217[2]; int input_at_2217_counter = 0;int num_of_inputs_at_2203 = 2; int INPUTS_at_2203[2]; int input_at_2203_counter = 0;int num_of_inputs_at_2189 = 2; int INPUTS_at_2189[2]; int input_at_2189_counter = 0;int num_of_inputs_at_2301 = 1; int INPUTS_at_2301[1]; int input_at_2301_counter = 0;int num_of_inputs_at_2287 = 2; int INPUTS_at_2287[2]; int input_at_2287_counter = 0;int initialize_reads() { for (int instrumentation_index=0; instrumentation_index<2; instrumentation_index++) INPUTS_at_2273[instrumentation_index] = __VERIFIER_nondet_int(); for (int instrumentation_index=0; instrumentation_index<2; instrumentation_index++) INPUTS_at_2178[instrumentation_index] = __VERIFIER_nondet_int(); for (int instrumentation_index=0; instrumentation_index<2; instrumentation_index++) INPUTS_at_2259[instrumentation_index] = __VERIFIER_nondet_int(); for (int instrumentation_index=0; instrumentation_index<2; instrumentation_index++) INPUTS_at_2164[instrumentation_index] = __VERIFIER_nondet_int(); for (int instrumentation_index=0; instrumentation_index<2; instrumentation_index++) INPUTS_at_2245[instrumentation_index] = __VERIFIER_nondet_int(); for (int instrumentation_index=0; instrumentation_index<2; instrumentation_index++) INPUTS_at_2231[instrumentation_index] = __VERIFIER_nondet_int(); for (int instrumentation_index=0; instrumentation_index<2; instrumentation_index++) INPUTS_at_2217[instrumentation_index] = __VERIFIER_nondet_int(); for (int instrumentation_index=0; instrumentation_index<2; instrumentation_index++) INPUTS_at_2203[instrumentation_index] = __VERIFIER_nondet_int(); for (int instrumentation_index=0; instrumentation_index<2; instrumentation_index++) INPUTS_at_2189[instrumentation_index] = __VERIFIER_nondet_int(); for (int instrumentation_index=0; instrumentation_index<1; instrumentation_index++) INPUTS_at_2301[instrumentation_index] = __VERIFIER_nondet_int(); for (int instrumentation_index=0; instrumentation_index<2; instrumentation_index++) INPUTS_at_2287[instrumentation_index] = __VERIFIER_nondet_int();}extern void __VERIFIER_assume(int);extern void __VERIFIER_error() __attribute__ ((__noreturn__)); |
2 | |
3 | extern int __VERIFIER_nondet_int(void); |
4 | /* Generated by CIL v. 1.3.7 */ |
5 | /* print_CIL_Input is true */ |
6 | |
7 | struct JoinPoint { |
8 | void **(*fp)(struct JoinPoint * ) ; |
9 | void **args ; |
10 | int argsCount ; |
11 | char const **argsType ; |
12 | void *(*arg)(int , struct JoinPoint * ) ; |
13 | char const *(*argType)(int , struct JoinPoint * ) ; |
14 | void **retValue ; |
15 | char const *retType ; |
16 | char const *funcName ; |
17 | char const *targetName ; |
18 | char const *fileName ; |
19 | char const *kind ; |
20 | void *excep_return ; |
21 | }; |
22 | struct __UTAC__CFLOW_FUNC { |
23 | int (*func)(int , int ) ; |
24 | int val ; |
25 | struct __UTAC__CFLOW_FUNC *next ; |
26 | }; |
27 | struct __UTAC__EXCEPTION { |
28 | void *jumpbuf ; |
29 | unsigned long long prtValue ; |
30 | int pops ; |
31 | struct __UTAC__CFLOW_FUNC *cflowfuncs ; |
32 | }; |
33 | typedef unsigned int size_t; |
34 | struct __ACC__ERR { |
35 | void *v ; |
36 | struct __ACC__ERR *next ; |
37 | }; |
38 | #pragma merger(0,"SignVerify_spec.i","") |
39 | void __automaton_fail(void) ; |
40 | //extern int printf(char const * __restrict __format , ...) ; |
41 | //extern int puts(char const *__s ) ; |
42 | int __SELECTED_FEATURE_Base ; |
43 | int __SELECTED_FEATURE_Keys ; |
44 | int __SELECTED_FEATURE_Encrypt ; |
45 | int __SELECTED_FEATURE_AutoResponder ; |
46 | int __SELECTED_FEATURE_AddressBook ; |
47 | int __SELECTED_FEATURE_Sign ; |
48 | int __SELECTED_FEATURE_Forward ; |
49 | int __SELECTED_FEATURE_Verify ; |
50 | int __SELECTED_FEATURE_Decrypt ; |
51 | int __GUIDSL_ROOT_PRODUCTION ; |
52 | int __GUIDSL_NON_TERMINAL_main ; |
53 | int getEmailFrom(int handle ) ; |
54 | int isSigned(int handle ) ; |
55 | int getEmailSignKey(int handle ) ; |
56 | int findPublicKey(int handle , int userid ) ; |
57 | int isKeyPairValid(int publicKey , int privateKey ) ; |
58 | int sent_signed = -1; |
59 | __inline void __utac_acc__SignVerify_spec__1(int msg ) |
60 | { char const * __restrict __cil_tmp2 ; |
61 | |
62 | { |
63 | { |
64 | // puts("before mail\n"); |
65 | sent_signed = isSigned(msg); |
66 | __cil_tmp2 = (char const * __restrict )"sent_signed=%d\n"; |
67 | // printf(__cil_tmp2, sent_signed); |
68 | } |
69 | return; |
70 | } |
71 | } |
72 | __inline void __utac_acc__SignVerify_spec__2(int client , int msg ) |
73 | { int pubkey ; |
74 | int tmp ; |
75 | int tmp___0 ; |
76 | int tmp___1 ; |
77 | int tmp___2 ; |
78 | char const * __restrict __cil_tmp8 ; |
79 | |
80 | { |
81 | { |
82 | // puts("before verify\n"); |
83 | __cil_tmp8 = (char const * __restrict )"sent_signed=%d\n"; |
84 | // printf(__cil_tmp8, sent_signed); |
85 | } |
86 | if (sent_signed == 1) { |
87 | { |
88 | tmp = getEmailFrom(msg); |
89 | tmp___0 = findPublicKey(client, tmp); |
90 | pubkey = tmp___0; |
91 | } |
92 | if (pubkey == 0) { |
93 | { |
94 | __automaton_fail(); |
95 | } |
96 | } else { |
97 | { |
98 | tmp___1 = getEmailSignKey(msg); |
99 | tmp___2 = isKeyPairValid(tmp___1, pubkey); |
100 | } |
101 | if (tmp___2 != 0) { |
102 | |
103 | } else { |
104 | { |
105 | __automaton_fail(); |
106 | } |
107 | } |
108 | } |
109 | } else { |
110 | |
111 | } |
112 | return; |
113 | } |
114 | } |
115 | #pragma merger(0,"Test.i","") |
116 | void setClientAddressBookSize(int handle , int value ) ; |
117 | void setClientAddressBookAlias(int handle , int index , int value ) ; |
118 | void setClientAddressBookAddress(int handle , int index , int value ) ; |
119 | void setClientPrivateKey(int handle , int value ) ; |
120 | int createClientKeyringEntry(int handle ) ; |
121 | int getClientKeyringUser(int handle , int index ) ; |
122 | void setClientKeyringUser(int handle , int index , int value ) ; |
123 | int getClientKeyringPublicKey(int handle , int index ) ; |
124 | void setClientKeyringPublicKey(int handle , int index , int value ) ; |
125 | void setClientForwardReceiver(int handle , int value ) ; |
126 | void setClientId(int handle , int value ) ; |
127 | void select_features(void) ; |
128 | void select_helpers(void) ; |
129 | int valid_product(void) ; |
130 | int is_queue_empty(void) ; |
131 | int get_queued_client(void) ; |
132 | int get_queued_email(void) ; |
133 | void outgoing(int client , int msg ) ; |
134 | void sendEmail(int sender , int receiver ) ; |
135 | void generateKeyPair(int client , int seed ) ; |
136 | int bob ; |
137 | int rjh ; |
138 | int chuck ; |
139 | void setup_bob(int bob___0 ) ; |
140 | void setup_rjh(int rjh___0 ) ; |
141 | void setup_chuck(int chuck___0 ) ; |
142 | void bobToRjh(void) ; |
143 | void rjhToBob(void) ; |
144 | void test(void) ; |
145 | void setup(void) ; |
146 | int main(void) ; |
147 | void bobKeyAdd(void) ; |
148 | void bobKeyAddChuck(void) ; |
149 | void rjhKeyAdd(void) ; |
150 | void rjhKeyAddChuck(void) ; |
151 | void chuckKeyAdd(void) ; |
152 | void bobKeyChange(void) ; |
153 | void rjhKeyChange(void) ; |
154 | void rjhDeletePrivateKey(void) ; |
155 | void chuckKeyAddRjh(void) ; |
156 | void bobSetAddressBook(void) ; |
157 | void rjhEnableForwarding(void) ; |
158 | void setup_bob__wrappee__Base(int bob___0 ) |
159 | { |
160 | |
161 | { |
162 | { |
163 | setClientId(bob___0, bob___0); |
164 | } |
165 | return; |
166 | } |
167 | } |
168 | void setup_bob(int bob___0 ) |
169 | { |
170 | |
171 | { |
172 | { |
173 | setup_bob__wrappee__Base(bob___0); |
174 | setClientPrivateKey(bob___0, 123); |
175 | } |
176 | return; |
177 | } |
178 | } |
179 | void setup_rjh__wrappee__Base(int rjh___0 ) |
180 | { |
181 | |
182 | { |
183 | { |
184 | setClientId(rjh___0, rjh___0); |
185 | } |
186 | return; |
187 | } |
188 | } |
189 | void setup_rjh(int rjh___0 ) |
190 | { |
191 | |
192 | { |
193 | { |
194 | setup_rjh__wrappee__Base(rjh___0); |
195 | setClientPrivateKey(rjh___0, 456); |
196 | } |
197 | return; |
198 | } |
199 | } |
200 | void setup_chuck__wrappee__Base(int chuck___0 ) |
201 | { |
202 | |
203 | { |
204 | { |
205 | setClientId(chuck___0, chuck___0); |
206 | } |
207 | return; |
208 | } |
209 | } |
210 | void setup_chuck(int chuck___0 ) |
211 | { |
212 | |
213 | { |
214 | { |
215 | setup_chuck__wrappee__Base(chuck___0); |
216 | setClientPrivateKey(chuck___0, 789); |
217 | } |
218 | return; |
219 | } |
220 | } |
221 | void bobToRjh(void) |
222 | { int tmp ; |
223 | int tmp___0 ; |
224 | int tmp___1 ; |
225 | |
226 | { |
227 | { |
228 | // puts("Please enter a subject and a message body.\n"); |
229 | sendEmail(bob, rjh); |
230 | tmp___1 = is_queue_empty(); |
231 | } |
232 | if (tmp___1 != 0) { |
233 | |
234 | } else { |
235 | { |
236 | tmp = get_queued_email(); |
237 | tmp___0 = get_queued_client(); |
238 | outgoing(tmp___0, tmp); |
239 | } |
240 | } |
241 | return; |
242 | } |
243 | } |
244 | void rjhToBob(void) |
245 | { |
246 | |
247 | { |
248 | { |
249 | // puts("Please enter a subject and a message body.\n"); |
250 | sendEmail(rjh, bob); |
251 | } |
252 | return; |
253 | } |
254 | } |
255 | void setup(void) |
256 | { char const * __restrict __cil_tmp1 ; |
257 | char const * __restrict __cil_tmp2 ; |
258 | char const * __restrict __cil_tmp3 ; |
259 | |
260 | { |
261 | { |
262 | bob = 1; |
263 | setup_bob(bob); |
264 | __cil_tmp1 = (char const * __restrict )"bob: %d\n"; |
265 | // printf(__cil_tmp1, bob); |
266 | rjh = 2; |
267 | setup_rjh(rjh); |
268 | __cil_tmp2 = (char const * __restrict )"rjh: %d\n"; |
269 | // printf(__cil_tmp2, rjh); |
270 | chuck = 3; |
271 | setup_chuck(chuck); |
272 | __cil_tmp3 = (char const * __restrict )"chuck: %d\n"; |
273 | // printf(__cil_tmp3, chuck); |
274 | } |
275 | return; |
276 | } |
277 | } |
278 | int main(void) |
279 | {initialize_reads(); int retValue_acc ; |
280 | int tmp ; |
281 | |
282 | { |
283 | { |
284 | select_helpers(); |
285 | select_features(); |
286 | tmp = valid_product(); |
287 | } |
288 | if (tmp != 0) { |
289 | { |
290 | setup(); |
291 | test(); |
292 | } |
293 | } else { |
294 | |
295 | } |
296 | return (retValue_acc); |
297 | } |
298 | } |
299 | void bobKeyAdd(void) |
300 | { int tmp ; |
301 | int tmp___0 ; |
302 | char const * __restrict __cil_tmp3 ; |
303 | char const * __restrict __cil_tmp4 ; |
304 | |
305 | { |
306 | { |
307 | createClientKeyringEntry(bob); |
308 | setClientKeyringUser(bob, 0, 2); |
309 | setClientKeyringPublicKey(bob, 0, 456); |
310 | // puts("bob added rjhs key"); |
311 | tmp = getClientKeyringUser(bob, 0); |
312 | __cil_tmp3 = (char const * __restrict )"%d\n"; |
313 | // printf(__cil_tmp3, tmp); |
314 | tmp___0 = getClientKeyringPublicKey(bob, 0); |
315 | __cil_tmp4 = (char const * __restrict )"%d\n"; |
316 | // printf(__cil_tmp4, tmp___0); |
317 | } |
318 | return; |
319 | } |
320 | } |
321 | void rjhKeyAdd(void) |
322 | { |
323 | |
324 | { |
325 | { |
326 | createClientKeyringEntry(rjh); |
327 | setClientKeyringUser(rjh, 0, 1); |
328 | setClientKeyringPublicKey(rjh, 0, 123); |
329 | } |
330 | return; |
331 | } |
332 | } |
333 | void rjhKeyAddChuck(void) |
334 | { |
335 | |
336 | { |
337 | { |
338 | createClientKeyringEntry(rjh); |
339 | setClientKeyringUser(rjh, 0, 3); |
340 | setClientKeyringPublicKey(rjh, 0, 789); |
341 | } |
342 | return; |
343 | } |
344 | } |
345 | void bobKeyAddChuck(void) |
346 | { |
347 | |
348 | { |
349 | { |
350 | createClientKeyringEntry(bob); |
351 | setClientKeyringUser(bob, 1, 3); |
352 | setClientKeyringPublicKey(bob, 1, 789); |
353 | } |
354 | return; |
355 | } |
356 | } |
357 | void chuckKeyAdd(void) |
358 | { |
359 | |
360 | { |
361 | { |
362 | createClientKeyringEntry(chuck); |
363 | setClientKeyringUser(chuck, 0, 1); |
364 | setClientKeyringPublicKey(chuck, 0, 123); |
365 | } |
366 | return; |
367 | } |
368 | } |
369 | void chuckKeyAddRjh(void) |
370 | { |
371 | |
372 | { |
373 | { |
374 | createClientKeyringEntry(chuck); |
375 | setClientKeyringUser(chuck, 0, 2); |
376 | setClientKeyringPublicKey(chuck, 0, 456); |
377 | } |
378 | return; |
379 | } |
380 | } |
381 | void rjhDeletePrivateKey(void) |
382 | { |
383 | |
384 | { |
385 | { |
386 | setClientPrivateKey(rjh, 0); |
387 | } |
388 | return; |
389 | } |
390 | } |
391 | void bobKeyChange(void) |
392 | { |
393 | |
394 | { |
395 | { |
396 | generateKeyPair(bob, 777); |
397 | } |
398 | return; |
399 | } |
400 | } |
401 | void rjhKeyChange(void) |
402 | { |
403 | |
404 | { |
405 | { |
406 | generateKeyPair(rjh, 666); |
407 | } |
408 | return; |
409 | } |
410 | } |
411 | void bobSetAddressBook(void) |
412 | { |
413 | |
414 | { |
415 | { |
416 | setClientAddressBookSize(bob, 1); |
417 | setClientAddressBookAlias(bob, 0, rjh); |
418 | setClientAddressBookAddress(bob, 0, rjh); |
419 | setClientAddressBookAddress(bob, 1, chuck); |
420 | } |
421 | return; |
422 | } |
423 | } |
424 | void rjhEnableForwarding(void) |
425 | { |
426 | |
427 | { |
428 | { |
429 | setClientForwardReceiver(rjh, chuck); |
430 | } |
431 | return; |
432 | } |
433 | } |
434 | #pragma merger(0,"ClientLib.i","") |
435 | int initClient(void) ; |
436 | char *getClientName(int handle ) ; |
437 | void setClientName(int handle , char *value ) ; |
438 | int getClientOutbuffer(int handle ) ; |
439 | void setClientOutbuffer(int handle , int value ) ; |
440 | int getClientAddressBookSize(int handle ) ; |
441 | int createClientAddressBookEntry(int handle ) ; |
442 | int getClientAddressBookAlias(int handle , int index ) ; |
443 | int getClientAddressBookAddress(int handle , int index ) ; |
444 | int getClientAutoResponse(int handle ) ; |
445 | void setClientAutoResponse(int handle , int value ) ; |
446 | int getClientPrivateKey(int handle ) ; |
447 | int getClientKeyringSize(int handle ) ; |
448 | int getClientForwardReceiver(int handle ) ; |
449 | int getClientId(int handle ) ; |
450 | int findClientAddressBookAlias(int handle , int userid ) ; |
451 | int __ste_Client_counter = 0; |
452 | int initClient(void) |
453 | { int retValue_acc ; |
454 | |
455 | { |
456 | if (__ste_Client_counter < 3) { |
457 | __ste_Client_counter = __ste_Client_counter + 1; |
458 | retValue_acc = __ste_Client_counter; |
459 | return (retValue_acc); |
460 | } else { |
461 | retValue_acc = -1; |
462 | return (retValue_acc); |
463 | } |
464 | return (retValue_acc); |
465 | } |
466 | } |
467 | char *__ste_client_name0 = (char *)0; |
468 | char *__ste_client_name1 = (char *)0; |
469 | char *__ste_client_name2 = (char *)0; |
470 | char *getClientName(int handle ) |
471 | { char *retValue_acc ; |
472 | void *__cil_tmp3 ; |
473 | |
474 | { |
475 | if (handle == 1) { |
476 | retValue_acc = __ste_client_name0; |
477 | return (retValue_acc); |
478 | } else { |
479 | if (handle == 2) { |
480 | retValue_acc = __ste_client_name1; |
481 | return (retValue_acc); |
482 | } else { |
483 | if (handle == 3) { |
484 | retValue_acc = __ste_client_name2; |
485 | return (retValue_acc); |
486 | } else { |
487 | __cil_tmp3 = (void *)0; |
488 | retValue_acc = (char *)__cil_tmp3; |
489 | return (retValue_acc); |
490 | } |
491 | } |
492 | } |
493 | return (retValue_acc); |
494 | } |
495 | } |
496 | void setClientName(int handle , char *value ) |
497 | { |
498 | |
499 | { |
500 | if (handle == 1) { |
501 | __ste_client_name0 = value; |
502 | } else { |
503 | if (handle == 2) { |
504 | __ste_client_name1 = value; |
505 | } else { |
506 | if (handle == 3) { |
507 | __ste_client_name2 = value; |
508 | } else { |
509 | |
510 | } |
511 | } |
512 | } |
513 | return; |
514 | } |
515 | } |
516 | int __ste_client_outbuffer0 = 0; |
517 | int __ste_client_outbuffer1 = 0; |
518 | int __ste_client_outbuffer2 = 0; |
519 | int __ste_client_outbuffer3 = 0; |
520 | int getClientOutbuffer(int handle ) |
521 | { int retValue_acc ; |
522 | |
523 | { |
524 | if (handle == 1) { |
525 | retValue_acc = __ste_client_outbuffer0; |
526 | return (retValue_acc); |
527 | } else { |
528 | if (handle == 2) { |
529 | retValue_acc = __ste_client_outbuffer1; |
530 | return (retValue_acc); |
531 | } else { |
532 | if (handle == 3) { |
533 | retValue_acc = __ste_client_outbuffer2; |
534 | return (retValue_acc); |
535 | } else { |
536 | retValue_acc = 0; |
537 | return (retValue_acc); |
538 | } |
539 | } |
540 | } |
541 | return (retValue_acc); |
542 | } |
543 | } |
544 | void setClientOutbuffer(int handle , int value ) |
545 | { |
546 | |
547 | { |
548 | if (handle == 1) { |
549 | __ste_client_outbuffer0 = value; |
550 | } else { |
551 | if (handle == 2) { |
552 | __ste_client_outbuffer1 = value; |
553 | } else { |
554 | if (handle == 3) { |
555 | __ste_client_outbuffer2 = value; |
556 | } else { |
557 | |
558 | } |
559 | } |
560 | } |
561 | return; |
562 | } |
563 | } |
564 | int __ste_ClientAddressBook_size0 = 0; |
565 | int __ste_ClientAddressBook_size1 = 0; |
566 | int __ste_ClientAddressBook_size2 = 0; |
567 | int getClientAddressBookSize(int handle ) |
568 | { int retValue_acc ; |
569 | |
570 | { |
571 | if (handle == 1) { |
572 | retValue_acc = __ste_ClientAddressBook_size0; |
573 | return (retValue_acc); |
574 | } else { |
575 | if (handle == 2) { |
576 | retValue_acc = __ste_ClientAddressBook_size1; |
577 | return (retValue_acc); |
578 | } else { |
579 | if (handle == 3) { |
580 | retValue_acc = __ste_ClientAddressBook_size2; |
581 | return (retValue_acc); |
582 | } else { |
583 | retValue_acc = 0; |
584 | return (retValue_acc); |
585 | } |
586 | } |
587 | } |
588 | return (retValue_acc); |
589 | } |
590 | } |
591 | void setClientAddressBookSize(int handle , int value ) |
592 | { |
593 | |
594 | { |
595 | if (handle == 1) { |
596 | __ste_ClientAddressBook_size0 = value; |
597 | } else { |
598 | if (handle == 2) { |
599 | __ste_ClientAddressBook_size1 = value; |
600 | } else { |
601 | if (handle == 3) { |
602 | __ste_ClientAddressBook_size2 = value; |
603 | } else { |
604 | |
605 | } |
606 | } |
607 | } |
608 | return; |
609 | } |
610 | } |
611 | int createClientAddressBookEntry(int handle ) |
612 | { int retValue_acc ; |
613 | int size ; |
614 | int tmp ; |
615 | int __cil_tmp5 ; |
616 | |
617 | { |
618 | { |
619 | tmp = getClientAddressBookSize(handle); |
620 | size = tmp; |
621 | } |
622 | if (size < 3) { |
623 | { |
624 | __cil_tmp5 = size + 1; |
625 | setClientAddressBookSize(handle, __cil_tmp5); |
626 | retValue_acc = size + 1; |
627 | } |
628 | return (retValue_acc); |
629 | } else { |
630 | retValue_acc = -1; |
631 | return (retValue_acc); |
632 | } |
633 | return (retValue_acc); |
634 | } |
635 | } |
636 | int __ste_Client_AddressBook0_Alias0 = 0; |
637 | int __ste_Client_AddressBook0_Alias1 = 0; |
638 | int __ste_Client_AddressBook0_Alias2 = 0; |
639 | int __ste_Client_AddressBook1_Alias0 = 0; |
640 | int __ste_Client_AddressBook1_Alias1 = 0; |
641 | int __ste_Client_AddressBook1_Alias2 = 0; |
642 | int __ste_Client_AddressBook2_Alias0 = 0; |
643 | int __ste_Client_AddressBook2_Alias1 = 0; |
644 | int __ste_Client_AddressBook2_Alias2 = 0; |
645 | int getClientAddressBookAlias(int handle , int index ) |
646 | { int retValue_acc ; |
647 | |
648 | { |
649 | if (handle == 1) { |
650 | if (index == 0) { |
651 | retValue_acc = __ste_Client_AddressBook0_Alias0; |
652 | return (retValue_acc); |
653 | } else { |
654 | if (index == 1) { |
655 | retValue_acc = __ste_Client_AddressBook0_Alias1; |
656 | return (retValue_acc); |
657 | } else { |
658 | if (index == 2) { |
659 | retValue_acc = __ste_Client_AddressBook0_Alias2; |
660 | return (retValue_acc); |
661 | } else { |
662 | retValue_acc = 0; |
663 | return (retValue_acc); |
664 | } |
665 | } |
666 | } |
667 | } else { |
668 | if (handle == 2) { |
669 | if (index == 0) { |
670 | retValue_acc = __ste_Client_AddressBook1_Alias0; |
671 | return (retValue_acc); |
672 | } else { |
673 | if (index == 1) { |
674 | retValue_acc = __ste_Client_AddressBook1_Alias1; |
675 | return (retValue_acc); |
676 | } else { |
677 | if (index == 2) { |
678 | retValue_acc = __ste_Client_AddressBook1_Alias2; |
679 | return (retValue_acc); |
680 | } else { |
681 | retValue_acc = 0; |
682 | return (retValue_acc); |
683 | } |
684 | } |
685 | } |
686 | } else { |
687 | if (handle == 3) { |
688 | if (index == 0) { |
689 | retValue_acc = __ste_Client_AddressBook2_Alias0; |
690 | return (retValue_acc); |
691 | } else { |
692 | if (index == 1) { |
693 | retValue_acc = __ste_Client_AddressBook2_Alias1; |
694 | return (retValue_acc); |
695 | } else { |
696 | if (index == 2) { |
697 | retValue_acc = __ste_Client_AddressBook2_Alias2; |
698 | return (retValue_acc); |
699 | } else { |
700 | retValue_acc = 0; |
701 | return (retValue_acc); |
702 | } |
703 | } |
704 | } |
705 | } else { |
706 | retValue_acc = 0; |
707 | return (retValue_acc); |
708 | } |
709 | } |
710 | } |
711 | return (retValue_acc); |
712 | } |
713 | } |
714 | int findClientAddressBookAlias(int handle , int userid ) |
715 | { int retValue_acc ; |
716 | |
717 | { |
718 | if (handle == 1) { |
719 | if (userid == __ste_Client_AddressBook0_Alias0) { |
720 | retValue_acc = 0; |
721 | return (retValue_acc); |
722 | } else { |
723 | if (userid == __ste_Client_AddressBook0_Alias1) { |
724 | retValue_acc = 1; |
725 | return (retValue_acc); |
726 | } else { |
727 | if (userid == __ste_Client_AddressBook0_Alias2) { |
728 | retValue_acc = 2; |
729 | return (retValue_acc); |
730 | } else { |
731 | retValue_acc = -1; |
732 | return (retValue_acc); |
733 | } |
734 | } |
735 | } |
736 | } else { |
737 | if (handle == 2) { |
738 | if (userid == __ste_Client_AddressBook1_Alias0) { |
739 | retValue_acc = 0; |
740 | return (retValue_acc); |
741 | } else { |
742 | if (userid == __ste_Client_AddressBook1_Alias1) { |
743 | retValue_acc = 1; |
744 | return (retValue_acc); |
745 | } else { |
746 | if (userid == __ste_Client_AddressBook1_Alias2) { |
747 | retValue_acc = 2; |
748 | return (retValue_acc); |
749 | } else { |
750 | retValue_acc = -1; |
751 | return (retValue_acc); |
752 | } |
753 | } |
754 | } |
755 | } else { |
756 | if (handle == 3) { |
757 | if (userid == __ste_Client_AddressBook2_Alias0) { |
758 | retValue_acc = 0; |
759 | return (retValue_acc); |
760 | } else { |
761 | if (userid == __ste_Client_AddressBook2_Alias1) { |
762 | retValue_acc = 1; |
763 | return (retValue_acc); |
764 | } else { |
765 | if (userid == __ste_Client_AddressBook2_Alias2) { |
766 | retValue_acc = 2; |
767 | return (retValue_acc); |
768 | } else { |
769 | retValue_acc = -1; |
770 | return (retValue_acc); |
771 | } |
772 | } |
773 | } |
774 | } else { |
775 | retValue_acc = -1; |
776 | return (retValue_acc); |
777 | } |
778 | } |
779 | } |
780 | return (retValue_acc); |
781 | } |
782 | } |
783 | void setClientAddressBookAlias(int handle , int index , int value ) |
784 | { |
785 | |
786 | { |
787 | if (handle == 1) { |
788 | if (index == 0) { |
789 | __ste_Client_AddressBook0_Alias0 = value; |
790 | } else { |
791 | if (index == 1) { |
792 | __ste_Client_AddressBook0_Alias1 = value; |
793 | } else { |
794 | if (index == 2) { |
795 | __ste_Client_AddressBook0_Alias2 = value; |
796 | } else { |
797 | |
798 | } |
799 | } |
800 | } |
801 | } else { |
802 | if (handle == 2) { |
803 | if (index == 0) { |
804 | __ste_Client_AddressBook1_Alias0 = value; |
805 | } else { |
806 | if (index == 1) { |
807 | __ste_Client_AddressBook1_Alias1 = value; |
808 | } else { |
809 | if (index == 2) { |
810 | __ste_Client_AddressBook1_Alias2 = value; |
811 | } else { |
812 | |
813 | } |
814 | } |
815 | } |
816 | } else { |
817 | if (handle == 3) { |
818 | if (index == 0) { |
819 | __ste_Client_AddressBook2_Alias0 = value; |
820 | } else { |
821 | if (index == 1) { |
822 | __ste_Client_AddressBook2_Alias1 = value; |
823 | } else { |
824 | if (index == 2) { |
825 | __ste_Client_AddressBook2_Alias2 = value; |
826 | } else { |
827 | |
828 | } |
829 | } |
830 | } |
831 | } else { |
832 | |
833 | } |
834 | } |
835 | } |
836 | return; |
837 | } |
838 | } |
839 | int __ste_Client_AddressBook0_Address0 = 0; |
840 | int __ste_Client_AddressBook0_Address1 = 0; |
841 | int __ste_Client_AddressBook0_Address2 = 0; |
842 | int __ste_Client_AddressBook1_Address0 = 0; |
843 | int __ste_Client_AddressBook1_Address1 = 0; |
844 | int __ste_Client_AddressBook1_Address2 = 0; |
845 | int __ste_Client_AddressBook2_Address0 = 0; |
846 | int __ste_Client_AddressBook2_Address1 = 0; |
847 | int __ste_Client_AddressBook2_Address2 = 0; |
848 | int getClientAddressBookAddress(int handle , int index ) |
849 | { int retValue_acc ; |
850 | |
851 | { |
852 | if (handle == 1) { |
853 | if (index == 0) { |
854 | retValue_acc = __ste_Client_AddressBook0_Address0; |
855 | return (retValue_acc); |
856 | } else { |
857 | if (index == 1) { |
858 | retValue_acc = __ste_Client_AddressBook0_Address1; |
859 | return (retValue_acc); |
860 | } else { |
861 | if (index == 2) { |
862 | retValue_acc = __ste_Client_AddressBook0_Address2; |
863 | return (retValue_acc); |
864 | } else { |
865 | retValue_acc = 0; |
866 | return (retValue_acc); |
867 | } |
868 | } |
869 | } |
870 | } else { |
871 | if (handle == 2) { |
872 | if (index == 0) { |
873 | retValue_acc = __ste_Client_AddressBook1_Address0; |
874 | return (retValue_acc); |
875 | } else { |
876 | if (index == 1) { |
877 | retValue_acc = __ste_Client_AddressBook1_Address1; |
878 | return (retValue_acc); |
879 | } else { |
880 | if (index == 2) { |
881 | retValue_acc = __ste_Client_AddressBook1_Address2; |
882 | return (retValue_acc); |
883 | } else { |
884 | retValue_acc = 0; |
885 | return (retValue_acc); |
886 | } |
887 | } |
888 | } |
889 | } else { |
890 | if (handle == 3) { |
891 | if (index == 0) { |
892 | retValue_acc = __ste_Client_AddressBook2_Address0; |
893 | return (retValue_acc); |
894 | } else { |
895 | if (index == 1) { |
896 | retValue_acc = __ste_Client_AddressBook2_Address1; |
897 | return (retValue_acc); |
898 | } else { |
899 | if (index == 2) { |
900 | retValue_acc = __ste_Client_AddressBook2_Address2; |
901 | return (retValue_acc); |
902 | } else { |
903 | retValue_acc = 0; |
904 | return (retValue_acc); |
905 | } |
906 | } |
907 | } |
908 | } else { |
909 | retValue_acc = 0; |
910 | return (retValue_acc); |
911 | } |
912 | } |
913 | } |
914 | return (retValue_acc); |
915 | } |
916 | } |
917 | void setClientAddressBookAddress(int handle , int index , int value ) |
918 | { |
919 | |
920 | { |
921 | if (handle == 1) { |
922 | if (index == 0) { |
923 | __ste_Client_AddressBook0_Address0 = value; |
924 | } else { |
925 | if (index == 1) { |
926 | __ste_Client_AddressBook0_Address1 = value; |
927 | } else { |
928 | if (index == 2) { |
929 | __ste_Client_AddressBook0_Address2 = value; |
930 | } else { |
931 | |
932 | } |
933 | } |
934 | } |
935 | } else { |
936 | if (handle == 2) { |
937 | if (index == 0) { |
938 | __ste_Client_AddressBook1_Address0 = value; |
939 | } else { |
940 | if (index == 1) { |
941 | __ste_Client_AddressBook1_Address1 = value; |
942 | } else { |
943 | if (index == 2) { |
944 | __ste_Client_AddressBook1_Address2 = value; |
945 | } else { |
946 | |
947 | } |
948 | } |
949 | } |
950 | } else { |
951 | if (handle == 3) { |
952 | if (index == 0) { |
953 | __ste_Client_AddressBook2_Address0 = value; |
954 | } else { |
955 | if (index == 1) { |
956 | __ste_Client_AddressBook2_Address1 = value; |
957 | } else { |
958 | if (index == 2) { |
959 | __ste_Client_AddressBook2_Address2 = value; |
960 | } else { |
961 | |
962 | } |
963 | } |
964 | } |
965 | } else { |
966 | |
967 | } |
968 | } |
969 | } |
970 | return; |
971 | } |
972 | } |
973 | int __ste_client_autoResponse0 = 0; |
974 | int __ste_client_autoResponse1 = 0; |
975 | int __ste_client_autoResponse2 = 0; |
976 | int getClientAutoResponse(int handle ) |
977 | { int retValue_acc ; |
978 | |
979 | { |
980 | if (handle == 1) { |
981 | retValue_acc = __ste_client_autoResponse0; |
982 | return (retValue_acc); |
983 | } else { |
984 | if (handle == 2) { |
985 | retValue_acc = __ste_client_autoResponse1; |
986 | return (retValue_acc); |
987 | } else { |
988 | if (handle == 3) { |
989 | retValue_acc = __ste_client_autoResponse2; |
990 | return (retValue_acc); |
991 | } else { |
992 | retValue_acc = -1; |
993 | return (retValue_acc); |
994 | } |
995 | } |
996 | } |
997 | return (retValue_acc); |
998 | } |
999 | } |
1000 | void setClientAutoResponse(int handle , int value ) |
1001 | { |
1002 | |
1003 | { |
1004 | if (handle == 1) { |
1005 | __ste_client_autoResponse0 = value; |
1006 | } else { |
1007 | if (handle == 2) { |
1008 | __ste_client_autoResponse1 = value; |
1009 | } else { |
1010 | if (handle == 3) { |
1011 | __ste_client_autoResponse2 = value; |
1012 | } else { |
1013 | |
1014 | } |
1015 | } |
1016 | } |
1017 | return; |
1018 | } |
1019 | } |
1020 | int __ste_client_privateKey0 = 0; |
1021 | int __ste_client_privateKey1 = 0; |
1022 | int __ste_client_privateKey2 = 0; |
1023 | int getClientPrivateKey(int handle ) |
1024 | { int retValue_acc ; |
1025 | |
1026 | { |
1027 | if (handle == 1) { |
1028 | retValue_acc = __ste_client_privateKey0; |
1029 | return (retValue_acc); |
1030 | } else { |
1031 | if (handle == 2) { |
1032 | retValue_acc = __ste_client_privateKey1; |
1033 | return (retValue_acc); |
1034 | } else { |
1035 | if (handle == 3) { |
1036 | retValue_acc = __ste_client_privateKey2; |
1037 | return (retValue_acc); |
1038 | } else { |
1039 | retValue_acc = 0; |
1040 | return (retValue_acc); |
1041 | } |
1042 | } |
1043 | } |
1044 | return (retValue_acc); |
1045 | } |
1046 | } |
1047 | void setClientPrivateKey(int handle , int value ) |
1048 | { |
1049 | |
1050 | { |
1051 | if (handle == 1) { |
1052 | __ste_client_privateKey0 = value; |
1053 | } else { |
1054 | if (handle == 2) { |
1055 | __ste_client_privateKey1 = value; |
1056 | } else { |
1057 | if (handle == 3) { |
1058 | __ste_client_privateKey2 = value; |
1059 | } else { |
1060 | |
1061 | } |
1062 | } |
1063 | } |
1064 | return; |
1065 | } |
1066 | } |
1067 | int __ste_ClientKeyring_size0 = 0; |
1068 | int __ste_ClientKeyring_size1 = 0; |
1069 | int __ste_ClientKeyring_size2 = 0; |
1070 | int getClientKeyringSize(int handle ) |
1071 | { int retValue_acc ; |
1072 | |
1073 | { |
1074 | if (handle == 1) { |
1075 | retValue_acc = __ste_ClientKeyring_size0; |
1076 | return (retValue_acc); |
1077 | } else { |
1078 | if (handle == 2) { |
1079 | retValue_acc = __ste_ClientKeyring_size1; |
1080 | return (retValue_acc); |
1081 | } else { |
1082 | if (handle == 3) { |
1083 | retValue_acc = __ste_ClientKeyring_size2; |
1084 | return (retValue_acc); |
1085 | } else { |
1086 | retValue_acc = 0; |
1087 | return (retValue_acc); |
1088 | } |
1089 | } |
1090 | } |
1091 | return (retValue_acc); |
1092 | } |
1093 | } |
1094 | void setClientKeyringSize(int handle , int value ) |
1095 | { |
1096 | |
1097 | { |
1098 | if (handle == 1) { |
1099 | __ste_ClientKeyring_size0 = value; |
1100 | } else { |
1101 | if (handle == 2) { |
1102 | __ste_ClientKeyring_size1 = value; |
1103 | } else { |
1104 | if (handle == 3) { |
1105 | __ste_ClientKeyring_size2 = value; |
1106 | } else { |
1107 | |
1108 | } |
1109 | } |
1110 | } |
1111 | return; |
1112 | } |
1113 | } |
1114 | int createClientKeyringEntry(int handle ) |
1115 | { int retValue_acc ; |
1116 | int size ; |
1117 | int tmp ; |
1118 | int __cil_tmp5 ; |
1119 | |
1120 | { |
1121 | { |
1122 | tmp = getClientKeyringSize(handle); |
1123 | size = tmp; |
1124 | } |
1125 | if (size < 2) { |
1126 | { |
1127 | __cil_tmp5 = size + 1; |
1128 | setClientKeyringSize(handle, __cil_tmp5); |
1129 | retValue_acc = size + 1; |
1130 | } |
1131 | return (retValue_acc); |
1132 | } else { |
1133 | retValue_acc = -1; |
1134 | return (retValue_acc); |
1135 | } |
1136 | return (retValue_acc); |
1137 | } |
1138 | } |
1139 | int __ste_Client_Keyring0_User0 = 0; |
1140 | int __ste_Client_Keyring0_User1 = 0; |
1141 | int __ste_Client_Keyring0_User2 = 0; |
1142 | int __ste_Client_Keyring1_User0 = 0; |
1143 | int __ste_Client_Keyring1_User1 = 0; |
1144 | int __ste_Client_Keyring1_User2 = 0; |
1145 | int __ste_Client_Keyring2_User0 = 0; |
1146 | int __ste_Client_Keyring2_User1 = 0; |
1147 | int __ste_Client_Keyring2_User2 = 0; |
1148 | int getClientKeyringUser(int handle , int index ) |
1149 | { int retValue_acc ; |
1150 | |
1151 | { |
1152 | if (handle == 1) { |
1153 | if (index == 0) { |
1154 | retValue_acc = __ste_Client_Keyring0_User0; |
1155 | return (retValue_acc); |
1156 | } else { |
1157 | if (index == 1) { |
1158 | retValue_acc = __ste_Client_Keyring0_User1; |
1159 | return (retValue_acc); |
1160 | } else { |
1161 | retValue_acc = 0; |
1162 | return (retValue_acc); |
1163 | } |
1164 | } |
1165 | } else { |
1166 | if (handle == 2) { |
1167 | if (index == 0) { |
1168 | retValue_acc = __ste_Client_Keyring1_User0; |
1169 | return (retValue_acc); |
1170 | } else { |
1171 | if (index == 1) { |
1172 | retValue_acc = __ste_Client_Keyring1_User1; |
1173 | return (retValue_acc); |
1174 | } else { |
1175 | retValue_acc = 0; |
1176 | return (retValue_acc); |
1177 | } |
1178 | } |
1179 | } else { |
1180 | if (handle == 3) { |
1181 | if (index == 0) { |
1182 | retValue_acc = __ste_Client_Keyring2_User0; |
1183 | return (retValue_acc); |
1184 | } else { |
1185 | if (index == 1) { |
1186 | retValue_acc = __ste_Client_Keyring2_User1; |
1187 | return (retValue_acc); |
1188 | } else { |
1189 | retValue_acc = 0; |
1190 | return (retValue_acc); |
1191 | } |
1192 | } |
1193 | } else { |
1194 | retValue_acc = 0; |
1195 | return (retValue_acc); |
1196 | } |
1197 | } |
1198 | } |
1199 | return (retValue_acc); |
1200 | } |
1201 | } |
1202 | void setClientKeyringUser(int handle , int index , int value ) |
1203 | { |
1204 | |
1205 | { |
1206 | if (handle == 1) { |
1207 | if (index == 0) { |
1208 | __ste_Client_Keyring0_User0 = value; |
1209 | } else { |
1210 | if (index == 1) { |
1211 | __ste_Client_Keyring0_User1 = value; |
1212 | } else { |
1213 | |
1214 | } |
1215 | } |
1216 | } else { |
1217 | if (handle == 2) { |
1218 | if (index == 0) { |
1219 | __ste_Client_Keyring1_User0 = value; |
1220 | } else { |
1221 | if (index == 1) { |
1222 | __ste_Client_Keyring1_User1 = value; |
1223 | } else { |
1224 | |
1225 | } |
1226 | } |
1227 | } else { |
1228 | if (handle == 3) { |
1229 | if (index == 0) { |
1230 | __ste_Client_Keyring2_User0 = value; |
1231 | } else { |
1232 | if (index == 1) { |
1233 | __ste_Client_Keyring2_User1 = value; |
1234 | } else { |
1235 | |
1236 | } |
1237 | } |
1238 | } else { |
1239 | |
1240 | } |
1241 | } |
1242 | } |
1243 | return; |
1244 | } |
1245 | } |
1246 | int __ste_Client_Keyring0_PublicKey0 = 0; |
1247 | int __ste_Client_Keyring0_PublicKey1 = 0; |
1248 | int __ste_Client_Keyring0_PublicKey2 = 0; |
1249 | int __ste_Client_Keyring1_PublicKey0 = 0; |
1250 | int __ste_Client_Keyring1_PublicKey1 = 0; |
1251 | int __ste_Client_Keyring1_PublicKey2 = 0; |
1252 | int __ste_Client_Keyring2_PublicKey0 = 0; |
1253 | int __ste_Client_Keyring2_PublicKey1 = 0; |
1254 | int __ste_Client_Keyring2_PublicKey2 = 0; |
1255 | int getClientKeyringPublicKey(int handle , int index ) |
1256 | { int retValue_acc ; |
1257 | |
1258 | { |
1259 | if (handle == 1) { |
1260 | if (index == 0) { |
1261 | retValue_acc = __ste_Client_Keyring0_PublicKey0; |
1262 | return (retValue_acc); |
1263 | } else { |
1264 | if (index == 1) { |
1265 | retValue_acc = __ste_Client_Keyring0_PublicKey1; |
1266 | return (retValue_acc); |
1267 | } else { |
1268 | retValue_acc = 0; |
1269 | return (retValue_acc); |
1270 | } |
1271 | } |
1272 | } else { |
1273 | if (handle == 2) { |
1274 | if (index == 0) { |
1275 | retValue_acc = __ste_Client_Keyring1_PublicKey0; |
1276 | return (retValue_acc); |
1277 | } else { |
1278 | if (index == 1) { |
1279 | retValue_acc = __ste_Client_Keyring1_PublicKey1; |
1280 | return (retValue_acc); |
1281 | } else { |
1282 | retValue_acc = 0; |
1283 | return (retValue_acc); |
1284 | } |
1285 | } |
1286 | } else { |
1287 | if (handle == 3) { |
1288 | if (index == 0) { |
1289 | retValue_acc = __ste_Client_Keyring2_PublicKey0; |
1290 | return (retValue_acc); |
1291 | } else { |
1292 | if (index == 1) { |
1293 | retValue_acc = __ste_Client_Keyring2_PublicKey1; |
1294 | return (retValue_acc); |
1295 | } else { |
1296 | retValue_acc = 0; |
1297 | return (retValue_acc); |
1298 | } |
1299 | } |
1300 | } else { |
1301 | retValue_acc = 0; |
1302 | return (retValue_acc); |
1303 | } |
1304 | } |
1305 | } |
1306 | return (retValue_acc); |
1307 | } |
1308 | } |
1309 | int findPublicKey(int handle , int userid ) |
1310 | { int retValue_acc ; |
1311 | |
1312 | { |
1313 | if (handle == 1) { |
1314 | if (userid == __ste_Client_Keyring0_User0) { |
1315 | retValue_acc = __ste_Client_Keyring0_PublicKey0; |
1316 | return (retValue_acc); |
1317 | } else { |
1318 | if (userid == __ste_Client_Keyring0_User1) { |
1319 | retValue_acc = __ste_Client_Keyring0_PublicKey1; |
1320 | return (retValue_acc); |
1321 | } else { |
1322 | retValue_acc = 0; |
1323 | return (retValue_acc); |
1324 | } |
1325 | } |
1326 | } else { |
1327 | if (handle == 2) { |
1328 | if (userid == __ste_Client_Keyring1_User0) { |
1329 | retValue_acc = __ste_Client_Keyring1_PublicKey0; |
1330 | return (retValue_acc); |
1331 | } else { |
1332 | if (userid == __ste_Client_Keyring1_User1) { |
1333 | retValue_acc = __ste_Client_Keyring1_PublicKey1; |
1334 | return (retValue_acc); |
1335 | } else { |
1336 | retValue_acc = 0; |
1337 | return (retValue_acc); |
1338 | } |
1339 | } |
1340 | } else { |
1341 | if (handle == 3) { |
1342 | if (userid == __ste_Client_Keyring2_User0) { |
1343 | retValue_acc = __ste_Client_Keyring2_PublicKey0; |
1344 | return (retValue_acc); |
1345 | } else { |
1346 | if (userid == __ste_Client_Keyring2_User1) { |
1347 | retValue_acc = __ste_Client_Keyring2_PublicKey1; |
1348 | return (retValue_acc); |
1349 | } else { |
1350 | retValue_acc = 0; |
1351 | return (retValue_acc); |
1352 | } |
1353 | } |
1354 | } else { |
1355 | retValue_acc = 0; |
1356 | return (retValue_acc); |
1357 | } |
1358 | } |
1359 | } |
1360 | return (retValue_acc); |
1361 | } |
1362 | } |
1363 | void setClientKeyringPublicKey(int handle , int index , int value ) |
1364 | { |
1365 | |
1366 | { |
1367 | if (handle == 1) { |
1368 | if (index == 0) { |
1369 | __ste_Client_Keyring0_PublicKey0 = value; |
1370 | } else { |
1371 | if (index == 1) { |
1372 | __ste_Client_Keyring0_PublicKey1 = value; |
1373 | } else { |
1374 | |
1375 | } |
1376 | } |
1377 | } else { |
1378 | if (handle == 2) { |
1379 | if (index == 0) { |
1380 | __ste_Client_Keyring1_PublicKey0 = value; |
1381 | } else { |
1382 | if (index == 1) { |
1383 | __ste_Client_Keyring1_PublicKey1 = value; |
1384 | } else { |
1385 | |
1386 | } |
1387 | } |
1388 | } else { |
1389 | if (handle == 3) { |
1390 | if (index == 0) { |
1391 | __ste_Client_Keyring2_PublicKey0 = value; |
1392 | } else { |
1393 | if (index == 1) { |
1394 | __ste_Client_Keyring2_PublicKey1 = value; |
1395 | } else { |
1396 | |
1397 | } |
1398 | } |
1399 | } else { |
1400 | |
1401 | } |
1402 | } |
1403 | } |
1404 | return; |
1405 | } |
1406 | } |
1407 | int __ste_client_forwardReceiver0 = 0; |
1408 | int __ste_client_forwardReceiver1 = 0; |
1409 | int __ste_client_forwardReceiver2 = 0; |
1410 | int __ste_client_forwardReceiver3 = 0; |
1411 | int getClientForwardReceiver(int handle ) |
1412 | { int retValue_acc ; |
1413 | |
1414 | { |
1415 | if (handle == 1) { |
1416 | retValue_acc = __ste_client_forwardReceiver0; |
1417 | return (retValue_acc); |
1418 | } else { |
1419 | if (handle == 2) { |
1420 | retValue_acc = __ste_client_forwardReceiver1; |
1421 | return (retValue_acc); |
1422 | } else { |
1423 | if (handle == 3) { |
1424 | retValue_acc = __ste_client_forwardReceiver2; |
1425 | return (retValue_acc); |
1426 | } else { |
1427 | retValue_acc = 0; |
1428 | return (retValue_acc); |
1429 | } |
1430 | } |
1431 | } |
1432 | return (retValue_acc); |
1433 | } |
1434 | } |
1435 | void setClientForwardReceiver(int handle , int value ) |
1436 | { |
1437 | |
1438 | { |
1439 | if (handle == 1) { |
1440 | __ste_client_forwardReceiver0 = value; |
1441 | } else { |
1442 | if (handle == 2) { |
1443 | __ste_client_forwardReceiver1 = value; |
1444 | } else { |
1445 | if (handle == 3) { |
1446 | __ste_client_forwardReceiver2 = value; |
1447 | } else { |
1448 | |
1449 | } |
1450 | } |
1451 | } |
1452 | return; |
1453 | } |
1454 | } |
1455 | int __ste_client_idCounter0 = 0; |
1456 | int __ste_client_idCounter1 = 0; |
1457 | int __ste_client_idCounter2 = 0; |
1458 | int getClientId(int handle ) |
1459 | { int retValue_acc ; |
1460 | |
1461 | { |
1462 | if (handle == 1) { |
1463 | retValue_acc = __ste_client_idCounter0; |
1464 | return (retValue_acc); |
1465 | } else { |
1466 | if (handle == 2) { |
1467 | retValue_acc = __ste_client_idCounter1; |
1468 | return (retValue_acc); |
1469 | } else { |
1470 | if (handle == 3) { |
1471 | retValue_acc = __ste_client_idCounter2; |
1472 | return (retValue_acc); |
1473 | } else { |
1474 | retValue_acc = 0; |
1475 | return (retValue_acc); |
1476 | } |
1477 | } |
1478 | } |
1479 | return (retValue_acc); |
1480 | } |
1481 | } |
1482 | void setClientId(int handle , int value ) |
1483 | { |
1484 | |
1485 | { |
1486 | if (handle == 1) { |
1487 | __ste_client_idCounter0 = value; |
1488 | } else { |
1489 | if (handle == 2) { |
1490 | __ste_client_idCounter1 = value; |
1491 | } else { |
1492 | if (handle == 3) { |
1493 | __ste_client_idCounter2 = value; |
1494 | } else { |
1495 | |
1496 | } |
1497 | } |
1498 | } |
1499 | return; |
1500 | } |
1501 | } |
1502 | #pragma merger(0,"Client.i","") |
1503 | void setEmailFrom(int handle , int value ) ; |
1504 | int getEmailTo(int handle ) ; |
1505 | void setEmailTo(int handle , int value ) ; |
1506 | int isEncrypted(int handle ) ; |
1507 | void setEmailIsEncrypted(int handle , int value ) ; |
1508 | int getEmailEncryptionKey(int handle ) ; |
1509 | void setEmailEncryptionKey(int handle , int value ) ; |
1510 | void setEmailIsSigned(int handle , int value ) ; |
1511 | void setEmailSignKey(int handle , int value ) ; |
1512 | void setEmailIsSignatureVerified(int handle , int value ) ; |
1513 | void printMail(int msg ) ; |
1514 | int isReadable(int msg ) ; |
1515 | int createEmail(int from , int to ) ; |
1516 | void queue(int client , int msg ) ; |
1517 | void mail(int client , int msg ) ; |
1518 | void deliver(int client , int msg ) ; |
1519 | void incoming(int client , int msg ) ; |
1520 | int createClient(char *name ) ; |
1521 | void sendToAddressBook(int client , int msg ) ; |
1522 | void sign(int client , int msg ) ; |
1523 | void forward(int client , int msg ) ; |
1524 | void verify(int client , int msg ) ; |
1525 | int queue_empty = 1; |
1526 | int queued_message ; |
1527 | int queued_client ; |
1528 | void mail(int client , int msg ) |
1529 | { int __utac__ad__arg1 ; |
1530 | int tmp ; |
1531 | |
1532 | { |
1533 | { |
1534 | __utac__ad__arg1 = msg; |
1535 | __utac_acc__SignVerify_spec__1(__utac__ad__arg1); |
1536 | // puts("mail sent"); |
1537 | tmp = getEmailTo(msg); |
1538 | incoming(tmp, msg); |
1539 | } |
1540 | return; |
1541 | } |
1542 | } |
1543 | void outgoing__wrappee__Keys(int client , int msg ) |
1544 | { int tmp ; |
1545 | |
1546 | { |
1547 | { |
1548 | tmp = getClientId(client); |
1549 | setEmailFrom(msg, tmp); |
1550 | mail(client, msg); |
1551 | } |
1552 | return; |
1553 | } |
1554 | } |
1555 | void outgoing__wrappee__Encrypt(int client , int msg ) |
1556 | { int receiver ; |
1557 | int tmp ; |
1558 | int pubkey ; |
1559 | int tmp___0 ; |
1560 | |
1561 | { |
1562 | { |
1563 | tmp = getEmailTo(msg); |
1564 | receiver = tmp; |
1565 | tmp___0 = findPublicKey(client, receiver); |
1566 | pubkey = tmp___0; |
1567 | } |
1568 | if (pubkey != 0) { |
1569 | { |
1570 | setEmailEncryptionKey(msg, pubkey); |
1571 | setEmailIsEncrypted(msg, 1); |
1572 | } |
1573 | } else { |
1574 | |
1575 | } |
1576 | { |
1577 | outgoing__wrappee__Keys(client, msg); |
1578 | } |
1579 | return; |
1580 | } |
1581 | } |
1582 | void outgoing__wrappee__AddressBook(int client , int msg ) |
1583 | { int size ; |
1584 | int tmp ; |
1585 | int receiver ; |
1586 | int tmp___0 ; |
1587 | int second ; |
1588 | int tmp___1 ; |
1589 | int tmp___2 ; |
1590 | |
1591 | { |
1592 | { |
1593 | tmp = getClientAddressBookSize(client); |
1594 | size = tmp; |
1595 | } |
1596 | if (size != 0) { |
1597 | { |
1598 | sendToAddressBook(client, msg); |
1599 | // puts("sending to alias in address book\n"); |
1600 | tmp___0 = getEmailTo(msg); |
1601 | receiver = tmp___0; |
1602 | // puts("sending to second receipient\n"); |
1603 | tmp___1 = getClientAddressBookAddress(client, 1); |
1604 | second = tmp___1; |
1605 | setEmailTo(msg, second); |
1606 | outgoing__wrappee__Encrypt(client, msg); |
1607 | tmp___2 = getClientAddressBookAddress(client, 0); |
1608 | setEmailTo(msg, tmp___2); |
1609 | outgoing__wrappee__Encrypt(client, msg); |
1610 | } |
1611 | } else { |
1612 | { |
1613 | outgoing__wrappee__Encrypt(client, msg); |
1614 | } |
1615 | } |
1616 | return; |
1617 | } |
1618 | } |
1619 | void outgoing(int client , int msg ) |
1620 | { |
1621 | |
1622 | { |
1623 | { |
1624 | sign(client, msg); |
1625 | outgoing__wrappee__AddressBook(client, msg); |
1626 | } |
1627 | return; |
1628 | } |
1629 | } |
1630 | void deliver(int client , int msg ) |
1631 | { |
1632 | |
1633 | { |
1634 | { |
1635 | // puts("mail delivered\n"); |
1636 | } |
1637 | return; |
1638 | } |
1639 | } |
1640 | void incoming__wrappee__Sign(int client , int msg ) |
1641 | { |
1642 | |
1643 | { |
1644 | { |
1645 | deliver(client, msg); |
1646 | } |
1647 | return; |
1648 | } |
1649 | } |
1650 | void incoming__wrappee__Forward(int client , int msg ) |
1651 | { int fwreceiver ; |
1652 | int tmp ; |
1653 | |
1654 | { |
1655 | { |
1656 | incoming__wrappee__Sign(client, msg); |
1657 | tmp = getClientForwardReceiver(client); |
1658 | fwreceiver = tmp; |
1659 | } |
1660 | if (fwreceiver != 0) { |
1661 | { |
1662 | setEmailTo(msg, fwreceiver); |
1663 | forward(client, msg); |
1664 | } |
1665 | } else { |
1666 | |
1667 | } |
1668 | return; |
1669 | } |
1670 | } |
1671 | void incoming__wrappee__Verify(int client , int msg ) |
1672 | { |
1673 | |
1674 | { |
1675 | { |
1676 | verify(client, msg); |
1677 | incoming__wrappee__Forward(client, msg); |
1678 | } |
1679 | return; |
1680 | } |
1681 | } |
1682 | void incoming(int client , int msg ) |
1683 | { int privkey ; |
1684 | int tmp ; |
1685 | int tmp___0 ; |
1686 | int tmp___1 ; |
1687 | int tmp___2 ; |
1688 | |
1689 | { |
1690 | { |
1691 | tmp = getClientPrivateKey(client); |
1692 | privkey = tmp; |
1693 | } |
1694 | if (privkey != 0) { |
1695 | { |
1696 | tmp___0 = isEncrypted(msg); |
1697 | } |
1698 | if (tmp___0 != 0) { |
1699 | { |
1700 | tmp___1 = getEmailEncryptionKey(msg); |
1701 | tmp___2 = isKeyPairValid(tmp___1, privkey); |
1702 | } |
1703 | if (tmp___2 != 0) { |
1704 | { |
1705 | setEmailIsEncrypted(msg, 0); |
1706 | setEmailEncryptionKey(msg, 0); |
1707 | } |
1708 | } else { |
1709 | |
1710 | } |
1711 | } else { |
1712 | |
1713 | } |
1714 | } else { |
1715 | |
1716 | } |
1717 | { |
1718 | incoming__wrappee__Verify(client, msg); |
1719 | } |
1720 | return; |
1721 | } |
1722 | } |
1723 | int createClient(char *name ) |
1724 | { int retValue_acc ; |
1725 | int client ; |
1726 | int tmp ; |
1727 | |
1728 | { |
1729 | { |
1730 | tmp = initClient(); |
1731 | client = tmp; |
1732 | retValue_acc = client; |
1733 | } |
1734 | return (retValue_acc); |
1735 | return (retValue_acc); |
1736 | } |
1737 | } |
1738 | void sendEmail(int sender , int receiver ) |
1739 | { int email ; |
1740 | int tmp ; |
1741 | |
1742 | { |
1743 | { |
1744 | tmp = createEmail(0, receiver); |
1745 | email = tmp; |
1746 | outgoing(sender, email); |
1747 | } |
1748 | return; |
1749 | } |
1750 | } |
1751 | void queue(int client , int msg ) |
1752 | { |
1753 | |
1754 | { |
1755 | queue_empty = 0; |
1756 | queued_message = msg; |
1757 | queued_client = client; |
1758 | return; |
1759 | } |
1760 | } |
1761 | int is_queue_empty(void) |
1762 | { int retValue_acc ; |
1763 | |
1764 | { |
1765 | retValue_acc = queue_empty; |
1766 | return (retValue_acc); |
1767 | return (retValue_acc); |
1768 | } |
1769 | } |
1770 | int get_queued_client(void) |
1771 | { int retValue_acc ; |
1772 | |
1773 | { |
1774 | retValue_acc = queued_client; |
1775 | return (retValue_acc); |
1776 | return (retValue_acc); |
1777 | } |
1778 | } |
1779 | int get_queued_email(void) |
1780 | { int retValue_acc ; |
1781 | |
1782 | { |
1783 | retValue_acc = queued_message; |
1784 | return (retValue_acc); |
1785 | return (retValue_acc); |
1786 | } |
1787 | } |
1788 | int isKeyPairValid(int publicKey , int privateKey ) |
1789 | { int retValue_acc ; |
1790 | char const * __restrict __cil_tmp4 ; |
1791 | |
1792 | { |
1793 | { |
1794 | __cil_tmp4 = (char const * __restrict )"keypair valid %d %d"; |
1795 | // printf(__cil_tmp4, publicKey, privateKey); |
1796 | } |
1797 | if (! publicKey) { |
1798 | retValue_acc = 0; |
1799 | return (retValue_acc); |
1800 | } else { |
1801 | if (! privateKey) { |
1802 | retValue_acc = 0; |
1803 | return (retValue_acc); |
1804 | } else { |
1805 | |
1806 | } |
1807 | } |
1808 | retValue_acc = privateKey == publicKey; |
1809 | return (retValue_acc); |
1810 | return (retValue_acc); |
1811 | } |
1812 | } |
1813 | void generateKeyPair(int client , int seed ) |
1814 | { |
1815 | |
1816 | { |
1817 | { |
1818 | setClientPrivateKey(client, seed); |
1819 | } |
1820 | return; |
1821 | } |
1822 | } |
1823 | void sendToAddressBook(int client , int msg ) |
1824 | { |
1825 | |
1826 | { |
1827 | return; |
1828 | } |
1829 | } |
1830 | void sign(int client , int msg ) |
1831 | { int privkey ; |
1832 | int tmp ; |
1833 | |
1834 | { |
1835 | { |
1836 | tmp = getClientPrivateKey(client); |
1837 | privkey = tmp; |
1838 | } |
1839 | if (! privkey) { |
1840 | return; |
1841 | } else { |
1842 | |
1843 | } |
1844 | { |
1845 | setEmailIsSigned(msg, 1); |
1846 | setEmailSignKey(msg, privkey); |
1847 | } |
1848 | return; |
1849 | } |
1850 | } |
1851 | void forward(int client , int msg ) |
1852 | { |
1853 | |
1854 | { |
1855 | { |
1856 | // puts("Forwarding message.\n"); |
1857 | printMail(msg); |
1858 | queue(client, msg); |
1859 | } |
1860 | return; |
1861 | } |
1862 | } |
1863 | void verify(int client , int msg ) |
1864 | { int __utac__ad__arg1 ; |
1865 | int __utac__ad__arg2 ; |
1866 | int tmp ; |
1867 | int tmp___0 ; |
1868 | int pubkey ; |
1869 | int tmp___1 ; |
1870 | int tmp___2 ; |
1871 | int tmp___3 ; |
1872 | int tmp___4 ; |
1873 | |
1874 | { |
1875 | { |
1876 | __utac__ad__arg1 = client; |
1877 | __utac__ad__arg2 = msg; |
1878 | __utac_acc__SignVerify_spec__2(__utac__ad__arg1, __utac__ad__arg2); |
1879 | tmp = isReadable(msg); |
1880 | } |
1881 | if (tmp != 0) { |
1882 | { |
1883 | tmp___0 = isSigned(msg); |
1884 | } |
1885 | if (tmp___0 != 0) { |
1886 | |
1887 | } else { |
1888 | return; |
1889 | } |
1890 | } else { |
1891 | return; |
1892 | } |
1893 | { |
1894 | tmp___1 = getEmailFrom(msg); |
1895 | tmp___2 = findPublicKey(client, tmp___1); |
1896 | pubkey = tmp___2; |
1897 | } |
1898 | if (pubkey != 0) { |
1899 | { |
1900 | tmp___3 = getEmailSignKey(msg); |
1901 | tmp___4 = isKeyPairValid(tmp___3, pubkey); |
1902 | } |
1903 | if (tmp___4 != 0) { |
1904 | { |
1905 | setEmailIsSignatureVerified(msg, 1); |
1906 | } |
1907 | } else { |
1908 | |
1909 | } |
1910 | } else { |
1911 | |
1912 | } |
1913 | return; |
1914 | } |
1915 | } |
1916 | #pragma merger(0,"featureselect.i","") |
1917 | int select_one(void) ; |
1918 | int select_one(void) |
1919 | { int retValue_acc ; |
1920 | int choice = __VERIFIER_nondet_int(); |
1921 | |
1922 | { |
1923 | retValue_acc = choice; |
1924 | return (retValue_acc); |
1925 | return (retValue_acc); |
1926 | } |
1927 | } |
1928 | void select_features(void) |
1929 | { |
1930 | |
1931 | { |
1932 | return; |
1933 | } |
1934 | } |
1935 | void select_helpers(void) |
1936 | { |
1937 | |
1938 | { |
1939 | return; |
1940 | } |
1941 | } |
1942 | int valid_product(void) |
1943 | { int retValue_acc ; |
1944 | |
1945 | { |
1946 | retValue_acc = 1; |
1947 | return (retValue_acc); |
1948 | return (retValue_acc); |
1949 | } |
1950 | } |
1951 | #pragma merger(0,"Email.i","") |
1952 | int getEmailId(int handle ) ; |
1953 | int isVerified(int handle ) ; |
1954 | int cloneEmail(int msg ) ; |
1955 | void printMail__wrappee__Keys(int msg ) |
1956 | { int tmp ; |
1957 | int tmp___0 ; |
1958 | int tmp___1 ; |
1959 | int tmp___2 ; |
1960 | char const * __restrict __cil_tmp6 ; |
1961 | char const * __restrict __cil_tmp7 ; |
1962 | char const * __restrict __cil_tmp8 ; |
1963 | char const * __restrict __cil_tmp9 ; |
1964 | |
1965 | { |
1966 | { |
1967 | tmp = getEmailId(msg); |
1968 | __cil_tmp6 = (char const * __restrict )"ID:\n %i\n"; |
1969 | // printf(__cil_tmp6, tmp); |
1970 | tmp___0 = getEmailFrom(msg); |
1971 | __cil_tmp7 = (char const * __restrict )"FROM:\n %i\n"; |
1972 | // printf(__cil_tmp7, tmp___0); |
1973 | tmp___1 = getEmailTo(msg); |
1974 | __cil_tmp8 = (char const * __restrict )"TO:\n %i\n"; |
1975 | // printf(__cil_tmp8, tmp___1); |
1976 | tmp___2 = isReadable(msg); |
1977 | __cil_tmp9 = (char const * __restrict )"IS_READABLE\n %i\n"; |
1978 | // printf(__cil_tmp9, tmp___2); |
1979 | } |
1980 | return; |
1981 | } |
1982 | } |
1983 | void printMail__wrappee__AddressBook(int msg ) |
1984 | { int tmp ; |
1985 | int tmp___0 ; |
1986 | char const * __restrict __cil_tmp4 ; |
1987 | char const * __restrict __cil_tmp5 ; |
1988 | |
1989 | { |
1990 | { |
1991 | printMail__wrappee__Keys(msg); |
1992 | tmp = isEncrypted(msg); |
1993 | __cil_tmp4 = (char const * __restrict )"ENCRYPTED\n %d\n"; |
1994 | // printf(__cil_tmp4, tmp); |
1995 | tmp___0 = getEmailEncryptionKey(msg); |
1996 | __cil_tmp5 = (char const * __restrict )"ENCRYPTION KEY\n %d\n"; |
1997 | // printf(__cil_tmp5, tmp___0); |
1998 | } |
1999 | return; |
2000 | } |
2001 | } |
2002 | void printMail__wrappee__Forward(int msg ) |
2003 | { int tmp ; |
2004 | int tmp___0 ; |
2005 | char const * __restrict __cil_tmp4 ; |
2006 | char const * __restrict __cil_tmp5 ; |
2007 | |
2008 | { |
2009 | { |
2010 | printMail__wrappee__AddressBook(msg); |
2011 | tmp = isSigned(msg); |
2012 | __cil_tmp4 = (char const * __restrict )"SIGNED\n %i\n"; |
2013 | // printf(__cil_tmp4, tmp); |
2014 | tmp___0 = getEmailSignKey(msg); |
2015 | __cil_tmp5 = (char const * __restrict )"SIGNATURE\n %i\n"; |
2016 | // printf(__cil_tmp5, tmp___0); |
2017 | } |
2018 | return; |
2019 | } |
2020 | } |
2021 | void printMail(int msg ) |
2022 | { int tmp ; |
2023 | char const * __restrict __cil_tmp3 ; |
2024 | |
2025 | { |
2026 | { |
2027 | printMail__wrappee__Forward(msg); |
2028 | tmp = isVerified(msg); |
2029 | __cil_tmp3 = (char const * __restrict )"SIGNATURE VERIFIED\n %d\n"; |
2030 | // printf(__cil_tmp3, tmp); |
2031 | } |
2032 | return; |
2033 | } |
2034 | } |
2035 | int isReadable__wrappee__Keys(int msg ) |
2036 | { int retValue_acc ; |
2037 | |
2038 | { |
2039 | retValue_acc = 1; |
2040 | return (retValue_acc); |
2041 | return (retValue_acc); |
2042 | } |
2043 | } |
2044 | int isReadable(int msg ) |
2045 | { int retValue_acc ; |
2046 | int tmp ; |
2047 | |
2048 | { |
2049 | { |
2050 | tmp = isEncrypted(msg); |
2051 | } |
2052 | if (tmp != 0) { |
2053 | retValue_acc = 0; |
2054 | return (retValue_acc); |
2055 | } else { |
2056 | { |
2057 | retValue_acc = isReadable__wrappee__Keys(msg); |
2058 | } |
2059 | return (retValue_acc); |
2060 | } |
2061 | return (retValue_acc); |
2062 | } |
2063 | } |
2064 | int cloneEmail(int msg ) |
2065 | { int retValue_acc ; |
2066 | |
2067 | { |
2068 | retValue_acc = msg; |
2069 | return (retValue_acc); |
2070 | return (retValue_acc); |
2071 | } |
2072 | } |
2073 | int createEmail(int from , int to ) |
2074 | { int retValue_acc ; |
2075 | int msg ; |
2076 | |
2077 | { |
2078 | { |
2079 | msg = 1; |
2080 | setEmailFrom(msg, from); |
2081 | setEmailTo(msg, to); |
2082 | retValue_acc = msg; |
2083 | } |
2084 | return (retValue_acc); |
2085 | return (retValue_acc); |
2086 | } |
2087 | } |
2088 | #pragma merger(0,"wsllib_check.i","") |
2089 | void __automaton_fail(void) |
2090 | { |
2091 | |
2092 | { |
2093 | __VERIFIER_assume(!((0 == INPUTS_at_2301[0])));__VERIFIER_assume(!((0 == INPUTS_at_2287[1])));__VERIFIER_assume(!((0 != INPUTS_at_2245[0])));__VERIFIER_error(); |
2094 | return; |
2095 | } |
2096 | } |
2097 | #pragma merger(0,"Util.i","") |
2098 | int prompt(char *msg ) ; |
2099 | int prompt(char *msg ) |
2100 | { int retValue_acc ; |
2101 | int retval ; |
2102 | char const * __restrict __cil_tmp4 ; |
2103 | |
2104 | { |
2105 | { |
2106 | __cil_tmp4 = (char const * __restrict )"%s\n"; |
2107 | // printf(__cil_tmp4, msg); |
2108 | retValue_acc = retval; |
2109 | } |
2110 | return (retValue_acc); |
2111 | return (retValue_acc); |
2112 | } |
2113 | } |
2114 | #pragma merger(0,"scenario.i","") |
2115 | void test(void) |
2116 | { int op1 ; |
2117 | int op2 ; |
2118 | int op3 ; |
2119 | int op4 ; |
2120 | int op5 ; |
2121 | int op6 ; |
2122 | int op7 ; |
2123 | int op8 ; |
2124 | int op9 ; |
2125 | int op10 ; |
2126 | int op11 ; |
2127 | int splverifierCounter ; |
2128 | int tmp ; |
2129 | int tmp___0 ; |
2130 | int tmp___1 ; |
2131 | int tmp___2 ; |
2132 | int tmp___3 ; |
2133 | int tmp___4 ; |
2134 | int tmp___5 ; |
2135 | int tmp___6 ; |
2136 | int tmp___7 ; |
2137 | int tmp___8 ; |
2138 | int tmp___9 ; |
2139 | |
2140 | { |
2141 | op1 = 0; |
2142 | op2 = 0; |
2143 | op3 = 0; |
2144 | op4 = 0; |
2145 | op5 = 0; |
2146 | op6 = 0; |
2147 | op7 = 0; |
2148 | op8 = 0; |
2149 | op9 = 0; |
2150 | op10 = 0; |
2151 | op11 = 0; |
2152 | splverifierCounter = 0; |
2153 | { |
2154 | while (1) { |
2155 | while_0_continue: /* CIL Label */ ; |
2156 | if (splverifierCounter < 4) { |
2157 | |
2158 | } else { |
2159 | goto while_0_break; |
2160 | } |
2161 | splverifierCounter = splverifierCounter + 1; |
2162 | if (! op1) { |
2163 | { |
2164 | tmp___9 = (input_at_2164_counter < num_of_inputs_at_2164) ? INPUTS_at_2164[input_at_2164_counter++] : __VERIFIER_nondet_int() ; |
2165 | } |
2166 | if (tmp___9 != 0) { |
2167 | { |
2168 | bobKeyAdd(); |
2169 | op1 = 1; |
2170 | } |
2171 | } else { |
2172 | goto _L___8; |
2173 | } |
2174 | } else { |
2175 | _L___8: /* CIL Label */ |
2176 | if (! op2) { |
2177 | { |
2178 | tmp___8 = (input_at_2178_counter < num_of_inputs_at_2178) ? INPUTS_at_2178[input_at_2178_counter++] : __VERIFIER_nondet_int() ; |
2179 | } |
2180 | if (tmp___8 != 0) { |
2181 | op2 = 1; |
2182 | } else { |
2183 | goto _L___7; |
2184 | } |
2185 | } else { |
2186 | _L___7: /* CIL Label */ |
2187 | if (! op3) { |
2188 | { |
2189 | tmp___7 = (input_at_2189_counter < num_of_inputs_at_2189) ? INPUTS_at_2189[input_at_2189_counter++] : __VERIFIER_nondet_int() ; |
2190 | } |
2191 | if (tmp___7 != 0) { |
2192 | { |
2193 | rjhDeletePrivateKey(); |
2194 | op3 = 1; |
2195 | } |
2196 | } else { |
2197 | goto _L___6; |
2198 | } |
2199 | } else { |
2200 | _L___6: /* CIL Label */ |
2201 | if (! op4) { |
2202 | { |
2203 | tmp___6 = (input_at_2203_counter < num_of_inputs_at_2203) ? INPUTS_at_2203[input_at_2203_counter++] : __VERIFIER_nondet_int() ; |
2204 | } |
2205 | if (tmp___6 != 0) { |
2206 | { |
2207 | rjhKeyAdd(); |
2208 | op4 = 1; |
2209 | } |
2210 | } else { |
2211 | goto _L___5; |
2212 | } |
2213 | } else { |
2214 | _L___5: /* CIL Label */ |
2215 | if (! op5) { |
2216 | { |
2217 | tmp___5 = (input_at_2217_counter < num_of_inputs_at_2217) ? INPUTS_at_2217[input_at_2217_counter++] : __VERIFIER_nondet_int() ; |
2218 | } |
2219 | if (tmp___5 != 0) { |
2220 | { |
2221 | chuckKeyAddRjh(); |
2222 | op5 = 1; |
2223 | } |
2224 | } else { |
2225 | goto _L___4; |
2226 | } |
2227 | } else { |
2228 | _L___4: /* CIL Label */ |
2229 | if (! op6) { |
2230 | { |
2231 | tmp___4 = (input_at_2231_counter < num_of_inputs_at_2231) ? INPUTS_at_2231[input_at_2231_counter++] : __VERIFIER_nondet_int() ; |
2232 | } |
2233 | if (tmp___4 != 0) { |
2234 | { |
2235 | rjhEnableForwarding(); |
2236 | op6 = 1; |
2237 | } |
2238 | } else { |
2239 | goto _L___3; |
2240 | } |
2241 | } else { |
2242 | _L___3: /* CIL Label */ |
2243 | if (! op7) { |
2244 | { |
2245 | tmp___3 = (input_at_2245_counter < num_of_inputs_at_2245) ? INPUTS_at_2245[input_at_2245_counter++] : __VERIFIER_nondet_int() ; |
2246 | } |
2247 | if (tmp___3 != 0) { |
2248 | { |
2249 | rjhKeyChange(); |
2250 | op7 = 1; |
2251 | } |
2252 | } else { |
2253 | goto _L___2; |
2254 | } |
2255 | } else { |
2256 | _L___2: /* CIL Label */ |
2257 | if (! op8) { |
2258 | { |
2259 | tmp___2 = (input_at_2259_counter < num_of_inputs_at_2259) ? INPUTS_at_2259[input_at_2259_counter++] : __VERIFIER_nondet_int() ; |
2260 | } |
2261 | if (tmp___2 != 0) { |
2262 | { |
2263 | bobSetAddressBook(); |
2264 | op8 = 1; |
2265 | } |
2266 | } else { |
2267 | goto _L___1; |
2268 | } |
2269 | } else { |
2270 | _L___1: /* CIL Label */ |
2271 | if (! op9) { |
2272 | { |
2273 | tmp___1 = (input_at_2273_counter < num_of_inputs_at_2273) ? INPUTS_at_2273[input_at_2273_counter++] : __VERIFIER_nondet_int() ; |
2274 | } |
2275 | if (tmp___1 != 0) { |
2276 | { |
2277 | chuckKeyAdd(); |
2278 | op9 = 1; |
2279 | } |
2280 | } else { |
2281 | goto _L___0; |
2282 | } |
2283 | } else { |
2284 | _L___0: /* CIL Label */ |
2285 | if (! op10) { |
2286 | { |
2287 | tmp___0 = (input_at_2287_counter < num_of_inputs_at_2287) ? INPUTS_at_2287[input_at_2287_counter++] : __VERIFIER_nondet_int() ; |
2288 | } |
2289 | if (tmp___0 != 0) { |
2290 | { |
2291 | bobKeyChange(); |
2292 | op10 = 1; |
2293 | } |
2294 | } else { |
2295 | goto _L; |
2296 | } |
2297 | } else { |
2298 | _L: /* CIL Label */ |
2299 | if (! op11) { |
2300 | { |
2301 | tmp = (input_at_2301_counter < num_of_inputs_at_2301) ? INPUTS_at_2301[input_at_2301_counter++] : __VERIFIER_nondet_int() ; |
2302 | } |
2303 | if (tmp != 0) { |
2304 | { |
2305 | chuckKeyAdd(); |
2306 | op11 = 1; |
2307 | } |
2308 | } else { |
2309 | goto while_0_break; |
2310 | } |
2311 | } else { |
2312 | goto while_0_break; |
2313 | } |
2314 | } |
2315 | } |
2316 | } |
2317 | } |
2318 | } |
2319 | } |
2320 | } |
2321 | } |
2322 | } |
2323 | } |
2324 | } |
2325 | while_0_break: /* CIL Label */ ; |
2326 | } |
2327 | { |
2328 | bobToRjh(); |
2329 | } |
2330 | return; |
2331 | } |
2332 | } |
2333 | #pragma merger(0,"EmailLib.i","") |
2334 | int initEmail(void) ; |
2335 | void setEmailId(int handle , int value ) ; |
2336 | char *getEmailSubject(int handle ) ; |
2337 | void setEmailSubject(int handle , char *value ) ; |
2338 | char *getEmailBody(int handle ) ; |
2339 | void setEmailBody(int handle , char *value ) ; |
2340 | int __ste_Email_counter = 0; |
2341 | int initEmail(void) |
2342 | { int retValue_acc ; |
2343 | |
2344 | { |
2345 | if (__ste_Email_counter < 2) { |
2346 | __ste_Email_counter = __ste_Email_counter + 1; |
2347 | retValue_acc = __ste_Email_counter; |
2348 | return (retValue_acc); |
2349 | } else { |
2350 | retValue_acc = -1; |
2351 | return (retValue_acc); |
2352 | } |
2353 | return (retValue_acc); |
2354 | } |
2355 | } |
2356 | int __ste_email_id0 = 0; |
2357 | int __ste_email_id1 = 0; |
2358 | int getEmailId(int handle ) |
2359 | { int retValue_acc ; |
2360 | |
2361 | { |
2362 | if (handle == 1) { |
2363 | retValue_acc = __ste_email_id0; |
2364 | return (retValue_acc); |
2365 | } else { |
2366 | if (handle == 2) { |
2367 | retValue_acc = __ste_email_id1; |
2368 | return (retValue_acc); |
2369 | } else { |
2370 | retValue_acc = 0; |
2371 | return (retValue_acc); |
2372 | } |
2373 | } |
2374 | return (retValue_acc); |
2375 | } |
2376 | } |
2377 | void setEmailId(int handle , int value ) |
2378 | { |
2379 | |
2380 | { |
2381 | if (handle == 1) { |
2382 | __ste_email_id0 = value; |
2383 | } else { |
2384 | if (handle == 2) { |
2385 | __ste_email_id1 = value; |
2386 | } else { |
2387 | |
2388 | } |
2389 | } |
2390 | return; |
2391 | } |
2392 | } |
2393 | int __ste_email_from0 = 0; |
2394 | int __ste_email_from1 = 0; |
2395 | int getEmailFrom(int handle ) |
2396 | { int retValue_acc ; |
2397 | |
2398 | { |
2399 | if (handle == 1) { |
2400 | retValue_acc = __ste_email_from0; |
2401 | return (retValue_acc); |
2402 | } else { |
2403 | if (handle == 2) { |
2404 | retValue_acc = __ste_email_from1; |
2405 | return (retValue_acc); |
2406 | } else { |
2407 | retValue_acc = 0; |
2408 | return (retValue_acc); |
2409 | } |
2410 | } |
2411 | return (retValue_acc); |
2412 | } |
2413 | } |
2414 | void setEmailFrom(int handle , int value ) |
2415 | { |
2416 | |
2417 | { |
2418 | if (handle == 1) { |
2419 | __ste_email_from0 = value; |
2420 | } else { |
2421 | if (handle == 2) { |
2422 | __ste_email_from1 = value; |
2423 | } else { |
2424 | |
2425 | } |
2426 | } |
2427 | return; |
2428 | } |
2429 | } |
2430 | int __ste_email_to0 = 0; |
2431 | int __ste_email_to1 = 0; |
2432 | int getEmailTo(int handle ) |
2433 | { int retValue_acc ; |
2434 | |
2435 | { |
2436 | if (handle == 1) { |
2437 | retValue_acc = __ste_email_to0; |
2438 | return (retValue_acc); |
2439 | } else { |
2440 | if (handle == 2) { |
2441 | retValue_acc = __ste_email_to1; |
2442 | return (retValue_acc); |
2443 | } else { |
2444 | retValue_acc = 0; |
2445 | return (retValue_acc); |
2446 | } |
2447 | } |
2448 | return (retValue_acc); |
2449 | } |
2450 | } |
2451 | void setEmailTo(int handle , int value ) |
2452 | { |
2453 | |
2454 | { |
2455 | if (handle == 1) { |
2456 | __ste_email_to0 = value; |
2457 | } else { |
2458 | if (handle == 2) { |
2459 | __ste_email_to1 = value; |
2460 | } else { |
2461 | |
2462 | } |
2463 | } |
2464 | return; |
2465 | } |
2466 | } |
2467 | char *__ste_email_subject0 ; |
2468 | char *__ste_email_subject1 ; |
2469 | char *getEmailSubject(int handle ) |
2470 | { char *retValue_acc ; |
2471 | void *__cil_tmp3 ; |
2472 | |
2473 | { |
2474 | if (handle == 1) { |
2475 | retValue_acc = __ste_email_subject0; |
2476 | return (retValue_acc); |
2477 | } else { |
2478 | if (handle == 2) { |
2479 | retValue_acc = __ste_email_subject1; |
2480 | return (retValue_acc); |
2481 | } else { |
2482 | __cil_tmp3 = (void *)0; |
2483 | retValue_acc = (char *)__cil_tmp3; |
2484 | return (retValue_acc); |
2485 | } |
2486 | } |
2487 | return (retValue_acc); |
2488 | } |
2489 | } |
2490 | void setEmailSubject(int handle , char *value ) |
2491 | { |
2492 | |
2493 | { |
2494 | if (handle == 1) { |
2495 | __ste_email_subject0 = value; |
2496 | } else { |
2497 | if (handle == 2) { |
2498 | __ste_email_subject1 = value; |
2499 | } else { |
2500 | |
2501 | } |
2502 | } |
2503 | return; |
2504 | } |
2505 | } |
2506 | char *__ste_email_body0 = (char *)0; |
2507 | char *__ste_email_body1 = (char *)0; |
2508 | char *getEmailBody(int handle ) |
2509 | { char *retValue_acc ; |
2510 | void *__cil_tmp3 ; |
2511 | |
2512 | { |
2513 | if (handle == 1) { |
2514 | retValue_acc = __ste_email_body0; |
2515 | return (retValue_acc); |
2516 | } else { |
2517 | if (handle == 2) { |
2518 | retValue_acc = __ste_email_body1; |
2519 | return (retValue_acc); |
2520 | } else { |
2521 | __cil_tmp3 = (void *)0; |
2522 | retValue_acc = (char *)__cil_tmp3; |
2523 | return (retValue_acc); |
2524 | } |
2525 | } |
2526 | return (retValue_acc); |
2527 | } |
2528 | } |
2529 | void setEmailBody(int handle , char *value ) |
2530 | { |
2531 | |
2532 | { |
2533 | if (handle == 1) { |
2534 | __ste_email_body0 = value; |
2535 | } else { |
2536 | if (handle == 2) { |
2537 | __ste_email_body1 = value; |
2538 | } else { |
2539 | |
2540 | } |
2541 | } |
2542 | return; |
2543 | } |
2544 | } |
2545 | int __ste_email_isEncrypted0 = 0; |
2546 | int __ste_email_isEncrypted1 = 0; |
2547 | int isEncrypted(int handle ) |
2548 | { int retValue_acc ; |
2549 | |
2550 | { |
2551 | if (handle == 1) { |
2552 | retValue_acc = __ste_email_isEncrypted0; |
2553 | return (retValue_acc); |
2554 | } else { |
2555 | if (handle == 2) { |
2556 | retValue_acc = __ste_email_isEncrypted1; |
2557 | return (retValue_acc); |
2558 | } else { |
2559 | retValue_acc = 0; |
2560 | return (retValue_acc); |
2561 | } |
2562 | } |
2563 | return (retValue_acc); |
2564 | } |
2565 | } |
2566 | void setEmailIsEncrypted(int handle , int value ) |
2567 | { |
2568 | |
2569 | { |
2570 | if (handle == 1) { |
2571 | __ste_email_isEncrypted0 = value; |
2572 | } else { |
2573 | if (handle == 2) { |
2574 | __ste_email_isEncrypted1 = value; |
2575 | } else { |
2576 | |
2577 | } |
2578 | } |
2579 | return; |
2580 | } |
2581 | } |
2582 | int __ste_email_encryptionKey0 = 0; |
2583 | int __ste_email_encryptionKey1 = 0; |
2584 | int getEmailEncryptionKey(int handle ) |
2585 | { int retValue_acc ; |
2586 | |
2587 | { |
2588 | if (handle == 1) { |
2589 | retValue_acc = __ste_email_encryptionKey0; |
2590 | return (retValue_acc); |
2591 | } else { |
2592 | if (handle == 2) { |
2593 | retValue_acc = __ste_email_encryptionKey1; |
2594 | return (retValue_acc); |
2595 | } else { |
2596 | retValue_acc = 0; |
2597 | return (retValue_acc); |
2598 | } |
2599 | } |
2600 | return (retValue_acc); |
2601 | } |
2602 | } |
2603 | void setEmailEncryptionKey(int handle , int value ) |
2604 | { |
2605 | |
2606 | { |
2607 | if (handle == 1) { |
2608 | __ste_email_encryptionKey0 = value; |
2609 | } else { |
2610 | if (handle == 2) { |
2611 | __ste_email_encryptionKey1 = value; |
2612 | } else { |
2613 | |
2614 | } |
2615 | } |
2616 | return; |
2617 | } |
2618 | } |
2619 | int __ste_email_isSigned0 = 0; |
2620 | int __ste_email_isSigned1 = 0; |
2621 | int isSigned(int handle ) |
2622 | { int retValue_acc ; |
2623 | |
2624 | { |
2625 | if (handle == 1) { |
2626 | retValue_acc = __ste_email_isSigned0; |
2627 | return (retValue_acc); |
2628 | } else { |
2629 | if (handle == 2) { |
2630 | retValue_acc = __ste_email_isSigned1; |
2631 | return (retValue_acc); |
2632 | } else { |
2633 | retValue_acc = 0; |
2634 | return (retValue_acc); |
2635 | } |
2636 | } |
2637 | return (retValue_acc); |
2638 | } |
2639 | } |
2640 | void setEmailIsSigned(int handle , int value ) |
2641 | { |
2642 | |
2643 | { |
2644 | if (handle == 1) { |
2645 | __ste_email_isSigned0 = value; |
2646 | } else { |
2647 | if (handle == 2) { |
2648 | __ste_email_isSigned1 = value; |
2649 | } else { |
2650 | |
2651 | } |
2652 | } |
2653 | return; |
2654 | } |
2655 | } |
2656 | int __ste_email_signKey0 = 0; |
2657 | int __ste_email_signKey1 = 0; |
2658 | int getEmailSignKey(int handle ) |
2659 | { int retValue_acc ; |
2660 | |
2661 | { |
2662 | if (handle == 1) { |
2663 | retValue_acc = __ste_email_signKey0; |
2664 | return (retValue_acc); |
2665 | } else { |
2666 | if (handle == 2) { |
2667 | retValue_acc = __ste_email_signKey1; |
2668 | return (retValue_acc); |
2669 | } else { |
2670 | retValue_acc = 0; |
2671 | return (retValue_acc); |
2672 | } |
2673 | } |
2674 | return (retValue_acc); |
2675 | } |
2676 | } |
2677 | void setEmailSignKey(int handle , int value ) |
2678 | { |
2679 | |
2680 | { |
2681 | if (handle == 1) { |
2682 | __ste_email_signKey0 = value; |
2683 | } else { |
2684 | if (handle == 2) { |
2685 | __ste_email_signKey1 = value; |
2686 | } else { |
2687 | |
2688 | } |
2689 | } |
2690 | return; |
2691 | } |
2692 | } |
2693 | int __ste_email_isSignatureVerified0 ; |
2694 | int __ste_email_isSignatureVerified1 ; |
2695 | int isVerified(int handle ) |
2696 | { int retValue_acc ; |
2697 | |
2698 | { |
2699 | if (handle == 1) { |
2700 | retValue_acc = __ste_email_isSignatureVerified0; |
2701 | return (retValue_acc); |
2702 | } else { |
2703 | if (handle == 2) { |
2704 | retValue_acc = __ste_email_isSignatureVerified1; |
2705 | return (retValue_acc); |
2706 | } else { |
2707 | retValue_acc = 0; |
2708 | return (retValue_acc); |
2709 | } |
2710 | } |
2711 | return (retValue_acc); |
2712 | } |
2713 | } |
2714 | void setEmailIsSignatureVerified(int handle , int value ) |
2715 | { |
2716 | |
2717 | { |
2718 | if (handle == 1) { |
2719 | __ste_email_isSignatureVerified0 = value; |
2720 | } else { |
2721 | if (handle == 2) { |
2722 | __ste_email_isSignatureVerified1 = value; |
2723 | } else { |
2724 | |
2725 | } |
2726 | } |
2727 | return; |
2728 | } |
2729 | } |
2730 | #pragma merger(0,"libacc.i","") |
2731 | extern __attribute__((__nothrow__, __noreturn__)) void __assert_fail(char const *__assertion , |
2732 | char const *__file , |
2733 | unsigned int __line , |
2734 | char const *__function ) ; |
2735 | extern __attribute__((__nothrow__)) void *malloc(size_t __size ) __attribute__((__malloc__)) ; |
2736 | extern __attribute__((__nothrow__)) void free(void *__ptr ) ; |
2737 | void __utac__exception__cf_handler_set(void *exception , int (*cflow_func)(int , |
2738 | int ) , |
2739 | int val ) |
2740 | { struct __UTAC__EXCEPTION *excep ; |
2741 | struct __UTAC__CFLOW_FUNC *cf ; |
2742 | void *tmp ; |
2743 | unsigned long __cil_tmp7 ; |
2744 | unsigned long __cil_tmp8 ; |
2745 | unsigned long __cil_tmp9 ; |
2746 | unsigned long __cil_tmp10 ; |
2747 | unsigned long __cil_tmp11 ; |
2748 | unsigned long __cil_tmp12 ; |
2749 | unsigned long __cil_tmp13 ; |
2750 | unsigned long __cil_tmp14 ; |
2751 | int (**mem_15)(int , int ) ; |
2752 | int *mem_16 ; |
2753 | struct __UTAC__CFLOW_FUNC **mem_17 ; |
2754 | struct __UTAC__CFLOW_FUNC **mem_18 ; |
2755 | struct __UTAC__CFLOW_FUNC **mem_19 ; |
2756 | |
2757 | { |
2758 | { |
2759 | excep = (struct __UTAC__EXCEPTION *)exception; |
2760 | tmp = malloc(24UL); |
2761 | cf = (struct __UTAC__CFLOW_FUNC *)tmp; |
2762 | mem_15 = (int (**)(int , int ))cf; |
2763 | *mem_15 = cflow_func; |
2764 | __cil_tmp7 = (unsigned long )cf; |
2765 | __cil_tmp8 = __cil_tmp7 + 8; |
2766 | mem_16 = (int *)__cil_tmp8; |
2767 | *mem_16 = val; |
2768 | __cil_tmp9 = (unsigned long )cf; |
2769 | __cil_tmp10 = __cil_tmp9 + 16; |
2770 | __cil_tmp11 = (unsigned long )excep; |
2771 | __cil_tmp12 = __cil_tmp11 + 24; |
2772 | mem_17 = (struct __UTAC__CFLOW_FUNC **)__cil_tmp10; |
2773 | mem_18 = (struct __UTAC__CFLOW_FUNC **)__cil_tmp12; |
2774 | *mem_17 = *mem_18; |
2775 | __cil_tmp13 = (unsigned long )excep; |
2776 | __cil_tmp14 = __cil_tmp13 + 24; |
2777 | mem_19 = (struct __UTAC__CFLOW_FUNC **)__cil_tmp14; |
2778 | *mem_19 = cf; |
2779 | } |
2780 | return; |
2781 | } |
2782 | } |
2783 | void __utac__exception__cf_handler_free(void *exception ) |
2784 | { struct __UTAC__EXCEPTION *excep ; |
2785 | struct __UTAC__CFLOW_FUNC *cf ; |
2786 | struct __UTAC__CFLOW_FUNC *tmp ; |
2787 | unsigned long __cil_tmp5 ; |
2788 | unsigned long __cil_tmp6 ; |
2789 | struct __UTAC__CFLOW_FUNC *__cil_tmp7 ; |
2790 | unsigned long __cil_tmp8 ; |
2791 | unsigned long __cil_tmp9 ; |
2792 | unsigned long __cil_tmp10 ; |
2793 | unsigned long __cil_tmp11 ; |
2794 | void *__cil_tmp12 ; |
2795 | unsigned long __cil_tmp13 ; |
2796 | unsigned long __cil_tmp14 ; |
2797 | struct __UTAC__CFLOW_FUNC **mem_15 ; |
2798 | struct __UTAC__CFLOW_FUNC **mem_16 ; |
2799 | struct __UTAC__CFLOW_FUNC **mem_17 ; |
2800 | |
2801 | { |
2802 | excep = (struct __UTAC__EXCEPTION *)exception; |
2803 | __cil_tmp5 = (unsigned long )excep; |
2804 | __cil_tmp6 = __cil_tmp5 + 24; |
2805 | mem_15 = (struct __UTAC__CFLOW_FUNC **)__cil_tmp6; |
2806 | cf = *mem_15; |
2807 | { |
2808 | while (1) { |
2809 | while_1_continue: /* CIL Label */ ; |
2810 | { |
2811 | __cil_tmp7 = (struct __UTAC__CFLOW_FUNC *)0; |
2812 | __cil_tmp8 = (unsigned long )__cil_tmp7; |
2813 | __cil_tmp9 = (unsigned long )cf; |
2814 | if (__cil_tmp9 != __cil_tmp8) { |
2815 | |
2816 | } else { |
2817 | goto while_1_break; |
2818 | } |
2819 | } |
2820 | { |
2821 | tmp = cf; |
2822 | __cil_tmp10 = (unsigned long )cf; |
2823 | __cil_tmp11 = __cil_tmp10 + 16; |
2824 | mem_16 = (struct __UTAC__CFLOW_FUNC **)__cil_tmp11; |
2825 | cf = *mem_16; |
2826 | __cil_tmp12 = (void *)tmp; |
2827 | free(__cil_tmp12); |
2828 | } |
2829 | } |
2830 | while_1_break: /* CIL Label */ ; |
2831 | } |
2832 | __cil_tmp13 = (unsigned long )excep; |
2833 | __cil_tmp14 = __cil_tmp13 + 24; |
2834 | mem_17 = (struct __UTAC__CFLOW_FUNC **)__cil_tmp14; |
2835 | *mem_17 = (struct __UTAC__CFLOW_FUNC *)0; |
2836 | return; |
2837 | } |
2838 | } |
2839 | void __utac__exception__cf_handler_reset(void *exception ) |
2840 | { struct __UTAC__EXCEPTION *excep ; |
2841 | struct __UTAC__CFLOW_FUNC *cf ; |
2842 | unsigned long __cil_tmp5 ; |
2843 | unsigned long __cil_tmp6 ; |
2844 | struct __UTAC__CFLOW_FUNC *__cil_tmp7 ; |
2845 | unsigned long __cil_tmp8 ; |
2846 | unsigned long __cil_tmp9 ; |
2847 | int (*__cil_tmp10)(int , int ) ; |
2848 | unsigned long __cil_tmp11 ; |
2849 | unsigned long __cil_tmp12 ; |
2850 | int __cil_tmp13 ; |
2851 | unsigned long __cil_tmp14 ; |
2852 | unsigned long __cil_tmp15 ; |
2853 | struct __UTAC__CFLOW_FUNC **mem_16 ; |
2854 | int (**mem_17)(int , int ) ; |
2855 | int *mem_18 ; |
2856 | struct __UTAC__CFLOW_FUNC **mem_19 ; |
2857 | |
2858 | { |
2859 | excep = (struct __UTAC__EXCEPTION *)exception; |
2860 | __cil_tmp5 = (unsigned long )excep; |
2861 | __cil_tmp6 = __cil_tmp5 + 24; |
2862 | mem_16 = (struct __UTAC__CFLOW_FUNC **)__cil_tmp6; |
2863 | cf = *mem_16; |
2864 | { |
2865 | while (1) { |
2866 | while_2_continue: /* CIL Label */ ; |
2867 | { |
2868 | __cil_tmp7 = (struct __UTAC__CFLOW_FUNC *)0; |
2869 | __cil_tmp8 = (unsigned long )__cil_tmp7; |
2870 | __cil_tmp9 = (unsigned long )cf; |
2871 | if (__cil_tmp9 != __cil_tmp8) { |
2872 | |
2873 | } else { |
2874 | goto while_2_break; |
2875 | } |
2876 | } |
2877 | { |
2878 | mem_17 = (int (**)(int , int ))cf; |
2879 | __cil_tmp10 = *mem_17; |
2880 | __cil_tmp11 = (unsigned long )cf; |
2881 | __cil_tmp12 = __cil_tmp11 + 8; |
2882 | mem_18 = (int *)__cil_tmp12; |
2883 | __cil_tmp13 = *mem_18; |
2884 | (*__cil_tmp10)(4, __cil_tmp13); |
2885 | __cil_tmp14 = (unsigned long )cf; |
2886 | __cil_tmp15 = __cil_tmp14 + 16; |
2887 | mem_19 = (struct __UTAC__CFLOW_FUNC **)__cil_tmp15; |
2888 | cf = *mem_19; |
2889 | } |
2890 | } |
2891 | while_2_break: /* CIL Label */ ; |
2892 | } |
2893 | { |
2894 | __utac__exception__cf_handler_free(exception); |
2895 | } |
2896 | return; |
2897 | } |
2898 | } |
2899 | void *__utac__error_stack_mgt(void *env , int mode , int count ) ; |
2900 | static struct __ACC__ERR *head = (struct __ACC__ERR *)0; |
2901 | void *__utac__error_stack_mgt(void *env , int mode , int count ) |
2902 | { void *retValue_acc ; |
2903 | struct __ACC__ERR *new ; |
2904 | void *tmp ; |
2905 | struct __ACC__ERR *temp ; |
2906 | struct __ACC__ERR *next ; |
2907 | void *excep ; |
2908 | unsigned long __cil_tmp10 ; |
2909 | unsigned long __cil_tmp11 ; |
2910 | unsigned long __cil_tmp12 ; |
2911 | unsigned long __cil_tmp13 ; |
2912 | void *__cil_tmp14 ; |
2913 | unsigned long __cil_tmp15 ; |
2914 | unsigned long __cil_tmp16 ; |
2915 | void *__cil_tmp17 ; |
2916 | void **mem_18 ; |
2917 | struct __ACC__ERR **mem_19 ; |
2918 | struct __ACC__ERR **mem_20 ; |
2919 | void **mem_21 ; |
2920 | struct __ACC__ERR **mem_22 ; |
2921 | void **mem_23 ; |
2922 | void **mem_24 ; |
2923 | |
2924 | { |
2925 | if (count == 0) { |
2926 | return (retValue_acc); |
2927 | } else { |
2928 | |
2929 | } |
2930 | if (mode == 0) { |
2931 | { |
2932 | tmp = malloc(16UL); |
2933 | new = (struct __ACC__ERR *)tmp; |
2934 | mem_18 = (void **)new; |
2935 | *mem_18 = env; |
2936 | __cil_tmp10 = (unsigned long )new; |
2937 | __cil_tmp11 = __cil_tmp10 + 8; |
2938 | mem_19 = (struct __ACC__ERR **)__cil_tmp11; |
2939 | *mem_19 = head; |
2940 | head = new; |
2941 | retValue_acc = (void *)new; |
2942 | } |
2943 | return (retValue_acc); |
2944 | } else { |
2945 | |
2946 | } |
2947 | if (mode == 1) { |
2948 | temp = head; |
2949 | { |
2950 | while (1) { |
2951 | while_3_continue: /* CIL Label */ ; |
2952 | if (count > 1) { |
2953 | |
2954 | } else { |
2955 | goto while_3_break; |
2956 | } |
2957 | { |
2958 | __cil_tmp12 = (unsigned long )temp; |
2959 | __cil_tmp13 = __cil_tmp12 + 8; |
2960 | mem_20 = (struct __ACC__ERR **)__cil_tmp13; |
2961 | next = *mem_20; |
2962 | mem_21 = (void **)temp; |
2963 | excep = *mem_21; |
2964 | __cil_tmp14 = (void *)temp; |
2965 | free(__cil_tmp14); |
2966 | __utac__exception__cf_handler_reset(excep); |
2967 | temp = next; |
2968 | count = count - 1; |
2969 | } |
2970 | } |
2971 | while_3_break: /* CIL Label */ ; |
2972 | } |
2973 | { |
2974 | __cil_tmp15 = (unsigned long )temp; |
2975 | __cil_tmp16 = __cil_tmp15 + 8; |
2976 | mem_22 = (struct __ACC__ERR **)__cil_tmp16; |
2977 | head = *mem_22; |
2978 | mem_23 = (void **)temp; |
2979 | excep = *mem_23; |
2980 | __cil_tmp17 = (void *)temp; |
2981 | free(__cil_tmp17); |
2982 | __utac__exception__cf_handler_reset(excep); |
2983 | retValue_acc = excep; |
2984 | } |
2985 | return (retValue_acc); |
2986 | } else { |
2987 | |
2988 | } |
2989 | if (mode == 2) { |
2990 | if (head != 0) { |
2991 | mem_24 = (void **)head; |
2992 | retValue_acc = *mem_24; |
2993 | return (retValue_acc); |
2994 | } else { |
2995 | retValue_acc = (void *)0; |
2996 | return (retValue_acc); |
2997 | } |
2998 | } else { |
2999 | |
3000 | } |
3001 | return (retValue_acc); |
3002 | } |
3003 | } |
3004 | void *__utac__get_this_arg(int i , struct JoinPoint *this ) |
3005 | { void *retValue_acc ; |
3006 | unsigned long __cil_tmp4 ; |
3007 | unsigned long __cil_tmp5 ; |
3008 | int __cil_tmp6 ; |
3009 | int __cil_tmp7 ; |
3010 | unsigned long __cil_tmp8 ; |
3011 | unsigned long __cil_tmp9 ; |
3012 | void **__cil_tmp10 ; |
3013 | void **__cil_tmp11 ; |
3014 | int *mem_12 ; |
3015 | void ***mem_13 ; |
3016 | |
3017 | { |
3018 | if (i > 0) { |
3019 | { |
3020 | __cil_tmp4 = (unsigned long )this; |
3021 | __cil_tmp5 = __cil_tmp4 + 16; |
3022 | mem_12 = (int *)__cil_tmp5; |
3023 | __cil_tmp6 = *mem_12; |
3024 | if (i <= __cil_tmp6) { |
3025 | |
3026 | } else { |
3027 | { |
3028 | __assert_fail("i > 0 && i <= this->argsCount", "libacc.c", |
3029 | 123U, "__utac__get_this_arg"); |
3030 | } |
3031 | } |
3032 | } |
3033 | } else { |
3034 | { |
3035 | __assert_fail("i > 0 && i <= this->argsCount", "libacc.c", |
3036 | 123U, "__utac__get_this_arg"); |
3037 | } |
3038 | } |
3039 | __cil_tmp7 = i - 1; |
3040 | __cil_tmp8 = (unsigned long )this; |
3041 | __cil_tmp9 = __cil_tmp8 + 8; |
3042 | mem_13 = (void ***)__cil_tmp9; |
3043 | __cil_tmp10 = *mem_13; |
3044 | __cil_tmp11 = __cil_tmp10 + __cil_tmp7; |
3045 | retValue_acc = *__cil_tmp11; |
3046 | return (retValue_acc); |
3047 | return (retValue_acc); |
3048 | } |
3049 | } |
3050 | char const *__utac__get_this_argtype(int i , struct JoinPoint *this ) |
3051 | { char const *retValue_acc ; |
3052 | unsigned long __cil_tmp4 ; |
3053 | unsigned long __cil_tmp5 ; |
3054 | int __cil_tmp6 ; |
3055 | int __cil_tmp7 ; |
3056 | unsigned long __cil_tmp8 ; |
3057 | unsigned long __cil_tmp9 ; |
3058 | char const **__cil_tmp10 ; |
3059 | char const **__cil_tmp11 ; |
3060 | int *mem_12 ; |
3061 | char const ***mem_13 ; |
3062 | |
3063 | { |
3064 | if (i > 0) { |
3065 | { |
3066 | __cil_tmp4 = (unsigned long )this; |
3067 | __cil_tmp5 = __cil_tmp4 + 16; |
3068 | mem_12 = (int *)__cil_tmp5; |
3069 | __cil_tmp6 = *mem_12; |
3070 | if (i <= __cil_tmp6) { |
3071 | |
3072 | } else { |
3073 | { |
3074 | __assert_fail("i > 0 && i <= this->argsCount", "libacc.c", |
3075 | 131U, "__utac__get_this_argtype"); |
3076 | } |
3077 | } |
3078 | } |
3079 | } else { |
3080 | { |
3081 | __assert_fail("i > 0 && i <= this->argsCount", "libacc.c", |
3082 | 131U, "__utac__get_this_argtype"); |
3083 | } |
3084 | } |
3085 | __cil_tmp7 = i - 1; |
3086 | __cil_tmp8 = (unsigned long )this; |
3087 | __cil_tmp9 = __cil_tmp8 + 24; |
3088 | mem_13 = (char const ***)__cil_tmp9; |
3089 | __cil_tmp10 = *mem_13; |
3090 | __cil_tmp11 = __cil_tmp10 + __cil_tmp7; |
3091 | retValue_acc = *__cil_tmp11; |
3092 | return (retValue_acc); |
3093 | return (retValue_acc); |
3094 | } |
3095 | } |
2017-05-11 22:42:49:896 INFO ResourceLimitChecker.fromConfiguration Using the following resource limits: CPU-time limit of 900s
2017-05-11 22:42:50:007 INFO CPAchecker.run CPAchecker 1.6.1-svn (Java HotSpot(TM) 64-Bit Server VM 1.8.0_102) started
2017-05-11 22:42:52:169 INFO CFACreationUtils.addEdgeToCFA line 464: Dead code detected: return (retValue_acc);
2017-05-11 22:42:52:172 INFO CFACreationUtils.addEdgeToCFA line 493: Dead code detected: return (retValue_acc);
2017-05-11 22:42:52:176 INFO CFACreationUtils.addEdgeToCFA line 541: Dead code detected: return (retValue_acc);
2017-05-11 22:42:52:180 INFO CFACreationUtils.addEdgeToCFA line 588: Dead code detected: return (retValue_acc);
2017-05-11 22:42:52:197 INFO CFACreationUtils.addEdgeToCFA line 633: Dead code detected: return (retValue_acc);
2017-05-11 22:42:52:207 INFO CFACreationUtils.addEdgeToCFA line 711: Dead code detected: return (retValue_acc);
2017-05-11 22:42:52:214 INFO CFACreationUtils.addEdgeToCFA line 780: Dead code detected: return (retValue_acc);
2017-05-11 22:42:52:223 INFO CFACreationUtils.addEdgeToCFA line 914: Dead code detected: return (retValue_acc);
2017-05-11 22:42:52:247 INFO CFACreationUtils.addEdgeToCFA line 997: Dead code detected: return (retValue_acc);
2017-05-11 22:42:52:250 INFO CFACreationUtils.addEdgeToCFA line 1044: Dead code detected: return (retValue_acc);
2017-05-11 22:42:52:266 INFO CFACreationUtils.addEdgeToCFA line 1091: Dead code detected: return (retValue_acc);
2017-05-11 22:42:52:288 INFO CFACreationUtils.addEdgeToCFA line 1136: Dead code detected: return (retValue_acc);
2017-05-11 22:42:52:292 INFO CFACreationUtils.addEdgeToCFA line 1199: Dead code detected: return (retValue_acc);
2017-05-11 22:42:52:306 INFO CFACreationUtils.addEdgeToCFA line 1306: Dead code detected: return (retValue_acc);
2017-05-11 22:42:52:309 INFO CFACreationUtils.addEdgeToCFA line 1360: Dead code detected: return (retValue_acc);
2017-05-11 22:42:52:317 INFO CFACreationUtils.addEdgeToCFA line 1432: Dead code detected: return (retValue_acc);
2017-05-11 22:42:52:338 INFO CFACreationUtils.addEdgeToCFA line 1479: Dead code detected: return (retValue_acc);
2017-05-11 22:42:52:358 INFO CFACreationUtils.addEdgeToCFA line 1735: Dead code detected: return (retValue_acc);
2017-05-11 22:42:52:360 INFO CFACreationUtils.addEdgeToCFA line 1767: Dead code detected: return (retValue_acc);
2017-05-11 22:42:52:361 INFO CFACreationUtils.addEdgeToCFA line 1776: Dead code detected: return (retValue_acc);
2017-05-11 22:42:52:362 INFO CFACreationUtils.addEdgeToCFA line 1785: Dead code detected: return (retValue_acc);
2017-05-11 22:42:52:363 INFO CFACreationUtils.addEdgeToCFA line 1810: Dead code detected: return (retValue_acc);
2017-05-11 22:42:52:369 INFO CFACreationUtils.addEdgeToCFA line 1925: Dead code detected: return (retValue_acc);
2017-05-11 22:42:52:371 INFO CFACreationUtils.addEdgeToCFA line 1948: Dead code detected: return (retValue_acc);
2017-05-11 22:42:52:381 INFO CFACreationUtils.addEdgeToCFA line 2041: Dead code detected: return (retValue_acc);
2017-05-11 22:42:52:395 INFO CFACreationUtils.addEdgeToCFA line 2061: Dead code detected: return (retValue_acc);
2017-05-11 22:42:52:397 INFO CFACreationUtils.addEdgeToCFA line 2070: Dead code detected: return (retValue_acc);
2017-05-11 22:42:52:398 INFO CFACreationUtils.addEdgeToCFA line 2085: Dead code detected: return (retValue_acc);
2017-05-11 22:42:52:403 INFO CFACreationUtils.addEdgeToCFA line 2111: Dead code detected: return (retValue_acc);
2017-05-11 22:42:52:546 INFO CFACreationUtils.addEdgeToCFA line 2353: Dead code detected: return (retValue_acc);
2017-05-11 22:42:52:551 INFO CFACreationUtils.addEdgeToCFA line 2374: Dead code detected: return (retValue_acc);
2017-05-11 22:42:52:553 INFO CFACreationUtils.addEdgeToCFA line 2411: Dead code detected: return (retValue_acc);
2017-05-11 22:42:52:556 INFO CFACreationUtils.addEdgeToCFA line 2448: Dead code detected: return (retValue_acc);
2017-05-11 22:42:52:558 INFO CFACreationUtils.addEdgeToCFA line 2487: Dead code detected: return (retValue_acc);
2017-05-11 22:42:52:561 INFO CFACreationUtils.addEdgeToCFA line 2526: Dead code detected: return (retValue_acc);
2017-05-11 22:42:52:562 INFO CFACreationUtils.addEdgeToCFA line 2563: Dead code detected: return (retValue_acc);
2017-05-11 22:42:52:580 INFO CFACreationUtils.addEdgeToCFA line 2600: Dead code detected: return (retValue_acc);
2017-05-11 22:42:52:583 INFO CFACreationUtils.addEdgeToCFA line 2637: Dead code detected: return (retValue_acc);
2017-05-11 22:42:52:608 INFO CFACreationUtils.addEdgeToCFA line 2674: Dead code detected: return (retValue_acc);
2017-05-11 22:42:52:615 INFO CFACreationUtils.addEdgeToCFA line 2711: Dead code detected: return (retValue_acc);
2017-05-11 22:42:52:665 INFO CFACreationUtils.addEdgeToCFA line 3047: Dead code detected: return (retValue_acc);
2017-05-11 22:42:52:685 INFO CFACreationUtils.addEdgeToCFA line 3093: Dead code detected: return (retValue_acc);
2017-05-11 22:42:52:864 WARNING CFunctionPointerResolver.replaceFunctionPointerCall line 2884: Function pointer *__cil_tmp10 with type int (*)(int, int) is called, but no possible target functions were found.
2017-05-11 22:42:55:034 INFO CPAchecker.runAlgorithm Starting analysis ...
2017-05-11 22:42:55:122 INFO Parallel analysis 1:ResourceLimitChecker.fromConfiguration Using the following resource limits: CPU-time limit of 900s
2017-05-11 22:42:55:218 INFO Parallel analysis 2:ResourceLimitChecker.fromConfiguration Using the following resource limits: CPU-time limit of 900s
2017-05-11 22:42:56:166 WARNING Parallel analysis 1:PredicateCPA:JavaSMT:Mathsat5SolverContext.<init> MathSAT5 is available for research and evaluation purposes only. It can not be used in a commercial environment, particularly as part of a commercial product, without written permission. MathSAT5 is provided as is, without any warranty. Please write to mathsat@fbk.eu for additional questions regarding licensing MathSAT5 or obtaining more up-to-date versions.
2017-05-11 22:42:56:347 INFO Parallel analysis 1:PredicateCPA:PredicateCPA.<init> Using predicate analysis with MathSAT5 version 5.3.14 (0b98b661254c) (Nov 17 2016 10:59:45, gmp 5.1.3, gcc 4.8.5, 64-bit).
2017-05-11 22:42:56:547 WARNING Parallel analysis 1:AssumptionStorageCPA:JavaSMT:Mathsat5SolverContext.<init> MathSAT5 is available for research and evaluation purposes only. It can not be used in a commercial environment, particularly as part of a commercial product, without written permission. MathSAT5 is provided as is, without any warranty. Please write to mathsat@fbk.eu for additional questions regarding licensing MathSAT5 or obtaining more up-to-date versions.
2017-05-11 22:42:56:757 WARNING Parallel analysis 1:ValueAnalysisCPA:JavaSMT:Mathsat5SolverContext.<init> MathSAT5 is available for research and evaluation purposes only. It can not be used in a commercial environment, particularly as part of a commercial product, without written permission. MathSAT5 is provided as is, without any warranty. Please write to mathsat@fbk.eu for additional questions regarding licensing MathSAT5 or obtaining more up-to-date versions.
2017-05-11 22:42:58:366 WARNING Parallel analysis 1:InductionStepCase:PredicateCPA:JavaSMT:Mathsat5SolverContext.<init> MathSAT5 is available for research and evaluation purposes only. It can not be used in a commercial environment, particularly as part of a commercial product, without written permission. MathSAT5 is provided as is, without any warranty. Please write to mathsat@fbk.eu for additional questions regarding licensing MathSAT5 or obtaining more up-to-date versions.
2017-05-11 22:42:58:370 INFO Parallel analysis 1:InductionStepCase:PredicateCPA:PredicateCPA.<init> Using predicate analysis with MathSAT5 version 5.3.14 (0b98b661254c) (Nov 17 2016 10:59:45, gmp 5.1.3, gcc 4.8.5, 64-bit).
2017-05-11 22:42:58:404 WARNING Parallel analysis 1:InductionStepCase:AssumptionStorageCPA:JavaSMT:Mathsat5SolverContext.<init> MathSAT5 is available for research and evaluation purposes only. It can not be used in a commercial environment, particularly as part of a commercial product, without written permission. MathSAT5 is provided as is, without any warranty. Please write to mathsat@fbk.eu for additional questions regarding licensing MathSAT5 or obtaining more up-to-date versions.
2017-05-11 22:42:58:423 WARNING Parallel analysis 1:InductionStepCase:ValueAnalysisCPA:JavaSMT:Mathsat5SolverContext.<init> MathSAT5 is available for research and evaluation purposes only. It can not be used in a commercial environment, particularly as part of a commercial product, without written permission. MathSAT5 is provided as is, without any warranty. Please write to mathsat@fbk.eu for additional questions regarding licensing MathSAT5 or obtaining more up-to-date versions.
2017-05-11 22:43:01:637 INFO Parallel analysis 1:AbstractBMCAlgorithm.run Creating formula for program
2017-05-11 22:43:08:657 INFO Parallel analysis 1:AbstractBMCAlgorithm.boundedModelCheck Starting satisfiability check...
2017-05-11 22:43:08:680 INFO Parallel analysis 1:AbstractBMCAlgorithm.checkBoundingAssertions Starting assertions check...
2017-05-11 22:43:09:527 INFO Parallel analysis 1:KInductionProver.check Running algorithm to create induction hypothesis
2017-05-11 22:43:51:362 INFO Parallel analysis 1:KInductionProver.check Starting induction check...
2017-05-11 22:44:13:201 INFO Parallel analysis 1:BoundsCPA:BoundsCPA.adjustPrecision Adjusting maxLoopIterations to 2
2017-05-11 22:44:13:201 INFO Parallel analysis 1:AbstractBMCAlgorithm.run Creating formula for program
2017-05-11 22:44:13:214 INFO Parallel analysis 1:AbstractBMCAlgorithm.boundedModelCheck Starting satisfiability check...
2017-05-11 22:44:13:215 INFO Parallel analysis 1:AbstractBMCAlgorithm.checkBoundingAssertions Starting assertions check...
2017-05-11 22:44:13:272 INFO Parallel analysis 1:KInductionProver.check Running algorithm to create induction hypothesis
2017-05-11 22:50:55:237 INFO Parallel analysis 2:ParallelAlgorithm.runParallelAnalysis Analysis was terminated
2017-05-11 22:50:55:241 WARNING ForceTerminationOnShutdown$1.shutdownRequested Shutdown requested (The CPU-time limit of 900s has elapsed.), waiting for termination.
2017-05-11 22:50:55:243 WARNING AbstractFuture.get Warning: Analysis interrupted
2017-05-11 22:50:55:318 INFO Parallel analysis 1:ParallelAlgorithm.runParallelAnalysis Analysis was terminated
Parallel Algorithm statistics
-----------------------------
Number of algorithms used: 2
Statistics for: /lustre/work/anon/anon/cfc/analyzers/cpachecker/config/components/kInduction/svcomp16-kInduction.properties
===================================================================================================================================
Cannot print statistics for this analysis because it is still running.
Statistics for: /lustre/work/anon/anon/cfc/analyzers/cpachecker/config/components/invariantGeneration-no-out.properties
===============================================================================================================================
AutomatonAnalysis (SVCOMP) statistics
-------------------------------------
Number of states: 1
Total time for successor computation: 0.773s
Time for transition matches: 0.376s
Time for transition assertions: 0.000s
Time for transition actions: 0.001s
Automaton transfers with branching: 0
Automaton transfer successors: 183426 (count: 183745, min: 0, max: 1, avg: 1.00) [0 x 319, 1 x 183426]
CPA algorithm statistics
------------------------
Number of iterations: 169358
Max size of waitlist: 754
Average size of waitlist: 369
Number of computed successors: 183426
Max successors for one state: 2
Number of times merged: 21866
Number of times stopped: 23718
Number of times breaked: 0
Total time for CPA algorithm: 476.384s (Max: 476.384s)
Time for choose from waitlist: 0.292s
Time for precision adjustment: 2.649s
Time for transfer relation: 284.237s
Time for merge operator: 142.517s
Time for stop operator: 32.147s
Time for adding to reached set: 12.851s
Other statistics
================
Code Coverage
-----------------------------
Function coverage: 0.009
Visited lines: 0
Total lines: 1454
Line coverage: 0.000
Visited conditions: 0
Total conditions: 552
Condition coverage: 0.000
CPAchecker general statistics
-----------------------------
Number of program locations: 2180
Number of CFA edges: 2630
Number of relevant variables: 466
Number of functions: 117
Number of loops: 15
Size of reached set: 1
Number of reached locations: 1 (0%)
Avg states per location: 1
Max states per location: 1 (at node N173)
Number of reached functions: 1 (1%)
Number of partitions: 1
Avg size of partitions: 1
Max size of partitions: 1
Number of target states: 0
Size of final wait list 1
Time for analysis setup: 4.987s
Time for loading CPAs: 1.242s
Time for loading parser: 0.691s
Time for CFA construction: 2.873s
Time for parsing file(s): 0.714s
Time for AST to CFA: 1.026s
Time for CFA sanity check: 0.243s
Time for post-processing: 0.756s
Time for var class.: 0.529s
Time for CFA export: 1.479s
Time for Analysis: 480.202s
CPU time for analysis: 956.420s
Total time for CPAchecker: 485.206s
Total CPU time for CPAchecker: 965.290s
Time for statistics: 0.080s
Time for Garbage Collector: 337.536s (in 141 runs)
Garbage Collector(s) used: PS MarkSweep, PS Scavenge
Used heap memory: 1239MB ( 1182 MiB) max; 503MB ( 479 MiB) avg; 1278MB ( 1219 MiB) peak
Used non-heap memory: 52MB ( 50 MiB) max; 49MB ( 46 MiB) avg; 53MB ( 50 MiB) peak
Used in PS Old Gen pool: 838MB ( 799 MiB) max; 320MB ( 305 MiB) avg; 838MB ( 799 MiB) peak
Allocated heap memory: 1249MB ( 1191 MiB) max; 1033MB ( 985 MiB) avg
Allocated non-heap memory: 55MB ( 52 MiB) max; 52MB ( 50 MiB) avg
Total process virtual memory: 6653MB ( 6345 MiB) max; 6538MB ( 6236 MiB) avg
analysis.programNames = /lustre/work/anon/anon/cfc/benchmarks/sv_subset_falsified_by_cpa_or_ua_transform/scripts/analysis_logs/email_spec3_product34_false-unreach-call_true-termination.cil/email_spec3_product34_false-unreach-call_true-termination.cil.over.instr.c
analysis.summaryEdges = true
analysis.useParallelAnalyses = true
cfa.allowBranchSwapping = false
cfa.simplifyCfa = false
limits.time.cpu = 900
log.level = INFO
output.path = /lustre/work/anon/anon/cfc/benchmarks/sv_subset_falsified_by_cpa_or_ua_transform/scripts/analysis_logs/email_spec3_product34_false-unreach-call_true-termination.cil/cpa_output
overflow.config = sv-comp16--k-induction-overflow.properties
parallelAlgorithm.configFiles = components/kInduction/svcomp16-kInduction.properties, components/invariantGeneration-no-out.properties::supply-reached-refinable
specification = /work/anon/anon/cfc/analyzers/cpachecker/config/specification/sv-comp-reachability.spc