int PoCallDriver(int PoCallDriver_DeviceObject , int PoCallDriver_Irp ) { int PoCallDriver_compRetStatus ; int PoCallDriver_returnVal ; int PoCallDriver_lcontext ; long PoCallDriver_CIL___Tmp7 ; long PoCallDriver_CIL___Tmp8 ; int PoCallDriver_tmp_ndt_9 ; int PoCallDriver_tmp_ndt_10 ; { if ((compRegistered > 0) || (compRegistered < 0)) { PoCallDriver_compRetStatus = KbFilter_Complete(PoCallDriver_DeviceObject, PoCallDriver_Irp, PoCallDriver_lcontext); PoCallDriver_CIL___Tmp7 = (long )PoCallDriver_compRetStatus; if ((PoCallDriver_CIL___Tmp7 >= -1073741802L) && (PoCallDriver_CIL___Tmp7 <= -1073741802L)) { stubMoreProcessingRequired(); } } PoCallDriver_tmp_ndt_9 = __VERIFIER_nondet_int(); if ((PoCallDriver_tmp_ndt_9 >= 0) && (PoCallDriver_tmp_ndt_9 <= 0)) { PoCallDriver_returnVal = 0; } else { PoCallDriver_tmp_ndt_10 = __VERIFIER_nondet_int(); if ((PoCallDriver_tmp_ndt_10 >= 1) && (PoCallDriver_tmp_ndt_10 <= 1)) { PoCallDriver_returnVal = -1073741823; } else { PoCallDriver_returnVal = 259; } } if ((s >= NP) && (s <= NP)) { s = IPC; lowerDriverReturn = PoCallDriver_returnVal; } else { if ((s >= MPR1) && (s <= MPR1)) { PoCallDriver_CIL___Tmp8 = (long )PoCallDriver_returnVal; if ((PoCallDriver_CIL___Tmp8 >= 259L) && (PoCallDriver_CIL___Tmp8 <= 259L)) { s = MPR3; lowerDriverReturn = PoCallDriver_returnVal; } else { s = NP; lowerDriverReturn = PoCallDriver_returnVal; } } else { safety = safety + (s - SKIP1); s = SKIP2; lowerDriverReturn = PoCallDriver_returnVal; } } return (PoCallDriver_returnVal); } }
int IofCallDriver(int IofCallDriver_DeviceObject , int IofCallDriver_Irp ) { int IofCallDriver_returnVal2 ; int IofCallDriver_compRetStatus ; int IofCallDriver_lcontext ; long long IofCallDriver_CIL___Tmp7 ; int IofCallDriver_tmp_ndt_6 ; int IofCallDriver_tmp_ndt_7 ; { if ((compRegistered > 0) || (compRegistered < 0)) { IofCallDriver_compRetStatus = KbFilter_Complete(IofCallDriver_DeviceObject, IofCallDriver_Irp, IofCallDriver_lcontext); IofCallDriver_CIL___Tmp7 = (long long )IofCallDriver_compRetStatus; if ((IofCallDriver_CIL___Tmp7 >= -1073741802LL) && (IofCallDriver_CIL___Tmp7 <= -1073741802LL)) { stubMoreProcessingRequired(); } } IofCallDriver_tmp_ndt_6 = __VERIFIER_nondet_int(); if ((IofCallDriver_tmp_ndt_6 >= 0) && (IofCallDriver_tmp_ndt_6 <= 0)) { IofCallDriver_returnVal2 = 0; } else { IofCallDriver_tmp_ndt_7 = __VERIFIER_nondet_int(); if ((IofCallDriver_tmp_ndt_7 >= 1) && (IofCallDriver_tmp_ndt_7 <= 1)) { IofCallDriver_returnVal2 = -1073741823; } else { IofCallDriver_returnVal2 = 259; } } if ((s >= NP) && (s <= NP)) { s = IPC; lowerDriverReturn = IofCallDriver_returnVal2; } else { if ((s >= MPR1) && (s <= MPR1)) { if ((IofCallDriver_returnVal2 >= 259) && (IofCallDriver_returnVal2 <= 259)) { s = MPR3; lowerDriverReturn = IofCallDriver_returnVal2; } else { s = NP; lowerDriverReturn = IofCallDriver_returnVal2; } } else { safety = safety + (s - SKIP1); s = SKIP2; lowerDriverReturn = IofCallDriver_returnVal2; } } return (IofCallDriver_returnVal2); } }
int PoCallDriver(int DeviceObject , int Irp ) { int compRetStatus ; int returnVal ; int lcontext = __VERIFIER_nondet_int() ; unsigned long __cil_tmp7 ; long __cil_tmp8 ; { #line 774 if (compRegistered) { { #line 776 compRetStatus = KbFilter_Complete(DeviceObject, Irp, lcontext); } { #line 778 __cil_tmp7 = (unsigned long )compRetStatus; #line 778 if (__cil_tmp7 == -1073741802) { { #line 780 stubMoreProcessingRequired(); } } } } #line 788 int tmp_ndt_9; tmp_ndt_9 = __VERIFIER_nondet_int(); if (tmp_ndt_9 == 0) { goto switch_6_0; } else { #line 791 int tmp_ndt_10; tmp_ndt_10 = __VERIFIER_nondet_int(); if (tmp_ndt_10 == 1) { goto switch_6_1; } else { goto switch_6_default; #line 796 if (0) { switch_6_0: #line 798 returnVal = 0; goto switch_6_break; switch_6_1: #line 801 returnVal = -1073741823; goto switch_6_break; switch_6_default: #line 804 returnVal = 259; goto switch_6_break; } else { switch_6_break: ; } } } #line 812 if (s == NP) { #line 813 s = IPC; #line 814 lowerDriverReturn = returnVal; } else { #line 816 if (s == MPR1) { { #line 817 __cil_tmp8 = (long )returnVal; #line 817 if (__cil_tmp8 == 259L) { #line 818 s = MPR3; #line 819 lowerDriverReturn = returnVal; } else { #line 821 s = NP; #line 822 lowerDriverReturn = returnVal; } } } else { #line 825 if (s == SKIP1) { #line 826 s = SKIP2; #line 827 lowerDriverReturn = returnVal; } else { { #line 830 errorFn(); } } } } #line 835 return (returnVal); } }
int IofCallDriver(int DeviceObject , int Irp ) { //int __VERIFIER_nondet_int() ; int returnVal2 ; int compRetStatus ; int lcontext ; long long __cil_tmp7 ; ; { #line 462 if (compRegistered) { compRetStatus = KbFilter_Complete(DeviceObject, Irp, lcontext); stubMoreProcessingRequired(); } #line 476 int tmp_ndt_2; tmp_ndt_2 = __VERIFIER_nondet_int(); if (tmp_ndt_2 == 0) { goto switch_2_0; } else { #line 479 int tmp_ndt_3; tmp_ndt_3 = __VERIFIER_nondet_int(); if (tmp_ndt_3 == 1) { goto switch_2_1; } else { goto switch_2_default; #line 484 if (0) { switch_2_0: #line 486 returnVal2 = 0; goto switch_2_break; switch_2_1: #line 489 returnVal2 = -1073741823; goto switch_2_break; switch_2_default: #line 492 returnVal2 = 259; goto switch_2_break; } else { switch_2_break: ; } } } #line 500 if (s == NP) { #line 501 s = IPC; #line 502 lowerDriverReturn = returnVal2; } else { #line 504 if (s == MPR1) { #line 505 if (returnVal2 == 259) { #line 506 s = MPR3; #line 507 lowerDriverReturn = returnVal2; } else { #line 509 s = NP; #line 510 lowerDriverReturn = returnVal2; } } else { #line 513 if (s == SKIP1) { #line 514 s = SKIP2; #line 515 lowerDriverReturn = returnVal2; } else { { #line 518 errorFn(); } } } } #line 523 return (returnVal2); } }
int IofCallDriver(int DeviceObject , int Irp ) { int returnVal2 ; int compRetStatus ; int lcontext = __VERIFIER_nondet_int() ; long long __cil_tmp7 ; { #line 504 if (compRegistered) { { #line 506 compRetStatus = KbFilter_Complete(DeviceObject, Irp, lcontext); } { #line 508 __cil_tmp7 = (long long )compRetStatus; #line 508 if (__cil_tmp7 == -1073741802) { { #line 510 stubMoreProcessingRequired(); } } } } #line 518 int tmp_ndt_6; tmp_ndt_6 = __VERIFIER_nondet_int(); if (tmp_ndt_6 == 0) { goto switch_2_0; } else { #line 521 int tmp_ndt_7; tmp_ndt_7 = __VERIFIER_nondet_int(); if (tmp_ndt_7 == 1) { goto switch_2_1; } else { goto switch_2_default; #line 526 if (0) { switch_2_0: #line 528 returnVal2 = 0; goto switch_2_break; switch_2_1: #line 531 returnVal2 = -1073741823; goto switch_2_break; switch_2_default: #line 534 returnVal2 = 259; goto switch_2_break; } else { switch_2_break: ; } } } #line 542 if (s == NP) { #line 543 s = IPC; #line 544 lowerDriverReturn = returnVal2; } else { #line 546 if (s == MPR1) { #line 547 if (returnVal2 == 259) { #line 548 s = MPR3; #line 549 lowerDriverReturn = returnVal2; } else { #line 551 s = NP; #line 552 lowerDriverReturn = returnVal2; } } else { #line 555 if (s == SKIP1) { #line 556 s = SKIP2; #line 557 lowerDriverReturn = returnVal2; } else { { #line 560 errorFn(); } } } } #line 565 return (returnVal2); } }