int PoCallDriver(int PoCallDriver_DeviceObject , int PoCallDriver_Irp ) { int PoCallDriver_compRetStatus ; int PoCallDriver_returnVal ; int PoCallDriver_lcontext ; int PoCallDriver_CIL___Tmp7 ; int PoCallDriver_CIL___Tmp8 ; int PoCallDriver_tmp_ndt_11 ; int PoCallDriver_tmp_ndt_12 ; { if ((compRegistered > 0) || (compRegistered < 0)) { if ((routine >= 0) && (routine <= 0)) { PoCallDriver_compRetStatus = DiskPerfIrpCompletion(PoCallDriver_DeviceObject, PoCallDriver_Irp, PoCallDriver_lcontext); } else { if ((routine >= 1) && (routine <= 1)) { PoCallDriver_compRetStatus = DiskPerfIoCompletion(PoCallDriver_DeviceObject, PoCallDriver_Irp, PoCallDriver_lcontext); } } PoCallDriver_CIL___Tmp7 = PoCallDriver_compRetStatus; if ((PoCallDriver_CIL___Tmp7 >= -1073741802) && (PoCallDriver_CIL___Tmp7 <= -1073741802)) { stubMoreProcessingRequired(); } } PoCallDriver_tmp_ndt_11 = __VERIFIER_nondet_int(); if ((PoCallDriver_tmp_ndt_11 >= 0) && (PoCallDriver_tmp_ndt_11 <= 0)) { PoCallDriver_returnVal = 0; } else { PoCallDriver_tmp_ndt_12 = __VERIFIER_nondet_int(); if ((PoCallDriver_tmp_ndt_12 >= 1) && (PoCallDriver_tmp_ndt_12 <= 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 = PoCallDriver_returnVal; if ((PoCallDriver_CIL___Tmp8 >= 259) && (PoCallDriver_CIL___Tmp8 <= 259)) { 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 ; int IofCallDriver_CIL___Tmp7 ; int IofCallDriver_tmp_ndt_8 ; int IofCallDriver_tmp_ndt_9 ; { if ((compRegistered > 0) || (compRegistered < 0)) { if ((routine >= 0) && (routine <= 0)) { IofCallDriver_compRetStatus = DiskPerfIrpCompletion(IofCallDriver_DeviceObject, IofCallDriver_Irp, IofCallDriver_lcontext); } else { IofCallDriver_compRetStatus = DiskPerfIoCompletion(IofCallDriver_DeviceObject, IofCallDriver_Irp, IofCallDriver_lcontext); } IofCallDriver_CIL___Tmp7 = IofCallDriver_compRetStatus; if ((IofCallDriver_CIL___Tmp7 >= -1073741802) && (IofCallDriver_CIL___Tmp7 <= -1073741802)) { stubMoreProcessingRequired(); } } IofCallDriver_tmp_ndt_8 = __VERIFIER_nondet_int(); if ((IofCallDriver_tmp_ndt_8 >= 0) && (IofCallDriver_tmp_ndt_8 <= 0)) { IofCallDriver_returnVal2 = 0; } else { IofCallDriver_tmp_ndt_9 = __VERIFIER_nondet_int(); if ((IofCallDriver_tmp_ndt_9 >= 1) && (IofCallDriver_tmp_ndt_9 <= 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 995 if (compRegistered) { #line 996 if (routine == 0) { { #line 998 compRetStatus = DiskPerfIrpCompletion(DeviceObject, Irp, lcontext); } } else { #line 1001 if (routine == 1) { { #line 1003 compRetStatus = DiskPerfIoCompletion(DeviceObject, Irp, lcontext); } } } { #line 1009 __cil_tmp7 = (unsigned long )compRetStatus; #line 1009 if (__cil_tmp7 == -1073741802) { { #line 1011 stubMoreProcessingRequired(); } } } } #line 1019 int tmp_ndt_11; tmp_ndt_11 = __VERIFIER_nondet_int(); if (tmp_ndt_11 == 0) { goto switch_6_0; } else { #line 1022 int tmp_ndt_12; tmp_ndt_12 = __VERIFIER_nondet_int(); if (tmp_ndt_12 == 1) { goto switch_6_1; } else { goto switch_6_default; #line 1027 if (0) { switch_6_0: #line 1029 returnVal = 0; goto switch_6_break; switch_6_1: #line 1032 returnVal = -1073741823; goto switch_6_break; switch_6_default: #line 1035 returnVal = 259; goto switch_6_break; } else { switch_6_break: ; } } } #line 1043 if (s == NP) { #line 1044 s = IPC; #line 1045 lowerDriverReturn = returnVal; } else { #line 1047 if (s == MPR1) { { #line 1048 __cil_tmp8 = (long )returnVal; #line 1048 if (__cil_tmp8 == 259L) { #line 1049 s = MPR3; #line 1050 lowerDriverReturn = returnVal; } else { #line 1052 s = NP; #line 1053 lowerDriverReturn = returnVal; } } } else { #line 1056 if (s == SKIP1) { #line 1057 s = SKIP2; #line 1058 lowerDriverReturn = returnVal; } else { { #line 1061 errorFn(); } } } } #line 1066 return (returnVal); } }
int IofCallDriver(int DeviceObject , int Irp ) { int returnVal2 ; int compRetStatus ; int lcontext = __VERIFIER_nondet_int() ; unsigned long __cil_tmp7 ; { if (compRegistered) { if (routine == 0) { { compRetStatus = DiskPerfIrpCompletion(DeviceObject, Irp, lcontext); } } else { { compRetStatus = DiskPerfIoCompletion(DeviceObject, Irp, lcontext); } } { __cil_tmp7 = (unsigned long )compRetStatus; if (__cil_tmp7 == -1073741802) { { stubMoreProcessingRequired(); } } } } int tmp_ndt_8; tmp_ndt_8 = __VERIFIER_nondet_int(); if (tmp_ndt_8 == 0) { goto switch_4_0; } else { int tmp_ndt_9; tmp_ndt_9 = __VERIFIER_nondet_int(); if (tmp_ndt_9 == 1) { goto switch_4_1; } else { goto switch_4_default; if (0) { switch_4_0: returnVal2 = 0; goto switch_4_break; switch_4_1: returnVal2 = -1073741823; goto switch_4_break; switch_4_default: returnVal2 = 259; goto switch_4_break; } else { switch_4_break: ; } } } if (s == NP) { s = IPC; lowerDriverReturn = returnVal2; } else { if (s == MPR1) { if (returnVal2 == 259) { s = MPR3; lowerDriverReturn = returnVal2; } else { s = NP; lowerDriverReturn = returnVal2; } } else { if (s == SKIP1) { s = SKIP2; lowerDriverReturn = returnVal2; } else { { errorFn(); } } } } return (returnVal2); } }
int IofCallDriver(int DeviceObject , int Irp ) { int returnVal2 ; int compRetStatus ; int lcontext = __VERIFIER_nondet_int() ; unsigned long __cil_tmp7 ; { #line 852 if (compRegistered) { #line 853 if (routine == 0) { { #line 855 compRetStatus = DiskPerfIrpCompletion(DeviceObject, Irp, lcontext); } } else { { #line 859 compRetStatus = DiskPerfIoCompletion(DeviceObject, Irp, lcontext); } } { #line 862 __cil_tmp7 = (unsigned long )compRetStatus; #line 862 if (__cil_tmp7 == -1073741802) { { #line 864 stubMoreProcessingRequired(); } } } } #line 872 int tmp_ndt_8; tmp_ndt_8 = __VERIFIER_nondet_int(); if (tmp_ndt_8 == 0) { goto switch_4_0; } else { #line 875 int tmp_ndt_9; tmp_ndt_9 = __VERIFIER_nondet_int(); if (tmp_ndt_9 == 1) { goto switch_4_1; } else { goto switch_4_default; #line 880 if (0) { switch_4_0: #line 882 returnVal2 = 0; goto switch_4_break; switch_4_1: #line 885 returnVal2 = -1073741823; goto switch_4_break; switch_4_default: #line 888 returnVal2 = 259; goto switch_4_break; } else { switch_4_break: ; } } } #line 896 if (s == NP) { #line 897 s = IPC; #line 898 lowerDriverReturn = returnVal2; } else { #line 900 if (s == MPR1) { #line 901 if (returnVal2 == 259) { #line 902 s = MPR3; #line 903 lowerDriverReturn = returnVal2; } else { #line 905 s = NP; #line 906 lowerDriverReturn = returnVal2; } } else { #line 909 if (s == SKIP1) { #line 910 s = SKIP2; #line 911 lowerDriverReturn = returnVal2; } else { { #line 914 errorFn(); } } } } #line 919 return (returnVal2); } }