llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpf0xat8fi.c' source_filename = "/tmp/tmpf0xat8fi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @DBL_EPSILON = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @projectD(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, double noundef %4, i32 noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca double, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca double, align 8 store ptr %0, ptr %8, align 8 store ptr %1, ptr %9, align 8 store ptr %2, ptr %10, align 8 store ptr %3, ptr %11, align 8 store double %4, ptr %12, align 8 store i32 %5, ptr %13, align 4 store double 0.000000e+00, ptr %21, align 8 store double 0.000000e+00, ptr %22, align 8 %23 = load double, ptr %12, align 8 %24 = load double, ptr @DBL_EPSILON, align 8 %25 = fcmp olt double %23, %24 br i1 %25, label %26, label %40 26: ; preds = %6 store i32 0, ptr %14, align 4 br label %27 27: ; preds = %36, %26 %28 = load i32, ptr %14, align 4 %29 = load i32, ptr %13, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %31, label %39 31: ; preds = %27 %32 = load ptr, ptr %8, align 8 %33 = load i32, ptr %14, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds double, ptr %32, i64 %34 store double 0.000000e+00, ptr %35, align 8 br label %36 36: ; preds = %31 %37 = load i32, ptr %14, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %14, align 4 br label %27, !llvm.loop !6 39: ; preds = %27 store i32 0, ptr %7, align 4 br label %167 40: ; preds = %6 store double 0.000000e+00, ptr %16, align 8 store i32 0, ptr %14, align 4 br label %41 41: ; preds = %67, %40 %42 = load i32, ptr %14, align 4 %43 = load i32, ptr %13, align 4 %44 = icmp slt i32 %42, %43 br i1 %44, label %45, label %70 45: ; preds = %41 %46 = load ptr, ptr %10, align 8 %47 = load i32, ptr %14, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds double, ptr %46, i64 %48 %50 = load double, ptr %49, align 8 store double %50, ptr %19, align 8 %51 = load ptr, ptr %8, align 8 %52 = load i32, ptr %14, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds double, ptr %51, i64 %53 %55 = load double, ptr %54, align 8 store double %55, ptr %18, align 8 %56 = load double, ptr %19, align 8 %57 = load double, ptr %18, align 8 %58 = load double, ptr %16, align 8 %59 = call double @llvm.fmuladd.f64(double %56, double %57, double %58) store double %59, ptr %16, align 8 %60 = load double, ptr %18, align 8 %61 = load double, ptr %19, align 8 %62 = fdiv double %60, %61 %63 = load ptr, ptr %8, align 8 %64 = load i32, ptr %14, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds double, ptr %63, i64 %65 store double %62, ptr %66, align 8 br label %67 67: ; preds = %45 %68 = load i32, ptr %14, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %14, align 4 br label %41, !llvm.loop !8 70: ; preds = %41 %71 = load double, ptr %16, align 8 %72 = load double, ptr %12, align 8 %73 = fcmp ole double %71, %72 br i1 %73, label %74, label %82 74: ; preds = %70 %75 = load ptr, ptr %8, align 8 %76 = load ptr, ptr %9, align 8 %77 = load i32, ptr %13, align 4 %78 = sext i32 %77 to i64 %79 = mul i64 %78, 8 %80 = trunc i64 %79 to i32 %81 = call i32 @memcpy(ptr noundef %75, ptr noundef %76, i32 noundef %80) store i32 0, ptr %7, align 4 br label %167 82: ; preds = %70 %83 = load i32, ptr %13, align 4 %84 = load ptr, ptr %8, align 8 %85 = load ptr, ptr %10, align 8 %86 = call i32 @heap_build_2(i32 noundef %83, ptr noundef %84, ptr noundef %85) %87 = load double, ptr %12, align 8 %88 = fneg double %87 store double %88, ptr %16, align 8 store double 0.000000e+00, ptr %17, align 8 %89 = load i32, ptr %13, align 4 store i32 %89, ptr %14, align 4 store i32 0, ptr %15, align 4 br label %90 90: ; preds = %125, %82 %91 = load i32, ptr %15, align 4 %92 = load i32, ptr %13, align 4 %93 = icmp slt i32 %91, %92 br i1 %93, label %94, label %127 94: ; preds = %90 %95 = load ptr, ptr %8, align 8 %96 = getelementptr inbounds double, ptr %95, i64 0 %97 = load double, ptr %96, align 8 store double %97, ptr %20, align 8 %98 = load i32, ptr %15, align 4 %99 = add nsw i32 %98, 1 store i32 %99, ptr %15, align 4 %100 = load ptr, ptr %10, align 8 %101 = getelementptr inbounds double, ptr %100, i64 0 %102 = load double, ptr %101, align 8 store double %102, ptr %19, align 8 %103 = load double, ptr %19, align 8 %104 = load double, ptr %19, align 8 %105 = fmul double %104, %103 store double %105, ptr %19, align 8 %106 = load double, ptr %19, align 8 %107 = load double, ptr %17, align 8 %108 = fadd double %107, %106 store double %108, ptr %17, align 8 %109 = load double, ptr %20, align 8 %110 = load double, ptr %19, align 8 %111 = load double, ptr %16, align 8 %112 = call double @llvm.fmuladd.f64(double %109, double %110, double %111) store double %112, ptr %16, align 8 %113 = load i32, ptr %14, align 4 %114 = load ptr, ptr %8, align 8 %115 = load ptr, ptr %10, align 8 %116 = call i32 @heap_del_max_2(i32 noundef %113, ptr noundef %114, ptr noundef %115) store i32 %116, ptr %14, align 4 %117 = load double, ptr %16, align 8 %118 = load double, ptr %17, align 8 %119 = fdiv double %117, %118 store double %119, ptr %21, align 8 %120 = load double, ptr %21, align 8 %121 = load double, ptr %20, align 8 %122 = fcmp oge double %120, %121 br i1 %122, label %123, label %124 123: ; preds = %94 br label %127 124: ; preds = %94 br label %125 125: ; preds = %124 %126 = load double, ptr %21, align 8 store double %126, ptr %22, align 8 br label %90, !llvm.loop !9 127: ; preds = %123, %90 store i32 0, ptr %14, align 4 br label %128 128: ; preds = %162, %127 %129 = load i32, ptr %14, align 4 %130 = load i32, ptr %13, align 4 %131 = icmp slt i32 %129, %130 br i1 %131, label %132, label %165 132: ; preds = %128 %133 = load ptr, ptr %9, align 8 %134 = load i32, ptr %14, align 4 %135 = sext i32 %134 to i64 %136 = getelementptr inbounds double, ptr %133, i64 %135 %137 = load double, ptr %136, align 8 store double %137, ptr %18, align 8 %138 = load ptr, ptr %11, align 8 %139 = load i32, ptr %14, align 4 %140 = sext i32 %139 to i64 %141 = getelementptr inbounds double, ptr %138, i64 %140 %142 = load double, ptr %141, align 8 %143 = load double, ptr %22, align 8 %144 = fmul double %142, %143 store double %144, ptr %21, align 8 %145 = load double, ptr %18, align 8 %146 = load double, ptr %21, align 8 %147 = fcmp ole double %145, %146 br i1 %147, label %148, label %153 148: ; preds = %132 %149 = load ptr, ptr %8, align 8 %150 = load i32, ptr %14, align 4 %151 = sext i32 %150 to i64 %152 = getelementptr inbounds double, ptr %149, i64 %151 store double 0.000000e+00, ptr %152, align 8 br label %161 153: ; preds = %132 %154 = load double, ptr %18, align 8 %155 = load double, ptr %21, align 8 %156 = fsub double %154, %155 %157 = load ptr, ptr %8, align 8 %158 = load i32, ptr %14, align 4 %159 = sext i32 %158 to i64 %160 = getelementptr inbounds double, ptr %157, i64 %159 store double %156, ptr %160, align 8 br label %161 161: ; preds = %153, %148 br label %162 162: ; preds = %161 %163 = load i32, ptr %14, align 4 %164 = add nsw i32 %163, 1 store i32 %164, ptr %14, align 4 br label %128, !llvm.loop !10 165: ; preds = %128 %166 = load i32, ptr %15, align 4 store i32 %166, ptr %7, align 4 br label %167 167: ; preds = %165, %74, %39 %168 = load i32, ptr %7, align 4 ret i32 %168 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @heap_build_2(i32 noundef, ptr noundef, ptr noundef) #2 declare i32 @heap_del_max_2(i32 noundef, ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpf0xat8fi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @DBL_EPSILON = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @projectD(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, double noundef %4, i32 noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca double, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca double, align 8 store ptr %0, ptr %8, align 8 store ptr %1, ptr %9, align 8 store ptr %2, ptr %10, align 8 store ptr %3, ptr %11, align 8 store double %4, ptr %12, align 8 store i32 %5, ptr %13, align 4 store double 0.000000e+00, ptr %21, align 8 store double 0.000000e+00, ptr %22, align 8 %23 = load double, ptr %12, align 8 %24 = load double, ptr @DBL_EPSILON, align 8 %25 = fcmp olt double %23, %24 br i1 %25, label %26, label %42 26: ; preds = %6 store i32 0, ptr %14, align 4 %27 = load i32, ptr %14, align 4 %28 = load i32, ptr %13, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %.lr.ph7, label %41 .lr.ph7: ; preds = %26 br label %30 30: ; preds = %.lr.ph7, %35 %31 = load ptr, ptr %8, align 8 %32 = load i32, ptr %14, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds double, ptr %31, i64 %33 store double 0.000000e+00, ptr %34, align 8 br label %35 35: ; preds = %30 %36 = load i32, ptr %14, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %14, align 4 %38 = load i32, ptr %14, align 4 %39 = load i32, ptr %13, align 4 %40 = icmp slt i32 %38, %39 br i1 %40, label %30, label %._crit_edge8, !llvm.loop !6 ._crit_edge8: ; preds = %35 br label %41 41: ; preds = %._crit_edge8, %26 store i32 0, ptr %7, align 4 br label %175 42: ; preds = %6 store double 0.000000e+00, ptr %16, align 8 store i32 0, ptr %14, align 4 %43 = load i32, ptr %14, align 4 %44 = load i32, ptr %13, align 4 %45 = icmp slt i32 %43, %44 br i1 %45, label %.lr.ph, label %74 .lr.ph: ; preds = %42 br label %46 46: ; preds = %.lr.ph, %68 %47 = load ptr, ptr %10, align 8 %48 = load i32, ptr %14, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds double, ptr %47, i64 %49 %51 = load double, ptr %50, align 8 store double %51, ptr %19, align 8 %52 = load ptr, ptr %8, align 8 %53 = load i32, ptr %14, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds double, ptr %52, i64 %54 %56 = load double, ptr %55, align 8 store double %56, ptr %18, align 8 %57 = load double, ptr %19, align 8 %58 = load double, ptr %18, align 8 %59 = load double, ptr %16, align 8 %60 = call double @llvm.fmuladd.f64(double %57, double %58, double %59) store double %60, ptr %16, align 8 %61 = load double, ptr %18, align 8 %62 = load double, ptr %19, align 8 %63 = fdiv double %61, %62 %64 = load ptr, ptr %8, align 8 %65 = load i32, ptr %14, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds double, ptr %64, i64 %66 store double %63, ptr %67, align 8 br label %68 68: ; preds = %46 %69 = load i32, ptr %14, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %14, align 4 %71 = load i32, ptr %14, align 4 %72 = load i32, ptr %13, align 4 %73 = icmp slt i32 %71, %72 br i1 %73, label %46, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %68 br label %74 74: ; preds = %._crit_edge, %42 %75 = load double, ptr %16, align 8 %76 = load double, ptr %12, align 8 %77 = fcmp ole double %75, %76 br i1 %77, label %78, label %86 78: ; preds = %74 %79 = load ptr, ptr %8, align 8 %80 = load ptr, ptr %9, align 8 %81 = load i32, ptr %13, align 4 %82 = sext i32 %81 to i64 %83 = mul i64 %82, 8 %84 = trunc i64 %83 to i32 %85 = call i32 @memcpy(ptr noundef %79, ptr noundef %80, i32 noundef %84) store i32 0, ptr %7, align 4 br label %175 86: ; preds = %74 %87 = load i32, ptr %13, align 4 %88 = load ptr, ptr %8, align 8 %89 = load ptr, ptr %10, align 8 %90 = call i32 @heap_build_2(i32 noundef %87, ptr noundef %88, ptr noundef %89) %91 = load double, ptr %12, align 8 %92 = fneg double %91 store double %92, ptr %16, align 8 store double 0.000000e+00, ptr %17, align 8 %93 = load i32, ptr %13, align 4 store i32 %93, ptr %14, align 4 store i32 0, ptr %15, align 4 %94 = load i32, ptr %15, align 4 %95 = load i32, ptr %13, align 4 %96 = icmp slt i32 %94, %95 br i1 %96, label %.lr.ph2, label %.loopexit .lr.ph2: ; preds = %86 br label %97 97: ; preds = %.lr.ph2, %128 %98 = load ptr, ptr %8, align 8 %99 = getelementptr inbounds double, ptr %98, i64 0 %100 = load double, ptr %99, align 8 store double %100, ptr %20, align 8 %101 = load i32, ptr %15, align 4 %102 = add nsw i32 %101, 1 store i32 %102, ptr %15, align 4 %103 = load ptr, ptr %10, align 8 %104 = getelementptr inbounds double, ptr %103, i64 0 %105 = load double, ptr %104, align 8 store double %105, ptr %19, align 8 %106 = load double, ptr %19, align 8 %107 = load double, ptr %19, align 8 %108 = fmul double %107, %106 store double %108, ptr %19, align 8 %109 = load double, ptr %19, align 8 %110 = load double, ptr %17, align 8 %111 = fadd double %110, %109 store double %111, ptr %17, align 8 %112 = load double, ptr %20, align 8 %113 = load double, ptr %19, align 8 %114 = load double, ptr %16, align 8 %115 = call double @llvm.fmuladd.f64(double %112, double %113, double %114) store double %115, ptr %16, align 8 %116 = load i32, ptr %14, align 4 %117 = load ptr, ptr %8, align 8 %118 = load ptr, ptr %10, align 8 %119 = call i32 @heap_del_max_2(i32 noundef %116, ptr noundef %117, ptr noundef %118) store i32 %119, ptr %14, align 4 %120 = load double, ptr %16, align 8 %121 = load double, ptr %17, align 8 %122 = fdiv double %120, %121 store double %122, ptr %21, align 8 %123 = load double, ptr %21, align 8 %124 = load double, ptr %20, align 8 %125 = fcmp oge double %123, %124 br i1 %125, label %126, label %127 126: ; preds = %97 br label %133 127: ; preds = %97 br label %128 128: ; preds = %127 %129 = load double, ptr %21, align 8 store double %129, ptr %22, align 8 %130 = load i32, ptr %15, align 4 %131 = load i32, ptr %13, align 4 %132 = icmp slt i32 %130, %131 br i1 %132, label %97, label %..loopexit_crit_edge, !llvm.loop !9 ..loopexit_crit_edge: ; preds = %128 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %86 br label %133 133: ; preds = %.loopexit, %126 store i32 0, ptr %14, align 4 %134 = load i32, ptr %14, align 4 %135 = load i32, ptr %13, align 4 %136 = icmp slt i32 %134, %135 br i1 %136, label %.lr.ph4, label %173 .lr.ph4: ; preds = %133 br label %137 137: ; preds = %.lr.ph4, %167 %138 = load ptr, ptr %9, align 8 %139 = load i32, ptr %14, align 4 %140 = sext i32 %139 to i64 %141 = getelementptr inbounds double, ptr %138, i64 %140 %142 = load double, ptr %141, align 8 store double %142, ptr %18, align 8 %143 = load ptr, ptr %11, align 8 %144 = load i32, ptr %14, align 4 %145 = sext i32 %144 to i64 %146 = getelementptr inbounds double, ptr %143, i64 %145 %147 = load double, ptr %146, align 8 %148 = load double, ptr %22, align 8 %149 = fmul double %147, %148 store double %149, ptr %21, align 8 %150 = load double, ptr %18, align 8 %151 = load double, ptr %21, align 8 %152 = fcmp ole double %150, %151 br i1 %152, label %153, label %158 153: ; preds = %137 %154 = load ptr, ptr %8, align 8 %155 = load i32, ptr %14, align 4 %156 = sext i32 %155 to i64 %157 = getelementptr inbounds double, ptr %154, i64 %156 store double 0.000000e+00, ptr %157, align 8 br label %166 158: ; preds = %137 %159 = load double, ptr %18, align 8 %160 = load double, ptr %21, align 8 %161 = fsub double %159, %160 %162 = load ptr, ptr %8, align 8 %163 = load i32, ptr %14, align 4 %164 = sext i32 %163 to i64 %165 = getelementptr inbounds double, ptr %162, i64 %164 store double %161, ptr %165, align 8 br label %166 166: ; preds = %158, %153 br label %167 167: ; preds = %166 %168 = load i32, ptr %14, align 4 %169 = add nsw i32 %168, 1 store i32 %169, ptr %14, align 4 %170 = load i32, ptr %14, align 4 %171 = load i32, ptr %13, align 4 %172 = icmp slt i32 %170, %171 br i1 %172, label %137, label %._crit_edge5, !llvm.loop !10 ._crit_edge5: ; preds = %167 br label %173 173: ; preds = %._crit_edge5, %133 %174 = load i32, ptr %15, align 4 store i32 %174, ptr %7, align 4 br label %175 175: ; preds = %173, %78, %41 %176 = load i32, ptr %7, align 4 ret i32 %176 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @heap_build_2(i32 noundef, ptr noundef, ptr noundef) #2 declare i32 @heap_del_max_2(i32 noundef, ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmp8dwv1hz9.c' source_filename = "/tmp/tmp8dwv1hz9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get64_be(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load i32, ptr %3, align 4 %5 = call i32 @__be64_to_cpu(i32 noundef %4) ret i32 %5 } declare i32 @__be64_to_cpu(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8dwv1hz9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get64_be(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load i32, ptr %3, align 4 %5 = call i32 @__be64_to_cpu(i32 noundef %4) ret i32 %5 } declare i32 @__be64_to_cpu(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3frr6502.c' source_filename = "/tmp/tmp3frr6502.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Test2() #0 { %1 = call i32 (...) @Test3() ret void } declare i32 @Test3(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3frr6502.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Test2() #0 { %1 = call i32 (...) @Test3() ret void } declare i32 @Test3(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvtjwm65t.c' source_filename = "/tmp/tmpvtjwm65t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @memcpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %9 = load ptr, ptr %4, align 8 store ptr %9, ptr %7, align 8 %10 = load ptr, ptr %5, align 8 store ptr %10, ptr %8, align 8 %11 = load i64, ptr %6, align 8 %12 = add i64 %11, 1 store i64 %12, ptr %6, align 8 br label %13 13: ; preds = %17, %3 %14 = load i64, ptr %6, align 8 %15 = add i64 %14, -1 store i64 %15, ptr %6, align 8 %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %25 17: ; preds = %13 %18 = load ptr, ptr %8, align 8 %19 = load i8, ptr %18, align 1 %20 = load ptr, ptr %7, align 8 store i8 %19, ptr %20, align 1 %21 = load ptr, ptr %7, align 8 %22 = getelementptr inbounds i8, ptr %21, i32 1 store ptr %22, ptr %7, align 8 %23 = load ptr, ptr %8, align 8 %24 = getelementptr inbounds i8, ptr %23, i32 1 store ptr %24, ptr %8, align 8 br label %13, !llvm.loop !6 25: ; preds = %13 %26 = load ptr, ptr %4, align 8 ret ptr %26 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvtjwm65t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @memcpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %9 = load ptr, ptr %4, align 8 store ptr %9, ptr %7, align 8 %10 = load ptr, ptr %5, align 8 store ptr %10, ptr %8, align 8 %11 = load i64, ptr %6, align 8 %12 = add i64 %11, 1 store i64 %12, ptr %6, align 8 %13 = load i64, ptr %6, align 8 %14 = add i64 %13, -1 store i64 %14, ptr %6, align 8 %15 = icmp ne i64 %14, 0 br i1 %15, label %.lr.ph, label %27 .lr.ph: ; preds = %3 br label %16 16: ; preds = %.lr.ph, %16 %17 = load ptr, ptr %8, align 8 %18 = load i8, ptr %17, align 1 %19 = load ptr, ptr %7, align 8 store i8 %18, ptr %19, align 1 %20 = load ptr, ptr %7, align 8 %21 = getelementptr inbounds i8, ptr %20, i32 1 store ptr %21, ptr %7, align 8 %22 = load ptr, ptr %8, align 8 %23 = getelementptr inbounds i8, ptr %22, i32 1 store ptr %23, ptr %8, align 8 %24 = load i64, ptr %6, align 8 %25 = add i64 %24, -1 store i64 %25, ptr %6, align 8 %26 = icmp ne i64 %25, 0 br i1 %26, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %27 27: ; preds = %._crit_edge, %3 %28 = load ptr, ptr %4, align 8 ret ptr %28 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpe1j4io9a.c' source_filename = "/tmp/tmpe1j4io9a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @M_PI = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @vpradps_of_rpmpv(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = load double, ptr @M_PI, align 8 %5 = fmul double %3, %4 %6 = fdiv double 3.000000e+01, %5 ret double %6 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpe1j4io9a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @M_PI = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @vpradps_of_rpmpv(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = load double, ptr @M_PI, align 8 %5 = fmul double %3, %4 %6 = fdiv double 3.000000e+01, %5 ret double %6 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5mz7737b.c' source_filename = "/tmp/tmp5mz7737b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5mz7737b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpg700kqps.c' source_filename = "/tmp/tmpg700kqps.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @drawtextln(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load i64, ptr %5, align 8 %9 = load i64, ptr %6, align 8 %10 = call i32 @DrawTextln129(ptr noundef %7, i64 noundef %8, i64 noundef %9) ret void } declare i32 @DrawTextln129(ptr noundef, i64 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpg700kqps.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @drawtextln(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load i64, ptr %5, align 8 %9 = load i64, ptr %6, align 8 %10 = call i32 @DrawTextln129(ptr noundef %7, i64 noundef %8, i64 noundef %9) ret void } declare i32 @DrawTextln129(ptr noundef, i64 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9a27nbhx.c' source_filename = "/tmp/tmp9a27nbhx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = call i32 (...) @foo() ret void } declare i32 @foo(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9a27nbhx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = call i32 (...) @foo() ret void } declare i32 @foo(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvtme0iod.c' source_filename = "/tmp/tmpvtme0iod.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvtme0iod.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpw1x_tam2.c' source_filename = "/tmp/tmpw1x_tam2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %7 = load i32, ptr %2, align 4 %8 = sext i32 %7 to i64 %9 = mul i64 %8, 4 %10 = trunc i64 %9 to i32 %11 = call i64 @malloc(i32 noundef %10) %12 = inttoptr i64 %11 to ptr store ptr %12, ptr %3, align 8 store i32 0, ptr %4, align 4 br label %13 13: ; preds = %23, %0 %14 = load i32, ptr %4, align 4 %15 = load i32, ptr %2, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %17, label %26 17: ; preds = %13 %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %4, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i32, ptr %18, i64 %20 %22 = call i32 @scanf(ptr noundef @.str, ptr noundef %21) br label %23 23: ; preds = %17 %24 = load i32, ptr %4, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %4, align 4 br label %13, !llvm.loop !6 26: ; preds = %13 store i32 1, ptr %4, align 4 br label %27 27: ; preds = %65, %26 %28 = load i32, ptr %4, align 4 %29 = load i32, ptr %2, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %31, label %68 31: ; preds = %27 store i32 0, ptr %5, align 4 br label %32 32: ; preds = %61, %31 %33 = load i32, ptr %5, align 4 %34 = icmp sge i32 %33, 0 br i1 %34, label %35, label %64 35: ; preds = %32 %36 = load ptr, ptr %3, align 8 %37 = load i32, ptr %5, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i32, ptr %36, i64 %38 %40 = load i32, ptr %39, align 4 %41 = load ptr, ptr %3, align 8 %42 = load i32, ptr %4, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i32, ptr %41, i64 %43 %45 = load i32, ptr %44, align 4 %46 = icmp sgt i32 %40, %45 br i1 %46, label %47, label %59 47: ; preds = %35 %48 = load ptr, ptr %3, align 8 %49 = load i32, ptr %5, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i32, ptr %48, i64 %50 %52 = load ptr, ptr %3, align 8 %53 = load i32, ptr %4, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i32, ptr %52, i64 %54 %56 = call i32 @swap(ptr noundef %51, ptr noundef %55) %57 = load i32, ptr %4, align 4 %58 = add nsw i32 %57, -1 store i32 %58, ptr %4, align 4 br label %60 59: ; preds = %35 br label %61 60: ; preds = %47 br label %61 61: ; preds = %60, %59 %62 = load i32, ptr %5, align 4 %63 = add nsw i32 %62, -1 store i32 %63, ptr %5, align 4 br label %32, !llvm.loop !8 64: ; preds = %32 br label %65 65: ; preds = %64 %66 = load i32, ptr %4, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %4, align 4 br label %27, !llvm.loop !9 68: ; preds = %27 store i32 0, ptr %4, align 4 br label %69 69: ; preds = %80, %68 %70 = load i32, ptr %4, align 4 %71 = load i32, ptr %2, align 4 %72 = icmp slt i32 %70, %71 br i1 %72, label %73, label %83 73: ; preds = %69 %74 = load ptr, ptr %3, align 8 %75 = load i32, ptr %4, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds i32, ptr %74, i64 %76 %78 = load i32, ptr %77, align 4 %79 = call i32 @printf(ptr noundef @.str.1, i32 noundef %78) br label %80 80: ; preds = %73 %81 = load i32, ptr %4, align 4 %82 = add nsw i32 %81, 1 store i32 %82, ptr %4, align 4 br label %69, !llvm.loop !10 83: ; preds = %69 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @swap(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw1x_tam2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %7 = load i32, ptr %2, align 4 %8 = sext i32 %7 to i64 %9 = mul i64 %8, 4 %10 = trunc i64 %9 to i32 %11 = call i64 @malloc(i32 noundef %10) %12 = inttoptr i64 %11 to ptr store ptr %12, ptr %3, align 8 store i32 0, ptr %4, align 4 %13 = load i32, ptr %4, align 4 %14 = load i32, ptr %2, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %.lr.ph, label %28 .lr.ph: ; preds = %0 br label %16 16: ; preds = %.lr.ph, %22 %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %4, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i32, ptr %17, i64 %19 %21 = call i32 @scanf(ptr noundef @.str, ptr noundef %20) br label %22 22: ; preds = %16 %23 = load i32, ptr %4, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %4, align 4 %25 = load i32, ptr %4, align 4 %26 = load i32, ptr %2, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %28 28: ; preds = %._crit_edge, %0 store i32 1, ptr %4, align 4 %29 = load i32, ptr %4, align 4 %30 = load i32, ptr %2, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %.lr.ph5, label %73 .lr.ph5: ; preds = %28 br label %32 32: ; preds = %.lr.ph5, %67 store i32 0, ptr %5, align 4 %33 = load i32, ptr %5, align 4 %34 = icmp sge i32 %33, 0 br i1 %34, label %.lr.ph2, label %66 .lr.ph2: ; preds = %32 br label %35 35: ; preds = %.lr.ph2, %61 %36 = load ptr, ptr %3, align 8 %37 = load i32, ptr %5, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i32, ptr %36, i64 %38 %40 = load i32, ptr %39, align 4 %41 = load ptr, ptr %3, align 8 %42 = load i32, ptr %4, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i32, ptr %41, i64 %43 %45 = load i32, ptr %44, align 4 %46 = icmp sgt i32 %40, %45 br i1 %46, label %47, label %59 47: ; preds = %35 %48 = load ptr, ptr %3, align 8 %49 = load i32, ptr %5, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i32, ptr %48, i64 %50 %52 = load ptr, ptr %3, align 8 %53 = load i32, ptr %4, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i32, ptr %52, i64 %54 %56 = call i32 @swap(ptr noundef %51, ptr noundef %55) %57 = load i32, ptr %4, align 4 %58 = add nsw i32 %57, -1 store i32 %58, ptr %4, align 4 br label %60 59: ; preds = %35 br label %61 60: ; preds = %47 br label %61 61: ; preds = %60, %59 %62 = load i32, ptr %5, align 4 %63 = add nsw i32 %62, -1 store i32 %63, ptr %5, align 4 %64 = load i32, ptr %5, align 4 %65 = icmp sge i32 %64, 0 br i1 %65, label %35, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %61 br label %66 66: ; preds = %._crit_edge3, %32 br label %67 67: ; preds = %66 %68 = load i32, ptr %4, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %4, align 4 %70 = load i32, ptr %4, align 4 %71 = load i32, ptr %2, align 4 %72 = icmp slt i32 %70, %71 br i1 %72, label %32, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %67 br label %73 73: ; preds = %._crit_edge6, %28 store i32 0, ptr %4, align 4 %74 = load i32, ptr %4, align 4 %75 = load i32, ptr %2, align 4 %76 = icmp slt i32 %74, %75 br i1 %76, label %.lr.ph8, label %90 .lr.ph8: ; preds = %73 br label %77 77: ; preds = %.lr.ph8, %84 %78 = load ptr, ptr %3, align 8 %79 = load i32, ptr %4, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds i32, ptr %78, i64 %80 %82 = load i32, ptr %81, align 4 %83 = call i32 @printf(ptr noundef @.str.1, i32 noundef %82) br label %84 84: ; preds = %77 %85 = load i32, ptr %4, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %4, align 4 %87 = load i32, ptr %4, align 4 %88 = load i32, ptr %2, align 4 %89 = icmp slt i32 %87, %88 br i1 %89, label %77, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %84 br label %90 90: ; preds = %._crit_edge9, %73 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @swap(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmptht42wwf.c' source_filename = "/tmp/tmptht42wwf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @TUNSETIFF = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @tunsetiff() #0 { %1 = load i64, ptr @TUNSETIFF, align 8 ret i64 %1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptht42wwf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @TUNSETIFF = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @tunsetiff() #0 { %1 = load i64, ptr @TUNSETIFF, align 8 ret i64 %1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1s0rnn5_.c' source_filename = "/tmp/tmp1s0rnn5_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp sgt i32 %6, 2 br i1 %7, label %8, label %16 8: ; preds = %2 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 1 %11 = load ptr, ptr %10, align 8 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 2 %14 = load ptr, ptr %13, align 8 %15 = call i32 @fdump(ptr noundef %11, ptr noundef %14) br label %16 16: ; preds = %8, %2 ret i32 0 } declare i32 @fdump(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1s0rnn5_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp sgt i32 %6, 2 br i1 %7, label %8, label %16 8: ; preds = %2 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 1 %11 = load ptr, ptr %10, align 8 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 2 %14 = load ptr, ptr %13, align 8 %15 = call i32 @fdump(ptr noundef %11, ptr noundef %14) br label %16 16: ; preds = %8, %2 ret i32 0 } declare i32 @fdump(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjujdjyhf.c' source_filename = "/tmp/tmpjujdjyhf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"/testfile.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"error reporting\00", align 1 @.str.4 = private unnamed_addr constant [13 x i8] c"sfasdfsfdfff\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.6 = private unnamed_addr constant [32 x i8] c"i hope i can find a likely girl\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr @.str, ptr %6, align 8 %10 = load ptr, ptr %6, align 8 %11 = call ptr @fopen(ptr noundef %10, ptr noundef @.str.1) store ptr %11, ptr %7, align 8 %12 = load ptr, ptr %7, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %15 14: ; preds = %2 store i32 0, ptr %3, align 4 br label %26 15: ; preds = %2 %16 = load ptr, ptr %7, align 8 %17 = call i32 @fprintf(ptr noundef %16, ptr noundef @.str.2, ptr noundef @.str.3) %18 = call i32 @puts(ptr noundef @.str.4) store i32 %18, ptr %8, align 4 %19 = load i32, ptr %8, align 4 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %19) %21 = load ptr, ptr %7, align 8 %22 = call i32 @fclose(ptr noundef %21) store ptr @.str.6, ptr %9, align 8 %23 = load ptr, ptr %9, align 8 %24 = getelementptr inbounds i8, ptr %23, i64 8 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %24) br label %26 26: ; preds = %15, %14 %27 = load i32, ptr %3, align 4 ret i32 %27 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @puts(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjujdjyhf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"/testfile.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"error reporting\00", align 1 @.str.4 = private unnamed_addr constant [13 x i8] c"sfasdfsfdfff\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.6 = private unnamed_addr constant [32 x i8] c"i hope i can find a likely girl\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr @.str, ptr %6, align 8 %10 = load ptr, ptr %6, align 8 %11 = call ptr @fopen(ptr noundef %10, ptr noundef @.str.1) store ptr %11, ptr %7, align 8 %12 = load ptr, ptr %7, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %15 14: ; preds = %2 store i32 0, ptr %3, align 4 br label %26 15: ; preds = %2 %16 = load ptr, ptr %7, align 8 %17 = call i32 @fprintf(ptr noundef %16, ptr noundef @.str.2, ptr noundef @.str.3) %18 = call i32 @puts(ptr noundef @.str.4) store i32 %18, ptr %8, align 4 %19 = load i32, ptr %8, align 4 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %19) %21 = load ptr, ptr %7, align 8 %22 = call i32 @fclose(ptr noundef %21) store ptr @.str.6, ptr %9, align 8 %23 = load ptr, ptr %9, align 8 %24 = getelementptr inbounds i8, ptr %23, i64 8 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %24) br label %26 26: ; preds = %15, %14 %27 = load i32, ptr %3, align 4 ret i32 %27 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @puts(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqzxzbgqe.c' source_filename = "/tmp/tmpqzxzbgqe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"%d %d %g\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @convert(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds double, ptr %10, i64 0 %12 = load double, ptr %11, align 8 %13 = load ptr, ptr %4, align 8 %14 = getelementptr inbounds double, ptr %13, i64 0 store double %12, ptr %14, align 8 store i32 1, ptr %7, align 4 br label %15 15: ; preds = %87, %3 %16 = load i32, ptr %7, align 4 %17 = load i32, ptr %6, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %19, label %90 19: ; preds = %15 store i32 0, ptr %9, align 4 br label %20 20: ; preds = %32, %19 %21 = load i32, ptr %9, align 4 %22 = icmp slt i32 %21, 4 br i1 %22, label %23, label %35 23: ; preds = %20 %24 = load i32, ptr %7, align 4 %25 = load i32, ptr %9, align 4 %26 = load ptr, ptr %4, align 8 %27 = load i32, ptr %9, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds double, ptr %26, i64 %28 %30 = load double, ptr %29, align 8 %31 = call i32 @printf(ptr noundef @.str, i32 noundef %24, i32 noundef %25, double noundef %30) br label %32 32: ; preds = %23 %33 = load i32, ptr %9, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %9, align 4 br label %20, !llvm.loop !6 35: ; preds = %20 %36 = load ptr, ptr %4, align 8 %37 = load i32, ptr %7, align 4 %38 = sub nsw i32 %37, 1 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds double, ptr %36, i64 %39 %41 = load double, ptr %40, align 8 %42 = load ptr, ptr %4, align 8 %43 = load i32, ptr %7, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds double, ptr %42, i64 %44 store double %41, ptr %45, align 8 %46 = load i32, ptr %7, align 4 %47 = sub nsw i32 %46, 1 store i32 %47, ptr %8, align 4 br label %48 48: ; preds = %73, %35 %49 = load i32, ptr %8, align 4 %50 = icmp sgt i32 %49, 1 br i1 %50, label %51, label %76 51: ; preds = %48 %52 = load ptr, ptr %4, align 8 %53 = load i32, ptr %8, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds double, ptr %52, i64 %54 %56 = load double, ptr %55, align 8 %57 = load ptr, ptr %5, align 8 %58 = load i32, ptr %7, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds double, ptr %57, i64 %59 %61 = load double, ptr %60, align 8 %62 = fmul double %56, %61 %63 = load ptr, ptr %4, align 8 %64 = load i32, ptr %7, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds double, ptr %63, i64 %65 %67 = load double, ptr %66, align 8 %68 = call double @llvm.fmuladd.f64(double %62, double -1.000000e+00, double %67) %69 = load ptr, ptr %4, align 8 %70 = load i32, ptr %8, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds double, ptr %69, i64 %71 store double %68, ptr %72, align 8 br label %73 73: ; preds = %51 %74 = load i32, ptr %8, align 4 %75 = add nsw i32 %74, -1 store i32 %75, ptr %8, align 4 br label %48, !llvm.loop !8 76: ; preds = %48 %77 = load ptr, ptr %5, align 8 %78 = load i32, ptr %7, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds double, ptr %77, i64 %79 %81 = load double, ptr %80, align 8 %82 = fmul double %81, -1.000000e+00 %83 = load ptr, ptr %4, align 8 %84 = getelementptr inbounds double, ptr %83, i64 0 %85 = load double, ptr %84, align 8 %86 = fmul double %85, %82 store double %86, ptr %84, align 8 br label %87 87: ; preds = %76 %88 = load i32, ptr %7, align 4 %89 = add nsw i32 %88, 1 store i32 %89, ptr %7, align 4 br label %15, !llvm.loop !9 90: ; preds = %15 ret void } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqzxzbgqe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"%d %d %g\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @convert(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds double, ptr %10, i64 0 %12 = load double, ptr %11, align 8 %13 = load ptr, ptr %4, align 8 %14 = getelementptr inbounds double, ptr %13, i64 0 store double %12, ptr %14, align 8 store i32 1, ptr %7, align 4 %15 = load i32, ptr %7, align 4 %16 = load i32, ptr %6, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %.lr.ph5, label %94 .lr.ph5: ; preds = %3 br label %18 18: ; preds = %.lr.ph5, %88 store i32 0, ptr %9, align 4 %19 = load i32, ptr %9, align 4 %20 = icmp slt i32 %19, 4 br i1 %20, label %.lr.ph, label %35 .lr.ph: ; preds = %18 br label %21 21: ; preds = %.lr.ph, %30 %22 = load i32, ptr %7, align 4 %23 = load i32, ptr %9, align 4 %24 = load ptr, ptr %4, align 8 %25 = load i32, ptr %9, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds double, ptr %24, i64 %26 %28 = load double, ptr %27, align 8 %29 = call i32 @printf(ptr noundef @.str, i32 noundef %22, i32 noundef %23, double noundef %28) br label %30 30: ; preds = %21 %31 = load i32, ptr %9, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %9, align 4 %33 = load i32, ptr %9, align 4 %34 = icmp slt i32 %33, 4 br i1 %34, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %30 br label %35 35: ; preds = %._crit_edge, %18 %36 = load ptr, ptr %4, align 8 %37 = load i32, ptr %7, align 4 %38 = sub nsw i32 %37, 1 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds double, ptr %36, i64 %39 %41 = load double, ptr %40, align 8 %42 = load ptr, ptr %4, align 8 %43 = load i32, ptr %7, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds double, ptr %42, i64 %44 store double %41, ptr %45, align 8 %46 = load i32, ptr %7, align 4 %47 = sub nsw i32 %46, 1 store i32 %47, ptr %8, align 4 %48 = load i32, ptr %8, align 4 %49 = icmp sgt i32 %48, 1 br i1 %49, label %.lr.ph2, label %77 .lr.ph2: ; preds = %35 br label %50 50: ; preds = %.lr.ph2, %72 %51 = load ptr, ptr %4, align 8 %52 = load i32, ptr %8, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds double, ptr %51, i64 %53 %55 = load double, ptr %54, align 8 %56 = load ptr, ptr %5, align 8 %57 = load i32, ptr %7, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds double, ptr %56, i64 %58 %60 = load double, ptr %59, align 8 %61 = fmul double %55, %60 %62 = load ptr, ptr %4, align 8 %63 = load i32, ptr %7, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds double, ptr %62, i64 %64 %66 = load double, ptr %65, align 8 %67 = call double @llvm.fmuladd.f64(double %61, double -1.000000e+00, double %66) %68 = load ptr, ptr %4, align 8 %69 = load i32, ptr %8, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds double, ptr %68, i64 %70 store double %67, ptr %71, align 8 br label %72 72: ; preds = %50 %73 = load i32, ptr %8, align 4 %74 = add nsw i32 %73, -1 store i32 %74, ptr %8, align 4 %75 = load i32, ptr %8, align 4 %76 = icmp sgt i32 %75, 1 br i1 %76, label %50, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %72 br label %77 77: ; preds = %._crit_edge3, %35 %78 = load ptr, ptr %5, align 8 %79 = load i32, ptr %7, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds double, ptr %78, i64 %80 %82 = load double, ptr %81, align 8 %83 = fmul double %82, -1.000000e+00 %84 = load ptr, ptr %4, align 8 %85 = getelementptr inbounds double, ptr %84, i64 0 %86 = load double, ptr %85, align 8 %87 = fmul double %86, %83 store double %87, ptr %85, align 8 br label %88 88: ; preds = %77 %89 = load i32, ptr %7, align 4 %90 = add nsw i32 %89, 1 store i32 %90, ptr %7, align 4 %91 = load i32, ptr %7, align 4 %92 = load i32, ptr %6, align 4 %93 = icmp slt i32 %91, %92 br i1 %93, label %18, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %88 br label %94 94: ; preds = %._crit_edge6, %3 ret void } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp5bb2_1c6.c' source_filename = "/tmp/tmp5bb2_1c6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 (...) @handle_scanned_votes() store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp ne i32 %4, 0 br i1 %5, label %6, label %7 6: ; preds = %0 store i32 0, ptr %1, align 4 br label %8 7: ; preds = %0 store i32 -1, ptr %1, align 4 br label %8 8: ; preds = %7, %6 %9 = load i32, ptr %1, align 4 ret i32 %9 } declare i32 @handle_scanned_votes(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5bb2_1c6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 (...) @handle_scanned_votes() store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp ne i32 %4, 0 br i1 %5, label %6, label %7 6: ; preds = %0 store i32 0, ptr %1, align 4 br label %8 7: ; preds = %0 store i32 -1, ptr %1, align 4 br label %8 8: ; preds = %7, %6 %9 = load i32, ptr %1, align 4 ret i32 %9 } declare i32 @handle_scanned_votes(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnir4x6ar.c' source_filename = "/tmp/tmpnir4x6ar.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"Read Error \0A\00", align 1 @.str.1 = private unnamed_addr constant [18 x i8] c"No Data Waiting \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ReadUart(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %6 = load i32, ptr %3, align 4 %7 = load ptr, ptr %4, align 8 %8 = call i32 @read(i32 noundef %6, ptr noundef %7, i32 noundef 255) store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp slt i32 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %2 %12 = call i32 @printf(ptr noundef @.str) br label %24 13: ; preds = %2 %14 = load i32, ptr %5, align 4 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %18 16: ; preds = %13 %17 = call i32 @printf(ptr noundef @.str.1) br label %23 18: ; preds = %13 %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr %5, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %19, i64 %21 store i8 0, ptr %22, align 1 br label %23 23: ; preds = %18, %16 br label %24 24: ; preds = %23, %11 %25 = load i32, ptr %5, align 4 ret i32 %25 } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnir4x6ar.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"Read Error \0A\00", align 1 @.str.1 = private unnamed_addr constant [18 x i8] c"No Data Waiting \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ReadUart(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %6 = load i32, ptr %3, align 4 %7 = load ptr, ptr %4, align 8 %8 = call i32 @read(i32 noundef %6, ptr noundef %7, i32 noundef 255) store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp slt i32 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %2 %12 = call i32 @printf(ptr noundef @.str) br label %24 13: ; preds = %2 %14 = load i32, ptr %5, align 4 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %18 16: ; preds = %13 %17 = call i32 @printf(ptr noundef @.str.1) br label %23 18: ; preds = %13 %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr %5, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %19, i64 %21 store i8 0, ptr %22, align 1 br label %23 23: ; preds = %18, %16 br label %24 24: ; preds = %23, %11 %25 = load i32, ptr %5, align 4 ret i32 %25 } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjk8oqqb_.c' source_filename = "/tmp/tmpjk8oqqb_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjk8oqqb_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpuyy7i916.c' source_filename = "/tmp/tmpuyy7i916.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuyy7i916.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1mvb_2_g.c' source_filename = "/tmp/tmp1mvb_2_g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [48 x i8] c"grep 00000000367e0dc8 /proc/cpuinfo > /dev/null\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c"calc/calc.py >> reading.val\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"errorCheck/errorCheck.py > res\00", align 1 @.str.3 = private unnamed_addr constant [23 x i8] c"csv/csv.py >> data.csv\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"rm reading.val\00", align 1 @.str.5 = private unnamed_addr constant [46 x i8] c"HW verification fails, check system provider\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 @system(ptr noundef @.str) store i32 %4, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp ne i32 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %0 br label %21 8: ; preds = %0 store i32 0, ptr %2, align 4 br label %9 9: ; preds = %14, %8 %10 = load i32, ptr %2, align 4 %11 = icmp slt i32 %10, 4 br i1 %11, label %12, label %17 12: ; preds = %9 %13 = call i32 @system(ptr noundef @.str.1) br label %14 14: ; preds = %12 %15 = load i32, ptr %2, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %2, align 4 br label %9, !llvm.loop !6 17: ; preds = %9 %18 = call i32 @system(ptr noundef @.str.2) %19 = call i32 @system(ptr noundef @.str.3) %20 = call i32 @system(ptr noundef @.str.4) store i32 0, ptr %1, align 4 br label %23 21: ; preds = %7 %22 = call i32 @printf(ptr noundef @.str.5) br label %23 23: ; preds = %21, %17 %24 = load i32, ptr %1, align 4 ret i32 %24 } declare i32 @system(ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1mvb_2_g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [48 x i8] c"grep 00000000367e0dc8 /proc/cpuinfo > /dev/null\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c"calc/calc.py >> reading.val\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"errorCheck/errorCheck.py > res\00", align 1 @.str.3 = private unnamed_addr constant [23 x i8] c"csv/csv.py >> data.csv\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"rm reading.val\00", align 1 @.str.5 = private unnamed_addr constant [46 x i8] c"HW verification fails, check system provider\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 @system(ptr noundef @.str) store i32 %4, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp ne i32 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %0 br label %22 8: ; preds = %0 store i32 0, ptr %2, align 4 %9 = load i32, ptr %2, align 4 %10 = icmp slt i32 %9, 4 br i1 %10, label %.lr.ph, label %18 .lr.ph: ; preds = %8 br label %11 11: ; preds = %.lr.ph, %13 %12 = call i32 @system(ptr noundef @.str.1) br label %13 13: ; preds = %11 %14 = load i32, ptr %2, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %2, align 4 %16 = load i32, ptr %2, align 4 %17 = icmp slt i32 %16, 4 br i1 %17, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %18 18: ; preds = %._crit_edge, %8 %19 = call i32 @system(ptr noundef @.str.2) %20 = call i32 @system(ptr noundef @.str.3) %21 = call i32 @system(ptr noundef @.str.4) store i32 0, ptr %1, align 4 br label %24 22: ; preds = %7 %23 = call i32 @printf(ptr noundef @.str.5) br label %24 24: ; preds = %22, %18 %25 = load i32, ptr %1, align 4 ret i32 %25 } declare i32 @system(ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpwet7yaj_.c' source_filename = "/tmp/tmpwet7yaj_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @xpos(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = call i32 @WidthOfScreen(ptr noundef %5) %7 = load i32, ptr %4, align 4 %8 = sub i32 %6, %7 %9 = sub i32 %8, 2 ret i32 %9 } declare i32 @WidthOfScreen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwet7yaj_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @xpos(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = call i32 @WidthOfScreen(ptr noundef %5) %7 = load i32, ptr %4, align 4 %8 = sub i32 %6, %7 %9 = sub i32 %8, 2 ret i32 %9 } declare i32 @WidthOfScreen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpm03_ub_3.c' source_filename = "/tmp/tmpm03_ub_3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print(ptr noundef %0, i16 noundef signext %1, i16 noundef signext %2, i8 noundef signext %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i16, align 2 %7 = alloca i16, align 2 %8 = alloca i8, align 1 %9 = alloca i8, align 1 store ptr %0, ptr %5, align 8 store i16 %1, ptr %6, align 2 store i16 %2, ptr %7, align 2 store i8 %3, ptr %8, align 1 br label %10 10: ; preds = %4, %37 %11 = load ptr, ptr %5, align 8 %12 = load i8, ptr %11, align 1 store i8 %12, ptr %9, align 1 %13 = load i8, ptr %9, align 1 %14 = icmp ne i8 %13, 0 br i1 %14, label %16, label %15 15: ; preds = %10 br label %40 16: ; preds = %10 %17 = load i8, ptr %9, align 1 %18 = sext i8 %17 to i32 %19 = icmp ne i32 %18, 32 br i1 %19, label %20, label %31 20: ; preds = %16 %21 = load i8, ptr %9, align 1 %22 = load i16, ptr %6, align 2 %23 = load i16, ptr %7, align 2 %24 = load i8, ptr %8, align 1 %25 = call i64 @putChar(i8 noundef signext %21, i16 noundef signext %22, i16 noundef signext %23, i8 noundef signext %24) %26 = add nsw i64 %25, 1 %27 = load i16, ptr %6, align 2 %28 = sext i16 %27 to i64 %29 = add nsw i64 %28, %26 %30 = trunc i64 %29 to i16 store i16 %30, ptr %6, align 2 br label %36 31: ; preds = %16 %32 = load i16, ptr %6, align 2 %33 = sext i16 %32 to i32 %34 = add nsw i32 %33, 6 %35 = trunc i32 %34 to i16 store i16 %35, ptr %6, align 2 br label %36 36: ; preds = %31, %20 br label %37 37: ; preds = %36 %38 = load ptr, ptr %5, align 8 %39 = getelementptr inbounds i8, ptr %38, i32 1 store ptr %39, ptr %5, align 8 br label %10 40: ; preds = %15 ret void } declare i64 @putChar(i8 noundef signext, i16 noundef signext, i16 noundef signext, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm03_ub_3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print(ptr noundef %0, i16 noundef signext %1, i16 noundef signext %2, i8 noundef signext %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i16, align 2 %7 = alloca i16, align 2 %8 = alloca i8, align 1 %9 = alloca i8, align 1 store ptr %0, ptr %5, align 8 store i16 %1, ptr %6, align 2 store i16 %2, ptr %7, align 2 store i8 %3, ptr %8, align 1 %10 = load ptr, ptr %5, align 8 %11 = load i8, ptr %10, align 1 store i8 %11, ptr %9, align 1 %12 = load i8, ptr %9, align 1 %13 = icmp ne i8 %12, 0 br i1 %13, label %.lr.ph, label %14 .lr.ph: ; preds = %4 br label %15 ._crit_edge: ; preds = %36 br label %14 14: ; preds = %._crit_edge, %4 br label %43 15: ; preds = %.lr.ph, %36 %16 = load i8, ptr %9, align 1 %17 = sext i8 %16 to i32 %18 = icmp ne i32 %17, 32 br i1 %18, label %19, label %30 19: ; preds = %15 %20 = load i8, ptr %9, align 1 %21 = load i16, ptr %6, align 2 %22 = load i16, ptr %7, align 2 %23 = load i8, ptr %8, align 1 %24 = call i64 @putChar(i8 noundef signext %20, i16 noundef signext %21, i16 noundef signext %22, i8 noundef signext %23) %25 = add nsw i64 %24, 1 %26 = load i16, ptr %6, align 2 %27 = sext i16 %26 to i64 %28 = add nsw i64 %27, %25 %29 = trunc i64 %28 to i16 store i16 %29, ptr %6, align 2 br label %35 30: ; preds = %15 %31 = load i16, ptr %6, align 2 %32 = sext i16 %31 to i32 %33 = add nsw i32 %32, 6 %34 = trunc i32 %33 to i16 store i16 %34, ptr %6, align 2 br label %35 35: ; preds = %30, %19 br label %36 36: ; preds = %35 %37 = load ptr, ptr %5, align 8 %38 = getelementptr inbounds i8, ptr %37, i32 1 store ptr %38, ptr %5, align 8 %39 = load ptr, ptr %5, align 8 %40 = load i8, ptr %39, align 1 store i8 %40, ptr %9, align 1 %41 = load i8, ptr %9, align 1 %42 = icmp ne i8 %41, 0 br i1 %42, label %15, label %._crit_edge 43: ; preds = %14 ret void } declare i64 @putChar(i8 noundef signext, i16 noundef signext, i16 noundef signext, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpazciqtn0.c' source_filename = "/tmp/tmpazciqtn0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"rb\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @stbi_is_hdr(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call ptr @stbi__fopen(ptr noundef %5, ptr noundef @.str) store ptr %6, ptr %3, align 8 store i32 0, ptr %4, align 4 %7 = load ptr, ptr %3, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %14 9: ; preds = %1 %10 = load ptr, ptr %3, align 8 %11 = call i32 @stbi_is_hdr_from_file(ptr noundef %10) store i32 %11, ptr %4, align 4 %12 = load ptr, ptr %3, align 8 %13 = call i32 @fclose(ptr noundef %12) br label %14 14: ; preds = %9, %1 %15 = load i32, ptr %4, align 4 ret i32 %15 } declare ptr @stbi__fopen(ptr noundef, ptr noundef) #1 declare i32 @stbi_is_hdr_from_file(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpazciqtn0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"rb\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @stbi_is_hdr(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call ptr @stbi__fopen(ptr noundef %5, ptr noundef @.str) store ptr %6, ptr %3, align 8 store i32 0, ptr %4, align 4 %7 = load ptr, ptr %3, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %14 9: ; preds = %1 %10 = load ptr, ptr %3, align 8 %11 = call i32 @stbi_is_hdr_from_file(ptr noundef %10) store i32 %11, ptr %4, align 4 %12 = load ptr, ptr %3, align 8 %13 = call i32 @fclose(ptr noundef %12) br label %14 14: ; preds = %9, %1 %15 = load i32, ptr %4, align 4 ret i32 %15 } declare ptr @stbi__fopen(ptr noundef, ptr noundef) #1 declare i32 @stbi_is_hdr_from_file(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyrk02pv6.c' source_filename = "/tmp/tmpyrk02pv6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyrk02pv6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp81t5dc7s.c' source_filename = "/tmp/tmp81t5dc7s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [29 x i8] c"Informe o tamanho do vetor: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c"Informe os elementos do vetor:\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store i32 0, ptr %1, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %9 = load i32, ptr %2, align 4 %10 = zext i32 %9 to i64 %11 = call ptr @llvm.stacksave() store ptr %11, ptr %5, align 8 %12 = alloca i32, i64 %10, align 16 store i64 %10, ptr %6, align 8 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %3, align 4 br label %14 14: ; preds = %23, %0 %15 = load i32, ptr %3, align 4 %16 = load i32, ptr %2, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %18, label %26 18: ; preds = %14 %19 = load i32, ptr %3, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i32, ptr %12, i64 %20 %22 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %21) br label %23 23: ; preds = %18 %24 = load i32, ptr %3, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %3, align 4 br label %14, !llvm.loop !6 26: ; preds = %14 %27 = load i32, ptr %2, align 4 %28 = call i32 @inverte(i32 noundef %27, ptr noundef %12) store i32 0, ptr %4, align 4 br label %29 29: ; preds = %39, %26 %30 = load i32, ptr %4, align 4 %31 = load i32, ptr %2, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %33, label %42 33: ; preds = %29 %34 = load i32, ptr %4, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i32, ptr %12, i64 %35 %37 = load i32, ptr %36, align 4 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %37) br label %39 39: ; preds = %33 %40 = load i32, ptr %4, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %4, align 4 br label %29, !llvm.loop !8 42: ; preds = %29 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) store i32 0, ptr %1, align 4 %44 = load ptr, ptr %5, align 8 call void @llvm.stackrestore(ptr %44) %45 = load i32, ptr %1, align 4 ret i32 %45 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @inverte(i32 noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp81t5dc7s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [29 x i8] c"Informe o tamanho do vetor: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c"Informe os elementos do vetor:\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store i32 0, ptr %1, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %9 = load i32, ptr %2, align 4 %10 = zext i32 %9 to i64 %11 = call ptr @llvm.stacksave() store ptr %11, ptr %5, align 8 %12 = alloca i32, i64 %10, align 16 store i64 %10, ptr %6, align 8 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %3, align 4 %14 = load i32, ptr %3, align 4 %15 = load i32, ptr %2, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %.lr.ph, label %28 .lr.ph: ; preds = %0 br label %17 17: ; preds = %.lr.ph, %22 %18 = load i32, ptr %3, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i32, ptr %12, i64 %19 %21 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %20) br label %22 22: ; preds = %17 %23 = load i32, ptr %3, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %3, align 4 %25 = load i32, ptr %3, align 4 %26 = load i32, ptr %2, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %28 28: ; preds = %._crit_edge, %0 %29 = load i32, ptr %2, align 4 %30 = call i32 @inverte(i32 noundef %29, ptr noundef %12) store i32 0, ptr %4, align 4 %31 = load i32, ptr %4, align 4 %32 = load i32, ptr %2, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %.lr.ph2, label %46 .lr.ph2: ; preds = %28 br label %34 34: ; preds = %.lr.ph2, %40 %35 = load i32, ptr %4, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i32, ptr %12, i64 %36 %38 = load i32, ptr %37, align 4 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %38) br label %40 40: ; preds = %34 %41 = load i32, ptr %4, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %4, align 4 %43 = load i32, ptr %4, align 4 %44 = load i32, ptr %2, align 4 %45 = icmp slt i32 %43, %44 br i1 %45, label %34, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %40 br label %46 46: ; preds = %._crit_edge3, %28 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) store i32 0, ptr %1, align 4 %48 = load ptr, ptr %5, align 8 call void @llvm.stackrestore(ptr %48) %49 = load i32, ptr %1, align 4 ret i32 %49 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @inverte(i32 noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmptbuy07st.c' source_filename = "/tmp/tmptbuy07st.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptbuy07st.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpy_fhn2tu.c' source_filename = "/tmp/tmpy_fhn2tu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"`1234567890-=\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"QWERTYUIOP[]\\\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"ASDFGHJKL;'\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"ZXCVBNM,./\00", align 1 @__const.main.key_layout = private unnamed_addr constant [4 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3], align 16 @EOF = dso_local global i8 0, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [4 x ptr], align 16 %3 = alloca i8, align 1 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i8, align 1 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.key_layout, i64 32, i1 false) br label %7 7: ; preds = %41, %0 %8 = call signext i8 (...) @getchar() store i8 %8, ptr %3, align 1 %9 = sext i8 %8 to i32 %10 = load i8, ptr @EOF, align 1 %11 = sext i8 %10 to i32 %12 = icmp ne i32 %9, %11 br i1 %12, label %13, label %42 13: ; preds = %7 store i8 0, ptr %6, align 1 store i32 0, ptr %4, align 4 br label %14 14: ; preds = %32, %13 %15 = load i32, ptr %4, align 4 %16 = icmp slt i32 %15, 4 br i1 %16, label %17, label %35 17: ; preds = %14 %18 = load i32, ptr %4, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds [4 x ptr], ptr %2, i64 0, i64 %19 %21 = load ptr, ptr %20, align 8 %22 = load i8, ptr %3, align 1 %23 = call ptr @strchr(ptr noundef %21, i8 noundef signext %22) store ptr %23, ptr %5, align 8 %24 = load ptr, ptr %5, align 8 %25 = icmp ne ptr %24, null br i1 %25, label %26, label %31 26: ; preds = %17 %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds i8, ptr %27, i32 -1 store ptr %28, ptr %5, align 8 %29 = load i8, ptr %28, align 1 %30 = call i32 @putchar(i8 noundef signext %29) store i8 1, ptr %6, align 1 br label %35 31: ; preds = %17 br label %32 32: ; preds = %31 %33 = load i32, ptr %4, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %4, align 4 br label %14, !llvm.loop !6 35: ; preds = %26, %14 %36 = load i8, ptr %6, align 1 %37 = icmp ne i8 %36, 0 br i1 %37, label %41, label %38 38: ; preds = %35 %39 = load i8, ptr %3, align 1 %40 = call i32 @putchar(i8 noundef signext %39) br label %41 41: ; preds = %38, %35 br label %7, !llvm.loop !8 42: ; preds = %7 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare signext i8 @getchar(...) #2 declare ptr @strchr(ptr noundef, i8 noundef signext) #2 declare i32 @putchar(i8 noundef signext) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy_fhn2tu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"`1234567890-=\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"QWERTYUIOP[]\\\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"ASDFGHJKL;'\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"ZXCVBNM,./\00", align 1 @__const.main.key_layout = private unnamed_addr constant [4 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3], align 16 @EOF = dso_local global i8 0, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [4 x ptr], align 16 %3 = alloca i8, align 1 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i8, align 1 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.key_layout, i64 32, i1 false) %7 = call signext i8 (...) @getchar() store i8 %7, ptr %3, align 1 %8 = sext i8 %7 to i32 %9 = load i8, ptr @EOF, align 1 %10 = sext i8 %9 to i32 %11 = icmp ne i32 %8, %10 br i1 %11, label %.lr.ph1, label %47 .lr.ph1: ; preds = %0 br label %12 12: ; preds = %.lr.ph1, %41 store i8 0, ptr %6, align 1 store i32 0, ptr %4, align 4 %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %13, 4 br i1 %14, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %12 br label %15 15: ; preds = %.lr.ph, %30 %16 = load i32, ptr %4, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [4 x ptr], ptr %2, i64 0, i64 %17 %19 = load ptr, ptr %18, align 8 %20 = load i8, ptr %3, align 1 %21 = call ptr @strchr(ptr noundef %19, i8 noundef signext %20) store ptr %21, ptr %5, align 8 %22 = load ptr, ptr %5, align 8 %23 = icmp ne ptr %22, null br i1 %23, label %24, label %29 24: ; preds = %15 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds i8, ptr %25, i32 -1 store ptr %26, ptr %5, align 8 %27 = load i8, ptr %26, align 1 %28 = call i32 @putchar(i8 noundef signext %27) store i8 1, ptr %6, align 1 br label %35 29: ; preds = %15 br label %30 30: ; preds = %29 %31 = load i32, ptr %4, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %4, align 4 %33 = load i32, ptr %4, align 4 %34 = icmp slt i32 %33, 4 br i1 %34, label %15, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %30 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %12 br label %35 35: ; preds = %.loopexit, %24 %36 = load i8, ptr %6, align 1 %37 = icmp ne i8 %36, 0 br i1 %37, label %41, label %38 38: ; preds = %35 %39 = load i8, ptr %3, align 1 %40 = call i32 @putchar(i8 noundef signext %39) br label %41 41: ; preds = %38, %35 %42 = call signext i8 (...) @getchar() store i8 %42, ptr %3, align 1 %43 = sext i8 %42 to i32 %44 = load i8, ptr @EOF, align 1 %45 = sext i8 %44 to i32 %46 = icmp ne i32 %43, %45 br i1 %46, label %12, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %41 br label %47 47: ; preds = %._crit_edge, %0 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare signext i8 @getchar(...) #2 declare ptr @strchr(ptr noundef, i8 noundef signext) #2 declare i32 @putchar(i8 noundef signext) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp_7ax111u.c' source_filename = "/tmp/tmp_7ax111u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"eg. 0.0.0.0-0.255.255.255\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"// %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"-\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c".\00", align 1 @.str.5 = private unnamed_addr constant [25 x i8] c"{{%u, %u, %u, %u}, %s},\0A\00", align 1 @.str.6 = private unnamed_addr constant [6 x i8] c"false\00", align 1 @.str.7 = private unnamed_addr constant [36 x i8] c"{{%u, %u, %u, %u}, %s}, // start-2\0A\00", align 1 @.str.8 = private unnamed_addr constant [5 x i8] c"true\00", align 1 @.str.9 = private unnamed_addr constant [36 x i8] c"{{%u, %u, %u, %u}, %s}, // start-1\0A\00", align 1 @.str.10 = private unnamed_addr constant [34 x i8] c"{{%u, %u, %u, %u}, %s}, // start\0A\00", align 1 @.str.11 = private unnamed_addr constant [36 x i8] c"{{%u, %u, %u, %u}, %s}, // start+1\0A\00", align 1 @.str.12 = private unnamed_addr constant [34 x i8] c"{{%u, %u, %u, %u}, %s}, // end-1\0A\00", align 1 @.str.13 = private unnamed_addr constant [32 x i8] c"{{%u, %u, %u, %u}, %s}, // end\0A\00", align 1 @.str.14 = private unnamed_addr constant [34 x i8] c"{{%u, %u, %u, %u}, %s}, // end+1\0A\00", align 1 @.str.15 = private unnamed_addr constant [34 x i8] c"{{%u, %u, %u, %u}, %s}, // end+2\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %14 = load i32, ptr %4, align 4 %15 = icmp ne i32 %14, 2 br i1 %15, label %16, label %18 16: ; preds = %2 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 -1, ptr %3, align 4 br label %199 18: ; preds = %2 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 1 %22 = load ptr, ptr %21, align 8 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %22) %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 1 %26 = load ptr, ptr %25, align 8 %27 = call ptr @strtok(ptr noundef %26, ptr noundef @.str.3) store ptr %27, ptr %6, align 8 %28 = call ptr @strtok(ptr noundef null, ptr noundef @.str.3) store ptr %28, ptr %7, align 8 %29 = load ptr, ptr %6, align 8 %30 = call ptr @strtok(ptr noundef %29, ptr noundef @.str.4) %31 = call i64 @atoi(ptr noundef %30) %32 = trunc i64 %31 to i32 store i32 %32, ptr %8, align 4 %33 = call ptr @strtok(ptr noundef null, ptr noundef @.str.4) %34 = call i64 @atoi(ptr noundef %33) %35 = trunc i64 %34 to i32 store i32 %35, ptr %9, align 4 %36 = call ptr @strtok(ptr noundef null, ptr noundef @.str.4) %37 = call i64 @atoi(ptr noundef %36) %38 = trunc i64 %37 to i32 store i32 %38, ptr %10, align 4 %39 = call ptr @strtok(ptr noundef null, ptr noundef @.str.4) %40 = call i64 @atoi(ptr noundef %39) %41 = trunc i64 %40 to i32 store i32 %41, ptr %11, align 4 %42 = load i32, ptr %8, align 4 %43 = shl i32 %42, 24 %44 = load i32, ptr %9, align 4 %45 = shl i32 %44, 16 %46 = or i32 %43, %45 %47 = load i32, ptr %10, align 4 %48 = shl i32 %47, 8 %49 = or i32 %46, %48 %50 = load i32, ptr %11, align 4 %51 = or i32 %49, %50 store i32 %51, ptr %12, align 4 %52 = load ptr, ptr %7, align 8 %53 = call ptr @strtok(ptr noundef %52, ptr noundef @.str.4) %54 = call i64 @atoi(ptr noundef %53) %55 = trunc i64 %54 to i32 store i32 %55, ptr %8, align 4 %56 = call ptr @strtok(ptr noundef null, ptr noundef @.str.4) %57 = call i64 @atoi(ptr noundef %56) %58 = trunc i64 %57 to i32 store i32 %58, ptr %9, align 4 %59 = call ptr @strtok(ptr noundef null, ptr noundef @.str.4) %60 = call i64 @atoi(ptr noundef %59) %61 = trunc i64 %60 to i32 store i32 %61, ptr %10, align 4 %62 = call ptr @strtok(ptr noundef null, ptr noundef @.str.4) %63 = call i64 @atoi(ptr noundef %62) %64 = trunc i64 %63 to i32 store i32 %64, ptr %11, align 4 %65 = load i32, ptr %8, align 4 %66 = shl i32 %65, 24 %67 = load i32, ptr %9, align 4 %68 = shl i32 %67, 16 %69 = or i32 %66, %68 %70 = load i32, ptr %10, align 4 %71 = shl i32 %70, 8 %72 = or i32 %69, %71 %73 = load i32, ptr %11, align 4 %74 = or i32 %72, %73 store i32 %74, ptr %13, align 4 %75 = load i32, ptr %12, align 4 %76 = icmp eq i32 %75, -1 br i1 %76, label %77, label %86 77: ; preds = %18 %78 = load i32, ptr %12, align 4 %79 = ashr i32 %78, 24 %80 = load i32, ptr %12, align 4 %81 = ashr i32 %80, 16 %82 = load i32, ptr %12, align 4 %83 = ashr i32 %82, 8 %84 = load i32, ptr %12, align 4 %85 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %79, i32 noundef %81, i32 noundef %83, i32 noundef %84, ptr noundef @.str.6) store i32 0, ptr %3, align 4 br label %199 86: ; preds = %18 %87 = load i32, ptr %12, align 4 %88 = icmp ne i32 %87, 0 br i1 %88, label %89, label %122 89: ; preds = %86 %90 = load i32, ptr %12, align 4 %91 = sub nsw i32 %90, 1 %92 = icmp ne i32 %91, 0 br i1 %92, label %93, label %122 93: ; preds = %89 %94 = load i32, ptr %12, align 4 %95 = sub nsw i32 %94, 2 %96 = icmp ne i32 %95, 0 br i1 %96, label %97, label %122 97: ; preds = %93 %98 = load i32, ptr %12, align 4 %99 = sub nsw i32 %98, 2 %100 = ashr i32 %99, 24 %101 = load i32, ptr %12, align 4 %102 = sub nsw i32 %101, 2 %103 = ashr i32 %102, 16 %104 = load i32, ptr %12, align 4 %105 = sub nsw i32 %104, 2 %106 = ashr i32 %105, 8 %107 = load i32, ptr %12, align 4 %108 = sub nsw i32 %107, 2 %109 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %100, i32 noundef %103, i32 noundef %106, i32 noundef %108, ptr noundef @.str.8) %110 = load i32, ptr %12, align 4 %111 = sub nsw i32 %110, 1 %112 = ashr i32 %111, 24 %113 = load i32, ptr %12, align 4 %114 = sub nsw i32 %113, 1 %115 = ashr i32 %114, 16 %116 = load i32, ptr %12, align 4 %117 = sub nsw i32 %116, 1 %118 = ashr i32 %117, 8 %119 = load i32, ptr %12, align 4 %120 = sub nsw i32 %119, 1 %121 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %112, i32 noundef %115, i32 noundef %118, i32 noundef %120, ptr noundef @.str.8) br label %122 122: ; preds = %97, %93, %89, %86 %123 = load i32, ptr %12, align 4 %124 = ashr i32 %123, 24 %125 = load i32, ptr %12, align 4 %126 = ashr i32 %125, 16 %127 = load i32, ptr %12, align 4 %128 = ashr i32 %127, 8 %129 = load i32, ptr %12, align 4 %130 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %124, i32 noundef %126, i32 noundef %128, i32 noundef %129, ptr noundef @.str.6) %131 = load i32, ptr %12, align 4 %132 = add nsw i32 %131, 1 %133 = ashr i32 %132, 24 %134 = load i32, ptr %12, align 4 %135 = add nsw i32 %134, 1 %136 = ashr i32 %135, 16 %137 = load i32, ptr %12, align 4 %138 = add nsw i32 %137, 1 %139 = ashr i32 %138, 8 %140 = load i32, ptr %12, align 4 %141 = add nsw i32 %140, 1 %142 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %133, i32 noundef %136, i32 noundef %139, i32 noundef %141, ptr noundef @.str.6) %143 = load i32, ptr %13, align 4 %144 = sub nsw i32 %143, 1 %145 = ashr i32 %144, 24 %146 = load i32, ptr %13, align 4 %147 = sub nsw i32 %146, 1 %148 = ashr i32 %147, 16 %149 = load i32, ptr %13, align 4 %150 = sub nsw i32 %149, 1 %151 = ashr i32 %150, 8 %152 = load i32, ptr %13, align 4 %153 = sub nsw i32 %152, 1 %154 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %145, i32 noundef %148, i32 noundef %151, i32 noundef %153, ptr noundef @.str.6) %155 = load i32, ptr %13, align 4 %156 = ashr i32 %155, 24 %157 = load i32, ptr %13, align 4 %158 = ashr i32 %157, 16 %159 = load i32, ptr %13, align 4 %160 = ashr i32 %159, 8 %161 = load i32, ptr %13, align 4 %162 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %156, i32 noundef %158, i32 noundef %160, i32 noundef %161, ptr noundef @.str.6) %163 = load i32, ptr %13, align 4 %164 = icmp ne i32 %163, -1 br i1 %164, label %165, label %198 165: ; preds = %122 %166 = load i32, ptr %13, align 4 %167 = add nsw i32 %166, 1 %168 = icmp ne i32 %167, -1 br i1 %168, label %169, label %198 169: ; preds = %165 %170 = load i32, ptr %13, align 4 %171 = add nsw i32 %170, 2 %172 = icmp ne i32 %171, -1 br i1 %172, label %173, label %198 173: ; preds = %169 %174 = load i32, ptr %13, align 4 %175 = add nsw i32 %174, 1 %176 = ashr i32 %175, 24 %177 = load i32, ptr %13, align 4 %178 = add nsw i32 %177, 1 %179 = ashr i32 %178, 16 %180 = load i32, ptr %13, align 4 %181 = add nsw i32 %180, 1 %182 = ashr i32 %181, 8 %183 = load i32, ptr %13, align 4 %184 = add nsw i32 %183, 1 %185 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %176, i32 noundef %179, i32 noundef %182, i32 noundef %184, ptr noundef @.str.8) %186 = load i32, ptr %13, align 4 %187 = add nsw i32 %186, 2 %188 = ashr i32 %187, 24 %189 = load i32, ptr %13, align 4 %190 = add nsw i32 %189, 2 %191 = ashr i32 %190, 16 %192 = load i32, ptr %13, align 4 %193 = add nsw i32 %192, 2 %194 = ashr i32 %193, 8 %195 = load i32, ptr %13, align 4 %196 = add nsw i32 %195, 2 %197 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef %188, i32 noundef %191, i32 noundef %194, i32 noundef %196, ptr noundef @.str.8) br label %198 198: ; preds = %173, %169, %165, %122 store i32 0, ptr %3, align 4 br label %199 199: ; preds = %198, %77, %16 %200 = load i32, ptr %3, align 4 ret i32 %200 } declare i32 @printf(ptr noundef, ...) #1 declare ptr @strtok(ptr noundef, ptr noundef) #1 declare i64 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_7ax111u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"eg. 0.0.0.0-0.255.255.255\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"// %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"-\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c".\00", align 1 @.str.5 = private unnamed_addr constant [25 x i8] c"{{%u, %u, %u, %u}, %s},\0A\00", align 1 @.str.6 = private unnamed_addr constant [6 x i8] c"false\00", align 1 @.str.7 = private unnamed_addr constant [36 x i8] c"{{%u, %u, %u, %u}, %s}, // start-2\0A\00", align 1 @.str.8 = private unnamed_addr constant [5 x i8] c"true\00", align 1 @.str.9 = private unnamed_addr constant [36 x i8] c"{{%u, %u, %u, %u}, %s}, // start-1\0A\00", align 1 @.str.10 = private unnamed_addr constant [34 x i8] c"{{%u, %u, %u, %u}, %s}, // start\0A\00", align 1 @.str.11 = private unnamed_addr constant [36 x i8] c"{{%u, %u, %u, %u}, %s}, // start+1\0A\00", align 1 @.str.12 = private unnamed_addr constant [34 x i8] c"{{%u, %u, %u, %u}, %s}, // end-1\0A\00", align 1 @.str.13 = private unnamed_addr constant [32 x i8] c"{{%u, %u, %u, %u}, %s}, // end\0A\00", align 1 @.str.14 = private unnamed_addr constant [34 x i8] c"{{%u, %u, %u, %u}, %s}, // end+1\0A\00", align 1 @.str.15 = private unnamed_addr constant [34 x i8] c"{{%u, %u, %u, %u}, %s}, // end+2\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %14 = load i32, ptr %4, align 4 %15 = icmp ne i32 %14, 2 br i1 %15, label %16, label %18 16: ; preds = %2 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 -1, ptr %3, align 4 br label %199 18: ; preds = %2 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 1 %22 = load ptr, ptr %21, align 8 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %22) %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 1 %26 = load ptr, ptr %25, align 8 %27 = call ptr @strtok(ptr noundef %26, ptr noundef @.str.3) store ptr %27, ptr %6, align 8 %28 = call ptr @strtok(ptr noundef null, ptr noundef @.str.3) store ptr %28, ptr %7, align 8 %29 = load ptr, ptr %6, align 8 %30 = call ptr @strtok(ptr noundef %29, ptr noundef @.str.4) %31 = call i64 @atoi(ptr noundef %30) %32 = trunc i64 %31 to i32 store i32 %32, ptr %8, align 4 %33 = call ptr @strtok(ptr noundef null, ptr noundef @.str.4) %34 = call i64 @atoi(ptr noundef %33) %35 = trunc i64 %34 to i32 store i32 %35, ptr %9, align 4 %36 = call ptr @strtok(ptr noundef null, ptr noundef @.str.4) %37 = call i64 @atoi(ptr noundef %36) %38 = trunc i64 %37 to i32 store i32 %38, ptr %10, align 4 %39 = call ptr @strtok(ptr noundef null, ptr noundef @.str.4) %40 = call i64 @atoi(ptr noundef %39) %41 = trunc i64 %40 to i32 store i32 %41, ptr %11, align 4 %42 = load i32, ptr %8, align 4 %43 = shl i32 %42, 24 %44 = load i32, ptr %9, align 4 %45 = shl i32 %44, 16 %46 = or i32 %43, %45 %47 = load i32, ptr %10, align 4 %48 = shl i32 %47, 8 %49 = or i32 %46, %48 %50 = load i32, ptr %11, align 4 %51 = or i32 %49, %50 store i32 %51, ptr %12, align 4 %52 = load ptr, ptr %7, align 8 %53 = call ptr @strtok(ptr noundef %52, ptr noundef @.str.4) %54 = call i64 @atoi(ptr noundef %53) %55 = trunc i64 %54 to i32 store i32 %55, ptr %8, align 4 %56 = call ptr @strtok(ptr noundef null, ptr noundef @.str.4) %57 = call i64 @atoi(ptr noundef %56) %58 = trunc i64 %57 to i32 store i32 %58, ptr %9, align 4 %59 = call ptr @strtok(ptr noundef null, ptr noundef @.str.4) %60 = call i64 @atoi(ptr noundef %59) %61 = trunc i64 %60 to i32 store i32 %61, ptr %10, align 4 %62 = call ptr @strtok(ptr noundef null, ptr noundef @.str.4) %63 = call i64 @atoi(ptr noundef %62) %64 = trunc i64 %63 to i32 store i32 %64, ptr %11, align 4 %65 = load i32, ptr %8, align 4 %66 = shl i32 %65, 24 %67 = load i32, ptr %9, align 4 %68 = shl i32 %67, 16 %69 = or i32 %66, %68 %70 = load i32, ptr %10, align 4 %71 = shl i32 %70, 8 %72 = or i32 %69, %71 %73 = load i32, ptr %11, align 4 %74 = or i32 %72, %73 store i32 %74, ptr %13, align 4 %75 = load i32, ptr %12, align 4 %76 = icmp eq i32 %75, -1 br i1 %76, label %77, label %86 77: ; preds = %18 %78 = load i32, ptr %12, align 4 %79 = ashr i32 %78, 24 %80 = load i32, ptr %12, align 4 %81 = ashr i32 %80, 16 %82 = load i32, ptr %12, align 4 %83 = ashr i32 %82, 8 %84 = load i32, ptr %12, align 4 %85 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %79, i32 noundef %81, i32 noundef %83, i32 noundef %84, ptr noundef @.str.6) store i32 0, ptr %3, align 4 br label %199 86: ; preds = %18 %87 = load i32, ptr %12, align 4 %88 = icmp ne i32 %87, 0 br i1 %88, label %89, label %122 89: ; preds = %86 %90 = load i32, ptr %12, align 4 %91 = sub nsw i32 %90, 1 %92 = icmp ne i32 %91, 0 br i1 %92, label %93, label %122 93: ; preds = %89 %94 = load i32, ptr %12, align 4 %95 = sub nsw i32 %94, 2 %96 = icmp ne i32 %95, 0 br i1 %96, label %97, label %122 97: ; preds = %93 %98 = load i32, ptr %12, align 4 %99 = sub nsw i32 %98, 2 %100 = ashr i32 %99, 24 %101 = load i32, ptr %12, align 4 %102 = sub nsw i32 %101, 2 %103 = ashr i32 %102, 16 %104 = load i32, ptr %12, align 4 %105 = sub nsw i32 %104, 2 %106 = ashr i32 %105, 8 %107 = load i32, ptr %12, align 4 %108 = sub nsw i32 %107, 2 %109 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %100, i32 noundef %103, i32 noundef %106, i32 noundef %108, ptr noundef @.str.8) %110 = load i32, ptr %12, align 4 %111 = sub nsw i32 %110, 1 %112 = ashr i32 %111, 24 %113 = load i32, ptr %12, align 4 %114 = sub nsw i32 %113, 1 %115 = ashr i32 %114, 16 %116 = load i32, ptr %12, align 4 %117 = sub nsw i32 %116, 1 %118 = ashr i32 %117, 8 %119 = load i32, ptr %12, align 4 %120 = sub nsw i32 %119, 1 %121 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %112, i32 noundef %115, i32 noundef %118, i32 noundef %120, ptr noundef @.str.8) br label %122 122: ; preds = %97, %93, %89, %86 %123 = load i32, ptr %12, align 4 %124 = ashr i32 %123, 24 %125 = load i32, ptr %12, align 4 %126 = ashr i32 %125, 16 %127 = load i32, ptr %12, align 4 %128 = ashr i32 %127, 8 %129 = load i32, ptr %12, align 4 %130 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %124, i32 noundef %126, i32 noundef %128, i32 noundef %129, ptr noundef @.str.6) %131 = load i32, ptr %12, align 4 %132 = add nsw i32 %131, 1 %133 = ashr i32 %132, 24 %134 = load i32, ptr %12, align 4 %135 = add nsw i32 %134, 1 %136 = ashr i32 %135, 16 %137 = load i32, ptr %12, align 4 %138 = add nsw i32 %137, 1 %139 = ashr i32 %138, 8 %140 = load i32, ptr %12, align 4 %141 = add nsw i32 %140, 1 %142 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, i32 noundef %133, i32 noundef %136, i32 noundef %139, i32 noundef %141, ptr noundef @.str.6) %143 = load i32, ptr %13, align 4 %144 = sub nsw i32 %143, 1 %145 = ashr i32 %144, 24 %146 = load i32, ptr %13, align 4 %147 = sub nsw i32 %146, 1 %148 = ashr i32 %147, 16 %149 = load i32, ptr %13, align 4 %150 = sub nsw i32 %149, 1 %151 = ashr i32 %150, 8 %152 = load i32, ptr %13, align 4 %153 = sub nsw i32 %152, 1 %154 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %145, i32 noundef %148, i32 noundef %151, i32 noundef %153, ptr noundef @.str.6) %155 = load i32, ptr %13, align 4 %156 = ashr i32 %155, 24 %157 = load i32, ptr %13, align 4 %158 = ashr i32 %157, 16 %159 = load i32, ptr %13, align 4 %160 = ashr i32 %159, 8 %161 = load i32, ptr %13, align 4 %162 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %156, i32 noundef %158, i32 noundef %160, i32 noundef %161, ptr noundef @.str.6) %163 = load i32, ptr %13, align 4 %164 = icmp ne i32 %163, -1 br i1 %164, label %165, label %198 165: ; preds = %122 %166 = load i32, ptr %13, align 4 %167 = add nsw i32 %166, 1 %168 = icmp ne i32 %167, -1 br i1 %168, label %169, label %198 169: ; preds = %165 %170 = load i32, ptr %13, align 4 %171 = add nsw i32 %170, 2 %172 = icmp ne i32 %171, -1 br i1 %172, label %173, label %198 173: ; preds = %169 %174 = load i32, ptr %13, align 4 %175 = add nsw i32 %174, 1 %176 = ashr i32 %175, 24 %177 = load i32, ptr %13, align 4 %178 = add nsw i32 %177, 1 %179 = ashr i32 %178, 16 %180 = load i32, ptr %13, align 4 %181 = add nsw i32 %180, 1 %182 = ashr i32 %181, 8 %183 = load i32, ptr %13, align 4 %184 = add nsw i32 %183, 1 %185 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %176, i32 noundef %179, i32 noundef %182, i32 noundef %184, ptr noundef @.str.8) %186 = load i32, ptr %13, align 4 %187 = add nsw i32 %186, 2 %188 = ashr i32 %187, 24 %189 = load i32, ptr %13, align 4 %190 = add nsw i32 %189, 2 %191 = ashr i32 %190, 16 %192 = load i32, ptr %13, align 4 %193 = add nsw i32 %192, 2 %194 = ashr i32 %193, 8 %195 = load i32, ptr %13, align 4 %196 = add nsw i32 %195, 2 %197 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef %188, i32 noundef %191, i32 noundef %194, i32 noundef %196, ptr noundef @.str.8) br label %198 198: ; preds = %173, %169, %165, %122 store i32 0, ptr %3, align 4 br label %199 199: ; preds = %198, %77, %16 %200 = load i32, ptr %3, align 4 ret i32 %200 } declare i32 @printf(ptr noundef, ...) #1 declare ptr @strtok(ptr noundef, ptr noundef) #1 declare i64 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppwdp82kx.c' source_filename = "/tmp/tmppwdp82kx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"/\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"/dev/null\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @STDIN_FILENO = dso_local global i32 0, align 4 @STDOUT_FILENO = dso_local global i32 0, align 4 @STDERR_FILENO = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [6 x i8] c"execv\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"vfork\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @vfork_daemon_rexec(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 store i32 %0, ptr %6, align 4 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 store i32 0, ptr %13, align 4 %14 = call i32 (...) @setsid() %15 = load i32, ptr %6, align 4 %16 = icmp ne i32 %15, 0 br i1 %16, label %19, label %17 17: ; preds = %5 %18 = call i32 @chdir(ptr noundef @.str) br label %19 19: ; preds = %17, %5 %20 = load i32, ptr %7, align 4 %21 = icmp ne i32 %20, 0 br i1 %21, label %42, label %22 22: ; preds = %19 %23 = load i32, ptr @O_RDWR, align 4 %24 = call i32 @open(ptr noundef @.str.1, i32 noundef %23, i32 noundef 0) store i32 %24, ptr %11, align 4 %25 = icmp ne i32 %24, -1 br i1 %25, label %26, label %42 26: ; preds = %22 %27 = load i32, ptr %11, align 4 %28 = load i32, ptr @STDIN_FILENO, align 4 %29 = call i32 @dup2(i32 noundef %27, i32 noundef %28) %30 = load i32, ptr %11, align 4 %31 = load i32, ptr @STDOUT_FILENO, align 4 %32 = call i32 @dup2(i32 noundef %30, i32 noundef %31) %33 = load i32, ptr %11, align 4 %34 = load i32, ptr @STDERR_FILENO, align 4 %35 = call i32 @dup2(i32 noundef %33, i32 noundef %34) %36 = load i32, ptr %11, align 4 %37 = icmp sgt i32 %36, 2 br i1 %37, label %38, label %41 38: ; preds = %26 %39 = load i32, ptr %11, align 4 %40 = call i32 @close(i32 noundef %39) br label %41 41: ; preds = %38, %26 br label %42 42: ; preds = %41, %22, %19 %43 = load i32, ptr %8, align 4 %44 = add nsw i32 %43, 2 %45 = sext i32 %44 to i64 %46 = mul i64 8, %45 %47 = trunc i64 %46 to i32 %48 = call ptr @malloc(i32 noundef %47) store ptr %48, ptr %12, align 8 br label %49 49: ; preds = %53, %42 %50 = load ptr, ptr %9, align 8 %51 = load ptr, ptr %50, align 8 %52 = icmp ne ptr %51, null br i1 %52, label %53, label %63 53: ; preds = %49 %54 = load ptr, ptr %9, align 8 %55 = load ptr, ptr %54, align 8 %56 = load ptr, ptr %12, align 8 %57 = load i32, ptr %13, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %13, align 4 %59 = sext i32 %57 to i64 %60 = getelementptr inbounds ptr, ptr %56, i64 %59 store ptr %55, ptr %60, align 8 %61 = load ptr, ptr %9, align 8 %62 = getelementptr inbounds ptr, ptr %61, i32 1 store ptr %62, ptr %9, align 8 br label %49, !llvm.loop !6 63: ; preds = %49 %64 = load ptr, ptr %10, align 8 %65 = load ptr, ptr %12, align 8 %66 = load i32, ptr %13, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %13, align 4 %68 = sext i32 %66 to i64 %69 = getelementptr inbounds ptr, ptr %65, i64 %68 store ptr %64, ptr %69, align 8 %70 = load ptr, ptr %12, align 8 %71 = load i32, ptr %13, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %13, align 4 %73 = sext i32 %71 to i64 %74 = getelementptr inbounds ptr, ptr %70, i64 %73 store ptr null, ptr %74, align 8 %75 = call i32 @vfork() #4 switch i32 %75, label %92 [ i32 0, label %76 i32 -1, label %89 ] 76: ; preds = %63 %77 = call i32 @vfork() #4 %78 = icmp ne i32 %77, 0 br i1 %78, label %79, label %81 79: ; preds = %76 %80 = call i32 @_exit(i32 noundef 0) #5 unreachable 81: ; preds = %76 %82 = load ptr, ptr %12, align 8 %83 = getelementptr inbounds ptr, ptr %82, i64 0 %84 = load ptr, ptr %83, align 8 %85 = load ptr, ptr %12, align 8 %86 = call i32 @execvp(ptr noundef %84, ptr noundef %85) %87 = call i32 @perror(ptr noundef @.str.2) %88 = call i32 @exit(i32 noundef -1) #5 unreachable 89: ; preds = %63 %90 = call i32 @perror(ptr noundef @.str.3) %91 = call i32 @exit(i32 noundef -1) #5 unreachable 92: ; preds = %63 %93 = call i32 @exit(i32 noundef 0) #5 unreachable } declare i32 @setsid(...) #1 declare i32 @chdir(ptr noundef) #1 declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @dup2(i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare ptr @malloc(i32 noundef) #1 ; Function Attrs: returns_twice declare i32 @vfork() #2 ; Function Attrs: noreturn declare i32 @_exit(i32 noundef) #3 declare i32 @execvp(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { returns_twice "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { returns_twice } attributes #5 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppwdp82kx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"/\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"/dev/null\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @STDIN_FILENO = dso_local global i32 0, align 4 @STDOUT_FILENO = dso_local global i32 0, align 4 @STDERR_FILENO = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [6 x i8] c"execv\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"vfork\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @vfork_daemon_rexec(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 store i32 %0, ptr %6, align 4 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 store i32 0, ptr %13, align 4 %14 = call i32 (...) @setsid() %15 = load i32, ptr %6, align 4 %16 = icmp ne i32 %15, 0 br i1 %16, label %19, label %17 17: ; preds = %5 %18 = call i32 @chdir(ptr noundef @.str) br label %19 19: ; preds = %17, %5 %20 = load i32, ptr %7, align 4 %21 = icmp ne i32 %20, 0 br i1 %21, label %42, label %22 22: ; preds = %19 %23 = load i32, ptr @O_RDWR, align 4 %24 = call i32 @open(ptr noundef @.str.1, i32 noundef %23, i32 noundef 0) store i32 %24, ptr %11, align 4 %25 = icmp ne i32 %24, -1 br i1 %25, label %26, label %42 26: ; preds = %22 %27 = load i32, ptr %11, align 4 %28 = load i32, ptr @STDIN_FILENO, align 4 %29 = call i32 @dup2(i32 noundef %27, i32 noundef %28) %30 = load i32, ptr %11, align 4 %31 = load i32, ptr @STDOUT_FILENO, align 4 %32 = call i32 @dup2(i32 noundef %30, i32 noundef %31) %33 = load i32, ptr %11, align 4 %34 = load i32, ptr @STDERR_FILENO, align 4 %35 = call i32 @dup2(i32 noundef %33, i32 noundef %34) %36 = load i32, ptr %11, align 4 %37 = icmp sgt i32 %36, 2 br i1 %37, label %38, label %41 38: ; preds = %26 %39 = load i32, ptr %11, align 4 %40 = call i32 @close(i32 noundef %39) br label %41 41: ; preds = %38, %26 br label %42 42: ; preds = %41, %22, %19 %43 = load i32, ptr %8, align 4 %44 = add nsw i32 %43, 2 %45 = sext i32 %44 to i64 %46 = mul i64 8, %45 %47 = trunc i64 %46 to i32 %48 = call ptr @malloc(i32 noundef %47) store ptr %48, ptr %12, align 8 %49 = load ptr, ptr %9, align 8 %50 = load ptr, ptr %49, align 8 %51 = icmp ne ptr %50, null br i1 %51, label %.lr.ph, label %65 .lr.ph: ; preds = %42 br label %52 52: ; preds = %.lr.ph, %52 %53 = load ptr, ptr %9, align 8 %54 = load ptr, ptr %53, align 8 %55 = load ptr, ptr %12, align 8 %56 = load i32, ptr %13, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %13, align 4 %58 = sext i32 %56 to i64 %59 = getelementptr inbounds ptr, ptr %55, i64 %58 store ptr %54, ptr %59, align 8 %60 = load ptr, ptr %9, align 8 %61 = getelementptr inbounds ptr, ptr %60, i32 1 store ptr %61, ptr %9, align 8 %62 = load ptr, ptr %9, align 8 %63 = load ptr, ptr %62, align 8 %64 = icmp ne ptr %63, null br i1 %64, label %52, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %52 br label %65 65: ; preds = %._crit_edge, %42 %66 = load ptr, ptr %10, align 8 %67 = load ptr, ptr %12, align 8 %68 = load i32, ptr %13, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %13, align 4 %70 = sext i32 %68 to i64 %71 = getelementptr inbounds ptr, ptr %67, i64 %70 store ptr %66, ptr %71, align 8 %72 = load ptr, ptr %12, align 8 %73 = load i32, ptr %13, align 4 %74 = add nsw i32 %73, 1 store i32 %74, ptr %13, align 4 %75 = sext i32 %73 to i64 %76 = getelementptr inbounds ptr, ptr %72, i64 %75 store ptr null, ptr %76, align 8 %77 = call i32 @vfork() #4 switch i32 %77, label %94 [ i32 0, label %78 i32 -1, label %91 ] 78: ; preds = %65 %79 = call i32 @vfork() #4 %80 = icmp ne i32 %79, 0 br i1 %80, label %81, label %83 81: ; preds = %78 %82 = call i32 @_exit(i32 noundef 0) #5 unreachable 83: ; preds = %78 %84 = load ptr, ptr %12, align 8 %85 = getelementptr inbounds ptr, ptr %84, i64 0 %86 = load ptr, ptr %85, align 8 %87 = load ptr, ptr %12, align 8 %88 = call i32 @execvp(ptr noundef %86, ptr noundef %87) %89 = call i32 @perror(ptr noundef @.str.2) %90 = call i32 @exit(i32 noundef -1) #5 unreachable 91: ; preds = %65 %92 = call i32 @perror(ptr noundef @.str.3) %93 = call i32 @exit(i32 noundef -1) #5 unreachable 94: ; preds = %65 %95 = call i32 @exit(i32 noundef 0) #5 unreachable } declare i32 @setsid(...) #1 declare i32 @chdir(ptr noundef) #1 declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @dup2(i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare ptr @malloc(i32 noundef) #1 ; Function Attrs: returns_twice declare i32 @vfork() #2 ; Function Attrs: noreturn declare i32 @_exit(i32 noundef) #3 declare i32 @execvp(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { returns_twice "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { returns_twice } attributes #5 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp080arkto.c' source_filename = "/tmp/tmp080arkto.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp080arkto.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwrckv1y4.c' source_filename = "/tmp/tmpwrckv1y4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @BGBMID_ScaleSample(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca float, align 4 %17 = alloca float, align 4 %18 = alloca float, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 %19 = load i32, ptr %7, align 4 %20 = load i32, ptr %9, align 4 %21 = icmp eq i32 %19, %20 br i1 %21, label %22, label %41 22: ; preds = %4 store i32 0, ptr %10, align 4 br label %23 23: ; preds = %37, %22 %24 = load i32, ptr %10, align 4 %25 = load i32, ptr %9, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %27, label %40 27: ; preds = %23 %28 = load ptr, ptr %8, align 8 %29 = load i32, ptr %10, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i16, ptr %28, i64 %30 %32 = load i16, ptr %31, align 2 %33 = load ptr, ptr %6, align 8 %34 = load i32, ptr %10, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i16, ptr %33, i64 %35 store i16 %32, ptr %36, align 2 br label %37 37: ; preds = %27 %38 = load i32, ptr %10, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %10, align 4 br label %23, !llvm.loop !6 40: ; preds = %23 store i32 0, ptr %5, align 4 br label %106 41: ; preds = %4 %42 = load i32, ptr %7, align 4 %43 = load i32, ptr %9, align 4 %44 = icmp sgt i32 %42, %43 br i1 %44, label %45, label %100 45: ; preds = %41 %46 = load i32, ptr %9, align 4 %47 = sub nsw i32 %46, 1 %48 = sitofp i32 %47 to float %49 = load i32, ptr %7, align 4 %50 = sitofp i32 %49 to float %51 = fdiv float %48, %50 store float %51, ptr %16, align 4 store i32 0, ptr %10, align 4 br label %52 52: ; preds = %96, %45 %53 = load i32, ptr %10, align 4 %54 = load i32, ptr %7, align 4 %55 = icmp slt i32 %53, %54 br i1 %55, label %56, label %99 56: ; preds = %52 %57 = load i32, ptr %10, align 4 %58 = sitofp i32 %57 to float %59 = load float, ptr %16, align 4 %60 = fmul float %58, %59 store float %60, ptr %17, align 4 %61 = load float, ptr %17, align 4 %62 = call i32 @floor(float noundef %61) store i32 %62, ptr %11, align 4 %63 = load float, ptr %17, align 4 %64 = load i32, ptr %11, align 4 %65 = sitofp i32 %64 to float %66 = fsub float %63, %65 store float %66, ptr %18, align 4 %67 = load ptr, ptr %8, align 8 %68 = load i32, ptr %11, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds i16, ptr %67, i64 %69 %71 = load i16, ptr %70, align 2 %72 = sext i16 %71 to i32 store i32 %72, ptr %13, align 4 %73 = load ptr, ptr %8, align 8 %74 = load i32, ptr %11, align 4 %75 = add nsw i32 %74, 1 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds i16, ptr %73, i64 %76 %78 = load i16, ptr %77, align 2 %79 = sext i16 %78 to i32 store i32 %79, ptr %14, align 4 %80 = load i32, ptr %13, align 4 %81 = sitofp i32 %80 to float %82 = load float, ptr %18, align 4 %83 = fsub float 1.000000e+00, %82 %84 = load i32, ptr %14, align 4 %85 = sitofp i32 %84 to float %86 = load float, ptr %18, align 4 %87 = fmul float %85, %86 %88 = call float @llvm.fmuladd.f32(float %81, float %83, float %87) %89 = fptosi float %88 to i32 store i32 %89, ptr %15, align 4 %90 = load i32, ptr %15, align 4 %91 = trunc i32 %90 to i16 %92 = load ptr, ptr %6, align 8 %93 = load i32, ptr %10, align 4 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds i16, ptr %92, i64 %94 store i16 %91, ptr %95, align 2 br label %96 96: ; preds = %56 %97 = load i32, ptr %10, align 4 %98 = add nsw i32 %97, 1 store i32 %98, ptr %10, align 4 br label %52, !llvm.loop !8 99: ; preds = %52 store i32 0, ptr %5, align 4 br label %106 100: ; preds = %41 %101 = load ptr, ptr %6, align 8 %102 = load i32, ptr %7, align 4 %103 = load ptr, ptr %8, align 8 %104 = load i32, ptr %9, align 4 %105 = call i32 @BGBMID_ScaleSampleTrilinear(ptr noundef %101, i32 noundef %102, ptr noundef %103, i32 noundef %104) store i32 0, ptr %5, align 4 br label %106 106: ; preds = %100, %99, %40 %107 = load i32, ptr %5, align 4 ret i32 %107 } declare i32 @floor(float noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 declare i32 @BGBMID_ScaleSampleTrilinear(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwrckv1y4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @BGBMID_ScaleSample(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca float, align 4 %17 = alloca float, align 4 %18 = alloca float, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 %19 = load i32, ptr %7, align 4 %20 = load i32, ptr %9, align 4 %21 = icmp eq i32 %19, %20 br i1 %21, label %22, label %43 22: ; preds = %4 store i32 0, ptr %10, align 4 %23 = load i32, ptr %10, align 4 %24 = load i32, ptr %9, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %.lr.ph2, label %42 .lr.ph2: ; preds = %22 br label %26 26: ; preds = %.lr.ph2, %36 %27 = load ptr, ptr %8, align 8 %28 = load i32, ptr %10, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i16, ptr %27, i64 %29 %31 = load i16, ptr %30, align 2 %32 = load ptr, ptr %6, align 8 %33 = load i32, ptr %10, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i16, ptr %32, i64 %34 store i16 %31, ptr %35, align 2 br label %36 36: ; preds = %26 %37 = load i32, ptr %10, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %10, align 4 %39 = load i32, ptr %10, align 4 %40 = load i32, ptr %9, align 4 %41 = icmp slt i32 %39, %40 br i1 %41, label %26, label %._crit_edge3, !llvm.loop !6 ._crit_edge3: ; preds = %36 br label %42 42: ; preds = %._crit_edge3, %22 store i32 0, ptr %5, align 4 br label %110 43: ; preds = %4 %44 = load i32, ptr %7, align 4 %45 = load i32, ptr %9, align 4 %46 = icmp sgt i32 %44, %45 br i1 %46, label %47, label %104 47: ; preds = %43 %48 = load i32, ptr %9, align 4 %49 = sub nsw i32 %48, 1 %50 = sitofp i32 %49 to float %51 = load i32, ptr %7, align 4 %52 = sitofp i32 %51 to float %53 = fdiv float %50, %52 store float %53, ptr %16, align 4 store i32 0, ptr %10, align 4 %54 = load i32, ptr %10, align 4 %55 = load i32, ptr %7, align 4 %56 = icmp slt i32 %54, %55 br i1 %56, label %.lr.ph, label %103 .lr.ph: ; preds = %47 br label %57 57: ; preds = %.lr.ph, %97 %58 = load i32, ptr %10, align 4 %59 = sitofp i32 %58 to float %60 = load float, ptr %16, align 4 %61 = fmul float %59, %60 store float %61, ptr %17, align 4 %62 = load float, ptr %17, align 4 %63 = call i32 @floor(float noundef %62) store i32 %63, ptr %11, align 4 %64 = load float, ptr %17, align 4 %65 = load i32, ptr %11, align 4 %66 = sitofp i32 %65 to float %67 = fsub float %64, %66 store float %67, ptr %18, align 4 %68 = load ptr, ptr %8, align 8 %69 = load i32, ptr %11, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds i16, ptr %68, i64 %70 %72 = load i16, ptr %71, align 2 %73 = sext i16 %72 to i32 store i32 %73, ptr %13, align 4 %74 = load ptr, ptr %8, align 8 %75 = load i32, ptr %11, align 4 %76 = add nsw i32 %75, 1 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds i16, ptr %74, i64 %77 %79 = load i16, ptr %78, align 2 %80 = sext i16 %79 to i32 store i32 %80, ptr %14, align 4 %81 = load i32, ptr %13, align 4 %82 = sitofp i32 %81 to float %83 = load float, ptr %18, align 4 %84 = fsub float 1.000000e+00, %83 %85 = load i32, ptr %14, align 4 %86 = sitofp i32 %85 to float %87 = load float, ptr %18, align 4 %88 = fmul float %86, %87 %89 = call float @llvm.fmuladd.f32(float %82, float %84, float %88) %90 = fptosi float %89 to i32 store i32 %90, ptr %15, align 4 %91 = load i32, ptr %15, align 4 %92 = trunc i32 %91 to i16 %93 = load ptr, ptr %6, align 8 %94 = load i32, ptr %10, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds i16, ptr %93, i64 %95 store i16 %92, ptr %96, align 2 br label %97 97: ; preds = %57 %98 = load i32, ptr %10, align 4 %99 = add nsw i32 %98, 1 store i32 %99, ptr %10, align 4 %100 = load i32, ptr %10, align 4 %101 = load i32, ptr %7, align 4 %102 = icmp slt i32 %100, %101 br i1 %102, label %57, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %97 br label %103 103: ; preds = %._crit_edge, %47 store i32 0, ptr %5, align 4 br label %110 104: ; preds = %43 %105 = load ptr, ptr %6, align 8 %106 = load i32, ptr %7, align 4 %107 = load ptr, ptr %8, align 8 %108 = load i32, ptr %9, align 4 %109 = call i32 @BGBMID_ScaleSampleTrilinear(ptr noundef %105, i32 noundef %106, ptr noundef %107, i32 noundef %108) store i32 0, ptr %5, align 4 br label %110 110: ; preds = %104, %103, %42 %111 = load i32, ptr %5, align 4 ret i32 %111 } declare i32 @floor(float noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 declare i32 @BGBMID_ScaleSampleTrilinear(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpp8trrfed.c' source_filename = "/tmp/tmpp8trrfed.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CLOCK_MONOTONIC = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp8trrfed.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CLOCK_MONOTONIC = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplkag97r3.c' source_filename = "/tmp/tmplkag97r3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @F_SETFL = dso_local global i32 0, align 4 @O_NONBLOCK = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [27 x i8] c"set_nonblocking: fcntl: %s\00", align 1 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @set_nonblocking(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = load i32, ptr @F_SETFL, align 4 %6 = load i32, ptr @O_NONBLOCK, align 4 %7 = call i64 @fcntl(i32 noundef %4, i32 noundef %5, i32 noundef %6) %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %13 9: ; preds = %1 %10 = load i32, ptr @errno, align 4 %11 = call i32 @strerror(i32 noundef %10) %12 = call i32 @log_message(ptr noundef @.str, i32 noundef %11) store i32 -1, ptr %2, align 4 br label %14 13: ; preds = %1 store i32 0, ptr %2, align 4 br label %14 14: ; preds = %13, %9 %15 = load i32, ptr %2, align 4 ret i32 %15 } declare i64 @fcntl(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @log_message(ptr noundef, i32 noundef) #1 declare i32 @strerror(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplkag97r3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @F_SETFL = dso_local global i32 0, align 4 @O_NONBLOCK = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [27 x i8] c"set_nonblocking: fcntl: %s\00", align 1 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @set_nonblocking(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = load i32, ptr @F_SETFL, align 4 %6 = load i32, ptr @O_NONBLOCK, align 4 %7 = call i64 @fcntl(i32 noundef %4, i32 noundef %5, i32 noundef %6) %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %13 9: ; preds = %1 %10 = load i32, ptr @errno, align 4 %11 = call i32 @strerror(i32 noundef %10) %12 = call i32 @log_message(ptr noundef @.str, i32 noundef %11) store i32 -1, ptr %2, align 4 br label %14 13: ; preds = %1 store i32 0, ptr %2, align 4 br label %14 14: ; preds = %13, %9 %15 = load i32, ptr %2, align 4 ret i32 %15 } declare i64 @fcntl(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @log_message(ptr noundef, i32 noundef) #1 declare i32 @strerror(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzjom0a79.c' source_filename = "/tmp/tmpzjom0a79.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"(le(i,j,k,n),le(i,j,k,n))\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %3, align 4 br label %5 5: ; preds = %9, %0 %6 = load i32, ptr %2, align 4 %7 = load i32, ptr %1, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %9, label %15 9: ; preds = %5 %10 = call i32 @tmpl(ptr noundef @.str) %11 = load i32, ptr %2, align 4 %12 = add nsw i32 %11, 1 store i32 %12, ptr %2, align 4 %13 = load i32, ptr %3, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %3, align 4 br label %5, !llvm.loop !6 15: ; preds = %5 store i32 0, ptr %4, align 4 br label %16 16: ; preds = %26, %15 %17 = load i32, ptr %4, align 4 %18 = load i32, ptr %1, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %20, label %31 20: ; preds = %16 %21 = call i32 @tmpl(ptr noundef @.str) %22 = load i32, ptr %3, align 4 %23 = icmp sle i32 %22, 0 br i1 %23, label %24, label %26 24: ; preds = %20 br label %25 25: ; preds = %24 br label %26 26: ; preds = %25, %20 %27 = load i32, ptr %4, align 4 %28 = add nsw i32 %27, 2 store i32 %28, ptr %4, align 4 %29 = load i32, ptr %3, align 4 %30 = add nsw i32 %29, -1 store i32 %30, ptr %3, align 4 br label %16, !llvm.loop !8 31: ; preds = %16 ret void } declare i32 @tmpl(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzjom0a79.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"(le(i,j,k,n),le(i,j,k,n))\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %3, align 4 %5 = load i32, ptr %2, align 4 %6 = load i32, ptr %1, align 4 %7 = icmp slt i32 %5, %6 br i1 %7, label %.lr.ph, label %17 .lr.ph: ; preds = %0 br label %8 8: ; preds = %.lr.ph, %8 %9 = call i32 @tmpl(ptr noundef @.str) %10 = load i32, ptr %2, align 4 %11 = add nsw i32 %10, 1 store i32 %11, ptr %2, align 4 %12 = load i32, ptr %3, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %3, align 4 %14 = load i32, ptr %2, align 4 %15 = load i32, ptr %1, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %8 br label %17 17: ; preds = %._crit_edge, %0 store i32 0, ptr %4, align 4 %18 = load i32, ptr %4, align 4 %19 = load i32, ptr %1, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %.lr.ph2, label %35 .lr.ph2: ; preds = %17 br label %21 21: ; preds = %.lr.ph2, %27 %22 = call i32 @tmpl(ptr noundef @.str) %23 = load i32, ptr %3, align 4 %24 = icmp sle i32 %23, 0 br i1 %24, label %25, label %27 25: ; preds = %21 br label %26 26: ; preds = %25 br label %27 27: ; preds = %26, %21 %28 = load i32, ptr %4, align 4 %29 = add nsw i32 %28, 2 store i32 %29, ptr %4, align 4 %30 = load i32, ptr %3, align 4 %31 = add nsw i32 %30, -1 store i32 %31, ptr %3, align 4 %32 = load i32, ptr %4, align 4 %33 = load i32, ptr %1, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %21, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %27 br label %35 35: ; preds = %._crit_edge3, %17 ret void } declare i32 @tmpl(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpb5rjpv93.c' source_filename = "/tmp/tmpb5rjpv93.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @rand64.s = internal global [2 x i32] [i32 1955588763, i32 -1799791653], align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @rand64() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = load i32, ptr @rand64.s, align 4 store i32 %4, ptr %1, align 4 %5 = load i32, ptr getelementptr inbounds ([2 x i32], ptr @rand64.s, i64 0, i64 1), align 4 store i32 %5, ptr %2, align 4 %6 = load i32, ptr %1, align 4 %7 = load i32, ptr %2, align 4 %8 = add nsw i32 %6, %7 store i32 %8, ptr %3, align 4 %9 = load i32, ptr %1, align 4 %10 = load i32, ptr %2, align 4 %11 = xor i32 %10, %9 store i32 %11, ptr %2, align 4 %12 = load i32, ptr %1, align 4 %13 = call i32 @rotl(i32 noundef %12, i32 noundef 55) %14 = load i32, ptr %2, align 4 %15 = xor i32 %13, %14 %16 = load i32, ptr %2, align 4 %17 = shl i32 %16, 14 %18 = xor i32 %15, %17 store i32 %18, ptr @rand64.s, align 4 %19 = load i32, ptr %2, align 4 %20 = call i32 @rotl(i32 noundef %19, i32 noundef 36) store i32 %20, ptr getelementptr inbounds ([2 x i32], ptr @rand64.s, i64 0, i64 1), align 4 %21 = load i32, ptr %3, align 4 ret i32 %21 } declare i32 @rotl(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb5rjpv93.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @rand64.s = internal global [2 x i32] [i32 1955588763, i32 -1799791653], align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @rand64() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = load i32, ptr @rand64.s, align 4 store i32 %4, ptr %1, align 4 %5 = load i32, ptr getelementptr inbounds ([2 x i32], ptr @rand64.s, i64 0, i64 1), align 4 store i32 %5, ptr %2, align 4 %6 = load i32, ptr %1, align 4 %7 = load i32, ptr %2, align 4 %8 = add nsw i32 %6, %7 store i32 %8, ptr %3, align 4 %9 = load i32, ptr %1, align 4 %10 = load i32, ptr %2, align 4 %11 = xor i32 %10, %9 store i32 %11, ptr %2, align 4 %12 = load i32, ptr %1, align 4 %13 = call i32 @rotl(i32 noundef %12, i32 noundef 55) %14 = load i32, ptr %2, align 4 %15 = xor i32 %13, %14 %16 = load i32, ptr %2, align 4 %17 = shl i32 %16, 14 %18 = xor i32 %15, %17 store i32 %18, ptr @rand64.s, align 4 %19 = load i32, ptr %2, align 4 %20 = call i32 @rotl(i32 noundef %19, i32 noundef 36) store i32 %20, ptr getelementptr inbounds ([2 x i32], ptr @rand64.s, i64 0, i64 1), align 4 %21 = load i32, ptr %3, align 4 ret i32 %21 } declare i32 @rotl(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpejymtmkt.c' source_filename = "/tmp/tmpejymtmkt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [43 x i8] c"NexStar does not support software limits.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @SetLimits(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 %5 = load double, ptr %4, align 8 store double %5, ptr %3, align 8 %6 = load i32, ptr @stderr, align 4 %7 = call i32 @fprintf(i32 noundef %6, ptr noundef @.str) ret void } declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpejymtmkt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [43 x i8] c"NexStar does not support software limits.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @SetLimits(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 %5 = load double, ptr %4, align 8 store double %5, ptr %3, align 8 %6 = load i32, ptr @stderr, align 4 %7 = call i32 @fprintf(i32 noundef %6, ptr noundef @.str) ret void } declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptsb36zp3.c' source_filename = "/tmp/tmptsb36zp3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.uinput_user_dev = type { ptr, ptr, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32, i32, i32, i32 } @UI_SET_EVBIT = dso_local global i32 0, align 4 @EV_SYN = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [33 x i8] c"error: ioctl UI_SET_EVBIT EV_SYN\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @EV_KEY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [33 x i8] c"error: ioctl UI_SET_EVBIT EV_KEY\00", align 1 @UI_SET_KEYBIT = dso_local global i32 0, align 4 @BTN_TOUCH = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [27 x i8] c"error: ioctl UI_SET_KEYBIT\00", align 1 @EV_ABS = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [33 x i8] c"error: ioctl UI_SET_EVBIT EV_ABS\00", align 1 @UI_SET_ABSBIT = dso_local global i32 0, align 4 @ABS_X = dso_local global i64 0, align 8 @.str.4 = private unnamed_addr constant [31 x i8] c"error: ioctl UI_SETEVBIT ABS_X\00", align 1 @ABS_Y = dso_local global i64 0, align 8 @.str.5 = private unnamed_addr constant [31 x i8] c"error: ioctl UI_SETEVBIT ABS_Y\00", align 1 @ABS_PRESSURE = dso_local global i64 0, align 8 @.str.6 = private unnamed_addr constant [38 x i8] c"error: ioctl UI_SETEVBIT ABS_PRESSURE\00", align 1 @UINPUT_MAX_NAME_SIZE = dso_local global i32 0, align 4 @.str.7 = private unnamed_addr constant [15 x i8] c"Network Tablet\00", align 1 @BUS_VIRTUAL = dso_local global i32 0, align 4 @SHRT_MAX = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [13 x i8] c"error: write\00", align 1 @UI_DEV_CREATE = dso_local global i32 0, align 4 @.str.9 = private unnamed_addr constant [13 x i8] c"error: ioctl\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @init_device(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca %struct.uinput_user_dev, align 8 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = load i32, ptr @UI_SET_EVBIT, align 4 %6 = load i32, ptr @EV_SYN, align 4 %7 = call i64 (i32, i32, ...) @ioctl(i32 noundef %4, i32 noundef %5, i32 noundef %6) %8 = icmp slt i64 %7, 0 br i1 %8, label %9, label %13 9: ; preds = %1 %10 = call i32 @perror(ptr noundef @.str) %11 = load i32, ptr @EXIT_FAILURE, align 4 %12 = call i32 @exit(i32 noundef %11) #3 unreachable 13: ; preds = %1 %14 = load i32, ptr %2, align 4 %15 = load i32, ptr @UI_SET_EVBIT, align 4 %16 = load i32, ptr @EV_KEY, align 4 %17 = call i64 (i32, i32, ...) @ioctl(i32 noundef %14, i32 noundef %15, i32 noundef %16) %18 = icmp slt i64 %17, 0 br i1 %18, label %19, label %23 19: ; preds = %13 %20 = call i32 @perror(ptr noundef @.str.1) %21 = load i32, ptr @EXIT_FAILURE, align 4 %22 = call i32 @exit(i32 noundef %21) #3 unreachable 23: ; preds = %13 %24 = load i32, ptr %2, align 4 %25 = load i32, ptr @UI_SET_KEYBIT, align 4 %26 = load i32, ptr @BTN_TOUCH, align 4 %27 = call i64 (i32, i32, ...) @ioctl(i32 noundef %24, i32 noundef %25, i32 noundef %26) %28 = icmp slt i64 %27, 0 br i1 %28, label %29, label %33 29: ; preds = %23 %30 = call i32 @perror(ptr noundef @.str.2) %31 = load i32, ptr @EXIT_FAILURE, align 4 %32 = call i32 @exit(i32 noundef %31) #3 unreachable 33: ; preds = %23 %34 = load i32, ptr %2, align 4 %35 = load i32, ptr @UI_SET_EVBIT, align 4 %36 = load i32, ptr @EV_ABS, align 4 %37 = call i64 (i32, i32, ...) @ioctl(i32 noundef %34, i32 noundef %35, i32 noundef %36) %38 = icmp slt i64 %37, 0 br i1 %38, label %39, label %43 39: ; preds = %33 %40 = call i32 @perror(ptr noundef @.str.3) %41 = load i32, ptr @EXIT_FAILURE, align 4 %42 = call i32 @exit(i32 noundef %41) #3 unreachable 43: ; preds = %33 %44 = load i32, ptr %2, align 4 %45 = load i32, ptr @UI_SET_ABSBIT, align 4 %46 = load i64, ptr @ABS_X, align 8 %47 = call i64 (i32, i32, ...) @ioctl(i32 noundef %44, i32 noundef %45, i64 noundef %46) %48 = icmp slt i64 %47, 0 br i1 %48, label %49, label %53 49: ; preds = %43 %50 = call i32 @perror(ptr noundef @.str.4) %51 = load i32, ptr @EXIT_FAILURE, align 4 %52 = call i32 @exit(i32 noundef %51) #3 unreachable 53: ; preds = %43 %54 = load i32, ptr %2, align 4 %55 = load i32, ptr @UI_SET_ABSBIT, align 4 %56 = load i64, ptr @ABS_Y, align 8 %57 = call i64 (i32, i32, ...) @ioctl(i32 noundef %54, i32 noundef %55, i64 noundef %56) %58 = icmp slt i64 %57, 0 br i1 %58, label %59, label %63 59: ; preds = %53 %60 = call i32 @perror(ptr noundef @.str.5) %61 = load i32, ptr @EXIT_FAILURE, align 4 %62 = call i32 @exit(i32 noundef %61) #3 unreachable 63: ; preds = %53 %64 = load i32, ptr %2, align 4 %65 = load i32, ptr @UI_SET_ABSBIT, align 4 %66 = load i64, ptr @ABS_PRESSURE, align 8 %67 = call i64 (i32, i32, ...) @ioctl(i32 noundef %64, i32 noundef %65, i64 noundef %66) %68 = icmp slt i64 %67, 0 br i1 %68, label %69, label %73 69: ; preds = %63 %70 = call i32 @perror(ptr noundef @.str.6) %71 = load i32, ptr @EXIT_FAILURE, align 4 %72 = call i32 @exit(i32 noundef %71) #3 unreachable 73: ; preds = %63 %74 = call i32 @memset(ptr noundef %3, i32 noundef 0, i32 noundef 40) %75 = getelementptr inbounds %struct.uinput_user_dev, ptr %3, i32 0, i32 3 %76 = load i32, ptr %75, align 8 %77 = load i32, ptr @UINPUT_MAX_NAME_SIZE, align 4 %78 = call i32 @snprintf(i32 noundef %76, i32 noundef %77, ptr noundef @.str.7) %79 = load i32, ptr @BUS_VIRTUAL, align 4 %80 = getelementptr inbounds %struct.uinput_user_dev, ptr %3, i32 0, i32 2 %81 = getelementptr inbounds %struct.TYPE_2__, ptr %80, i32 0, i32 3 store i32 %79, ptr %81, align 4 %82 = getelementptr inbounds %struct.uinput_user_dev, ptr %3, i32 0, i32 2 %83 = getelementptr inbounds %struct.TYPE_2__, ptr %82, i32 0, i32 0 store i32 1, ptr %83, align 8 %84 = getelementptr inbounds %struct.uinput_user_dev, ptr %3, i32 0, i32 2 %85 = getelementptr inbounds %struct.TYPE_2__, ptr %84, i32 0, i32 1 store i32 1, ptr %85, align 4 %86 = getelementptr inbounds %struct.uinput_user_dev, ptr %3, i32 0, i32 2 %87 = getelementptr inbounds %struct.TYPE_2__, ptr %86, i32 0, i32 2 store i32 1, ptr %87, align 8 %88 = getelementptr inbounds %struct.uinput_user_dev, ptr %3, i32 0, i32 1 %89 = load ptr, ptr %88, align 8 %90 = load i64, ptr @ABS_X, align 8 %91 = getelementptr inbounds i64, ptr %89, i64 %90 store i64 0, ptr %91, align 8 %92 = load i32, ptr @SHRT_MAX, align 4 %93 = getelementptr inbounds %struct.uinput_user_dev, ptr %3, i32 0, i32 0 %94 = load ptr, ptr %93, align 8 %95 = load i64, ptr @ABS_X, align 8 %96 = getelementptr inbounds i32, ptr %94, i64 %95 store i32 %92, ptr %96, align 4 %97 = getelementptr inbounds %struct.uinput_user_dev, ptr %3, i32 0, i32 1 %98 = load ptr, ptr %97, align 8 %99 = load i64, ptr @ABS_Y, align 8 %100 = getelementptr inbounds i64, ptr %98, i64 %99 store i64 0, ptr %100, align 8 %101 = load i32, ptr @SHRT_MAX, align 4 %102 = getelementptr inbounds %struct.uinput_user_dev, ptr %3, i32 0, i32 0 %103 = load ptr, ptr %102, align 8 %104 = load i64, ptr @ABS_Y, align 8 %105 = getelementptr inbounds i32, ptr %103, i64 %104 store i32 %101, ptr %105, align 4 %106 = getelementptr inbounds %struct.uinput_user_dev, ptr %3, i32 0, i32 1 %107 = load ptr, ptr %106, align 8 %108 = load i64, ptr @ABS_PRESSURE, align 8 %109 = getelementptr inbounds i64, ptr %107, i64 %108 store i64 0, ptr %109, align 8 %110 = load i32, ptr @SHRT_MAX, align 4 %111 = sdiv i32 %110, 2 %112 = getelementptr inbounds %struct.uinput_user_dev, ptr %3, i32 0, i32 0 %113 = load ptr, ptr %112, align 8 %114 = load i64, ptr @ABS_PRESSURE, align 8 %115 = getelementptr inbounds i32, ptr %113, i64 %114 store i32 %111, ptr %115, align 4 %116 = load i32, ptr %2, align 4 %117 = call i64 @write(i32 noundef %116, ptr noundef %3, i32 noundef 40) %118 = icmp slt i64 %117, 0 br i1 %118, label %119, label %123 119: ; preds = %73 %120 = call i32 @perror(ptr noundef @.str.8) %121 = load i32, ptr @EXIT_FAILURE, align 4 %122 = call i32 @exit(i32 noundef %121) #3 unreachable 123: ; preds = %73 %124 = load i32, ptr %2, align 4 %125 = load i32, ptr @UI_DEV_CREATE, align 4 %126 = call i64 (i32, i32, ...) @ioctl(i32 noundef %124, i32 noundef %125) %127 = icmp slt i64 %126, 0 br i1 %127, label %128, label %132 128: ; preds = %123 %129 = call i32 @perror(ptr noundef @.str.9) %130 = load i32, ptr @EXIT_FAILURE, align 4 %131 = call i32 @exit(i32 noundef %130) #3 unreachable 132: ; preds = %123 ret void } declare i64 @ioctl(i32 noundef, i32 noundef, ...) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @snprintf(i32 noundef, i32 noundef, ptr noundef) #1 declare i64 @write(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptsb36zp3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.uinput_user_dev = type { ptr, ptr, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32, i32, i32, i32 } @UI_SET_EVBIT = dso_local global i32 0, align 4 @EV_SYN = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [33 x i8] c"error: ioctl UI_SET_EVBIT EV_SYN\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @EV_KEY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [33 x i8] c"error: ioctl UI_SET_EVBIT EV_KEY\00", align 1 @UI_SET_KEYBIT = dso_local global i32 0, align 4 @BTN_TOUCH = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [27 x i8] c"error: ioctl UI_SET_KEYBIT\00", align 1 @EV_ABS = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [33 x i8] c"error: ioctl UI_SET_EVBIT EV_ABS\00", align 1 @UI_SET_ABSBIT = dso_local global i32 0, align 4 @ABS_X = dso_local global i64 0, align 8 @.str.4 = private unnamed_addr constant [31 x i8] c"error: ioctl UI_SETEVBIT ABS_X\00", align 1 @ABS_Y = dso_local global i64 0, align 8 @.str.5 = private unnamed_addr constant [31 x i8] c"error: ioctl UI_SETEVBIT ABS_Y\00", align 1 @ABS_PRESSURE = dso_local global i64 0, align 8 @.str.6 = private unnamed_addr constant [38 x i8] c"error: ioctl UI_SETEVBIT ABS_PRESSURE\00", align 1 @UINPUT_MAX_NAME_SIZE = dso_local global i32 0, align 4 @.str.7 = private unnamed_addr constant [15 x i8] c"Network Tablet\00", align 1 @BUS_VIRTUAL = dso_local global i32 0, align 4 @SHRT_MAX = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [13 x i8] c"error: write\00", align 1 @UI_DEV_CREATE = dso_local global i32 0, align 4 @.str.9 = private unnamed_addr constant [13 x i8] c"error: ioctl\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @init_device(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca %struct.uinput_user_dev, align 8 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = load i32, ptr @UI_SET_EVBIT, align 4 %6 = load i32, ptr @EV_SYN, align 4 %7 = call i64 (i32, i32, ...) @ioctl(i32 noundef %4, i32 noundef %5, i32 noundef %6) %8 = icmp slt i64 %7, 0 br i1 %8, label %9, label %13 9: ; preds = %1 %10 = call i32 @perror(ptr noundef @.str) %11 = load i32, ptr @EXIT_FAILURE, align 4 %12 = call i32 @exit(i32 noundef %11) #3 unreachable 13: ; preds = %1 %14 = load i32, ptr %2, align 4 %15 = load i32, ptr @UI_SET_EVBIT, align 4 %16 = load i32, ptr @EV_KEY, align 4 %17 = call i64 (i32, i32, ...) @ioctl(i32 noundef %14, i32 noundef %15, i32 noundef %16) %18 = icmp slt i64 %17, 0 br i1 %18, label %19, label %23 19: ; preds = %13 %20 = call i32 @perror(ptr noundef @.str.1) %21 = load i32, ptr @EXIT_FAILURE, align 4 %22 = call i32 @exit(i32 noundef %21) #3 unreachable 23: ; preds = %13 %24 = load i32, ptr %2, align 4 %25 = load i32, ptr @UI_SET_KEYBIT, align 4 %26 = load i32, ptr @BTN_TOUCH, align 4 %27 = call i64 (i32, i32, ...) @ioctl(i32 noundef %24, i32 noundef %25, i32 noundef %26) %28 = icmp slt i64 %27, 0 br i1 %28, label %29, label %33 29: ; preds = %23 %30 = call i32 @perror(ptr noundef @.str.2) %31 = load i32, ptr @EXIT_FAILURE, align 4 %32 = call i32 @exit(i32 noundef %31) #3 unreachable 33: ; preds = %23 %34 = load i32, ptr %2, align 4 %35 = load i32, ptr @UI_SET_EVBIT, align 4 %36 = load i32, ptr @EV_ABS, align 4 %37 = call i64 (i32, i32, ...) @ioctl(i32 noundef %34, i32 noundef %35, i32 noundef %36) %38 = icmp slt i64 %37, 0 br i1 %38, label %39, label %43 39: ; preds = %33 %40 = call i32 @perror(ptr noundef @.str.3) %41 = load i32, ptr @EXIT_FAILURE, align 4 %42 = call i32 @exit(i32 noundef %41) #3 unreachable 43: ; preds = %33 %44 = load i32, ptr %2, align 4 %45 = load i32, ptr @UI_SET_ABSBIT, align 4 %46 = load i64, ptr @ABS_X, align 8 %47 = call i64 (i32, i32, ...) @ioctl(i32 noundef %44, i32 noundef %45, i64 noundef %46) %48 = icmp slt i64 %47, 0 br i1 %48, label %49, label %53 49: ; preds = %43 %50 = call i32 @perror(ptr noundef @.str.4) %51 = load i32, ptr @EXIT_FAILURE, align 4 %52 = call i32 @exit(i32 noundef %51) #3 unreachable 53: ; preds = %43 %54 = load i32, ptr %2, align 4 %55 = load i32, ptr @UI_SET_ABSBIT, align 4 %56 = load i64, ptr @ABS_Y, align 8 %57 = call i64 (i32, i32, ...) @ioctl(i32 noundef %54, i32 noundef %55, i64 noundef %56) %58 = icmp slt i64 %57, 0 br i1 %58, label %59, label %63 59: ; preds = %53 %60 = call i32 @perror(ptr noundef @.str.5) %61 = load i32, ptr @EXIT_FAILURE, align 4 %62 = call i32 @exit(i32 noundef %61) #3 unreachable 63: ; preds = %53 %64 = load i32, ptr %2, align 4 %65 = load i32, ptr @UI_SET_ABSBIT, align 4 %66 = load i64, ptr @ABS_PRESSURE, align 8 %67 = call i64 (i32, i32, ...) @ioctl(i32 noundef %64, i32 noundef %65, i64 noundef %66) %68 = icmp slt i64 %67, 0 br i1 %68, label %69, label %73 69: ; preds = %63 %70 = call i32 @perror(ptr noundef @.str.6) %71 = load i32, ptr @EXIT_FAILURE, align 4 %72 = call i32 @exit(i32 noundef %71) #3 unreachable 73: ; preds = %63 %74 = call i32 @memset(ptr noundef %3, i32 noundef 0, i32 noundef 40) %75 = getelementptr inbounds %struct.uinput_user_dev, ptr %3, i32 0, i32 3 %76 = load i32, ptr %75, align 8 %77 = load i32, ptr @UINPUT_MAX_NAME_SIZE, align 4 %78 = call i32 @snprintf(i32 noundef %76, i32 noundef %77, ptr noundef @.str.7) %79 = load i32, ptr @BUS_VIRTUAL, align 4 %80 = getelementptr inbounds %struct.uinput_user_dev, ptr %3, i32 0, i32 2 %81 = getelementptr inbounds %struct.TYPE_2__, ptr %80, i32 0, i32 3 store i32 %79, ptr %81, align 4 %82 = getelementptr inbounds %struct.uinput_user_dev, ptr %3, i32 0, i32 2 %83 = getelementptr inbounds %struct.TYPE_2__, ptr %82, i32 0, i32 0 store i32 1, ptr %83, align 8 %84 = getelementptr inbounds %struct.uinput_user_dev, ptr %3, i32 0, i32 2 %85 = getelementptr inbounds %struct.TYPE_2__, ptr %84, i32 0, i32 1 store i32 1, ptr %85, align 4 %86 = getelementptr inbounds %struct.uinput_user_dev, ptr %3, i32 0, i32 2 %87 = getelementptr inbounds %struct.TYPE_2__, ptr %86, i32 0, i32 2 store i32 1, ptr %87, align 8 %88 = getelementptr inbounds %struct.uinput_user_dev, ptr %3, i32 0, i32 1 %89 = load ptr, ptr %88, align 8 %90 = load i64, ptr @ABS_X, align 8 %91 = getelementptr inbounds i64, ptr %89, i64 %90 store i64 0, ptr %91, align 8 %92 = load i32, ptr @SHRT_MAX, align 4 %93 = getelementptr inbounds %struct.uinput_user_dev, ptr %3, i32 0, i32 0 %94 = load ptr, ptr %93, align 8 %95 = load i64, ptr @ABS_X, align 8 %96 = getelementptr inbounds i32, ptr %94, i64 %95 store i32 %92, ptr %96, align 4 %97 = getelementptr inbounds %struct.uinput_user_dev, ptr %3, i32 0, i32 1 %98 = load ptr, ptr %97, align 8 %99 = load i64, ptr @ABS_Y, align 8 %100 = getelementptr inbounds i64, ptr %98, i64 %99 store i64 0, ptr %100, align 8 %101 = load i32, ptr @SHRT_MAX, align 4 %102 = getelementptr inbounds %struct.uinput_user_dev, ptr %3, i32 0, i32 0 %103 = load ptr, ptr %102, align 8 %104 = load i64, ptr @ABS_Y, align 8 %105 = getelementptr inbounds i32, ptr %103, i64 %104 store i32 %101, ptr %105, align 4 %106 = getelementptr inbounds %struct.uinput_user_dev, ptr %3, i32 0, i32 1 %107 = load ptr, ptr %106, align 8 %108 = load i64, ptr @ABS_PRESSURE, align 8 %109 = getelementptr inbounds i64, ptr %107, i64 %108 store i64 0, ptr %109, align 8 %110 = load i32, ptr @SHRT_MAX, align 4 %111 = sdiv i32 %110, 2 %112 = getelementptr inbounds %struct.uinput_user_dev, ptr %3, i32 0, i32 0 %113 = load ptr, ptr %112, align 8 %114 = load i64, ptr @ABS_PRESSURE, align 8 %115 = getelementptr inbounds i32, ptr %113, i64 %114 store i32 %111, ptr %115, align 4 %116 = load i32, ptr %2, align 4 %117 = call i64 @write(i32 noundef %116, ptr noundef %3, i32 noundef 40) %118 = icmp slt i64 %117, 0 br i1 %118, label %119, label %123 119: ; preds = %73 %120 = call i32 @perror(ptr noundef @.str.8) %121 = load i32, ptr @EXIT_FAILURE, align 4 %122 = call i32 @exit(i32 noundef %121) #3 unreachable 123: ; preds = %73 %124 = load i32, ptr %2, align 4 %125 = load i32, ptr @UI_DEV_CREATE, align 4 %126 = call i64 (i32, i32, ...) @ioctl(i32 noundef %124, i32 noundef %125) %127 = icmp slt i64 %126, 0 br i1 %127, label %128, label %132 128: ; preds = %123 %129 = call i32 @perror(ptr noundef @.str.9) %130 = load i32, ptr @EXIT_FAILURE, align 4 %131 = call i32 @exit(i32 noundef %130) #3 unreachable 132: ; preds = %123 ret void } declare i64 @ioctl(i32 noundef, i32 noundef, ...) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @snprintf(i32 noundef, i32 noundef, ptr noundef) #1 declare i64 @write(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmph0do2hw7.c' source_filename = "/tmp/tmph0do2hw7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [106 x i8] c"get_folder_data\09application=%s\09\09\09\09\09\09select=manipulate_agency\09\09\09\09folder=station_datatype\09\09\09\09\09where=\22%s\22\09\09\09\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @station_datatype_get_manipulate_agency(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca [1024 x i8], align 16 %8 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %6, align 8 %11 = call ptr @station_datatype_where(ptr noundef %9, ptr noundef %10) store ptr %11, ptr %8, align 8 %12 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %13 = load ptr, ptr %4, align 8 %14 = load ptr, ptr %8, align 8 %15 = call i32 @sprintf(ptr noundef %12, ptr noundef @.str, ptr noundef %13, ptr noundef %14) %16 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %17 = call ptr @pipe2string(ptr noundef %16) ret ptr %17 } declare ptr @station_datatype_where(ptr noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @pipe2string(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmph0do2hw7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [106 x i8] c"get_folder_data\09application=%s\09\09\09\09\09\09select=manipulate_agency\09\09\09\09folder=station_datatype\09\09\09\09\09where=\22%s\22\09\09\09\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @station_datatype_get_manipulate_agency(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca [1024 x i8], align 16 %8 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %6, align 8 %11 = call ptr @station_datatype_where(ptr noundef %9, ptr noundef %10) store ptr %11, ptr %8, align 8 %12 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %13 = load ptr, ptr %4, align 8 %14 = load ptr, ptr %8, align 8 %15 = call i32 @sprintf(ptr noundef %12, ptr noundef @.str, ptr noundef %13, ptr noundef %14) %16 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %17 = call ptr @pipe2string(ptr noundef %16) ret ptr %17 } declare ptr @station_datatype_where(ptr noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @pipe2string(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8fs129pe.c' source_filename = "/tmp/tmp8fs129pe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c":%02X%04X%02X\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%02X\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"%02X\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @write_ihex(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 store i32 0, ptr %9, align 4 br label %15 15: ; preds = %85, %4 %16 = load i32, ptr %9, align 4 %17 = load i32, ptr %7, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %19, label %88 19: ; preds = %15 %20 = load i32, ptr %9, align 4 %21 = load i32, ptr %8, align 4 %22 = add nsw i32 %20, %21 store i32 %22, ptr %10, align 4 %23 = load i32, ptr %8, align 4 %24 = icmp eq i32 %23, 65535 br i1 %24, label %25, label %26 25: ; preds = %19 store i32 0, ptr %10, align 4 br label %26 26: ; preds = %25, %19 store i32 0, ptr %11, align 4 store i32 0, ptr %12, align 4 store i32 32, ptr %13, align 4 %27 = load i32, ptr %7, align 4 %28 = load i32, ptr %9, align 4 %29 = sub nsw i32 %27, %28 %30 = icmp slt i32 %29, 32 br i1 %30, label %31, label %35 31: ; preds = %26 %32 = load i32, ptr %7, align 4 %33 = load i32, ptr %9, align 4 %34 = sub nsw i32 %32, %33 store i32 %34, ptr %13, align 4 br label %35 35: ; preds = %31, %26 %36 = load i32, ptr %13, align 4 %37 = load i32, ptr %11, align 4 %38 = add nsw i32 %37, %36 store i32 %38, ptr %11, align 4 %39 = load i32, ptr %10, align 4 %40 = and i32 %39, 255 %41 = load i32, ptr %11, align 4 %42 = add nsw i32 %41, %40 store i32 %42, ptr %11, align 4 %43 = load i32, ptr %10, align 4 %44 = ashr i32 %43, 8 %45 = and i32 %44, 255 %46 = load i32, ptr %11, align 4 %47 = add nsw i32 %46, %45 store i32 %47, ptr %11, align 4 %48 = load ptr, ptr %5, align 8 %49 = load i32, ptr %13, align 4 %50 = load i32, ptr %10, align 4 %51 = load i32, ptr %12, align 4 %52 = call i32 (ptr, ptr, i32, ...) @fprintf(ptr noundef %48, ptr noundef @.str, i32 noundef %49, i32 noundef %50, i32 noundef %51) store i32 0, ptr %14, align 4 br label %53 53: ; preds = %72, %35 %54 = load i32, ptr %14, align 4 %55 = load i32, ptr %13, align 4 %56 = icmp slt i32 %54, %55 br i1 %56, label %57, label %75 57: ; preds = %53 %58 = load ptr, ptr %6, align 8 %59 = load i32, ptr %14, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i32, ptr %58, i64 %60 %62 = load i32, ptr %61, align 4 %63 = load i32, ptr %11, align 4 %64 = add nsw i32 %63, %62 store i32 %64, ptr %11, align 4 %65 = load ptr, ptr %5, align 8 %66 = load ptr, ptr %6, align 8 %67 = load i32, ptr %14, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds i32, ptr %66, i64 %68 %70 = load i32, ptr %69, align 4 %71 = call i32 (ptr, ptr, i32, ...) @fprintf(ptr noundef %65, ptr noundef @.str.1, i32 noundef %70) br label %72 72: ; preds = %57 %73 = load i32, ptr %14, align 4 %74 = add nsw i32 %73, 1 store i32 %74, ptr %14, align 4 br label %53, !llvm.loop !6 75: ; preds = %53 %76 = load i32, ptr %11, align 4 %77 = sub nsw i32 256, %76 store i32 %77, ptr %11, align 4 %78 = load ptr, ptr %5, align 8 %79 = load i32, ptr %11, align 4 %80 = call i32 (ptr, ptr, i32, ...) @fprintf(ptr noundef %78, ptr noundef @.str.2, i32 noundef %79) %81 = load i32, ptr %13, align 4 %82 = load ptr, ptr %6, align 8 %83 = sext i32 %81 to i64 %84 = getelementptr inbounds i32, ptr %82, i64 %83 store ptr %84, ptr %6, align 8 br label %85 85: ; preds = %75 %86 = load i32, ptr %9, align 4 %87 = add nsw i32 %86, 32 store i32 %87, ptr %9, align 4 br label %15, !llvm.loop !8 88: ; preds = %15 ret void } declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8fs129pe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c":%02X%04X%02X\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%02X\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"%02X\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @write_ihex(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 store i32 0, ptr %9, align 4 %15 = load i32, ptr %9, align 4 %16 = load i32, ptr %7, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %.lr.ph2, label %92 .lr.ph2: ; preds = %4 br label %18 18: ; preds = %.lr.ph2, %86 %19 = load i32, ptr %9, align 4 %20 = load i32, ptr %8, align 4 %21 = add nsw i32 %19, %20 store i32 %21, ptr %10, align 4 %22 = load i32, ptr %8, align 4 %23 = icmp eq i32 %22, 65535 br i1 %23, label %24, label %25 24: ; preds = %18 store i32 0, ptr %10, align 4 br label %25 25: ; preds = %24, %18 store i32 0, ptr %11, align 4 store i32 0, ptr %12, align 4 store i32 32, ptr %13, align 4 %26 = load i32, ptr %7, align 4 %27 = load i32, ptr %9, align 4 %28 = sub nsw i32 %26, %27 %29 = icmp slt i32 %28, 32 br i1 %29, label %30, label %34 30: ; preds = %25 %31 = load i32, ptr %7, align 4 %32 = load i32, ptr %9, align 4 %33 = sub nsw i32 %31, %32 store i32 %33, ptr %13, align 4 br label %34 34: ; preds = %30, %25 %35 = load i32, ptr %13, align 4 %36 = load i32, ptr %11, align 4 %37 = add nsw i32 %36, %35 store i32 %37, ptr %11, align 4 %38 = load i32, ptr %10, align 4 %39 = and i32 %38, 255 %40 = load i32, ptr %11, align 4 %41 = add nsw i32 %40, %39 store i32 %41, ptr %11, align 4 %42 = load i32, ptr %10, align 4 %43 = ashr i32 %42, 8 %44 = and i32 %43, 255 %45 = load i32, ptr %11, align 4 %46 = add nsw i32 %45, %44 store i32 %46, ptr %11, align 4 %47 = load ptr, ptr %5, align 8 %48 = load i32, ptr %13, align 4 %49 = load i32, ptr %10, align 4 %50 = load i32, ptr %12, align 4 %51 = call i32 (ptr, ptr, i32, ...) @fprintf(ptr noundef %47, ptr noundef @.str, i32 noundef %48, i32 noundef %49, i32 noundef %50) store i32 0, ptr %14, align 4 %52 = load i32, ptr %14, align 4 %53 = load i32, ptr %13, align 4 %54 = icmp slt i32 %52, %53 br i1 %54, label %.lr.ph, label %76 .lr.ph: ; preds = %34 br label %55 55: ; preds = %.lr.ph, %70 %56 = load ptr, ptr %6, align 8 %57 = load i32, ptr %14, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds i32, ptr %56, i64 %58 %60 = load i32, ptr %59, align 4 %61 = load i32, ptr %11, align 4 %62 = add nsw i32 %61, %60 store i32 %62, ptr %11, align 4 %63 = load ptr, ptr %5, align 8 %64 = load ptr, ptr %6, align 8 %65 = load i32, ptr %14, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds i32, ptr %64, i64 %66 %68 = load i32, ptr %67, align 4 %69 = call i32 (ptr, ptr, i32, ...) @fprintf(ptr noundef %63, ptr noundef @.str.1, i32 noundef %68) br label %70 70: ; preds = %55 %71 = load i32, ptr %14, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %14, align 4 %73 = load i32, ptr %14, align 4 %74 = load i32, ptr %13, align 4 %75 = icmp slt i32 %73, %74 br i1 %75, label %55, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %70 br label %76 76: ; preds = %._crit_edge, %34 %77 = load i32, ptr %11, align 4 %78 = sub nsw i32 256, %77 store i32 %78, ptr %11, align 4 %79 = load ptr, ptr %5, align 8 %80 = load i32, ptr %11, align 4 %81 = call i32 (ptr, ptr, i32, ...) @fprintf(ptr noundef %79, ptr noundef @.str.2, i32 noundef %80) %82 = load i32, ptr %13, align 4 %83 = load ptr, ptr %6, align 8 %84 = sext i32 %82 to i64 %85 = getelementptr inbounds i32, ptr %83, i64 %84 store ptr %85, ptr %6, align 8 br label %86 86: ; preds = %76 %87 = load i32, ptr %9, align 4 %88 = add nsw i32 %87, 32 store i32 %88, ptr %9, align 4 %89 = load i32, ptr %9, align 4 %90 = load i32, ptr %7, align 4 %91 = icmp slt i32 %89, %90 br i1 %91, label %18, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %86 br label %92 92: ; preds = %._crit_edge3, %4 ret void } declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpxh2itrkt.c' source_filename = "/tmp/tmpxh2itrkt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @stripWhitespaces(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 store ptr %5, ptr %3, align 8 br label %6 6: ; preds = %18, %1 %7 = load ptr, ptr %3, align 8 %8 = load i8, ptr %7, align 1 %9 = sext i8 %8 to i32 %10 = icmp eq i32 %9, 32 br i1 %10, label %16, label %11 11: ; preds = %6 %12 = load ptr, ptr %3, align 8 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp eq i32 %14, 9 br label %16 16: ; preds = %11, %6 %17 = phi i1 [ true, %6 ], [ %15, %11 ] br i1 %17, label %18, label %21 18: ; preds = %16 %19 = load ptr, ptr %3, align 8 %20 = getelementptr inbounds i8, ptr %19, i32 1 store ptr %20, ptr %3, align 8 br label %6, !llvm.loop !6 21: ; preds = %16 %22 = load ptr, ptr %2, align 8 %23 = load ptr, ptr %2, align 8 %24 = call i32 @strlen(ptr noundef %23) %25 = sub nsw i32 %24, 1 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %22, i64 %26 store ptr %27, ptr %4, align 8 br label %28 28: ; preds = %45, %21 %29 = load ptr, ptr %4, align 8 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = icmp eq i32 %31, 32 br i1 %32, label %43, label %33 33: ; preds = %28 %34 = load ptr, ptr %4, align 8 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = icmp eq i32 %36, 9 br i1 %37, label %43, label %38 38: ; preds = %33 %39 = load ptr, ptr %4, align 8 %40 = load i8, ptr %39, align 1 %41 = sext i8 %40 to i32 %42 = icmp eq i32 %41, 10 br label %43 43: ; preds = %38, %33, %28 %44 = phi i1 [ true, %33 ], [ true, %28 ], [ %42, %38 ] br i1 %44, label %45, label %48 45: ; preds = %43 %46 = load ptr, ptr %4, align 8 %47 = getelementptr inbounds i8, ptr %46, i32 -1 store ptr %47, ptr %4, align 8 br label %28, !llvm.loop !8 48: ; preds = %43 %49 = load ptr, ptr %4, align 8 %50 = getelementptr inbounds i8, ptr %49, i32 1 store ptr %50, ptr %4, align 8 store i8 0, ptr %50, align 1 %51 = load ptr, ptr %2, align 8 %52 = load ptr, ptr %3, align 8 %53 = call i32 @strcpy(ptr noundef %51, ptr noundef %52) ret void } declare i32 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxh2itrkt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @stripWhitespaces(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 store ptr %5, ptr %3, align 8 br label %6 6: ; preds = %18, %1 %7 = load ptr, ptr %3, align 8 %8 = load i8, ptr %7, align 1 %9 = sext i8 %8 to i32 %10 = icmp eq i32 %9, 32 br i1 %10, label %16, label %11 11: ; preds = %6 %12 = load ptr, ptr %3, align 8 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp eq i32 %14, 9 br label %16 16: ; preds = %11, %6 %17 = phi i1 [ true, %6 ], [ %15, %11 ] br i1 %17, label %18, label %21 18: ; preds = %16 %19 = load ptr, ptr %3, align 8 %20 = getelementptr inbounds i8, ptr %19, i32 1 store ptr %20, ptr %3, align 8 br label %6, !llvm.loop !6 21: ; preds = %16 %22 = load ptr, ptr %2, align 8 %23 = load ptr, ptr %2, align 8 %24 = call i32 @strlen(ptr noundef %23) %25 = sub nsw i32 %24, 1 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %22, i64 %26 store ptr %27, ptr %4, align 8 br label %28 28: ; preds = %45, %21 %29 = load ptr, ptr %4, align 8 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = icmp eq i32 %31, 32 br i1 %32, label %43, label %33 33: ; preds = %28 %34 = load ptr, ptr %4, align 8 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = icmp eq i32 %36, 9 br i1 %37, label %43, label %38 38: ; preds = %33 %39 = load ptr, ptr %4, align 8 %40 = load i8, ptr %39, align 1 %41 = sext i8 %40 to i32 %42 = icmp eq i32 %41, 10 br label %43 43: ; preds = %38, %33, %28 %44 = phi i1 [ true, %33 ], [ true, %28 ], [ %42, %38 ] br i1 %44, label %45, label %48 45: ; preds = %43 %46 = load ptr, ptr %4, align 8 %47 = getelementptr inbounds i8, ptr %46, i32 -1 store ptr %47, ptr %4, align 8 br label %28, !llvm.loop !8 48: ; preds = %43 %49 = load ptr, ptr %4, align 8 %50 = getelementptr inbounds i8, ptr %49, i32 1 store ptr %50, ptr %4, align 8 store i8 0, ptr %50, align 1 %51 = load ptr, ptr %2, align 8 %52 = load ptr, ptr %3, align 8 %53 = call i32 @strcpy(ptr noundef %51, ptr noundef %52) ret void } declare i32 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp4uxotfeb.c' source_filename = "/tmp/tmp4uxotfeb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @s32_swap(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = load ptr, ptr %3, align 8 store ptr %7, ptr %6, align 8 store i32 0, ptr %5, align 4 br label %8 8: ; preds = %47, %2 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %4, align 4 %11 = mul nsw i32 256, %10 %12 = icmp slt i32 %9, %11 br i1 %12, label %13, label %50 13: ; preds = %8 %14 = load ptr, ptr %6, align 8 %15 = load i32, ptr %5, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i32, ptr %14, i64 %16 %18 = load i32, ptr %17, align 4 %19 = shl i32 %18, 24 %20 = load ptr, ptr %6, align 8 %21 = load i32, ptr %5, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i32, ptr %20, i64 %22 %24 = load i32, ptr %23, align 4 %25 = shl i32 %24, 8 %26 = and i32 %25, 16711680 %27 = or i32 %19, %26 %28 = load ptr, ptr %6, align 8 %29 = load i32, ptr %5, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i32, ptr %28, i64 %30 %32 = load i32, ptr %31, align 4 %33 = ashr i32 %32, 8 %34 = and i32 %33, 65280 %35 = or i32 %27, %34 %36 = load ptr, ptr %6, align 8 %37 = load i32, ptr %5, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i32, ptr %36, i64 %38 %40 = load i32, ptr %39, align 4 %41 = ashr i32 %40, 24 %42 = or i32 %35, %41 %43 = load ptr, ptr %6, align 8 %44 = load i32, ptr %5, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i32, ptr %43, i64 %45 store i32 %42, ptr %46, align 4 br label %47 47: ; preds = %13 %48 = load i32, ptr %5, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %5, align 4 br label %8, !llvm.loop !6 50: ; preds = %8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4uxotfeb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @s32_swap(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = load ptr, ptr %3, align 8 store ptr %7, ptr %6, align 8 store i32 0, ptr %5, align 4 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %4, align 4 %10 = mul nsw i32 256, %9 %11 = icmp slt i32 %8, %10 br i1 %11, label %.lr.ph, label %53 .lr.ph: ; preds = %2 br label %12 12: ; preds = %.lr.ph, %46 %13 = load ptr, ptr %6, align 8 %14 = load i32, ptr %5, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i32, ptr %13, i64 %15 %17 = load i32, ptr %16, align 4 %18 = shl i32 %17, 24 %19 = load ptr, ptr %6, align 8 %20 = load i32, ptr %5, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i32, ptr %19, i64 %21 %23 = load i32, ptr %22, align 4 %24 = shl i32 %23, 8 %25 = and i32 %24, 16711680 %26 = or i32 %18, %25 %27 = load ptr, ptr %6, align 8 %28 = load i32, ptr %5, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i32, ptr %27, i64 %29 %31 = load i32, ptr %30, align 4 %32 = ashr i32 %31, 8 %33 = and i32 %32, 65280 %34 = or i32 %26, %33 %35 = load ptr, ptr %6, align 8 %36 = load i32, ptr %5, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i32, ptr %35, i64 %37 %39 = load i32, ptr %38, align 4 %40 = ashr i32 %39, 24 %41 = or i32 %34, %40 %42 = load ptr, ptr %6, align 8 %43 = load i32, ptr %5, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i32, ptr %42, i64 %44 store i32 %41, ptr %45, align 4 br label %46 46: ; preds = %12 %47 = load i32, ptr %5, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %5, align 4 %49 = load i32, ptr %5, align 4 %50 = load i32, ptr %4, align 4 %51 = mul nsw i32 256, %50 %52 = icmp slt i32 %49, %51 br i1 %52, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %46 br label %53 53: ; preds = %._crit_edge, %2 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp3gzjanjm.c' source_filename = "/tmp/tmp3gzjanjm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"Version: 1.0.0\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @version() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3gzjanjm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"Version: 1.0.0\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @version() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2eurr3k9.c' source_filename = "/tmp/tmp2eurr3k9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @readString() ret i32 0 } declare i32 @readString(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2eurr3k9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 (...) @readString() ret i32 0 } declare i32 @readString(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpj4w76bc0.c' source_filename = "/tmp/tmpj4w76bc0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpj4w76bc0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplwf7djlo.c' source_filename = "/tmp/tmplwf7djlo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplwf7djlo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0ro5k01h.c' source_filename = "/tmp/tmp0ro5k01h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i32, i64 } @.str = private unnamed_addr constant [14 x i8] c"len_mes = %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"write() serial of failed!\0A\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"Timeout for wait read fd\00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c"receiver: %d byte \0A\00", align 1 @.str.4 = private unnamed_addr constant [16 x i8] c"read result < 0\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @request_port(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca %struct.timeval, align 8 %14 = alloca i32, align 4 %15 = alloca [55 x i8], align 16 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 %16 = getelementptr inbounds %struct.timeval, ptr %13, i32 0, i32 1 store i64 0, ptr %16, align 8 %17 = getelementptr inbounds %struct.timeval, ptr %13, i32 0, i32 0 store i32 150000, ptr %17, align 8 %18 = load i32, ptr %9, align 4 store i32 %18, ptr %14, align 4 %19 = load i32, ptr %7, align 4 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %19) %21 = load i32, ptr %14, align 4 %22 = load ptr, ptr %6, align 8 %23 = load i32, ptr %7, align 4 %24 = sub nsw i32 %23, 1 %25 = call i32 @write(i32 noundef %21, ptr noundef %22, i32 noundef %24) store i32 %25, ptr %10, align 4 %26 = load i32, ptr %10, align 4 %27 = icmp slt i32 %26, 0 br i1 %27, label %28, label %30 28: ; preds = %4 %29 = call i32 @write_log(ptr noundef @.str.1) br label %30 30: ; preds = %28, %4 %31 = call i32 @FD_ZERO(ptr noundef %12) %32 = load i32, ptr %14, align 4 %33 = call i32 @FD_SET(i32 noundef %32, ptr noundef %12) %34 = load i32, ptr %14, align 4 %35 = add nsw i32 %34, 1 %36 = call i64 @select(i32 noundef %35, ptr noundef %12, ptr noundef null, ptr noundef null, ptr noundef %13) %37 = icmp slt i64 %36, 0 br i1 %37, label %38, label %40 38: ; preds = %30 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 -1, ptr %5, align 4 br label %72 40: ; preds = %30 %41 = load i32, ptr %14, align 4 %42 = call i64 @FD_ISSET(i32 noundef %41, ptr noundef %12) %43 = icmp ne i64 %42, 0 br i1 %43, label %44, label %72 44: ; preds = %40 %45 = call i32 @usleep(i32 noundef 150000) %46 = load i32, ptr %14, align 4 %47 = call i32 @read(i32 noundef %46, ptr noundef %15, i32 noundef 56) store i32 %47, ptr %11, align 4 %48 = load i32, ptr %11, align 4 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %48) %50 = load i32, ptr %11, align 4 %51 = icmp sle i32 %50, 0 br i1 %51, label %52, label %54 52: ; preds = %44 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) store i32 -1, ptr %5, align 4 br label %72 54: ; preds = %44 %55 = load i32, ptr %11, align 4 %56 = icmp ne i32 %55, 0 br i1 %56, label %61, label %57 57: ; preds = %54 %58 = load i32, ptr %14, align 4 %59 = call i32 @close(i32 noundef %58) %60 = call i32 @FD_ZERO(ptr noundef %12) br label %70 61: ; preds = %54 %62 = load ptr, ptr %8, align 8 %63 = load i32, ptr %11, align 4 %64 = call i32 @memset(ptr noundef %62, i32 noundef 0, i32 noundef %63) %65 = load ptr, ptr %8, align 8 %66 = getelementptr inbounds [55 x i8], ptr %15, i64 0, i64 0 %67 = load i32, ptr %11, align 4 %68 = call i32 @memcpy(ptr noundef %65, ptr noundef %66, i32 noundef %67) %69 = load i32, ptr %11, align 4 store i32 %69, ptr %5, align 4 br label %72 70: ; preds = %57 br label %71 71: ; preds = %70 br label %72 72: ; preds = %38, %52, %61, %71, %40 %73 = load i32, ptr %5, align 4 ret i32 %73 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @write_log(ptr noundef) #1 declare i32 @FD_ZERO(ptr noundef) #1 declare i32 @FD_SET(i32 noundef, ptr noundef) #1 declare i64 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @FD_ISSET(i32 noundef, ptr noundef) #1 declare i32 @usleep(i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0ro5k01h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i32, i64 } @.str = private unnamed_addr constant [14 x i8] c"len_mes = %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"write() serial of failed!\0A\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"Timeout for wait read fd\00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c"receiver: %d byte \0A\00", align 1 @.str.4 = private unnamed_addr constant [16 x i8] c"read result < 0\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @request_port(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca %struct.timeval, align 8 %14 = alloca i32, align 4 %15 = alloca [55 x i8], align 16 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 %16 = getelementptr inbounds %struct.timeval, ptr %13, i32 0, i32 1 store i64 0, ptr %16, align 8 %17 = getelementptr inbounds %struct.timeval, ptr %13, i32 0, i32 0 store i32 150000, ptr %17, align 8 %18 = load i32, ptr %9, align 4 store i32 %18, ptr %14, align 4 %19 = load i32, ptr %7, align 4 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %19) %21 = load i32, ptr %14, align 4 %22 = load ptr, ptr %6, align 8 %23 = load i32, ptr %7, align 4 %24 = sub nsw i32 %23, 1 %25 = call i32 @write(i32 noundef %21, ptr noundef %22, i32 noundef %24) store i32 %25, ptr %10, align 4 %26 = load i32, ptr %10, align 4 %27 = icmp slt i32 %26, 0 br i1 %27, label %28, label %30 28: ; preds = %4 %29 = call i32 @write_log(ptr noundef @.str.1) br label %30 30: ; preds = %28, %4 %31 = call i32 @FD_ZERO(ptr noundef %12) %32 = load i32, ptr %14, align 4 %33 = call i32 @FD_SET(i32 noundef %32, ptr noundef %12) %34 = load i32, ptr %14, align 4 %35 = add nsw i32 %34, 1 %36 = call i64 @select(i32 noundef %35, ptr noundef %12, ptr noundef null, ptr noundef null, ptr noundef %13) %37 = icmp slt i64 %36, 0 br i1 %37, label %38, label %40 38: ; preds = %30 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 -1, ptr %5, align 4 br label %72 40: ; preds = %30 %41 = load i32, ptr %14, align 4 %42 = call i64 @FD_ISSET(i32 noundef %41, ptr noundef %12) %43 = icmp ne i64 %42, 0 br i1 %43, label %44, label %72 44: ; preds = %40 %45 = call i32 @usleep(i32 noundef 150000) %46 = load i32, ptr %14, align 4 %47 = call i32 @read(i32 noundef %46, ptr noundef %15, i32 noundef 56) store i32 %47, ptr %11, align 4 %48 = load i32, ptr %11, align 4 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %48) %50 = load i32, ptr %11, align 4 %51 = icmp sle i32 %50, 0 br i1 %51, label %52, label %54 52: ; preds = %44 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) store i32 -1, ptr %5, align 4 br label %72 54: ; preds = %44 %55 = load i32, ptr %11, align 4 %56 = icmp ne i32 %55, 0 br i1 %56, label %61, label %57 57: ; preds = %54 %58 = load i32, ptr %14, align 4 %59 = call i32 @close(i32 noundef %58) %60 = call i32 @FD_ZERO(ptr noundef %12) br label %70 61: ; preds = %54 %62 = load ptr, ptr %8, align 8 %63 = load i32, ptr %11, align 4 %64 = call i32 @memset(ptr noundef %62, i32 noundef 0, i32 noundef %63) %65 = load ptr, ptr %8, align 8 %66 = getelementptr inbounds [55 x i8], ptr %15, i64 0, i64 0 %67 = load i32, ptr %11, align 4 %68 = call i32 @memcpy(ptr noundef %65, ptr noundef %66, i32 noundef %67) %69 = load i32, ptr %11, align 4 store i32 %69, ptr %5, align 4 br label %72 70: ; preds = %57 br label %71 71: ; preds = %70 br label %72 72: ; preds = %71, %61, %52, %40, %38 %73 = load i32, ptr %5, align 4 ret i32 %73 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @write_log(ptr noundef) #1 declare i32 @FD_ZERO(ptr noundef) #1 declare i32 @FD_SET(i32 noundef, ptr noundef) #1 declare i64 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @FD_ISSET(i32 noundef, ptr noundef) #1 declare i32 @usleep(i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp97xlq6k_.c' source_filename = "/tmp/tmp97xlq6k_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @ptbl_get_cp_filename_from_path(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 store ptr %6, ptr %5, align 8 %7 = call ptr (...) @ptbl_get_cp_path_separeter() store ptr %7, ptr %3, align 8 %8 = load ptr, ptr %2, align 8 %9 = load ptr, ptr %3, align 8 %10 = getelementptr inbounds i8, ptr %9, i64 0 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = call ptr @strrchr(ptr noundef %8, i32 noundef %12) store ptr %13, ptr %4, align 8 %14 = load ptr, ptr %4, align 8 %15 = icmp ne ptr null, %14 br i1 %15, label %16, label %19 16: ; preds = %1 %17 = load ptr, ptr %4, align 8 %18 = getelementptr inbounds i8, ptr %17, i64 1 store ptr %18, ptr %5, align 8 br label %19 19: ; preds = %16, %1 %20 = load ptr, ptr %5, align 8 ret ptr %20 } declare ptr @ptbl_get_cp_path_separeter(...) #1 declare ptr @strrchr(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp97xlq6k_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @ptbl_get_cp_filename_from_path(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 store ptr %6, ptr %5, align 8 %7 = call ptr (...) @ptbl_get_cp_path_separeter() store ptr %7, ptr %3, align 8 %8 = load ptr, ptr %2, align 8 %9 = load ptr, ptr %3, align 8 %10 = getelementptr inbounds i8, ptr %9, i64 0 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = call ptr @strrchr(ptr noundef %8, i32 noundef %12) store ptr %13, ptr %4, align 8 %14 = load ptr, ptr %4, align 8 %15 = icmp ne ptr null, %14 br i1 %15, label %16, label %19 16: ; preds = %1 %17 = load ptr, ptr %4, align 8 %18 = getelementptr inbounds i8, ptr %17, i64 1 store ptr %18, ptr %5, align 8 br label %19 19: ; preds = %16, %1 %20 = load ptr, ptr %5, align 8 ret ptr %20 } declare ptr @ptbl_get_cp_path_separeter(...) #1 declare ptr @strrchr(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp50v_fzxs.c' source_filename = "/tmp/tmp50v_fzxs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @timerfd_create(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @syscall(i32 noundef 350, i32 noundef %5, i32 noundef %6) ret i32 %7 } declare i32 @syscall(i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp50v_fzxs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @timerfd_create(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @syscall(i32 noundef 350, i32 noundef %5, i32 noundef %6) ret i32 %7 } declare i32 @syscall(i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpud8zxvg7.c' source_filename = "/tmp/tmpud8zxvg7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @trim_string(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 br label %4 4: ; preds = %9, %1 %5 = load ptr, ptr %2, align 8 %6 = load i8, ptr %5, align 1 %7 = call i64 @isspace(i8 noundef signext %6) %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %12 9: ; preds = %4 %10 = load ptr, ptr %2, align 8 %11 = getelementptr inbounds i8, ptr %10, i32 1 store ptr %11, ptr %2, align 8 br label %4, !llvm.loop !6 12: ; preds = %4 %13 = load ptr, ptr %2, align 8 %14 = call ptr @strchr(ptr noundef %13, i8 noundef signext 0) %15 = getelementptr inbounds i8, ptr %14, i64 -1 store ptr %15, ptr %3, align 8 br label %16 16: ; preds = %27, %12 %17 = load ptr, ptr %3, align 8 %18 = load ptr, ptr %2, align 8 %19 = icmp uge ptr %17, %18 br i1 %19, label %20, label %25 20: ; preds = %16 %21 = load ptr, ptr %3, align 8 %22 = load i8, ptr %21, align 1 %23 = call i64 @isspace(i8 noundef signext %22) %24 = icmp ne i64 %23, 0 br label %25 25: ; preds = %20, %16 %26 = phi i1 [ false, %16 ], [ %24, %20 ] br i1 %26, label %27, label %30 27: ; preds = %25 %28 = load ptr, ptr %3, align 8 %29 = getelementptr inbounds i8, ptr %28, i32 -1 store ptr %29, ptr %3, align 8 store i8 0, ptr %28, align 1 br label %16, !llvm.loop !8 30: ; preds = %25 %31 = load ptr, ptr %2, align 8 ret ptr %31 } declare i64 @isspace(i8 noundef signext) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpud8zxvg7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @trim_string(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = load i8, ptr %4, align 1 %6 = call i64 @isspace(i8 noundef signext %5) %7 = icmp ne i64 %6, 0 br i1 %7, label %.lr.ph, label %15 .lr.ph: ; preds = %1 br label %8 8: ; preds = %.lr.ph, %8 %9 = load ptr, ptr %2, align 8 %10 = getelementptr inbounds i8, ptr %9, i32 1 store ptr %10, ptr %2, align 8 %11 = load ptr, ptr %2, align 8 %12 = load i8, ptr %11, align 1 %13 = call i64 @isspace(i8 noundef signext %12) %14 = icmp ne i64 %13, 0 br i1 %14, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %8 br label %15 15: ; preds = %._crit_edge, %1 %16 = load ptr, ptr %2, align 8 %17 = call ptr @strchr(ptr noundef %16, i8 noundef signext 0) %18 = getelementptr inbounds i8, ptr %17, i64 -1 store ptr %18, ptr %3, align 8 br label %19 19: ; preds = %30, %15 %20 = load ptr, ptr %3, align 8 %21 = load ptr, ptr %2, align 8 %22 = icmp uge ptr %20, %21 br i1 %22, label %23, label %28 23: ; preds = %19 %24 = load ptr, ptr %3, align 8 %25 = load i8, ptr %24, align 1 %26 = call i64 @isspace(i8 noundef signext %25) %27 = icmp ne i64 %26, 0 br label %28 28: ; preds = %23, %19 %29 = phi i1 [ false, %19 ], [ %27, %23 ] br i1 %29, label %30, label %33 30: ; preds = %28 %31 = load ptr, ptr %3, align 8 %32 = getelementptr inbounds i8, ptr %31, i32 -1 store ptr %32, ptr %3, align 8 store i8 0, ptr %31, align 1 br label %19, !llvm.loop !8 33: ; preds = %28 %34 = load ptr, ptr %2, align 8 ret ptr %34 } declare i64 @isspace(i8 noundef signext) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpznddryi2.c' source_filename = "/tmp/tmpznddryi2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"PASS\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = load ptr, ptr %5, align 8 %8 = call i32 @test_init(i32 noundef %6, ptr noundef %7) %9 = call i32 (...) @test_daemon() %10 = call i32 (...) @test_waitsig() %11 = call i32 @test_msg(ptr noundef @.str) ret i32 0 } declare i32 @test_init(i32 noundef, ptr noundef) #1 declare i32 @test_daemon(...) #1 declare i32 @test_waitsig(...) #1 declare i32 @test_msg(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpznddryi2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"PASS\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = load ptr, ptr %5, align 8 %8 = call i32 @test_init(i32 noundef %6, ptr noundef %7) %9 = call i32 (...) @test_daemon() %10 = call i32 (...) @test_waitsig() %11 = call i32 @test_msg(ptr noundef @.str) ret i32 0 } declare i32 @test_init(i32 noundef, ptr noundef) #1 declare i32 @test_daemon(...) #1 declare i32 @test_waitsig(...) #1 declare i32 @test_msg(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdn78g8ca.c' source_filename = "/tmp/tmpdn78g8ca.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @rand89() #0 { %1 = call i32 (...) @rand() %2 = srem i32 %1, 890000 ret i32 %2 } declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdn78g8ca.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @rand89() #0 { %1 = call i32 (...) @rand() %2 = srem i32 %1, 890000 ret i32 %2 } declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpuhgmjlly.c' source_filename = "/tmp/tmpuhgmjlly.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @binary_symmetric_channel(ptr noundef %0, double noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca double, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store double %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i32 0, ptr %7, align 4 br label %8 8: ; preds = %33, %3 %9 = load i32, ptr %7, align 4 %10 = load i32, ptr %6, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %12, label %36 12: ; preds = %8 %13 = load double, ptr %5, align 8 %14 = call i64 @bernoulli(double noundef %13) %15 = icmp ne i64 %14, 0 br i1 %15, label %16, label %25 16: ; preds = %12 %17 = load i32, ptr %7, align 4 %18 = srem i32 %17, 8 %19 = shl i32 1, %18 %20 = load ptr, ptr %4, align 8 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = xor i32 %22, %19 %24 = trunc i32 %23 to i8 store i8 %24, ptr %20, align 1 br label %25 25: ; preds = %16, %12 %26 = load i32, ptr %7, align 4 %27 = srem i32 %26, 8 %28 = icmp eq i32 %27, 7 br i1 %28, label %29, label %32 29: ; preds = %25 %30 = load ptr, ptr %4, align 8 %31 = getelementptr inbounds i8, ptr %30, i32 1 store ptr %31, ptr %4, align 8 br label %32 32: ; preds = %29, %25 br label %33 33: ; preds = %32 %34 = load i32, ptr %7, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %7, align 4 br label %8, !llvm.loop !6 36: ; preds = %8 ret void } declare i64 @bernoulli(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuhgmjlly.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @binary_symmetric_channel(ptr noundef %0, double noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca double, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store double %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i32 0, ptr %7, align 4 %8 = load i32, ptr %7, align 4 %9 = load i32, ptr %6, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %.lr.ph, label %38 .lr.ph: ; preds = %3 br label %11 11: ; preds = %.lr.ph, %32 %12 = load double, ptr %5, align 8 %13 = call i64 @bernoulli(double noundef %12) %14 = icmp ne i64 %13, 0 br i1 %14, label %15, label %24 15: ; preds = %11 %16 = load i32, ptr %7, align 4 %17 = srem i32 %16, 8 %18 = shl i32 1, %17 %19 = load ptr, ptr %4, align 8 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = xor i32 %21, %18 %23 = trunc i32 %22 to i8 store i8 %23, ptr %19, align 1 br label %24 24: ; preds = %15, %11 %25 = load i32, ptr %7, align 4 %26 = srem i32 %25, 8 %27 = icmp eq i32 %26, 7 br i1 %27, label %28, label %31 28: ; preds = %24 %29 = load ptr, ptr %4, align 8 %30 = getelementptr inbounds i8, ptr %29, i32 1 store ptr %30, ptr %4, align 8 br label %31 31: ; preds = %28, %24 br label %32 32: ; preds = %31 %33 = load i32, ptr %7, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %7, align 4 %35 = load i32, ptr %7, align 4 %36 = load i32, ptr %6, align 4 %37 = icmp slt i32 %35, %36 br i1 %37, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %32 br label %38 38: ; preds = %._crit_edge, %3 ret void } declare i64 @bernoulli(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpg9mzkw5s.c' source_filename = "/tmp/tmpg9mzkw5s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [39 x i8] c"usage : servmulti numero_port_serveur\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpg9mzkw5s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [39 x i8] c"usage : servmulti numero_port_serveur\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpagy7hdjj.c' source_filename = "/tmp/tmpagy7hdjj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @f_float_uint32_t(ptr noalias noundef %0, ptr noalias noundef %1, ptr noalias noundef %2, ptr noalias noundef %3, ptr noalias noundef %4, i32 noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store i32 %5, ptr %12, align 4 store i32 0, ptr %13, align 4 br label %14 14: ; preds = %45, %6 %15 = load i32, ptr %13, align 4 %16 = load i32, ptr %12, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %18, label %48 18: ; preds = %14 %19 = load ptr, ptr %9, align 8 %20 = load i32, ptr %13, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i64, ptr %19, i64 %21 %23 = load i64, ptr %22, align 8 %24 = load ptr, ptr %10, align 8 %25 = load i32, ptr %13, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i64, ptr %24, i64 %26 %28 = load i64, ptr %27, align 8 %29 = icmp eq i64 %23, %28 br i1 %29, label %30, label %44 30: ; preds = %18 %31 = load ptr, ptr %8, align 8 %32 = load i32, ptr %13, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds float, ptr %31, i64 %33 %35 = load float, ptr %34, align 4 %36 = fadd float %35, 1.000000e+00 %37 = load ptr, ptr %7, align 8 %38 = load ptr, ptr %11, align 8 %39 = load i32, ptr %13, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i64, ptr %38, i64 %40 %42 = load i64, ptr %41, align 8 %43 = getelementptr inbounds float, ptr %37, i64 %42 store float %36, ptr %43, align 4 br label %44 44: ; preds = %30, %18 br label %45 45: ; preds = %44 %46 = load i32, ptr %13, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %13, align 4 br label %14, !llvm.loop !6 48: ; preds = %14 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpagy7hdjj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @f_float_uint32_t(ptr noalias noundef %0, ptr noalias noundef %1, ptr noalias noundef %2, ptr noalias noundef %3, ptr noalias noundef %4, i32 noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store i32 %5, ptr %12, align 4 store i32 0, ptr %13, align 4 %14 = load i32, ptr %13, align 4 %15 = load i32, ptr %12, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %.lr.ph, label %50 .lr.ph: ; preds = %6 br label %17 17: ; preds = %.lr.ph, %44 %18 = load ptr, ptr %9, align 8 %19 = load i32, ptr %13, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i64, ptr %18, i64 %20 %22 = load i64, ptr %21, align 8 %23 = load ptr, ptr %10, align 8 %24 = load i32, ptr %13, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i64, ptr %23, i64 %25 %27 = load i64, ptr %26, align 8 %28 = icmp eq i64 %22, %27 br i1 %28, label %29, label %43 29: ; preds = %17 %30 = load ptr, ptr %8, align 8 %31 = load i32, ptr %13, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds float, ptr %30, i64 %32 %34 = load float, ptr %33, align 4 %35 = fadd float %34, 1.000000e+00 %36 = load ptr, ptr %7, align 8 %37 = load ptr, ptr %11, align 8 %38 = load i32, ptr %13, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i64, ptr %37, i64 %39 %41 = load i64, ptr %40, align 8 %42 = getelementptr inbounds float, ptr %36, i64 %41 store float %35, ptr %42, align 4 br label %43 43: ; preds = %29, %17 br label %44 44: ; preds = %43 %45 = load i32, ptr %13, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %13, align 4 %47 = load i32, ptr %13, align 4 %48 = load i32, ptr %12, align 4 %49 = icmp slt i32 %47, %48 br i1 %49, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %44 br label %50 50: ; preds = %._crit_edge, %6 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpgy_863yn.c' source_filename = "/tmp/tmpgy_863yn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"\1B[7m\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @inversOn() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgy_863yn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"\1B[7m\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @inversOn() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxvpxzhe2.c' source_filename = "/tmp/tmpxvpxzhe2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @vscanf(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr @stdin, align 4 %6 = load ptr, ptr %3, align 8 %7 = load i32, ptr %4, align 4 %8 = call i32 @vfscanf(i32 noundef %5, ptr noundef %6, i32 noundef %7) ret i32 %8 } declare i32 @vfscanf(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxvpxzhe2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @vscanf(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr @stdin, align 4 %6 = load ptr, ptr %3, align 8 %7 = load i32, ptr %4, align 4 %8 = call i32 @vfscanf(i32 noundef %5, ptr noundef %6, i32 noundef %7) ret i32 %8 } declare i32 @vfscanf(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0tygafjm.c' source_filename = "/tmp/tmp0tygafjm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @GL_TRIANGLE_STRIP = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0tygafjm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @GL_TRIANGLE_STRIP = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpadervkjj.c' source_filename = "/tmp/tmpadervkjj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @UARTSpaceAvail(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = add nsw i32 %3, 24 %5 = sext i32 %4 to i64 %6 = inttoptr i64 %5 to ptr %7 = load volatile i32, ptr %6, align 4 %8 = and i32 %7, 32 %9 = icmp ne i32 %8, 0 %10 = zext i1 %9 to i64 %11 = select i1 %9, i32 0, i32 1 ret i32 %11 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpadervkjj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @UARTSpaceAvail(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = add nsw i32 %3, 24 %5 = sext i32 %4 to i64 %6 = inttoptr i64 %5 to ptr %7 = load volatile i32, ptr %6, align 4 %8 = and i32 %7, 32 %9 = icmp ne i32 %8, 0 %10 = zext i1 %9 to i64 %11 = select i1 %9, i32 0, i32 1 ret i32 %11 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp07b8_x6v.c' source_filename = "/tmp/tmp07b8_x6v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @DumpHex(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %14 = load i32, ptr %7, align 4 %15 = load i32, ptr %8, align 4 %16 = add nsw i32 %14, %15 store i32 %16, ptr %11, align 4 %17 = load i32, ptr %7, align 4 %18 = sdiv i32 %17, 16 store i32 %18, ptr %10, align 4 %19 = load i32, ptr %11, align 4 %20 = sdiv i32 %19, 16 store i32 %20, ptr %12, align 4 %21 = load i32, ptr %10, align 4 %22 = load i32, ptr %12, align 4 %23 = icmp eq i32 %21, %22 br i1 %23, label %24, label %33 24: ; preds = %4 %25 = load ptr, ptr %5, align 8 %26 = load ptr, ptr %6, align 8 %27 = load i32, ptr %10, align 4 %28 = load i32, ptr %7, align 4 %29 = srem i32 %28, 16 %30 = load i32, ptr %11, align 4 %31 = srem i32 %30, 16 %32 = call i32 @DumpLine(ptr noundef %25, ptr noundef %26, i32 noundef %27, i32 noundef %29, i32 noundef %31) store i32 %32, ptr %13, align 4 br label %76 33: ; preds = %4 %34 = load ptr, ptr %5, align 8 %35 = load ptr, ptr %6, align 8 %36 = load i32, ptr %10, align 4 %37 = load i32, ptr %7, align 4 %38 = srem i32 %37, 16 %39 = call i32 @DumpLine(ptr noundef %34, ptr noundef %35, i32 noundef %36, i32 noundef %38, i32 noundef 16) store i32 %39, ptr %13, align 4 %40 = load i32, ptr %10, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %9, align 4 br label %42 42: ; preds = %56, %33 %43 = load i32, ptr %9, align 4 %44 = load i32, ptr %12, align 4 %45 = icmp slt i32 %43, %44 br i1 %45, label %46, label %59 46: ; preds = %42 %47 = load ptr, ptr %5, align 8 %48 = load i32, ptr %13, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i8, ptr %47, i64 %49 %51 = load ptr, ptr %6, align 8 %52 = load i32, ptr %9, align 4 %53 = call i32 @DumpLine(ptr noundef %50, ptr noundef %51, i32 noundef %52, i32 noundef 0, i32 noundef 16) %54 = load i32, ptr %13, align 4 %55 = add nsw i32 %54, %53 store i32 %55, ptr %13, align 4 br label %56 56: ; preds = %46 %57 = load i32, ptr %9, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %9, align 4 br label %42, !llvm.loop !6 59: ; preds = %42 %60 = load i32, ptr %11, align 4 %61 = srem i32 %60, 16 %62 = icmp sgt i32 %61, 0 br i1 %62, label %63, label %75 63: ; preds = %59 %64 = load ptr, ptr %5, align 8 %65 = load i32, ptr %13, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds i8, ptr %64, i64 %66 %68 = load ptr, ptr %6, align 8 %69 = load i32, ptr %12, align 4 %70 = load i32, ptr %11, align 4 %71 = srem i32 %70, 16 %72 = call i32 @DumpLine(ptr noundef %67, ptr noundef %68, i32 noundef %69, i32 noundef 0, i32 noundef %71) %73 = load i32, ptr %13, align 4 %74 = add nsw i32 %73, %72 store i32 %74, ptr %13, align 4 br label %75 75: ; preds = %63, %59 br label %76 76: ; preds = %75, %24 %77 = load ptr, ptr %5, align 8 %78 = load i32, ptr %13, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds i8, ptr %77, i64 %79 store i8 0, ptr %80, align 1 ret void } declare i32 @DumpLine(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp07b8_x6v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @DumpHex(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %14 = load i32, ptr %7, align 4 %15 = load i32, ptr %8, align 4 %16 = add nsw i32 %14, %15 store i32 %16, ptr %11, align 4 %17 = load i32, ptr %7, align 4 %18 = sdiv i32 %17, 16 store i32 %18, ptr %10, align 4 %19 = load i32, ptr %11, align 4 %20 = sdiv i32 %19, 16 store i32 %20, ptr %12, align 4 %21 = load i32, ptr %10, align 4 %22 = load i32, ptr %12, align 4 %23 = icmp eq i32 %21, %22 br i1 %23, label %24, label %33 24: ; preds = %4 %25 = load ptr, ptr %5, align 8 %26 = load ptr, ptr %6, align 8 %27 = load i32, ptr %10, align 4 %28 = load i32, ptr %7, align 4 %29 = srem i32 %28, 16 %30 = load i32, ptr %11, align 4 %31 = srem i32 %30, 16 %32 = call i32 @DumpLine(ptr noundef %25, ptr noundef %26, i32 noundef %27, i32 noundef %29, i32 noundef %31) store i32 %32, ptr %13, align 4 br label %78 33: ; preds = %4 %34 = load ptr, ptr %5, align 8 %35 = load ptr, ptr %6, align 8 %36 = load i32, ptr %10, align 4 %37 = load i32, ptr %7, align 4 %38 = srem i32 %37, 16 %39 = call i32 @DumpLine(ptr noundef %34, ptr noundef %35, i32 noundef %36, i32 noundef %38, i32 noundef 16) store i32 %39, ptr %13, align 4 %40 = load i32, ptr %10, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %9, align 4 %42 = load i32, ptr %9, align 4 %43 = load i32, ptr %12, align 4 %44 = icmp slt i32 %42, %43 br i1 %44, label %.lr.ph, label %61 .lr.ph: ; preds = %33 br label %45 45: ; preds = %.lr.ph, %55 %46 = load ptr, ptr %5, align 8 %47 = load i32, ptr %13, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i8, ptr %46, i64 %48 %50 = load ptr, ptr %6, align 8 %51 = load i32, ptr %9, align 4 %52 = call i32 @DumpLine(ptr noundef %49, ptr noundef %50, i32 noundef %51, i32 noundef 0, i32 noundef 16) %53 = load i32, ptr %13, align 4 %54 = add nsw i32 %53, %52 store i32 %54, ptr %13, align 4 br label %55 55: ; preds = %45 %56 = load i32, ptr %9, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %9, align 4 %58 = load i32, ptr %9, align 4 %59 = load i32, ptr %12, align 4 %60 = icmp slt i32 %58, %59 br i1 %60, label %45, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %55 br label %61 61: ; preds = %._crit_edge, %33 %62 = load i32, ptr %11, align 4 %63 = srem i32 %62, 16 %64 = icmp sgt i32 %63, 0 br i1 %64, label %65, label %77 65: ; preds = %61 %66 = load ptr, ptr %5, align 8 %67 = load i32, ptr %13, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds i8, ptr %66, i64 %68 %70 = load ptr, ptr %6, align 8 %71 = load i32, ptr %12, align 4 %72 = load i32, ptr %11, align 4 %73 = srem i32 %72, 16 %74 = call i32 @DumpLine(ptr noundef %69, ptr noundef %70, i32 noundef %71, i32 noundef 0, i32 noundef %73) %75 = load i32, ptr %13, align 4 %76 = add nsw i32 %75, %74 store i32 %76, ptr %13, align 4 br label %77 77: ; preds = %65, %61 br label %78 78: ; preds = %77, %24 %79 = load ptr, ptr %5, align 8 %80 = load i32, ptr %13, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds i8, ptr %79, i64 %81 store i8 0, ptr %82, align 1 ret void } declare i32 @DumpLine(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpph6l4bqe.c' source_filename = "/tmp/tmpph6l4bqe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @_nvp_to_close(ptr noundef %0, ptr noundef %1, ptr noundef %2, x86_fp80 noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, i32 noundef %7, ptr noundef %8, x86_fp80 noundef %9) #0 { %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca x86_fp80, align 16 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca i32, align 4 %20 = alloca ptr, align 8 %21 = alloca x86_fp80, align 16 store ptr %0, ptr %12, align 8 store ptr %1, ptr %13, align 8 store ptr %2, ptr %14, align 8 store x86_fp80 %3, ptr %15, align 16 store ptr %4, ptr %16, align 8 store ptr %5, ptr %17, align 8 store ptr %6, ptr %18, align 8 store i32 %7, ptr %19, align 4 store ptr %8, ptr %20, align 8 store x86_fp80 %9, ptr %21, align 16 %22 = load ptr, ptr %12, align 8 %23 = load x86_fp80, ptr %22, align 16 %24 = load ptr, ptr %17, align 8 %25 = load x86_fp80, ptr %24, align 16 %26 = fcmp oge x86_fp80 %23, %25 br i1 %26, label %27, label %104 27: ; preds = %10 %28 = load ptr, ptr %13, align 8 %29 = load x86_fp80, ptr %28, align 16 %30 = load ptr, ptr %17, align 8 %31 = load x86_fp80, ptr %30, align 16 %32 = load ptr, ptr %14, align 8 %33 = load ptr, ptr %18, align 8 %34 = load i32, ptr %33, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds x86_fp80, ptr %32, i64 %35 %37 = load x86_fp80, ptr %36, align 16 %38 = load x86_fp80, ptr %15, align 16 %39 = fadd x86_fp80 0xK3FFF8000000000000000, %38 %40 = fmul x86_fp80 %37, %39 %41 = fdiv x86_fp80 %31, %40 %42 = fsub x86_fp80 %29, %41 %43 = load ptr, ptr %13, align 8 store x86_fp80 %42, ptr %43, align 16 %44 = load ptr, ptr %18, align 8 %45 = load i32, ptr %44, align 4 %46 = add nsw i32 %45, 1 %47 = load ptr, ptr %18, align 8 store i32 %46, ptr %47, align 4 %48 = load ptr, ptr %18, align 8 %49 = load i32, ptr %48, align 4 %50 = add nsw i32 %49, 1 %51 = load i32, ptr %19, align 4 %52 = sub nsw i32 %51, 1 %53 = icmp sgt i32 %50, %52 br i1 %53, label %54, label %55 54: ; preds = %27 store i32 0, ptr %11, align 4 br label %105 55: ; preds = %27 %56 = load x86_fp80, ptr %21, align 16 %57 = load ptr, ptr %13, align 8 %58 = load x86_fp80, ptr %57, align 16 %59 = fsub x86_fp80 %56, %58 %60 = load ptr, ptr %20, align 8 %61 = load ptr, ptr %18, align 8 %62 = load i32, ptr %61, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds x86_fp80, ptr %60, i64 %63 store x86_fp80 %59, ptr %64, align 16 %65 = load ptr, ptr %14, align 8 %66 = load ptr, ptr %18, align 8 %67 = load i32, ptr %66, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds x86_fp80, ptr %65, i64 %68 %70 = load x86_fp80, ptr %69, align 16 %71 = load x86_fp80, ptr %15, align 16 %72 = fadd x86_fp80 0xK3FFF8000000000000000, %71 %73 = fmul x86_fp80 %70, %72 %74 = load ptr, ptr %13, align 8 %75 = load x86_fp80, ptr %74, align 16 %76 = fmul x86_fp80 %73, %75 %77 = load ptr, ptr %12, align 8 store x86_fp80 %76, ptr %77, align 16 %78 = load ptr, ptr %16, align 8 %79 = load ptr, ptr %18, align 8 %80 = load i32, ptr %79, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds ptr, ptr %78, i64 %81 %83 = load ptr, ptr %82, align 8 %84 = load ptr, ptr %16, align 8 %85 = load ptr, ptr %18, align 8 %86 = load i32, ptr %85, align 4 %87 = add nsw i32 %86, 1 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds ptr, ptr %84, i64 %88 %90 = load ptr, ptr %89, align 8 %91 = call x86_fp80 @haversine_distance(ptr noundef %83, ptr noundef %90) %92 = load ptr, ptr %17, align 8 store x86_fp80 %91, ptr %92, align 16 %93 = load ptr, ptr %12, align 8 %94 = load ptr, ptr %13, align 8 %95 = load ptr, ptr %14, align 8 %96 = load x86_fp80, ptr %15, align 16 %97 = load ptr, ptr %16, align 8 %98 = load ptr, ptr %17, align 8 %99 = load ptr, ptr %18, align 8 %100 = load i32, ptr %19, align 4 %101 = load ptr, ptr %20, align 8 %102 = load x86_fp80, ptr %21, align 16 %103 = call i32 @_nvp_to_close(ptr noundef %93, ptr noundef %94, ptr noundef %95, x86_fp80 noundef %96, ptr noundef %97, ptr noundef %98, ptr noundef %99, i32 noundef %100, ptr noundef %101, x86_fp80 noundef %102) store i32 %103, ptr %11, align 4 br label %105 104: ; preds = %10 store i32 1, ptr %11, align 4 br label %105 105: ; preds = %104, %55, %54 %106 = load i32, ptr %11, align 4 ret i32 %106 } declare x86_fp80 @haversine_distance(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpph6l4bqe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @_nvp_to_close(ptr noundef %0, ptr noundef %1, ptr noundef %2, x86_fp80 noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, i32 noundef %7, ptr noundef %8, x86_fp80 noundef %9) #0 { %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca x86_fp80, align 16 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca i32, align 4 %20 = alloca ptr, align 8 %21 = alloca x86_fp80, align 16 store ptr %0, ptr %12, align 8 store ptr %1, ptr %13, align 8 store ptr %2, ptr %14, align 8 store x86_fp80 %3, ptr %15, align 16 store ptr %4, ptr %16, align 8 store ptr %5, ptr %17, align 8 store ptr %6, ptr %18, align 8 store i32 %7, ptr %19, align 4 store ptr %8, ptr %20, align 8 store x86_fp80 %9, ptr %21, align 16 %22 = load ptr, ptr %12, align 8 %23 = load x86_fp80, ptr %22, align 16 %24 = load ptr, ptr %17, align 8 %25 = load x86_fp80, ptr %24, align 16 %26 = fcmp oge x86_fp80 %23, %25 br i1 %26, label %27, label %104 27: ; preds = %10 %28 = load ptr, ptr %13, align 8 %29 = load x86_fp80, ptr %28, align 16 %30 = load ptr, ptr %17, align 8 %31 = load x86_fp80, ptr %30, align 16 %32 = load ptr, ptr %14, align 8 %33 = load ptr, ptr %18, align 8 %34 = load i32, ptr %33, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds x86_fp80, ptr %32, i64 %35 %37 = load x86_fp80, ptr %36, align 16 %38 = load x86_fp80, ptr %15, align 16 %39 = fadd x86_fp80 0xK3FFF8000000000000000, %38 %40 = fmul x86_fp80 %37, %39 %41 = fdiv x86_fp80 %31, %40 %42 = fsub x86_fp80 %29, %41 %43 = load ptr, ptr %13, align 8 store x86_fp80 %42, ptr %43, align 16 %44 = load ptr, ptr %18, align 8 %45 = load i32, ptr %44, align 4 %46 = add nsw i32 %45, 1 %47 = load ptr, ptr %18, align 8 store i32 %46, ptr %47, align 4 %48 = load ptr, ptr %18, align 8 %49 = load i32, ptr %48, align 4 %50 = add nsw i32 %49, 1 %51 = load i32, ptr %19, align 4 %52 = sub nsw i32 %51, 1 %53 = icmp sgt i32 %50, %52 br i1 %53, label %54, label %55 54: ; preds = %27 store i32 0, ptr %11, align 4 br label %105 55: ; preds = %27 %56 = load x86_fp80, ptr %21, align 16 %57 = load ptr, ptr %13, align 8 %58 = load x86_fp80, ptr %57, align 16 %59 = fsub x86_fp80 %56, %58 %60 = load ptr, ptr %20, align 8 %61 = load ptr, ptr %18, align 8 %62 = load i32, ptr %61, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds x86_fp80, ptr %60, i64 %63 store x86_fp80 %59, ptr %64, align 16 %65 = load ptr, ptr %14, align 8 %66 = load ptr, ptr %18, align 8 %67 = load i32, ptr %66, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds x86_fp80, ptr %65, i64 %68 %70 = load x86_fp80, ptr %69, align 16 %71 = load x86_fp80, ptr %15, align 16 %72 = fadd x86_fp80 0xK3FFF8000000000000000, %71 %73 = fmul x86_fp80 %70, %72 %74 = load ptr, ptr %13, align 8 %75 = load x86_fp80, ptr %74, align 16 %76 = fmul x86_fp80 %73, %75 %77 = load ptr, ptr %12, align 8 store x86_fp80 %76, ptr %77, align 16 %78 = load ptr, ptr %16, align 8 %79 = load ptr, ptr %18, align 8 %80 = load i32, ptr %79, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds ptr, ptr %78, i64 %81 %83 = load ptr, ptr %82, align 8 %84 = load ptr, ptr %16, align 8 %85 = load ptr, ptr %18, align 8 %86 = load i32, ptr %85, align 4 %87 = add nsw i32 %86, 1 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds ptr, ptr %84, i64 %88 %90 = load ptr, ptr %89, align 8 %91 = call x86_fp80 @haversine_distance(ptr noundef %83, ptr noundef %90) %92 = load ptr, ptr %17, align 8 store x86_fp80 %91, ptr %92, align 16 %93 = load ptr, ptr %12, align 8 %94 = load ptr, ptr %13, align 8 %95 = load ptr, ptr %14, align 8 %96 = load x86_fp80, ptr %15, align 16 %97 = load ptr, ptr %16, align 8 %98 = load ptr, ptr %17, align 8 %99 = load ptr, ptr %18, align 8 %100 = load i32, ptr %19, align 4 %101 = load ptr, ptr %20, align 8 %102 = load x86_fp80, ptr %21, align 16 %103 = call i32 @_nvp_to_close(ptr noundef %93, ptr noundef %94, ptr noundef %95, x86_fp80 noundef %96, ptr noundef %97, ptr noundef %98, ptr noundef %99, i32 noundef %100, ptr noundef %101, x86_fp80 noundef %102) store i32 %103, ptr %11, align 4 br label %105 104: ; preds = %10 store i32 1, ptr %11, align 4 br label %105 105: ; preds = %104, %55, %54 %106 = load i32, ptr %11, align 4 ret i32 %106 } declare x86_fp80 @haversine_distance(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnqjn9ymw.c' source_filename = "/tmp/tmpnqjn9ymw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnqjn9ymw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpl8dmcn3c.c' source_filename = "/tmp/tmpl8dmcn3c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test2f(float noundef %0, float noundef %1) #0 { %3 = alloca float, align 4 %4 = alloca float, align 4 store float %0, ptr %3, align 4 store float %1, ptr %4, align 4 %5 = load float, ptr %3, align 4 %6 = load float, ptr %4, align 4 %7 = fsub float %5, %6 %8 = call i32 @tanf(float noundef %7) %9 = sub nsw i32 0, %8 %10 = load float, ptr %4, align 4 %11 = load float, ptr %3, align 4 %12 = fsub float %10, %11 %13 = call i32 @tanf(float noundef %12) %14 = icmp ne i32 %9, %13 br i1 %14, label %15, label %17 15: ; preds = %2 %16 = call i32 (...) @link_error() br label %17 17: ; preds = %15, %2 %18 = load float, ptr %3, align 4 %19 = load float, ptr %4, align 4 %20 = fsub float %18, %19 %21 = call i32 @sinf(float noundef %20) %22 = sub nsw i32 0, %21 %23 = load float, ptr %4, align 4 %24 = load float, ptr %3, align 4 %25 = fsub float %23, %24 %26 = call i32 @sinf(float noundef %25) %27 = icmp ne i32 %22, %26 br i1 %27, label %28, label %30 28: ; preds = %17 %29 = call i32 (...) @link_error() br label %30 30: ; preds = %28, %17 ret void } declare i32 @tanf(float noundef) #1 declare i32 @link_error(...) #1 declare i32 @sinf(float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpl8dmcn3c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test2f(float noundef %0, float noundef %1) #0 { %3 = alloca float, align 4 %4 = alloca float, align 4 store float %0, ptr %3, align 4 store float %1, ptr %4, align 4 %5 = load float, ptr %3, align 4 %6 = load float, ptr %4, align 4 %7 = fsub float %5, %6 %8 = call i32 @tanf(float noundef %7) %9 = sub nsw i32 0, %8 %10 = load float, ptr %4, align 4 %11 = load float, ptr %3, align 4 %12 = fsub float %10, %11 %13 = call i32 @tanf(float noundef %12) %14 = icmp ne i32 %9, %13 br i1 %14, label %15, label %17 15: ; preds = %2 %16 = call i32 (...) @link_error() br label %17 17: ; preds = %15, %2 %18 = load float, ptr %3, align 4 %19 = load float, ptr %4, align 4 %20 = fsub float %18, %19 %21 = call i32 @sinf(float noundef %20) %22 = sub nsw i32 0, %21 %23 = load float, ptr %4, align 4 %24 = load float, ptr %3, align 4 %25 = fsub float %23, %24 %26 = call i32 @sinf(float noundef %25) %27 = icmp ne i32 %22, %26 br i1 %27, label %28, label %30 28: ; preds = %17 %29 = call i32 (...) @link_error() br label %30 30: ; preds = %28, %17 ret void } declare i32 @tanf(float noundef) #1 declare i32 @link_error(...) #1 declare i32 @sinf(float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp234_n737.c' source_filename = "/tmp/tmp234_n737.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @gen_prime(i32 noundef %0, i64 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i64, align 8 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i64 %1, ptr %4, align 8 %6 = load i32, ptr %5, align 4 %7 = call i32 @mpz_init(i32 noundef %6) %8 = load i32, ptr %5, align 4 %9 = load i64, ptr %4, align 8 %10 = call i32 @gen_random(i32 noundef %8, i64 noundef %9) %11 = load i32, ptr %5, align 4 %12 = load i64, ptr %4, align 8 %13 = sub nsw i64 %12, 1 %14 = call i32 @mpz_setbit(i32 noundef %11, i64 noundef %13) %15 = load i32, ptr %3, align 4 %16 = load i32, ptr %5, align 4 %17 = call i32 @mpz_nextprime(i32 noundef %15, i32 noundef %16) %18 = load i32, ptr %5, align 4 %19 = call i32 @mpz_clear(i32 noundef %18) ret i32 0 } declare i32 @mpz_init(i32 noundef) #1 declare i32 @gen_random(i32 noundef, i64 noundef) #1 declare i32 @mpz_setbit(i32 noundef, i64 noundef) #1 declare i32 @mpz_nextprime(i32 noundef, i32 noundef) #1 declare i32 @mpz_clear(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp234_n737.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @gen_prime(i32 noundef %0, i64 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i64, align 8 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i64 %1, ptr %4, align 8 %6 = load i32, ptr %5, align 4 %7 = call i32 @mpz_init(i32 noundef %6) %8 = load i32, ptr %5, align 4 %9 = load i64, ptr %4, align 8 %10 = call i32 @gen_random(i32 noundef %8, i64 noundef %9) %11 = load i32, ptr %5, align 4 %12 = load i64, ptr %4, align 8 %13 = sub nsw i64 %12, 1 %14 = call i32 @mpz_setbit(i32 noundef %11, i64 noundef %13) %15 = load i32, ptr %3, align 4 %16 = load i32, ptr %5, align 4 %17 = call i32 @mpz_nextprime(i32 noundef %15, i32 noundef %16) %18 = load i32, ptr %5, align 4 %19 = call i32 @mpz_clear(i32 noundef %18) ret i32 0 } declare i32 @mpz_init(i32 noundef) #1 declare i32 @gen_random(i32 noundef, i64 noundef) #1 declare i32 @mpz_setbit(i32 noundef, i64 noundef) #1 declare i32 @mpz_nextprime(i32 noundef, i32 noundef) #1 declare i32 @mpz_clear(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzl349zav.c' source_filename = "/tmp/tmpzl349zav.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzl349zav.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprfns9yex.c' source_filename = "/tmp/tmprfns9yex.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.input_event = type { i64, i64, i16, i16, i32 } @.str = private unnamed_addr constant [3 x i8] c"Up\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"Down\00", align 1 @__const.main.state = private unnamed_addr constant [2 x ptr] [ptr @.str, ptr @.str.1], align 16 @.str.2 = private unnamed_addr constant [18 x i8] c"/dev/input/event7\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [7 x i8] c"evtest\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"-----\0A\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"%d %d\0A\00", align 1 @.str.6 = private unnamed_addr constant [17 x i8] c" %ld.%ld %s %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca [2 x %struct.input_event], align 16 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [2 x ptr], align 16 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.main.state, i64 16, i1 false) %6 = load i32, ptr @O_RDONLY, align 4 %7 = call i32 @open(ptr noundef @.str.2, i32 noundef %6) store i32 %7, ptr %3, align 4 %8 = icmp slt i32 %7, 0 br i1 %8, label %9, label %12 9: ; preds = %0 %10 = call i32 @perror(ptr noundef @.str.3) %11 = call i32 @exit(i32 noundef -1) #4 unreachable 12: ; preds = %0 br label %13 13: ; preds = %12, %22, %23 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %15 = load i32, ptr %3, align 4 %16 = getelementptr inbounds [2 x %struct.input_event], ptr %1, i64 0, i64 0 %17 = call i32 @read(i32 noundef %15, ptr noundef %16, i32 noundef 48) store i32 %17, ptr %2, align 4 %18 = load i32, ptr %2, align 4 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %18, i64 noundef 24) %20 = load i32, ptr %2, align 4 %21 = icmp slt i32 %20, 24 br i1 %21, label %22, label %23 22: ; preds = %13 br label %13 23: ; preds = %13 %24 = getelementptr inbounds [2 x %struct.input_event], ptr %1, i64 0, i64 0 %25 = getelementptr inbounds %struct.input_event, ptr %24, i32 0, i32 0 %26 = load i64, ptr %25, align 16 %27 = getelementptr inbounds [2 x %struct.input_event], ptr %1, i64 0, i64 0 %28 = getelementptr inbounds %struct.input_event, ptr %27, i32 0, i32 1 %29 = load i64, ptr %28, align 8 %30 = sdiv i64 %29, 1000 %31 = getelementptr inbounds [2 x %struct.input_event], ptr %1, i64 0, i64 0 %32 = getelementptr inbounds %struct.input_event, ptr %31, i32 0, i32 3 %33 = load i16, ptr %32, align 2 %34 = call i32 @button(i16 noundef zeroext %33) %35 = getelementptr inbounds [2 x %struct.input_event], ptr %1, i64 0, i64 0 %36 = getelementptr inbounds %struct.input_event, ptr %35, i32 0, i32 4 %37 = load i32, ptr %36, align 4 %38 = zext i32 %37 to i64 %39 = getelementptr inbounds [2 x ptr], ptr %5, i64 0, i64 %38 %40 = load ptr, ptr %39, align 8 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i64 noundef %26, i64 noundef %30, i32 noundef %34, ptr noundef %40) br label %13 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @open(ptr noundef, i32 noundef) #2 declare i32 @perror(ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @printf(ptr noundef, ...) #2 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @button(i16 noundef zeroext) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprfns9yex.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.input_event = type { i64, i64, i16, i16, i32 } @.str = private unnamed_addr constant [3 x i8] c"Up\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"Down\00", align 1 @__const.main.state = private unnamed_addr constant [2 x ptr] [ptr @.str, ptr @.str.1], align 16 @.str.2 = private unnamed_addr constant [18 x i8] c"/dev/input/event7\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [7 x i8] c"evtest\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"-----\0A\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"%d %d\0A\00", align 1 @.str.6 = private unnamed_addr constant [17 x i8] c" %ld.%ld %s %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca [2 x %struct.input_event], align 16 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [2 x ptr], align 16 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.main.state, i64 16, i1 false) %6 = load i32, ptr @O_RDONLY, align 4 %7 = call i32 @open(ptr noundef @.str.2, i32 noundef %6) store i32 %7, ptr %3, align 4 %8 = icmp slt i32 %7, 0 br i1 %8, label %9, label %12 9: ; preds = %0 %10 = call i32 @perror(ptr noundef @.str.3) %11 = call i32 @exit(i32 noundef -1) #4 unreachable 12: ; preds = %0 br label %13 13: ; preds = %.backedge, %12 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %15 = load i32, ptr %3, align 4 %16 = getelementptr inbounds [2 x %struct.input_event], ptr %1, i64 0, i64 0 %17 = call i32 @read(i32 noundef %15, ptr noundef %16, i32 noundef 48) store i32 %17, ptr %2, align 4 %18 = load i32, ptr %2, align 4 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %18, i64 noundef 24) %20 = load i32, ptr %2, align 4 %21 = icmp slt i32 %20, 24 br i1 %21, label %22, label %23 22: ; preds = %13 br label %.backedge .backedge: ; preds = %22, %23 br label %13 23: ; preds = %13 %24 = getelementptr inbounds [2 x %struct.input_event], ptr %1, i64 0, i64 0 %25 = getelementptr inbounds %struct.input_event, ptr %24, i32 0, i32 0 %26 = load i64, ptr %25, align 16 %27 = getelementptr inbounds [2 x %struct.input_event], ptr %1, i64 0, i64 0 %28 = getelementptr inbounds %struct.input_event, ptr %27, i32 0, i32 1 %29 = load i64, ptr %28, align 8 %30 = sdiv i64 %29, 1000 %31 = getelementptr inbounds [2 x %struct.input_event], ptr %1, i64 0, i64 0 %32 = getelementptr inbounds %struct.input_event, ptr %31, i32 0, i32 3 %33 = load i16, ptr %32, align 2 %34 = call i32 @button(i16 noundef zeroext %33) %35 = getelementptr inbounds [2 x %struct.input_event], ptr %1, i64 0, i64 0 %36 = getelementptr inbounds %struct.input_event, ptr %35, i32 0, i32 4 %37 = load i32, ptr %36, align 4 %38 = zext i32 %37 to i64 %39 = getelementptr inbounds [2 x ptr], ptr %5, i64 0, i64 %38 %40 = load ptr, ptr %39, align 8 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i64 noundef %26, i64 noundef %30, i32 noundef %34, ptr noundef %40) br label %.backedge } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @open(ptr noundef, i32 noundef) #2 declare i32 @perror(ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @printf(ptr noundef, ...) #2 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @button(i16 noundef zeroext) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqys01_os.c' source_filename = "/tmp/tmpqys01_os.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @getLabels(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %12 = load i32, ptr %5, align 4 %13 = call i64 @calloc(i32 noundef %12, i32 noundef 4) %14 = inttoptr i64 %13 to ptr store ptr %14, ptr %7, align 8 %15 = load ptr, ptr %7, align 8 %16 = call i32 @assert(ptr noundef %15) %17 = load i32, ptr %5, align 4 %18 = call i64 @calloc(i32 noundef %17, i32 noundef 4) %19 = inttoptr i64 %18 to ptr store ptr %19, ptr %8, align 8 %20 = load ptr, ptr %8, align 8 %21 = call i32 @assert(ptr noundef %20) %22 = load i32, ptr %5, align 4 %23 = call i64 @calloc(i32 noundef %22, i32 noundef 4) %24 = inttoptr i64 %23 to ptr store ptr %24, ptr %9, align 8 %25 = load ptr, ptr %9, align 8 %26 = call i32 @assert(ptr noundef %25) store i32 0, ptr %11, align 4 br label %27 27: ; preds = %75, %3 %28 = load i32, ptr %11, align 4 %29 = load i32, ptr %5, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %31, label %78 31: ; preds = %27 %32 = load ptr, ptr %8, align 8 %33 = load i32, ptr %11, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i32, ptr %32, i64 %34 store i32 -1, ptr %35, align 4 store i32 0, ptr %10, align 4 br label %36 36: ; preds = %71, %31 %37 = load i32, ptr %10, align 4 %38 = load i32, ptr %6, align 4 %39 = icmp slt i32 %37, %38 br i1 %39, label %40, label %74 40: ; preds = %36 %41 = load ptr, ptr %4, align 8 %42 = load i32, ptr %10, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds ptr, ptr %41, i64 %43 %45 = load ptr, ptr %44, align 8 %46 = load i32, ptr %11, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i32, ptr %45, i64 %47 %49 = load i32, ptr %48, align 4 %50 = icmp sgt i32 %49, 0 br i1 %50, label %51, label %70 51: ; preds = %40 %52 = load ptr, ptr %8, align 8 %53 = load i32, ptr %11, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i32, ptr %52, i64 %54 %56 = load i32, ptr %55, align 4 %57 = icmp eq i32 %56, -1 br i1 %57, label %58, label %64 58: ; preds = %51 %59 = load i32, ptr %10, align 4 %60 = load ptr, ptr %8, align 8 %61 = load i32, ptr %11, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds i32, ptr %60, i64 %62 store i32 %59, ptr %63, align 4 br label %64 64: ; preds = %58, %51 %65 = load i32, ptr %10, align 4 %66 = load ptr, ptr %9, align 8 %67 = load i32, ptr %11, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds i32, ptr %66, i64 %68 store i32 %65, ptr %69, align 4 br label %70 70: ; preds = %64, %40 br label %71 71: ; preds = %70 %72 = load i32, ptr %10, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %10, align 4 br label %36, !llvm.loop !6 74: ; preds = %36 br label %75 75: ; preds = %74 %76 = load i32, ptr %11, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %11, align 4 br label %27, !llvm.loop !8 78: ; preds = %27 store i32 0, ptr %11, align 4 store i32 0, ptr %10, align 4 br label %79 79: ; preds = %88, %78 %80 = load i32, ptr %10, align 4 %81 = load i32, ptr %5, align 4 %82 = icmp slt i32 %80, %81 br i1 %82, label %83, label %91 83: ; preds = %79 %84 = load ptr, ptr %7, align 8 %85 = load i32, ptr %10, align 4 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds i32, ptr %84, i64 %86 store i32 -1, ptr %87, align 4 br label %88 88: ; preds = %83 %89 = load i32, ptr %10, align 4 %90 = add nsw i32 %89, 1 store i32 %90, ptr %10, align 4 br label %79, !llvm.loop !9 91: ; preds = %79 store i32 0, ptr %10, align 4 br label %92 92: ; preds = %120, %91 %93 = load i32, ptr %10, align 4 %94 = load i32, ptr %5, align 4 %95 = icmp slt i32 %93, %94 br i1 %95, label %96, label %123 96: ; preds = %92 %97 = load ptr, ptr %7, align 8 %98 = load i32, ptr %10, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds i32, ptr %97, i64 %99 %101 = load i32, ptr %100, align 4 %102 = icmp eq i32 %101, -1 br i1 %102, label %103, label %119 103: ; preds = %96 %104 = load ptr, ptr %8, align 8 %105 = load i32, ptr %10, align 4 %106 = sext i32 %105 to i64 %107 = getelementptr inbounds i32, ptr %104, i64 %106 %108 = load i32, ptr %107, align 4 %109 = icmp ne i32 %108, -1 br i1 %109, label %110, label %119 110: ; preds = %103 %111 = load ptr, ptr %7, align 8 %112 = load ptr, ptr %8, align 8 %113 = load ptr, ptr %9, align 8 %114 = load i32, ptr %5, align 4 %115 = load i32, ptr %10, align 4 %116 = load i32, ptr %11, align 4 %117 = add nsw i32 %116, 1 store i32 %117, ptr %11, align 4 %118 = call i32 @floodfill(ptr noundef %111, ptr noundef %112, ptr noundef %113, i32 noundef %114, i32 noundef %115, i32 noundef %116) br label %119 119: ; preds = %110, %103, %96 br label %120 120: ; preds = %119 %121 = load i32, ptr %10, align 4 %122 = add nsw i32 %121, 1 store i32 %122, ptr %10, align 4 br label %92, !llvm.loop !10 123: ; preds = %92 %124 = load ptr, ptr %8, align 8 %125 = call i32 @free(ptr noundef %124) %126 = load ptr, ptr %9, align 8 %127 = call i32 @free(ptr noundef %126) %128 = load ptr, ptr %7, align 8 ret ptr %128 } declare i64 @calloc(i32 noundef, i32 noundef) #1 declare i32 @assert(ptr noundef) #1 declare i32 @floodfill(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqys01_os.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @getLabels(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %12 = load i32, ptr %5, align 4 %13 = call i64 @calloc(i32 noundef %12, i32 noundef 4) %14 = inttoptr i64 %13 to ptr store ptr %14, ptr %7, align 8 %15 = load ptr, ptr %7, align 8 %16 = call i32 @assert(ptr noundef %15) %17 = load i32, ptr %5, align 4 %18 = call i64 @calloc(i32 noundef %17, i32 noundef 4) %19 = inttoptr i64 %18 to ptr store ptr %19, ptr %8, align 8 %20 = load ptr, ptr %8, align 8 %21 = call i32 @assert(ptr noundef %20) %22 = load i32, ptr %5, align 4 %23 = call i64 @calloc(i32 noundef %22, i32 noundef 4) %24 = inttoptr i64 %23 to ptr store ptr %24, ptr %9, align 8 %25 = load ptr, ptr %9, align 8 %26 = call i32 @assert(ptr noundef %25) store i32 0, ptr %11, align 4 %27 = load i32, ptr %11, align 4 %28 = load i32, ptr %5, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %.lr.ph2, label %82 .lr.ph2: ; preds = %3 br label %30 30: ; preds = %.lr.ph2, %76 %31 = load ptr, ptr %8, align 8 %32 = load i32, ptr %11, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i32, ptr %31, i64 %33 store i32 -1, ptr %34, align 4 store i32 0, ptr %10, align 4 %35 = load i32, ptr %10, align 4 %36 = load i32, ptr %6, align 4 %37 = icmp slt i32 %35, %36 br i1 %37, label %.lr.ph, label %75 .lr.ph: ; preds = %30 br label %38 38: ; preds = %.lr.ph, %69 %39 = load ptr, ptr %4, align 8 %40 = load i32, ptr %10, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds ptr, ptr %39, i64 %41 %43 = load ptr, ptr %42, align 8 %44 = load i32, ptr %11, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i32, ptr %43, i64 %45 %47 = load i32, ptr %46, align 4 %48 = icmp sgt i32 %47, 0 br i1 %48, label %49, label %68 49: ; preds = %38 %50 = load ptr, ptr %8, align 8 %51 = load i32, ptr %11, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i32, ptr %50, i64 %52 %54 = load i32, ptr %53, align 4 %55 = icmp eq i32 %54, -1 br i1 %55, label %56, label %62 56: ; preds = %49 %57 = load i32, ptr %10, align 4 %58 = load ptr, ptr %8, align 8 %59 = load i32, ptr %11, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i32, ptr %58, i64 %60 store i32 %57, ptr %61, align 4 br label %62 62: ; preds = %56, %49 %63 = load i32, ptr %10, align 4 %64 = load ptr, ptr %9, align 8 %65 = load i32, ptr %11, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds i32, ptr %64, i64 %66 store i32 %63, ptr %67, align 4 br label %68 68: ; preds = %62, %38 br label %69 69: ; preds = %68 %70 = load i32, ptr %10, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %10, align 4 %72 = load i32, ptr %10, align 4 %73 = load i32, ptr %6, align 4 %74 = icmp slt i32 %72, %73 br i1 %74, label %38, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %69 br label %75 75: ; preds = %._crit_edge, %30 br label %76 76: ; preds = %75 %77 = load i32, ptr %11, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %11, align 4 %79 = load i32, ptr %11, align 4 %80 = load i32, ptr %5, align 4 %81 = icmp slt i32 %79, %80 br i1 %81, label %30, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %76 br label %82 82: ; preds = %._crit_edge3, %3 store i32 0, ptr %11, align 4 store i32 0, ptr %10, align 4 %83 = load i32, ptr %10, align 4 %84 = load i32, ptr %5, align 4 %85 = icmp slt i32 %83, %84 br i1 %85, label %.lr.ph5, label %97 .lr.ph5: ; preds = %82 br label %86 86: ; preds = %.lr.ph5, %91 %87 = load ptr, ptr %7, align 8 %88 = load i32, ptr %10, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds i32, ptr %87, i64 %89 store i32 -1, ptr %90, align 4 br label %91 91: ; preds = %86 %92 = load i32, ptr %10, align 4 %93 = add nsw i32 %92, 1 store i32 %93, ptr %10, align 4 %94 = load i32, ptr %10, align 4 %95 = load i32, ptr %5, align 4 %96 = icmp slt i32 %94, %95 br i1 %96, label %86, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %91 br label %97 97: ; preds = %._crit_edge6, %82 store i32 0, ptr %10, align 4 %98 = load i32, ptr %10, align 4 %99 = load i32, ptr %5, align 4 %100 = icmp slt i32 %98, %99 br i1 %100, label %.lr.ph8, label %131 .lr.ph8: ; preds = %97 br label %101 101: ; preds = %.lr.ph8, %125 %102 = load ptr, ptr %7, align 8 %103 = load i32, ptr %10, align 4 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds i32, ptr %102, i64 %104 %106 = load i32, ptr %105, align 4 %107 = icmp eq i32 %106, -1 br i1 %107, label %108, label %124 108: ; preds = %101 %109 = load ptr, ptr %8, align 8 %110 = load i32, ptr %10, align 4 %111 = sext i32 %110 to i64 %112 = getelementptr inbounds i32, ptr %109, i64 %111 %113 = load i32, ptr %112, align 4 %114 = icmp ne i32 %113, -1 br i1 %114, label %115, label %124 115: ; preds = %108 %116 = load ptr, ptr %7, align 8 %117 = load ptr, ptr %8, align 8 %118 = load ptr, ptr %9, align 8 %119 = load i32, ptr %5, align 4 %120 = load i32, ptr %10, align 4 %121 = load i32, ptr %11, align 4 %122 = add nsw i32 %121, 1 store i32 %122, ptr %11, align 4 %123 = call i32 @floodfill(ptr noundef %116, ptr noundef %117, ptr noundef %118, i32 noundef %119, i32 noundef %120, i32 noundef %121) br label %124 124: ; preds = %115, %108, %101 br label %125 125: ; preds = %124 %126 = load i32, ptr %10, align 4 %127 = add nsw i32 %126, 1 store i32 %127, ptr %10, align 4 %128 = load i32, ptr %10, align 4 %129 = load i32, ptr %5, align 4 %130 = icmp slt i32 %128, %129 br i1 %130, label %101, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %125 br label %131 131: ; preds = %._crit_edge9, %97 %132 = load ptr, ptr %8, align 8 %133 = call i32 @free(ptr noundef %132) %134 = load ptr, ptr %9, align 8 %135 = call i32 @free(ptr noundef %134) %136 = load ptr, ptr %7, align 8 ret ptr %136 } declare i64 @calloc(i32 noundef, i32 noundef) #1 declare i32 @assert(ptr noundef) #1 declare i32 @floodfill(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmp0ai3hgd_.c' source_filename = "/tmp/tmp0ai3hgd_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"test pass\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i64 (...) @test_ipvlan() %3 = icmp ne i64 %2, 0 br i1 %3, label %4, label %5 4: ; preds = %0 store i32 -1, ptr %1, align 4 br label %11 5: ; preds = %0 %6 = call i64 (...) @test_veth() %7 = icmp ne i64 %6, 0 br i1 %7, label %8, label %9 8: ; preds = %5 store i32 -1, ptr %1, align 4 br label %11 9: ; preds = %5 %10 = call i32 @printf(ptr noundef @.str) store i32 0, ptr %1, align 4 br label %11 11: ; preds = %9, %8, %4 %12 = load i32, ptr %1, align 4 ret i32 %12 } declare i64 @test_ipvlan(...) #1 declare i64 @test_veth(...) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0ai3hgd_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"test pass\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i64 (...) @test_ipvlan() %3 = icmp ne i64 %2, 0 br i1 %3, label %4, label %5 4: ; preds = %0 store i32 -1, ptr %1, align 4 br label %11 5: ; preds = %0 %6 = call i64 (...) @test_veth() %7 = icmp ne i64 %6, 0 br i1 %7, label %8, label %9 8: ; preds = %5 store i32 -1, ptr %1, align 4 br label %11 9: ; preds = %5 %10 = call i32 @printf(ptr noundef @.str) store i32 0, ptr %1, align 4 br label %11 11: ; preds = %9, %8, %4 %12 = load i32, ptr %1, align 4 ret i32 %12 } declare i64 @test_ipvlan(...) #1 declare i64 @test_veth(...) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqm_9u2_w.c' source_filename = "/tmp/tmpqm_9u2_w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [47 x i8] c"\0A%d is greater than %d AND they are not equal.\00", align 1 @.str.1 = private unnamed_addr constant [46 x i8] c"\0A%d is greater than %d OR they are not equal.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 7, ptr %1, align 4 store i32 7, ptr %2, align 4 %3 = load i32, ptr %1, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp sgt i32 %3, %4 br i1 %5, label %6, label %14 6: ; preds = %0 %7 = load i32, ptr %1, align 4 %8 = load i32, ptr %2, align 4 %9 = icmp ne i32 %7, %8 br i1 %9, label %10, label %14 10: ; preds = %6 %11 = load i32, ptr %1, align 4 %12 = load i32, ptr %2, align 4 %13 = call i32 @printf(ptr noundef @.str, i32 noundef %11, i32 noundef %12) br label %14 14: ; preds = %10, %6, %0 %15 = load i32, ptr %1, align 4 %16 = load i32, ptr %2, align 4 %17 = icmp sgt i32 %15, %16 br i1 %17, label %22, label %18 18: ; preds = %14 %19 = load i32, ptr %1, align 4 %20 = load i32, ptr %2, align 4 %21 = icmp ne i32 %19, %20 br i1 %21, label %22, label %26 22: ; preds = %18, %14 %23 = load i32, ptr %1, align 4 %24 = load i32, ptr %2, align 4 %25 = call i32 @printf(ptr noundef @.str.1, i32 noundef %23, i32 noundef %24) br label %26 26: ; preds = %22, %18 ret void } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqm_9u2_w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [47 x i8] c"\0A%d is greater than %d AND they are not equal.\00", align 1 @.str.1 = private unnamed_addr constant [46 x i8] c"\0A%d is greater than %d OR they are not equal.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 7, ptr %1, align 4 store i32 7, ptr %2, align 4 %3 = load i32, ptr %1, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp sgt i32 %3, %4 br i1 %5, label %6, label %14 6: ; preds = %0 %7 = load i32, ptr %1, align 4 %8 = load i32, ptr %2, align 4 %9 = icmp ne i32 %7, %8 br i1 %9, label %10, label %14 10: ; preds = %6 %11 = load i32, ptr %1, align 4 %12 = load i32, ptr %2, align 4 %13 = call i32 @printf(ptr noundef @.str, i32 noundef %11, i32 noundef %12) br label %14 14: ; preds = %10, %6, %0 %15 = load i32, ptr %1, align 4 %16 = load i32, ptr %2, align 4 %17 = icmp sgt i32 %15, %16 br i1 %17, label %22, label %18 18: ; preds = %14 %19 = load i32, ptr %1, align 4 %20 = load i32, ptr %2, align 4 %21 = icmp ne i32 %19, %20 br i1 %21, label %22, label %26 22: ; preds = %18, %14 %23 = load i32, ptr %1, align 4 %24 = load i32, ptr %2, align 4 %25 = call i32 @printf(ptr noundef @.str.1, i32 noundef %23, i32 noundef %24) br label %26 26: ; preds = %22, %18 ret void } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpz4_7w2im.c' source_filename = "/tmp/tmpz4_7w2im.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @EOF = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [19 x i8] c"numTrees(%d) = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 br label %7 7: ; preds = %11, %2 %8 = call i64 @scanf(ptr noundef @.str, ptr noundef %6) %9 = load i64, ptr @EOF, align 8 %10 = icmp ne i64 %8, %9 br i1 %10, label %11, label %16 11: ; preds = %7 %12 = load i32, ptr %6, align 4 %13 = load i32, ptr %6, align 4 %14 = call i32 @numTrees(i32 noundef %13) %15 = call i32 @printf(ptr noundef @.str.1, i32 noundef %12, i32 noundef %14) br label %7, !llvm.loop !6 16: ; preds = %7 ret i32 0 } declare i64 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @numTrees(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz4_7w2im.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @EOF = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [19 x i8] c"numTrees(%d) = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i64 @scanf(ptr noundef @.str, ptr noundef %6) %8 = load i64, ptr @EOF, align 8 %9 = icmp ne i64 %7, %8 br i1 %9, label %.lr.ph, label %18 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %10 %11 = load i32, ptr %6, align 4 %12 = load i32, ptr %6, align 4 %13 = call i32 @numTrees(i32 noundef %12) %14 = call i32 @printf(ptr noundef @.str.1, i32 noundef %11, i32 noundef %13) %15 = call i64 @scanf(ptr noundef @.str, ptr noundef %6) %16 = load i64, ptr @EOF, align 8 %17 = icmp ne i64 %15, %16 br i1 %17, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %10 br label %18 18: ; preds = %._crit_edge, %2 ret i32 0 } declare i64 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @numTrees(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpaoi2ion7.c' source_filename = "/tmp/tmpaoi2ion7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @func(i32 noundef 10) ret i32 0 } declare i32 @func(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpaoi2ion7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @func(i32 noundef 10) ret i32 0 } declare i32 @func(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5v4zq9ik.c' source_filename = "/tmp/tmp5v4zq9ik.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_storage = type { i32 } %struct.addrinfo = type { i32, i32, i32, i32, i32, i32 } @.str = private unnamed_addr constant [19 x i8] c"Usage: %s message\0A\00", align 1 @AF_UNSPEC = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @AI_PASSIVE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [3 x i8] c"17\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"Bind failed\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"Listen failed\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca %struct.sockaddr_storage, align 4 %7 = alloca i32, align 4 %8 = alloca %struct.addrinfo, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %19 14: ; preds = %2 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 0 %17 = load ptr, ptr %16, align 8 %18 = call i32 @printf(ptr noundef @.str, ptr noundef %17) store i32 1, ptr %3, align 4 br label %77 19: ; preds = %2 %20 = call i32 @memset(ptr noundef %8, i32 noundef 0, i32 noundef 24) %21 = load i32, ptr @AF_UNSPEC, align 4 %22 = getelementptr inbounds %struct.addrinfo, ptr %8, i32 0, i32 4 store i32 %21, ptr %22, align 4 %23 = load i32, ptr @SOCK_STREAM, align 4 %24 = getelementptr inbounds %struct.addrinfo, ptr %8, i32 0, i32 3 store i32 %23, ptr %24, align 4 %25 = load i32, ptr @AI_PASSIVE, align 4 %26 = getelementptr inbounds %struct.addrinfo, ptr %8, i32 0, i32 5 store i32 %25, ptr %26, align 4 %27 = call i32 @getaddrinfo(ptr noundef null, ptr noundef @.str.1, ptr noundef %8, ptr noundef %9) %28 = load ptr, ptr %9, align 8 %29 = getelementptr inbounds %struct.addrinfo, ptr %28, i32 0, i32 4 %30 = load i32, ptr %29, align 4 %31 = load ptr, ptr %9, align 8 %32 = getelementptr inbounds %struct.addrinfo, ptr %31, i32 0, i32 3 %33 = load i32, ptr %32, align 4 %34 = load ptr, ptr %9, align 8 %35 = getelementptr inbounds %struct.addrinfo, ptr %34, i32 0, i32 2 %36 = load i32, ptr %35, align 4 %37 = call i32 @socket(i32 noundef %30, i32 noundef %33, i32 noundef %36) store i32 %37, ptr %10, align 4 %38 = load i32, ptr %10, align 4 %39 = load ptr, ptr %9, align 8 %40 = getelementptr inbounds %struct.addrinfo, ptr %39, i32 0, i32 1 %41 = load i32, ptr %40, align 4 %42 = load ptr, ptr %9, align 8 %43 = getelementptr inbounds %struct.addrinfo, ptr %42, i32 0, i32 0 %44 = load i32, ptr %43, align 4 %45 = call i64 @bind(i32 noundef %38, i32 noundef %41, i32 noundef %44) %46 = icmp ne i64 %45, 0 br i1 %46, label %47, label %50 47: ; preds = %19 %48 = call i32 @perror(ptr noundef @.str.2) %49 = call i32 @exit(i32 noundef 1) #3 unreachable 50: ; preds = %19 %51 = load i32, ptr %10, align 4 %52 = call i64 @listen(i32 noundef %51, i32 noundef 10) %53 = icmp ne i64 %52, 0 br i1 %53, label %54, label %57 54: ; preds = %50 %55 = call i32 @perror(ptr noundef @.str.3) %56 = call i32 @exit(i32 noundef 1) #3 unreachable 57: ; preds = %50 store i32 4, ptr %7, align 4 br label %58 58: ; preds = %62, %57 %59 = load i32, ptr %10, align 4 %60 = call i32 @accept(i32 noundef %59, ptr noundef %6, ptr noundef %7) store i32 %60, ptr %11, align 4 %61 = icmp sgt i32 %60, -1 br i1 %61, label %62, label %77 62: ; preds = %58 %63 = load i32, ptr %11, align 4 %64 = load ptr, ptr %5, align 8 %65 = getelementptr inbounds ptr, ptr %64, i64 1 %66 = load ptr, ptr %65, align 8 %67 = load ptr, ptr %5, align 8 %68 = getelementptr inbounds ptr, ptr %67, i64 1 %69 = load ptr, ptr %68, align 8 %70 = call i32 @strlen(ptr noundef %69) %71 = call i32 @send(i32 noundef %63, ptr noundef %66, i32 noundef %70, i32 noundef 0) %72 = load i32, ptr %11, align 4 %73 = call i32 @strlen(ptr noundef @.str.4) %74 = call i32 @send(i32 noundef %72, ptr noundef @.str.4, i32 noundef %73, i32 noundef 0) %75 = load i32, ptr %11, align 4 %76 = call i32 @close(i32 noundef %75) br label %58, !llvm.loop !6 77: ; preds = %14, %58 %78 = load i32, ptr %3, align 4 ret i32 %78 } declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i64 @bind(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @listen(i32 noundef, i32 noundef) #1 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5v4zq9ik.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_storage = type { i32 } %struct.addrinfo = type { i32, i32, i32, i32, i32, i32 } @.str = private unnamed_addr constant [19 x i8] c"Usage: %s message\0A\00", align 1 @AF_UNSPEC = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @AI_PASSIVE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [3 x i8] c"17\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"Bind failed\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"Listen failed\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca %struct.sockaddr_storage, align 4 %7 = alloca i32, align 4 %8 = alloca %struct.addrinfo, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %19 14: ; preds = %2 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 0 %17 = load ptr, ptr %16, align 8 %18 = call i32 @printf(ptr noundef @.str, ptr noundef %17) store i32 1, ptr %3, align 4 br label %79 19: ; preds = %2 %20 = call i32 @memset(ptr noundef %8, i32 noundef 0, i32 noundef 24) %21 = load i32, ptr @AF_UNSPEC, align 4 %22 = getelementptr inbounds %struct.addrinfo, ptr %8, i32 0, i32 4 store i32 %21, ptr %22, align 4 %23 = load i32, ptr @SOCK_STREAM, align 4 %24 = getelementptr inbounds %struct.addrinfo, ptr %8, i32 0, i32 3 store i32 %23, ptr %24, align 4 %25 = load i32, ptr @AI_PASSIVE, align 4 %26 = getelementptr inbounds %struct.addrinfo, ptr %8, i32 0, i32 5 store i32 %25, ptr %26, align 4 %27 = call i32 @getaddrinfo(ptr noundef null, ptr noundef @.str.1, ptr noundef %8, ptr noundef %9) %28 = load ptr, ptr %9, align 8 %29 = getelementptr inbounds %struct.addrinfo, ptr %28, i32 0, i32 4 %30 = load i32, ptr %29, align 4 %31 = load ptr, ptr %9, align 8 %32 = getelementptr inbounds %struct.addrinfo, ptr %31, i32 0, i32 3 %33 = load i32, ptr %32, align 4 %34 = load ptr, ptr %9, align 8 %35 = getelementptr inbounds %struct.addrinfo, ptr %34, i32 0, i32 2 %36 = load i32, ptr %35, align 4 %37 = call i32 @socket(i32 noundef %30, i32 noundef %33, i32 noundef %36) store i32 %37, ptr %10, align 4 %38 = load i32, ptr %10, align 4 %39 = load ptr, ptr %9, align 8 %40 = getelementptr inbounds %struct.addrinfo, ptr %39, i32 0, i32 1 %41 = load i32, ptr %40, align 4 %42 = load ptr, ptr %9, align 8 %43 = getelementptr inbounds %struct.addrinfo, ptr %42, i32 0, i32 0 %44 = load i32, ptr %43, align 4 %45 = call i64 @bind(i32 noundef %38, i32 noundef %41, i32 noundef %44) %46 = icmp ne i64 %45, 0 br i1 %46, label %47, label %50 47: ; preds = %19 %48 = call i32 @perror(ptr noundef @.str.2) %49 = call i32 @exit(i32 noundef 1) #3 unreachable 50: ; preds = %19 %51 = load i32, ptr %10, align 4 %52 = call i64 @listen(i32 noundef %51, i32 noundef 10) %53 = icmp ne i64 %52, 0 br i1 %53, label %54, label %57 54: ; preds = %50 %55 = call i32 @perror(ptr noundef @.str.3) %56 = call i32 @exit(i32 noundef 1) #3 unreachable 57: ; preds = %50 store i32 4, ptr %7, align 4 %58 = load i32, ptr %10, align 4 %59 = call i32 @accept(i32 noundef %58, ptr noundef %6, ptr noundef %7) store i32 %59, ptr %11, align 4 %60 = icmp sgt i32 %59, -1 br i1 %60, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %57 br label %61 61: ; preds = %.lr.ph, %61 %62 = load i32, ptr %11, align 4 %63 = load ptr, ptr %5, align 8 %64 = getelementptr inbounds ptr, ptr %63, i64 1 %65 = load ptr, ptr %64, align 8 %66 = load ptr, ptr %5, align 8 %67 = getelementptr inbounds ptr, ptr %66, i64 1 %68 = load ptr, ptr %67, align 8 %69 = call i32 @strlen(ptr noundef %68) %70 = call i32 @send(i32 noundef %62, ptr noundef %65, i32 noundef %69, i32 noundef 0) %71 = load i32, ptr %11, align 4 %72 = call i32 @strlen(ptr noundef @.str.4) %73 = call i32 @send(i32 noundef %71, ptr noundef @.str.4, i32 noundef %72, i32 noundef 0) %74 = load i32, ptr %11, align 4 %75 = call i32 @close(i32 noundef %74) %76 = load i32, ptr %10, align 4 %77 = call i32 @accept(i32 noundef %76, ptr noundef %6, ptr noundef %7) store i32 %77, ptr %11, align 4 %78 = icmp sgt i32 %77, -1 br i1 %78, label %61, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %61 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %57 br label %79 79: ; preds = %.loopexit, %14 %80 = load i32, ptr %3, align 4 ret i32 %80 } declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i64 @bind(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @listen(i32 noundef, i32 noundef) #1 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpt9r7hdeh.c' source_filename = "/tmp/tmpt9r7hdeh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @dirt_load() #0 { %1 = call i32 (...) @PIC18F4520_start() %2 = call i32 (...) @PIC18F452_start() %3 = call i32 (...) @PIC18F4550_start() %4 = call i32 (...) @PIC18F45K50_start() %5 = call i32 (...) @PIC18F4620_start() %6 = call i32 (...) @PIC16F628A_start() %7 = call i32 (...) @PIC16F648A_start() %8 = call i32 (...) @PIC16F777_start() %9 = call i32 (...) @PIC16F877A_start() %10 = call i32 (...) @PIC16F84A_start() %11 = call i32 (...) @PIC16F1619_start() %12 = call i32 (...) @PIC16F18855_start() %13 = call i32 (...) @PIC16F1939_start() %14 = call i32 (...) @PIC16F1788_start() %15 = call i32 (...) @PIC16F1789_start() %16 = call i32 (...) @PIC18F27K40_start() %17 = call i32 (...) @PIC18F47K40_start() %18 = call i32 (...) @PIC16F18324_start() %19 = call i32 (...) @PIC18F46J50_start() %20 = call i32 (...) @PIC18F67J94_start() ret void } declare i32 @PIC18F4520_start(...) #1 declare i32 @PIC18F452_start(...) #1 declare i32 @PIC18F4550_start(...) #1 declare i32 @PIC18F45K50_start(...) #1 declare i32 @PIC18F4620_start(...) #1 declare i32 @PIC16F628A_start(...) #1 declare i32 @PIC16F648A_start(...) #1 declare i32 @PIC16F777_start(...) #1 declare i32 @PIC16F877A_start(...) #1 declare i32 @PIC16F84A_start(...) #1 declare i32 @PIC16F1619_start(...) #1 declare i32 @PIC16F18855_start(...) #1 declare i32 @PIC16F1939_start(...) #1 declare i32 @PIC16F1788_start(...) #1 declare i32 @PIC16F1789_start(...) #1 declare i32 @PIC18F27K40_start(...) #1 declare i32 @PIC18F47K40_start(...) #1 declare i32 @PIC16F18324_start(...) #1 declare i32 @PIC18F46J50_start(...) #1 declare i32 @PIC18F67J94_start(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpt9r7hdeh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @dirt_load() #0 { %1 = call i32 (...) @PIC18F4520_start() %2 = call i32 (...) @PIC18F452_start() %3 = call i32 (...) @PIC18F4550_start() %4 = call i32 (...) @PIC18F45K50_start() %5 = call i32 (...) @PIC18F4620_start() %6 = call i32 (...) @PIC16F628A_start() %7 = call i32 (...) @PIC16F648A_start() %8 = call i32 (...) @PIC16F777_start() %9 = call i32 (...) @PIC16F877A_start() %10 = call i32 (...) @PIC16F84A_start() %11 = call i32 (...) @PIC16F1619_start() %12 = call i32 (...) @PIC16F18855_start() %13 = call i32 (...) @PIC16F1939_start() %14 = call i32 (...) @PIC16F1788_start() %15 = call i32 (...) @PIC16F1789_start() %16 = call i32 (...) @PIC18F27K40_start() %17 = call i32 (...) @PIC18F47K40_start() %18 = call i32 (...) @PIC16F18324_start() %19 = call i32 (...) @PIC18F46J50_start() %20 = call i32 (...) @PIC18F67J94_start() ret void } declare i32 @PIC18F4520_start(...) #1 declare i32 @PIC18F452_start(...) #1 declare i32 @PIC18F4550_start(...) #1 declare i32 @PIC18F45K50_start(...) #1 declare i32 @PIC18F4620_start(...) #1 declare i32 @PIC16F628A_start(...) #1 declare i32 @PIC16F648A_start(...) #1 declare i32 @PIC16F777_start(...) #1 declare i32 @PIC16F877A_start(...) #1 declare i32 @PIC16F84A_start(...) #1 declare i32 @PIC16F1619_start(...) #1 declare i32 @PIC16F18855_start(...) #1 declare i32 @PIC16F1939_start(...) #1 declare i32 @PIC16F1788_start(...) #1 declare i32 @PIC16F1789_start(...) #1 declare i32 @PIC18F27K40_start(...) #1 declare i32 @PIC18F47K40_start(...) #1 declare i32 @PIC16F18324_start(...) #1 declare i32 @PIC18F46J50_start(...) #1 declare i32 @PIC18F67J94_start(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_3y6sfd3.c' source_filename = "/tmp/tmp_3y6sfd3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"sys_vm86\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sys_vm86() #0 { %1 = call i32 @_panic(ptr noundef @.str) ret void } declare i32 @_panic(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_3y6sfd3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"sys_vm86\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sys_vm86() #0 { %1 = call i32 @_panic(ptr noundef @.str) ret void } declare i32 @_panic(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_kmgw728.c' source_filename = "/tmp/tmp_kmgw728.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_kmgw728.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmps_97yt5_.c' source_filename = "/tmp/tmps_97yt5_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @machdep_sys_wait3(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load i32, ptr %5, align 4 %9 = load ptr, ptr %6, align 8 %10 = call i32 @machdep_sys_wait4(i32 noundef 0, ptr noundef %7, i32 noundef %8, ptr noundef %9) ret i32 %10 } declare i32 @machdep_sys_wait4(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmps_97yt5_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @machdep_sys_wait3(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load i32, ptr %5, align 4 %9 = load ptr, ptr %6, align 8 %10 = call i32 @machdep_sys_wait4(i32 noundef 0, ptr noundef %7, i32 noundef %8, ptr noundef %9) ret i32 %10 } declare i32 @machdep_sys_wait4(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwde6qk6m.c' source_filename = "/tmp/tmpwde6qk6m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwde6qk6m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptadu_ksn.c' source_filename = "/tmp/tmptadu_ksn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"ERROR: Unable to allocate memory.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @memerr(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = icmp eq ptr %3, null br i1 %4, label %5, label %8 5: ; preds = %1 %6 = call i32 @puts(ptr noundef @.str) %7 = call i32 @exit(i32 noundef -1) #3 unreachable 8: ; preds = %1 ret void } declare i32 @puts(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptadu_ksn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"ERROR: Unable to allocate memory.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @memerr(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = icmp eq ptr %3, null br i1 %4, label %5, label %8 5: ; preds = %1 %6 = call i32 @puts(ptr noundef @.str) %7 = call i32 @exit(i32 noundef -1) #3 unreachable 8: ; preds = %1 ret void } declare i32 @puts(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7gu76rtw.c' source_filename = "/tmp/tmp7gu76rtw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"get.._by_index : no rule\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"%s %u -> %s:%u proto %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"description: \22%s\22\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_index() #0 { %1 = alloca [16 x i8], align 16 %2 = alloca [32 x i8], align 16 %3 = alloca [64 x i8], align 16 %4 = alloca i16, align 2 %5 = alloca i16, align 2 %6 = alloca i32, align 4 store i16 0, ptr %4, align 2 store i16 0, ptr %5, align 2 store i32 0, ptr %6, align 4 %7 = getelementptr inbounds [16 x i8], ptr %1, i64 0, i64 0 store i8 0, ptr %7, align 16 %8 = getelementptr inbounds [32 x i8], ptr %2, i64 0, i64 0 store i8 0, ptr %8, align 16 %9 = getelementptr inbounds [16 x i8], ptr %1, i64 0, i64 0 %10 = getelementptr inbounds [32 x i8], ptr %2, i64 0, i64 0 %11 = getelementptr inbounds [64 x i8], ptr %3, i64 0, i64 0 %12 = call i64 @get_redirect_rule_by_index(i32 noundef 0, ptr noundef %9, ptr noundef %5, ptr noundef %10, i32 noundef 32, ptr noundef %4, ptr noundef %6, ptr noundef %11, i32 noundef 64, i32 noundef 0, i32 noundef 0) %13 = icmp slt i64 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %0 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %27 16: ; preds = %0 %17 = getelementptr inbounds [16 x i8], ptr %1, i64 0, i64 0 %18 = load i16, ptr %5, align 2 %19 = zext i16 %18 to i32 %20 = getelementptr inbounds [32 x i8], ptr %2, i64 0, i64 0 %21 = load i16, ptr %4, align 2 %22 = zext i16 %21 to i32 %23 = load i32, ptr %6, align 4 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %17, i32 noundef %19, ptr noundef %20, i32 noundef %22, i32 noundef %23) %25 = getelementptr inbounds [64 x i8], ptr %3, i64 0, i64 0 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %25) br label %27 27: ; preds = %16, %14 ret void } declare i64 @get_redirect_rule_by_index(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7gu76rtw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"get.._by_index : no rule\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"%s %u -> %s:%u proto %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"description: \22%s\22\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_index() #0 { %1 = alloca [16 x i8], align 16 %2 = alloca [32 x i8], align 16 %3 = alloca [64 x i8], align 16 %4 = alloca i16, align 2 %5 = alloca i16, align 2 %6 = alloca i32, align 4 store i16 0, ptr %4, align 2 store i16 0, ptr %5, align 2 store i32 0, ptr %6, align 4 %7 = getelementptr inbounds [16 x i8], ptr %1, i64 0, i64 0 store i8 0, ptr %7, align 16 %8 = getelementptr inbounds [32 x i8], ptr %2, i64 0, i64 0 store i8 0, ptr %8, align 16 %9 = getelementptr inbounds [16 x i8], ptr %1, i64 0, i64 0 %10 = getelementptr inbounds [32 x i8], ptr %2, i64 0, i64 0 %11 = getelementptr inbounds [64 x i8], ptr %3, i64 0, i64 0 %12 = call i64 @get_redirect_rule_by_index(i32 noundef 0, ptr noundef %9, ptr noundef %5, ptr noundef %10, i32 noundef 32, ptr noundef %4, ptr noundef %6, ptr noundef %11, i32 noundef 64, i32 noundef 0, i32 noundef 0) %13 = icmp slt i64 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %0 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %27 16: ; preds = %0 %17 = getelementptr inbounds [16 x i8], ptr %1, i64 0, i64 0 %18 = load i16, ptr %5, align 2 %19 = zext i16 %18 to i32 %20 = getelementptr inbounds [32 x i8], ptr %2, i64 0, i64 0 %21 = load i16, ptr %4, align 2 %22 = zext i16 %21 to i32 %23 = load i32, ptr %6, align 4 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %17, i32 noundef %19, ptr noundef %20, i32 noundef %22, i32 noundef %23) %25 = getelementptr inbounds [64 x i8], ptr %3, i64 0, i64 0 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %25) br label %27 27: ; preds = %16, %14 ret void } declare i64 @get_redirect_rule_by_index(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqi_z7qqw.c' source_filename = "/tmp/tmpqi_z7qqw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @Memory__I7_malloc(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call ptr @Memory__I7_alloc(i32 noundef -1, i32 noundef %5, i32 noundef %6) ret ptr %7 } declare ptr @Memory__I7_alloc(i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqi_z7qqw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @Memory__I7_malloc(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call ptr @Memory__I7_alloc(i32 noundef -1, i32 noundef %5, i32 noundef %6) ret ptr %7 } declare ptr @Memory__I7_alloc(i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcc81k2wo.c' source_filename = "/tmp/tmpcc81k2wo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcc81k2wo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8uhksb6l.c' source_filename = "/tmp/tmp8uhksb6l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8uhksb6l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpy9lvc9ku.c' source_filename = "/tmp/tmpy9lvc9ku.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy9lvc9ku.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxzbj4piv.c' source_filename = "/tmp/tmpxzbj4piv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxzbj4piv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvz4kfog8.c' source_filename = "/tmp/tmpvz4kfog8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvz4kfog8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnpxmir_y.c' source_filename = "/tmp/tmpnpxmir_y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [8 x i8], align 1 store i32 0, ptr %1, align 4 %3 = getelementptr inbounds [8 x i8], ptr %2, i64 0, i64 0 %4 = call i32 @gets(ptr noundef %3) ret i32 0 } declare i32 @gets(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnpxmir_y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [8 x i8], align 1 store i32 0, ptr %1, align 4 %3 = getelementptr inbounds [8 x i8], ptr %2, i64 0, i64 0 %4 = call i32 @gets(ptr noundef %3) ret i32 0 } declare i32 @gets(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqyvfsav8.c' source_filename = "/tmp/tmpqyvfsav8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.anon = type { i8, i8, i32, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @write_blk_dat(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca %struct.anon, align 4 %10 = alloca i32, align 4 %11 = alloca i8, align 1 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 %12 = getelementptr inbounds %struct.anon, ptr %9, i32 0, i32 0 store i8 1, ptr %12, align 4 %13 = getelementptr inbounds %struct.anon, ptr %9, i32 0, i32 1 store i8 0, ptr %13, align 1 %14 = getelementptr inbounds %struct.anon, ptr %9, i32 0, i32 2 %15 = load i32, ptr %6, align 4 %16 = sext i32 %15 to i64 %17 = add i64 %16, 12 %18 = trunc i64 %17 to i32 store i32 %18, ptr %14, align 4 %19 = getelementptr inbounds %struct.anon, ptr %9, i32 0, i32 3 %20 = load i32, ptr %7, align 4 store i32 %20, ptr %19, align 4 store i32 0, ptr %10, align 4 %21 = load ptr, ptr %8, align 8 %22 = call i64 @write_and_sum(ptr noundef %9, i32 noundef 12, ptr noundef %21) %23 = load i32, ptr %10, align 4 %24 = sext i32 %23 to i64 %25 = add nsw i64 %24, %22 %26 = trunc i64 %25 to i32 store i32 %26, ptr %10, align 4 %27 = load ptr, ptr %5, align 8 %28 = load i32, ptr %6, align 4 %29 = load ptr, ptr %8, align 8 %30 = call i64 @write_and_sum(ptr noundef %27, i32 noundef %28, ptr noundef %29) %31 = load i32, ptr %10, align 4 %32 = sext i32 %31 to i64 %33 = add nsw i64 %32, %30 %34 = trunc i64 %33 to i32 store i32 %34, ptr %10, align 4 %35 = load i32, ptr %10, align 4 %36 = and i32 %35, 255 %37 = trunc i32 %36 to i8 %38 = sext i8 %37 to i32 %39 = sub nsw i32 0, %38 %40 = trunc i32 %39 to i8 store i8 %40, ptr %11, align 1 %41 = load ptr, ptr %8, align 8 %42 = call i32 @fwrite(ptr noundef %11, i32 noundef 1, i32 noundef 1, ptr noundef %41) %43 = load i32, ptr %6, align 4 %44 = sext i32 %43 to i64 %45 = add i64 12, %44 %46 = add i64 %45, 1 %47 = trunc i64 %46 to i32 ret i32 %47 } declare i64 @write_and_sum(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqyvfsav8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.anon = type { i8, i8, i32, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @write_blk_dat(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca %struct.anon, align 4 %10 = alloca i32, align 4 %11 = alloca i8, align 1 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 %12 = getelementptr inbounds %struct.anon, ptr %9, i32 0, i32 0 store i8 1, ptr %12, align 4 %13 = getelementptr inbounds %struct.anon, ptr %9, i32 0, i32 1 store i8 0, ptr %13, align 1 %14 = getelementptr inbounds %struct.anon, ptr %9, i32 0, i32 2 %15 = load i32, ptr %6, align 4 %16 = sext i32 %15 to i64 %17 = add i64 %16, 12 %18 = trunc i64 %17 to i32 store i32 %18, ptr %14, align 4 %19 = getelementptr inbounds %struct.anon, ptr %9, i32 0, i32 3 %20 = load i32, ptr %7, align 4 store i32 %20, ptr %19, align 4 store i32 0, ptr %10, align 4 %21 = load ptr, ptr %8, align 8 %22 = call i64 @write_and_sum(ptr noundef %9, i32 noundef 12, ptr noundef %21) %23 = load i32, ptr %10, align 4 %24 = sext i32 %23 to i64 %25 = add nsw i64 %24, %22 %26 = trunc i64 %25 to i32 store i32 %26, ptr %10, align 4 %27 = load ptr, ptr %5, align 8 %28 = load i32, ptr %6, align 4 %29 = load ptr, ptr %8, align 8 %30 = call i64 @write_and_sum(ptr noundef %27, i32 noundef %28, ptr noundef %29) %31 = load i32, ptr %10, align 4 %32 = sext i32 %31 to i64 %33 = add nsw i64 %32, %30 %34 = trunc i64 %33 to i32 store i32 %34, ptr %10, align 4 %35 = load i32, ptr %10, align 4 %36 = and i32 %35, 255 %37 = trunc i32 %36 to i8 %38 = sext i8 %37 to i32 %39 = sub nsw i32 0, %38 %40 = trunc i32 %39 to i8 store i8 %40, ptr %11, align 1 %41 = load ptr, ptr %8, align 8 %42 = call i32 @fwrite(ptr noundef %11, i32 noundef 1, i32 noundef 1, ptr noundef %41) %43 = load i32, ptr %6, align 4 %44 = sext i32 %43 to i64 %45 = add i64 12, %44 %46 = add i64 %45, 1 %47 = trunc i64 %46 to i32 ret i32 %47 } declare i64 @write_and_sum(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpuqitqu1e.c' source_filename = "/tmp/tmpuqitqu1e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"%s: Changing password for %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"New password: \00", align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"Re-enter new password: \00", align 1 @.str.3 = private unnamed_addr constant [46 x i8] c"passwd(SYSTEM): They don't match; try again.\0A\00", align 1 @.str.4 = private unnamed_addr constant [49 x i8] c"passwd(SYSTEM): Too many tries; try again later\0A\00", align 1 @.str.5 = private unnamed_addr constant [19 x i8] c"Permission denied\0A\00", align 1 @.str.6 = private unnamed_addr constant [57 x i8] c"passwd (SYSTEM): passwd successfully changed for syzdek\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr null, ptr %7, align 8 store ptr null, ptr %8, align 8 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %10, 2 br i1 %11, label %12, label %13 12: ; preds = %2 br label %13 13: ; preds = %12, %2 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 0 %16 = load ptr, ptr %15, align 8 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 0 %19 = load ptr, ptr %18, align 8 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %16, ptr noundef %19) store i32 0, ptr %9, align 4 br label %21 21: ; preds = %43, %13 %22 = load i32, ptr %9, align 4 %23 = icmp slt i32 %22, 3 br i1 %23, label %24, label %46 24: ; preds = %21 %25 = load ptr, ptr %7, align 8 %26 = call i32 @free(ptr noundef %25) %27 = load ptr, ptr %8, align 8 %28 = call i32 @free(ptr noundef %27) %29 = call ptr @getpass(ptr noundef @.str.1) store ptr %29, ptr %6, align 8 %30 = load ptr, ptr %6, align 8 %31 = call ptr @strdup(ptr noundef %30) store ptr %31, ptr %7, align 8 %32 = call ptr @getpass(ptr noundef @.str.2) store ptr %32, ptr %6, align 8 %33 = load ptr, ptr %6, align 8 %34 = call ptr @strdup(ptr noundef %33) store ptr %34, ptr %8, align 8 %35 = load ptr, ptr %7, align 8 %36 = load ptr, ptr %8, align 8 %37 = call i64 @strcmp(ptr noundef %35, ptr noundef %36) %38 = icmp ne i64 %37, 0 br i1 %38, label %40, label %39 39: ; preds = %24 store i32 3, ptr %9, align 4 br label %42 40: ; preds = %24 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %42 42: ; preds = %40, %39 br label %43 43: ; preds = %42 %44 = load i32, ptr %9, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %9, align 4 br label %21, !llvm.loop !6 46: ; preds = %21 %47 = load ptr, ptr %7, align 8 %48 = load ptr, ptr %8, align 8 %49 = call i64 @strcmp(ptr noundef %47, ptr noundef %48) %50 = icmp ne i64 %49, 0 br i1 %50, label %51, label %54 51: ; preds = %46 %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) store i32 1, ptr %3, align 4 br label %56 54: ; preds = %46 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) store i32 0, ptr %3, align 4 br label %56 56: ; preds = %54, %51 %57 = load i32, ptr %3, align 4 ret i32 %57 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @free(ptr noundef) #1 declare ptr @getpass(ptr noundef) #1 declare ptr @strdup(ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuqitqu1e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"%s: Changing password for %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"New password: \00", align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"Re-enter new password: \00", align 1 @.str.3 = private unnamed_addr constant [46 x i8] c"passwd(SYSTEM): They don't match; try again.\0A\00", align 1 @.str.4 = private unnamed_addr constant [49 x i8] c"passwd(SYSTEM): Too many tries; try again later\0A\00", align 1 @.str.5 = private unnamed_addr constant [19 x i8] c"Permission denied\0A\00", align 1 @.str.6 = private unnamed_addr constant [57 x i8] c"passwd (SYSTEM): passwd successfully changed for syzdek\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr null, ptr %7, align 8 store ptr null, ptr %8, align 8 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %10, 2 br i1 %11, label %12, label %13 12: ; preds = %2 br label %13 13: ; preds = %12, %2 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 0 %16 = load ptr, ptr %15, align 8 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 0 %19 = load ptr, ptr %18, align 8 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %16, ptr noundef %19) store i32 0, ptr %9, align 4 %21 = load i32, ptr %9, align 4 %22 = icmp slt i32 %21, 3 br i1 %22, label %.lr.ph, label %47 .lr.ph: ; preds = %13 br label %23 23: ; preds = %.lr.ph, %42 %24 = load ptr, ptr %7, align 8 %25 = call i32 @free(ptr noundef %24) %26 = load ptr, ptr %8, align 8 %27 = call i32 @free(ptr noundef %26) %28 = call ptr @getpass(ptr noundef @.str.1) store ptr %28, ptr %6, align 8 %29 = load ptr, ptr %6, align 8 %30 = call ptr @strdup(ptr noundef %29) store ptr %30, ptr %7, align 8 %31 = call ptr @getpass(ptr noundef @.str.2) store ptr %31, ptr %6, align 8 %32 = load ptr, ptr %6, align 8 %33 = call ptr @strdup(ptr noundef %32) store ptr %33, ptr %8, align 8 %34 = load ptr, ptr %7, align 8 %35 = load ptr, ptr %8, align 8 %36 = call i64 @strcmp(ptr noundef %34, ptr noundef %35) %37 = icmp ne i64 %36, 0 br i1 %37, label %39, label %38 38: ; preds = %23 store i32 3, ptr %9, align 4 br label %41 39: ; preds = %23 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %41 41: ; preds = %39, %38 br label %42 42: ; preds = %41 %43 = load i32, ptr %9, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %9, align 4 %45 = load i32, ptr %9, align 4 %46 = icmp slt i32 %45, 3 br i1 %46, label %23, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %42 br label %47 47: ; preds = %._crit_edge, %13 %48 = load ptr, ptr %7, align 8 %49 = load ptr, ptr %8, align 8 %50 = call i64 @strcmp(ptr noundef %48, ptr noundef %49) %51 = icmp ne i64 %50, 0 br i1 %51, label %52, label %55 52: ; preds = %47 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) store i32 1, ptr %3, align 4 br label %57 55: ; preds = %47 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) store i32 0, ptr %3, align 4 br label %57 57: ; preds = %55, %52 %58 = load i32, ptr %3, align 4 ret i32 %58 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @free(ptr noundef) #1 declare ptr @getpass(ptr noundef) #1 declare ptr @strdup(ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpluvadeox.c' source_filename = "/tmp/tmpluvadeox.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"true\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"false\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @write_bool(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i64 %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load i64, ptr %6, align 8 %9 = load i32, ptr %5, align 4 %10 = icmp ne i32 %9, 0 %11 = zext i1 %10 to i64 %12 = select i1 %10, ptr @.str.1, ptr @.str.2 %13 = call i32 @snprintf(ptr noundef %7, i64 noundef %8, ptr noundef @.str, ptr noundef %12) ret i32 0 } declare i32 @snprintf(ptr noundef, i64 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpluvadeox.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"true\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"false\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @write_bool(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i64 %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load i64, ptr %6, align 8 %9 = load i32, ptr %5, align 4 %10 = icmp ne i32 %9, 0 %11 = zext i1 %10 to i64 %12 = select i1 %10, ptr @.str.1, ptr @.str.2 %13 = call i32 @snprintf(ptr noundef %7, i64 noundef %8, ptr noundef @.str, ptr noundef %12) ret i32 0 } declare i32 @snprintf(ptr noundef, i64 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgj4u46qm.c' source_filename = "/tmp/tmpgj4u46qm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [38 x i8] c"add: http://lv2plug.in/plugins/eg-amp\00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c"http://lv2plug.in/plugins/eg-amp\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"%s, ret: %i\0A\00", align 1 @.str.3 = private unnamed_addr constant [37 x i8] c"connect system:capture_1 effect_0:in\00", align 1 @.str.4 = private unnamed_addr constant [17 x i8] c"system:capture_1\00", align 1 @.str.5 = private unnamed_addr constant [12 x i8] c"effect_0:in\00", align 1 @.str.6 = private unnamed_addr constant [39 x i8] c"connect effect_0:out system:playback_1\00", align 1 @.str.7 = private unnamed_addr constant [13 x i8] c"effect_0:out\00", align 1 @.str.8 = private unnamed_addr constant [18 x i8] c"system:playback_1\00", align 1 @.str.9 = private unnamed_addr constant [19 x i8] c"set parameter gain\00", align 1 @.str.10 = private unnamed_addr constant [5 x i8] c"gain\00", align 1 @.str.11 = private unnamed_addr constant [19 x i8] c"get parameter gain\00", align 1 @.str.12 = private unnamed_addr constant [11 x i8] c"value: %f\0A\00", align 1 @.str.13 = private unnamed_addr constant [7 x i8] c"bypass\00", align 1 @.str.14 = private unnamed_addr constant [42 x i8] c"disconnect effect_0:out system:playback_1\00", align 1 @.str.15 = private unnamed_addr constant [40 x i8] c"disconnect system:capture_1 effect_0:in\00", align 1 @.str.16 = private unnamed_addr constant [9 x i8] c"remove 0\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %5 = call i64 @effects_init(ptr noundef null) %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %55 7: ; preds = %0 store ptr @.str, ptr %4, align 8 %8 = call i32 @effects_add(ptr noundef @.str.1, i32 noundef 0) store i32 %8, ptr %3, align 4 %9 = load ptr, ptr %4, align 8 %10 = load i32, ptr %3, align 4 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %9, i32 noundef %10) %12 = load i32, ptr %3, align 4 %13 = icmp ne i32 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %7 %15 = call i32 @effects_finish(i32 noundef 1) store i32 1, ptr %1, align 4 br label %56 16: ; preds = %7 store ptr @.str.3, ptr %4, align 8 %17 = call i32 @effects_connect(ptr noundef @.str.4, ptr noundef @.str.5) store i32 %17, ptr %3, align 4 %18 = load ptr, ptr %4, align 8 %19 = load i32, ptr %3, align 4 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %18, i32 noundef %19) store ptr @.str.6, ptr %4, align 8 %21 = call i32 @effects_connect(ptr noundef @.str.7, ptr noundef @.str.8) store i32 %21, ptr %3, align 4 %22 = load ptr, ptr %4, align 8 %23 = load i32, ptr %3, align 4 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %22, i32 noundef %23) store ptr @.str.9, ptr %4, align 8 %25 = call i32 @effects_set_parameter(i32 noundef 0, ptr noundef @.str.10, double noundef 1.000000e+01) store i32 %25, ptr %3, align 4 %26 = load ptr, ptr %4, align 8 %27 = load i32, ptr %3, align 4 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %26, i32 noundef %27) store ptr @.str.11, ptr %4, align 8 %29 = call i32 @effects_get_parameter(i32 noundef 0, ptr noundef @.str.10, ptr noundef %2) store i32 %29, ptr %3, align 4 %30 = load ptr, ptr %4, align 8 %31 = load i32, ptr %3, align 4 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %30, i32 noundef %31) %33 = load float, ptr %2, align 4 %34 = fpext float %33 to double %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, double noundef %34) %36 = call i32 @sleep(i32 noundef 5) store ptr @.str.13, ptr %4, align 8 %37 = call i32 @effects_bypass(i32 noundef 0, i32 noundef 1) store i32 %37, ptr %3, align 4 %38 = load ptr, ptr %4, align 8 %39 = load i32, ptr %3, align 4 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %38, i32 noundef %39) %41 = call i32 @sleep(i32 noundef 5) store ptr @.str.14, ptr %4, align 8 %42 = call i32 @effects_disconnect(ptr noundef @.str.7, ptr noundef @.str.8) store i32 %42, ptr %3, align 4 %43 = load ptr, ptr %4, align 8 %44 = load i32, ptr %3, align 4 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %43, i32 noundef %44) store ptr @.str.15, ptr %4, align 8 %46 = call i32 @effects_disconnect(ptr noundef @.str.4, ptr noundef @.str.5) store i32 %46, ptr %3, align 4 %47 = load ptr, ptr %4, align 8 %48 = load i32, ptr %3, align 4 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %47, i32 noundef %48) store ptr @.str.16, ptr %4, align 8 %50 = call i32 @effects_remove(i32 noundef 0) store i32 %50, ptr %3, align 4 %51 = load ptr, ptr %4, align 8 %52 = load i32, ptr %3, align 4 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %51, i32 noundef %52) %54 = call i32 @effects_finish(i32 noundef 1) br label %55 55: ; preds = %16, %0 store i32 0, ptr %1, align 4 br label %56 56: ; preds = %55, %14 %57 = load i32, ptr %1, align 4 ret i32 %57 } declare i64 @effects_init(ptr noundef) #1 declare i32 @effects_add(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @effects_finish(i32 noundef) #1 declare i32 @effects_connect(ptr noundef, ptr noundef) #1 declare i32 @effects_set_parameter(i32 noundef, ptr noundef, double noundef) #1 declare i32 @effects_get_parameter(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @effects_bypass(i32 noundef, i32 noundef) #1 declare i32 @effects_disconnect(ptr noundef, ptr noundef) #1 declare i32 @effects_remove(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgj4u46qm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [38 x i8] c"add: http://lv2plug.in/plugins/eg-amp\00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c"http://lv2plug.in/plugins/eg-amp\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"%s, ret: %i\0A\00", align 1 @.str.3 = private unnamed_addr constant [37 x i8] c"connect system:capture_1 effect_0:in\00", align 1 @.str.4 = private unnamed_addr constant [17 x i8] c"system:capture_1\00", align 1 @.str.5 = private unnamed_addr constant [12 x i8] c"effect_0:in\00", align 1 @.str.6 = private unnamed_addr constant [39 x i8] c"connect effect_0:out system:playback_1\00", align 1 @.str.7 = private unnamed_addr constant [13 x i8] c"effect_0:out\00", align 1 @.str.8 = private unnamed_addr constant [18 x i8] c"system:playback_1\00", align 1 @.str.9 = private unnamed_addr constant [19 x i8] c"set parameter gain\00", align 1 @.str.10 = private unnamed_addr constant [5 x i8] c"gain\00", align 1 @.str.11 = private unnamed_addr constant [19 x i8] c"get parameter gain\00", align 1 @.str.12 = private unnamed_addr constant [11 x i8] c"value: %f\0A\00", align 1 @.str.13 = private unnamed_addr constant [7 x i8] c"bypass\00", align 1 @.str.14 = private unnamed_addr constant [42 x i8] c"disconnect effect_0:out system:playback_1\00", align 1 @.str.15 = private unnamed_addr constant [40 x i8] c"disconnect system:capture_1 effect_0:in\00", align 1 @.str.16 = private unnamed_addr constant [9 x i8] c"remove 0\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %5 = call i64 @effects_init(ptr noundef null) %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %55 7: ; preds = %0 store ptr @.str, ptr %4, align 8 %8 = call i32 @effects_add(ptr noundef @.str.1, i32 noundef 0) store i32 %8, ptr %3, align 4 %9 = load ptr, ptr %4, align 8 %10 = load i32, ptr %3, align 4 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %9, i32 noundef %10) %12 = load i32, ptr %3, align 4 %13 = icmp ne i32 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %7 %15 = call i32 @effects_finish(i32 noundef 1) store i32 1, ptr %1, align 4 br label %56 16: ; preds = %7 store ptr @.str.3, ptr %4, align 8 %17 = call i32 @effects_connect(ptr noundef @.str.4, ptr noundef @.str.5) store i32 %17, ptr %3, align 4 %18 = load ptr, ptr %4, align 8 %19 = load i32, ptr %3, align 4 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %18, i32 noundef %19) store ptr @.str.6, ptr %4, align 8 %21 = call i32 @effects_connect(ptr noundef @.str.7, ptr noundef @.str.8) store i32 %21, ptr %3, align 4 %22 = load ptr, ptr %4, align 8 %23 = load i32, ptr %3, align 4 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %22, i32 noundef %23) store ptr @.str.9, ptr %4, align 8 %25 = call i32 @effects_set_parameter(i32 noundef 0, ptr noundef @.str.10, double noundef 1.000000e+01) store i32 %25, ptr %3, align 4 %26 = load ptr, ptr %4, align 8 %27 = load i32, ptr %3, align 4 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %26, i32 noundef %27) store ptr @.str.11, ptr %4, align 8 %29 = call i32 @effects_get_parameter(i32 noundef 0, ptr noundef @.str.10, ptr noundef %2) store i32 %29, ptr %3, align 4 %30 = load ptr, ptr %4, align 8 %31 = load i32, ptr %3, align 4 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %30, i32 noundef %31) %33 = load float, ptr %2, align 4 %34 = fpext float %33 to double %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, double noundef %34) %36 = call i32 @sleep(i32 noundef 5) store ptr @.str.13, ptr %4, align 8 %37 = call i32 @effects_bypass(i32 noundef 0, i32 noundef 1) store i32 %37, ptr %3, align 4 %38 = load ptr, ptr %4, align 8 %39 = load i32, ptr %3, align 4 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %38, i32 noundef %39) %41 = call i32 @sleep(i32 noundef 5) store ptr @.str.14, ptr %4, align 8 %42 = call i32 @effects_disconnect(ptr noundef @.str.7, ptr noundef @.str.8) store i32 %42, ptr %3, align 4 %43 = load ptr, ptr %4, align 8 %44 = load i32, ptr %3, align 4 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %43, i32 noundef %44) store ptr @.str.15, ptr %4, align 8 %46 = call i32 @effects_disconnect(ptr noundef @.str.4, ptr noundef @.str.5) store i32 %46, ptr %3, align 4 %47 = load ptr, ptr %4, align 8 %48 = load i32, ptr %3, align 4 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %47, i32 noundef %48) store ptr @.str.16, ptr %4, align 8 %50 = call i32 @effects_remove(i32 noundef 0) store i32 %50, ptr %3, align 4 %51 = load ptr, ptr %4, align 8 %52 = load i32, ptr %3, align 4 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %51, i32 noundef %52) %54 = call i32 @effects_finish(i32 noundef 1) br label %55 55: ; preds = %16, %0 store i32 0, ptr %1, align 4 br label %56 56: ; preds = %55, %14 %57 = load i32, ptr %1, align 4 ret i32 %57 } declare i64 @effects_init(ptr noundef) #1 declare i32 @effects_add(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @effects_finish(i32 noundef) #1 declare i32 @effects_connect(ptr noundef, ptr noundef) #1 declare i32 @effects_set_parameter(i32 noundef, ptr noundef, double noundef) #1 declare i32 @effects_get_parameter(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @effects_bypass(i32 noundef, i32 noundef) #1 declare i32 @effects_disconnect(ptr noundef, ptr noundef) #1 declare i32 @effects_remove(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp62bzh08g.c' source_filename = "/tmp/tmp62bzh08g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [46 x i8] c"Error: OUTPUT_NUM should be 0..7 and integer\0A\00", align 1 @.str.1 = private unnamed_addr constant [47 x i8] c"Error: PIXELS_WIDTH should be >=1 and integer\0A\00", align 1 @.str.2 = private unnamed_addr constant [48 x i8] c"Error: PIXELS_HEIGHT should be >=1 and integer\0A\00", align 1 @.str.3 = private unnamed_addr constant [41 x i8] c"Error: LEDS_X should be >=1 and integer\0A\00", align 1 @.str.4 = private unnamed_addr constant [41 x i8] c"Error: LEDS_Y should be >=1 and integer\0A\00", align 1 @.str.5 = private unnamed_addr constant [65 x i8] c"Error: CELLGRID_BOUNDS_START_X_OFFSET should be >=0 and integer\0A\00", align 1 @.str.6 = private unnamed_addr constant [55 x i8] c"Error: CELLGRID_BOUNDS_END_X_OFFSET should be integer\0A\00", align 1 @.str.7 = private unnamed_addr constant [65 x i8] c"Error: CELLGRID_BOUNDS_START_Y_OFFSET should be >=0 and integer\0A\00", align 1 @.str.8 = private unnamed_addr constant [55 x i8] c"Error: CELLGRID_BOUNDS_END_Y_OFFSET should be integer\0A\00", align 1 @.str.9 = private unnamed_addr constant [45 x i8] c"Error: AREA_WIDTH should be >=1 and integer\0A\00", align 1 @.str.10 = private unnamed_addr constant [45 x i8] c"Error: AREA_DEPTH should be >=1 and integer\0A\00", align 1 @.str.11 = private unnamed_addr constant [55 x i8] c"Error: AREA_WIDTH * AREA_DEPTH should be a power of 2\0A\00", align 1 @.str.12 = private unnamed_addr constant [53 x i8] c"Error: 255 Areas exceeded, increase AREA_WIDTH by 1\0A\00", align 1 @.str.13 = private unnamed_addr constant [61 x i8] c"Error: LEDS_BOUNDS_START_X_OFFSET should be >=0 and integer\0A\00", align 1 @.str.14 = private unnamed_addr constant [61 x i8] c"Error: LEDS_BOUNDS_START_Y_OFFSET should be >=0 and integer\0A\00", align 1 @.str.15 = private unnamed_addr constant [59 x i8] c"Error: LEDS_BOUNDS_END_X_OFFSET should be <=0 and integer\0A\00", align 1 @.str.16 = private unnamed_addr constant [59 x i8] c"Error: LEDS_BOUNDS_END_Y_OFFSET should be <=0 and integer\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @verifySettings() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 @isInteger(i32 noundef 0) %4 = icmp ne i32 %3, 0 br i1 %4, label %8, label %5 5: ; preds = %0 %6 = load i32, ptr @stderr, align 4 %7 = call i32 @fprintf(i32 noundef %6, ptr noundef @.str) store i32 0, ptr %1, align 4 br label %127 8: ; preds = %0 %9 = call i32 @isInteger(i32 noundef 1916) %10 = icmp ne i32 %9, 0 br i1 %10, label %14, label %11 11: ; preds = %8 %12 = load i32, ptr @stderr, align 4 %13 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str.1) store i32 0, ptr %1, align 4 br label %127 14: ; preds = %8 %15 = call i32 @isInteger(i32 noundef 1080) %16 = icmp ne i32 %15, 0 br i1 %16, label %20, label %17 17: ; preds = %14 %18 = load i32, ptr @stderr, align 4 %19 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str.2) store i32 0, ptr %1, align 4 br label %127 20: ; preds = %14 %21 = call i32 @isInteger(i32 noundef 73) %22 = icmp ne i32 %21, 0 br i1 %22, label %26, label %23 23: ; preds = %20 %24 = load i32, ptr @stderr, align 4 %25 = call i32 @fprintf(i32 noundef %24, ptr noundef @.str.3) store i32 0, ptr %1, align 4 br label %127 26: ; preds = %20 %27 = call i32 @isInteger(i32 noundef 41) %28 = icmp ne i32 %27, 0 br i1 %28, label %32, label %29 29: ; preds = %26 %30 = load i32, ptr @stderr, align 4 %31 = call i32 @fprintf(i32 noundef %30, ptr noundef @.str.4) store i32 0, ptr %1, align 4 br label %127 32: ; preds = %26 %33 = call i32 @isInteger(i32 noundef 0) %34 = icmp ne i32 %33, 0 br i1 %34, label %38, label %35 35: ; preds = %32 %36 = load i32, ptr @stderr, align 4 %37 = call i32 @fprintf(i32 noundef %36, ptr noundef @.str.5) store i32 0, ptr %1, align 4 br label %127 38: ; preds = %32 %39 = call i32 @isInteger(i32 noundef 0) %40 = icmp ne i32 %39, 0 br i1 %40, label %44, label %41 41: ; preds = %38 %42 = load i32, ptr @stderr, align 4 %43 = call i32 @fprintf(i32 noundef %42, ptr noundef @.str.6) store i32 0, ptr %1, align 4 br label %127 44: ; preds = %38 %45 = call i32 @isInteger(i32 noundef 0) %46 = icmp ne i32 %45, 0 br i1 %46, label %50, label %47 47: ; preds = %44 %48 = load i32, ptr @stderr, align 4 %49 = call i32 @fprintf(i32 noundef %48, ptr noundef @.str.7) store i32 0, ptr %1, align 4 br label %127 50: ; preds = %44 %51 = call i32 @isInteger(i32 noundef 0) %52 = icmp ne i32 %51, 0 br i1 %52, label %56, label %53 53: ; preds = %50 %54 = load i32, ptr @stderr, align 4 %55 = call i32 @fprintf(i32 noundef %54, ptr noundef @.str.8) store i32 0, ptr %1, align 4 br label %127 56: ; preds = %50 %57 = call i32 @isInteger(i32 noundef 1) %58 = icmp ne i32 %57, 0 br i1 %58, label %62, label %59 59: ; preds = %56 %60 = load i32, ptr @stderr, align 4 %61 = call i32 @fprintf(i32 noundef %60, ptr noundef @.str.9) store i32 0, ptr %1, align 4 br label %127 62: ; preds = %56 %63 = call i32 @isInteger(i32 noundef 8) %64 = icmp ne i32 %63, 0 br i1 %64, label %68, label %65 65: ; preds = %62 %66 = load i32, ptr @stderr, align 4 %67 = call i32 @fprintf(i32 noundef %66, ptr noundef @.str.10) store i32 0, ptr %1, align 4 br label %127 68: ; preds = %62 store i32 8, ptr %2, align 4 br label %69 69: ; preds = %80, %68 %70 = load i32, ptr %2, align 4 %71 = icmp sgt i32 %70, 0 br i1 %71, label %72, label %83 72: ; preds = %69 %73 = load i32, ptr %2, align 4 %74 = icmp sgt i32 %73, 1 br i1 %74, label %75, label %80 75: ; preds = %72 %76 = load i32, ptr %2, align 4 %77 = and i32 %76, 1 %78 = icmp ne i32 %77, 0 br i1 %78, label %79, label %80 79: ; preds = %75 br label %83 80: ; preds = %75, %72 %81 = load i32, ptr %2, align 4 %82 = ashr i32 %81, 1 store i32 %82, ptr %2, align 4 br label %69, !llvm.loop !6 83: ; preds = %79, %69 %84 = load i32, ptr %2, align 4 %85 = icmp ne i32 %84, 0 br i1 %85, label %86, label %89 86: ; preds = %83 %87 = load i32, ptr @stderr, align 4 %88 = call i32 @fprintf(i32 noundef %87, ptr noundef @.str.11) store i32 0, ptr %1, align 4 br label %127 89: ; preds = %83 %90 = call float @llvm.ceil.f32(float 5.987500e+01) %91 = fdiv float %90, 1.000000e+00 %92 = fpext float %91 to double %93 = call float @llvm.ceil.f32(float 3.375000e+01) %94 = fdiv float %93, 1.000000e+00 %95 = fpext float %94 to double %96 = fmul double %95, 2.000000e+00 %97 = call double @llvm.fmuladd.f64(double %92, double 2.000000e+00, double %96) %98 = fcmp ogt double %97, 2.550000e+02 br i1 %98, label %99, label %102 99: ; preds = %89 %100 = load i32, ptr @stderr, align 4 %101 = call i32 @fprintf(i32 noundef %100, ptr noundef @.str.12) store i32 0, ptr %1, align 4 br label %127 102: ; preds = %89 %103 = call i32 @isInteger(i32 noundef 0) %104 = icmp ne i32 %103, 0 br i1 %104, label %108, label %105 105: ; preds = %102 %106 = load i32, ptr @stderr, align 4 %107 = call i32 @fprintf(i32 noundef %106, ptr noundef @.str.13) store i32 0, ptr %1, align 4 br label %127 108: ; preds = %102 %109 = call i32 @isInteger(i32 noundef 0) %110 = icmp ne i32 %109, 0 br i1 %110, label %114, label %111 111: ; preds = %108 %112 = load i32, ptr @stderr, align 4 %113 = call i32 @fprintf(i32 noundef %112, ptr noundef @.str.14) store i32 0, ptr %1, align 4 br label %127 114: ; preds = %108 %115 = call i32 @isInteger(i32 noundef 0) %116 = icmp ne i32 %115, 0 br i1 %116, label %120, label %117 117: ; preds = %114 %118 = load i32, ptr @stderr, align 4 %119 = call i32 @fprintf(i32 noundef %118, ptr noundef @.str.15) store i32 0, ptr %1, align 4 br label %127 120: ; preds = %114 %121 = call i32 @isInteger(i32 noundef 0) %122 = icmp ne i32 %121, 0 br i1 %122, label %126, label %123 123: ; preds = %120 %124 = load i32, ptr @stderr, align 4 %125 = call i32 @fprintf(i32 noundef %124, ptr noundef @.str.16) store i32 0, ptr %1, align 4 br label %127 126: ; preds = %120 store i32 1, ptr %1, align 4 br label %127 127: ; preds = %126, %123, %117, %111, %105, %99, %86, %65, %59, %53, %47, %41, %35, %29, %23, %17, %11, %5 %128 = load i32, ptr %1, align 4 ret i32 %128 } declare i32 @isInteger(i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.ceil.f32(float) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp62bzh08g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [46 x i8] c"Error: OUTPUT_NUM should be 0..7 and integer\0A\00", align 1 @.str.1 = private unnamed_addr constant [47 x i8] c"Error: PIXELS_WIDTH should be >=1 and integer\0A\00", align 1 @.str.2 = private unnamed_addr constant [48 x i8] c"Error: PIXELS_HEIGHT should be >=1 and integer\0A\00", align 1 @.str.3 = private unnamed_addr constant [41 x i8] c"Error: LEDS_X should be >=1 and integer\0A\00", align 1 @.str.4 = private unnamed_addr constant [41 x i8] c"Error: LEDS_Y should be >=1 and integer\0A\00", align 1 @.str.5 = private unnamed_addr constant [65 x i8] c"Error: CELLGRID_BOUNDS_START_X_OFFSET should be >=0 and integer\0A\00", align 1 @.str.6 = private unnamed_addr constant [55 x i8] c"Error: CELLGRID_BOUNDS_END_X_OFFSET should be integer\0A\00", align 1 @.str.7 = private unnamed_addr constant [65 x i8] c"Error: CELLGRID_BOUNDS_START_Y_OFFSET should be >=0 and integer\0A\00", align 1 @.str.8 = private unnamed_addr constant [55 x i8] c"Error: CELLGRID_BOUNDS_END_Y_OFFSET should be integer\0A\00", align 1 @.str.9 = private unnamed_addr constant [45 x i8] c"Error: AREA_WIDTH should be >=1 and integer\0A\00", align 1 @.str.10 = private unnamed_addr constant [45 x i8] c"Error: AREA_DEPTH should be >=1 and integer\0A\00", align 1 @.str.11 = private unnamed_addr constant [55 x i8] c"Error: AREA_WIDTH * AREA_DEPTH should be a power of 2\0A\00", align 1 @.str.12 = private unnamed_addr constant [53 x i8] c"Error: 255 Areas exceeded, increase AREA_WIDTH by 1\0A\00", align 1 @.str.13 = private unnamed_addr constant [61 x i8] c"Error: LEDS_BOUNDS_START_X_OFFSET should be >=0 and integer\0A\00", align 1 @.str.14 = private unnamed_addr constant [61 x i8] c"Error: LEDS_BOUNDS_START_Y_OFFSET should be >=0 and integer\0A\00", align 1 @.str.15 = private unnamed_addr constant [59 x i8] c"Error: LEDS_BOUNDS_END_X_OFFSET should be <=0 and integer\0A\00", align 1 @.str.16 = private unnamed_addr constant [59 x i8] c"Error: LEDS_BOUNDS_END_Y_OFFSET should be <=0 and integer\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @verifySettings() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 @isInteger(i32 noundef 0) %4 = icmp ne i32 %3, 0 br i1 %4, label %8, label %5 5: ; preds = %0 %6 = load i32, ptr @stderr, align 4 %7 = call i32 @fprintf(i32 noundef %6, ptr noundef @.str) store i32 0, ptr %1, align 4 br label %128 8: ; preds = %0 %9 = call i32 @isInteger(i32 noundef 1916) %10 = icmp ne i32 %9, 0 br i1 %10, label %14, label %11 11: ; preds = %8 %12 = load i32, ptr @stderr, align 4 %13 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str.1) store i32 0, ptr %1, align 4 br label %128 14: ; preds = %8 %15 = call i32 @isInteger(i32 noundef 1080) %16 = icmp ne i32 %15, 0 br i1 %16, label %20, label %17 17: ; preds = %14 %18 = load i32, ptr @stderr, align 4 %19 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str.2) store i32 0, ptr %1, align 4 br label %128 20: ; preds = %14 %21 = call i32 @isInteger(i32 noundef 73) %22 = icmp ne i32 %21, 0 br i1 %22, label %26, label %23 23: ; preds = %20 %24 = load i32, ptr @stderr, align 4 %25 = call i32 @fprintf(i32 noundef %24, ptr noundef @.str.3) store i32 0, ptr %1, align 4 br label %128 26: ; preds = %20 %27 = call i32 @isInteger(i32 noundef 41) %28 = icmp ne i32 %27, 0 br i1 %28, label %32, label %29 29: ; preds = %26 %30 = load i32, ptr @stderr, align 4 %31 = call i32 @fprintf(i32 noundef %30, ptr noundef @.str.4) store i32 0, ptr %1, align 4 br label %128 32: ; preds = %26 %33 = call i32 @isInteger(i32 noundef 0) %34 = icmp ne i32 %33, 0 br i1 %34, label %38, label %35 35: ; preds = %32 %36 = load i32, ptr @stderr, align 4 %37 = call i32 @fprintf(i32 noundef %36, ptr noundef @.str.5) store i32 0, ptr %1, align 4 br label %128 38: ; preds = %32 %39 = call i32 @isInteger(i32 noundef 0) %40 = icmp ne i32 %39, 0 br i1 %40, label %44, label %41 41: ; preds = %38 %42 = load i32, ptr @stderr, align 4 %43 = call i32 @fprintf(i32 noundef %42, ptr noundef @.str.6) store i32 0, ptr %1, align 4 br label %128 44: ; preds = %38 %45 = call i32 @isInteger(i32 noundef 0) %46 = icmp ne i32 %45, 0 br i1 %46, label %50, label %47 47: ; preds = %44 %48 = load i32, ptr @stderr, align 4 %49 = call i32 @fprintf(i32 noundef %48, ptr noundef @.str.7) store i32 0, ptr %1, align 4 br label %128 50: ; preds = %44 %51 = call i32 @isInteger(i32 noundef 0) %52 = icmp ne i32 %51, 0 br i1 %52, label %56, label %53 53: ; preds = %50 %54 = load i32, ptr @stderr, align 4 %55 = call i32 @fprintf(i32 noundef %54, ptr noundef @.str.8) store i32 0, ptr %1, align 4 br label %128 56: ; preds = %50 %57 = call i32 @isInteger(i32 noundef 1) %58 = icmp ne i32 %57, 0 br i1 %58, label %62, label %59 59: ; preds = %56 %60 = load i32, ptr @stderr, align 4 %61 = call i32 @fprintf(i32 noundef %60, ptr noundef @.str.9) store i32 0, ptr %1, align 4 br label %128 62: ; preds = %56 %63 = call i32 @isInteger(i32 noundef 8) %64 = icmp ne i32 %63, 0 br i1 %64, label %68, label %65 65: ; preds = %62 %66 = load i32, ptr @stderr, align 4 %67 = call i32 @fprintf(i32 noundef %66, ptr noundef @.str.10) store i32 0, ptr %1, align 4 br label %128 68: ; preds = %62 store i32 8, ptr %2, align 4 %69 = load i32, ptr %2, align 4 %70 = icmp sgt i32 %69, 0 br i1 %70, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %68 br label %71 71: ; preds = %.lr.ph, %79 %72 = load i32, ptr %2, align 4 %73 = icmp sgt i32 %72, 1 br i1 %73, label %74, label %79 74: ; preds = %71 %75 = load i32, ptr %2, align 4 %76 = and i32 %75, 1 %77 = icmp ne i32 %76, 0 br i1 %77, label %78, label %79 78: ; preds = %74 br label %84 79: ; preds = %74, %71 %80 = load i32, ptr %2, align 4 %81 = ashr i32 %80, 1 store i32 %81, ptr %2, align 4 %82 = load i32, ptr %2, align 4 %83 = icmp sgt i32 %82, 0 br i1 %83, label %71, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %79 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %68 br label %84 84: ; preds = %.loopexit, %78 %85 = load i32, ptr %2, align 4 %86 = icmp ne i32 %85, 0 br i1 %86, label %87, label %90 87: ; preds = %84 %88 = load i32, ptr @stderr, align 4 %89 = call i32 @fprintf(i32 noundef %88, ptr noundef @.str.11) store i32 0, ptr %1, align 4 br label %128 90: ; preds = %84 %91 = call float @llvm.ceil.f32(float 5.987500e+01) %92 = fdiv float %91, 1.000000e+00 %93 = fpext float %92 to double %94 = call float @llvm.ceil.f32(float 3.375000e+01) %95 = fdiv float %94, 1.000000e+00 %96 = fpext float %95 to double %97 = fmul double %96, 2.000000e+00 %98 = call double @llvm.fmuladd.f64(double %93, double 2.000000e+00, double %97) %99 = fcmp ogt double %98, 2.550000e+02 br i1 %99, label %100, label %103 100: ; preds = %90 %101 = load i32, ptr @stderr, align 4 %102 = call i32 @fprintf(i32 noundef %101, ptr noundef @.str.12) store i32 0, ptr %1, align 4 br label %128 103: ; preds = %90 %104 = call i32 @isInteger(i32 noundef 0) %105 = icmp ne i32 %104, 0 br i1 %105, label %109, label %106 106: ; preds = %103 %107 = load i32, ptr @stderr, align 4 %108 = call i32 @fprintf(i32 noundef %107, ptr noundef @.str.13) store i32 0, ptr %1, align 4 br label %128 109: ; preds = %103 %110 = call i32 @isInteger(i32 noundef 0) %111 = icmp ne i32 %110, 0 br i1 %111, label %115, label %112 112: ; preds = %109 %113 = load i32, ptr @stderr, align 4 %114 = call i32 @fprintf(i32 noundef %113, ptr noundef @.str.14) store i32 0, ptr %1, align 4 br label %128 115: ; preds = %109 %116 = call i32 @isInteger(i32 noundef 0) %117 = icmp ne i32 %116, 0 br i1 %117, label %121, label %118 118: ; preds = %115 %119 = load i32, ptr @stderr, align 4 %120 = call i32 @fprintf(i32 noundef %119, ptr noundef @.str.15) store i32 0, ptr %1, align 4 br label %128 121: ; preds = %115 %122 = call i32 @isInteger(i32 noundef 0) %123 = icmp ne i32 %122, 0 br i1 %123, label %127, label %124 124: ; preds = %121 %125 = load i32, ptr @stderr, align 4 %126 = call i32 @fprintf(i32 noundef %125, ptr noundef @.str.16) store i32 0, ptr %1, align 4 br label %128 127: ; preds = %121 store i32 1, ptr %1, align 4 br label %128 128: ; preds = %127, %124, %118, %112, %106, %100, %87, %65, %59, %53, %47, %41, %35, %29, %23, %17, %11, %5 %129 = load i32, ptr %1, align 4 ret i32 %129 } declare i32 @isInteger(i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.ceil.f32(float) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpbpzkv0lo.c' source_filename = "/tmp/tmpbpzkv0lo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"Array: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%i\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c", \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_array(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %5, align 4 br label %7 7: ; preds = %25, %2 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %11, label %28 11: ; preds = %7 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %5, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i32, ptr %12, i64 %14 %16 = load i32, ptr %15, align 4 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %16) %18 = load i32, ptr %5, align 4 %19 = load i32, ptr %4, align 4 %20 = sub nsw i32 %19, 1 %21 = icmp slt i32 %18, %20 br i1 %21, label %22, label %24 22: ; preds = %11 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %24 24: ; preds = %22, %11 br label %25 25: ; preds = %24 %26 = load i32, ptr %5, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %5, align 4 br label %7, !llvm.loop !6 28: ; preds = %7 ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbpzkv0lo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"Array: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%i\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c", \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_array(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %.lr.ph, label %30 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %24 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i32, ptr %11, i64 %13 %15 = load i32, ptr %14, align 4 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %15) %17 = load i32, ptr %5, align 4 %18 = load i32, ptr %4, align 4 %19 = sub nsw i32 %18, 1 %20 = icmp slt i32 %17, %19 br i1 %20, label %21, label %23 21: ; preds = %10 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %23 23: ; preds = %21, %10 br label %24 24: ; preds = %23 %25 = load i32, ptr %5, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %5, align 4 %27 = load i32, ptr %5, align 4 %28 = load i32, ptr %4, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %30 30: ; preds = %._crit_edge, %2 ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpmtz6qktv.c' source_filename = "/tmp/tmpmtz6qktv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @AF_UNIX = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [15 x i8] c"internal error\00", align 1 @STDIN_FILENO = dso_local global i32 0, align 4 @STDOUT_FILENO = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [13 x i8] c"/root/helper\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @execute_helper() #0 { %1 = alloca i32, align 4 %2 = alloca [2 x i32], align 4 %3 = alloca i64, align 8 %4 = load i32, ptr @AF_UNIX, align 4 %5 = load i32, ptr @SOCK_STREAM, align 4 %6 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0 %7 = call i64 @socketpair(i32 noundef %4, i32 noundef %5, i32 noundef 0, ptr noundef %6) %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %0 %10 = call i32 @puts(ptr noundef @.str) store i32 -1, ptr %1, align 4 br label %43 11: ; preds = %0 %12 = call i64 (...) @fork() store i64 %12, ptr %3, align 8 %13 = load i64, ptr %3, align 8 %14 = icmp slt i64 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %11 %16 = call i32 @puts(ptr noundef @.str) store i32 -1, ptr %1, align 4 br label %43 17: ; preds = %11 %18 = load i64, ptr %3, align 8 %19 = icmp eq i64 %18, 0 br i1 %19, label %20, label %37 20: ; preds = %17 %21 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 1 %22 = load i32, ptr %21, align 4 %23 = call i32 @close(i32 noundef %22) %24 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0 %25 = load i32, ptr %24, align 4 %26 = load i32, ptr @STDIN_FILENO, align 4 %27 = call i32 @dup2(i32 noundef %25, i32 noundef %26) %28 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0 %29 = load i32, ptr %28, align 4 %30 = load i32, ptr @STDOUT_FILENO, align 4 %31 = call i32 @dup2(i32 noundef %29, i32 noundef %30) %32 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0 %33 = load i32, ptr %32, align 4 %34 = call i32 @close(i32 noundef %33) %35 = call i32 @execl(ptr noundef @.str.1, ptr noundef @.str.1, ptr noundef null) %36 = call i32 (...) @abort() #3 unreachable 37: ; preds = %17 %38 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0 %39 = load i32, ptr %38, align 4 %40 = call i32 @close(i32 noundef %39) %41 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 1 %42 = load i32, ptr %41, align 4 store i32 %42, ptr %1, align 4 br label %43 43: ; preds = %37, %15, %9 %44 = load i32, ptr %1, align 4 ret i32 %44 } declare i64 @socketpair(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @puts(ptr noundef) #1 declare i64 @fork(...) #1 declare i32 @close(i32 noundef) #1 declare i32 @dup2(i32 noundef, i32 noundef) #1 declare i32 @execl(ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmtz6qktv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @AF_UNIX = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [15 x i8] c"internal error\00", align 1 @STDIN_FILENO = dso_local global i32 0, align 4 @STDOUT_FILENO = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [13 x i8] c"/root/helper\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @execute_helper() #0 { %1 = alloca i32, align 4 %2 = alloca [2 x i32], align 4 %3 = alloca i64, align 8 %4 = load i32, ptr @AF_UNIX, align 4 %5 = load i32, ptr @SOCK_STREAM, align 4 %6 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0 %7 = call i64 @socketpair(i32 noundef %4, i32 noundef %5, i32 noundef 0, ptr noundef %6) %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %0 %10 = call i32 @puts(ptr noundef @.str) store i32 -1, ptr %1, align 4 br label %43 11: ; preds = %0 %12 = call i64 (...) @fork() store i64 %12, ptr %3, align 8 %13 = load i64, ptr %3, align 8 %14 = icmp slt i64 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %11 %16 = call i32 @puts(ptr noundef @.str) store i32 -1, ptr %1, align 4 br label %43 17: ; preds = %11 %18 = load i64, ptr %3, align 8 %19 = icmp eq i64 %18, 0 br i1 %19, label %20, label %37 20: ; preds = %17 %21 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 1 %22 = load i32, ptr %21, align 4 %23 = call i32 @close(i32 noundef %22) %24 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0 %25 = load i32, ptr %24, align 4 %26 = load i32, ptr @STDIN_FILENO, align 4 %27 = call i32 @dup2(i32 noundef %25, i32 noundef %26) %28 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0 %29 = load i32, ptr %28, align 4 %30 = load i32, ptr @STDOUT_FILENO, align 4 %31 = call i32 @dup2(i32 noundef %29, i32 noundef %30) %32 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0 %33 = load i32, ptr %32, align 4 %34 = call i32 @close(i32 noundef %33) %35 = call i32 @execl(ptr noundef @.str.1, ptr noundef @.str.1, ptr noundef null) %36 = call i32 (...) @abort() #3 unreachable 37: ; preds = %17 %38 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0 %39 = load i32, ptr %38, align 4 %40 = call i32 @close(i32 noundef %39) %41 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 1 %42 = load i32, ptr %41, align 4 store i32 %42, ptr %1, align 4 br label %43 43: ; preds = %37, %15, %9 %44 = load i32, ptr %1, align 4 ret i32 %44 } declare i64 @socketpair(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @puts(ptr noundef) #1 declare i64 @fork(...) #1 declare i32 @close(i32 noundef) #1 declare i32 @dup2(i32 noundef, i32 noundef) #1 declare i32 @execl(ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwink1tsw.c' source_filename = "/tmp/tmpwink1tsw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @_XlcCopyFromArg(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %6, align 4 %8 = sext i32 %7 to i64 %9 = icmp eq i64 %8, 8 br i1 %9, label %10, label %14 10: ; preds = %3 %11 = load ptr, ptr %4, align 8 %12 = ptrtoint ptr %11 to i64 %13 = load ptr, ptr %5, align 8 store i64 %12, ptr %13, align 8 br label %57 14: ; preds = %3 %15 = load i32, ptr %6, align 4 %16 = sext i32 %15 to i64 %17 = icmp eq i64 %16, 2 br i1 %17, label %18, label %23 18: ; preds = %14 %19 = load ptr, ptr %4, align 8 %20 = ptrtoint ptr %19 to i64 %21 = trunc i64 %20 to i16 %22 = load ptr, ptr %5, align 8 store i16 %21, ptr %22, align 2 br label %56 23: ; preds = %14 %24 = load i32, ptr %6, align 4 %25 = sext i32 %24 to i64 %26 = icmp eq i64 %25, 1 br i1 %26, label %27, label %32 27: ; preds = %23 %28 = load ptr, ptr %4, align 8 %29 = ptrtoint ptr %28 to i64 %30 = trunc i64 %29 to i8 %31 = load ptr, ptr %5, align 8 store i8 %30, ptr %31, align 1 br label %55 32: ; preds = %23 %33 = load i32, ptr %6, align 4 %34 = sext i32 %33 to i64 %35 = icmp eq i64 %34, 8 br i1 %35, label %36, label %40 36: ; preds = %32 %37 = load ptr, ptr %4, align 8 %38 = ptrtoint ptr %37 to i64 %39 = load ptr, ptr %5, align 8 store i64 %38, ptr %39, align 8 br label %54 40: ; preds = %32 %41 = load i32, ptr %6, align 4 %42 = sext i32 %41 to i64 %43 = icmp ugt i64 %42, 8 br i1 %43, label %44, label %49 44: ; preds = %40 %45 = load ptr, ptr %5, align 8 %46 = load ptr, ptr %4, align 8 %47 = load i32, ptr %6, align 4 %48 = call i32 @memcpy(ptr noundef %45, ptr noundef %46, i32 noundef %47) br label %53 49: ; preds = %40 %50 = load ptr, ptr %5, align 8 %51 = load i32, ptr %6, align 4 %52 = call i32 @memcpy(ptr noundef %50, ptr noundef %4, i32 noundef %51) br label %53 53: ; preds = %49, %44 br label %54 54: ; preds = %53, %36 br label %55 55: ; preds = %54, %27 br label %56 56: ; preds = %55, %18 br label %57 57: ; preds = %56, %10 ret void } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwink1tsw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @_XlcCopyFromArg(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %6, align 4 %8 = sext i32 %7 to i64 %9 = icmp eq i64 %8, 8 br i1 %9, label %10, label %14 10: ; preds = %3 %11 = load ptr, ptr %4, align 8 %12 = ptrtoint ptr %11 to i64 %13 = load ptr, ptr %5, align 8 store i64 %12, ptr %13, align 8 br label %57 14: ; preds = %3 %15 = load i32, ptr %6, align 4 %16 = sext i32 %15 to i64 %17 = icmp eq i64 %16, 2 br i1 %17, label %18, label %23 18: ; preds = %14 %19 = load ptr, ptr %4, align 8 %20 = ptrtoint ptr %19 to i64 %21 = trunc i64 %20 to i16 %22 = load ptr, ptr %5, align 8 store i16 %21, ptr %22, align 2 br label %56 23: ; preds = %14 %24 = load i32, ptr %6, align 4 %25 = sext i32 %24 to i64 %26 = icmp eq i64 %25, 1 br i1 %26, label %27, label %32 27: ; preds = %23 %28 = load ptr, ptr %4, align 8 %29 = ptrtoint ptr %28 to i64 %30 = trunc i64 %29 to i8 %31 = load ptr, ptr %5, align 8 store i8 %30, ptr %31, align 1 br label %55 32: ; preds = %23 %33 = load i32, ptr %6, align 4 %34 = sext i32 %33 to i64 %35 = icmp eq i64 %34, 8 br i1 %35, label %36, label %40 36: ; preds = %32 %37 = load ptr, ptr %4, align 8 %38 = ptrtoint ptr %37 to i64 %39 = load ptr, ptr %5, align 8 store i64 %38, ptr %39, align 8 br label %54 40: ; preds = %32 %41 = load i32, ptr %6, align 4 %42 = sext i32 %41 to i64 %43 = icmp ugt i64 %42, 8 br i1 %43, label %44, label %49 44: ; preds = %40 %45 = load ptr, ptr %5, align 8 %46 = load ptr, ptr %4, align 8 %47 = load i32, ptr %6, align 4 %48 = call i32 @memcpy(ptr noundef %45, ptr noundef %46, i32 noundef %47) br label %53 49: ; preds = %40 %50 = load ptr, ptr %5, align 8 %51 = load i32, ptr %6, align 4 %52 = call i32 @memcpy(ptr noundef %50, ptr noundef %4, i32 noundef %51) br label %53 53: ; preds = %49, %44 br label %54 54: ; preds = %53, %36 br label %55 55: ; preds = %54, %27 br label %56 56: ; preds = %55, %18 br label %57 57: ; preds = %56, %10 ret void } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpabdaifb6.c' source_filename = "/tmp/tmpabdaifb6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpabdaifb6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwwyp00hd.c' source_filename = "/tmp/tmpwwyp00hd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @free_dmatrix(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 store ptr %0, ptr %6, align 8 store i64 %1, ptr %7, align 8 store i64 %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 store i64 %4, ptr %10, align 8 %11 = load ptr, ptr %6, align 8 %12 = load i64, ptr %7, align 8 %13 = getelementptr inbounds ptr, ptr %11, i64 %12 %14 = load ptr, ptr %13, align 8 %15 = load i64, ptr %9, align 8 %16 = getelementptr inbounds double, ptr %14, i64 %15 %17 = getelementptr inbounds double, ptr %16, i64 -1 %18 = call i32 @free(ptr noundef %17) %19 = load ptr, ptr %6, align 8 %20 = load i64, ptr %7, align 8 %21 = getelementptr inbounds ptr, ptr %19, i64 %20 %22 = getelementptr inbounds ptr, ptr %21, i64 -1 %23 = call i32 @free(ptr noundef %22) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwwyp00hd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @free_dmatrix(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 store ptr %0, ptr %6, align 8 store i64 %1, ptr %7, align 8 store i64 %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 store i64 %4, ptr %10, align 8 %11 = load ptr, ptr %6, align 8 %12 = load i64, ptr %7, align 8 %13 = getelementptr inbounds ptr, ptr %11, i64 %12 %14 = load ptr, ptr %13, align 8 %15 = load i64, ptr %9, align 8 %16 = getelementptr inbounds double, ptr %14, i64 %15 %17 = getelementptr inbounds double, ptr %16, i64 -1 %18 = call i32 @free(ptr noundef %17) %19 = load ptr, ptr %6, align 8 %20 = load i64, ptr %7, align 8 %21 = getelementptr inbounds ptr, ptr %19, i64 %20 %22 = getelementptr inbounds ptr, ptr %21, i64 -1 %23 = call i32 @free(ptr noundef %22) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpoo002f5r.c' source_filename = "/tmp/tmpoo002f5r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpoo002f5r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_ko55706.c' source_filename = "/tmp/tmp_ko55706.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @vnic_wq_init(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %9 = load ptr, ptr %5, align 8 %10 = load i32, ptr %6, align 4 %11 = load i32, ptr %7, align 4 %12 = load i32, ptr %8, align 4 %13 = call i32 @vnic_wq_init_start(ptr noundef %9, i32 noundef %10, i32 noundef 0, i32 noundef 0, i32 noundef %11, i32 noundef %12) ret void } declare i32 @vnic_wq_init_start(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_ko55706.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @vnic_wq_init(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %9 = load ptr, ptr %5, align 8 %10 = load i32, ptr %6, align 4 %11 = load i32, ptr %7, align 4 %12 = load i32, ptr %8, align 4 %13 = call i32 @vnic_wq_init_start(ptr noundef %9, i32 noundef %10, i32 noundef 0, i32 noundef 0, i32 noundef %11, i32 noundef %12) ret void } declare i32 @vnic_wq_init_start(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqa2c2pp3.c' source_filename = "/tmp/tmpqa2c2pp3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @imgSetAllPixelBuffers(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 %12 = load ptr, ptr %7, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %15, label %14 14: ; preds = %5 store i32 -1, ptr %6, align 4 br label %28 15: ; preds = %5 %16 = load ptr, ptr %7, align 8 %17 = load ptr, ptr %8, align 8 %18 = call i32 @imgSetPixelBuffer(ptr noundef %16, ptr noundef %17, i32 noundef 0) %19 = load ptr, ptr %7, align 8 %20 = load ptr, ptr %9, align 8 %21 = call i32 @imgSetPixelBuffer(ptr noundef %19, ptr noundef %20, i32 noundef 1) %22 = load ptr, ptr %7, align 8 %23 = load ptr, ptr %10, align 8 %24 = call i32 @imgSetPixelBuffer(ptr noundef %22, ptr noundef %23, i32 noundef 2) %25 = load ptr, ptr %7, align 8 %26 = load ptr, ptr %11, align 8 %27 = call i32 @imgSetPixelBuffer(ptr noundef %25, ptr noundef %26, i32 noundef 3) store i32 0, ptr %6, align 4 br label %28 28: ; preds = %15, %14 %29 = load i32, ptr %6, align 4 ret i32 %29 } declare i32 @imgSetPixelBuffer(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqa2c2pp3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @imgSetAllPixelBuffers(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 %12 = load ptr, ptr %7, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %15, label %14 14: ; preds = %5 store i32 -1, ptr %6, align 4 br label %28 15: ; preds = %5 %16 = load ptr, ptr %7, align 8 %17 = load ptr, ptr %8, align 8 %18 = call i32 @imgSetPixelBuffer(ptr noundef %16, ptr noundef %17, i32 noundef 0) %19 = load ptr, ptr %7, align 8 %20 = load ptr, ptr %9, align 8 %21 = call i32 @imgSetPixelBuffer(ptr noundef %19, ptr noundef %20, i32 noundef 1) %22 = load ptr, ptr %7, align 8 %23 = load ptr, ptr %10, align 8 %24 = call i32 @imgSetPixelBuffer(ptr noundef %22, ptr noundef %23, i32 noundef 2) %25 = load ptr, ptr %7, align 8 %26 = load ptr, ptr %11, align 8 %27 = call i32 @imgSetPixelBuffer(ptr noundef %25, ptr noundef %26, i32 noundef 3) store i32 0, ptr %6, align 4 br label %28 28: ; preds = %15, %14 %29 = load i32, ptr %6, align 4 ret i32 %29 } declare i32 @imgSetPixelBuffer(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp842wgxpf.c' source_filename = "/tmp/tmp842wgxpf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"hello world\00", align 1 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @hello_world() #0 { %1 = alloca i32, align 4 %2 = load i32, ptr @stdout, align 4 %3 = call i64 @fputs(ptr noundef @.str, i32 noundef %2) %4 = icmp sgt i64 0, %3 br i1 %4, label %5, label %6 5: ; preds = %0 store i32 -1, ptr %1, align 4 br label %7 6: ; preds = %0 store i32 1, ptr %1, align 4 br label %7 7: ; preds = %6, %5 %8 = load i32, ptr %1, align 4 ret i32 %8 } declare i64 @fputs(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp842wgxpf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"hello world\00", align 1 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @hello_world() #0 { %1 = alloca i32, align 4 %2 = load i32, ptr @stdout, align 4 %3 = call i64 @fputs(ptr noundef @.str, i32 noundef %2) %4 = icmp sgt i64 0, %3 br i1 %4, label %5, label %6 5: ; preds = %0 store i32 -1, ptr %1, align 4 br label %7 6: ; preds = %0 store i32 1, ptr %1, align 4 br label %7 7: ; preds = %6, %5 %8 = load i32, ptr %1, align 4 ret i32 %8 } declare i64 @fputs(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprjmsahh8.c' source_filename = "/tmp/tmprjmsahh8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_ffile(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %9, align 4 br label %10 10: ; preds = %26, %4 %11 = load i32, ptr %9, align 4 %12 = load i32, ptr %8, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %14, label %29 14: ; preds = %10 %15 = load ptr, ptr %5, align 8 %16 = load ptr, ptr %7, align 8 %17 = load ptr, ptr %6, align 8 %18 = load i32, ptr %9, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i32, ptr %17, i64 %19 %21 = load i32, ptr %20, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds ptr, ptr %16, i64 %22 %24 = load ptr, ptr %23, align 8 %25 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %15, ptr noundef @.str, ptr noundef %24) br label %26 26: ; preds = %14 %27 = load i32, ptr %9, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %9, align 4 br label %10, !llvm.loop !6 29: ; preds = %10 %30 = load ptr, ptr %5, align 8 %31 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %30, ptr noundef @.str.1) ret void } declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprjmsahh8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_ffile(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %9, align 4 %10 = load i32, ptr %9, align 4 %11 = load i32, ptr %8, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %.lr.ph, label %31 .lr.ph: ; preds = %4 br label %13 13: ; preds = %.lr.ph, %25 %14 = load ptr, ptr %5, align 8 %15 = load ptr, ptr %7, align 8 %16 = load ptr, ptr %6, align 8 %17 = load i32, ptr %9, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i32, ptr %16, i64 %18 %20 = load i32, ptr %19, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds ptr, ptr %15, i64 %21 %23 = load ptr, ptr %22, align 8 %24 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %14, ptr noundef @.str, ptr noundef %23) br label %25 25: ; preds = %13 %26 = load i32, ptr %9, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %9, align 4 %28 = load i32, ptr %9, align 4 %29 = load i32, ptr %8, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %31 31: ; preds = %._crit_edge, %4 %32 = load ptr, ptr %5, align 8 %33 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %32, ptr noundef @.str.1) ret void } declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp14yuz67a.c' source_filename = "/tmp/tmp14yuz67a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @f8() #0 { %1 = call i32 (...) @f9() ret void } declare i32 @f9(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp14yuz67a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @f8() #0 { %1 = call i32 (...) @f9() ret void } declare i32 @f9(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}