llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmplf1pn29x.c' source_filename = "/tmp/tmplf1pn29x.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"r:h?\00", align 1 @optarg = dso_local global ptr null, align 8 @EXIT_SUCCESS = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @eg_decode_main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 store ptr null, ptr %5, align 8 br label %7 7: ; preds = %24, %2 %8 = load i32, ptr %3, align 4 %9 = load ptr, ptr %4, align 8 %10 = call i32 @getopt(i32 noundef %8, ptr noundef %9, ptr noundef @.str) store i32 %10, ptr %6, align 4 %11 = icmp ne i32 %10, -1 br i1 %11, label %12, label %25 12: ; preds = %7 %13 = load i32, ptr %6, align 4 switch i32 %13, label %20 [ i32 114, label %14 i32 104, label %16 i32 63, label %16 ] 14: ; preds = %12 %15 = load ptr, ptr @optarg, align 8 store ptr %15, ptr %5, align 8 br label %24 16: ; preds = %12, %12 %17 = call i32 (...) @usage() %18 = load i32, ptr @EXIT_SUCCESS, align 4 %19 = call i32 @exit(i32 noundef %18) #3 unreachable 20: ; preds = %12 %21 = call i32 (...) @usage() %22 = load i32, ptr @EXIT_FAILURE, align 4 %23 = call i32 @exit(i32 noundef %22) #3 unreachable 24: ; preds = %14 br label %7, !llvm.loop !6 25: ; preds = %7 %26 = load i32, ptr @EXIT_SUCCESS, align 4 %27 = call i32 @exit(i32 noundef %26) #3 unreachable } declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @usage(...) #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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplf1pn29x.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"r:h?\00", align 1 @optarg = dso_local global ptr null, align 8 @EXIT_SUCCESS = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @eg_decode_main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 store ptr null, ptr %5, align 8 %7 = load i32, ptr %3, align 4 %8 = load ptr, ptr %4, align 8 %9 = call i32 @getopt(i32 noundef %7, ptr noundef %8, ptr noundef @.str) store i32 %9, ptr %6, align 4 %10 = icmp ne i32 %9, -1 br i1 %10, label %.lr.ph, label %28 .lr.ph: ; preds = %2 br label %11 11: ; preds = %.lr.ph, %23 %12 = load i32, ptr %6, align 4 switch i32 %12, label %19 [ i32 114, label %13 i32 104, label %15 i32 63, label %15 ] 13: ; preds = %11 %14 = load ptr, ptr @optarg, align 8 store ptr %14, ptr %5, align 8 br label %23 15: ; preds = %11, %11 %16 = call i32 (...) @usage() %17 = load i32, ptr @EXIT_SUCCESS, align 4 %18 = call i32 @exit(i32 noundef %17) #3 unreachable 19: ; preds = %11 %20 = call i32 (...) @usage() %21 = load i32, ptr @EXIT_FAILURE, align 4 %22 = call i32 @exit(i32 noundef %21) #3 unreachable 23: ; preds = %13 %24 = load i32, ptr %3, align 4 %25 = load ptr, ptr %4, align 8 %26 = call i32 @getopt(i32 noundef %24, ptr noundef %25, ptr noundef @.str) store i32 %26, ptr %6, align 4 %27 = icmp ne i32 %26, -1 br i1 %27, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %28 28: ; preds = %._crit_edge, %2 %29 = load i32, ptr @EXIT_SUCCESS, align 4 %30 = call i32 @exit(i32 noundef %29) #3 unreachable } declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @usage(...) #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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpe4f4j884.c' source_filename = "/tmp/tmpe4f4j884.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.TYPE_2__ = type { i32 } @_res = dso_local global %struct.TYPE_2__ zeroinitializer, 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/tmpe4f4j884.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.TYPE_2__ = type { i32 } @_res = dso_local global %struct.TYPE_2__ zeroinitializer, 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/tmpqiv0elmh.c' source_filename = "/tmp/tmpqiv0elmh.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 @hippo_view_bound(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca float, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = getelementptr inbounds float, ptr %7, i64 12 %9 = load float, ptr %8, align 4 %10 = load ptr, ptr %4, align 8 %11 = getelementptr inbounds float, ptr %10, i64 0 %12 = load float, ptr %11, align 4 %13 = fadd float %9, %12 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds float, ptr %14, i64 0 store float %13, ptr %15, align 4 %16 = load ptr, ptr %4, align 8 %17 = getelementptr inbounds float, ptr %16, i64 13 %18 = load float, ptr %17, align 4 %19 = load ptr, ptr %4, align 8 %20 = getelementptr inbounds float, ptr %19, i64 1 %21 = load float, ptr %20, align 4 %22 = fadd float %18, %21 %23 = load ptr, ptr %3, align 8 %24 = getelementptr inbounds float, ptr %23, i64 1 store float %22, ptr %24, align 4 %25 = load ptr, ptr %4, align 8 %26 = getelementptr inbounds float, ptr %25, i64 14 %27 = load float, ptr %26, align 4 %28 = load ptr, ptr %4, align 8 %29 = getelementptr inbounds float, ptr %28, i64 2 %30 = load float, ptr %29, align 4 %31 = fadd float %27, %30 %32 = load ptr, ptr %3, align 8 %33 = getelementptr inbounds float, ptr %32, i64 2 store float %31, ptr %33, align 4 %34 = load ptr, ptr %4, align 8 %35 = getelementptr inbounds float, ptr %34, i64 15 %36 = load float, ptr %35, align 4 %37 = load ptr, ptr %4, align 8 %38 = getelementptr inbounds float, ptr %37, i64 3 %39 = load float, ptr %38, align 4 %40 = fadd float %36, %39 %41 = load ptr, ptr %3, align 8 %42 = getelementptr inbounds float, ptr %41, i64 3 store float %40, ptr %42, align 4 %43 = load ptr, ptr %4, align 8 %44 = getelementptr inbounds float, ptr %43, i64 12 %45 = load float, ptr %44, align 4 %46 = load ptr, ptr %4, align 8 %47 = getelementptr inbounds float, ptr %46, i64 0 %48 = load float, ptr %47, align 4 %49 = fsub float %45, %48 %50 = load ptr, ptr %3, align 8 %51 = getelementptr inbounds float, ptr %50, i64 4 store float %49, ptr %51, align 4 %52 = load ptr, ptr %4, align 8 %53 = getelementptr inbounds float, ptr %52, i64 13 %54 = load float, ptr %53, align 4 %55 = load ptr, ptr %4, align 8 %56 = getelementptr inbounds float, ptr %55, i64 1 %57 = load float, ptr %56, align 4 %58 = fsub float %54, %57 %59 = load ptr, ptr %3, align 8 %60 = getelementptr inbounds float, ptr %59, i64 5 store float %58, ptr %60, align 4 %61 = load ptr, ptr %4, align 8 %62 = getelementptr inbounds float, ptr %61, i64 14 %63 = load float, ptr %62, align 4 %64 = load ptr, ptr %4, align 8 %65 = getelementptr inbounds float, ptr %64, i64 2 %66 = load float, ptr %65, align 4 %67 = fsub float %63, %66 %68 = load ptr, ptr %3, align 8 %69 = getelementptr inbounds float, ptr %68, i64 6 store float %67, ptr %69, align 4 %70 = load ptr, ptr %4, align 8 %71 = getelementptr inbounds float, ptr %70, i64 15 %72 = load float, ptr %71, align 4 %73 = load ptr, ptr %4, align 8 %74 = getelementptr inbounds float, ptr %73, i64 3 %75 = load float, ptr %74, align 4 %76 = fsub float %72, %75 %77 = load ptr, ptr %3, align 8 %78 = getelementptr inbounds float, ptr %77, i64 7 store float %76, ptr %78, align 4 %79 = load ptr, ptr %4, align 8 %80 = getelementptr inbounds float, ptr %79, i64 12 %81 = load float, ptr %80, align 4 %82 = load ptr, ptr %4, align 8 %83 = getelementptr inbounds float, ptr %82, i64 4 %84 = load float, ptr %83, align 4 %85 = fadd float %81, %84 %86 = load ptr, ptr %3, align 8 %87 = getelementptr inbounds float, ptr %86, i64 8 store float %85, ptr %87, align 4 %88 = load ptr, ptr %4, align 8 %89 = getelementptr inbounds float, ptr %88, i64 13 %90 = load float, ptr %89, align 4 %91 = load ptr, ptr %4, align 8 %92 = getelementptr inbounds float, ptr %91, i64 5 %93 = load float, ptr %92, align 4 %94 = fadd float %90, %93 %95 = load ptr, ptr %3, align 8 %96 = getelementptr inbounds float, ptr %95, i64 9 store float %94, ptr %96, align 4 %97 = load ptr, ptr %4, align 8 %98 = getelementptr inbounds float, ptr %97, i64 14 %99 = load float, ptr %98, align 4 %100 = load ptr, ptr %4, align 8 %101 = getelementptr inbounds float, ptr %100, i64 6 %102 = load float, ptr %101, align 4 %103 = fadd float %99, %102 %104 = load ptr, ptr %3, align 8 %105 = getelementptr inbounds float, ptr %104, i64 10 store float %103, ptr %105, align 4 %106 = load ptr, ptr %4, align 8 %107 = getelementptr inbounds float, ptr %106, i64 15 %108 = load float, ptr %107, align 4 %109 = load ptr, ptr %4, align 8 %110 = getelementptr inbounds float, ptr %109, i64 7 %111 = load float, ptr %110, align 4 %112 = fadd float %108, %111 %113 = load ptr, ptr %3, align 8 %114 = getelementptr inbounds float, ptr %113, i64 11 store float %112, ptr %114, align 4 %115 = load ptr, ptr %4, align 8 %116 = getelementptr inbounds float, ptr %115, i64 12 %117 = load float, ptr %116, align 4 %118 = load ptr, ptr %4, align 8 %119 = getelementptr inbounds float, ptr %118, i64 4 %120 = load float, ptr %119, align 4 %121 = fsub float %117, %120 %122 = load ptr, ptr %3, align 8 %123 = getelementptr inbounds float, ptr %122, i64 12 store float %121, ptr %123, align 4 %124 = load ptr, ptr %4, align 8 %125 = getelementptr inbounds float, ptr %124, i64 13 %126 = load float, ptr %125, align 4 %127 = load ptr, ptr %4, align 8 %128 = getelementptr inbounds float, ptr %127, i64 5 %129 = load float, ptr %128, align 4 %130 = fsub float %126, %129 %131 = load ptr, ptr %3, align 8 %132 = getelementptr inbounds float, ptr %131, i64 13 store float %130, ptr %132, align 4 %133 = load ptr, ptr %4, align 8 %134 = getelementptr inbounds float, ptr %133, i64 14 %135 = load float, ptr %134, align 4 %136 = load ptr, ptr %4, align 8 %137 = getelementptr inbounds float, ptr %136, i64 6 %138 = load float, ptr %137, align 4 %139 = fsub float %135, %138 %140 = load ptr, ptr %3, align 8 %141 = getelementptr inbounds float, ptr %140, i64 14 store float %139, ptr %141, align 4 %142 = load ptr, ptr %4, align 8 %143 = getelementptr inbounds float, ptr %142, i64 15 %144 = load float, ptr %143, align 4 %145 = load ptr, ptr %4, align 8 %146 = getelementptr inbounds float, ptr %145, i64 7 %147 = load float, ptr %146, align 4 %148 = fsub float %144, %147 %149 = load ptr, ptr %3, align 8 %150 = getelementptr inbounds float, ptr %149, i64 15 store float %148, ptr %150, align 4 %151 = load ptr, ptr %4, align 8 %152 = getelementptr inbounds float, ptr %151, i64 12 %153 = load float, ptr %152, align 4 %154 = load ptr, ptr %4, align 8 %155 = getelementptr inbounds float, ptr %154, i64 8 %156 = load float, ptr %155, align 4 %157 = fadd float %153, %156 %158 = load ptr, ptr %3, align 8 %159 = getelementptr inbounds float, ptr %158, i64 16 store float %157, ptr %159, align 4 %160 = load ptr, ptr %4, align 8 %161 = getelementptr inbounds float, ptr %160, i64 13 %162 = load float, ptr %161, align 4 %163 = load ptr, ptr %4, align 8 %164 = getelementptr inbounds float, ptr %163, i64 9 %165 = load float, ptr %164, align 4 %166 = fadd float %162, %165 %167 = load ptr, ptr %3, align 8 %168 = getelementptr inbounds float, ptr %167, i64 17 store float %166, ptr %168, align 4 %169 = load ptr, ptr %4, align 8 %170 = getelementptr inbounds float, ptr %169, i64 14 %171 = load float, ptr %170, align 4 %172 = load ptr, ptr %4, align 8 %173 = getelementptr inbounds float, ptr %172, i64 10 %174 = load float, ptr %173, align 4 %175 = fadd float %171, %174 %176 = load ptr, ptr %3, align 8 %177 = getelementptr inbounds float, ptr %176, i64 18 store float %175, ptr %177, align 4 %178 = load ptr, ptr %4, align 8 %179 = getelementptr inbounds float, ptr %178, i64 15 %180 = load float, ptr %179, align 4 %181 = load ptr, ptr %4, align 8 %182 = getelementptr inbounds float, ptr %181, i64 11 %183 = load float, ptr %182, align 4 %184 = fadd float %180, %183 %185 = load ptr, ptr %3, align 8 %186 = getelementptr inbounds float, ptr %185, i64 19 store float %184, ptr %186, align 4 %187 = load ptr, ptr %4, align 8 %188 = getelementptr inbounds float, ptr %187, i64 12 %189 = load float, ptr %188, align 4 %190 = load ptr, ptr %4, align 8 %191 = getelementptr inbounds float, ptr %190, i64 8 %192 = load float, ptr %191, align 4 %193 = fsub float %189, %192 %194 = load ptr, ptr %3, align 8 %195 = getelementptr inbounds float, ptr %194, i64 20 store float %193, ptr %195, align 4 %196 = load ptr, ptr %4, align 8 %197 = getelementptr inbounds float, ptr %196, i64 13 %198 = load float, ptr %197, align 4 %199 = load ptr, ptr %4, align 8 %200 = getelementptr inbounds float, ptr %199, i64 9 %201 = load float, ptr %200, align 4 %202 = fsub float %198, %201 %203 = load ptr, ptr %3, align 8 %204 = getelementptr inbounds float, ptr %203, i64 21 store float %202, ptr %204, align 4 %205 = load ptr, ptr %4, align 8 %206 = getelementptr inbounds float, ptr %205, i64 14 %207 = load float, ptr %206, align 4 %208 = load ptr, ptr %4, align 8 %209 = getelementptr inbounds float, ptr %208, i64 10 %210 = load float, ptr %209, align 4 %211 = fsub float %207, %210 %212 = load ptr, ptr %3, align 8 %213 = getelementptr inbounds float, ptr %212, i64 22 store float %211, ptr %213, align 4 %214 = load ptr, ptr %4, align 8 %215 = getelementptr inbounds float, ptr %214, i64 15 %216 = load float, ptr %215, align 4 %217 = load ptr, ptr %4, align 8 %218 = getelementptr inbounds float, ptr %217, i64 11 %219 = load float, ptr %218, align 4 %220 = fsub float %216, %219 %221 = load ptr, ptr %3, align 8 %222 = getelementptr inbounds float, ptr %221, i64 23 store float %220, ptr %222, align 4 store i32 0, ptr %5, align 4 br label %223 223: ; preds = %310, %2 %224 = load i32, ptr %5, align 4 %225 = icmp slt i32 %224, 6 br i1 %225, label %226, label %313 226: ; preds = %223 %227 = load ptr, ptr %3, align 8 %228 = load i32, ptr %5, align 4 %229 = mul nsw i32 4, %228 %230 = add nsw i32 %229, 0 %231 = sext i32 %230 to i64 %232 = getelementptr inbounds float, ptr %227, i64 %231 %233 = load float, ptr %232, align 4 %234 = load ptr, ptr %3, align 8 %235 = load i32, ptr %5, align 4 %236 = mul nsw i32 4, %235 %237 = add nsw i32 %236, 0 %238 = sext i32 %237 to i64 %239 = getelementptr inbounds float, ptr %234, i64 %238 %240 = load float, ptr %239, align 4 %241 = load ptr, ptr %3, align 8 %242 = load i32, ptr %5, align 4 %243 = mul nsw i32 4, %242 %244 = add nsw i32 %243, 1 %245 = sext i32 %244 to i64 %246 = getelementptr inbounds float, ptr %241, i64 %245 %247 = load float, ptr %246, align 4 %248 = load ptr, ptr %3, align 8 %249 = load i32, ptr %5, align 4 %250 = mul nsw i32 4, %249 %251 = add nsw i32 %250, 1 %252 = sext i32 %251 to i64 %253 = getelementptr inbounds float, ptr %248, i64 %252 %254 = load float, ptr %253, align 4 %255 = fmul float %247, %254 %256 = call float @llvm.fmuladd.f32(float %233, float %240, float %255) %257 = load ptr, ptr %3, align 8 %258 = load i32, ptr %5, align 4 %259 = mul nsw i32 4, %258 %260 = add nsw i32 %259, 2 %261 = sext i32 %260 to i64 %262 = getelementptr inbounds float, ptr %257, i64 %261 %263 = load float, ptr %262, align 4 %264 = load ptr, ptr %3, align 8 %265 = load i32, ptr %5, align 4 %266 = mul nsw i32 4, %265 %267 = add nsw i32 %266, 2 %268 = sext i32 %267 to i64 %269 = getelementptr inbounds float, ptr %264, i64 %268 %270 = load float, ptr %269, align 4 %271 = call float @llvm.fmuladd.f32(float %263, float %270, float %256) %272 = call i64 @sqrt(float noundef %271) %273 = sitofp i64 %272 to float store float %273, ptr %6, align 4 %274 = load float, ptr %6, align 4 %275 = load ptr, ptr %3, align 8 %276 = load i32, ptr %5, align 4 %277 = mul nsw i32 %276, 4 %278 = add nsw i32 %277, 0 %279 = sext i32 %278 to i64 %280 = getelementptr inbounds float, ptr %275, i64 %279 %281 = load float, ptr %280, align 4 %282 = fdiv float %281, %274 store float %282, ptr %280, align 4 %283 = load float, ptr %6, align 4 %284 = load ptr, ptr %3, align 8 %285 = load i32, ptr %5, align 4 %286 = mul nsw i32 %285, 4 %287 = add nsw i32 %286, 1 %288 = sext i32 %287 to i64 %289 = getelementptr inbounds float, ptr %284, i64 %288 %290 = load float, ptr %289, align 4 %291 = fdiv float %290, %283 store float %291, ptr %289, align 4 %292 = load float, ptr %6, align 4 %293 = load ptr, ptr %3, align 8 %294 = load i32, ptr %5, align 4 %295 = mul nsw i32 %294, 4 %296 = add nsw i32 %295, 2 %297 = sext i32 %296 to i64 %298 = getelementptr inbounds float, ptr %293, i64 %297 %299 = load float, ptr %298, align 4 %300 = fdiv float %299, %292 store float %300, ptr %298, align 4 %301 = load float, ptr %6, align 4 %302 = load ptr, ptr %3, align 8 %303 = load i32, ptr %5, align 4 %304 = mul nsw i32 %303, 4 %305 = add nsw i32 %304, 3 %306 = sext i32 %305 to i64 %307 = getelementptr inbounds float, ptr %302, i64 %306 %308 = load float, ptr %307, align 4 %309 = fdiv float %308, %301 store float %309, ptr %307, align 4 br label %310 310: ; preds = %226 %311 = load i32, ptr %5, align 4 %312 = add nsw i32 %311, 1 store i32 %312, ptr %5, align 4 br label %223, !llvm.loop !6 313: ; preds = %223 ret void } declare i64 @sqrt(float noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #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/tmpqiv0elmh.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 @hippo_view_bound(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca float, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = getelementptr inbounds float, ptr %7, i64 12 %9 = load float, ptr %8, align 4 %10 = load ptr, ptr %4, align 8 %11 = getelementptr inbounds float, ptr %10, i64 0 %12 = load float, ptr %11, align 4 %13 = fadd float %9, %12 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds float, ptr %14, i64 0 store float %13, ptr %15, align 4 %16 = load ptr, ptr %4, align 8 %17 = getelementptr inbounds float, ptr %16, i64 13 %18 = load float, ptr %17, align 4 %19 = load ptr, ptr %4, align 8 %20 = getelementptr inbounds float, ptr %19, i64 1 %21 = load float, ptr %20, align 4 %22 = fadd float %18, %21 %23 = load ptr, ptr %3, align 8 %24 = getelementptr inbounds float, ptr %23, i64 1 store float %22, ptr %24, align 4 %25 = load ptr, ptr %4, align 8 %26 = getelementptr inbounds float, ptr %25, i64 14 %27 = load float, ptr %26, align 4 %28 = load ptr, ptr %4, align 8 %29 = getelementptr inbounds float, ptr %28, i64 2 %30 = load float, ptr %29, align 4 %31 = fadd float %27, %30 %32 = load ptr, ptr %3, align 8 %33 = getelementptr inbounds float, ptr %32, i64 2 store float %31, ptr %33, align 4 %34 = load ptr, ptr %4, align 8 %35 = getelementptr inbounds float, ptr %34, i64 15 %36 = load float, ptr %35, align 4 %37 = load ptr, ptr %4, align 8 %38 = getelementptr inbounds float, ptr %37, i64 3 %39 = load float, ptr %38, align 4 %40 = fadd float %36, %39 %41 = load ptr, ptr %3, align 8 %42 = getelementptr inbounds float, ptr %41, i64 3 store float %40, ptr %42, align 4 %43 = load ptr, ptr %4, align 8 %44 = getelementptr inbounds float, ptr %43, i64 12 %45 = load float, ptr %44, align 4 %46 = load ptr, ptr %4, align 8 %47 = getelementptr inbounds float, ptr %46, i64 0 %48 = load float, ptr %47, align 4 %49 = fsub float %45, %48 %50 = load ptr, ptr %3, align 8 %51 = getelementptr inbounds float, ptr %50, i64 4 store float %49, ptr %51, align 4 %52 = load ptr, ptr %4, align 8 %53 = getelementptr inbounds float, ptr %52, i64 13 %54 = load float, ptr %53, align 4 %55 = load ptr, ptr %4, align 8 %56 = getelementptr inbounds float, ptr %55, i64 1 %57 = load float, ptr %56, align 4 %58 = fsub float %54, %57 %59 = load ptr, ptr %3, align 8 %60 = getelementptr inbounds float, ptr %59, i64 5 store float %58, ptr %60, align 4 %61 = load ptr, ptr %4, align 8 %62 = getelementptr inbounds float, ptr %61, i64 14 %63 = load float, ptr %62, align 4 %64 = load ptr, ptr %4, align 8 %65 = getelementptr inbounds float, ptr %64, i64 2 %66 = load float, ptr %65, align 4 %67 = fsub float %63, %66 %68 = load ptr, ptr %3, align 8 %69 = getelementptr inbounds float, ptr %68, i64 6 store float %67, ptr %69, align 4 %70 = load ptr, ptr %4, align 8 %71 = getelementptr inbounds float, ptr %70, i64 15 %72 = load float, ptr %71, align 4 %73 = load ptr, ptr %4, align 8 %74 = getelementptr inbounds float, ptr %73, i64 3 %75 = load float, ptr %74, align 4 %76 = fsub float %72, %75 %77 = load ptr, ptr %3, align 8 %78 = getelementptr inbounds float, ptr %77, i64 7 store float %76, ptr %78, align 4 %79 = load ptr, ptr %4, align 8 %80 = getelementptr inbounds float, ptr %79, i64 12 %81 = load float, ptr %80, align 4 %82 = load ptr, ptr %4, align 8 %83 = getelementptr inbounds float, ptr %82, i64 4 %84 = load float, ptr %83, align 4 %85 = fadd float %81, %84 %86 = load ptr, ptr %3, align 8 %87 = getelementptr inbounds float, ptr %86, i64 8 store float %85, ptr %87, align 4 %88 = load ptr, ptr %4, align 8 %89 = getelementptr inbounds float, ptr %88, i64 13 %90 = load float, ptr %89, align 4 %91 = load ptr, ptr %4, align 8 %92 = getelementptr inbounds float, ptr %91, i64 5 %93 = load float, ptr %92, align 4 %94 = fadd float %90, %93 %95 = load ptr, ptr %3, align 8 %96 = getelementptr inbounds float, ptr %95, i64 9 store float %94, ptr %96, align 4 %97 = load ptr, ptr %4, align 8 %98 = getelementptr inbounds float, ptr %97, i64 14 %99 = load float, ptr %98, align 4 %100 = load ptr, ptr %4, align 8 %101 = getelementptr inbounds float, ptr %100, i64 6 %102 = load float, ptr %101, align 4 %103 = fadd float %99, %102 %104 = load ptr, ptr %3, align 8 %105 = getelementptr inbounds float, ptr %104, i64 10 store float %103, ptr %105, align 4 %106 = load ptr, ptr %4, align 8 %107 = getelementptr inbounds float, ptr %106, i64 15 %108 = load float, ptr %107, align 4 %109 = load ptr, ptr %4, align 8 %110 = getelementptr inbounds float, ptr %109, i64 7 %111 = load float, ptr %110, align 4 %112 = fadd float %108, %111 %113 = load ptr, ptr %3, align 8 %114 = getelementptr inbounds float, ptr %113, i64 11 store float %112, ptr %114, align 4 %115 = load ptr, ptr %4, align 8 %116 = getelementptr inbounds float, ptr %115, i64 12 %117 = load float, ptr %116, align 4 %118 = load ptr, ptr %4, align 8 %119 = getelementptr inbounds float, ptr %118, i64 4 %120 = load float, ptr %119, align 4 %121 = fsub float %117, %120 %122 = load ptr, ptr %3, align 8 %123 = getelementptr inbounds float, ptr %122, i64 12 store float %121, ptr %123, align 4 %124 = load ptr, ptr %4, align 8 %125 = getelementptr inbounds float, ptr %124, i64 13 %126 = load float, ptr %125, align 4 %127 = load ptr, ptr %4, align 8 %128 = getelementptr inbounds float, ptr %127, i64 5 %129 = load float, ptr %128, align 4 %130 = fsub float %126, %129 %131 = load ptr, ptr %3, align 8 %132 = getelementptr inbounds float, ptr %131, i64 13 store float %130, ptr %132, align 4 %133 = load ptr, ptr %4, align 8 %134 = getelementptr inbounds float, ptr %133, i64 14 %135 = load float, ptr %134, align 4 %136 = load ptr, ptr %4, align 8 %137 = getelementptr inbounds float, ptr %136, i64 6 %138 = load float, ptr %137, align 4 %139 = fsub float %135, %138 %140 = load ptr, ptr %3, align 8 %141 = getelementptr inbounds float, ptr %140, i64 14 store float %139, ptr %141, align 4 %142 = load ptr, ptr %4, align 8 %143 = getelementptr inbounds float, ptr %142, i64 15 %144 = load float, ptr %143, align 4 %145 = load ptr, ptr %4, align 8 %146 = getelementptr inbounds float, ptr %145, i64 7 %147 = load float, ptr %146, align 4 %148 = fsub float %144, %147 %149 = load ptr, ptr %3, align 8 %150 = getelementptr inbounds float, ptr %149, i64 15 store float %148, ptr %150, align 4 %151 = load ptr, ptr %4, align 8 %152 = getelementptr inbounds float, ptr %151, i64 12 %153 = load float, ptr %152, align 4 %154 = load ptr, ptr %4, align 8 %155 = getelementptr inbounds float, ptr %154, i64 8 %156 = load float, ptr %155, align 4 %157 = fadd float %153, %156 %158 = load ptr, ptr %3, align 8 %159 = getelementptr inbounds float, ptr %158, i64 16 store float %157, ptr %159, align 4 %160 = load ptr, ptr %4, align 8 %161 = getelementptr inbounds float, ptr %160, i64 13 %162 = load float, ptr %161, align 4 %163 = load ptr, ptr %4, align 8 %164 = getelementptr inbounds float, ptr %163, i64 9 %165 = load float, ptr %164, align 4 %166 = fadd float %162, %165 %167 = load ptr, ptr %3, align 8 %168 = getelementptr inbounds float, ptr %167, i64 17 store float %166, ptr %168, align 4 %169 = load ptr, ptr %4, align 8 %170 = getelementptr inbounds float, ptr %169, i64 14 %171 = load float, ptr %170, align 4 %172 = load ptr, ptr %4, align 8 %173 = getelementptr inbounds float, ptr %172, i64 10 %174 = load float, ptr %173, align 4 %175 = fadd float %171, %174 %176 = load ptr, ptr %3, align 8 %177 = getelementptr inbounds float, ptr %176, i64 18 store float %175, ptr %177, align 4 %178 = load ptr, ptr %4, align 8 %179 = getelementptr inbounds float, ptr %178, i64 15 %180 = load float, ptr %179, align 4 %181 = load ptr, ptr %4, align 8 %182 = getelementptr inbounds float, ptr %181, i64 11 %183 = load float, ptr %182, align 4 %184 = fadd float %180, %183 %185 = load ptr, ptr %3, align 8 %186 = getelementptr inbounds float, ptr %185, i64 19 store float %184, ptr %186, align 4 %187 = load ptr, ptr %4, align 8 %188 = getelementptr inbounds float, ptr %187, i64 12 %189 = load float, ptr %188, align 4 %190 = load ptr, ptr %4, align 8 %191 = getelementptr inbounds float, ptr %190, i64 8 %192 = load float, ptr %191, align 4 %193 = fsub float %189, %192 %194 = load ptr, ptr %3, align 8 %195 = getelementptr inbounds float, ptr %194, i64 20 store float %193, ptr %195, align 4 %196 = load ptr, ptr %4, align 8 %197 = getelementptr inbounds float, ptr %196, i64 13 %198 = load float, ptr %197, align 4 %199 = load ptr, ptr %4, align 8 %200 = getelementptr inbounds float, ptr %199, i64 9 %201 = load float, ptr %200, align 4 %202 = fsub float %198, %201 %203 = load ptr, ptr %3, align 8 %204 = getelementptr inbounds float, ptr %203, i64 21 store float %202, ptr %204, align 4 %205 = load ptr, ptr %4, align 8 %206 = getelementptr inbounds float, ptr %205, i64 14 %207 = load float, ptr %206, align 4 %208 = load ptr, ptr %4, align 8 %209 = getelementptr inbounds float, ptr %208, i64 10 %210 = load float, ptr %209, align 4 %211 = fsub float %207, %210 %212 = load ptr, ptr %3, align 8 %213 = getelementptr inbounds float, ptr %212, i64 22 store float %211, ptr %213, align 4 %214 = load ptr, ptr %4, align 8 %215 = getelementptr inbounds float, ptr %214, i64 15 %216 = load float, ptr %215, align 4 %217 = load ptr, ptr %4, align 8 %218 = getelementptr inbounds float, ptr %217, i64 11 %219 = load float, ptr %218, align 4 %220 = fsub float %216, %219 %221 = load ptr, ptr %3, align 8 %222 = getelementptr inbounds float, ptr %221, i64 23 store float %220, ptr %222, align 4 store i32 0, ptr %5, align 4 %223 = load i32, ptr %5, align 4 %224 = icmp slt i32 %223, 6 br i1 %224, label %.lr.ph, label %314 .lr.ph: ; preds = %2 br label %225 225: ; preds = %.lr.ph, %309 %226 = load ptr, ptr %3, align 8 %227 = load i32, ptr %5, align 4 %228 = mul nsw i32 4, %227 %229 = add nsw i32 %228, 0 %230 = sext i32 %229 to i64 %231 = getelementptr inbounds float, ptr %226, i64 %230 %232 = load float, ptr %231, align 4 %233 = load ptr, ptr %3, align 8 %234 = load i32, ptr %5, align 4 %235 = mul nsw i32 4, %234 %236 = add nsw i32 %235, 0 %237 = sext i32 %236 to i64 %238 = getelementptr inbounds float, ptr %233, i64 %237 %239 = load float, ptr %238, align 4 %240 = load ptr, ptr %3, align 8 %241 = load i32, ptr %5, align 4 %242 = mul nsw i32 4, %241 %243 = add nsw i32 %242, 1 %244 = sext i32 %243 to i64 %245 = getelementptr inbounds float, ptr %240, i64 %244 %246 = load float, ptr %245, align 4 %247 = load ptr, ptr %3, align 8 %248 = load i32, ptr %5, align 4 %249 = mul nsw i32 4, %248 %250 = add nsw i32 %249, 1 %251 = sext i32 %250 to i64 %252 = getelementptr inbounds float, ptr %247, i64 %251 %253 = load float, ptr %252, align 4 %254 = fmul float %246, %253 %255 = call float @llvm.fmuladd.f32(float %232, float %239, float %254) %256 = load ptr, ptr %3, align 8 %257 = load i32, ptr %5, align 4 %258 = mul nsw i32 4, %257 %259 = add nsw i32 %258, 2 %260 = sext i32 %259 to i64 %261 = getelementptr inbounds float, ptr %256, i64 %260 %262 = load float, ptr %261, align 4 %263 = load ptr, ptr %3, align 8 %264 = load i32, ptr %5, align 4 %265 = mul nsw i32 4, %264 %266 = add nsw i32 %265, 2 %267 = sext i32 %266 to i64 %268 = getelementptr inbounds float, ptr %263, i64 %267 %269 = load float, ptr %268, align 4 %270 = call float @llvm.fmuladd.f32(float %262, float %269, float %255) %271 = call i64 @sqrt(float noundef %270) %272 = sitofp i64 %271 to float store float %272, ptr %6, align 4 %273 = load float, ptr %6, align 4 %274 = load ptr, ptr %3, align 8 %275 = load i32, ptr %5, align 4 %276 = mul nsw i32 %275, 4 %277 = add nsw i32 %276, 0 %278 = sext i32 %277 to i64 %279 = getelementptr inbounds float, ptr %274, i64 %278 %280 = load float, ptr %279, align 4 %281 = fdiv float %280, %273 store float %281, ptr %279, align 4 %282 = load float, ptr %6, align 4 %283 = load ptr, ptr %3, align 8 %284 = load i32, ptr %5, align 4 %285 = mul nsw i32 %284, 4 %286 = add nsw i32 %285, 1 %287 = sext i32 %286 to i64 %288 = getelementptr inbounds float, ptr %283, i64 %287 %289 = load float, ptr %288, align 4 %290 = fdiv float %289, %282 store float %290, ptr %288, align 4 %291 = load float, ptr %6, align 4 %292 = load ptr, ptr %3, align 8 %293 = load i32, ptr %5, align 4 %294 = mul nsw i32 %293, 4 %295 = add nsw i32 %294, 2 %296 = sext i32 %295 to i64 %297 = getelementptr inbounds float, ptr %292, i64 %296 %298 = load float, ptr %297, align 4 %299 = fdiv float %298, %291 store float %299, ptr %297, align 4 %300 = load float, ptr %6, align 4 %301 = load ptr, ptr %3, align 8 %302 = load i32, ptr %5, align 4 %303 = mul nsw i32 %302, 4 %304 = add nsw i32 %303, 3 %305 = sext i32 %304 to i64 %306 = getelementptr inbounds float, ptr %301, i64 %305 %307 = load float, ptr %306, align 4 %308 = fdiv float %307, %300 store float %308, ptr %306, align 4 br label %309 309: ; preds = %225 %310 = load i32, ptr %5, align 4 %311 = add nsw i32 %310, 1 store i32 %311, ptr %5, align 4 %312 = load i32, ptr %5, align 4 %313 = icmp slt i32 %312, 6 br i1 %313, label %225, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %309 br label %314 314: ; preds = %._crit_edge, %2 ret void } declare i64 @sqrt(float noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #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/tmpaks5t9ng.c' source_filename = "/tmp/tmpaks5t9ng.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 ; 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 store i32 0, ptr %2, align 4 br label %3 3: ; preds = %9, %0 %4 = load i32, ptr %2, align 4 %5 = icmp slt i32 %4, 2 br i1 %5, label %6, label %12 6: ; preds = %3 %7 = call i32 (...) @fork() %8 = call i32 @printf(ptr noundef @.str) br label %9 9: ; preds = %6 %10 = load i32, ptr %2, align 4 %11 = add nsw i32 %10, 1 store i32 %11, ptr %2, align 4 br label %3, !llvm.loop !6 12: ; preds = %3 ret i32 0 } declare i32 @fork(...) #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/tmpaks5t9ng.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 ; 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 store i32 0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp slt i32 %3, 2 br i1 %4, label %.lr.ph, label %13 .lr.ph: ; preds = %0 br label %5 5: ; preds = %.lr.ph, %8 %6 = call i32 (...) @fork() %7 = call i32 @printf(ptr noundef @.str) br label %8 8: ; preds = %5 %9 = load i32, ptr %2, align 4 %10 = add nsw i32 %9, 1 store i32 %10, ptr %2, align 4 %11 = load i32, ptr %2, align 4 %12 = icmp slt i32 %11, 2 br i1 %12, label %5, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %8 br label %13 13: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @fork(...) #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/tmp_7u2gflr.c' source_filename = "/tmp/tmp_7u2gflr.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 @linreg(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, i32 noundef %7) #0 { %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca i32, align 4 %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 %23 = alloca double, align 8 %24 = alloca double, align 8 %25 = alloca double, align 8 %26 = alloca double, align 8 %27 = alloca i32, align 4 store ptr %0, ptr %9, align 8 store ptr %1, ptr %10, align 8 store ptr %2, ptr %11, align 8 store i32 %3, ptr %12, align 4 store ptr %4, ptr %13, align 8 store ptr %5, ptr %14, align 8 store ptr %6, ptr %15, align 8 store i32 %7, ptr %16, align 4 store double 0.000000e+00, ptr %19, align 8 store double 0.000000e+00, ptr %18, align 8 store double 0.000000e+00, ptr %17, align 8 store double 0.000000e+00, ptr %25, align 8 store double 0.000000e+00, ptr %24, align 8 store double 0.000000e+00, ptr %23, align 8 store double 0.000000e+00, ptr %22, align 8 store double 0.000000e+00, ptr %21, align 8 store double 0.000000e+00, ptr %20, align 8 %28 = load i32, ptr %16, align 4 store i32 %28, ptr %27, align 4 br label %29 29: ; preds = %117, %8 %30 = load i32, ptr %27, align 4 %31 = load i32, ptr %12, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %33, label %120 33: ; preds = %29 %34 = load ptr, ptr %9, align 8 %35 = load i32, ptr %27, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds double, ptr %34, i64 %36 %38 = load double, ptr %37, align 8 %39 = load ptr, ptr %11, align 8 %40 = load i32, ptr %27, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds double, ptr %39, i64 %41 %43 = load double, ptr %42, align 8 %44 = load double, ptr %17, align 8 %45 = call double @llvm.fmuladd.f64(double %38, double %43, double %44) store double %45, ptr %17, align 8 %46 = load ptr, ptr %9, align 8 %47 = load i32, ptr %27, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds double, ptr %46, i64 %48 %50 = load double, ptr %49, align 8 %51 = load ptr, ptr %10, align 8 %52 = load i32, ptr %27, 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 double, ptr %18, align 8 %57 = call double @llvm.fmuladd.f64(double %50, double %55, double %56) store double %57, ptr %18, align 8 %58 = load ptr, ptr %9, align 8 %59 = load i32, ptr %27, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds double, ptr %58, i64 %60 %62 = load double, ptr %61, align 8 %63 = load double, ptr %19, align 8 %64 = fadd double %63, %62 store double %64, ptr %19, align 8 %65 = load ptr, ptr %11, align 8 %66 = load i32, ptr %27, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds double, ptr %65, i64 %67 %69 = load double, ptr %68, align 8 %70 = load ptr, ptr %11, align 8 %71 = load i32, ptr %27, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds double, ptr %70, i64 %72 %74 = load double, ptr %73, align 8 %75 = load double, ptr %20, align 8 %76 = call double @llvm.fmuladd.f64(double %69, double %74, double %75) store double %76, ptr %20, align 8 %77 = load ptr, ptr %11, align 8 %78 = load i32, ptr %27, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds double, ptr %77, i64 %79 %81 = load double, ptr %80, align 8 %82 = load ptr, ptr %10, align 8 %83 = load i32, ptr %27, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds double, ptr %82, i64 %84 %86 = load double, ptr %85, align 8 %87 = load double, ptr %21, align 8 %88 = call double @llvm.fmuladd.f64(double %81, double %86, double %87) store double %88, ptr %21, align 8 %89 = load ptr, ptr %11, align 8 %90 = load i32, ptr %27, align 4 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds double, ptr %89, i64 %91 %93 = load double, ptr %92, align 8 %94 = load double, ptr %22, align 8 %95 = fadd double %94, %93 store double %95, ptr %22, align 8 %96 = load ptr, ptr %10, align 8 %97 = load i32, ptr %27, align 4 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds double, ptr %96, i64 %98 %100 = load double, ptr %99, align 8 %101 = load ptr, ptr %10, align 8 %102 = load i32, ptr %27, align 4 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds double, ptr %101, i64 %103 %105 = load double, ptr %104, align 8 %106 = load double, ptr %23, align 8 %107 = call double @llvm.fmuladd.f64(double %100, double %105, double %106) store double %107, ptr %23, align 8 %108 = load ptr, ptr %10, align 8 %109 = load i32, ptr %27, align 4 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds double, ptr %108, i64 %110 %112 = load double, ptr %111, align 8 %113 = load double, ptr %24, align 8 %114 = fadd double %113, %112 store double %114, ptr %24, align 8 %115 = load double, ptr %25, align 8 %116 = fadd double %115, 1.000000e+00 store double %116, ptr %25, align 8 br label %117 117: ; preds = %33 %118 = load i32, ptr %27, align 4 %119 = add nsw i32 %118, 1 store i32 %119, ptr %27, align 4 br label %29, !llvm.loop !6 120: ; preds = %29 %121 = load double, ptr %20, align 8 %122 = load double, ptr %21, align 8 %123 = load double, ptr %22, align 8 %124 = load double, ptr %21, align 8 %125 = load double, ptr %23, align 8 %126 = load double, ptr %24, align 8 %127 = load double, ptr %22, align 8 %128 = load double, ptr %24, align 8 %129 = load double, ptr %25, align 8 %130 = call double @det(double noundef %121, double noundef %122, double noundef %123, double noundef %124, double noundef %125, double noundef %126, double noundef %127, double noundef %128, double noundef %129) store double %130, ptr %26, align 8 %131 = load double, ptr %17, align 8 %132 = load double, ptr %21, align 8 %133 = load double, ptr %22, align 8 %134 = load double, ptr %18, align 8 %135 = load double, ptr %23, align 8 %136 = load double, ptr %24, align 8 %137 = load double, ptr %19, align 8 %138 = load double, ptr %24, align 8 %139 = load double, ptr %25, align 8 %140 = call double @det(double noundef %131, double noundef %132, double noundef %133, double noundef %134, double noundef %135, double noundef %136, double noundef %137, double noundef %138, double noundef %139) %141 = load double, ptr %26, align 8 %142 = fdiv double %140, %141 %143 = load ptr, ptr %13, align 8 store double %142, ptr %143, align 8 %144 = load double, ptr %20, align 8 %145 = load double, ptr %17, align 8 %146 = load double, ptr %22, align 8 %147 = load double, ptr %21, align 8 %148 = load double, ptr %18, align 8 %149 = load double, ptr %24, align 8 %150 = load double, ptr %22, align 8 %151 = load double, ptr %19, align 8 %152 = load double, ptr %25, align 8 %153 = call double @det(double noundef %144, double noundef %145, double noundef %146, double noundef %147, double noundef %148, double noundef %149, double noundef %150, double noundef %151, double noundef %152) %154 = load double, ptr %26, align 8 %155 = fdiv double %153, %154 %156 = load ptr, ptr %14, align 8 store double %155, ptr %156, align 8 %157 = load double, ptr %20, align 8 %158 = load double, ptr %21, align 8 %159 = load double, ptr %17, align 8 %160 = load double, ptr %21, align 8 %161 = load double, ptr %23, align 8 %162 = load double, ptr %18, align 8 %163 = load double, ptr %22, align 8 %164 = load double, ptr %24, align 8 %165 = load double, ptr %19, align 8 %166 = call double @det(double noundef %157, double noundef %158, double noundef %159, double noundef %160, double noundef %161, double noundef %162, double noundef %163, double noundef %164, double noundef %165) %167 = load double, ptr %26, align 8 %168 = fdiv double %166, %167 %169 = load ptr, ptr %15, align 8 store double %168, ptr %169, align 8 ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 declare double @det(double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_7u2gflr.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 @linreg(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, i32 noundef %7) #0 { %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca i32, align 4 %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 %23 = alloca double, align 8 %24 = alloca double, align 8 %25 = alloca double, align 8 %26 = alloca double, align 8 %27 = alloca i32, align 4 store ptr %0, ptr %9, align 8 store ptr %1, ptr %10, align 8 store ptr %2, ptr %11, align 8 store i32 %3, ptr %12, align 4 store ptr %4, ptr %13, align 8 store ptr %5, ptr %14, align 8 store ptr %6, ptr %15, align 8 store i32 %7, ptr %16, align 4 store double 0.000000e+00, ptr %19, align 8 store double 0.000000e+00, ptr %18, align 8 store double 0.000000e+00, ptr %17, align 8 store double 0.000000e+00, ptr %25, align 8 store double 0.000000e+00, ptr %24, align 8 store double 0.000000e+00, ptr %23, align 8 store double 0.000000e+00, ptr %22, align 8 store double 0.000000e+00, ptr %21, align 8 store double 0.000000e+00, ptr %20, align 8 %28 = load i32, ptr %16, align 4 store i32 %28, ptr %27, align 4 %29 = load i32, ptr %27, align 4 %30 = load i32, ptr %12, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %.lr.ph, label %122 .lr.ph: ; preds = %8 br label %32 32: ; preds = %.lr.ph, %116 %33 = load ptr, ptr %9, align 8 %34 = load i32, ptr %27, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds double, ptr %33, i64 %35 %37 = load double, ptr %36, align 8 %38 = load ptr, ptr %11, align 8 %39 = load i32, ptr %27, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds double, ptr %38, i64 %40 %42 = load double, ptr %41, align 8 %43 = load double, ptr %17, align 8 %44 = call double @llvm.fmuladd.f64(double %37, double %42, double %43) store double %44, ptr %17, align 8 %45 = load ptr, ptr %9, align 8 %46 = load i32, ptr %27, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds double, ptr %45, i64 %47 %49 = load double, ptr %48, align 8 %50 = load ptr, ptr %10, align 8 %51 = load i32, ptr %27, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds double, ptr %50, i64 %52 %54 = load double, ptr %53, align 8 %55 = load double, ptr %18, align 8 %56 = call double @llvm.fmuladd.f64(double %49, double %54, double %55) store double %56, ptr %18, align 8 %57 = load ptr, ptr %9, align 8 %58 = load i32, ptr %27, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds double, ptr %57, i64 %59 %61 = load double, ptr %60, align 8 %62 = load double, ptr %19, align 8 %63 = fadd double %62, %61 store double %63, ptr %19, align 8 %64 = load ptr, ptr %11, align 8 %65 = load i32, ptr %27, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds double, ptr %64, i64 %66 %68 = load double, ptr %67, align 8 %69 = load ptr, ptr %11, align 8 %70 = load i32, ptr %27, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds double, ptr %69, i64 %71 %73 = load double, ptr %72, align 8 %74 = load double, ptr %20, align 8 %75 = call double @llvm.fmuladd.f64(double %68, double %73, double %74) store double %75, ptr %20, align 8 %76 = load ptr, ptr %11, align 8 %77 = load i32, ptr %27, align 4 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds double, ptr %76, i64 %78 %80 = load double, ptr %79, align 8 %81 = load ptr, ptr %10, align 8 %82 = load i32, ptr %27, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds double, ptr %81, i64 %83 %85 = load double, ptr %84, align 8 %86 = load double, ptr %21, align 8 %87 = call double @llvm.fmuladd.f64(double %80, double %85, double %86) store double %87, ptr %21, align 8 %88 = load ptr, ptr %11, align 8 %89 = load i32, ptr %27, align 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds double, ptr %88, i64 %90 %92 = load double, ptr %91, align 8 %93 = load double, ptr %22, align 8 %94 = fadd double %93, %92 store double %94, ptr %22, align 8 %95 = load ptr, ptr %10, align 8 %96 = load i32, ptr %27, align 4 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds double, ptr %95, i64 %97 %99 = load double, ptr %98, align 8 %100 = load ptr, ptr %10, align 8 %101 = load i32, ptr %27, align 4 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds double, ptr %100, i64 %102 %104 = load double, ptr %103, align 8 %105 = load double, ptr %23, align 8 %106 = call double @llvm.fmuladd.f64(double %99, double %104, double %105) store double %106, ptr %23, align 8 %107 = load ptr, ptr %10, align 8 %108 = load i32, ptr %27, align 4 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds double, ptr %107, i64 %109 %111 = load double, ptr %110, align 8 %112 = load double, ptr %24, align 8 %113 = fadd double %112, %111 store double %113, ptr %24, align 8 %114 = load double, ptr %25, align 8 %115 = fadd double %114, 1.000000e+00 store double %115, ptr %25, align 8 br label %116 116: ; preds = %32 %117 = load i32, ptr %27, align 4 %118 = add nsw i32 %117, 1 store i32 %118, ptr %27, align 4 %119 = load i32, ptr %27, align 4 %120 = load i32, ptr %12, align 4 %121 = icmp slt i32 %119, %120 br i1 %121, label %32, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %116 br label %122 122: ; preds = %._crit_edge, %8 %123 = load double, ptr %20, align 8 %124 = load double, ptr %21, align 8 %125 = load double, ptr %22, align 8 %126 = load double, ptr %21, align 8 %127 = load double, ptr %23, align 8 %128 = load double, ptr %24, align 8 %129 = load double, ptr %22, align 8 %130 = load double, ptr %24, align 8 %131 = load double, ptr %25, align 8 %132 = call double @det(double noundef %123, double noundef %124, double noundef %125, double noundef %126, double noundef %127, double noundef %128, double noundef %129, double noundef %130, double noundef %131) store double %132, ptr %26, align 8 %133 = load double, ptr %17, align 8 %134 = load double, ptr %21, align 8 %135 = load double, ptr %22, align 8 %136 = load double, ptr %18, align 8 %137 = load double, ptr %23, align 8 %138 = load double, ptr %24, align 8 %139 = load double, ptr %19, align 8 %140 = load double, ptr %24, align 8 %141 = load double, ptr %25, align 8 %142 = call double @det(double noundef %133, double noundef %134, double noundef %135, double noundef %136, double noundef %137, double noundef %138, double noundef %139, double noundef %140, double noundef %141) %143 = load double, ptr %26, align 8 %144 = fdiv double %142, %143 %145 = load ptr, ptr %13, align 8 store double %144, ptr %145, align 8 %146 = load double, ptr %20, align 8 %147 = load double, ptr %17, align 8 %148 = load double, ptr %22, align 8 %149 = load double, ptr %21, align 8 %150 = load double, ptr %18, align 8 %151 = load double, ptr %24, align 8 %152 = load double, ptr %22, align 8 %153 = load double, ptr %19, align 8 %154 = load double, ptr %25, align 8 %155 = call double @det(double noundef %146, double noundef %147, double noundef %148, double noundef %149, double noundef %150, double noundef %151, double noundef %152, double noundef %153, double noundef %154) %156 = load double, ptr %26, align 8 %157 = fdiv double %155, %156 %158 = load ptr, ptr %14, align 8 store double %157, ptr %158, align 8 %159 = load double, ptr %20, align 8 %160 = load double, ptr %21, align 8 %161 = load double, ptr %17, align 8 %162 = load double, ptr %21, align 8 %163 = load double, ptr %23, align 8 %164 = load double, ptr %18, align 8 %165 = load double, ptr %22, align 8 %166 = load double, ptr %24, align 8 %167 = load double, ptr %19, align 8 %168 = call double @det(double noundef %159, double noundef %160, double noundef %161, double noundef %162, double noundef %163, double noundef %164, double noundef %165, double noundef %166, double noundef %167) %169 = load double, ptr %26, align 8 %170 = fdiv double %168, %169 %171 = load ptr, ptr %15, align 8 store double %170, ptr %171, align 8 ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 declare double @det(double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double 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"}
; ModuleID = '/tmp/tmpo6o6oefb.c' source_filename = "/tmp/tmpo6o6oefb.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 [37 x i8] c"Call this program with %i arguments\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%u\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 [1 x i16], align 2 %7 = alloca [1 x i16], align 2 %8 = alloca i32, align 4 %9 = alloca i16, align 2 %10 = 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 %11 = call i32 (...) @megaInit() %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %2 br label %18 18: ; preds = %17 store i32 0, ptr %8, align 4 br label %19 19: ; preds = %22, %18 %20 = load i32, ptr %8, align 4 %21 = icmp slt i32 %20, 1 br i1 %21, label %22, label %37 22: ; preds = %19 %23 = load ptr, ptr %5, align 8 %24 = load i32, ptr %8, align 4 %25 = add nsw i32 %24, 1 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds ptr, ptr %23, i64 %26 %28 = load ptr, ptr %27, align 8 %29 = call i64 @strtoul(ptr noundef %28, i32 noundef 0, i32 noundef 10) %30 = trunc i64 %29 to i16 store i16 %30, ptr %9, align 2 %31 = load i16, ptr %9, align 2 %32 = load i32, ptr %8, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 %33 store i16 %31, ptr %34, align 2 %35 = load i32, ptr %8, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %8, align 4 br label %19, !llvm.loop !6 37: ; preds = %19 %38 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 0 %39 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0 %40 = call i32 @RandomFunc(ptr noundef %38, ptr noundef %39) %41 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0 %42 = load i16, ptr %41, align 2 %43 = zext i16 %42 to i32 %44 = icmp eq i32 %43, 57278 br i1 %44, label %45, label %47 45: ; preds = %37 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %48 47: ; preds = %37 br label %48 48: ; preds = %47, %45 store i32 0, ptr %10, align 4 br label %49 49: ; preds = %52, %48 %50 = load i32, ptr %10, align 4 %51 = icmp slt i32 %50, 1 br i1 %51, label %52, label %61 52: ; preds = %49 %53 = load i32, ptr %10, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 %54 %56 = load i16, ptr %55, align 2 %57 = zext i16 %56 to i32 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %57) %59 = load i32, ptr %10, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %10, align 4 br label %49, !llvm.loop !8 61: ; preds = %49 %62 = load i32, ptr %3, align 4 ret i32 %62 } declare i32 @megaInit(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @RandomFunc(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" } 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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo6o6oefb.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 [37 x i8] c"Call this program with %i arguments\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%u\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 [1 x i16], align 2 %7 = alloca [1 x i16], align 2 %8 = alloca i32, align 4 %9 = alloca i16, align 2 %10 = 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 %11 = call i32 (...) @megaInit() %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %2 br label %18 18: ; preds = %17 store i32 0, ptr %8, align 4 %19 = load i32, ptr %8, align 4 %20 = icmp slt i32 %19, 1 br i1 %20, label %.lr.ph, label %38 .lr.ph: ; preds = %18 br label %21 21: ; preds = %.lr.ph, %21 %22 = load ptr, ptr %5, align 8 %23 = load i32, ptr %8, align 4 %24 = add nsw i32 %23, 1 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds ptr, ptr %22, i64 %25 %27 = load ptr, ptr %26, align 8 %28 = call i64 @strtoul(ptr noundef %27, i32 noundef 0, i32 noundef 10) %29 = trunc i64 %28 to i16 store i16 %29, ptr %9, align 2 %30 = load i16, ptr %9, align 2 %31 = load i32, ptr %8, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 %32 store i16 %30, ptr %33, align 2 %34 = load i32, ptr %8, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %8, align 4 %36 = load i32, ptr %8, align 4 %37 = icmp slt i32 %36, 1 br i1 %37, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %38 38: ; preds = %._crit_edge, %18 %39 = getelementptr inbounds [1 x i16], ptr %6, i64 0, i64 0 %40 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0 %41 = call i32 @RandomFunc(ptr noundef %39, ptr noundef %40) %42 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 0 %43 = load i16, ptr %42, align 2 %44 = zext i16 %43 to i32 %45 = icmp eq i32 %44, 57278 br i1 %45, label %46, label %48 46: ; preds = %38 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %49 48: ; preds = %38 br label %49 49: ; preds = %48, %46 store i32 0, ptr %10, align 4 %50 = load i32, ptr %10, align 4 %51 = icmp slt i32 %50, 1 br i1 %51, label %.lr.ph2, label %63 .lr.ph2: ; preds = %49 br label %52 52: ; preds = %.lr.ph2, %52 %53 = load i32, ptr %10, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [1 x i16], ptr %7, i64 0, i64 %54 %56 = load i16, ptr %55, align 2 %57 = zext i16 %56 to i32 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %57) %59 = load i32, ptr %10, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %10, align 4 %61 = load i32, ptr %10, align 4 %62 = icmp slt i32 %61, 1 br i1 %62, label %52, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %52 br label %63 63: ; preds = %._crit_edge3, %49 %64 = load i32, ptr %3, align 4 ret i32 %64 } declare i32 @megaInit(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @RandomFunc(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" } 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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp0ija_m6n.c' source_filename = "/tmp/tmp0ija_m6n.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 [21 x i8] c"\0AOpenSHMEM Analyzer\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @shmem_barrier_all() #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/tmp0ija_m6n.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 [21 x i8] c"\0AOpenSHMEM Analyzer\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @shmem_barrier_all() #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/tmpf5t3mpcn.c' source_filename = "/tmp/tmpf5t3mpcn.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"data.txt\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [14 x i8] c"open1() error\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"dataCopy.txt\00", align 1 @O_CREAT = dso_local global i32 0, align 4 @O_APPEND = dso_local global i32 0, align 4 @O_WRONLY = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [14 x i8] c"open2() error\00", align 1 @.str.4 = private unnamed_addr constant [13 x i8] c"read() error\00", align 1 @.str.5 = private unnamed_addr constant [14 x i8] c"write() error\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 [100 x i8], align 16 store i32 0, ptr %1, align 4 %5 = load i32, ptr @O_RDONLY, align 4 %6 = call i32 @open(ptr noundef @.str, i32 noundef %5) store i32 %6, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = icmp eq i32 %7, -1 br i1 %8, label %9, label %11 9: ; preds = %0 %10 = call i32 @error_handling(ptr noundef @.str.1) br label %11 11: ; preds = %9, %0 %12 = load i32, ptr @O_CREAT, align 4 %13 = load i32, ptr @O_APPEND, align 4 %14 = or i32 %12, %13 %15 = load i32, ptr @O_WRONLY, align 4 %16 = or i32 %14, %15 %17 = call i32 @open(ptr noundef @.str.2, i32 noundef %16) store i32 %17, ptr %3, align 4 %18 = load i32, ptr %3, align 4 %19 = icmp eq i32 %18, -1 br i1 %19, label %20, label %22 20: ; preds = %11 %21 = call i32 @error_handling(ptr noundef @.str.3) br label %22 22: ; preds = %20, %11 %23 = load i32, ptr %2, align 4 %24 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0 %25 = call i32 @read(i32 noundef %23, ptr noundef %24, i32 noundef 100) %26 = icmp eq i32 %25, -1 br i1 %26, label %27, label %29 27: ; preds = %22 %28 = call i32 @error_handling(ptr noundef @.str.4) br label %29 29: ; preds = %27, %22 %30 = load i32, ptr %3, align 4 %31 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0 %32 = call i32 @write(i32 noundef %30, ptr noundef %31, i32 noundef 100) %33 = icmp eq i32 %32, -1 br i1 %33, label %34, label %36 34: ; preds = %29 %35 = call i32 @error_handling(ptr noundef @.str.5) br label %36 36: ; preds = %34, %29 %37 = load i32, ptr %3, align 4 %38 = call i32 @close(i32 noundef %37) %39 = load i32, ptr %2, align 4 %40 = call i32 @close(i32 noundef %39) ret i32 0 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @error_handling(ptr noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 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" } !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/tmpf5t3mpcn.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"data.txt\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [14 x i8] c"open1() error\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"dataCopy.txt\00", align 1 @O_CREAT = dso_local global i32 0, align 4 @O_APPEND = dso_local global i32 0, align 4 @O_WRONLY = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [14 x i8] c"open2() error\00", align 1 @.str.4 = private unnamed_addr constant [13 x i8] c"read() error\00", align 1 @.str.5 = private unnamed_addr constant [14 x i8] c"write() error\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 [100 x i8], align 16 store i32 0, ptr %1, align 4 %5 = load i32, ptr @O_RDONLY, align 4 %6 = call i32 @open(ptr noundef @.str, i32 noundef %5) store i32 %6, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = icmp eq i32 %7, -1 br i1 %8, label %9, label %11 9: ; preds = %0 %10 = call i32 @error_handling(ptr noundef @.str.1) br label %11 11: ; preds = %9, %0 %12 = load i32, ptr @O_CREAT, align 4 %13 = load i32, ptr @O_APPEND, align 4 %14 = or i32 %12, %13 %15 = load i32, ptr @O_WRONLY, align 4 %16 = or i32 %14, %15 %17 = call i32 @open(ptr noundef @.str.2, i32 noundef %16) store i32 %17, ptr %3, align 4 %18 = load i32, ptr %3, align 4 %19 = icmp eq i32 %18, -1 br i1 %19, label %20, label %22 20: ; preds = %11 %21 = call i32 @error_handling(ptr noundef @.str.3) br label %22 22: ; preds = %20, %11 %23 = load i32, ptr %2, align 4 %24 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0 %25 = call i32 @read(i32 noundef %23, ptr noundef %24, i32 noundef 100) %26 = icmp eq i32 %25, -1 br i1 %26, label %27, label %29 27: ; preds = %22 %28 = call i32 @error_handling(ptr noundef @.str.4) br label %29 29: ; preds = %27, %22 %30 = load i32, ptr %3, align 4 %31 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0 %32 = call i32 @write(i32 noundef %30, ptr noundef %31, i32 noundef 100) %33 = icmp eq i32 %32, -1 br i1 %33, label %34, label %36 34: ; preds = %29 %35 = call i32 @error_handling(ptr noundef @.str.5) br label %36 36: ; preds = %34, %29 %37 = load i32, ptr %3, align 4 %38 = call i32 @close(i32 noundef %37) %39 = load i32, ptr %2, align 4 %40 = call i32 @close(i32 noundef %39) ret i32 0 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @error_handling(ptr noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 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" } !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/tmppf2dbubn.c' source_filename = "/tmp/tmppf2dbubn.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 @SolutionDifferentDigitsThanNumber(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store ptr %3, ptr %9, align 8 store i32 0, ptr %10, align 4 %11 = load ptr, ptr %6, align 8 %12 = getelementptr inbounds i32, ptr %11, i64 0 %13 = load i32, ptr %12, align 4 %14 = mul nsw i32 %13, 10 %15 = load ptr, ptr %6, align 8 %16 = getelementptr inbounds i32, ptr %15, i64 1 %17 = load i32, ptr %16, align 4 %18 = add nsw i32 %14, %17 %19 = load ptr, ptr %6, align 8 %20 = load i32, ptr %8, align 4 %21 = sub nsw i32 %20, 1 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i32, ptr %19, i64 %22 %24 = load i32, ptr %23, align 4 %25 = add nsw i32 %24, 10 %26 = icmp eq i32 %18, %25 br i1 %26, label %27, label %40 27: ; preds = %4 %28 = load ptr, ptr %6, align 8 %29 = load i32, ptr %8, align 4 %30 = call i32 @CreateADigitSmaller(ptr noundef %28, i32 noundef %29) %31 = load ptr, ptr %7, align 8 %32 = load i32, ptr %8, align 4 %33 = call i32 @CreateADigitSmaller(ptr noundef %31, i32 noundef %32) %34 = load ptr, ptr %7, align 8 %35 = load i32, ptr %8, align 4 %36 = sub nsw i32 %35, 1 %37 = load ptr, ptr %9, align 8 %38 = call i32 @SolutionSameDigitsAsNumber(ptr noundef %34, i32 noundef %36, ptr noundef %37) store i32 %38, ptr %10, align 4 %39 = load i32, ptr %10, align 4 store i32 %39, ptr %5, align 4 br label %102 40: ; preds = %4 %41 = load ptr, ptr %6, align 8 %42 = getelementptr inbounds i32, ptr %41, i64 0 %43 = load i32, ptr %42, align 4 %44 = mul nsw i32 %43, 10 %45 = load ptr, ptr %6, align 8 %46 = getelementptr inbounds i32, ptr %45, i64 1 %47 = load i32, ptr %46, align 4 %48 = add nsw i32 %44, %47 %49 = sub nsw i32 %48, 1 %50 = load ptr, ptr %6, align 8 %51 = load i32, ptr %8, align 4 %52 = sub nsw i32 %51, 1 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i32, ptr %50, i64 %53 %55 = load i32, ptr %54, align 4 %56 = add nsw i32 %55, 10 %57 = icmp eq i32 %49, %56 br i1 %57, label %58, label %71 58: ; preds = %40 %59 = load ptr, ptr %6, align 8 %60 = load i32, ptr %8, align 4 %61 = call i32 @CreateADigitSmaller(ptr noundef %59, i32 noundef %60) %62 = load ptr, ptr %7, align 8 %63 = load i32, ptr %8, align 4 %64 = call i32 @CreateADigitSmaller(ptr noundef %62, i32 noundef %63) %65 = load ptr, ptr %7, align 8 %66 = load i32, ptr %8, align 4 %67 = sub nsw i32 %66, 1 %68 = load ptr, ptr %9, align 8 %69 = call i32 @SolutionSameDigitsAsNumber(ptr noundef %65, i32 noundef %67, ptr noundef %68) store i32 %69, ptr %10, align 4 %70 = load i32, ptr %10, align 4 store i32 %70, ptr %5, align 4 br label %102 71: ; preds = %40 %72 = load ptr, ptr %6, align 8 %73 = getelementptr inbounds i32, ptr %72, i64 0 %74 = load i32, ptr %73, align 4 %75 = mul nsw i32 %74, 10 %76 = load ptr, ptr %6, align 8 %77 = getelementptr inbounds i32, ptr %76, i64 1 %78 = load i32, ptr %77, align 4 %79 = add nsw i32 %75, %78 %80 = sub nsw i32 %79, 1 %81 = load ptr, ptr %6, align 8 %82 = load i32, ptr %8, align 4 %83 = sub nsw i32 %82, 1 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds i32, ptr %81, i64 %84 %86 = load i32, ptr %85, align 4 %87 = icmp eq i32 %80, %86 br i1 %87, label %88, label %101 88: ; preds = %71 %89 = load ptr, ptr %6, align 8 %90 = load i32, ptr %8, align 4 %91 = call i32 @CreateADigitSmaller(ptr noundef %89, i32 noundef %90) %92 = load ptr, ptr %7, align 8 %93 = load i32, ptr %8, align 4 %94 = call i32 @CreateADigitSmaller(ptr noundef %92, i32 noundef %93) %95 = load ptr, ptr %7, align 8 %96 = load i32, ptr %8, align 4 %97 = sub nsw i32 %96, 1 %98 = load ptr, ptr %9, align 8 %99 = call i32 @SolutionSameDigitsAsNumber(ptr noundef %95, i32 noundef %97, ptr noundef %98) store i32 %99, ptr %10, align 4 %100 = load i32, ptr %10, align 4 store i32 %100, ptr %5, align 4 br label %102 101: ; preds = %71 store i32 0, ptr %5, align 4 br label %102 102: ; preds = %101, %88, %58, %27 %103 = load i32, ptr %5, align 4 ret i32 %103 } declare i32 @CreateADigitSmaller(ptr noundef, i32 noundef) #1 declare i32 @SolutionSameDigitsAsNumber(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/tmppf2dbubn.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 @SolutionDifferentDigitsThanNumber(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store ptr %3, ptr %9, align 8 store i32 0, ptr %10, align 4 %11 = load ptr, ptr %6, align 8 %12 = getelementptr inbounds i32, ptr %11, i64 0 %13 = load i32, ptr %12, align 4 %14 = mul nsw i32 %13, 10 %15 = load ptr, ptr %6, align 8 %16 = getelementptr inbounds i32, ptr %15, i64 1 %17 = load i32, ptr %16, align 4 %18 = add nsw i32 %14, %17 %19 = load ptr, ptr %6, align 8 %20 = load i32, ptr %8, align 4 %21 = sub nsw i32 %20, 1 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i32, ptr %19, i64 %22 %24 = load i32, ptr %23, align 4 %25 = add nsw i32 %24, 10 %26 = icmp eq i32 %18, %25 br i1 %26, label %27, label %40 27: ; preds = %4 %28 = load ptr, ptr %6, align 8 %29 = load i32, ptr %8, align 4 %30 = call i32 @CreateADigitSmaller(ptr noundef %28, i32 noundef %29) %31 = load ptr, ptr %7, align 8 %32 = load i32, ptr %8, align 4 %33 = call i32 @CreateADigitSmaller(ptr noundef %31, i32 noundef %32) %34 = load ptr, ptr %7, align 8 %35 = load i32, ptr %8, align 4 %36 = sub nsw i32 %35, 1 %37 = load ptr, ptr %9, align 8 %38 = call i32 @SolutionSameDigitsAsNumber(ptr noundef %34, i32 noundef %36, ptr noundef %37) store i32 %38, ptr %10, align 4 %39 = load i32, ptr %10, align 4 store i32 %39, ptr %5, align 4 br label %102 40: ; preds = %4 %41 = load ptr, ptr %6, align 8 %42 = getelementptr inbounds i32, ptr %41, i64 0 %43 = load i32, ptr %42, align 4 %44 = mul nsw i32 %43, 10 %45 = load ptr, ptr %6, align 8 %46 = getelementptr inbounds i32, ptr %45, i64 1 %47 = load i32, ptr %46, align 4 %48 = add nsw i32 %44, %47 %49 = sub nsw i32 %48, 1 %50 = load ptr, ptr %6, align 8 %51 = load i32, ptr %8, align 4 %52 = sub nsw i32 %51, 1 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i32, ptr %50, i64 %53 %55 = load i32, ptr %54, align 4 %56 = add nsw i32 %55, 10 %57 = icmp eq i32 %49, %56 br i1 %57, label %58, label %71 58: ; preds = %40 %59 = load ptr, ptr %6, align 8 %60 = load i32, ptr %8, align 4 %61 = call i32 @CreateADigitSmaller(ptr noundef %59, i32 noundef %60) %62 = load ptr, ptr %7, align 8 %63 = load i32, ptr %8, align 4 %64 = call i32 @CreateADigitSmaller(ptr noundef %62, i32 noundef %63) %65 = load ptr, ptr %7, align 8 %66 = load i32, ptr %8, align 4 %67 = sub nsw i32 %66, 1 %68 = load ptr, ptr %9, align 8 %69 = call i32 @SolutionSameDigitsAsNumber(ptr noundef %65, i32 noundef %67, ptr noundef %68) store i32 %69, ptr %10, align 4 %70 = load i32, ptr %10, align 4 store i32 %70, ptr %5, align 4 br label %102 71: ; preds = %40 %72 = load ptr, ptr %6, align 8 %73 = getelementptr inbounds i32, ptr %72, i64 0 %74 = load i32, ptr %73, align 4 %75 = mul nsw i32 %74, 10 %76 = load ptr, ptr %6, align 8 %77 = getelementptr inbounds i32, ptr %76, i64 1 %78 = load i32, ptr %77, align 4 %79 = add nsw i32 %75, %78 %80 = sub nsw i32 %79, 1 %81 = load ptr, ptr %6, align 8 %82 = load i32, ptr %8, align 4 %83 = sub nsw i32 %82, 1 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds i32, ptr %81, i64 %84 %86 = load i32, ptr %85, align 4 %87 = icmp eq i32 %80, %86 br i1 %87, label %88, label %101 88: ; preds = %71 %89 = load ptr, ptr %6, align 8 %90 = load i32, ptr %8, align 4 %91 = call i32 @CreateADigitSmaller(ptr noundef %89, i32 noundef %90) %92 = load ptr, ptr %7, align 8 %93 = load i32, ptr %8, align 4 %94 = call i32 @CreateADigitSmaller(ptr noundef %92, i32 noundef %93) %95 = load ptr, ptr %7, align 8 %96 = load i32, ptr %8, align 4 %97 = sub nsw i32 %96, 1 %98 = load ptr, ptr %9, align 8 %99 = call i32 @SolutionSameDigitsAsNumber(ptr noundef %95, i32 noundef %97, ptr noundef %98) store i32 %99, ptr %10, align 4 %100 = load i32, ptr %10, align 4 store i32 %100, ptr %5, align 4 br label %102 101: ; preds = %71 store i32 0, ptr %5, align 4 br label %102 102: ; preds = %101, %88, %58, %27 %103 = load i32, ptr %5, align 4 ret i32 %103 } declare i32 @CreateADigitSmaller(ptr noundef, i32 noundef) #1 declare i32 @SolutionSameDigitsAsNumber(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/tmpt8whd7kc.c' source_filename = "/tmp/tmpt8whd7kc.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" @STDOUT_FILENO = dso_local global i32 0, align 4 @STDERR_FILENO = dso_local global i32 0, align 4 @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [61 x i8] c"Clientes: Formato: clientes <nombre_fifo> <numero_clientes>\0A\00", align 1 @.str.1 = private unnamed_addr constant [54 x i8] c"Clientes: <numero_clientes> comprendido entre 1 y 10\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%se\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%ss\00", align 1 @O_WRONLY = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [62 x i8] c"Clientes: Problema con el archivo fifo de entrada al servidor\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [62 x i8] c"Clientes: Problema con el archivo fifo de salida del servidor\00", align 1 @.str.6 = private unnamed_addr constant [18 x i8] c"creando procesos\0A\00", align 1 @.str.7 = private unnamed_addr constant [16 x i8] c"produciendo %d\0A\00", align 1 @.str.8 = private unnamed_addr constant [44 x i8] c"Clientes: Problema al crear proceso cliente\00", align 1 @.str.9 = private unnamed_addr constant [18 x i8] c"produciendo hijo\0A\00", align 1 @.str.10 = private unnamed_addr constant [18 x i8] c"obtenido pid %d\0A\00", align 1 @.str.11 = private unnamed_addr constant [16 x i8] c"obtenido fifo\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; 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 i8, align 1 %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 %15 = alloca [50 x i8], align 16 %16 = alloca [50 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %17 = load i32, ptr @STDOUT_FILENO, align 4 %18 = load i32, ptr @STDERR_FILENO, align 4 %19 = call i32 @dup2(i32 noundef %17, i32 noundef %18) store i8 97, ptr %6, align 1 %20 = load i32, ptr @stdout, align 4 %21 = call i32 @setbuf(i32 noundef %20, ptr noundef null) %22 = load i32, ptr %4, align 4 %23 = icmp slt i32 %22, 3 br i1 %23, label %24, label %27 24: ; preds = %2 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str) %26 = call i32 @exit(i32 noundef 1) #3 unreachable 27: ; preds = %2 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds ptr, ptr %28, i64 2 %30 = load ptr, ptr %29, align 8 %31 = call i32 @atoi(ptr noundef %30) store i32 %31, ptr %7, align 4 %32 = icmp sgt i32 %31, 10 br i1 %32, label %36, label %33 33: ; preds = %27 %34 = load i32, ptr %7, align 4 %35 = icmp slt i32 %34, 1 br i1 %35, label %36, label %39 36: ; preds = %33, %27 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %38 = call i32 @exit(i32 noundef 1) #3 unreachable 39: ; preds = %33 br label %40 40: ; preds = %39 %41 = getelementptr inbounds [50 x i8], ptr %15, i64 0, i64 0 %42 = load ptr, ptr %5, align 8 %43 = getelementptr inbounds ptr, ptr %42, i64 1 %44 = load ptr, ptr %43, align 8 %45 = call i32 @sprintf(ptr noundef %41, ptr noundef @.str.2, ptr noundef %44) %46 = getelementptr inbounds [50 x i8], ptr %16, i64 0, i64 0 %47 = load ptr, ptr %5, align 8 %48 = getelementptr inbounds ptr, ptr %47, i64 1 %49 = load ptr, ptr %48, align 8 %50 = call i32 @sprintf(ptr noundef %46, ptr noundef @.str.3, ptr noundef %49) %51 = getelementptr inbounds [50 x i8], ptr %15, i64 0, i64 0 %52 = load i32, ptr @O_WRONLY, align 4 %53 = call i32 @open(ptr noundef %51, i32 noundef %52) store i32 %53, ptr %11, align 4 %54 = icmp eq i32 %53, -1 br i1 %54, label %55, label %58 55: ; preds = %40 %56 = call i32 @perror(ptr noundef @.str.4) %57 = call i32 @exit(i32 noundef 1) #3 unreachable 58: ; preds = %40 %59 = getelementptr inbounds [50 x i8], ptr %16, i64 0, i64 0 %60 = load i32, ptr @O_RDWR, align 4 %61 = call i32 @open(ptr noundef %59, i32 noundef %60) store i32 %61, ptr %12, align 4 %62 = icmp eq i32 %61, -1 br i1 %62, label %63, label %66 63: ; preds = %58 %64 = call i32 @perror(ptr noundef @.str.5) %65 = call i32 @exit(i32 noundef 1) #3 unreachable 66: ; preds = %58 %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) store i32 1, ptr %10, align 4 br label %68 68: ; preds = %103, %66 %69 = load i32, ptr %10, align 4 %70 = load i32, ptr %7, align 4 %71 = icmp slt i32 %69, %70 br i1 %71, label %72, label %106 72: ; preds = %68 %73 = load i32, ptr %10, align 4 %74 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %73) %75 = call i32 (...) @fork() store i32 %75, ptr %8, align 4 %76 = icmp eq i32 %75, -1 br i1 %76, label %77, label %80 77: ; preds = %72 %78 = call i32 @perror(ptr noundef @.str.8) %79 = call i32 @exit(i32 noundef 1) #3 unreachable 80: ; preds = %72 %81 = load i32, ptr %8, align 4 %82 = icmp eq i32 %81, 0 br i1 %82, label %83, label %99 83: ; preds = %80 %84 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %85 = call i32 (...) @getpid() store i32 %85, ptr %9, align 4 %86 = load i32, ptr %9, align 4 %87 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %86) %88 = load i32, ptr %11, align 4 %89 = load i32, ptr %12, align 4 %90 = load i32, ptr %9, align 4 %91 = call i32 @obtenerfifo(i32 noundef %88, i32 noundef %89, i32 noundef %90) store i32 %91, ptr %13, align 4 %92 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %93 = load i8, ptr %6, align 1 %94 = load i32, ptr %13, align 4 %95 = load i32, ptr %9, align 4 %96 = call i32 @producir(i8 noundef signext %93, i32 noundef %94, i32 noundef %95) %97 = load i32, ptr @EXIT_SUCCESS, align 4 %98 = call i32 @exit(i32 noundef %97) #3 unreachable 99: ; preds = %80 %100 = load i8, ptr %6, align 1 %101 = add i8 %100, 1 store i8 %101, ptr %6, align 1 br label %102 102: ; preds = %99 br label %103 103: ; preds = %102 %104 = load i32, ptr %10, align 4 %105 = add nsw i32 %104, 1 store i32 %105, ptr %10, align 4 br label %68, !llvm.loop !6 106: ; preds = %68 %107 = call i32 (...) @getpid() store i32 %107, ptr %9, align 4 %108 = load i32, ptr %11, align 4 %109 = load i32, ptr %12, align 4 %110 = load i32, ptr %9, align 4 %111 = call i32 @obtenerfifo(i32 noundef %108, i32 noundef %109, i32 noundef %110) store i32 %111, ptr %13, align 4 %112 = load i8, ptr %6, align 1 %113 = load i32, ptr %13, align 4 %114 = load i32, ptr %9, align 4 %115 = call i32 @producir(i8 noundef signext %112, i32 noundef %113, i32 noundef %114) br label %116 116: ; preds = %119, %106 %117 = call i32 @wait(ptr noundef %14) %118 = icmp ne i32 %117, -1 br i1 %118, label %119, label %120 119: ; preds = %116 br label %116, !llvm.loop !8 120: ; preds = %116 %121 = load i32, ptr @EXIT_SUCCESS, align 4 %122 = call i32 @exit(i32 noundef %121) #3 unreachable } declare i32 @dup2(i32 noundef, i32 noundef) #1 declare i32 @setbuf(i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @atoi(ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @fork(...) #1 declare i32 @getpid(...) #1 declare i32 @obtenerfifo(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @producir(i8 noundef signext, i32 noundef, i32 noundef) #1 declare i32 @wait(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" } 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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpt8whd7kc.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" @STDOUT_FILENO = dso_local global i32 0, align 4 @STDERR_FILENO = dso_local global i32 0, align 4 @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [61 x i8] c"Clientes: Formato: clientes <nombre_fifo> <numero_clientes>\0A\00", align 1 @.str.1 = private unnamed_addr constant [54 x i8] c"Clientes: <numero_clientes> comprendido entre 1 y 10\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%se\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%ss\00", align 1 @O_WRONLY = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [62 x i8] c"Clientes: Problema con el archivo fifo de entrada al servidor\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [62 x i8] c"Clientes: Problema con el archivo fifo de salida del servidor\00", align 1 @.str.6 = private unnamed_addr constant [18 x i8] c"creando procesos\0A\00", align 1 @.str.7 = private unnamed_addr constant [16 x i8] c"produciendo %d\0A\00", align 1 @.str.8 = private unnamed_addr constant [44 x i8] c"Clientes: Problema al crear proceso cliente\00", align 1 @.str.9 = private unnamed_addr constant [18 x i8] c"produciendo hijo\0A\00", align 1 @.str.10 = private unnamed_addr constant [18 x i8] c"obtenido pid %d\0A\00", align 1 @.str.11 = private unnamed_addr constant [16 x i8] c"obtenido fifo\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; 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 i8, align 1 %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 %15 = alloca [50 x i8], align 16 %16 = alloca [50 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %17 = load i32, ptr @STDOUT_FILENO, align 4 %18 = load i32, ptr @STDERR_FILENO, align 4 %19 = call i32 @dup2(i32 noundef %17, i32 noundef %18) store i8 97, ptr %6, align 1 %20 = load i32, ptr @stdout, align 4 %21 = call i32 @setbuf(i32 noundef %20, ptr noundef null) %22 = load i32, ptr %4, align 4 %23 = icmp slt i32 %22, 3 br i1 %23, label %24, label %27 24: ; preds = %2 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str) %26 = call i32 @exit(i32 noundef 1) #3 unreachable 27: ; preds = %2 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds ptr, ptr %28, i64 2 %30 = load ptr, ptr %29, align 8 %31 = call i32 @atoi(ptr noundef %30) store i32 %31, ptr %7, align 4 %32 = icmp sgt i32 %31, 10 br i1 %32, label %36, label %33 33: ; preds = %27 %34 = load i32, ptr %7, align 4 %35 = icmp slt i32 %34, 1 br i1 %35, label %36, label %39 36: ; preds = %33, %27 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %38 = call i32 @exit(i32 noundef 1) #3 unreachable 39: ; preds = %33 br label %40 40: ; preds = %39 %41 = getelementptr inbounds [50 x i8], ptr %15, i64 0, i64 0 %42 = load ptr, ptr %5, align 8 %43 = getelementptr inbounds ptr, ptr %42, i64 1 %44 = load ptr, ptr %43, align 8 %45 = call i32 @sprintf(ptr noundef %41, ptr noundef @.str.2, ptr noundef %44) %46 = getelementptr inbounds [50 x i8], ptr %16, i64 0, i64 0 %47 = load ptr, ptr %5, align 8 %48 = getelementptr inbounds ptr, ptr %47, i64 1 %49 = load ptr, ptr %48, align 8 %50 = call i32 @sprintf(ptr noundef %46, ptr noundef @.str.3, ptr noundef %49) %51 = getelementptr inbounds [50 x i8], ptr %15, i64 0, i64 0 %52 = load i32, ptr @O_WRONLY, align 4 %53 = call i32 @open(ptr noundef %51, i32 noundef %52) store i32 %53, ptr %11, align 4 %54 = icmp eq i32 %53, -1 br i1 %54, label %55, label %58 55: ; preds = %40 %56 = call i32 @perror(ptr noundef @.str.4) %57 = call i32 @exit(i32 noundef 1) #3 unreachable 58: ; preds = %40 %59 = getelementptr inbounds [50 x i8], ptr %16, i64 0, i64 0 %60 = load i32, ptr @O_RDWR, align 4 %61 = call i32 @open(ptr noundef %59, i32 noundef %60) store i32 %61, ptr %12, align 4 %62 = icmp eq i32 %61, -1 br i1 %62, label %63, label %66 63: ; preds = %58 %64 = call i32 @perror(ptr noundef @.str.5) %65 = call i32 @exit(i32 noundef 1) #3 unreachable 66: ; preds = %58 %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) store i32 1, ptr %10, align 4 %68 = load i32, ptr %10, align 4 %69 = load i32, ptr %7, align 4 %70 = icmp slt i32 %68, %69 br i1 %70, label %.lr.ph, label %108 .lr.ph: ; preds = %66 br label %71 71: ; preds = %.lr.ph, %102 %72 = load i32, ptr %10, align 4 %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %72) %74 = call i32 (...) @fork() store i32 %74, ptr %8, align 4 %75 = icmp eq i32 %74, -1 br i1 %75, label %76, label %79 76: ; preds = %71 %77 = call i32 @perror(ptr noundef @.str.8) %78 = call i32 @exit(i32 noundef 1) #3 unreachable 79: ; preds = %71 %80 = load i32, ptr %8, align 4 %81 = icmp eq i32 %80, 0 br i1 %81, label %82, label %98 82: ; preds = %79 %83 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %84 = call i32 (...) @getpid() store i32 %84, ptr %9, align 4 %85 = load i32, ptr %9, align 4 %86 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %85) %87 = load i32, ptr %11, align 4 %88 = load i32, ptr %12, align 4 %89 = load i32, ptr %9, align 4 %90 = call i32 @obtenerfifo(i32 noundef %87, i32 noundef %88, i32 noundef %89) store i32 %90, ptr %13, align 4 %91 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %92 = load i8, ptr %6, align 1 %93 = load i32, ptr %13, align 4 %94 = load i32, ptr %9, align 4 %95 = call i32 @producir(i8 noundef signext %92, i32 noundef %93, i32 noundef %94) %96 = load i32, ptr @EXIT_SUCCESS, align 4 %97 = call i32 @exit(i32 noundef %96) #3 unreachable 98: ; preds = %79 %99 = load i8, ptr %6, align 1 %100 = add i8 %99, 1 store i8 %100, ptr %6, align 1 br label %101 101: ; preds = %98 br label %102 102: ; preds = %101 %103 = load i32, ptr %10, align 4 %104 = add nsw i32 %103, 1 store i32 %104, ptr %10, align 4 %105 = load i32, ptr %10, align 4 %106 = load i32, ptr %7, align 4 %107 = icmp slt i32 %105, %106 br i1 %107, label %71, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %102 br label %108 108: ; preds = %._crit_edge, %66 %109 = call i32 (...) @getpid() store i32 %109, ptr %9, align 4 %110 = load i32, ptr %11, align 4 %111 = load i32, ptr %12, align 4 %112 = load i32, ptr %9, align 4 %113 = call i32 @obtenerfifo(i32 noundef %110, i32 noundef %111, i32 noundef %112) store i32 %113, ptr %13, align 4 %114 = load i8, ptr %6, align 1 %115 = load i32, ptr %13, align 4 %116 = load i32, ptr %9, align 4 %117 = call i32 @producir(i8 noundef signext %114, i32 noundef %115, i32 noundef %116) br label %118 118: ; preds = %118, %108 %119 = call i32 @wait(ptr noundef %14) %120 = icmp ne i32 %119, -1 br i1 %120, label %118, label %121, !llvm.loop !8 121: ; preds = %118 %122 = load i32, ptr @EXIT_SUCCESS, align 4 %123 = call i32 @exit(i32 noundef %122) #3 unreachable } declare i32 @dup2(i32 noundef, i32 noundef) #1 declare i32 @setbuf(i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @atoi(ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @fork(...) #1 declare i32 @getpid(...) #1 declare i32 @obtenerfifo(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @producir(i8 noundef signext, i32 noundef, i32 noundef) #1 declare i32 @wait(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" } 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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp8zdsffp4.c' source_filename = "/tmp/tmp8zdsffp4.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 double @BruteForceTempo(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 store double 0.000000e+00, ptr %5, align 8 store double 0.000000e+00, ptr %6, align 8 store double 0.000000e+00, ptr %7, align 8 store double 0.000000e+00, ptr %8, align 8 %9 = load double, ptr %3, align 8 %10 = fcmp ogt double %9, 0.000000e+00 br i1 %10, label %11, label %14 11: ; preds = %2 %12 = load double, ptr %4, align 8 %13 = fcmp ogt double %12, 0.000000e+00 br label %14 14: ; preds = %11, %2 %15 = phi i1 [ false, %2 ], [ %13, %11 ] %16 = zext i1 %15 to i32 %17 = call i32 @assert(i32 noundef %16) %18 = load double, ptr %3, align 8 %19 = load double, ptr %4, align 8 %20 = fcmp ole double %18, %19 %21 = zext i1 %20 to i32 %22 = call i32 @assert(i32 noundef %21) %23 = load double, ptr %3, align 8 store double %23, ptr %5, align 8 br label %24 24: ; preds = %41, %14 %25 = load double, ptr %5, align 8 %26 = load double, ptr %4, align 8 %27 = fcmp ole double %25, %26 br i1 %27, label %28, label %44 28: ; preds = %24 %29 = load double, ptr %5, align 8 %30 = call double @CalculateTimeDiff(double noundef %29) store double %30, ptr %6, align 8 %31 = load double, ptr %7, align 8 %32 = fcmp olt double %31, 1.000000e+00 br i1 %32, label %37, label %33 33: ; preds = %28 %34 = load double, ptr %6, align 8 %35 = load double, ptr %8, align 8 %36 = fcmp olt double %34, %35 br i1 %36, label %37, label %40 37: ; preds = %33, %28 %38 = load double, ptr %5, align 8 store double %38, ptr %7, align 8 %39 = load double, ptr %6, align 8 store double %39, ptr %8, align 8 br label %40 40: ; preds = %37, %33 br label %41 41: ; preds = %40 %42 = load double, ptr %5, align 8 %43 = fadd double %42, 1.000000e-02 store double %43, ptr %5, align 8 br label %24, !llvm.loop !6 44: ; preds = %24 %45 = load double, ptr %7, align 8 ret double %45 } declare i32 @assert(i32 noundef) #1 declare double @CalculateTimeDiff(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/tmp8zdsffp4.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 double @BruteForceTempo(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 store double 0.000000e+00, ptr %5, align 8 store double 0.000000e+00, ptr %6, align 8 store double 0.000000e+00, ptr %7, align 8 store double 0.000000e+00, ptr %8, align 8 %9 = load double, ptr %3, align 8 %10 = fcmp ogt double %9, 0.000000e+00 br i1 %10, label %11, label %14 11: ; preds = %2 %12 = load double, ptr %4, align 8 %13 = fcmp ogt double %12, 0.000000e+00 br label %14 14: ; preds = %11, %2 %15 = phi i1 [ false, %2 ], [ %13, %11 ] %16 = zext i1 %15 to i32 %17 = call i32 @assert(i32 noundef %16) %18 = load double, ptr %3, align 8 %19 = load double, ptr %4, align 8 %20 = fcmp ole double %18, %19 %21 = zext i1 %20 to i32 %22 = call i32 @assert(i32 noundef %21) %23 = load double, ptr %3, align 8 store double %23, ptr %5, align 8 %24 = load double, ptr %5, align 8 %25 = load double, ptr %4, align 8 %26 = fcmp ole double %24, %25 br i1 %26, label %.lr.ph, label %46 .lr.ph: ; preds = %14 br label %27 27: ; preds = %.lr.ph, %40 %28 = load double, ptr %5, align 8 %29 = call double @CalculateTimeDiff(double noundef %28) store double %29, ptr %6, align 8 %30 = load double, ptr %7, align 8 %31 = fcmp olt double %30, 1.000000e+00 br i1 %31, label %36, label %32 32: ; preds = %27 %33 = load double, ptr %6, align 8 %34 = load double, ptr %8, align 8 %35 = fcmp olt double %33, %34 br i1 %35, label %36, label %39 36: ; preds = %32, %27 %37 = load double, ptr %5, align 8 store double %37, ptr %7, align 8 %38 = load double, ptr %6, align 8 store double %38, ptr %8, align 8 br label %39 39: ; preds = %36, %32 br label %40 40: ; preds = %39 %41 = load double, ptr %5, align 8 %42 = fadd double %41, 1.000000e-02 store double %42, ptr %5, align 8 %43 = load double, ptr %5, align 8 %44 = load double, ptr %4, align 8 %45 = fcmp ole double %43, %44 br i1 %45, label %27, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %40 br label %46 46: ; preds = %._crit_edge, %14 %47 = load double, ptr %7, align 8 ret double %47 } declare i32 @assert(i32 noundef) #1 declare double @CalculateTimeDiff(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/tmpff1uv2di.c' source_filename = "/tmp/tmpff1uv2di.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 @clearLCD() #0 { %1 = call i32 @clearLCDLine(i32 noundef 0) %2 = call i32 @clearLCDLine(i32 noundef 1) ret void } declare i32 @clearLCDLine(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/tmpff1uv2di.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 @clearLCD() #0 { %1 = call i32 @clearLCDLine(i32 noundef 0) %2 = call i32 @clearLCDLine(i32 noundef 1) ret void } declare i32 @clearLCDLine(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/tmpw9gwg6_j.c' source_filename = "/tmp/tmpw9gwg6_j.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/tmpw9gwg6_j.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/tmpgyzwceyg.c' source_filename = "/tmp/tmpgyzwceyg.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 [28 x i8] c"No sensors on this platform\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sense_init() #0 { %1 = call i32 @puts(ptr noundef @.str) ret void } declare i32 @puts(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/tmpgyzwceyg.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 [28 x i8] c"No sensors on this platform\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sense_init() #0 { %1 = call i32 @puts(ptr noundef @.str) ret void } declare i32 @puts(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/tmp277hgg4c.c' source_filename = "/tmp/tmp277hgg4c.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 @getline(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 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %6, align 8 %10 = call i32 @__getline(ptr noundef %7, ptr noundef %8, ptr noundef %9) ret i32 %10 } declare i32 @__getline(ptr 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/tmp277hgg4c.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 @getline(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 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load ptr, ptr %6, align 8 %10 = call i32 @__getline(ptr noundef %7, ptr noundef %8, ptr noundef %9) ret i32 %10 } declare i32 @__getline(ptr 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/tmp62jck2yn.c' source_filename = "/tmp/tmp62jck2yn.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/tmp62jck2yn.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/tmp1a57aoze.c' source_filename = "/tmp/tmp1a57aoze.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/tmp1a57aoze.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/tmpwf1rdcj8.c' source_filename = "/tmp/tmpwf1rdcj8.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 [4 x i8] c"2.9\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @asn1_check_version(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = icmp ne ptr %4, null br i1 %5, label %6, label %10 6: ; preds = %1 %7 = load ptr, ptr %3, align 8 %8 = call i64 @strverscmp(ptr noundef %7, ptr noundef @.str) %9 = icmp sle i64 %8, 0 br i1 %9, label %10, label %11 10: ; preds = %6, %1 store ptr @.str, ptr %2, align 8 br label %12 11: ; preds = %6 store ptr null, ptr %2, align 8 br label %12 12: ; preds = %11, %10 %13 = load ptr, ptr %2, align 8 ret ptr %13 } declare i64 @strverscmp(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/tmpwf1rdcj8.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 [4 x i8] c"2.9\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @asn1_check_version(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = icmp ne ptr %4, null br i1 %5, label %6, label %10 6: ; preds = %1 %7 = load ptr, ptr %3, align 8 %8 = call i64 @strverscmp(ptr noundef %7, ptr noundef @.str) %9 = icmp sle i64 %8, 0 br i1 %9, label %10, label %11 10: ; preds = %6, %1 store ptr @.str, ptr %2, align 8 br label %12 11: ; preds = %6 store ptr null, ptr %2, align 8 br label %12 12: ; preds = %11, %10 %13 = load ptr, ptr %2, align 8 ret ptr %13 } declare i64 @strverscmp(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/tmpdl4w8d90.c' source_filename = "/tmp/tmpdl4w8d90.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" @ascii_calculate_key_hash.mykey = internal constant [34 x i8] c"3qa1zra82pft4omb5hs6nj0ew9ctu7dlv\00", align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ascii_calculate_key_hash(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %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 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %12 = call i32 @strlen(ptr noundef @ascii_calculate_key_hash.mykey) %13 = add nsw i32 %12, 1 store i32 %13, ptr %11, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 br label %14 14: ; preds = %44, %4 %15 = load i32, ptr %10, align 4 %16 = load i32, ptr %8, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %18, label %47 18: ; preds = %14 %19 = load i32, ptr %10, align 4 %20 = load i32, ptr %11, align 4 %21 = srem i32 %19, %20 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [34 x i8], ptr @ascii_calculate_key_hash.mykey, i64 0, i64 %22 %24 = load i8, ptr %23, align 1 %25 = zext i8 %24 to i32 %26 = load ptr, ptr %7, align 8 %27 = load i32, ptr %10, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %26, i64 %28 %30 = load i8, ptr %29, align 1 %31 = zext i8 %30 to i32 %32 = xor i32 %25, %31 %33 = load ptr, ptr %5, align 8 %34 = load i32, ptr %10, align 4 %35 = load i32, ptr %6, align 4 %36 = srem i32 %34, %35 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %33, i64 %37 %39 = load i8, ptr %38, align 1 %40 = zext i8 %39 to i32 %41 = xor i32 %32, %40 %42 = load i32, ptr %9, align 4 %43 = add i32 %42, %41 store i32 %43, ptr %9, align 4 br label %44 44: ; preds = %18 %45 = load i32, ptr %10, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %10, align 4 br label %14, !llvm.loop !6 47: ; preds = %14 %48 = load i32, ptr %9, align 4 ret i32 %48 } declare i32 @strlen(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/tmpdl4w8d90.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" @ascii_calculate_key_hash.mykey = internal constant [34 x i8] c"3qa1zra82pft4omb5hs6nj0ew9ctu7dlv\00", align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ascii_calculate_key_hash(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %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 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %12 = call i32 @strlen(ptr noundef @ascii_calculate_key_hash.mykey) %13 = add nsw i32 %12, 1 store i32 %13, ptr %11, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 %14 = load i32, ptr %10, align 4 %15 = load i32, ptr %8, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %.lr.ph, label %49 .lr.ph: ; preds = %4 br label %17 17: ; preds = %.lr.ph, %43 %18 = load i32, ptr %10, align 4 %19 = load i32, ptr %11, align 4 %20 = srem i32 %18, %19 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds [34 x i8], ptr @ascii_calculate_key_hash.mykey, i64 0, i64 %21 %23 = load i8, ptr %22, align 1 %24 = zext i8 %23 to i32 %25 = load ptr, ptr %7, align 8 %26 = load i32, ptr %10, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i8, ptr %25, i64 %27 %29 = load i8, ptr %28, align 1 %30 = zext i8 %29 to i32 %31 = xor i32 %24, %30 %32 = load ptr, ptr %5, align 8 %33 = load i32, ptr %10, align 4 %34 = load i32, ptr %6, align 4 %35 = srem i32 %33, %34 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i8, ptr %32, i64 %36 %38 = load i8, ptr %37, align 1 %39 = zext i8 %38 to i32 %40 = xor i32 %31, %39 %41 = load i32, ptr %9, align 4 %42 = add i32 %41, %40 store i32 %42, ptr %9, align 4 br label %43 43: ; preds = %17 %44 = load i32, ptr %10, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %10, align 4 %46 = load i32, ptr %10, align 4 %47 = load i32, ptr %8, align 4 %48 = icmp slt i32 %46, %47 br i1 %48, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %43 br label %49 49: ; preds = %._crit_edge, %4 %50 = load i32, ptr %9, align 4 ret i32 %50 } declare i32 @strlen(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/tmpsu0j_7ev.c' source_filename = "/tmp/tmpsu0j_7ev.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 @_F90_FCD_CMP_EQ(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 ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i8, align 1 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 = icmp slt i32 %14, %15 br i1 %16, label %17, label %26 17: ; preds = %4 %18 = load i32, ptr %7, align 4 store i32 %18, ptr %11, align 4 %19 = load i32, ptr %8, align 4 %20 = load i32, ptr %7, align 4 %21 = sub nsw i32 %19, %20 store i32 %21, ptr %10, align 4 %22 = load ptr, ptr %6, align 8 %23 = load i32, ptr %11, align 4 %24 = zext i32 %23 to i64 %25 = getelementptr inbounds i8, ptr %22, i64 %24 store ptr %25, ptr %9, align 8 br label %35 26: ; preds = %4 %27 = load i32, ptr %8, align 4 store i32 %27, ptr %11, align 4 %28 = load i32, ptr %7, align 4 %29 = load i32, ptr %8, align 4 %30 = sub nsw i32 %28, %29 store i32 %30, ptr %10, align 4 %31 = load ptr, ptr %5, align 8 %32 = load i32, ptr %11, align 4 %33 = zext i32 %32 to i64 %34 = getelementptr inbounds i8, ptr %31, i64 %33 store ptr %34, ptr %9, align 8 br label %35 35: ; preds = %26, %17 %36 = load ptr, ptr %5, align 8 %37 = load ptr, ptr %6, align 8 %38 = load i32, ptr %11, align 4 %39 = call i32 @memcmp(ptr noundef %36, ptr noundef %37, i32 noundef %38) store i32 %39, ptr %12, align 4 br label %40 40: ; preds = %48, %35 %41 = load i32, ptr %10, align 4 %42 = icmp ugt i32 %41, 0 br i1 %42, label %43, label %46 43: ; preds = %40 %44 = load i32, ptr %12, align 4 %45 = icmp eq i32 %44, 0 br label %46 46: ; preds = %43, %40 %47 = phi i1 [ false, %40 ], [ %45, %43 ] br i1 %47, label %48, label %58 48: ; preds = %46 %49 = load ptr, ptr %9, align 8 %50 = load i8, ptr %49, align 1 store i8 %50, ptr %13, align 1 %51 = load ptr, ptr %9, align 8 %52 = getelementptr inbounds i8, ptr %51, i64 1 store ptr %52, ptr %9, align 8 %53 = load i8, ptr %13, align 1 %54 = sext i8 %53 to i32 %55 = xor i32 %54, 32 store i32 %55, ptr %12, align 4 %56 = load i32, ptr %10, align 4 %57 = sub i32 %56, 1 store i32 %57, ptr %10, align 4 br label %40, !llvm.loop !6 58: ; preds = %46 %59 = load i32, ptr %12, align 4 %60 = icmp eq i32 %59, 0 %61 = zext i1 %60 to i32 ret i32 %61 } declare i32 @memcmp(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsu0j_7ev.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 @_F90_FCD_CMP_EQ(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 ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i8, align 1 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 = icmp slt i32 %14, %15 br i1 %16, label %17, label %26 17: ; preds = %4 %18 = load i32, ptr %7, align 4 store i32 %18, ptr %11, align 4 %19 = load i32, ptr %8, align 4 %20 = load i32, ptr %7, align 4 %21 = sub nsw i32 %19, %20 store i32 %21, ptr %10, align 4 %22 = load ptr, ptr %6, align 8 %23 = load i32, ptr %11, align 4 %24 = zext i32 %23 to i64 %25 = getelementptr inbounds i8, ptr %22, i64 %24 store ptr %25, ptr %9, align 8 br label %35 26: ; preds = %4 %27 = load i32, ptr %8, align 4 store i32 %27, ptr %11, align 4 %28 = load i32, ptr %7, align 4 %29 = load i32, ptr %8, align 4 %30 = sub nsw i32 %28, %29 store i32 %30, ptr %10, align 4 %31 = load ptr, ptr %5, align 8 %32 = load i32, ptr %11, align 4 %33 = zext i32 %32 to i64 %34 = getelementptr inbounds i8, ptr %31, i64 %33 store ptr %34, ptr %9, align 8 br label %35 35: ; preds = %26, %17 %36 = load ptr, ptr %5, align 8 %37 = load ptr, ptr %6, align 8 %38 = load i32, ptr %11, align 4 %39 = call i32 @memcmp(ptr noundef %36, ptr noundef %37, i32 noundef %38) store i32 %39, ptr %12, align 4 br label %40 40: ; preds = %48, %35 %41 = load i32, ptr %10, align 4 %42 = icmp ugt i32 %41, 0 br i1 %42, label %43, label %46 43: ; preds = %40 %44 = load i32, ptr %12, align 4 %45 = icmp eq i32 %44, 0 br label %46 46: ; preds = %43, %40 %47 = phi i1 [ false, %40 ], [ %45, %43 ] br i1 %47, label %48, label %58 48: ; preds = %46 %49 = load ptr, ptr %9, align 8 %50 = load i8, ptr %49, align 1 store i8 %50, ptr %13, align 1 %51 = load ptr, ptr %9, align 8 %52 = getelementptr inbounds i8, ptr %51, i64 1 store ptr %52, ptr %9, align 8 %53 = load i8, ptr %13, align 1 %54 = sext i8 %53 to i32 %55 = xor i32 %54, 32 store i32 %55, ptr %12, align 4 %56 = load i32, ptr %10, align 4 %57 = sub i32 %56, 1 store i32 %57, ptr %10, align 4 br label %40, !llvm.loop !6 58: ; preds = %46 %59 = load i32, ptr %12, align 4 %60 = icmp eq i32 %59, 0 %61 = zext i1 %60 to i32 ret i32 %61 } declare i32 @memcmp(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"}
; ModuleID = '/tmp/tmpjijnfecr.c' source_filename = "/tmp/tmpjijnfecr.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"./Data1.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [39 x i8] c"The largest number in the file is %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 ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, 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 store ptr null, ptr %6, align 8 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 %12 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %12, ptr %9, align 8 %13 = load ptr, ptr %9, align 8 %14 = call i32 @fscanf(ptr noundef %13, ptr noundef @.str.2, ptr noundef %8) %15 = load i32, ptr %8, align 4 %16 = sext i32 %15 to i64 %17 = mul i64 4, %16 %18 = trunc i64 %17 to i32 %19 = call i64 @malloc(i32 noundef %18) %20 = inttoptr i64 %19 to ptr store ptr %20, ptr %6, align 8 store i32 0, ptr %10, align 4 br label %21 21: ; preds = %32, %2 %22 = load i32, ptr %10, align 4 %23 = load i32, ptr %8, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %25, label %35 25: ; preds = %21 %26 = load ptr, ptr %9, align 8 %27 = load ptr, ptr %6, align 8 %28 = load i32, ptr %10, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i32, ptr %27, i64 %29 %31 = call i32 @fscanf(ptr noundef %26, ptr noundef @.str.2, ptr noundef %30) br label %32 32: ; preds = %25 %33 = load i32, ptr %10, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %10, align 4 br label %21, !llvm.loop !6 35: ; preds = %21 %36 = load ptr, ptr %9, align 8 %37 = call i32 @fclose(ptr noundef %36) store i32 0, ptr %11, align 4 br label %38 38: ; preds = %57, %35 %39 = load i32, ptr %11, align 4 %40 = load i32, ptr %8, align 4 %41 = icmp slt i32 %39, %40 br i1 %41, label %42, label %60 42: ; preds = %38 %43 = load ptr, ptr %6, 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 = load i32, ptr %7, align 4 %49 = icmp sgt i32 %47, %48 br i1 %49, label %50, label %56 50: ; preds = %42 %51 = load ptr, ptr %6, align 8 %52 = load i32, ptr %11, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i32, ptr %51, i64 %53 %55 = load i32, ptr %54, align 4 store i32 %55, ptr %7, align 4 br label %56 56: ; preds = %50, %42 br label %57 57: ; preds = %56 %58 = load i32, ptr %11, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %11, align 4 br label %38, !llvm.loop !8 60: ; preds = %38 %61 = load i32, ptr %7, align 4 %62 = call i32 @printf(ptr noundef @.str.3, i32 noundef %61) %63 = load ptr, ptr %6, align 8 %64 = call i32 @free(ptr noundef %63) %65 = load i32, ptr %3, align 4 ret i32 %65 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @printf(ptr 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}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjijnfecr.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"./Data1.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [39 x i8] c"The largest number in the file is %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 ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, 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 store ptr null, ptr %6, align 8 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 %12 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %12, ptr %9, align 8 %13 = load ptr, ptr %9, align 8 %14 = call i32 @fscanf(ptr noundef %13, ptr noundef @.str.2, ptr noundef %8) %15 = load i32, ptr %8, align 4 %16 = sext i32 %15 to i64 %17 = mul i64 4, %16 %18 = trunc i64 %17 to i32 %19 = call i64 @malloc(i32 noundef %18) %20 = inttoptr i64 %19 to ptr store ptr %20, ptr %6, align 8 store i32 0, ptr %10, align 4 %21 = load i32, ptr %10, align 4 %22 = load i32, ptr %8, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %.lr.ph, label %37 .lr.ph: ; preds = %2 br label %24 24: ; preds = %.lr.ph, %31 %25 = load ptr, ptr %9, align 8 %26 = load ptr, ptr %6, align 8 %27 = load i32, ptr %10, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i32, ptr %26, i64 %28 %30 = call i32 @fscanf(ptr noundef %25, ptr noundef @.str.2, ptr noundef %29) br label %31 31: ; preds = %24 %32 = load i32, ptr %10, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %10, align 4 %34 = load i32, ptr %10, align 4 %35 = load i32, ptr %8, align 4 %36 = icmp slt i32 %34, %35 br i1 %36, label %24, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %31 br label %37 37: ; preds = %._crit_edge, %2 %38 = load ptr, ptr %9, align 8 %39 = call i32 @fclose(ptr noundef %38) store i32 0, ptr %11, align 4 %40 = load i32, ptr %11, align 4 %41 = load i32, ptr %8, align 4 %42 = icmp slt i32 %40, %41 br i1 %42, label %.lr.ph2, label %64 .lr.ph2: ; preds = %37 br label %43 43: ; preds = %.lr.ph2, %58 %44 = load ptr, ptr %6, align 8 %45 = load i32, ptr %11, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i32, ptr %44, i64 %46 %48 = load i32, ptr %47, align 4 %49 = load i32, ptr %7, align 4 %50 = icmp sgt i32 %48, %49 br i1 %50, label %51, label %57 51: ; preds = %43 %52 = load ptr, ptr %6, 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 store i32 %56, ptr %7, align 4 br label %57 57: ; preds = %51, %43 br label %58 58: ; preds = %57 %59 = load i32, ptr %11, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %11, align 4 %61 = load i32, ptr %11, align 4 %62 = load i32, ptr %8, align 4 %63 = icmp slt i32 %61, %62 br i1 %63, label %43, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %58 br label %64 64: ; preds = %._crit_edge3, %37 %65 = load i32, ptr %7, align 4 %66 = call i32 @printf(ptr noundef @.str.3, i32 noundef %65) %67 = load ptr, ptr %6, align 8 %68 = call i32 @free(ptr noundef %67) %69 = load i32, ptr %3, align 4 ret i32 %69 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @printf(ptr 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}
; ModuleID = '/tmp/tmpqtdue_9x.c' source_filename = "/tmp/tmpqtdue_9x.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 @Sys_Mkdir(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @mkdir(ptr noundef %3, i32 noundef 511) ret void } declare i32 @mkdir(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/tmpqtdue_9x.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 @Sys_Mkdir(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @mkdir(ptr noundef %3, i32 noundef 511) ret void } declare i32 @mkdir(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/tmpu71czt4v.c' source_filename = "/tmp/tmpu71czt4v.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 @__wrap_fopen(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call ptr @dll_fopen(ptr noundef %5, ptr noundef %6) ret ptr %7 } declare ptr @dll_fopen(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/tmpu71czt4v.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 @__wrap_fopen(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call ptr @dll_fopen(ptr noundef %5, ptr noundef %6) ret ptr %7 } declare ptr @dll_fopen(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/tmpimepsh07.c' source_filename = "/tmp/tmpimepsh07.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" @x_fib_recent_file.recent_file = internal global [1024 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [14 x i8] c"XDG_DATA_HOME\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"%s/%s/recent\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"HOME\00", align 1 @.str.3 = private unnamed_addr constant [26 x i8] c"%s/.local/share/%s/recent\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @x_fib_recent_file(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 %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i32 @strchr(ptr noundef %6, i8 noundef signext 47) %8 = icmp ne i32 %7, 0 %9 = xor i1 %8, true %10 = zext i1 %9 to i32 %11 = call i32 @assert(i32 noundef %10) %12 = call ptr @getenv(ptr noundef @.str) store ptr %12, ptr %4, align 8 %13 = load ptr, ptr %4, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %15, label %28 15: ; preds = %1 %16 = load ptr, ptr %4, align 8 %17 = call i32 @strlen(ptr noundef %16) %18 = load ptr, ptr %3, align 8 %19 = call i32 @strlen(ptr noundef %18) %20 = add nsw i32 %17, %19 %21 = add nsw i32 %20, 10 %22 = sext i32 %21 to i64 %23 = icmp ult i64 %22, 1024 br i1 %23, label %24, label %28 24: ; preds = %15 %25 = load ptr, ptr %4, align 8 %26 = load ptr, ptr %3, align 8 %27 = call i32 @sprintf(ptr noundef @x_fib_recent_file.recent_file, ptr noundef @.str.1, ptr noundef %25, ptr noundef %26) store ptr @x_fib_recent_file.recent_file, ptr %2, align 8 br label %46 28: ; preds = %15, %1 %29 = call ptr @getenv(ptr noundef @.str.2) store ptr %29, ptr %5, align 8 %30 = load ptr, ptr %5, align 8 %31 = icmp ne ptr %30, null br i1 %31, label %32, label %45 32: ; preds = %28 %33 = load ptr, ptr %5, align 8 %34 = call i32 @strlen(ptr noundef %33) %35 = load ptr, ptr %3, align 8 %36 = call i32 @strlen(ptr noundef %35) %37 = add nsw i32 %34, %36 %38 = add nsw i32 %37, 22 %39 = sext i32 %38 to i64 %40 = icmp ult i64 %39, 1024 br i1 %40, label %41, label %45 41: ; preds = %32 %42 = load ptr, ptr %5, align 8 %43 = load ptr, ptr %3, align 8 %44 = call i32 @sprintf(ptr noundef @x_fib_recent_file.recent_file, ptr noundef @.str.3, ptr noundef %42, ptr noundef %43) store ptr @x_fib_recent_file.recent_file, ptr %2, align 8 br label %46 45: ; preds = %32, %28 store ptr null, ptr %2, align 8 br label %46 46: ; preds = %45, %41, %24 %47 = load ptr, ptr %2, align 8 ret ptr %47 } declare i32 @assert(i32 noundef) #1 declare i32 @strchr(ptr noundef, i8 noundef signext) #1 declare ptr @getenv(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr 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/tmpimepsh07.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" @x_fib_recent_file.recent_file = internal global [1024 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [14 x i8] c"XDG_DATA_HOME\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"%s/%s/recent\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"HOME\00", align 1 @.str.3 = private unnamed_addr constant [26 x i8] c"%s/.local/share/%s/recent\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @x_fib_recent_file(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 %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i32 @strchr(ptr noundef %6, i8 noundef signext 47) %8 = icmp ne i32 %7, 0 %9 = xor i1 %8, true %10 = zext i1 %9 to i32 %11 = call i32 @assert(i32 noundef %10) %12 = call ptr @getenv(ptr noundef @.str) store ptr %12, ptr %4, align 8 %13 = load ptr, ptr %4, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %15, label %28 15: ; preds = %1 %16 = load ptr, ptr %4, align 8 %17 = call i32 @strlen(ptr noundef %16) %18 = load ptr, ptr %3, align 8 %19 = call i32 @strlen(ptr noundef %18) %20 = add nsw i32 %17, %19 %21 = add nsw i32 %20, 10 %22 = sext i32 %21 to i64 %23 = icmp ult i64 %22, 1024 br i1 %23, label %24, label %28 24: ; preds = %15 %25 = load ptr, ptr %4, align 8 %26 = load ptr, ptr %3, align 8 %27 = call i32 @sprintf(ptr noundef @x_fib_recent_file.recent_file, ptr noundef @.str.1, ptr noundef %25, ptr noundef %26) store ptr @x_fib_recent_file.recent_file, ptr %2, align 8 br label %46 28: ; preds = %15, %1 %29 = call ptr @getenv(ptr noundef @.str.2) store ptr %29, ptr %5, align 8 %30 = load ptr, ptr %5, align 8 %31 = icmp ne ptr %30, null br i1 %31, label %32, label %45 32: ; preds = %28 %33 = load ptr, ptr %5, align 8 %34 = call i32 @strlen(ptr noundef %33) %35 = load ptr, ptr %3, align 8 %36 = call i32 @strlen(ptr noundef %35) %37 = add nsw i32 %34, %36 %38 = add nsw i32 %37, 22 %39 = sext i32 %38 to i64 %40 = icmp ult i64 %39, 1024 br i1 %40, label %41, label %45 41: ; preds = %32 %42 = load ptr, ptr %5, align 8 %43 = load ptr, ptr %3, align 8 %44 = call i32 @sprintf(ptr noundef @x_fib_recent_file.recent_file, ptr noundef @.str.3, ptr noundef %42, ptr noundef %43) store ptr @x_fib_recent_file.recent_file, ptr %2, align 8 br label %46 45: ; preds = %32, %28 store ptr null, ptr %2, align 8 br label %46 46: ; preds = %45, %41, %24 %47 = load ptr, ptr %2, align 8 ret ptr %47 } declare i32 @assert(i32 noundef) #1 declare i32 @strchr(ptr noundef, i8 noundef signext) #1 declare ptr @getenv(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr 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/tmpvwy4zjgs.c' source_filename = "/tmp/tmpvwy4zjgs.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"%2hhx\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"WTF\0A\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%02x\00", align 1 @.str.3 = 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 ptr, align 8 %7 = alloca [32 x i32], align 16 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca i64, align 8 %17 = alloca i64, align 8 %18 = alloca i32, align 4 %19 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %20 = call i64 (...) @EVP_sha256() %21 = inttoptr i64 %20 to ptr store ptr %21, ptr %6, align 8 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 1 %24 = load ptr, ptr %23, align 8 store ptr %24, ptr %8, align 8 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds ptr, ptr %25, i64 2 %27 = load ptr, ptr %26, align 8 store ptr %27, ptr %9, align 8 %28 = load ptr, ptr %8, align 8 %29 = call i64 @strlen(ptr noundef %28) store i64 %29, ptr %10, align 8 %30 = load i64, ptr %10, align 8 %31 = udiv i64 %30, 2 store i64 %31, ptr %11, align 8 %32 = load ptr, ptr %9, align 8 %33 = call i64 @strlen(ptr noundef %32) store i64 %33, ptr %12, align 8 %34 = load i64, ptr %12, align 8 %35 = udiv i64 %34, 2 store i64 %35, ptr %13, align 8 %36 = load i64, ptr %11, align 8 %37 = call i64 @malloc(i64 noundef %36) %38 = inttoptr i64 %37 to ptr store ptr %38, ptr %14, align 8 %39 = load i64, ptr %13, align 8 %40 = call i64 @malloc(i64 noundef %39) %41 = inttoptr i64 %40 to ptr store ptr %41, ptr %15, align 8 store i64 0, ptr %16, align 8 br label %42 42: ; preds = %54, %2 %43 = load i64, ptr %16, align 8 %44 = load i64, ptr %11, align 8 %45 = icmp ult i64 %43, %44 br i1 %45, label %46, label %57 46: ; preds = %42 %47 = load ptr, ptr %8, align 8 %48 = load ptr, ptr %14, align 8 %49 = load i64, ptr %16, align 8 %50 = getelementptr inbounds i32, ptr %48, i64 %49 %51 = call i32 @sscanf(ptr noundef %47, ptr noundef @.str, ptr noundef %50) %52 = load ptr, ptr %8, align 8 %53 = getelementptr inbounds i8, ptr %52, i64 2 store ptr %53, ptr %8, align 8 br label %54 54: ; preds = %46 %55 = load i64, ptr %16, align 8 %56 = add i64 %55, 1 store i64 %56, ptr %16, align 8 br label %42, !llvm.loop !6 57: ; preds = %42 store i64 0, ptr %17, align 8 br label %58 58: ; preds = %70, %57 %59 = load i64, ptr %17, align 8 %60 = load i64, ptr %13, align 8 %61 = icmp ult i64 %59, %60 br i1 %61, label %62, label %73 62: ; preds = %58 %63 = load ptr, ptr %9, align 8 %64 = load ptr, ptr %15, align 8 %65 = load i64, ptr %17, align 8 %66 = getelementptr inbounds i32, ptr %64, i64 %65 %67 = call i32 @sscanf(ptr noundef %63, ptr noundef @.str, ptr noundef %66) %68 = load ptr, ptr %9, align 8 %69 = getelementptr inbounds i8, ptr %68, i64 2 store ptr %69, ptr %9, align 8 br label %70 70: ; preds = %62 %71 = load i64, ptr %17, align 8 %72 = add i64 %71, 1 store i64 %72, ptr %17, align 8 br label %58, !llvm.loop !8 73: ; preds = %58 %74 = load ptr, ptr %6, align 8 %75 = load ptr, ptr %14, align 8 %76 = load i64, ptr %11, align 8 %77 = load ptr, ptr %15, align 8 %78 = load i64, ptr %13, align 8 %79 = getelementptr inbounds [32 x i32], ptr %7, i64 0, i64 0 %80 = call i32 @HMAC(ptr noundef %74, ptr noundef %75, i64 noundef %76, ptr noundef %77, i64 noundef %78, ptr noundef %79, ptr noundef %18) %81 = load i32, ptr %18, align 4 %82 = icmp ne i32 %81, 32 br i1 %82, label %83, label %85 83: ; preds = %73 %84 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %85 85: ; preds = %83, %73 %86 = load ptr, ptr %14, align 8 %87 = call i32 @free(ptr noundef %86) %88 = load ptr, ptr %15, align 8 %89 = call i32 @free(ptr noundef %88) store i64 0, ptr %19, align 8 br label %90 90: ; preds = %98, %85 %91 = load i64, ptr %19, align 8 %92 = icmp ult i64 %91, 32 br i1 %92, label %93, label %101 93: ; preds = %90 %94 = load i64, ptr %19, align 8 %95 = getelementptr inbounds [32 x i32], ptr %7, i64 0, i64 %94 %96 = load i32, ptr %95, align 4 %97 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %96) br label %98 98: ; preds = %93 %99 = load i64, ptr %19, align 8 %100 = add i64 %99, 1 store i64 %100, ptr %19, align 8 br label %90, !llvm.loop !9 101: ; preds = %90 %102 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) ret i32 0 } declare i64 @EVP_sha256(...) #1 declare i64 @strlen(ptr noundef) #1 declare i64 @malloc(i64 noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @HMAC(ptr noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr 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}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvwy4zjgs.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"%2hhx\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"WTF\0A\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%02x\00", align 1 @.str.3 = 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 ptr, align 8 %7 = alloca [32 x i32], align 16 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca i64, align 8 %17 = alloca i64, align 8 %18 = alloca i32, align 4 %19 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %20 = call i64 (...) @EVP_sha256() %21 = inttoptr i64 %20 to ptr store ptr %21, ptr %6, align 8 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 1 %24 = load ptr, ptr %23, align 8 store ptr %24, ptr %8, align 8 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds ptr, ptr %25, i64 2 %27 = load ptr, ptr %26, align 8 store ptr %27, ptr %9, align 8 %28 = load ptr, ptr %8, align 8 %29 = call i64 @strlen(ptr noundef %28) store i64 %29, ptr %10, align 8 %30 = load i64, ptr %10, align 8 %31 = udiv i64 %30, 2 store i64 %31, ptr %11, align 8 %32 = load ptr, ptr %9, align 8 %33 = call i64 @strlen(ptr noundef %32) store i64 %33, ptr %12, align 8 %34 = load i64, ptr %12, align 8 %35 = udiv i64 %34, 2 store i64 %35, ptr %13, align 8 %36 = load i64, ptr %11, align 8 %37 = call i64 @malloc(i64 noundef %36) %38 = inttoptr i64 %37 to ptr store ptr %38, ptr %14, align 8 %39 = load i64, ptr %13, align 8 %40 = call i64 @malloc(i64 noundef %39) %41 = inttoptr i64 %40 to ptr store ptr %41, ptr %15, align 8 store i64 0, ptr %16, align 8 %42 = load i64, ptr %16, align 8 %43 = load i64, ptr %11, align 8 %44 = icmp ult i64 %42, %43 br i1 %44, label %.lr.ph, label %59 .lr.ph: ; preds = %2 br label %45 45: ; preds = %.lr.ph, %53 %46 = load ptr, ptr %8, align 8 %47 = load ptr, ptr %14, align 8 %48 = load i64, ptr %16, align 8 %49 = getelementptr inbounds i32, ptr %47, i64 %48 %50 = call i32 @sscanf(ptr noundef %46, ptr noundef @.str, ptr noundef %49) %51 = load ptr, ptr %8, align 8 %52 = getelementptr inbounds i8, ptr %51, i64 2 store ptr %52, ptr %8, align 8 br label %53 53: ; preds = %45 %54 = load i64, ptr %16, align 8 %55 = add i64 %54, 1 store i64 %55, ptr %16, align 8 %56 = load i64, ptr %16, align 8 %57 = load i64, ptr %11, align 8 %58 = icmp ult i64 %56, %57 br i1 %58, label %45, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %53 br label %59 59: ; preds = %._crit_edge, %2 store i64 0, ptr %17, align 8 %60 = load i64, ptr %17, align 8 %61 = load i64, ptr %13, align 8 %62 = icmp ult i64 %60, %61 br i1 %62, label %.lr.ph2, label %77 .lr.ph2: ; preds = %59 br label %63 63: ; preds = %.lr.ph2, %71 %64 = load ptr, ptr %9, align 8 %65 = load ptr, ptr %15, align 8 %66 = load i64, ptr %17, align 8 %67 = getelementptr inbounds i32, ptr %65, i64 %66 %68 = call i32 @sscanf(ptr noundef %64, ptr noundef @.str, ptr noundef %67) %69 = load ptr, ptr %9, align 8 %70 = getelementptr inbounds i8, ptr %69, i64 2 store ptr %70, ptr %9, align 8 br label %71 71: ; preds = %63 %72 = load i64, ptr %17, align 8 %73 = add i64 %72, 1 store i64 %73, ptr %17, align 8 %74 = load i64, ptr %17, align 8 %75 = load i64, ptr %13, align 8 %76 = icmp ult i64 %74, %75 br i1 %76, label %63, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %71 br label %77 77: ; preds = %._crit_edge3, %59 %78 = load ptr, ptr %6, align 8 %79 = load ptr, ptr %14, align 8 %80 = load i64, ptr %11, align 8 %81 = load ptr, ptr %15, align 8 %82 = load i64, ptr %13, align 8 %83 = getelementptr inbounds [32 x i32], ptr %7, i64 0, i64 0 %84 = call i32 @HMAC(ptr noundef %78, ptr noundef %79, i64 noundef %80, ptr noundef %81, i64 noundef %82, ptr noundef %83, ptr noundef %18) %85 = load i32, ptr %18, align 4 %86 = icmp ne i32 %85, 32 br i1 %86, label %87, label %89 87: ; preds = %77 %88 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %89 89: ; preds = %87, %77 %90 = load ptr, ptr %14, align 8 %91 = call i32 @free(ptr noundef %90) %92 = load ptr, ptr %15, align 8 %93 = call i32 @free(ptr noundef %92) store i64 0, ptr %19, align 8 %94 = load i64, ptr %19, align 8 %95 = icmp ult i64 %94, 32 br i1 %95, label %.lr.ph5, label %106 .lr.ph5: ; preds = %89 br label %96 96: ; preds = %.lr.ph5, %101 %97 = load i64, ptr %19, align 8 %98 = getelementptr inbounds [32 x i32], ptr %7, i64 0, i64 %97 %99 = load i32, ptr %98, align 4 %100 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %99) br label %101 101: ; preds = %96 %102 = load i64, ptr %19, align 8 %103 = add i64 %102, 1 store i64 %103, ptr %19, align 8 %104 = load i64, ptr %19, align 8 %105 = icmp ult i64 %104, 32 br i1 %105, label %96, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %101 br label %106 106: ; preds = %._crit_edge6, %89 %107 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) ret i32 0 } declare i64 @EVP_sha256(...) #1 declare i64 @strlen(ptr noundef) #1 declare i64 @malloc(i64 noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @HMAC(ptr noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr 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}
; ModuleID = '/tmp/tmp_pu19j9w.c' source_filename = "/tmp/tmp_pu19j9w.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 [23 x i8] c"Negative test failed!\0A\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"Zero test failed!\0A\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"Squares test failed!\0A\00", align 1 @.str.3 = private unnamed_addr constant [26 x i8] c"Non squares test failed!\0A\00", align 1 @.str.4 = private unnamed_addr constant [18 x i8] c"%d tests failed.\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 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %3 = call i32 (...) @test_negative() %4 = icmp ne i32 %3, 0 br i1 %4, label %9, label %5 5: ; preds = %0 %6 = load i32, ptr %2, align 4 %7 = add nsw i32 %6, 1 store i32 %7, ptr %2, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %9 9: ; preds = %5, %0 %10 = call i32 (...) @test_zero() %11 = icmp ne i32 %10, 0 br i1 %11, label %16, label %12 12: ; preds = %9 %13 = load i32, ptr %2, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %2, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %16 16: ; preds = %12, %9 %17 = call i32 (...) @test_squares() %18 = icmp ne i32 %17, 0 br i1 %18, label %23, label %19 19: ; preds = %16 %20 = load i32, ptr %2, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %2, align 4 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %23 23: ; preds = %19, %16 %24 = call i32 (...) @test_non_squares() %25 = icmp ne i32 %24, 0 br i1 %25, label %30, label %26 26: ; preds = %23 %27 = load i32, ptr %2, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %2, align 4 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %30 30: ; preds = %26, %23 %31 = load i32, ptr %2, align 4 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %31) %33 = load i32, ptr %1, align 4 ret i32 %33 } declare i32 @test_negative(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @test_zero(...) #1 declare i32 @test_squares(...) #1 declare i32 @test_non_squares(...) #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_pu19j9w.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 [23 x i8] c"Negative test failed!\0A\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"Zero test failed!\0A\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"Squares test failed!\0A\00", align 1 @.str.3 = private unnamed_addr constant [26 x i8] c"Non squares test failed!\0A\00", align 1 @.str.4 = private unnamed_addr constant [18 x i8] c"%d tests failed.\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 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %3 = call i32 (...) @test_negative() %4 = icmp ne i32 %3, 0 br i1 %4, label %9, label %5 5: ; preds = %0 %6 = load i32, ptr %2, align 4 %7 = add nsw i32 %6, 1 store i32 %7, ptr %2, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %9 9: ; preds = %5, %0 %10 = call i32 (...) @test_zero() %11 = icmp ne i32 %10, 0 br i1 %11, label %16, label %12 12: ; preds = %9 %13 = load i32, ptr %2, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %2, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %16 16: ; preds = %12, %9 %17 = call i32 (...) @test_squares() %18 = icmp ne i32 %17, 0 br i1 %18, label %23, label %19 19: ; preds = %16 %20 = load i32, ptr %2, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %2, align 4 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %23 23: ; preds = %19, %16 %24 = call i32 (...) @test_non_squares() %25 = icmp ne i32 %24, 0 br i1 %25, label %30, label %26 26: ; preds = %23 %27 = load i32, ptr %2, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %2, align 4 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %30 30: ; preds = %26, %23 %31 = load i32, ptr %2, align 4 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %31) %33 = load i32, ptr %1, align 4 ret i32 %33 } declare i32 @test_negative(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @test_zero(...) #1 declare i32 @test_squares(...) #1 declare i32 @test_non_squares(...) #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/tmpeo7rxva5.c' source_filename = "/tmp/tmpeo7rxva5.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.stat = type { i64, i64 } @.str = private unnamed_addr constant [12 x i8] c"WEBDAV_USER\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"REDIRECT_WEBDAV_USER\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"REMOTE_USER\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"REDIRECT_REMOTE_USER\00", align 1 @.str.4 = private unnamed_addr constant [25 x i8] c"/tmp/krb5cc_webdavcgi_%s\00", align 1 @.str.5 = private unnamed_addr constant [29 x i8] c"/tmp/krb5cc_webdavcgi_age_%s\00", align 1 @.str.6 = private unnamed_addr constant [11 x i8] c"KRB5CCNAME\00", align 1 @.str.7 = private unnamed_addr constant [8 x i8] c"FILE:%s\00", align 1 @.str.8 = private unnamed_addr constant [16 x i8] c"WEBDAVISWRAPPED\00", align 1 @.str.9 = private unnamed_addr constant [5 x i8] c"TRUE\00", align 1 @.str.10 = private unnamed_addr constant [2 x i8] c":\00", align 1 @.str.11 = private unnamed_addr constant [16 x i8] c"TICKET_LIFETIME\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 @O_WRONLY = dso_local global i32 0, align 4 @O_TRUNC = dso_local global i32 0, align 4 @S_IRUSR = dso_local global i32 0, align 4 @S_IWUSR = dso_local global i32 0, align 4 @LOCK_EX = dso_local global i32 0, align 4 @LOCK_NB = dso_local global i32 0, align 4 @.str.12 = private unnamed_addr constant [13 x i8] c"age checking\00", align 1 @LOCK_UN = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.13 = private unnamed_addr constant [37 x i8] c"%s: ERROR: Cannot copy %s to %s: %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.14 = private unnamed_addr constant [10 x i8] c"webdav.pl\00", align 1 @.str.15 = private unnamed_addr constant [41 x i8] c"%s: ERROR: Cannot execute webdav.pl: %s\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 [2000 x i8], align 16 %9 = alloca [2000 x i8], align 16 %10 = alloca ptr, align 8 %11 = alloca [2000 x i8], align 16 %12 = alloca ptr, align 8 %13 = alloca %struct.stat, align 8 %14 = alloca i64, align 8 %15 = alloca ptr, align 8 %16 = alloca i64, align 8 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca [2000 x i8], align 16 %22 = 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 %6, align 8 %23 = call ptr @getenv(ptr noundef @.str) store ptr %23, ptr %7, align 8 %24 = load ptr, ptr %7, align 8 %25 = icmp eq ptr %24, null br i1 %25, label %26, label %28 26: ; preds = %2 %27 = call ptr @getenv(ptr noundef @.str.1) store ptr %27, ptr %7, align 8 br label %28 28: ; preds = %26, %2 %29 = load ptr, ptr %7, align 8 %30 = icmp eq ptr %29, null br i1 %30, label %31, label %33 31: ; preds = %28 %32 = call ptr @getenv(ptr noundef @.str.2) store ptr %32, ptr %7, align 8 br label %33 33: ; preds = %31, %28 %34 = load ptr, ptr %7, align 8 %35 = icmp eq ptr %34, null br i1 %35, label %36, label %38 36: ; preds = %33 %37 = call ptr @getenv(ptr noundef @.str.3) store ptr %37, ptr %7, align 8 br label %38 38: ; preds = %36, %33 %39 = getelementptr inbounds [2000 x i8], ptr %8, i64 0, i64 0 %40 = load ptr, ptr %7, align 8 %41 = call i32 @snprintf(ptr noundef %39, i32 noundef 2000, ptr noundef @.str.4, ptr noundef %40) %42 = getelementptr inbounds [2000 x i8], ptr %9, i64 0, i64 0 %43 = load ptr, ptr %7, align 8 %44 = call i32 @snprintf(ptr noundef %42, i32 noundef 2000, ptr noundef @.str.5, ptr noundef %43) %45 = call ptr @getenv(ptr noundef @.str.6) store ptr %45, ptr %10, align 8 %46 = getelementptr inbounds [2000 x i8], ptr %11, i64 0, i64 0 %47 = getelementptr inbounds [2000 x i8], ptr %8, i64 0, i64 0 %48 = call i32 @snprintf(ptr noundef %46, i32 noundef 2000, ptr noundef @.str.7, ptr noundef %47) %49 = getelementptr inbounds [2000 x i8], ptr %11, i64 0, i64 0 %50 = call i32 @setenv(ptr noundef @.str.6, ptr noundef %49, i32 noundef 1) %51 = call i32 @setenv(ptr noundef @.str.8, ptr noundef @.str.9, i32 noundef 1) %52 = load ptr, ptr %10, align 8 %53 = icmp ne ptr %52, null br i1 %53, label %54, label %163 54: ; preds = %38 %55 = load ptr, ptr %10, align 8 %56 = call ptr @strtok(ptr noundef %55, ptr noundef @.str.10) %57 = call ptr @strtok(ptr noundef null, ptr noundef @.str.10) store ptr %57, ptr %12, align 8 %58 = call i64 @time(ptr noundef null) store i64 %58, ptr %14, align 8 %59 = call ptr @getenv(ptr noundef @.str.11) store ptr %59, ptr %15, align 8 %60 = load ptr, ptr %15, align 8 %61 = icmp ne ptr %60, null br i1 %61, label %62, label %65 62: ; preds = %54 %63 = load ptr, ptr %15, align 8 %64 = call i32 @atol(ptr noundef %63) br label %66 65: ; preds = %54 br label %66 66: ; preds = %65, %62 %67 = phi i32 [ %64, %62 ], [ 28800, %65 ] %68 = sext i32 %67 to i64 store i64 %68, ptr %16, align 8 %69 = getelementptr inbounds [2000 x i8], ptr %9, i64 0, i64 0 %70 = call i32 @stat(ptr noundef %69, ptr noundef %13) store i32 %70, ptr %17, align 4 %71 = load i32, ptr %17, align 4 %72 = icmp eq i32 %71, -1 br i1 %72, label %84, label %73 73: ; preds = %66 %74 = load i64, ptr %14, align 8 %75 = getelementptr inbounds %struct.stat, ptr %13, i32 0, i32 0 %76 = load i64, ptr %75, align 8 %77 = sub nsw i64 %74, %76 %78 = load i64, ptr %16, align 8 %79 = icmp sgt i64 %77, %78 br i1 %79, label %84, label %80 80: ; preds = %73 %81 = getelementptr inbounds %struct.stat, ptr %13, i32 0, i32 1 %82 = load i64, ptr %81, align 8 %83 = icmp eq i64 %82, 0 br i1 %83, label %84, label %162 84: ; preds = %80, %73, %66 %85 = load i32, ptr %17, align 4 %86 = icmp eq i32 %85, 0 br i1 %86, label %87, label %92 87: ; preds = %84 %88 = getelementptr inbounds [2000 x i8], ptr %8, i64 0, i64 0 %89 = call i32 @unlink(ptr noundef %88) %90 = getelementptr inbounds [2000 x i8], ptr %9, i64 0, i64 0 %91 = call i32 @unlink(ptr noundef %90) br label %92 92: ; preds = %87, %84 %93 = load ptr, ptr %12, align 8 %94 = load i32, ptr @O_RDONLY, align 4 %95 = call i32 (ptr, i32, ...) @open(ptr noundef %93, i32 noundef %94) store i32 %95, ptr %18, align 4 %96 = icmp ne i32 %95, -1 br i1 %96, label %97, label %151 97: ; preds = %92 %98 = getelementptr inbounds [2000 x i8], ptr %8, i64 0, i64 0 %99 = load i32, ptr @O_CREAT, align 4 %100 = load i32, ptr @O_WRONLY, align 4 %101 = or i32 %99, %100 %102 = load i32, ptr @O_TRUNC, align 4 %103 = or i32 %101, %102 %104 = load i32, ptr @S_IRUSR, align 4 %105 = load i32, ptr @S_IWUSR, align 4 %106 = or i32 %104, %105 %107 = call i32 (ptr, i32, ...) @open(ptr noundef %98, i32 noundef %103, i32 noundef %106) store i32 %107, ptr %19, align 4 %108 = icmp ne i32 %107, -1 br i1 %108, label %109, label %151 109: ; preds = %97 %110 = load i32, ptr %19, align 4 %111 = load i32, ptr @LOCK_EX, align 4 %112 = load i32, ptr @LOCK_NB, align 4 %113 = or i32 %111, %112 %114 = call i32 @flock(i32 noundef %110, i32 noundef %113) %115 = icmp ne i32 %114, -1 br i1 %115, label %116, label %151 116: ; preds = %109 br label %117 117: ; preds = %121, %116 %118 = load i32, ptr %18, align 4 %119 = call i32 @read(i32 noundef %118, ptr noundef %21, i32 noundef 2000) store i32 %119, ptr %22, align 4 %120 = icmp sgt i32 %119, 0 br i1 %120, label %121, label %126 121: ; preds = %117 %122 = load i32, ptr %19, align 4 %123 = getelementptr inbounds [2000 x i8], ptr %21, i64 0, i64 0 %124 = load i32, ptr %22, align 4 %125 = call i32 @write(i32 noundef %122, ptr noundef %123, i32 noundef %124) br label %117, !llvm.loop !6 126: ; preds = %117 %127 = load i32, ptr %18, align 4 %128 = call i32 @close(i32 noundef %127) %129 = getelementptr inbounds [2000 x i8], ptr %9, i64 0, i64 0 %130 = load i32, ptr @O_CREAT, align 4 %131 = load i32, ptr @O_WRONLY, align 4 %132 = or i32 %130, %131 %133 = load i32, ptr @O_TRUNC, align 4 %134 = or i32 %132, %133 %135 = load i32, ptr @S_IRUSR, align 4 %136 = load i32, ptr @S_IWUSR, align 4 %137 = or i32 %135, %136 %138 = call i32 (ptr, i32, ...) @open(ptr noundef %129, i32 noundef %134, i32 noundef %137) store i32 %138, ptr %20, align 4 %139 = icmp ne i32 %138, -1 br i1 %139, label %140, label %145 140: ; preds = %126 %141 = load i32, ptr %20, align 4 %142 = call i32 @write(i32 noundef %141, ptr noundef @.str.12, i32 noundef 12) %143 = load i32, ptr %20, align 4 %144 = call i32 @close(i32 noundef %143) br label %145 145: ; preds = %140, %126 %146 = load i32, ptr %19, align 4 %147 = load i32, ptr @LOCK_UN, align 4 %148 = call i32 @flock(i32 noundef %146, i32 noundef %147) %149 = load i32, ptr %19, align 4 %150 = call i32 @close(i32 noundef %149) br label %161 151: ; preds = %109, %97, %92 %152 = load i32, ptr @stderr, align 4 %153 = load ptr, ptr %5, align 8 %154 = getelementptr inbounds ptr, ptr %153, i64 0 %155 = load ptr, ptr %154, align 8 %156 = load ptr, ptr %12, align 8 %157 = getelementptr inbounds [2000 x i8], ptr %8, i64 0, i64 0 %158 = load i32, ptr @errno, align 4 %159 = call ptr @strerror(i32 noundef %158) %160 = call i32 (i32, ptr, ptr, ptr, ...) @fprintf(i32 noundef %152, ptr noundef @.str.13, ptr noundef %155, ptr noundef %156, ptr noundef %157, ptr noundef %159) br label %161 161: ; preds = %151, %145 br label %162 162: ; preds = %161, %80 br label %163 163: ; preds = %162, %38 %164 = load ptr, ptr %5, align 8 %165 = call i32 @execv(ptr noundef @.str.14, ptr noundef %164) %166 = icmp eq i32 %165, -1 br i1 %166, label %167, label %175 167: ; preds = %163 %168 = load i32, ptr @stderr, align 4 %169 = load ptr, ptr %5, align 8 %170 = getelementptr inbounds ptr, ptr %169, i64 0 %171 = load ptr, ptr %170, align 8 %172 = load i32, ptr @errno, align 4 %173 = call ptr @strerror(i32 noundef %172) %174 = call i32 (i32, ptr, ptr, ptr, ...) @fprintf(i32 noundef %168, ptr noundef @.str.15, ptr noundef %171, ptr noundef %173) br label %175 175: ; preds = %167, %163 %176 = load i32, ptr %3, align 4 ret i32 %176 } declare ptr @getenv(ptr noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @setenv(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @strtok(ptr noundef, ptr noundef) #1 declare i64 @time(ptr noundef) #1 declare i32 @atol(ptr noundef) #1 declare i32 @stat(ptr noundef, ptr noundef) #1 declare i32 @unlink(ptr noundef) #1 declare i32 @open(ptr noundef, i32 noundef, ...) #1 declare i32 @flock(i32 noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ...) #1 declare ptr @strerror(i32 noundef) #1 declare i32 @execv(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/tmpeo7rxva5.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.stat = type { i64, i64 } @.str = private unnamed_addr constant [12 x i8] c"WEBDAV_USER\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"REDIRECT_WEBDAV_USER\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"REMOTE_USER\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"REDIRECT_REMOTE_USER\00", align 1 @.str.4 = private unnamed_addr constant [25 x i8] c"/tmp/krb5cc_webdavcgi_%s\00", align 1 @.str.5 = private unnamed_addr constant [29 x i8] c"/tmp/krb5cc_webdavcgi_age_%s\00", align 1 @.str.6 = private unnamed_addr constant [11 x i8] c"KRB5CCNAME\00", align 1 @.str.7 = private unnamed_addr constant [8 x i8] c"FILE:%s\00", align 1 @.str.8 = private unnamed_addr constant [16 x i8] c"WEBDAVISWRAPPED\00", align 1 @.str.9 = private unnamed_addr constant [5 x i8] c"TRUE\00", align 1 @.str.10 = private unnamed_addr constant [2 x i8] c":\00", align 1 @.str.11 = private unnamed_addr constant [16 x i8] c"TICKET_LIFETIME\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 @O_WRONLY = dso_local global i32 0, align 4 @O_TRUNC = dso_local global i32 0, align 4 @S_IRUSR = dso_local global i32 0, align 4 @S_IWUSR = dso_local global i32 0, align 4 @LOCK_EX = dso_local global i32 0, align 4 @LOCK_NB = dso_local global i32 0, align 4 @.str.12 = private unnamed_addr constant [13 x i8] c"age checking\00", align 1 @LOCK_UN = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.13 = private unnamed_addr constant [37 x i8] c"%s: ERROR: Cannot copy %s to %s: %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.14 = private unnamed_addr constant [10 x i8] c"webdav.pl\00", align 1 @.str.15 = private unnamed_addr constant [41 x i8] c"%s: ERROR: Cannot execute webdav.pl: %s\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 [2000 x i8], align 16 %9 = alloca [2000 x i8], align 16 %10 = alloca ptr, align 8 %11 = alloca [2000 x i8], align 16 %12 = alloca ptr, align 8 %13 = alloca %struct.stat, align 8 %14 = alloca i64, align 8 %15 = alloca ptr, align 8 %16 = alloca i64, align 8 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca [2000 x i8], align 16 %22 = 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 %6, align 8 %23 = call ptr @getenv(ptr noundef @.str) store ptr %23, ptr %7, align 8 %24 = load ptr, ptr %7, align 8 %25 = icmp eq ptr %24, null br i1 %25, label %26, label %28 26: ; preds = %2 %27 = call ptr @getenv(ptr noundef @.str.1) store ptr %27, ptr %7, align 8 br label %28 28: ; preds = %26, %2 %29 = load ptr, ptr %7, align 8 %30 = icmp eq ptr %29, null br i1 %30, label %31, label %33 31: ; preds = %28 %32 = call ptr @getenv(ptr noundef @.str.2) store ptr %32, ptr %7, align 8 br label %33 33: ; preds = %31, %28 %34 = load ptr, ptr %7, align 8 %35 = icmp eq ptr %34, null br i1 %35, label %36, label %38 36: ; preds = %33 %37 = call ptr @getenv(ptr noundef @.str.3) store ptr %37, ptr %7, align 8 br label %38 38: ; preds = %36, %33 %39 = getelementptr inbounds [2000 x i8], ptr %8, i64 0, i64 0 %40 = load ptr, ptr %7, align 8 %41 = call i32 @snprintf(ptr noundef %39, i32 noundef 2000, ptr noundef @.str.4, ptr noundef %40) %42 = getelementptr inbounds [2000 x i8], ptr %9, i64 0, i64 0 %43 = load ptr, ptr %7, align 8 %44 = call i32 @snprintf(ptr noundef %42, i32 noundef 2000, ptr noundef @.str.5, ptr noundef %43) %45 = call ptr @getenv(ptr noundef @.str.6) store ptr %45, ptr %10, align 8 %46 = getelementptr inbounds [2000 x i8], ptr %11, i64 0, i64 0 %47 = getelementptr inbounds [2000 x i8], ptr %8, i64 0, i64 0 %48 = call i32 @snprintf(ptr noundef %46, i32 noundef 2000, ptr noundef @.str.7, ptr noundef %47) %49 = getelementptr inbounds [2000 x i8], ptr %11, i64 0, i64 0 %50 = call i32 @setenv(ptr noundef @.str.6, ptr noundef %49, i32 noundef 1) %51 = call i32 @setenv(ptr noundef @.str.8, ptr noundef @.str.9, i32 noundef 1) %52 = load ptr, ptr %10, align 8 %53 = icmp ne ptr %52, null br i1 %53, label %54, label %165 54: ; preds = %38 %55 = load ptr, ptr %10, align 8 %56 = call ptr @strtok(ptr noundef %55, ptr noundef @.str.10) %57 = call ptr @strtok(ptr noundef null, ptr noundef @.str.10) store ptr %57, ptr %12, align 8 %58 = call i64 @time(ptr noundef null) store i64 %58, ptr %14, align 8 %59 = call ptr @getenv(ptr noundef @.str.11) store ptr %59, ptr %15, align 8 %60 = load ptr, ptr %15, align 8 %61 = icmp ne ptr %60, null br i1 %61, label %62, label %65 62: ; preds = %54 %63 = load ptr, ptr %15, align 8 %64 = call i32 @atol(ptr noundef %63) br label %66 65: ; preds = %54 br label %66 66: ; preds = %65, %62 %67 = phi i32 [ %64, %62 ], [ 28800, %65 ] %68 = sext i32 %67 to i64 store i64 %68, ptr %16, align 8 %69 = getelementptr inbounds [2000 x i8], ptr %9, i64 0, i64 0 %70 = call i32 @stat(ptr noundef %69, ptr noundef %13) store i32 %70, ptr %17, align 4 %71 = load i32, ptr %17, align 4 %72 = icmp eq i32 %71, -1 br i1 %72, label %84, label %73 73: ; preds = %66 %74 = load i64, ptr %14, align 8 %75 = getelementptr inbounds %struct.stat, ptr %13, i32 0, i32 0 %76 = load i64, ptr %75, align 8 %77 = sub nsw i64 %74, %76 %78 = load i64, ptr %16, align 8 %79 = icmp sgt i64 %77, %78 br i1 %79, label %84, label %80 80: ; preds = %73 %81 = getelementptr inbounds %struct.stat, ptr %13, i32 0, i32 1 %82 = load i64, ptr %81, align 8 %83 = icmp eq i64 %82, 0 br i1 %83, label %84, label %164 84: ; preds = %80, %73, %66 %85 = load i32, ptr %17, align 4 %86 = icmp eq i32 %85, 0 br i1 %86, label %87, label %92 87: ; preds = %84 %88 = getelementptr inbounds [2000 x i8], ptr %8, i64 0, i64 0 %89 = call i32 @unlink(ptr noundef %88) %90 = getelementptr inbounds [2000 x i8], ptr %9, i64 0, i64 0 %91 = call i32 @unlink(ptr noundef %90) br label %92 92: ; preds = %87, %84 %93 = load ptr, ptr %12, align 8 %94 = load i32, ptr @O_RDONLY, align 4 %95 = call i32 (ptr, i32, ...) @open(ptr noundef %93, i32 noundef %94) store i32 %95, ptr %18, align 4 %96 = icmp ne i32 %95, -1 br i1 %96, label %97, label %153 97: ; preds = %92 %98 = getelementptr inbounds [2000 x i8], ptr %8, i64 0, i64 0 %99 = load i32, ptr @O_CREAT, align 4 %100 = load i32, ptr @O_WRONLY, align 4 %101 = or i32 %99, %100 %102 = load i32, ptr @O_TRUNC, align 4 %103 = or i32 %101, %102 %104 = load i32, ptr @S_IRUSR, align 4 %105 = load i32, ptr @S_IWUSR, align 4 %106 = or i32 %104, %105 %107 = call i32 (ptr, i32, ...) @open(ptr noundef %98, i32 noundef %103, i32 noundef %106) store i32 %107, ptr %19, align 4 %108 = icmp ne i32 %107, -1 br i1 %108, label %109, label %153 109: ; preds = %97 %110 = load i32, ptr %19, align 4 %111 = load i32, ptr @LOCK_EX, align 4 %112 = load i32, ptr @LOCK_NB, align 4 %113 = or i32 %111, %112 %114 = call i32 @flock(i32 noundef %110, i32 noundef %113) %115 = icmp ne i32 %114, -1 br i1 %115, label %116, label %153 116: ; preds = %109 %117 = load i32, ptr %18, align 4 %118 = call i32 @read(i32 noundef %117, ptr noundef %21, i32 noundef 2000) store i32 %118, ptr %22, align 4 %119 = icmp sgt i32 %118, 0 br i1 %119, label %.lr.ph, label %128 .lr.ph: ; preds = %116 br label %120 120: ; preds = %.lr.ph, %120 %121 = load i32, ptr %19, align 4 %122 = getelementptr inbounds [2000 x i8], ptr %21, i64 0, i64 0 %123 = load i32, ptr %22, align 4 %124 = call i32 @write(i32 noundef %121, ptr noundef %122, i32 noundef %123) %125 = load i32, ptr %18, align 4 %126 = call i32 @read(i32 noundef %125, ptr noundef %21, i32 noundef 2000) store i32 %126, ptr %22, align 4 %127 = icmp sgt i32 %126, 0 br i1 %127, label %120, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %120 br label %128 128: ; preds = %._crit_edge, %116 %129 = load i32, ptr %18, align 4 %130 = call i32 @close(i32 noundef %129) %131 = getelementptr inbounds [2000 x i8], ptr %9, i64 0, i64 0 %132 = load i32, ptr @O_CREAT, align 4 %133 = load i32, ptr @O_WRONLY, align 4 %134 = or i32 %132, %133 %135 = load i32, ptr @O_TRUNC, align 4 %136 = or i32 %134, %135 %137 = load i32, ptr @S_IRUSR, align 4 %138 = load i32, ptr @S_IWUSR, align 4 %139 = or i32 %137, %138 %140 = call i32 (ptr, i32, ...) @open(ptr noundef %131, i32 noundef %136, i32 noundef %139) store i32 %140, ptr %20, align 4 %141 = icmp ne i32 %140, -1 br i1 %141, label %142, label %147 142: ; preds = %128 %143 = load i32, ptr %20, align 4 %144 = call i32 @write(i32 noundef %143, ptr noundef @.str.12, i32 noundef 12) %145 = load i32, ptr %20, align 4 %146 = call i32 @close(i32 noundef %145) br label %147 147: ; preds = %142, %128 %148 = load i32, ptr %19, align 4 %149 = load i32, ptr @LOCK_UN, align 4 %150 = call i32 @flock(i32 noundef %148, i32 noundef %149) %151 = load i32, ptr %19, align 4 %152 = call i32 @close(i32 noundef %151) br label %163 153: ; preds = %109, %97, %92 %154 = load i32, ptr @stderr, align 4 %155 = load ptr, ptr %5, align 8 %156 = getelementptr inbounds ptr, ptr %155, i64 0 %157 = load ptr, ptr %156, align 8 %158 = load ptr, ptr %12, align 8 %159 = getelementptr inbounds [2000 x i8], ptr %8, i64 0, i64 0 %160 = load i32, ptr @errno, align 4 %161 = call ptr @strerror(i32 noundef %160) %162 = call i32 (i32, ptr, ptr, ptr, ...) @fprintf(i32 noundef %154, ptr noundef @.str.13, ptr noundef %157, ptr noundef %158, ptr noundef %159, ptr noundef %161) br label %163 163: ; preds = %153, %147 br label %164 164: ; preds = %163, %80 br label %165 165: ; preds = %164, %38 %166 = load ptr, ptr %5, align 8 %167 = call i32 @execv(ptr noundef @.str.14, ptr noundef %166) %168 = icmp eq i32 %167, -1 br i1 %168, label %169, label %177 169: ; preds = %165 %170 = load i32, ptr @stderr, align 4 %171 = load ptr, ptr %5, align 8 %172 = getelementptr inbounds ptr, ptr %171, i64 0 %173 = load ptr, ptr %172, align 8 %174 = load i32, ptr @errno, align 4 %175 = call ptr @strerror(i32 noundef %174) %176 = call i32 (i32, ptr, ptr, ptr, ...) @fprintf(i32 noundef %170, ptr noundef @.str.15, ptr noundef %173, ptr noundef %175) br label %177 177: ; preds = %169, %165 %178 = load i32, ptr %3, align 4 ret i32 %178 } declare ptr @getenv(ptr noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @setenv(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @strtok(ptr noundef, ptr noundef) #1 declare i64 @time(ptr noundef) #1 declare i32 @atol(ptr noundef) #1 declare i32 @stat(ptr noundef, ptr noundef) #1 declare i32 @unlink(ptr noundef) #1 declare i32 @open(ptr noundef, i32 noundef, ...) #1 declare i32 @flock(i32 noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ...) #1 declare ptr @strerror(i32 noundef) #1 declare i32 @execv(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/tmppujmd3ns.c' source_filename = "/tmp/tmppujmd3ns.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" @toBinary.b = internal global [9 x i8] zeroinitializer, align 1 @.str = private unnamed_addr constant [2 x i8] c"1\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"0\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @toBinary(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i8 0, ptr @toBinary.b, align 1 store i32 128, ptr %3, align 4 br label %4 4: ; preds = %16, %1 %5 = load i32, ptr %3, align 4 %6 = icmp sgt i32 %5, 0 br i1 %6, label %7, label %19 7: ; preds = %4 %8 = load i32, ptr %2, align 4 %9 = load i32, ptr %3, align 4 %10 = and i32 %8, %9 %11 = load i32, ptr %3, align 4 %12 = icmp eq i32 %10, %11 %13 = zext i1 %12 to i64 %14 = select i1 %12, ptr @.str, ptr @.str.1 %15 = call i32 @strcat(ptr noundef @toBinary.b, ptr noundef %14) br label %16 16: ; preds = %7 %17 = load i32, ptr %3, align 4 %18 = ashr i32 %17, 1 store i32 %18, ptr %3, align 4 br label %4, !llvm.loop !6 19: ; preds = %4 ret ptr @toBinary.b } declare i32 @strcat(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/tmppujmd3ns.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" @toBinary.b = internal global [9 x i8] zeroinitializer, align 1 @.str = private unnamed_addr constant [2 x i8] c"1\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"0\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @toBinary(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i8 0, ptr @toBinary.b, align 1 store i32 128, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp sgt i32 %4, 0 br i1 %5, label %.lr.ph, label %20 .lr.ph: ; preds = %1 br label %6 6: ; preds = %.lr.ph, %15 %7 = load i32, ptr %2, align 4 %8 = load i32, ptr %3, align 4 %9 = and i32 %7, %8 %10 = load i32, ptr %3, align 4 %11 = icmp eq i32 %9, %10 %12 = zext i1 %11 to i64 %13 = select i1 %11, ptr @.str, ptr @.str.1 %14 = call i32 @strcat(ptr noundef @toBinary.b, ptr noundef %13) br label %15 15: ; preds = %6 %16 = load i32, ptr %3, align 4 %17 = ashr i32 %16, 1 store i32 %17, ptr %3, align 4 %18 = load i32, ptr %3, align 4 %19 = icmp sgt i32 %18, 0 br i1 %19, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %15 br label %20 20: ; preds = %._crit_edge, %1 ret ptr @toBinary.b } declare i32 @strcat(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/tmp898k9sc_.c' source_filename = "/tmp/tmp898k9sc_.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 [59 x i8] c"\0ABLZ - (c) CUE 2011\0ABottom LZ coding for Nintendo GBA/DS\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Title() #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/tmp898k9sc_.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 [59 x i8] c"\0ABLZ - (c) CUE 2011\0ABottom LZ coding for Nintendo GBA/DS\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Title() #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/tmpqqmw6xpe.c' source_filename = "/tmp/tmpqqmw6xpe.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/tmpqqmw6xpe.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/tmp_o20gi14.c' source_filename = "/tmp/tmp_o20gi14.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 zeroext i16 @gr_what_is() #0 { %1 = alloca i32, align 4 %2 = alloca i16, align 2 %3 = call i32 @get_rand(i32 noundef 1, i32 noundef 91) store i32 %3, ptr %1, align 4 %4 = load i32, ptr %1, align 4 %5 = icmp sle i32 %4, 30 br i1 %5, label %6, label %7 6: ; preds = %0 store i16 4, ptr %2, align 2 br label %33 7: ; preds = %0 %8 = load i32, ptr %1, align 4 %9 = icmp sle i32 %8, 60 br i1 %9, label %10, label %11 10: ; preds = %7 store i16 8, ptr %2, align 2 br label %32 11: ; preds = %7 %12 = load i32, ptr %1, align 4 %13 = icmp sle i32 %12, 64 br i1 %13, label %14, label %15 14: ; preds = %11 store i16 64, ptr %2, align 2 br label %31 15: ; preds = %11 %16 = load i32, ptr %1, align 4 %17 = icmp sle i32 %16, 74 br i1 %17, label %18, label %19 18: ; preds = %15 store i16 2, ptr %2, align 2 br label %30 19: ; preds = %15 %20 = load i32, ptr %1, align 4 %21 = icmp sle i32 %20, 83 br i1 %21, label %22, label %23 22: ; preds = %19 store i16 1, ptr %2, align 2 br label %29 23: ; preds = %19 %24 = load i32, ptr %1, align 4 %25 = icmp sle i32 %24, 88 br i1 %25, label %26, label %27 26: ; preds = %23 store i16 32, ptr %2, align 2 br label %28 27: ; preds = %23 store i16 128, ptr %2, align 2 br label %28 28: ; preds = %27, %26 br label %29 29: ; preds = %28, %22 br label %30 30: ; preds = %29, %18 br label %31 31: ; preds = %30, %14 br label %32 32: ; preds = %31, %10 br label %33 33: ; preds = %32, %6 %34 = load i16, ptr %2, align 2 ret i16 %34 } declare i32 @get_rand(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_o20gi14.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 zeroext i16 @gr_what_is() #0 { %1 = alloca i32, align 4 %2 = alloca i16, align 2 %3 = call i32 @get_rand(i32 noundef 1, i32 noundef 91) store i32 %3, ptr %1, align 4 %4 = load i32, ptr %1, align 4 %5 = icmp sle i32 %4, 30 br i1 %5, label %6, label %7 6: ; preds = %0 store i16 4, ptr %2, align 2 br label %33 7: ; preds = %0 %8 = load i32, ptr %1, align 4 %9 = icmp sle i32 %8, 60 br i1 %9, label %10, label %11 10: ; preds = %7 store i16 8, ptr %2, align 2 br label %32 11: ; preds = %7 %12 = load i32, ptr %1, align 4 %13 = icmp sle i32 %12, 64 br i1 %13, label %14, label %15 14: ; preds = %11 store i16 64, ptr %2, align 2 br label %31 15: ; preds = %11 %16 = load i32, ptr %1, align 4 %17 = icmp sle i32 %16, 74 br i1 %17, label %18, label %19 18: ; preds = %15 store i16 2, ptr %2, align 2 br label %30 19: ; preds = %15 %20 = load i32, ptr %1, align 4 %21 = icmp sle i32 %20, 83 br i1 %21, label %22, label %23 22: ; preds = %19 store i16 1, ptr %2, align 2 br label %29 23: ; preds = %19 %24 = load i32, ptr %1, align 4 %25 = icmp sle i32 %24, 88 br i1 %25, label %26, label %27 26: ; preds = %23 store i16 32, ptr %2, align 2 br label %28 27: ; preds = %23 store i16 128, ptr %2, align 2 br label %28 28: ; preds = %27, %26 br label %29 29: ; preds = %28, %22 br label %30 30: ; preds = %29, %18 br label %31 31: ; preds = %30, %14 br label %32 32: ; preds = %31, %10 br label %33 33: ; preds = %32, %6 %34 = load i16, ptr %2, align 2 ret i16 %34 } declare i32 @get_rand(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/tmprbqu1g_x.c' source_filename = "/tmp/tmprbqu1g_x.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/tmprbqu1g_x.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/tmpfift9c9u.c' source_filename = "/tmp/tmpfift9c9u.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 [51 x i8] c"Use useage: check_con_status 111.111.111.111:9999\0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"%s is Open!\0A\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"%s is Close!\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 i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %8, 2 br i1 %9, label %10, label %12 10: ; preds = %2 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 1, ptr %3, align 4 br label %33 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 1 %15 = load ptr, ptr %14, align 8 store ptr %15, ptr %6, align 8 %16 = load ptr, ptr %6, align 8 %17 = load ptr, ptr %6, align 8 %18 = call i32 @strlen(ptr noundef %17) %19 = call i32 @check_con_status(ptr noundef %16, i32 noundef %18) store i32 %19, ptr %7, align 4 %20 = load i32, ptr %7, align 4 %21 = icmp eq i32 %20, 0 br i1 %21, label %22, label %27 22: ; preds = %12 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 1 %25 = load ptr, ptr %24, align 8 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %25) br label %32 27: ; preds = %12 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds ptr, ptr %28, i64 1 %30 = load ptr, ptr %29, align 8 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %30) br label %32 32: ; preds = %27, %22 store i32 0, ptr %3, align 4 br label %33 33: ; preds = %32, %10 %34 = load i32, ptr %3, align 4 ret i32 %34 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @check_con_status(ptr noundef, i32 noundef) #1 declare i32 @strlen(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/tmpfift9c9u.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 [51 x i8] c"Use useage: check_con_status 111.111.111.111:9999\0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"%s is Open!\0A\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"%s is Close!\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 i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %8, 2 br i1 %9, label %10, label %12 10: ; preds = %2 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 1, ptr %3, align 4 br label %33 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 1 %15 = load ptr, ptr %14, align 8 store ptr %15, ptr %6, align 8 %16 = load ptr, ptr %6, align 8 %17 = load ptr, ptr %6, align 8 %18 = call i32 @strlen(ptr noundef %17) %19 = call i32 @check_con_status(ptr noundef %16, i32 noundef %18) store i32 %19, ptr %7, align 4 %20 = load i32, ptr %7, align 4 %21 = icmp eq i32 %20, 0 br i1 %21, label %22, label %27 22: ; preds = %12 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 1 %25 = load ptr, ptr %24, align 8 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %25) br label %32 27: ; preds = %12 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds ptr, ptr %28, i64 1 %30 = load ptr, ptr %29, align 8 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %30) br label %32 32: ; preds = %27, %22 store i32 0, ptr %3, align 4 br label %33 33: ; preds = %32, %10 %34 = load i32, ptr %3, align 4 ret i32 %34 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @check_con_status(ptr noundef, i32 noundef) #1 declare i32 @strlen(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/tmp9xc3un1t.c' source_filename = "/tmp/tmp9xc3un1t.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" @CLOCKS_PER_SEC = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @messe_int_bubble_sort_1(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca double, align 8 %6 = alloca double, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = call double (...) @clock() store double %7, ptr %5, align 8 %8 = load ptr, ptr %3, align 8 %9 = load i32, ptr %4, align 4 %10 = call i32 @int_bubble_sort_1(ptr noundef %8, i32 noundef %9) %11 = call double (...) @clock() store double %11, ptr %6, align 8 %12 = load double, ptr %6, align 8 %13 = load double, ptr %5, align 8 %14 = fsub double %12, %13 %15 = load double, ptr @CLOCKS_PER_SEC, align 8 %16 = fmul double 1.000000e+00, %15 %17 = fdiv double %14, %16 ret double %17 } declare double @clock(...) #1 declare i32 @int_bubble_sort_1(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/tmp9xc3un1t.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" @CLOCKS_PER_SEC = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @messe_int_bubble_sort_1(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca double, align 8 %6 = alloca double, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = call double (...) @clock() store double %7, ptr %5, align 8 %8 = load ptr, ptr %3, align 8 %9 = load i32, ptr %4, align 4 %10 = call i32 @int_bubble_sort_1(ptr noundef %8, i32 noundef %9) %11 = call double (...) @clock() store double %11, ptr %6, align 8 %12 = load double, ptr %6, align 8 %13 = load double, ptr %5, align 8 %14 = fsub double %12, %13 %15 = load double, ptr @CLOCKS_PER_SEC, align 8 %16 = fmul double 1.000000e+00, %15 %17 = fdiv double %14, %16 ret double %17 } declare double @clock(...) #1 declare i32 @int_bubble_sort_1(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/tmpkmrq8941.c' source_filename = "/tmp/tmpkmrq8941.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"%s\09%c%d,%%rax\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"movq\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cgldsw(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @lgen(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %3) ret void } declare i32 @lgen(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/tmpkmrq8941.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"%s\09%c%d,%%rax\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"movq\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cgldsw(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @lgen(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %3) ret void } declare i32 @lgen(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/tmpgrc0bdvn.c' source_filename = "/tmp/tmpgrc0bdvn.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" %union.Data = type { i32, [16 x i8] } @.str = private unnamed_addr constant [11 x i8] c"size = %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"data.i_ = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca %union.Data, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @printf(ptr noundef @.str, i32 noundef 20) store i32 10, ptr %2, align 4 store float 2.205000e+02, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @printf(ptr noundef @.str.1, i32 noundef %4) ret i32 0 } 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgrc0bdvn.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" %union.Data = type { i32, [16 x i8] } @.str = private unnamed_addr constant [11 x i8] c"size = %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"data.i_ = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca %union.Data, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @printf(ptr noundef @.str, i32 noundef 20) store i32 10, ptr %2, align 4 store float 2.205000e+02, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @printf(ptr noundef @.str.1, i32 noundef %4) ret i32 0 } 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"}
; ModuleID = '/tmp/tmp9vitt9mq.c' source_filename = "/tmp/tmp9vitt9mq.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" @TRUE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @init_screen(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call ptr (...) @initscr() %4 = load ptr, ptr %2, align 8 store ptr %3, ptr %4, align 8 %5 = call i32 (...) @cbreak() %6 = call i32 (...) @echo() %7 = load ptr, ptr %2, align 8 %8 = load ptr, ptr %7, align 8 %9 = load i32, ptr @TRUE, align 4 %10 = call i32 @keypad(ptr noundef %8, i32 noundef %9) ret void } declare ptr @initscr(...) #1 declare i32 @cbreak(...) #1 declare i32 @echo(...) #1 declare i32 @keypad(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/tmp9vitt9mq.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" @TRUE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @init_screen(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call ptr (...) @initscr() %4 = load ptr, ptr %2, align 8 store ptr %3, ptr %4, align 8 %5 = call i32 (...) @cbreak() %6 = call i32 (...) @echo() %7 = load ptr, ptr %2, align 8 %8 = load ptr, ptr %7, align 8 %9 = load i32, ptr @TRUE, align 4 %10 = call i32 @keypad(ptr noundef %8, i32 noundef %9) ret void } declare ptr @initscr(...) #1 declare i32 @cbreak(...) #1 declare i32 @echo(...) #1 declare i32 @keypad(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/tmpybqf218x.c' source_filename = "/tmp/tmpybqf218x.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 float @BackEaseIn(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = load float, ptr %2, align 4 %5 = fmul float %3, %4 %6 = load float, ptr %2, align 4 %7 = load float, ptr %2, align 4 %8 = load float, ptr %2, align 4 %9 = fpext float %8 to double %10 = fmul double %9, 0x400921FB54442D18 %11 = fptrunc double %10 to float %12 = call float @sin(float noundef %11) %13 = fmul float %7, %12 %14 = fneg float %13 %15 = call float @llvm.fmuladd.f32(float %5, float %6, float %14) ret float %15 } declare float @sin(float noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpybqf218x.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 float @BackEaseIn(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = load float, ptr %2, align 4 %5 = fmul float %3, %4 %6 = load float, ptr %2, align 4 %7 = load float, ptr %2, align 4 %8 = load float, ptr %2, align 4 %9 = fpext float %8 to double %10 = fmul double %9, 0x400921FB54442D18 %11 = fptrunc double %10 to float %12 = call float @sin(float noundef %11) %13 = fmul float %7, %12 %14 = fneg float %13 %15 = call float @llvm.fmuladd.f32(float %5, float %6, float %14) ret float %15 } declare float @sin(float noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #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"}
; ModuleID = '/tmp/tmp0yx_x902.c' source_filename = "/tmp/tmp0yx_x902.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 [8 x i8] c"0000000\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"1111111\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"YES\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"NO\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [120 x i8], align 16 store i32 0, ptr %1, align 4 %3 = getelementptr inbounds [120 x i8], ptr %2, i64 0, i64 0 %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) %5 = getelementptr inbounds [120 x i8], ptr %2, i64 0, i64 0 %6 = call ptr @strstr(ptr noundef %5, ptr noundef @.str.1) %7 = icmp ne ptr %6, null br i1 %7, label %12, label %8 8: ; preds = %0 %9 = getelementptr inbounds [120 x i8], ptr %2, i64 0, i64 0 %10 = call ptr @strstr(ptr noundef %9, ptr noundef @.str.2) %11 = icmp ne ptr %10, null br i1 %11, label %12, label %14 12: ; preds = %8, %0 %13 = call i32 @printf(ptr noundef @.str.3) br label %16 14: ; preds = %8 %15 = call i32 @printf(ptr noundef @.str.4) br label %16 16: ; preds = %14, %12 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare ptr @strstr(ptr noundef, 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0yx_x902.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 [8 x i8] c"0000000\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"1111111\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"YES\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"NO\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [120 x i8], align 16 store i32 0, ptr %1, align 4 %3 = getelementptr inbounds [120 x i8], ptr %2, i64 0, i64 0 %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) %5 = getelementptr inbounds [120 x i8], ptr %2, i64 0, i64 0 %6 = call ptr @strstr(ptr noundef %5, ptr noundef @.str.1) %7 = icmp ne ptr %6, null br i1 %7, label %12, label %8 8: ; preds = %0 %9 = getelementptr inbounds [120 x i8], ptr %2, i64 0, i64 0 %10 = call ptr @strstr(ptr noundef %9, ptr noundef @.str.2) %11 = icmp ne ptr %10, null br i1 %11, label %12, label %14 12: ; preds = %8, %0 %13 = call i32 @printf(ptr noundef @.str.3) br label %16 14: ; preds = %8 %15 = call i32 @printf(ptr noundef @.str.4) br label %16 16: ; preds = %14, %12 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare ptr @strstr(ptr noundef, 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"}
; ModuleID = '/tmp/tmp5_mevr05.c' source_filename = "/tmp/tmp5_mevr05.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 @dircmp(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 br label %6 6: ; preds = %130, %38, %2 %7 = load ptr, ptr %4, align 8 %8 = load i8, ptr %7, align 1 %9 = sext i8 %8 to i32 %10 = icmp ne i32 %9, 0 br i1 %10, label %11, label %16 11: ; preds = %6 %12 = load ptr, ptr %5, align 8 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp ne i32 %14, 0 br label %16 16: ; preds = %11, %6 %17 = phi i1 [ false, %6 ], [ %15, %11 ] br i1 %17, label %18, label %131 18: ; preds = %16 %19 = load ptr, ptr %4, align 8 %20 = load i8, ptr %19, align 1 %21 = call i64 @isalnum(i8 noundef signext %20) %22 = icmp ne i64 %21, 0 br i1 %22, label %43, label %23 23: ; preds = %18 %24 = load ptr, ptr %4, align 8 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp ne i32 %26, 32 br i1 %27, label %28, label %43 28: ; preds = %23 %29 = load ptr, ptr %5, align 8 %30 = load i8, ptr %29, align 1 %31 = call i64 @isalnum(i8 noundef signext %30) %32 = icmp ne i64 %31, 0 br i1 %32, label %43, label %33 33: ; preds = %28 %34 = load ptr, ptr %5, align 8 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = icmp ne i32 %36, 32 br i1 %37, label %38, label %43 38: ; preds = %33 %39 = load ptr, ptr %4, align 8 %40 = getelementptr inbounds i8, ptr %39, i32 1 store ptr %40, ptr %4, align 8 %41 = load ptr, ptr %5, align 8 %42 = getelementptr inbounds i8, ptr %41, i32 1 store ptr %42, ptr %5, align 8 br label %6, !llvm.loop !6 43: ; preds = %33, %28, %23, %18 %44 = load ptr, ptr %4, align 8 %45 = load i8, ptr %44, align 1 %46 = call i64 @isalnum(i8 noundef signext %45) %47 = icmp ne i64 %46, 0 br i1 %47, label %54, label %48 48: ; preds = %43 %49 = load ptr, ptr %4, align 8 %50 = load i8, ptr %49, align 1 %51 = sext i8 %50 to i32 %52 = icmp ne i32 %51, 32 br i1 %52, label %53, label %54 53: ; preds = %48 store i32 -1, ptr %3, align 4 br label %139 54: ; preds = %48, %43 %55 = load ptr, ptr %5, align 8 %56 = load i8, ptr %55, align 1 %57 = call i64 @isalnum(i8 noundef signext %56) %58 = icmp ne i64 %57, 0 br i1 %58, label %65, label %59 59: ; preds = %54 %60 = load ptr, ptr %5, align 8 %61 = load i8, ptr %60, align 1 %62 = sext i8 %61 to i32 %63 = icmp ne i32 %62, 32 br i1 %63, label %64, label %65 64: ; preds = %59 store i32 1, ptr %3, align 4 br label %139 65: ; preds = %59, %54 br label %66 66: ; preds = %65 br label %67 67: ; preds = %66 br label %68 68: ; preds = %104, %67 %69 = load ptr, ptr %4, align 8 %70 = load i8, ptr %69, align 1 %71 = call i64 @isalnum(i8 noundef signext %70) %72 = icmp ne i64 %71, 0 br i1 %72, label %73, label %78 73: ; preds = %68 %74 = load ptr, ptr %5, align 8 %75 = load i8, ptr %74, align 1 %76 = call i64 @isalnum(i8 noundef signext %75) %77 = icmp ne i64 %76, 0 br i1 %77, label %88, label %78 78: ; preds = %73, %68 %79 = load ptr, ptr %5, align 8 %80 = load i8, ptr %79, align 1 %81 = sext i8 %80 to i32 %82 = icmp eq i32 %81, 32 br i1 %82, label %83, label %96 83: ; preds = %78 %84 = load ptr, ptr %4, align 8 %85 = load i8, ptr %84, align 1 %86 = sext i8 %85 to i32 %87 = icmp eq i32 %86, 32 br i1 %87, label %88, label %96 88: ; preds = %83, %73 %89 = load ptr, ptr %4, align 8 %90 = load i8, ptr %89, align 1 %91 = sext i8 %90 to i32 %92 = load ptr, ptr %5, align 8 %93 = load i8, ptr %92, align 1 %94 = sext i8 %93 to i32 %95 = icmp eq i32 %91, %94 br label %96 96: ; preds = %88, %83, %78 %97 = phi i1 [ false, %83 ], [ false, %78 ], [ %95, %88 ] br i1 %97, label %98, label %109 98: ; preds = %96 %99 = load ptr, ptr %4, align 8 %100 = load i8, ptr %99, align 1 %101 = sext i8 %100 to i32 %102 = icmp eq i32 %101, 0 br i1 %102, label %103, label %104 103: ; preds = %98 store i32 0, ptr %3, align 4 br label %139 104: ; preds = %98 %105 = load ptr, ptr %4, align 8 %106 = getelementptr inbounds i8, ptr %105, i32 1 store ptr %106, ptr %4, align 8 %107 = load ptr, ptr %5, align 8 %108 = getelementptr inbounds i8, ptr %107, i32 1 store ptr %108, ptr %5, align 8 br label %68, !llvm.loop !8 109: ; preds = %96 %110 = load ptr, ptr %5, align 8 %111 = load i8, ptr %110, align 1 %112 = call i64 @isalnum(i8 noundef signext %111) %113 = icmp ne i64 %112, 0 br i1 %113, label %119, label %114 114: ; preds = %109 %115 = load ptr, ptr %5, align 8 %116 = load i8, ptr %115, align 1 %117 = sext i8 %116 to i32 %118 = icmp eq i32 %117, 32 br i1 %118, label %119, label %130 119: ; preds = %114, %109 %120 = load ptr, ptr %4, align 8 %121 = load i8, ptr %120, align 1 %122 = call i64 @isalnum(i8 noundef signext %121) %123 = icmp ne i64 %122, 0 br i1 %123, label %129, label %124 124: ; preds = %119 %125 = load ptr, ptr %4, align 8 %126 = load i8, ptr %125, align 1 %127 = sext i8 %126 to i32 %128 = icmp eq i32 %127, 32 br i1 %128, label %129, label %130 129: ; preds = %124, %119 br label %131 130: ; preds = %124, %114 br label %6, !llvm.loop !6 131: ; preds = %129, %16 %132 = load ptr, ptr %4, align 8 %133 = load i8, ptr %132, align 1 %134 = sext i8 %133 to i32 %135 = load ptr, ptr %5, align 8 %136 = load i8, ptr %135, align 1 %137 = sext i8 %136 to i32 %138 = sub nsw i32 %134, %137 store i32 %138, ptr %3, align 4 br label %139 139: ; preds = %131, %103, %64, %53 %140 = load i32, ptr %3, align 4 ret i32 %140 } declare i64 @isalnum(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/tmp5_mevr05.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 @dircmp(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 br label %6 6: ; preds = %.backedge, %2 %7 = load ptr, ptr %4, align 8 %8 = load i8, ptr %7, align 1 %9 = sext i8 %8 to i32 %10 = icmp ne i32 %9, 0 br i1 %10, label %11, label %16 11: ; preds = %6 %12 = load ptr, ptr %5, align 8 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp ne i32 %14, 0 br label %16 16: ; preds = %11, %6 %17 = phi i1 [ false, %6 ], [ %15, %11 ] br i1 %17, label %18, label %.loopexit 18: ; preds = %16 %19 = load ptr, ptr %4, align 8 %20 = load i8, ptr %19, align 1 %21 = call i64 @isalnum(i8 noundef signext %20) %22 = icmp ne i64 %21, 0 br i1 %22, label %43, label %23 23: ; preds = %18 %24 = load ptr, ptr %4, align 8 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp ne i32 %26, 32 br i1 %27, label %28, label %43 28: ; preds = %23 %29 = load ptr, ptr %5, align 8 %30 = load i8, ptr %29, align 1 %31 = call i64 @isalnum(i8 noundef signext %30) %32 = icmp ne i64 %31, 0 br i1 %32, label %43, label %33 33: ; preds = %28 %34 = load ptr, ptr %5, align 8 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = icmp ne i32 %36, 32 br i1 %37, label %38, label %43 38: ; preds = %33 %39 = load ptr, ptr %4, align 8 %40 = getelementptr inbounds i8, ptr %39, i32 1 store ptr %40, ptr %4, align 8 %41 = load ptr, ptr %5, align 8 %42 = getelementptr inbounds i8, ptr %41, i32 1 store ptr %42, ptr %5, align 8 br label %.backedge .backedge: ; preds = %38, %130 br label %6, !llvm.loop !6 43: ; preds = %33, %28, %23, %18 %44 = load ptr, ptr %4, align 8 %45 = load i8, ptr %44, align 1 %46 = call i64 @isalnum(i8 noundef signext %45) %47 = icmp ne i64 %46, 0 br i1 %47, label %54, label %48 48: ; preds = %43 %49 = load ptr, ptr %4, align 8 %50 = load i8, ptr %49, align 1 %51 = sext i8 %50 to i32 %52 = icmp ne i32 %51, 32 br i1 %52, label %53, label %54 53: ; preds = %48 store i32 -1, ptr %3, align 4 br label %139 54: ; preds = %48, %43 %55 = load ptr, ptr %5, align 8 %56 = load i8, ptr %55, align 1 %57 = call i64 @isalnum(i8 noundef signext %56) %58 = icmp ne i64 %57, 0 br i1 %58, label %65, label %59 59: ; preds = %54 %60 = load ptr, ptr %5, align 8 %61 = load i8, ptr %60, align 1 %62 = sext i8 %61 to i32 %63 = icmp ne i32 %62, 32 br i1 %63, label %64, label %65 64: ; preds = %59 store i32 1, ptr %3, align 4 br label %139 65: ; preds = %59, %54 br label %66 66: ; preds = %65 br label %67 67: ; preds = %66 br label %68 68: ; preds = %104, %67 %69 = load ptr, ptr %4, align 8 %70 = load i8, ptr %69, align 1 %71 = call i64 @isalnum(i8 noundef signext %70) %72 = icmp ne i64 %71, 0 br i1 %72, label %73, label %78 73: ; preds = %68 %74 = load ptr, ptr %5, align 8 %75 = load i8, ptr %74, align 1 %76 = call i64 @isalnum(i8 noundef signext %75) %77 = icmp ne i64 %76, 0 br i1 %77, label %88, label %78 78: ; preds = %73, %68 %79 = load ptr, ptr %5, align 8 %80 = load i8, ptr %79, align 1 %81 = sext i8 %80 to i32 %82 = icmp eq i32 %81, 32 br i1 %82, label %83, label %96 83: ; preds = %78 %84 = load ptr, ptr %4, align 8 %85 = load i8, ptr %84, align 1 %86 = sext i8 %85 to i32 %87 = icmp eq i32 %86, 32 br i1 %87, label %88, label %96 88: ; preds = %83, %73 %89 = load ptr, ptr %4, align 8 %90 = load i8, ptr %89, align 1 %91 = sext i8 %90 to i32 %92 = load ptr, ptr %5, align 8 %93 = load i8, ptr %92, align 1 %94 = sext i8 %93 to i32 %95 = icmp eq i32 %91, %94 br label %96 96: ; preds = %88, %83, %78 %97 = phi i1 [ false, %83 ], [ false, %78 ], [ %95, %88 ] br i1 %97, label %98, label %109 98: ; preds = %96 %99 = load ptr, ptr %4, align 8 %100 = load i8, ptr %99, align 1 %101 = sext i8 %100 to i32 %102 = icmp eq i32 %101, 0 br i1 %102, label %103, label %104 103: ; preds = %98 store i32 0, ptr %3, align 4 br label %139 104: ; preds = %98 %105 = load ptr, ptr %4, align 8 %106 = getelementptr inbounds i8, ptr %105, i32 1 store ptr %106, ptr %4, align 8 %107 = load ptr, ptr %5, align 8 %108 = getelementptr inbounds i8, ptr %107, i32 1 store ptr %108, ptr %5, align 8 br label %68, !llvm.loop !8 109: ; preds = %96 %110 = load ptr, ptr %5, align 8 %111 = load i8, ptr %110, align 1 %112 = call i64 @isalnum(i8 noundef signext %111) %113 = icmp ne i64 %112, 0 br i1 %113, label %119, label %114 114: ; preds = %109 %115 = load ptr, ptr %5, align 8 %116 = load i8, ptr %115, align 1 %117 = sext i8 %116 to i32 %118 = icmp eq i32 %117, 32 br i1 %118, label %119, label %130 119: ; preds = %114, %109 %120 = load ptr, ptr %4, align 8 %121 = load i8, ptr %120, align 1 %122 = call i64 @isalnum(i8 noundef signext %121) %123 = icmp ne i64 %122, 0 br i1 %123, label %129, label %124 124: ; preds = %119 %125 = load ptr, ptr %4, align 8 %126 = load i8, ptr %125, align 1 %127 = sext i8 %126 to i32 %128 = icmp eq i32 %127, 32 br i1 %128, label %129, label %130 129: ; preds = %124, %119 br label %131 130: ; preds = %124, %114 br label %.backedge .loopexit: ; preds = %16 br label %131 131: ; preds = %.loopexit, %129 %132 = load ptr, ptr %4, align 8 %133 = load i8, ptr %132, align 1 %134 = sext i8 %133 to i32 %135 = load ptr, ptr %5, align 8 %136 = load i8, ptr %135, align 1 %137 = sext i8 %136 to i32 %138 = sub nsw i32 %134, %137 store i32 %138, ptr %3, align 4 br label %139 139: ; preds = %131, %103, %64, %53 %140 = load i32, ptr %3, align 4 ret i32 %140 } declare i64 @isalnum(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/tmpr6pex6fl.c' source_filename = "/tmp/tmpr6pex6fl.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 @pow_fun_uint8_t(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 store i32 1, ptr %5, align 4 store i32 0, ptr %6, align 4 br label %7 7: ; preds = %15, %2 %8 = load i32, ptr %6, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %11, label %18 11: ; preds = %7 %12 = load i32, ptr %3, align 4 %13 = load i32, ptr %5, align 4 %14 = mul nsw i32 %13, %12 store i32 %14, ptr %5, align 4 br label %15 15: ; preds = %11 %16 = load i32, ptr %6, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %6, align 4 br label %7, !llvm.loop !6 18: ; preds = %7 %19 = load i32, ptr %5, align 4 ret i32 %19 } 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/tmpr6pex6fl.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 @pow_fun_uint8_t(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 store i32 1, ptr %5, align 4 store i32 0, ptr %6, align 4 %7 = load i32, ptr %6, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %.lr.ph, label %20 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %14 %11 = load i32, ptr %3, align 4 %12 = load i32, ptr %5, align 4 %13 = mul nsw i32 %12, %11 store i32 %13, ptr %5, align 4 br label %14 14: ; preds = %10 %15 = load i32, ptr %6, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %6, align 4 %17 = load i32, ptr %6, align 4 %18 = load i32, ptr %4, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %20 20: ; preds = %._crit_edge, %2 %21 = load i32, ptr %5, align 4 ret i32 %21 } 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/tmpdz6p7iam.c' source_filename = "/tmp/tmpdz6p7iam.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 @str_hash_code(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @_xhasher(ptr noundef %3) ret i32 %4 } declare i32 @_xhasher(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/tmpdz6p7iam.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 @str_hash_code(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @_xhasher(ptr noundef %3) ret i32 %4 } declare i32 @_xhasher(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/tmpukwisz3d.c' source_filename = "/tmp/tmpukwisz3d.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"hello world 1\00", align 1 @EOF = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [14 x i8] c"hello world 2\00", align 1 @errno = dso_local global i32 0, align 4 ; 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 @puts(ptr noundef @.str) store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = load i32, ptr @EOF, align 4 %6 = icmp eq i32 %4, %5 %7 = zext i1 %6 to i32 %8 = call i32 @assert(i32 noundef %7) %9 = call i32 @puts(ptr noundef @.str.1) store i32 %9, ptr %2, align 4 %10 = load i32, ptr %2, align 4 %11 = load i32, ptr @EOF, align 4 %12 = icmp eq i32 %10, %11 %13 = zext i1 %12 to i32 %14 = call i32 @assert(i32 noundef %13) %15 = load i32, ptr @errno, align 4 ret i32 %15 } declare i32 @puts(ptr noundef) #1 declare i32 @assert(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/tmpukwisz3d.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"hello world 1\00", align 1 @EOF = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [14 x i8] c"hello world 2\00", align 1 @errno = dso_local global i32 0, align 4 ; 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 @puts(ptr noundef @.str) store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = load i32, ptr @EOF, align 4 %6 = icmp eq i32 %4, %5 %7 = zext i1 %6 to i32 %8 = call i32 @assert(i32 noundef %7) %9 = call i32 @puts(ptr noundef @.str.1) store i32 %9, ptr %2, align 4 %10 = load i32, ptr %2, align 4 %11 = load i32, ptr @EOF, align 4 %12 = icmp eq i32 %10, %11 %13 = zext i1 %12 to i32 %14 = call i32 @assert(i32 noundef %13) %15 = load i32, ptr @errno, align 4 ret i32 %15 } declare i32 @puts(ptr noundef) #1 declare i32 @assert(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/tmpgin6r5dv.c' source_filename = "/tmp/tmpgin6r5dv.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/tmpgin6r5dv.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/tmpp29vz_72.c' source_filename = "/tmp/tmpp29vz_72.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 [19 x i8] c"Set-Cookie: %s=%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @setCookie(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = icmp eq ptr %5, null br i1 %6, label %10, label %7 7: ; preds = %2 %8 = load ptr, ptr %4, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %11 10: ; preds = %7, %2 br label %15 11: ; preds = %7 %12 = load ptr, ptr %3, align 8 %13 = load ptr, ptr %4, align 8 %14 = call i32 @printf(ptr noundef @.str, ptr noundef %12, ptr noundef %13) br label %15 15: ; preds = %10, %11 ret void } declare i32 @printf(ptr 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/tmpp29vz_72.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 [19 x i8] c"Set-Cookie: %s=%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @setCookie(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = icmp eq ptr %5, null br i1 %6, label %10, label %7 7: ; preds = %2 %8 = load ptr, ptr %4, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %11 10: ; preds = %7, %2 br label %15 11: ; preds = %7 %12 = load ptr, ptr %3, align 8 %13 = load ptr, ptr %4, align 8 %14 = call i32 @printf(ptr noundef @.str, ptr noundef %12, ptr noundef %13) br label %15 15: ; preds = %11, %10 ret void } declare i32 @printf(ptr 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/tmp9eud624v.c' source_filename = "/tmp/tmp9eud624v.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 @clear_ok_packet() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %2, align 4 br label %3 3: ; preds = %14, %0 store i32 1, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp sgt i32 %4, 0 br i1 %5, label %6, label %13 6: ; preds = %3 %7 = call i32 (...) @read_packet() %8 = call i64 (...) @check_ok_packet() %9 = icmp ne i64 %8, 0 br i1 %9, label %10, label %12 10: ; preds = %6 %11 = call i32 (...) @parse_error_packet() store i32 0, ptr %1, align 4 br label %18 12: ; preds = %6 br label %13 13: ; preds = %12, %3 br label %14 14: ; preds = %13 %15 = load i32, ptr %2, align 4 %16 = icmp sgt i32 %15, 0 br i1 %16, label %3, label %17, !llvm.loop !6 17: ; preds = %14 store i32 1, ptr %1, align 4 br label %18 18: ; preds = %17, %10 %19 = load i32, ptr %1, align 4 ret i32 %19 } declare i32 @read_packet(...) #1 declare i64 @check_ok_packet(...) #1 declare i32 @parse_error_packet(...) #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/tmp9eud624v.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 @clear_ok_packet() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %2, align 4 br label %3 3: ; preds = %14, %0 store i32 1, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp sgt i32 %4, 0 br i1 %5, label %6, label %13 6: ; preds = %3 %7 = call i32 (...) @read_packet() %8 = call i64 (...) @check_ok_packet() %9 = icmp ne i64 %8, 0 br i1 %9, label %10, label %12 10: ; preds = %6 %11 = call i32 (...) @parse_error_packet() store i32 0, ptr %1, align 4 br label %18 12: ; preds = %6 br label %13 13: ; preds = %12, %3 br label %14 14: ; preds = %13 %15 = load i32, ptr %2, align 4 %16 = icmp sgt i32 %15, 0 br i1 %16, label %3, label %17, !llvm.loop !6 17: ; preds = %14 store i32 1, ptr %1, align 4 br label %18 18: ; preds = %17, %10 %19 = load i32, ptr %1, align 4 ret i32 %19 } declare i32 @read_packet(...) #1 declare i64 @check_ok_packet(...) #1 declare i32 @parse_error_packet(...) #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/tmpe47chnle.c' source_filename = "/tmp/tmpe47chnle.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: alwaysinline nounwind sspstrong uwtable define weak dso_local float @softboundmpx_sqrtf(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = call float @sqrtf(float noundef %3) #2 ret float %4 } ; Function Attrs: nounwind declare float @sqrtf(float noundef) #1 attributes #0 = { alwaysinline 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 = { nounwind "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 = { nounwind } !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/tmpe47chnle.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: alwaysinline nounwind sspstrong uwtable define weak dso_local float @softboundmpx_sqrtf(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = call float @sqrtf(float noundef %3) #2 ret float %4 } ; Function Attrs: nounwind declare float @sqrtf(float noundef) #1 attributes #0 = { alwaysinline 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 = { nounwind "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 = { nounwind } !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/tmp3acop5t3.c' source_filename = "/tmp/tmp3acop5t3.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 [7 x i8] c"Main!\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 i32 @printf(ptr noundef @.str) ret i32 0 } 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/tmp3acop5t3.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 [7 x i8] c"Main!\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 i32 @printf(ptr noundef @.str) ret i32 0 } 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/tmpf_tda0gy.c' source_filename = "/tmp/tmpf_tda0gy.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 @quick_sort(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 i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %6, align 4 %10 = icmp sge i32 %8, %9 br i1 %10, label %11, label %12 11: ; preds = %3 br label %25 12: ; preds = %3 %13 = load ptr, ptr %4, align 8 %14 = load i32, ptr %5, align 4 %15 = load i32, ptr %6, align 4 %16 = call i32 @partition_version2(ptr noundef %13, i32 noundef %14, i32 noundef %15) store i32 %16, ptr %7, align 4 %17 = load ptr, ptr %4, align 8 %18 = load i32, ptr %5, align 4 %19 = load i32, ptr %7, align 4 %20 = sub nsw i32 %19, 1 call void @quick_sort(ptr noundef %17, i32 noundef %18, i32 noundef %20) %21 = load ptr, ptr %4, align 8 %22 = load i32, ptr %7, align 4 %23 = add nsw i32 %22, 1 %24 = load i32, ptr %6, align 4 call void @quick_sort(ptr noundef %21, i32 noundef %23, i32 noundef %24) br label %25 25: ; preds = %12, %11 ret void } declare i32 @partition_version2(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/tmpf_tda0gy.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 @quick_sort(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 i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %6, align 4 %10 = icmp sge i32 %8, %9 br i1 %10, label %11, label %12 11: ; preds = %3 br label %25 12: ; preds = %3 %13 = load ptr, ptr %4, align 8 %14 = load i32, ptr %5, align 4 %15 = load i32, ptr %6, align 4 %16 = call i32 @partition_version2(ptr noundef %13, i32 noundef %14, i32 noundef %15) store i32 %16, ptr %7, align 4 %17 = load ptr, ptr %4, align 8 %18 = load i32, ptr %5, align 4 %19 = load i32, ptr %7, align 4 %20 = sub nsw i32 %19, 1 call void @quick_sort(ptr noundef %17, i32 noundef %18, i32 noundef %20) %21 = load ptr, ptr %4, align 8 %22 = load i32, ptr %7, align 4 %23 = add nsw i32 %22, 1 %24 = load i32, ptr %6, align 4 call void @quick_sort(ptr noundef %21, i32 noundef %23, i32 noundef %24) br label %25 25: ; preds = %12, %11 ret void } declare i32 @partition_version2(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/tmpa2sluavk.c' source_filename = "/tmp/tmpa2sluavk.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 @trim_char(ptr noundef %0, i8 noundef signext %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i8, align 1 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i8 %1, ptr %4, align 1 %6 = load ptr, ptr %3, align 8 %7 = call i32 @strlen(ptr noundef %6) %8 = sub nsw i32 %7, 1 store i32 %8, ptr %5, align 4 %9 = load ptr, ptr %3, align 8 %10 = load i32, ptr %5, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds i8, ptr %9, i64 %11 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = load i8, ptr %4, align 1 %16 = sext i8 %15 to i32 %17 = icmp ne i32 %14, %16 br i1 %17, label %18, label %19 18: ; preds = %2 br label %24 19: ; preds = %2 %20 = load ptr, ptr %3, align 8 %21 = load i32, ptr %5, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %20, i64 %22 store i8 0, ptr %23, align 1 br label %24 24: ; preds = %19, %18 ret void } declare i32 @strlen(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/tmpa2sluavk.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 @trim_char(ptr noundef %0, i8 noundef signext %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i8, align 1 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i8 %1, ptr %4, align 1 %6 = load ptr, ptr %3, align 8 %7 = call i32 @strlen(ptr noundef %6) %8 = sub nsw i32 %7, 1 store i32 %8, ptr %5, align 4 %9 = load ptr, ptr %3, align 8 %10 = load i32, ptr %5, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds i8, ptr %9, i64 %11 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = load i8, ptr %4, align 1 %16 = sext i8 %15 to i32 %17 = icmp ne i32 %14, %16 br i1 %17, label %18, label %19 18: ; preds = %2 br label %24 19: ; preds = %2 %20 = load ptr, ptr %3, align 8 %21 = load i32, ptr %5, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %20, i64 %22 store i8 0, ptr %23, align 1 br label %24 24: ; preds = %19, %18 ret void } declare i32 @strlen(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/tmpjc_o7idx.c' source_filename = "/tmp/tmpjc_o7idx.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 @extract_remote_host_and_filename(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 ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 %9 = call i64 @is_remote(ptr noundef %8) %10 = icmp ne i64 %9, 0 br i1 %10, label %11, label %20 11: ; preds = %3 %12 = load ptr, ptr %4, align 8 %13 = call ptr @strchr(ptr noundef %12, i8 noundef signext 58) store ptr %13, ptr %7, align 8 %14 = load ptr, ptr %7, align 8 store i8 0, ptr %14, align 1 %15 = load ptr, ptr %4, align 8 %16 = load ptr, ptr %5, align 8 store ptr %15, ptr %16, align 8 %17 = load ptr, ptr %7, align 8 %18 = getelementptr inbounds i8, ptr %17, i64 1 %19 = load ptr, ptr %6, align 8 store ptr %18, ptr %19, align 8 br label %24 20: ; preds = %3 %21 = load ptr, ptr %5, align 8 store ptr null, ptr %21, align 8 %22 = load ptr, ptr %4, align 8 %23 = load ptr, ptr %6, align 8 store ptr %22, ptr %23, align 8 br label %24 24: ; preds = %20, %11 ret void } declare i64 @is_remote(ptr noundef) #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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjc_o7idx.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 @extract_remote_host_and_filename(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 ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 %9 = call i64 @is_remote(ptr noundef %8) %10 = icmp ne i64 %9, 0 br i1 %10, label %11, label %20 11: ; preds = %3 %12 = load ptr, ptr %4, align 8 %13 = call ptr @strchr(ptr noundef %12, i8 noundef signext 58) store ptr %13, ptr %7, align 8 %14 = load ptr, ptr %7, align 8 store i8 0, ptr %14, align 1 %15 = load ptr, ptr %4, align 8 %16 = load ptr, ptr %5, align 8 store ptr %15, ptr %16, align 8 %17 = load ptr, ptr %7, align 8 %18 = getelementptr inbounds i8, ptr %17, i64 1 %19 = load ptr, ptr %6, align 8 store ptr %18, ptr %19, align 8 br label %24 20: ; preds = %3 %21 = load ptr, ptr %5, align 8 store ptr null, ptr %21, align 8 %22 = load ptr, ptr %4, align 8 %23 = load ptr, ptr %6, align 8 store ptr %22, ptr %23, align 8 br label %24 24: ; preds = %20, %11 ret void } declare i64 @is_remote(ptr noundef) #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"}
; ModuleID = '/tmp/tmp29go3mry.c' source_filename = "/tmp/tmp29go3mry.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 @uninitvar_strcat_s(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %10 = load ptr, ptr %7, align 8 %11 = load i64, ptr %9, align 8 %12 = load ptr, ptr %8, align 8 %13 = call i32 @strcat_s(ptr noundef %10, i64 noundef %11, ptr noundef %12) %14 = load ptr, ptr %7, align 8 %15 = load i64, ptr %5, align 8 %16 = load ptr, ptr %6, align 8 %17 = call i32 @strcat_s(ptr noundef %14, i64 noundef %15, ptr noundef %16) %18 = load ptr, ptr %4, align 8 %19 = load i64, ptr %5, align 8 %20 = load ptr, ptr %8, align 8 %21 = call i32 @strcat_s(ptr noundef %18, i64 noundef %19, ptr noundef %20) %22 = load ptr, ptr %4, align 8 %23 = load i64, ptr %9, align 8 %24 = load ptr, ptr %6, align 8 %25 = call i32 @strcat_s(ptr noundef %22, i64 noundef %23, ptr noundef %24) %26 = load ptr, ptr %4, align 8 %27 = load i64, ptr %5, align 8 %28 = load ptr, ptr %6, align 8 %29 = call i32 @strcat_s(ptr noundef %26, i64 noundef %27, ptr noundef %28) ret void } declare i32 @strcat_s(ptr noundef, i64 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/tmp29go3mry.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 @uninitvar_strcat_s(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %10 = load ptr, ptr %7, align 8 %11 = load i64, ptr %9, align 8 %12 = load ptr, ptr %8, align 8 %13 = call i32 @strcat_s(ptr noundef %10, i64 noundef %11, ptr noundef %12) %14 = load ptr, ptr %7, align 8 %15 = load i64, ptr %5, align 8 %16 = load ptr, ptr %6, align 8 %17 = call i32 @strcat_s(ptr noundef %14, i64 noundef %15, ptr noundef %16) %18 = load ptr, ptr %4, align 8 %19 = load i64, ptr %5, align 8 %20 = load ptr, ptr %8, align 8 %21 = call i32 @strcat_s(ptr noundef %18, i64 noundef %19, ptr noundef %20) %22 = load ptr, ptr %4, align 8 %23 = load i64, ptr %9, align 8 %24 = load ptr, ptr %6, align 8 %25 = call i32 @strcat_s(ptr noundef %22, i64 noundef %23, ptr noundef %24) %26 = load ptr, ptr %4, align 8 %27 = load i64, ptr %5, align 8 %28 = load ptr, ptr %6, align 8 %29 = call i32 @strcat_s(ptr noundef %26, i64 noundef %27, ptr noundef %28) ret void } declare i32 @strcat_s(ptr noundef, i64 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/tmpci0o3osc.c' source_filename = "/tmp/tmpci0o3osc.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 [37 x i8] c"Call this program with %i arguments\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%u\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 [1 x i8], align 1 %7 = alloca [1 x i8], align 1 %8 = alloca i32, align 4 %9 = alloca i8, align 1 %10 = 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 %11 = call i32 (...) @megaInit() %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %2 br label %18 18: ; preds = %17 store i32 0, ptr %8, align 4 br label %19 19: ; preds = %22, %18 %20 = load i32, ptr %8, align 4 %21 = icmp slt i32 %20, 1 br i1 %21, label %22, label %37 22: ; preds = %19 %23 = load ptr, ptr %5, align 8 %24 = load i32, ptr %8, align 4 %25 = add nsw i32 %24, 1 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds ptr, ptr %23, i64 %26 %28 = load ptr, ptr %27, align 8 %29 = call i64 @strtoul(ptr noundef %28, i32 noundef 0, i32 noundef 10) %30 = trunc i64 %29 to i8 store i8 %30, ptr %9, align 1 %31 = load i8, ptr %9, align 1 %32 = load i32, ptr %8, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [1 x i8], ptr %6, i64 0, i64 %33 store i8 %31, ptr %34, align 1 %35 = load i32, ptr %8, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %8, align 4 br label %19, !llvm.loop !6 37: ; preds = %19 %38 = getelementptr inbounds [1 x i8], ptr %6, i64 0, i64 0 %39 = getelementptr inbounds [1 x i8], ptr %7, i64 0, i64 0 %40 = call i32 @RandomFunc(ptr noundef %38, ptr noundef %39) %41 = getelementptr inbounds [1 x i8], ptr %7, i64 0, i64 0 %42 = load i8, ptr %41, align 1 %43 = zext i8 %42 to i32 %44 = icmp eq i32 %43, 50 br i1 %44, label %45, label %47 45: ; preds = %37 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %48 47: ; preds = %37 br label %48 48: ; preds = %47, %45 store i32 0, ptr %10, align 4 br label %49 49: ; preds = %52, %48 %50 = load i32, ptr %10, align 4 %51 = icmp slt i32 %50, 1 br i1 %51, label %52, label %61 52: ; preds = %49 %53 = load i32, ptr %10, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [1 x i8], ptr %7, i64 0, i64 %54 %56 = load i8, ptr %55, align 1 %57 = zext i8 %56 to i32 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %57) %59 = load i32, ptr %10, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %10, align 4 br label %49, !llvm.loop !8 61: ; preds = %49 %62 = load i32, ptr %3, align 4 ret i32 %62 } declare i32 @megaInit(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @RandomFunc(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" } 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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpci0o3osc.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 [37 x i8] c"Call this program with %i arguments\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%u\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 [1 x i8], align 1 %7 = alloca [1 x i8], align 1 %8 = alloca i32, align 4 %9 = alloca i8, align 1 %10 = 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 %11 = call i32 (...) @megaInit() %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %2 br label %18 18: ; preds = %17 store i32 0, ptr %8, align 4 %19 = load i32, ptr %8, align 4 %20 = icmp slt i32 %19, 1 br i1 %20, label %.lr.ph, label %38 .lr.ph: ; preds = %18 br label %21 21: ; preds = %.lr.ph, %21 %22 = load ptr, ptr %5, align 8 %23 = load i32, ptr %8, align 4 %24 = add nsw i32 %23, 1 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds ptr, ptr %22, i64 %25 %27 = load ptr, ptr %26, align 8 %28 = call i64 @strtoul(ptr noundef %27, i32 noundef 0, i32 noundef 10) %29 = trunc i64 %28 to i8 store i8 %29, ptr %9, align 1 %30 = load i8, ptr %9, align 1 %31 = load i32, ptr %8, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [1 x i8], ptr %6, i64 0, i64 %32 store i8 %30, ptr %33, align 1 %34 = load i32, ptr %8, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %8, align 4 %36 = load i32, ptr %8, align 4 %37 = icmp slt i32 %36, 1 br i1 %37, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %38 38: ; preds = %._crit_edge, %18 %39 = getelementptr inbounds [1 x i8], ptr %6, i64 0, i64 0 %40 = getelementptr inbounds [1 x i8], ptr %7, i64 0, i64 0 %41 = call i32 @RandomFunc(ptr noundef %39, ptr noundef %40) %42 = getelementptr inbounds [1 x i8], ptr %7, i64 0, i64 0 %43 = load i8, ptr %42, align 1 %44 = zext i8 %43 to i32 %45 = icmp eq i32 %44, 50 br i1 %45, label %46, label %48 46: ; preds = %38 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %49 48: ; preds = %38 br label %49 49: ; preds = %48, %46 store i32 0, ptr %10, align 4 %50 = load i32, ptr %10, align 4 %51 = icmp slt i32 %50, 1 br i1 %51, label %.lr.ph2, label %63 .lr.ph2: ; preds = %49 br label %52 52: ; preds = %.lr.ph2, %52 %53 = load i32, ptr %10, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [1 x i8], ptr %7, i64 0, i64 %54 %56 = load i8, ptr %55, align 1 %57 = zext i8 %56 to i32 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %57) %59 = load i32, ptr %10, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %10, align 4 %61 = load i32, ptr %10, align 4 %62 = icmp slt i32 %61, 1 br i1 %62, label %52, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %52 br label %63 63: ; preds = %._crit_edge3, %49 %64 = load i32, ptr %3, align 4 ret i32 %64 } declare i32 @megaInit(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @RandomFunc(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" } 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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp5d8a5720.c' source_filename = "/tmp/tmp5d8a5720.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 [801 x i8] c"embin - tool to encode, decode and upload MERA-400 binary streams\0AUsage: embin [options] input\0AOptions:\0A --help : print help\0A --output, -o <output> : output file name or serial port, stdout is used if no file name given\0A --decode|--encode, -d|-e : decode or encode (encode by default)\0A --speed, -s <baud> : baudrate to use when output is a serial port (9600 default)\0A --no-progress, -n : don't print progress bar during serial transmission\0A --continue, -c : continue decoding input stream after the first data block has ended.\0A this requires a filename specified with -o filename.\0A if more blocks are found, they are written in subsequent *_N files\0A --verbose, -v : be more verbose\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_help() #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/tmp5d8a5720.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 [801 x i8] c"embin - tool to encode, decode and upload MERA-400 binary streams\0AUsage: embin [options] input\0AOptions:\0A --help : print help\0A --output, -o <output> : output file name or serial port, stdout is used if no file name given\0A --decode|--encode, -d|-e : decode or encode (encode by default)\0A --speed, -s <baud> : baudrate to use when output is a serial port (9600 default)\0A --no-progress, -n : don't print progress bar during serial transmission\0A --continue, -c : continue decoding input stream after the first data block has ended.\0A this requires a filename specified with -o filename.\0A if more blocks are found, they are written in subsequent *_N files\0A --verbose, -v : be more verbose\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_help() #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/tmpkd2on2je.c' source_filename = "/tmp/tmpkd2on2je.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/tmpkd2on2je.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/tmpph3m8nw_.c' source_filename = "/tmp/tmpph3m8nw_.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 i64 @st_intsize(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 ret i64 4 } 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/tmpph3m8nw_.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 i64 @st_intsize(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 ret i64 4 } 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/tmpvg5is5xd.c' source_filename = "/tmp/tmpvg5is5xd.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/tmpvg5is5xd.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/tmpad5lgpb9.c' source_filename = "/tmp/tmpad5lgpb9.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 @backprop(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) #0 { %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca [64 x double], align 16 %20 = alloca [64 x double], align 16 %21 = alloca [3 x double], align 16 %22 = alloca [64 x double], align 16 %23 = alloca [64 x double], align 16 %24 = alloca [3 x double], align 16 %25 = alloca [3 x double], align 16 %26 = alloca [3 x double], align 16 %27 = alloca [832 x double], align 16 %28 = alloca [4096 x double], align 16 %29 = alloca [192 x double], align 16 %30 = alloca [64 x double], align 16 %31 = alloca [64 x double], align 16 store ptr %0, ptr %9, align 8 store ptr %1, ptr %10, align 8 store ptr %2, ptr %11, align 8 store ptr %3, ptr %12, align 8 store ptr %4, ptr %13, align 8 store ptr %5, ptr %14, align 8 store ptr %6, ptr %15, align 8 store ptr %7, ptr %16, align 8 store i32 0, ptr %17, align 4 br label %32 32: ; preds = %136, %8 %33 = load i32, ptr %17, align 4 %34 = icmp slt i32 %33, 163 br i1 %34, label %35, label %139 35: ; preds = %32 store i32 0, ptr %18, align 4 br label %36 36: ; preds = %53, %35 %37 = load i32, ptr %18, align 4 %38 = icmp slt i32 %37, 64 br i1 %38, label %39, label %56 39: ; preds = %36 %40 = load i32, ptr %18, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [64 x double], ptr %19, i64 0, i64 %41 store double 0.000000e+00, ptr %42, align 8 %43 = load i32, ptr %18, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds [64 x double], ptr %20, i64 0, i64 %44 store double 0.000000e+00, ptr %45, align 8 %46 = load i32, ptr %18, align 4 %47 = icmp slt i32 %46, 3 br i1 %47, label %48, label %52 48: ; preds = %39 %49 = load i32, ptr %18, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 %50 store double 0.000000e+00, ptr %51, align 8 br label %52 52: ; preds = %48, %39 br label %53 53: ; preds = %52 %54 = load i32, ptr %18, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %18, align 4 br label %36, !llvm.loop !6 56: ; preds = %36 %57 = load ptr, ptr %12, align 8 %58 = load ptr, ptr %9, align 8 %59 = getelementptr inbounds [64 x double], ptr %19, i64 0, i64 0 %60 = load ptr, ptr %15, align 8 %61 = load i32, ptr %17, align 4 %62 = mul nsw i32 %61, 13 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds double, ptr %60, i64 %63 %65 = call i32 @matrix_vector_product_with_bias_input_layer(ptr noundef %57, ptr noundef %58, ptr noundef %59, ptr noundef %64) %66 = getelementptr inbounds [64 x double], ptr %19, i64 0, i64 0 %67 = getelementptr inbounds [64 x double], ptr %22, i64 0, i64 0 %68 = call i32 @RELU(ptr noundef %66, ptr noundef %67, i32 noundef 64) %69 = load ptr, ptr %13, align 8 %70 = load ptr, ptr %10, align 8 %71 = getelementptr inbounds [64 x double], ptr %20, i64 0, i64 0 %72 = getelementptr inbounds [64 x double], ptr %19, i64 0, i64 0 %73 = call i32 @matrix_vector_product_with_bias_second_layer(ptr noundef %69, ptr noundef %70, ptr noundef %71, ptr noundef %72) %74 = getelementptr inbounds [64 x double], ptr %20, i64 0, i64 0 %75 = getelementptr inbounds [64 x double], ptr %23, i64 0, i64 0 %76 = call i32 @RELU(ptr noundef %74, ptr noundef %75, i32 noundef 64) %77 = load ptr, ptr %14, align 8 %78 = load ptr, ptr %11, align 8 %79 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 0 %80 = getelementptr inbounds [64 x double], ptr %20, i64 0, i64 0 %81 = call i32 @matrix_vector_product_with_bias_output_layer(ptr noundef %77, ptr noundef %78, ptr noundef %79, ptr noundef %80) %82 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 0 %83 = getelementptr inbounds [3 x double], ptr %24, i64 0, i64 0 %84 = call i32 @RELU(ptr noundef %82, ptr noundef %83, i32 noundef 3) %85 = getelementptr inbounds [3 x double], ptr %25, i64 0, i64 0 %86 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 0 %87 = call i32 @soft_max(ptr noundef %85, ptr noundef %86) %88 = getelementptr inbounds [3 x double], ptr %25, i64 0, i64 0 %89 = load ptr, ptr %16, align 8 %90 = load i32, ptr %17, align 4 %91 = mul nsw i32 %90, 3 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds double, ptr %89, i64 %92 %94 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0 %95 = getelementptr inbounds [3 x double], ptr %24, i64 0, i64 0 %96 = call i32 @take_difference(ptr noundef %88, ptr noundef %93, ptr noundef %94, ptr noundef %95) %97 = getelementptr inbounds [192 x double], ptr %29, i64 0, i64 0 %98 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0 %99 = getelementptr inbounds [64 x double], ptr %20, i64 0, i64 0 %100 = call i32 @get_delta_matrix_weights3(ptr noundef %97, ptr noundef %98, ptr noundef %99) %101 = load ptr, ptr %11, align 8 %102 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0 %103 = getelementptr inbounds [64 x double], ptr %31, i64 0, i64 0 %104 = getelementptr inbounds [64 x double], ptr %23, i64 0, i64 0 %105 = call i32 @get_oracle_activations2(ptr noundef %101, ptr noundef %102, ptr noundef %103, ptr noundef %104) %106 = getelementptr inbounds [4096 x double], ptr %28, i64 0, i64 0 %107 = getelementptr inbounds [64 x double], ptr %31, i64 0, i64 0 %108 = getelementptr inbounds [64 x double], ptr %19, i64 0, i64 0 %109 = call i32 @get_delta_matrix_weights2(ptr noundef %106, ptr noundef %107, ptr noundef %108) %110 = load ptr, ptr %10, align 8 %111 = getelementptr inbounds [64 x double], ptr %31, i64 0, i64 0 %112 = getelementptr inbounds [64 x double], ptr %30, i64 0, i64 0 %113 = getelementptr inbounds [64 x double], ptr %22, i64 0, i64 0 %114 = call i32 @get_oracle_activations1(ptr noundef %110, ptr noundef %111, ptr noundef %112, ptr noundef %113) %115 = getelementptr inbounds [832 x double], ptr %27, i64 0, i64 0 %116 = getelementptr inbounds [64 x double], ptr %30, i64 0, i64 0 %117 = load ptr, ptr %15, align 8 %118 = load i32, ptr %17, align 4 %119 = mul nsw i32 %118, 13 %120 = sext i32 %119 to i64 %121 = getelementptr inbounds double, ptr %117, i64 %120 %122 = call i32 @get_delta_matrix_weights1(ptr noundef %115, ptr noundef %116, ptr noundef %121) %123 = load ptr, ptr %9, align 8 %124 = load ptr, ptr %10, align 8 %125 = load ptr, ptr %11, align 8 %126 = getelementptr inbounds [832 x double], ptr %27, i64 0, i64 0 %127 = getelementptr inbounds [4096 x double], ptr %28, i64 0, i64 0 %128 = getelementptr inbounds [192 x double], ptr %29, i64 0, i64 0 %129 = load ptr, ptr %12, align 8 %130 = load ptr, ptr %13, align 8 %131 = load ptr, ptr %14, align 8 %132 = getelementptr inbounds [64 x double], ptr %30, i64 0, i64 0 %133 = getelementptr inbounds [64 x double], ptr %31, i64 0, i64 0 %134 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0 %135 = call i32 @update_weights(ptr noundef %123, ptr noundef %124, ptr noundef %125, ptr noundef %126, ptr noundef %127, ptr noundef %128, ptr noundef %129, ptr noundef %130, ptr noundef %131, ptr noundef %132, ptr noundef %133, ptr noundef %134) br label %136 136: ; preds = %56 %137 = load i32, ptr %17, align 4 %138 = add nsw i32 %137, 1 store i32 %138, ptr %17, align 4 br label %32, !llvm.loop !8 139: ; preds = %32 ret void } declare i32 @matrix_vector_product_with_bias_input_layer(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @RELU(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @matrix_vector_product_with_bias_second_layer(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @matrix_vector_product_with_bias_output_layer(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @soft_max(ptr noundef, ptr noundef) #1 declare i32 @take_difference(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @get_delta_matrix_weights3(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @get_oracle_activations2(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @get_delta_matrix_weights2(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @get_oracle_activations1(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @get_delta_matrix_weights1(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @update_weights(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpad5lgpb9.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 @backprop(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) #0 { %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca [64 x double], align 16 %20 = alloca [64 x double], align 16 %21 = alloca [3 x double], align 16 %22 = alloca [64 x double], align 16 %23 = alloca [64 x double], align 16 %24 = alloca [3 x double], align 16 %25 = alloca [3 x double], align 16 %26 = alloca [3 x double], align 16 %27 = alloca [832 x double], align 16 %28 = alloca [4096 x double], align 16 %29 = alloca [192 x double], align 16 %30 = alloca [64 x double], align 16 %31 = alloca [64 x double], align 16 store ptr %0, ptr %9, align 8 store ptr %1, ptr %10, align 8 store ptr %2, ptr %11, align 8 store ptr %3, ptr %12, align 8 store ptr %4, ptr %13, align 8 store ptr %5, ptr %14, align 8 store ptr %6, ptr %15, align 8 store ptr %7, ptr %16, align 8 store i32 0, ptr %17, align 4 %32 = load i32, ptr %17, align 4 %33 = icmp slt i32 %32, 163 br i1 %33, label %.lr.ph2, label %141 .lr.ph2: ; preds = %8 br label %34 34: ; preds = %.lr.ph2, %136 store i32 0, ptr %18, align 4 %35 = load i32, ptr %18, align 4 %36 = icmp slt i32 %35, 64 br i1 %36, label %.lr.ph, label %56 .lr.ph: ; preds = %34 br label %37 37: ; preds = %.lr.ph, %51 %38 = load i32, ptr %18, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds [64 x double], ptr %19, i64 0, i64 %39 store double 0.000000e+00, ptr %40, align 8 %41 = load i32, ptr %18, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds [64 x double], ptr %20, i64 0, i64 %42 store double 0.000000e+00, ptr %43, align 8 %44 = load i32, ptr %18, align 4 %45 = icmp slt i32 %44, 3 br i1 %45, label %46, label %50 46: ; preds = %37 %47 = load i32, ptr %18, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 %48 store double 0.000000e+00, ptr %49, align 8 br label %50 50: ; preds = %46, %37 br label %51 51: ; preds = %50 %52 = load i32, ptr %18, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %18, align 4 %54 = load i32, ptr %18, align 4 %55 = icmp slt i32 %54, 64 br i1 %55, label %37, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %51 br label %56 56: ; preds = %._crit_edge, %34 %57 = load ptr, ptr %12, align 8 %58 = load ptr, ptr %9, align 8 %59 = getelementptr inbounds [64 x double], ptr %19, i64 0, i64 0 %60 = load ptr, ptr %15, align 8 %61 = load i32, ptr %17, align 4 %62 = mul nsw i32 %61, 13 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds double, ptr %60, i64 %63 %65 = call i32 @matrix_vector_product_with_bias_input_layer(ptr noundef %57, ptr noundef %58, ptr noundef %59, ptr noundef %64) %66 = getelementptr inbounds [64 x double], ptr %19, i64 0, i64 0 %67 = getelementptr inbounds [64 x double], ptr %22, i64 0, i64 0 %68 = call i32 @RELU(ptr noundef %66, ptr noundef %67, i32 noundef 64) %69 = load ptr, ptr %13, align 8 %70 = load ptr, ptr %10, align 8 %71 = getelementptr inbounds [64 x double], ptr %20, i64 0, i64 0 %72 = getelementptr inbounds [64 x double], ptr %19, i64 0, i64 0 %73 = call i32 @matrix_vector_product_with_bias_second_layer(ptr noundef %69, ptr noundef %70, ptr noundef %71, ptr noundef %72) %74 = getelementptr inbounds [64 x double], ptr %20, i64 0, i64 0 %75 = getelementptr inbounds [64 x double], ptr %23, i64 0, i64 0 %76 = call i32 @RELU(ptr noundef %74, ptr noundef %75, i32 noundef 64) %77 = load ptr, ptr %14, align 8 %78 = load ptr, ptr %11, align 8 %79 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 0 %80 = getelementptr inbounds [64 x double], ptr %20, i64 0, i64 0 %81 = call i32 @matrix_vector_product_with_bias_output_layer(ptr noundef %77, ptr noundef %78, ptr noundef %79, ptr noundef %80) %82 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 0 %83 = getelementptr inbounds [3 x double], ptr %24, i64 0, i64 0 %84 = call i32 @RELU(ptr noundef %82, ptr noundef %83, i32 noundef 3) %85 = getelementptr inbounds [3 x double], ptr %25, i64 0, i64 0 %86 = getelementptr inbounds [3 x double], ptr %21, i64 0, i64 0 %87 = call i32 @soft_max(ptr noundef %85, ptr noundef %86) %88 = getelementptr inbounds [3 x double], ptr %25, i64 0, i64 0 %89 = load ptr, ptr %16, align 8 %90 = load i32, ptr %17, align 4 %91 = mul nsw i32 %90, 3 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds double, ptr %89, i64 %92 %94 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0 %95 = getelementptr inbounds [3 x double], ptr %24, i64 0, i64 0 %96 = call i32 @take_difference(ptr noundef %88, ptr noundef %93, ptr noundef %94, ptr noundef %95) %97 = getelementptr inbounds [192 x double], ptr %29, i64 0, i64 0 %98 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0 %99 = getelementptr inbounds [64 x double], ptr %20, i64 0, i64 0 %100 = call i32 @get_delta_matrix_weights3(ptr noundef %97, ptr noundef %98, ptr noundef %99) %101 = load ptr, ptr %11, align 8 %102 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0 %103 = getelementptr inbounds [64 x double], ptr %31, i64 0, i64 0 %104 = getelementptr inbounds [64 x double], ptr %23, i64 0, i64 0 %105 = call i32 @get_oracle_activations2(ptr noundef %101, ptr noundef %102, ptr noundef %103, ptr noundef %104) %106 = getelementptr inbounds [4096 x double], ptr %28, i64 0, i64 0 %107 = getelementptr inbounds [64 x double], ptr %31, i64 0, i64 0 %108 = getelementptr inbounds [64 x double], ptr %19, i64 0, i64 0 %109 = call i32 @get_delta_matrix_weights2(ptr noundef %106, ptr noundef %107, ptr noundef %108) %110 = load ptr, ptr %10, align 8 %111 = getelementptr inbounds [64 x double], ptr %31, i64 0, i64 0 %112 = getelementptr inbounds [64 x double], ptr %30, i64 0, i64 0 %113 = getelementptr inbounds [64 x double], ptr %22, i64 0, i64 0 %114 = call i32 @get_oracle_activations1(ptr noundef %110, ptr noundef %111, ptr noundef %112, ptr noundef %113) %115 = getelementptr inbounds [832 x double], ptr %27, i64 0, i64 0 %116 = getelementptr inbounds [64 x double], ptr %30, i64 0, i64 0 %117 = load ptr, ptr %15, align 8 %118 = load i32, ptr %17, align 4 %119 = mul nsw i32 %118, 13 %120 = sext i32 %119 to i64 %121 = getelementptr inbounds double, ptr %117, i64 %120 %122 = call i32 @get_delta_matrix_weights1(ptr noundef %115, ptr noundef %116, ptr noundef %121) %123 = load ptr, ptr %9, align 8 %124 = load ptr, ptr %10, align 8 %125 = load ptr, ptr %11, align 8 %126 = getelementptr inbounds [832 x double], ptr %27, i64 0, i64 0 %127 = getelementptr inbounds [4096 x double], ptr %28, i64 0, i64 0 %128 = getelementptr inbounds [192 x double], ptr %29, i64 0, i64 0 %129 = load ptr, ptr %12, align 8 %130 = load ptr, ptr %13, align 8 %131 = load ptr, ptr %14, align 8 %132 = getelementptr inbounds [64 x double], ptr %30, i64 0, i64 0 %133 = getelementptr inbounds [64 x double], ptr %31, i64 0, i64 0 %134 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0 %135 = call i32 @update_weights(ptr noundef %123, ptr noundef %124, ptr noundef %125, ptr noundef %126, ptr noundef %127, ptr noundef %128, ptr noundef %129, ptr noundef %130, ptr noundef %131, ptr noundef %132, ptr noundef %133, ptr noundef %134) br label %136 136: ; preds = %56 %137 = load i32, ptr %17, align 4 %138 = add nsw i32 %137, 1 store i32 %138, ptr %17, align 4 %139 = load i32, ptr %17, align 4 %140 = icmp slt i32 %139, 163 br i1 %140, label %34, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %136 br label %141 141: ; preds = %._crit_edge3, %8 ret void } declare i32 @matrix_vector_product_with_bias_input_layer(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @RELU(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @matrix_vector_product_with_bias_second_layer(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @matrix_vector_product_with_bias_output_layer(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @soft_max(ptr noundef, ptr noundef) #1 declare i32 @take_difference(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @get_delta_matrix_weights3(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @get_oracle_activations2(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @get_delta_matrix_weights2(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @get_oracle_activations1(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @get_delta_matrix_weights1(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @update_weights(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpxbbnrh2d.c' source_filename = "/tmp/tmpxbbnrh2d.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"\09\09\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printMaze(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %7 = load i32, ptr %3, align 4 %8 = zext i32 %7 to i64 %9 = load i32, ptr %3, align 4 %10 = zext i32 %9 to i64 store i32 0, ptr %5, align 4 br label %11 11: ; preds = %37, %2 %12 = load i32, ptr %5, align 4 %13 = load i32, ptr %3, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %15, label %40 15: ; preds = %11 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %6, align 4 br label %17 17: ; preds = %32, %15 %18 = load i32, ptr %6, align 4 %19 = load i32, ptr %3, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %21, label %35 21: ; preds = %17 %22 = load ptr, ptr %4, align 8 %23 = load i32, ptr %5, align 4 %24 = sext i32 %23 to i64 %25 = mul nsw i64 %24, %10 %26 = getelementptr inbounds i32, ptr %22, i64 %25 %27 = load i32, ptr %6, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i32, ptr %26, i64 %28 %30 = load i32, ptr %29, align 4 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %30) br label %32 32: ; preds = %21 %33 = load i32, ptr %6, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %6, align 4 br label %17, !llvm.loop !6 35: ; preds = %17 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %37 37: ; preds = %35 %38 = load i32, ptr %5, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %5, align 4 br label %11, !llvm.loop !8 40: ; preds = %11 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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxbbnrh2d.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"\09\09\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printMaze(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %7 = load i32, ptr %3, align 4 %8 = zext i32 %7 to i64 %9 = load i32, ptr %3, align 4 %10 = zext i32 %9 to i64 store i32 0, ptr %5, align 4 %11 = load i32, ptr %5, align 4 %12 = load i32, ptr %3, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %.lr.ph2, label %44 .lr.ph2: ; preds = %2 br label %14 14: ; preds = %.lr.ph2, %38 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %6, align 4 %16 = load i32, ptr %6, align 4 %17 = load i32, ptr %3, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %.lr.ph, label %36 .lr.ph: ; preds = %14 br label %19 19: ; preds = %.lr.ph, %30 %20 = load ptr, ptr %4, align 8 %21 = load i32, ptr %5, align 4 %22 = sext i32 %21 to i64 %23 = mul nsw i64 %22, %10 %24 = getelementptr inbounds i32, ptr %20, i64 %23 %25 = load i32, ptr %6, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i32, ptr %24, i64 %26 %28 = load i32, ptr %27, align 4 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %28) br label %30 30: ; preds = %19 %31 = load i32, ptr %6, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %6, align 4 %33 = load i32, ptr %6, align 4 %34 = load i32, ptr %3, align 4 %35 = icmp slt i32 %33, %34 br i1 %35, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %30 br label %36 36: ; preds = %._crit_edge, %14 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %38 38: ; preds = %36 %39 = load i32, ptr %5, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %5, align 4 %41 = load i32, ptr %5, align 4 %42 = load i32, ptr %3, align 4 %43 = icmp slt i32 %41, %42 br i1 %43, label %14, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %38 br label %44 44: ; preds = %._crit_edge3, %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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmptpylgapc.c' source_filename = "/tmp/tmptpylgapc.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 [40 x i8] c"Out of memory at request for %d bytes.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @xmalloc(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i64 @malloc(i32 noundef %4) %6 = inttoptr i64 %5 to ptr store ptr %6, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %11 9: ; preds = %1 %10 = call i32 @fatal_error(ptr noundef @.str) br label %11 11: ; preds = %9, %1 %12 = load ptr, ptr %3, align 8 ret ptr %12 } declare i64 @malloc(i32 noundef) #1 declare i32 @fatal_error(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/tmptpylgapc.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 [40 x i8] c"Out of memory at request for %d bytes.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @xmalloc(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i64 @malloc(i32 noundef %4) %6 = inttoptr i64 %5 to ptr store ptr %6, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %11 9: ; preds = %1 %10 = call i32 @fatal_error(ptr noundef @.str) br label %11 11: ; preds = %9, %1 %12 = load ptr, ptr %3, align 8 ret ptr %12 } declare i64 @malloc(i32 noundef) #1 declare i32 @fatal_error(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/tmpw5re9c_7.c' source_filename = "/tmp/tmpw5re9c_7.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 @init_extensions() #0 { %1 = call i32 (...) @libxt_AUDIT_init() %2 = call i32 (...) @libxt_CHECKSUM_init() %3 = call i32 (...) @libxt_CLASSIFY_init() %4 = call i32 (...) @libxt_cluster_init() %5 = call i32 (...) @libxt_comment_init() %6 = call i32 (...) @libxt_connbytes_init() %7 = call i32 (...) @libxt_connlimit_init() %8 = call i32 (...) @libxt_connmark_init() %9 = call i32 (...) @libxt_CONNMARK_init() %10 = call i32 (...) @libxt_CONNSECMARK_init() %11 = call i32 (...) @libxt_conntrack_init() %12 = call i32 (...) @libxt_cpu_init() %13 = call i32 (...) @libxt_CT_init() %14 = call i32 (...) @libxt_dccp_init() %15 = call i32 (...) @libxt_devgroup_init() %16 = call i32 (...) @libxt_dscp_init() %17 = call i32 (...) @libxt_DSCP_init() %18 = call i32 (...) @libxt_esp_init() %19 = call i32 (...) @libxt_ethport_init() %20 = call i32 (...) @libxt_hashlimit_init() %21 = call i32 (...) @libxt_helper_init() %22 = call i32 (...) @libxt_IDLETIMER_init() %23 = call i32 (...) @libxt_IMQ_init() %24 = call i32 (...) @libxt_iprange_init() %25 = call i32 (...) @libxt_LED_init() %26 = call i32 (...) @libxt_length_init() %27 = call i32 (...) @libxt_limit_init() %28 = call i32 (...) @libxt_mac_init() %29 = call i32 (...) @libxt_mark_init() %30 = call i32 (...) @libxt_MARK_init() %31 = call i32 (...) @libxt_multiport_init() %32 = call i32 (...) @libxt_NFLOG_init() %33 = call i32 (...) @libxt_NFQUEUE_init() %34 = call i32 (...) @libxt_NOTRACK_init() %35 = call i32 (...) @libxt_osf_init() %36 = call i32 (...) @libxt_owner_init() %37 = call i32 (...) @libxt_physdev_init() %38 = call i32 (...) @libxt_pkttype_init() %39 = call i32 (...) @libxt_policy_init() %40 = call i32 (...) @libxt_quota_init() %41 = call i32 (...) @libxt_rateest_init() %42 = call i32 (...) @libxt_RATEEST_init() %43 = call i32 (...) @libxt_recent_init() %44 = call i32 (...) @libxt_sctp_init() %45 = call i32 (...) @libxt_SECMARK_init() %46 = call i32 (...) @libxt_set_init() %47 = call i32 (...) @libxt_SET_init() %48 = call i32 (...) @libxt_socket_init() %49 = call i32 (...) @libxt_standard_init() %50 = call i32 (...) @libxt_state_init() %51 = call i32 (...) @libxt_statistic_init() %52 = call i32 (...) @libxt_string_init() %53 = call i32 (...) @libxt_tcp_init() %54 = call i32 (...) @libxt_tcpmss_init() %55 = call i32 (...) @libxt_TCPMSS_init() %56 = call i32 (...) @libxt_TCPOPTSTRIP_init() %57 = call i32 (...) @libxt_TEE_init() %58 = call i32 (...) @libxt_time_init() %59 = call i32 (...) @libxt_tos_init() %60 = call i32 (...) @libxt_TOS_init() %61 = call i32 (...) @libxt_TPROXY_init() %62 = call i32 (...) @libxt_TRACE_init() %63 = call i32 (...) @libxt_u32_init() %64 = call i32 (...) @libxt_udp_init() ret void } declare i32 @libxt_AUDIT_init(...) #1 declare i32 @libxt_CHECKSUM_init(...) #1 declare i32 @libxt_CLASSIFY_init(...) #1 declare i32 @libxt_cluster_init(...) #1 declare i32 @libxt_comment_init(...) #1 declare i32 @libxt_connbytes_init(...) #1 declare i32 @libxt_connlimit_init(...) #1 declare i32 @libxt_connmark_init(...) #1 declare i32 @libxt_CONNMARK_init(...) #1 declare i32 @libxt_CONNSECMARK_init(...) #1 declare i32 @libxt_conntrack_init(...) #1 declare i32 @libxt_cpu_init(...) #1 declare i32 @libxt_CT_init(...) #1 declare i32 @libxt_dccp_init(...) #1 declare i32 @libxt_devgroup_init(...) #1 declare i32 @libxt_dscp_init(...) #1 declare i32 @libxt_DSCP_init(...) #1 declare i32 @libxt_esp_init(...) #1 declare i32 @libxt_ethport_init(...) #1 declare i32 @libxt_hashlimit_init(...) #1 declare i32 @libxt_helper_init(...) #1 declare i32 @libxt_IDLETIMER_init(...) #1 declare i32 @libxt_IMQ_init(...) #1 declare i32 @libxt_iprange_init(...) #1 declare i32 @libxt_LED_init(...) #1 declare i32 @libxt_length_init(...) #1 declare i32 @libxt_limit_init(...) #1 declare i32 @libxt_mac_init(...) #1 declare i32 @libxt_mark_init(...) #1 declare i32 @libxt_MARK_init(...) #1 declare i32 @libxt_multiport_init(...) #1 declare i32 @libxt_NFLOG_init(...) #1 declare i32 @libxt_NFQUEUE_init(...) #1 declare i32 @libxt_NOTRACK_init(...) #1 declare i32 @libxt_osf_init(...) #1 declare i32 @libxt_owner_init(...) #1 declare i32 @libxt_physdev_init(...) #1 declare i32 @libxt_pkttype_init(...) #1 declare i32 @libxt_policy_init(...) #1 declare i32 @libxt_quota_init(...) #1 declare i32 @libxt_rateest_init(...) #1 declare i32 @libxt_RATEEST_init(...) #1 declare i32 @libxt_recent_init(...) #1 declare i32 @libxt_sctp_init(...) #1 declare i32 @libxt_SECMARK_init(...) #1 declare i32 @libxt_set_init(...) #1 declare i32 @libxt_SET_init(...) #1 declare i32 @libxt_socket_init(...) #1 declare i32 @libxt_standard_init(...) #1 declare i32 @libxt_state_init(...) #1 declare i32 @libxt_statistic_init(...) #1 declare i32 @libxt_string_init(...) #1 declare i32 @libxt_tcp_init(...) #1 declare i32 @libxt_tcpmss_init(...) #1 declare i32 @libxt_TCPMSS_init(...) #1 declare i32 @libxt_TCPOPTSTRIP_init(...) #1 declare i32 @libxt_TEE_init(...) #1 declare i32 @libxt_time_init(...) #1 declare i32 @libxt_tos_init(...) #1 declare i32 @libxt_TOS_init(...) #1 declare i32 @libxt_TPROXY_init(...) #1 declare i32 @libxt_TRACE_init(...) #1 declare i32 @libxt_u32_init(...) #1 declare i32 @libxt_udp_init(...) #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/tmpw5re9c_7.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 @init_extensions() #0 { %1 = call i32 (...) @libxt_AUDIT_init() %2 = call i32 (...) @libxt_CHECKSUM_init() %3 = call i32 (...) @libxt_CLASSIFY_init() %4 = call i32 (...) @libxt_cluster_init() %5 = call i32 (...) @libxt_comment_init() %6 = call i32 (...) @libxt_connbytes_init() %7 = call i32 (...) @libxt_connlimit_init() %8 = call i32 (...) @libxt_connmark_init() %9 = call i32 (...) @libxt_CONNMARK_init() %10 = call i32 (...) @libxt_CONNSECMARK_init() %11 = call i32 (...) @libxt_conntrack_init() %12 = call i32 (...) @libxt_cpu_init() %13 = call i32 (...) @libxt_CT_init() %14 = call i32 (...) @libxt_dccp_init() %15 = call i32 (...) @libxt_devgroup_init() %16 = call i32 (...) @libxt_dscp_init() %17 = call i32 (...) @libxt_DSCP_init() %18 = call i32 (...) @libxt_esp_init() %19 = call i32 (...) @libxt_ethport_init() %20 = call i32 (...) @libxt_hashlimit_init() %21 = call i32 (...) @libxt_helper_init() %22 = call i32 (...) @libxt_IDLETIMER_init() %23 = call i32 (...) @libxt_IMQ_init() %24 = call i32 (...) @libxt_iprange_init() %25 = call i32 (...) @libxt_LED_init() %26 = call i32 (...) @libxt_length_init() %27 = call i32 (...) @libxt_limit_init() %28 = call i32 (...) @libxt_mac_init() %29 = call i32 (...) @libxt_mark_init() %30 = call i32 (...) @libxt_MARK_init() %31 = call i32 (...) @libxt_multiport_init() %32 = call i32 (...) @libxt_NFLOG_init() %33 = call i32 (...) @libxt_NFQUEUE_init() %34 = call i32 (...) @libxt_NOTRACK_init() %35 = call i32 (...) @libxt_osf_init() %36 = call i32 (...) @libxt_owner_init() %37 = call i32 (...) @libxt_physdev_init() %38 = call i32 (...) @libxt_pkttype_init() %39 = call i32 (...) @libxt_policy_init() %40 = call i32 (...) @libxt_quota_init() %41 = call i32 (...) @libxt_rateest_init() %42 = call i32 (...) @libxt_RATEEST_init() %43 = call i32 (...) @libxt_recent_init() %44 = call i32 (...) @libxt_sctp_init() %45 = call i32 (...) @libxt_SECMARK_init() %46 = call i32 (...) @libxt_set_init() %47 = call i32 (...) @libxt_SET_init() %48 = call i32 (...) @libxt_socket_init() %49 = call i32 (...) @libxt_standard_init() %50 = call i32 (...) @libxt_state_init() %51 = call i32 (...) @libxt_statistic_init() %52 = call i32 (...) @libxt_string_init() %53 = call i32 (...) @libxt_tcp_init() %54 = call i32 (...) @libxt_tcpmss_init() %55 = call i32 (...) @libxt_TCPMSS_init() %56 = call i32 (...) @libxt_TCPOPTSTRIP_init() %57 = call i32 (...) @libxt_TEE_init() %58 = call i32 (...) @libxt_time_init() %59 = call i32 (...) @libxt_tos_init() %60 = call i32 (...) @libxt_TOS_init() %61 = call i32 (...) @libxt_TPROXY_init() %62 = call i32 (...) @libxt_TRACE_init() %63 = call i32 (...) @libxt_u32_init() %64 = call i32 (...) @libxt_udp_init() ret void } declare i32 @libxt_AUDIT_init(...) #1 declare i32 @libxt_CHECKSUM_init(...) #1 declare i32 @libxt_CLASSIFY_init(...) #1 declare i32 @libxt_cluster_init(...) #1 declare i32 @libxt_comment_init(...) #1 declare i32 @libxt_connbytes_init(...) #1 declare i32 @libxt_connlimit_init(...) #1 declare i32 @libxt_connmark_init(...) #1 declare i32 @libxt_CONNMARK_init(...) #1 declare i32 @libxt_CONNSECMARK_init(...) #1 declare i32 @libxt_conntrack_init(...) #1 declare i32 @libxt_cpu_init(...) #1 declare i32 @libxt_CT_init(...) #1 declare i32 @libxt_dccp_init(...) #1 declare i32 @libxt_devgroup_init(...) #1 declare i32 @libxt_dscp_init(...) #1 declare i32 @libxt_DSCP_init(...) #1 declare i32 @libxt_esp_init(...) #1 declare i32 @libxt_ethport_init(...) #1 declare i32 @libxt_hashlimit_init(...) #1 declare i32 @libxt_helper_init(...) #1 declare i32 @libxt_IDLETIMER_init(...) #1 declare i32 @libxt_IMQ_init(...) #1 declare i32 @libxt_iprange_init(...) #1 declare i32 @libxt_LED_init(...) #1 declare i32 @libxt_length_init(...) #1 declare i32 @libxt_limit_init(...) #1 declare i32 @libxt_mac_init(...) #1 declare i32 @libxt_mark_init(...) #1 declare i32 @libxt_MARK_init(...) #1 declare i32 @libxt_multiport_init(...) #1 declare i32 @libxt_NFLOG_init(...) #1 declare i32 @libxt_NFQUEUE_init(...) #1 declare i32 @libxt_NOTRACK_init(...) #1 declare i32 @libxt_osf_init(...) #1 declare i32 @libxt_owner_init(...) #1 declare i32 @libxt_physdev_init(...) #1 declare i32 @libxt_pkttype_init(...) #1 declare i32 @libxt_policy_init(...) #1 declare i32 @libxt_quota_init(...) #1 declare i32 @libxt_rateest_init(...) #1 declare i32 @libxt_RATEEST_init(...) #1 declare i32 @libxt_recent_init(...) #1 declare i32 @libxt_sctp_init(...) #1 declare i32 @libxt_SECMARK_init(...) #1 declare i32 @libxt_set_init(...) #1 declare i32 @libxt_SET_init(...) #1 declare i32 @libxt_socket_init(...) #1 declare i32 @libxt_standard_init(...) #1 declare i32 @libxt_state_init(...) #1 declare i32 @libxt_statistic_init(...) #1 declare i32 @libxt_string_init(...) #1 declare i32 @libxt_tcp_init(...) #1 declare i32 @libxt_tcpmss_init(...) #1 declare i32 @libxt_TCPMSS_init(...) #1 declare i32 @libxt_TCPOPTSTRIP_init(...) #1 declare i32 @libxt_TEE_init(...) #1 declare i32 @libxt_time_init(...) #1 declare i32 @libxt_tos_init(...) #1 declare i32 @libxt_TOS_init(...) #1 declare i32 @libxt_TPROXY_init(...) #1 declare i32 @libxt_TRACE_init(...) #1 declare i32 @libxt_u32_init(...) #1 declare i32 @libxt_udp_init(...) #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/tmp3j9p1sgd.c' source_filename = "/tmp/tmp3j9p1sgd.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/tmp3j9p1sgd.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/tmpt91bn47p.c' source_filename = "/tmp/tmpt91bn47p.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"%p\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @print_p(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @sprintf(ptr noundef %5, ptr noundef @.str, ptr noundef %6) ret i32 %7 } declare i32 @sprintf(ptr 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/tmpt91bn47p.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"%p\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @print_p(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @sprintf(ptr noundef %5, ptr noundef @.str, ptr noundef %6) ret i32 %7 } declare i32 @sprintf(ptr 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/tmp971q1cu6.c' source_filename = "/tmp/tmp971q1cu6.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/tmp971q1cu6.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/tmpwbbqcf9q.c' source_filename = "/tmp/tmpwbbqcf9q.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" @strconv.mybuf = internal global [513 x i8] zeroinitializer, align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @strconv(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %10 = load ptr, ptr %6, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %13, label %12 12: ; preds = %4 store ptr @strconv.mybuf, ptr %6, align 8 store i64 513, ptr %7, align 8 br label %13 13: ; preds = %12, %4 store i32 0, ptr %9, align 4 br label %14 14: ; preds = %44, %13 %15 = load i32, ptr %9, align 4 %16 = sext i32 %15 to i64 %17 = load i64, ptr %7, align 8 %18 = sub i64 %17, 1 %19 = icmp ult i64 %16, %18 br i1 %19, label %20, label %28 20: ; preds = %14 %21 = load ptr, ptr %8, align 8 %22 = load i32, ptr %9, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %21, i64 %23 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp ne i32 %26, 0 br label %28 28: ; preds = %20, %14 %29 = phi i1 [ false, %14 ], [ %27, %20 ] br i1 %29, label %30, label %47 30: ; preds = %28 %31 = load ptr, ptr %5, align 8 %32 = load ptr, ptr %8, align 8 %33 = load i32, ptr %9, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i8, ptr %32, i64 %34 %36 = load i8, ptr %35, align 1 %37 = zext i8 %36 to i32 %38 = call i32 %31(i32 noundef %37) %39 = trunc i32 %38 to i8 %40 = load ptr, ptr %6, align 8 %41 = load i32, ptr %9, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i8, ptr %40, i64 %42 store i8 %39, ptr %43, align 1 br label %44 44: ; preds = %30 %45 = load i32, ptr %9, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %9, align 4 br label %14, !llvm.loop !6 47: ; preds = %28 %48 = load ptr, ptr %6, align 8 %49 = load i32, ptr %9, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i8, ptr %48, i64 %50 store i8 0, ptr %51, align 1 %52 = load ptr, ptr %6, align 8 ret ptr %52 } 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/tmpwbbqcf9q.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" @strconv.mybuf = internal global [513 x i8] zeroinitializer, align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @strconv(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %10 = load ptr, ptr %6, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %13, label %12 12: ; preds = %4 store ptr @strconv.mybuf, ptr %6, align 8 store i64 513, ptr %7, align 8 br label %13 13: ; preds = %12, %4 store i32 0, ptr %9, align 4 br label %14 14: ; preds = %44, %13 %15 = load i32, ptr %9, align 4 %16 = sext i32 %15 to i64 %17 = load i64, ptr %7, align 8 %18 = sub i64 %17, 1 %19 = icmp ult i64 %16, %18 br i1 %19, label %20, label %28 20: ; preds = %14 %21 = load ptr, ptr %8, align 8 %22 = load i32, ptr %9, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %21, i64 %23 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp ne i32 %26, 0 br label %28 28: ; preds = %20, %14 %29 = phi i1 [ false, %14 ], [ %27, %20 ] br i1 %29, label %30, label %47 30: ; preds = %28 %31 = load ptr, ptr %5, align 8 %32 = load ptr, ptr %8, align 8 %33 = load i32, ptr %9, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i8, ptr %32, i64 %34 %36 = load i8, ptr %35, align 1 %37 = zext i8 %36 to i32 %38 = call i32 %31(i32 noundef %37) %39 = trunc i32 %38 to i8 %40 = load ptr, ptr %6, align 8 %41 = load i32, ptr %9, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i8, ptr %40, i64 %42 store i8 %39, ptr %43, align 1 br label %44 44: ; preds = %30 %45 = load i32, ptr %9, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %9, align 4 br label %14, !llvm.loop !6 47: ; preds = %28 %48 = load ptr, ptr %6, align 8 %49 = load i32, ptr %9, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i8, ptr %48, i64 %50 store i8 0, ptr %51, align 1 %52 = load ptr, ptr %6, align 8 ret ptr %52 } 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/tmp43xj83do.c' source_filename = "/tmp/tmp43xj83do.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/tmp43xj83do.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/tmpum9_ah_c.c' source_filename = "/tmp/tmpum9_ah_c.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 @angine_restart() #0 { %1 = call i32 (...) @angine_start() ret void } declare i32 @angine_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/tmpum9_ah_c.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 @angine_restart() #0 { %1 = call i32 (...) @angine_start() ret void } declare i32 @angine_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/tmpzf_7qzlv.c' source_filename = "/tmp/tmpzf_7qzlv.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"%02x \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 @hexdump(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 1, ptr %6, align 4 store i32 0, ptr %5, align 4 br label %7 7: ; preds = %26, %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 %29 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 i8, ptr %12, i64 %14 %16 = load i8, ptr %15, align 1 %17 = zext i8 %16 to i32 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %17) %19 = load i32, ptr %6, align 4 %20 = icmp sgt i32 %19, 15 br i1 %20, label %21, label %23 21: ; preds = %11 store i32 0, ptr %6, align 4 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %23 23: ; preds = %21, %11 %24 = load i32, ptr %6, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %6, align 4 br label %26 26: ; preds = %23 %27 = load i32, ptr %5, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %5, align 4 br label %7, !llvm.loop !6 29: ; preds = %7 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) 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/tmpzf_7qzlv.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"%02x \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 @hexdump(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 1, ptr %6, align 4 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 %31 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %25 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i8, ptr %11, i64 %13 %15 = load i8, ptr %14, align 1 %16 = zext i8 %15 to i32 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %16) %18 = load i32, ptr %6, align 4 %19 = icmp sgt i32 %18, 15 br i1 %19, label %20, label %22 20: ; preds = %10 store i32 0, ptr %6, align 4 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %22 22: ; preds = %20, %10 %23 = load i32, ptr %6, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %6, align 4 br label %25 25: ; preds = %22 %26 = load i32, ptr %5, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %5, align 4 %28 = load i32, ptr %5, align 4 %29 = load i32, ptr %4, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %31 31: ; preds = %._crit_edge, %2 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) 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/tmpi4jrsigr.c' source_filename = "/tmp/tmpi4jrsigr.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 @descending3(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 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = call i32 @descending2(ptr noundef %7, ptr noundef %8) %10 = load ptr, ptr %4, align 8 %11 = load ptr, ptr %6, align 8 %12 = call i32 @descending2(ptr noundef %10, ptr noundef %11) %13 = load ptr, ptr %5, align 8 %14 = load ptr, ptr %6, align 8 %15 = call i32 @descending2(ptr noundef %13, ptr noundef %14) ret void } declare i32 @descending2(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/tmpi4jrsigr.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 @descending3(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 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = call i32 @descending2(ptr noundef %7, ptr noundef %8) %10 = load ptr, ptr %4, align 8 %11 = load ptr, ptr %6, align 8 %12 = call i32 @descending2(ptr noundef %10, ptr noundef %11) %13 = load ptr, ptr %5, align 8 %14 = load ptr, ptr %6, align 8 %15 = call i32 @descending2(ptr noundef %13, ptr noundef %14) ret void } declare i32 @descending2(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/tmpdohe9evl.c' source_filename = "/tmp/tmpdohe9evl.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 @display_i64(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = srem i32 %4, 10 %6 = add nsw i32 48, %5 store i32 %6, ptr %3, align 4 %7 = load i32, ptr %2, align 4 %8 = sdiv i32 %7, 10 store i32 %8, ptr %2, align 4 %9 = load i32, ptr %2, align 4 %10 = icmp sgt i32 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %1 %12 = load i32, ptr %2, align 4 call void @display_i64(i32 noundef %12) br label %13 13: ; preds = %11, %1 %14 = load i32, ptr %3, align 4 %15 = call i32 @putchar(i32 noundef %14) ret void } declare i32 @putchar(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/tmpdohe9evl.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 @display_i64(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = srem i32 %4, 10 %6 = add nsw i32 48, %5 store i32 %6, ptr %3, align 4 %7 = load i32, ptr %2, align 4 %8 = sdiv i32 %7, 10 store i32 %8, ptr %2, align 4 %9 = load i32, ptr %2, align 4 %10 = icmp sgt i32 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %1 %12 = load i32, ptr %2, align 4 call void @display_i64(i32 noundef %12) br label %13 13: ; preds = %11, %1 %14 = load i32, ptr %3, align 4 %15 = call i32 @putchar(i32 noundef %14) ret void } declare i32 @putchar(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/tmpo525bexs.c' source_filename = "/tmp/tmpo525bexs.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/tmpo525bexs.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/tmpe8o0vaxa.c' source_filename = "/tmp/tmpe8o0vaxa.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"\0AIntroduce un numero %d: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"\0Ael vector final es :\00", align 1 @.str.3 = 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 i32, align 4 %4 = alloca [100 x i32], align 16 %5 = alloca [100 x i32], align 16 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca [20 x i32], align 16 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 1, ptr %2, align 4 br label %13 13: ; preds = %47, %0 %14 = load i32, ptr %2, align 4 %15 = icmp sle i32 %14, 20 br i1 %15, label %16, label %50 16: ; preds = %13 %17 = load i32, ptr %2, align 4 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %17) %19 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %20 = load i32, ptr %3, align 4 %21 = srem i32 %20, 2 %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %32 23: ; preds = %16 %24 = load i32, ptr %3, align 4 %25 = load i32, ptr %11, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds [100 x i32], ptr %4, i64 0, i64 %26 store i32 %24, ptr %27, align 4 %28 = load i32, ptr %6, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %6, align 4 %30 = load i32, ptr %11, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %11, align 4 br label %46 32: ; preds = %16 %33 = load i32, ptr %3, align 4 %34 = srem i32 %33, 2 %35 = icmp eq i32 %34, 1 br i1 %35, label %36, label %45 36: ; preds = %32 %37 = load i32, ptr %3, align 4 %38 = load i32, ptr %12, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds [100 x i32], ptr %5, i64 0, i64 %39 store i32 %37, ptr %40, align 4 %41 = load i32, ptr %7, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %7, align 4 %43 = load i32, ptr %12, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %12, align 4 br label %45 45: ; preds = %36, %32 br label %46 46: ; preds = %45, %23 br label %47 47: ; preds = %46 %48 = load i32, ptr %2, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %2, align 4 br label %13, !llvm.loop !6 50: ; preds = %13 store i32 0, ptr %2, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 br label %51 51: ; preds = %95, %50 %52 = load i32, ptr %2, align 4 %53 = load i32, ptr %7, align 4 %54 = icmp slt i32 %52, %53 br i1 %54, label %55, label %59 55: ; preds = %51 %56 = load i32, ptr %2, align 4 %57 = load i32, ptr %6, align 4 %58 = icmp slt i32 %56, %57 br label %59 59: ; preds = %55, %51 %60 = phi i1 [ false, %51 ], [ %58, %55 ] br i1 %60, label %61, label %96 61: ; preds = %59 br label %62 62: ; preds = %66, %61 %63 = load i32, ptr %2, align 4 %64 = load i32, ptr %7, align 4 %65 = icmp slt i32 %63, %64 br i1 %65, label %66, label %78 66: ; preds = %62 %67 = load i32, ptr %2, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds [100 x i32], ptr %5, i64 0, i64 %68 %70 = load i32, ptr %69, align 4 %71 = load i32, ptr %10, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds [20 x i32], ptr %8, i64 0, i64 %72 store i32 %70, ptr %73, align 4 %74 = load i32, ptr %2, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %2, align 4 %76 = load i32, ptr %10, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %10, align 4 br label %62, !llvm.loop !8 78: ; preds = %62 br label %79 79: ; preds = %83, %78 %80 = load i32, ptr %9, align 4 %81 = load i32, ptr %6, align 4 %82 = icmp slt i32 %80, %81 br i1 %82, label %83, label %95 83: ; preds = %79 %84 = load i32, ptr %9, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds [100 x i32], ptr %4, i64 0, i64 %85 %87 = load i32, ptr %86, align 4 %88 = load i32, ptr %10, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds [20 x i32], ptr %8, i64 0, i64 %89 store i32 %87, ptr %90, align 4 %91 = load i32, ptr %10, align 4 %92 = add nsw i32 %91, 1 store i32 %92, ptr %10, align 4 %93 = load i32, ptr %9, align 4 %94 = add nsw i32 %93, 1 store i32 %94, ptr %9, align 4 br label %79, !llvm.loop !9 95: ; preds = %79 br label %51, !llvm.loop !10 96: ; preds = %59 %97 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %2, align 4 br label %98 98: ; preds = %110, %96 %99 = load i32, ptr %2, align 4 %100 = load i32, ptr %7, align 4 %101 = load i32, ptr %6, align 4 %102 = add nsw i32 %100, %101 %103 = icmp slt i32 %99, %102 br i1 %103, label %104, label %113 104: ; preds = %98 %105 = load i32, ptr %2, align 4 %106 = sext i32 %105 to i64 %107 = getelementptr inbounds [20 x i32], ptr %8, i64 0, i64 %106 %108 = load i32, ptr %107, align 4 %109 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %108) br label %110 110: ; preds = %104 %111 = load i32, ptr %2, align 4 %112 = add nsw i32 %111, 1 store i32 %112, ptr %2, align 4 br label %98, !llvm.loop !11 113: ; preds = %98 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(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} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpe8o0vaxa.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"\0AIntroduce un numero %d: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"\0Ael vector final es :\00", align 1 @.str.3 = 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 i32, align 4 %4 = alloca [100 x i32], align 16 %5 = alloca [100 x i32], align 16 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca [20 x i32], align 16 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 1, ptr %2, align 4 %13 = load i32, ptr %2, align 4 %14 = icmp sle i32 %13, 20 br i1 %14, label %.lr.ph, label %51 .lr.ph: ; preds = %0 br label %15 15: ; preds = %.lr.ph, %46 %16 = load i32, ptr %2, align 4 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %16) %18 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %19 = load i32, ptr %3, align 4 %20 = srem i32 %19, 2 %21 = icmp eq i32 %20, 0 br i1 %21, label %22, label %31 22: ; preds = %15 %23 = load i32, ptr %3, align 4 %24 = load i32, ptr %11, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds [100 x i32], ptr %4, i64 0, i64 %25 store i32 %23, ptr %26, align 4 %27 = load i32, ptr %6, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %6, align 4 %29 = load i32, ptr %11, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %11, align 4 br label %45 31: ; preds = %15 %32 = load i32, ptr %3, align 4 %33 = srem i32 %32, 2 %34 = icmp eq i32 %33, 1 br i1 %34, label %35, label %44 35: ; preds = %31 %36 = load i32, ptr %3, align 4 %37 = load i32, ptr %12, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds [100 x i32], ptr %5, i64 0, i64 %38 store i32 %36, ptr %39, align 4 %40 = load i32, ptr %7, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %7, align 4 %42 = load i32, ptr %12, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %12, align 4 br label %44 44: ; preds = %35, %31 br label %45 45: ; preds = %44, %22 br label %46 46: ; preds = %45 %47 = load i32, ptr %2, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %2, align 4 %49 = load i32, ptr %2, align 4 %50 = icmp sle i32 %49, 20 br i1 %50, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %46 br label %51 51: ; preds = %._crit_edge, %0 store i32 0, ptr %2, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 br label %52 52: ; preds = %100, %51 %53 = load i32, ptr %2, align 4 %54 = load i32, ptr %7, align 4 %55 = icmp slt i32 %53, %54 br i1 %55, label %56, label %60 56: ; preds = %52 %57 = load i32, ptr %2, align 4 %58 = load i32, ptr %6, align 4 %59 = icmp slt i32 %57, %58 br label %60 60: ; preds = %56, %52 %61 = phi i1 [ false, %52 ], [ %59, %56 ] br i1 %61, label %62, label %101 62: ; preds = %60 %63 = load i32, ptr %2, align 4 %64 = load i32, ptr %7, align 4 %65 = icmp slt i32 %63, %64 br i1 %65, label %.lr.ph2, label %81 .lr.ph2: ; preds = %62 br label %66 66: ; preds = %.lr.ph2, %66 %67 = load i32, ptr %2, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds [100 x i32], ptr %5, i64 0, i64 %68 %70 = load i32, ptr %69, align 4 %71 = load i32, ptr %10, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds [20 x i32], ptr %8, i64 0, i64 %72 store i32 %70, ptr %73, align 4 %74 = load i32, ptr %2, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %2, align 4 %76 = load i32, ptr %10, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %10, align 4 %78 = load i32, ptr %2, align 4 %79 = load i32, ptr %7, align 4 %80 = icmp slt i32 %78, %79 br i1 %80, label %66, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %66 br label %81 81: ; preds = %._crit_edge3, %62 %82 = load i32, ptr %9, align 4 %83 = load i32, ptr %6, align 4 %84 = icmp slt i32 %82, %83 br i1 %84, label %.lr.ph5, label %100 .lr.ph5: ; preds = %81 br label %85 85: ; preds = %.lr.ph5, %85 %86 = load i32, ptr %9, align 4 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds [100 x i32], ptr %4, i64 0, i64 %87 %89 = load i32, ptr %88, align 4 %90 = load i32, ptr %10, align 4 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds [20 x i32], ptr %8, i64 0, i64 %91 store i32 %89, ptr %92, align 4 %93 = load i32, ptr %10, align 4 %94 = add nsw i32 %93, 1 store i32 %94, ptr %10, align 4 %95 = load i32, ptr %9, align 4 %96 = add nsw i32 %95, 1 store i32 %96, ptr %9, align 4 %97 = load i32, ptr %9, align 4 %98 = load i32, ptr %6, align 4 %99 = icmp slt i32 %97, %98 br i1 %99, label %85, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %85 br label %100 100: ; preds = %._crit_edge6, %81 br label %52, !llvm.loop !10 101: ; preds = %60 %102 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %2, align 4 %103 = load i32, ptr %2, align 4 %104 = load i32, ptr %7, align 4 %105 = load i32, ptr %6, align 4 %106 = add nsw i32 %104, %105 %107 = icmp slt i32 %103, %106 br i1 %107, label %.lr.ph8, label %122 .lr.ph8: ; preds = %101 br label %108 108: ; preds = %.lr.ph8, %114 %109 = load i32, ptr %2, align 4 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds [20 x i32], ptr %8, i64 0, i64 %110 %112 = load i32, ptr %111, align 4 %113 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %112) br label %114 114: ; preds = %108 %115 = load i32, ptr %2, align 4 %116 = add nsw i32 %115, 1 store i32 %116, ptr %2, align 4 %117 = load i32, ptr %2, align 4 %118 = load i32, ptr %7, align 4 %119 = load i32, ptr %6, align 4 %120 = add nsw i32 %118, %119 %121 = icmp slt i32 %117, %120 br i1 %121, label %108, label %._crit_edge9, !llvm.loop !11 ._crit_edge9: ; preds = %114 br label %122 122: ; preds = %._crit_edge9, %101 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(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} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmpz_oluotu.c' source_filename = "/tmp/tmpz_oluotu.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 @size_implies_comparison(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = icmp ule ptr %5, %6 %8 = zext i1 %7 to i32 %9 = call i32 @clang_analyzer_eval(i32 noundef %8) %10 = load ptr, ptr %4, align 8 %11 = load ptr, ptr %3, align 8 %12 = ptrtoint ptr %10 to i64 %13 = ptrtoint ptr %11 to i64 %14 = sub i64 %12, %13 %15 = sdiv exact i64 %14, 4 %16 = icmp slt i64 %15, 0 br i1 %16, label %17, label %23 17: ; preds = %2 %18 = load ptr, ptr %3, align 8 %19 = load ptr, ptr %4, align 8 %20 = icmp eq ptr %18, %19 %21 = zext i1 %20 to i32 %22 = call i32 @clang_analyzer_eval(i32 noundef %21) br label %80 23: ; preds = %2 %24 = load ptr, ptr %3, align 8 %25 = load ptr, ptr %4, align 8 %26 = icmp ule ptr %24, %25 %27 = zext i1 %26 to i32 %28 = call i32 @clang_analyzer_eval(i32 noundef %27) %29 = load ptr, ptr %4, align 8 %30 = load ptr, ptr %3, align 8 %31 = ptrtoint ptr %29 to i64 %32 = ptrtoint ptr %30 to i64 %33 = sub i64 %31, %32 %34 = sdiv exact i64 %33, 4 %35 = icmp sge i64 %34, 0 %36 = zext i1 %35 to i32 %37 = call i32 @clang_analyzer_eval(i32 noundef %36) %38 = load ptr, ptr %4, align 8 %39 = load ptr, ptr %3, align 8 %40 = ptrtoint ptr %38 to i64 %41 = ptrtoint ptr %39 to i64 %42 = sub i64 %40, %41 %43 = sdiv exact i64 %42, 4 %44 = icmp sgt i64 %43, 0 %45 = zext i1 %44 to i32 %46 = call i32 @clang_analyzer_eval(i32 noundef %45) %47 = load ptr, ptr %4, align 8 %48 = load ptr, ptr %3, align 8 %49 = ptrtoint ptr %47 to i64 %50 = ptrtoint ptr %48 to i64 %51 = sub i64 %49, %50 %52 = sdiv exact i64 %51, 4 %53 = icmp sle i64 %52, 0 br i1 %53, label %54, label %60 54: ; preds = %23 %55 = load ptr, ptr %3, align 8 %56 = load ptr, ptr %4, align 8 %57 = icmp eq ptr %55, %56 %58 = zext i1 %57 to i32 %59 = call i32 @clang_analyzer_eval(i32 noundef %58) br label %80 60: ; preds = %23 %61 = load ptr, ptr %3, align 8 %62 = load ptr, ptr %4, align 8 %63 = icmp eq ptr %61, %62 %64 = zext i1 %63 to i32 %65 = call i32 @clang_analyzer_eval(i32 noundef %64) %66 = load ptr, ptr %3, align 8 %67 = load ptr, ptr %4, align 8 %68 = icmp ult ptr %66, %67 %69 = zext i1 %68 to i32 %70 = call i32 @clang_analyzer_eval(i32 noundef %69) %71 = load ptr, ptr %4, align 8 %72 = load ptr, ptr %3, align 8 %73 = ptrtoint ptr %71 to i64 %74 = ptrtoint ptr %72 to i64 %75 = sub i64 %73, %74 %76 = sdiv exact i64 %75, 4 %77 = icmp sgt i64 %76, 0 %78 = zext i1 %77 to i32 %79 = call i32 @clang_analyzer_eval(i32 noundef %78) br label %80 80: ; preds = %60, %54, %17 ret void } declare i32 @clang_analyzer_eval(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/tmpz_oluotu.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 @size_implies_comparison(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = icmp ule ptr %5, %6 %8 = zext i1 %7 to i32 %9 = call i32 @clang_analyzer_eval(i32 noundef %8) %10 = load ptr, ptr %4, align 8 %11 = load ptr, ptr %3, align 8 %12 = ptrtoint ptr %10 to i64 %13 = ptrtoint ptr %11 to i64 %14 = sub i64 %12, %13 %15 = sdiv exact i64 %14, 4 %16 = icmp slt i64 %15, 0 br i1 %16, label %17, label %23 17: ; preds = %2 %18 = load ptr, ptr %3, align 8 %19 = load ptr, ptr %4, align 8 %20 = icmp eq ptr %18, %19 %21 = zext i1 %20 to i32 %22 = call i32 @clang_analyzer_eval(i32 noundef %21) br label %80 23: ; preds = %2 %24 = load ptr, ptr %3, align 8 %25 = load ptr, ptr %4, align 8 %26 = icmp ule ptr %24, %25 %27 = zext i1 %26 to i32 %28 = call i32 @clang_analyzer_eval(i32 noundef %27) %29 = load ptr, ptr %4, align 8 %30 = load ptr, ptr %3, align 8 %31 = ptrtoint ptr %29 to i64 %32 = ptrtoint ptr %30 to i64 %33 = sub i64 %31, %32 %34 = sdiv exact i64 %33, 4 %35 = icmp sge i64 %34, 0 %36 = zext i1 %35 to i32 %37 = call i32 @clang_analyzer_eval(i32 noundef %36) %38 = load ptr, ptr %4, align 8 %39 = load ptr, ptr %3, align 8 %40 = ptrtoint ptr %38 to i64 %41 = ptrtoint ptr %39 to i64 %42 = sub i64 %40, %41 %43 = sdiv exact i64 %42, 4 %44 = icmp sgt i64 %43, 0 %45 = zext i1 %44 to i32 %46 = call i32 @clang_analyzer_eval(i32 noundef %45) %47 = load ptr, ptr %4, align 8 %48 = load ptr, ptr %3, align 8 %49 = ptrtoint ptr %47 to i64 %50 = ptrtoint ptr %48 to i64 %51 = sub i64 %49, %50 %52 = sdiv exact i64 %51, 4 %53 = icmp sle i64 %52, 0 br i1 %53, label %54, label %60 54: ; preds = %23 %55 = load ptr, ptr %3, align 8 %56 = load ptr, ptr %4, align 8 %57 = icmp eq ptr %55, %56 %58 = zext i1 %57 to i32 %59 = call i32 @clang_analyzer_eval(i32 noundef %58) br label %80 60: ; preds = %23 %61 = load ptr, ptr %3, align 8 %62 = load ptr, ptr %4, align 8 %63 = icmp eq ptr %61, %62 %64 = zext i1 %63 to i32 %65 = call i32 @clang_analyzer_eval(i32 noundef %64) %66 = load ptr, ptr %3, align 8 %67 = load ptr, ptr %4, align 8 %68 = icmp ult ptr %66, %67 %69 = zext i1 %68 to i32 %70 = call i32 @clang_analyzer_eval(i32 noundef %69) %71 = load ptr, ptr %4, align 8 %72 = load ptr, ptr %3, align 8 %73 = ptrtoint ptr %71 to i64 %74 = ptrtoint ptr %72 to i64 %75 = sub i64 %73, %74 %76 = sdiv exact i64 %75, 4 %77 = icmp sgt i64 %76, 0 %78 = zext i1 %77 to i32 %79 = call i32 @clang_analyzer_eval(i32 noundef %78) br label %80 80: ; preds = %60, %54, %17 ret void } declare i32 @clang_analyzer_eval(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/tmp051pnapv.c' source_filename = "/tmp/tmp051pnapv.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 @test_range_int_gt_lt(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp sgt i32 %3, 3 br i1 %4, label %5, label %14 5: ; preds = %1 %6 = load i32, ptr %2, align 4 %7 = icmp slt i32 %6, 5 br i1 %7, label %8, label %13 8: ; preds = %5 %9 = load i32, ptr %2, align 4 %10 = icmp eq i32 %9, 4 %11 = zext i1 %10 to i32 %12 = call i32 @__analyzer_eval(i32 noundef %11) br label %13 13: ; preds = %8, %5 br label %14 14: ; preds = %13, %1 ret void } declare i32 @__analyzer_eval(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/tmp051pnapv.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 @test_range_int_gt_lt(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp sgt i32 %3, 3 br i1 %4, label %5, label %14 5: ; preds = %1 %6 = load i32, ptr %2, align 4 %7 = icmp slt i32 %6, 5 br i1 %7, label %8, label %13 8: ; preds = %5 %9 = load i32, ptr %2, align 4 %10 = icmp eq i32 %9, 4 %11 = zext i1 %10 to i32 %12 = call i32 @__analyzer_eval(i32 noundef %11) br label %13 13: ; preds = %8, %5 br label %14 14: ; preds = %13, %1 ret void } declare i32 @__analyzer_eval(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/tmp4pw6c8pb.c' source_filename = "/tmp/tmp4pw6c8pb.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" @__const.set_low.chan = private unnamed_addr constant [8 x i8] c"QWERTYUI", align 1 @TCIOFLUSH = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_low(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [100 x i8], align 16 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca [8 x i8], align 1 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %8, ptr align 1 @__const.set_low.chan, i64 8, i1 false) %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %9, 1 br i1 %10, label %14, label %11 11: ; preds = %2 %12 = load i32, ptr %4, align 4 %13 = icmp sgt i32 %12, 8 br i1 %13, label %14, label %15 14: ; preds = %11, %2 br label %29 15: ; preds = %11 %16 = load i32, ptr %3, align 4 %17 = load i32, ptr @TCIOFLUSH, align 4 %18 = call i64 @tcflush(i32 noundef %16, i32 noundef %17) %19 = icmp ne i64 %18, 0 br i1 %19, label %20, label %21 20: ; preds = %15 br label %29 21: ; preds = %15 %22 = load i32, ptr %3, align 4 %23 = load i32, ptr %4, align 4 %24 = sub nsw i32 %23, 1 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 %25 %27 = load i8, ptr %26, align 1 %28 = call i32 @send_command(i32 noundef %22, i8 noundef signext %27) br label %29 29: ; preds = %21, %20, %14 ret void } ; 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 i64 @tcflush(i32 noundef, i32 noundef) #2 declare i32 @send_command(i32 noundef, 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4pw6c8pb.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" @__const.set_low.chan = private unnamed_addr constant [8 x i8] c"QWERTYUI", align 1 @TCIOFLUSH = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_low(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [100 x i8], align 16 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca [8 x i8], align 1 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %8, ptr align 1 @__const.set_low.chan, i64 8, i1 false) %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %9, 1 br i1 %10, label %14, label %11 11: ; preds = %2 %12 = load i32, ptr %4, align 4 %13 = icmp sgt i32 %12, 8 br i1 %13, label %14, label %15 14: ; preds = %11, %2 br label %29 15: ; preds = %11 %16 = load i32, ptr %3, align 4 %17 = load i32, ptr @TCIOFLUSH, align 4 %18 = call i64 @tcflush(i32 noundef %16, i32 noundef %17) %19 = icmp ne i64 %18, 0 br i1 %19, label %20, label %21 20: ; preds = %15 br label %29 21: ; preds = %15 %22 = load i32, ptr %3, align 4 %23 = load i32, ptr %4, align 4 %24 = sub nsw i32 %23, 1 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 %25 %27 = load i8, ptr %26, align 1 %28 = call i32 @send_command(i32 noundef %22, i8 noundef signext %27) br label %29 29: ; preds = %21, %20, %14 ret void } ; 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 i64 @tcflush(i32 noundef, i32 noundef) #2 declare i32 @send_command(i32 noundef, 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"}
; ModuleID = '/tmp/tmpl9xxg6h4.c' source_filename = "/tmp/tmpl9xxg6h4.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/tmpl9xxg6h4.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/tmpr8geuhe4.c' source_filename = "/tmp/tmpr8geuhe4.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 [23 x i8] c"Child: pid=%d pgrp=%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"Parent: pid=%d pgrp=%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fork17() #0 { %1 = call i64 (...) @fork() %2 = icmp eq i64 %1, 0 br i1 %2, label %3, label %7 3: ; preds = %0 %4 = call i32 (...) @getpid() %5 = call i32 (...) @getpgrp() %6 = call i32 @printf(ptr noundef @.str, i32 noundef %4, i32 noundef %5) br label %11 7: ; preds = %0 %8 = call i32 (...) @getpid() %9 = call i32 (...) @getpgrp() %10 = call i32 @printf(ptr noundef @.str.1, i32 noundef %8, i32 noundef %9) br label %11 11: ; preds = %7, %3 br label %12 12: ; preds = %11, %12 br label %12 } declare i64 @fork(...) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @getpid(...) #1 declare i32 @getpgrp(...) #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/tmpr8geuhe4.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 [23 x i8] c"Child: pid=%d pgrp=%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"Parent: pid=%d pgrp=%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fork17() #0 { %1 = call i64 (...) @fork() %2 = icmp eq i64 %1, 0 br i1 %2, label %3, label %7 3: ; preds = %0 %4 = call i32 (...) @getpid() %5 = call i32 (...) @getpgrp() %6 = call i32 @printf(ptr noundef @.str, i32 noundef %4, i32 noundef %5) br label %11 7: ; preds = %0 %8 = call i32 (...) @getpid() %9 = call i32 (...) @getpgrp() %10 = call i32 @printf(ptr noundef @.str.1, i32 noundef %8, i32 noundef %9) br label %11 11: ; preds = %7, %3 br label %12 12: ; preds = %12, %11 br label %12 } declare i64 @fork(...) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @getpid(...) #1 declare i32 @getpgrp(...) #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/tmpj49762hn.c' source_filename = "/tmp/tmpj49762hn.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.rlimit = type { ptr, ptr } @RLIM_INFINITY = dso_local global ptr null, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getrlimit(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr @RLIM_INFINITY, align 8 %6 = load ptr, ptr %4, align 8 %7 = getelementptr inbounds %struct.rlimit, ptr %6, i32 0, i32 1 store ptr %5, ptr %7, align 8 %8 = load ptr, ptr @RLIM_INFINITY, align 8 %9 = load ptr, ptr %4, align 8 %10 = getelementptr inbounds %struct.rlimit, ptr %9, i32 0, i32 0 store ptr %8, ptr %10, align 8 ret i32 0 } 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/tmpj49762hn.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.rlimit = type { ptr, ptr } @RLIM_INFINITY = dso_local global ptr null, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getrlimit(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr @RLIM_INFINITY, align 8 %6 = load ptr, ptr %4, align 8 %7 = getelementptr inbounds %struct.rlimit, ptr %6, i32 0, i32 1 store ptr %5, ptr %7, align 8 %8 = load ptr, ptr @RLIM_INFINITY, align 8 %9 = load ptr, ptr %4, align 8 %10 = getelementptr inbounds %struct.rlimit, ptr %9, i32 0, i32 0 store ptr %8, ptr %10, align 8 ret i32 0 } 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/tmp39hq49bn.c' source_filename = "/tmp/tmp39hq49bn.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 @gcf(ptr noundef %0, double noundef %1, double noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 store ptr %0, ptr %5, align 8 store double %1, ptr %6, align 8 store double %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %16 = load double, ptr %6, align 8 %17 = call double @lgamma(double noundef %16) #4 %18 = load ptr, ptr %8, align 8 store double %17, ptr %18, align 8 %19 = load double, ptr %7, align 8 %20 = fadd double %19, 1.000000e+00 %21 = load double, ptr %6, align 8 %22 = fsub double %20, %21 store double %22, ptr %11, align 8 store double 0x46293E5939A08CE9, ptr %12, align 8 %23 = load double, ptr %11, align 8 %24 = fdiv double 1.000000e+00, %23 store double %24, ptr %13, align 8 %25 = load double, ptr %13, align 8 store double %25, ptr %15, align 8 store i32 1, ptr %9, align 4 br label %26 26: ; preds = %73, %4 %27 = load i32, ptr %9, align 4 %28 = icmp sle i32 %27, 100 br i1 %28, label %29, label %76 29: ; preds = %26 %30 = load i32, ptr %9, align 4 %31 = sub nsw i32 0, %30 %32 = sitofp i32 %31 to double %33 = load i32, ptr %9, align 4 %34 = sitofp i32 %33 to double %35 = load double, ptr %6, align 8 %36 = fsub double %34, %35 %37 = fmul double %32, %36 store double %37, ptr %10, align 8 %38 = load double, ptr %11, align 8 %39 = fadd double %38, 2.000000e+00 store double %39, ptr %11, align 8 %40 = load double, ptr %10, align 8 %41 = load double, ptr %13, align 8 %42 = load double, ptr %11, align 8 %43 = call double @llvm.fmuladd.f64(double %40, double %41, double %42) store double %43, ptr %13, align 8 %44 = load double, ptr %13, align 8 %45 = call double @llvm.fabs.f64(double %44) %46 = fcmp olt double %45, 1.000000e-30 br i1 %46, label %47, label %48 47: ; preds = %29 store double 1.000000e-30, ptr %13, align 8 br label %48 48: ; preds = %47, %29 %49 = load double, ptr %11, align 8 %50 = load double, ptr %10, align 8 %51 = load double, ptr %12, align 8 %52 = fdiv double %50, %51 %53 = fadd double %49, %52 store double %53, ptr %12, align 8 %54 = load double, ptr %12, align 8 %55 = call double @llvm.fabs.f64(double %54) %56 = fcmp olt double %55, 1.000000e-30 br i1 %56, label %57, label %58 57: ; preds = %48 store double 1.000000e-30, ptr %12, align 8 br label %58 58: ; preds = %57, %48 %59 = load double, ptr %13, align 8 %60 = fdiv double 1.000000e+00, %59 store double %60, ptr %13, align 8 %61 = load double, ptr %13, align 8 %62 = load double, ptr %12, align 8 %63 = fmul double %61, %62 store double %63, ptr %14, align 8 %64 = load double, ptr %14, align 8 %65 = load double, ptr %15, align 8 %66 = fmul double %65, %64 store double %66, ptr %15, align 8 %67 = load double, ptr %14, align 8 %68 = fsub double %67, 1.000000e+00 %69 = call double @llvm.fabs.f64(double %68) %70 = fcmp olt double %69, 1.000000e-09 br i1 %70, label %71, label %72 71: ; preds = %58 br label %76 72: ; preds = %58 br label %73 73: ; preds = %72 %74 = load i32, ptr %9, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %9, align 4 br label %26, !llvm.loop !6 76: ; preds = %71, %26 %77 = load i32, ptr %9, align 4 %78 = icmp sle i32 %77, 100 %79 = zext i1 %78 to i32 %80 = call i32 @assert(i32 noundef %79) %81 = load double, ptr %7, align 8 %82 = fneg double %81 %83 = load double, ptr %6, align 8 %84 = load double, ptr %7, align 8 %85 = call double @log(double noundef %84) #4 %86 = call double @llvm.fmuladd.f64(double %83, double %85, double %82) %87 = load ptr, ptr %8, align 8 %88 = load double, ptr %87, align 8 %89 = fsub double %86, %88 %90 = call double @exp(double noundef %89) #4 %91 = load double, ptr %15, align 8 %92 = fmul double %90, %91 %93 = load ptr, ptr %5, align 8 store double %92, ptr %93, align 8 ret void } ; Function Attrs: nounwind declare double @lgamma(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #2 declare i32 @assert(i32 noundef) #3 ; Function Attrs: nounwind declare double @exp(double noundef) #1 ; Function Attrs: nounwind declare double @log(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 = { nounwind "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) } attributes #3 = { "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 = { nounwind } !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/tmp39hq49bn.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 @gcf(ptr noundef %0, double noundef %1, double noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 store ptr %0, ptr %5, align 8 store double %1, ptr %6, align 8 store double %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %16 = load double, ptr %6, align 8 %17 = call double @lgamma(double noundef %16) #4 %18 = load ptr, ptr %8, align 8 store double %17, ptr %18, align 8 %19 = load double, ptr %7, align 8 %20 = fadd double %19, 1.000000e+00 %21 = load double, ptr %6, align 8 %22 = fsub double %20, %21 store double %22, ptr %11, align 8 store double 0x46293E5939A08CE9, ptr %12, align 8 %23 = load double, ptr %11, align 8 %24 = fdiv double 1.000000e+00, %23 store double %24, ptr %13, align 8 %25 = load double, ptr %13, align 8 store double %25, ptr %15, align 8 store i32 1, ptr %9, align 4 %26 = load i32, ptr %9, align 4 %27 = icmp sle i32 %26, 100 br i1 %27, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %4 br label %28 28: ; preds = %.lr.ph, %72 %29 = load i32, ptr %9, align 4 %30 = sub nsw i32 0, %29 %31 = sitofp i32 %30 to double %32 = load i32, ptr %9, align 4 %33 = sitofp i32 %32 to double %34 = load double, ptr %6, align 8 %35 = fsub double %33, %34 %36 = fmul double %31, %35 store double %36, ptr %10, align 8 %37 = load double, ptr %11, align 8 %38 = fadd double %37, 2.000000e+00 store double %38, ptr %11, align 8 %39 = load double, ptr %10, align 8 %40 = load double, ptr %13, align 8 %41 = load double, ptr %11, align 8 %42 = call double @llvm.fmuladd.f64(double %39, double %40, double %41) store double %42, ptr %13, align 8 %43 = load double, ptr %13, align 8 %44 = call double @llvm.fabs.f64(double %43) %45 = fcmp olt double %44, 1.000000e-30 br i1 %45, label %46, label %47 46: ; preds = %28 store double 1.000000e-30, ptr %13, align 8 br label %47 47: ; preds = %46, %28 %48 = load double, ptr %11, align 8 %49 = load double, ptr %10, align 8 %50 = load double, ptr %12, align 8 %51 = fdiv double %49, %50 %52 = fadd double %48, %51 store double %52, ptr %12, align 8 %53 = load double, ptr %12, align 8 %54 = call double @llvm.fabs.f64(double %53) %55 = fcmp olt double %54, 1.000000e-30 br i1 %55, label %56, label %57 56: ; preds = %47 store double 1.000000e-30, ptr %12, align 8 br label %57 57: ; preds = %56, %47 %58 = load double, ptr %13, align 8 %59 = fdiv double 1.000000e+00, %58 store double %59, ptr %13, align 8 %60 = load double, ptr %13, align 8 %61 = load double, ptr %12, align 8 %62 = fmul double %60, %61 store double %62, ptr %14, align 8 %63 = load double, ptr %14, align 8 %64 = load double, ptr %15, align 8 %65 = fmul double %64, %63 store double %65, ptr %15, align 8 %66 = load double, ptr %14, align 8 %67 = fsub double %66, 1.000000e+00 %68 = call double @llvm.fabs.f64(double %67) %69 = fcmp olt double %68, 1.000000e-09 br i1 %69, label %70, label %71 70: ; preds = %57 br label %77 71: ; preds = %57 br label %72 72: ; preds = %71 %73 = load i32, ptr %9, align 4 %74 = add nsw i32 %73, 1 store i32 %74, ptr %9, align 4 %75 = load i32, ptr %9, align 4 %76 = icmp sle i32 %75, 100 br i1 %76, label %28, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %72 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %4 br label %77 77: ; preds = %.loopexit, %70 %78 = load i32, ptr %9, align 4 %79 = icmp sle i32 %78, 100 %80 = zext i1 %79 to i32 %81 = call i32 @assert(i32 noundef %80) %82 = load double, ptr %7, align 8 %83 = fneg double %82 %84 = load double, ptr %6, align 8 %85 = load double, ptr %7, align 8 %86 = call double @log(double noundef %85) #4 %87 = call double @llvm.fmuladd.f64(double %84, double %86, double %83) %88 = load ptr, ptr %8, align 8 %89 = load double, ptr %88, align 8 %90 = fsub double %87, %89 %91 = call double @exp(double noundef %90) #4 %92 = load double, ptr %15, align 8 %93 = fmul double %91, %92 %94 = load ptr, ptr %5, align 8 store double %93, ptr %94, align 8 ret void } ; Function Attrs: nounwind declare double @lgamma(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #2 declare i32 @assert(i32 noundef) #3 ; Function Attrs: nounwind declare double @exp(double noundef) #1 ; Function Attrs: nounwind declare double @log(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 = { nounwind "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) } attributes #3 = { "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 = { nounwind } !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/tmpkvicao5p.c' source_filename = "/tmp/tmpkvicao5p.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 [36 x i8] c"Content-length: %d\0Amessage-body: %s\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"write message\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @send_response(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %9 = load ptr, ptr %5, align 8 %10 = load i32, ptr %6, align 4 %11 = load ptr, ptr %7, align 8 %12 = call i32 @send_statu(ptr noundef %9, i32 noundef %10, ptr noundef %11) %13 = load ptr, ptr %5, align 8 %14 = load ptr, ptr %8, align 8 %15 = call i64 @strlen(ptr noundef %14) %16 = trunc i64 %15 to i32 %17 = load ptr, ptr %8, align 8 %18 = call i64 @fprintf(ptr noundef %13, ptr noundef @.str, i32 noundef %16, ptr noundef %17) %19 = icmp slt i64 %18, 0 br i1 %19, label %20, label %23 20: ; preds = %4 %21 = call i32 @perror(ptr noundef @.str.1) %22 = call i32 @exit(i32 noundef 1) #3 unreachable 23: ; preds = %4 ret void } declare i32 @send_statu(ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @fprintf(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @perror(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/tmpkvicao5p.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 [36 x i8] c"Content-length: %d\0Amessage-body: %s\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"write message\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @send_response(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %9 = load ptr, ptr %5, align 8 %10 = load i32, ptr %6, align 4 %11 = load ptr, ptr %7, align 8 %12 = call i32 @send_statu(ptr noundef %9, i32 noundef %10, ptr noundef %11) %13 = load ptr, ptr %5, align 8 %14 = load ptr, ptr %8, align 8 %15 = call i64 @strlen(ptr noundef %14) %16 = trunc i64 %15 to i32 %17 = load ptr, ptr %8, align 8 %18 = call i64 @fprintf(ptr noundef %13, ptr noundef @.str, i32 noundef %16, ptr noundef %17) %19 = icmp slt i64 %18, 0 br i1 %19, label %20, label %23 20: ; preds = %4 %21 = call i32 @perror(ptr noundef @.str.1) %22 = call i32 @exit(i32 noundef 1) #3 unreachable 23: ; preds = %4 ret void } declare i32 @send_statu(ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @fprintf(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @perror(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/tmp_1sb200q.c' source_filename = "/tmp/tmp_1sb200q.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 double @upcrt_s2p_speed(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca double, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = 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 %8 = load i32, ptr %7, align 4 %9 = icmp sgt i32 %8, 1024 br i1 %9, label %10, label %11 10: ; preds = %3 store double 2.000000e+00, ptr %4, align 8 br label %27 11: ; preds = %3 %12 = load i32, ptr %6, align 4 %13 = icmp sgt i32 %12, 1024 br i1 %13, label %14, label %15 14: ; preds = %11 store i32 1024, ptr %6, align 4 br label %15 15: ; preds = %14, %11 %16 = load ptr, ptr %5, align 8 %17 = load i32, ptr %7, align 4 %18 = call i32 @Log2(i32 noundef %17) %19 = sext i32 %18 to i64 %20 = getelementptr inbounds [10 x double], ptr %16, i64 %19 %21 = load i32, ptr %6, align 4 %22 = call i32 @Log2(i32 noundef %21) %23 = sub nsw i32 %22, 1 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [10 x double], ptr %20, i64 0, i64 %24 %26 = load double, ptr %25, align 8 store double %26, ptr %4, align 8 br label %27 27: ; preds = %15, %10 %28 = load double, ptr %4, align 8 ret double %28 } declare i32 @Log2(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_1sb200q.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 double @upcrt_s2p_speed(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca double, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = 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 %8 = load i32, ptr %7, align 4 %9 = icmp sgt i32 %8, 1024 br i1 %9, label %10, label %11 10: ; preds = %3 store double 2.000000e+00, ptr %4, align 8 br label %27 11: ; preds = %3 %12 = load i32, ptr %6, align 4 %13 = icmp sgt i32 %12, 1024 br i1 %13, label %14, label %15 14: ; preds = %11 store i32 1024, ptr %6, align 4 br label %15 15: ; preds = %14, %11 %16 = load ptr, ptr %5, align 8 %17 = load i32, ptr %7, align 4 %18 = call i32 @Log2(i32 noundef %17) %19 = sext i32 %18 to i64 %20 = getelementptr inbounds [10 x double], ptr %16, i64 %19 %21 = load i32, ptr %6, align 4 %22 = call i32 @Log2(i32 noundef %21) %23 = sub nsw i32 %22, 1 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [10 x double], ptr %20, i64 0, i64 %24 %26 = load double, ptr %25, align 8 store double %26, ptr %4, align 8 br label %27 27: ; preds = %15, %10 %28 = load double, ptr %4, align 8 ret double %28 } declare i32 @Log2(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/tmp5udbb99c.c' source_filename = "/tmp/tmp5udbb99c.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 @is_prime_int(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = call i32 @sqrt(i32 noundef %6) %8 = add nsw i32 %7, 1 store i32 %8, ptr %5, align 4 %9 = load i32, ptr %3, align 4 %10 = srem i32 %9, 2 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %1 store i32 0, ptr %2, align 4 br label %29 13: ; preds = %1 store i32 3, ptr %4, align 4 br label %14 14: ; preds = %25, %13 %15 = load i32, ptr %4, align 4 %16 = load i32, ptr %5, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %18, label %28 18: ; preds = %14 %19 = load i32, ptr %3, align 4 %20 = load i32, ptr %4, align 4 %21 = srem i32 %19, %20 %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %24 23: ; preds = %18 store i32 0, ptr %2, align 4 br label %29 24: ; preds = %18 br label %25 25: ; preds = %24 %26 = load i32, ptr %4, align 4 %27 = add nsw i32 %26, 2 store i32 %27, ptr %4, align 4 br label %14, !llvm.loop !6 28: ; preds = %14 store i32 1, ptr %2, align 4 br label %29 29: ; preds = %28, %23, %12 %30 = load i32, ptr %2, align 4 ret i32 %30 } declare i32 @sqrt(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/tmp5udbb99c.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 @is_prime_int(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = call i32 @sqrt(i32 noundef %6) %8 = add nsw i32 %7, 1 store i32 %8, ptr %5, align 4 %9 = load i32, ptr %3, align 4 %10 = srem i32 %9, 2 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %1 store i32 0, ptr %2, align 4 br label %31 13: ; preds = %1 store i32 3, ptr %4, align 4 %14 = load i32, ptr %4, align 4 %15 = load i32, ptr %5, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %.lr.ph, label %30 .lr.ph: ; preds = %13 br label %17 17: ; preds = %.lr.ph, %24 %18 = load i32, ptr %3, align 4 %19 = load i32, ptr %4, align 4 %20 = srem i32 %18, %19 %21 = icmp eq i32 %20, 0 br i1 %21, label %22, label %23 22: ; preds = %17 store i32 0, ptr %2, align 4 br label %31 23: ; preds = %17 br label %24 24: ; preds = %23 %25 = load i32, ptr %4, align 4 %26 = add nsw i32 %25, 2 store i32 %26, ptr %4, align 4 %27 = load i32, ptr %4, align 4 %28 = load i32, ptr %5, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %30 30: ; preds = %._crit_edge, %13 store i32 1, ptr %2, align 4 br label %31 31: ; preds = %30, %22, %12 %32 = load i32, ptr %2, align 4 ret i32 %32 } declare i32 @sqrt(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/tmp3xoggqta.c' source_filename = "/tmp/tmp3xoggqta.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/tmp3xoggqta.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/tmpzcfsvx86.c' source_filename = "/tmp/tmpzcfsvx86.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/tmpzcfsvx86.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/tmpogts2tu0.c' source_filename = "/tmp/tmpogts2tu0.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" @PATH_MAX = 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/tmpogts2tu0.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" @PATH_MAX = 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/tmp52eou5n4.c' source_filename = "/tmp/tmp52eou5n4.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 [4 x i8] c"%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"Hello World!\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 i32 @printf(ptr noundef @.str, ptr noundef @.str.1) ret i32 0 } declare i32 @printf(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/tmp52eou5n4.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 [4 x i8] c"%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"Hello World!\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 i32 @printf(ptr noundef @.str, ptr noundef @.str.1) ret i32 0 } declare i32 @printf(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/tmp4mm1_vj0.c' source_filename = "/tmp/tmp4mm1_vj0.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"w\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @touch(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr %4, align 8 %8 = call ptr @fopen(ptr noundef %7, ptr noundef @.str) store ptr %8, ptr %6, align 8 %9 = load ptr, ptr %6, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %12 11: ; preds = %2 store i32 0, ptr %3, align 4 br label %20 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = load ptr, ptr %5, align 8 %15 = call i32 @strlen(ptr noundef %14) %16 = load ptr, ptr %6, align 8 %17 = call i32 @fwrite(ptr noundef %13, i32 noundef %15, i32 noundef 1, ptr noundef %16) %18 = load ptr, ptr %6, align 8 %19 = call i32 @fclose(ptr noundef %18) store i32 1, ptr %3, align 4 br label %20 20: ; preds = %12, %11 %21 = load i32, ptr %3, align 4 ret i32 %21 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @strlen(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/tmp4mm1_vj0.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"w\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @touch(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr %4, align 8 %8 = call ptr @fopen(ptr noundef %7, ptr noundef @.str) store ptr %8, ptr %6, align 8 %9 = load ptr, ptr %6, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %12 11: ; preds = %2 store i32 0, ptr %3, align 4 br label %20 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = load ptr, ptr %5, align 8 %15 = call i32 @strlen(ptr noundef %14) %16 = load ptr, ptr %6, align 8 %17 = call i32 @fwrite(ptr noundef %13, i32 noundef %15, i32 noundef 1, ptr noundef %16) %18 = load ptr, ptr %6, align 8 %19 = call i32 @fclose(ptr noundef %18) store i32 1, ptr %3, align 4 br label %20 20: ; preds = %12, %11 %21 = load i32, ptr %3, align 4 ret i32 %21 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @strlen(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/tmpbugzzpbk.c' source_filename = "/tmp/tmpbugzzpbk.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/tmpbugzzpbk.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/tmpylmkjaz8.c' source_filename = "/tmp/tmpylmkjaz8.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"r\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [24 x i8] c"Cannot open script %s.\0A\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"*** TRACE %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @exec_script(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [1000 x i8], align 16 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = load ptr, ptr %3, align 8 %8 = call ptr @fopen(ptr noundef %7, ptr noundef @.str) store ptr %8, ptr %5, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %14 10: ; preds = %2 %11 = load i32, ptr @stderr, align 4 %12 = load ptr, ptr %3, align 8 %13 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str.1, ptr noundef %12) br label %29 14: ; preds = %2 %15 = load i32, ptr %4, align 4 %16 = call i32 @printf(ptr noundef @.str.2, i32 noundef %15) br label %17 17: ; preds = %22, %14 %18 = getelementptr inbounds [1000 x i8], ptr %6, i64 0, i64 0 %19 = load ptr, ptr %5, align 8 %20 = call ptr @fgets(ptr noundef %18, i32 noundef 1000, ptr noundef %19) %21 = icmp ne ptr %20, null br i1 %21, label %22, label %26 22: ; preds = %17 %23 = getelementptr inbounds [1000 x i8], ptr %6, i64 0, i64 0 %24 = load i32, ptr %4, align 4 %25 = call i32 @parseScriptCmd(ptr noundef %23, i32 noundef %24) br label %17, !llvm.loop !6 26: ; preds = %17 %27 = load ptr, ptr %5, align 8 %28 = call i32 @fclose(ptr noundef %27) br label %29 29: ; preds = %26, %10 ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @parseScriptCmd(ptr noundef, i32 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpylmkjaz8.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"r\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [24 x i8] c"Cannot open script %s.\0A\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"*** TRACE %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @exec_script(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [1000 x i8], align 16 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = load ptr, ptr %3, align 8 %8 = call ptr @fopen(ptr noundef %7, ptr noundef @.str) store ptr %8, ptr %5, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %14 10: ; preds = %2 %11 = load i32, ptr @stderr, align 4 %12 = load ptr, ptr %3, align 8 %13 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str.1, ptr noundef %12) br label %31 14: ; preds = %2 %15 = load i32, ptr %4, align 4 %16 = call i32 @printf(ptr noundef @.str.2, i32 noundef %15) %17 = getelementptr inbounds [1000 x i8], ptr %6, i64 0, i64 0 %18 = load ptr, ptr %5, align 8 %19 = call ptr @fgets(ptr noundef %17, i32 noundef 1000, ptr noundef %18) %20 = icmp ne ptr %19, null br i1 %20, label %.lr.ph, label %28 .lr.ph: ; preds = %14 br label %21 21: ; preds = %.lr.ph, %21 %22 = getelementptr inbounds [1000 x i8], ptr %6, i64 0, i64 0 %23 = load i32, ptr %4, align 4 %24 = call i32 @parseScriptCmd(ptr noundef %22, i32 noundef %23) %25 = load ptr, ptr %5, align 8 %26 = call ptr @fgets(ptr noundef %17, i32 noundef 1000, ptr noundef %25) %27 = icmp ne ptr %26, null br i1 %27, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %28 28: ; preds = %._crit_edge, %14 %29 = load ptr, ptr %5, align 8 %30 = call i32 @fclose(ptr noundef %29) br label %31 31: ; preds = %28, %10 ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @parseScriptCmd(ptr noundef, i32 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpyvx9erpw.c' source_filename = "/tmp/tmpyvx9erpw.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 @u64_b0(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = and i32 %3, 255 ret i32 %4 } 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/tmpyvx9erpw.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 @u64_b0(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = and i32 %3, 255 ret i32 %4 } 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/tmp4ob68_dd.c' source_filename = "/tmp/tmp4ob68_dd.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 [44 x i8] c"2-8 keV Flux (cgs): %e +/- %e erg/cm2/s \0A\00", align 1 @.str.1 = private unnamed_addr constant [39 x i8] c"2-8 keV Flux (SI) : %e +/- %e W/m2 \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 double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store double 0.000000e+00, ptr %12, align 8 %13 = load i32, ptr %4, align 4 %14 = icmp eq i32 %13, 3 br i1 %14, label %15, label %29 15: ; preds = %2 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 1 %18 = load ptr, ptr %17, align 8 %19 = call double @atof(ptr noundef %18) store double %19, ptr %6, align 8 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 2 %22 = load ptr, ptr %21, align 8 %23 = call double @atof(ptr noundef %22) store double %23, ptr %10, align 8 %24 = load double, ptr %6, align 8 %25 = fcmp oeq double %24, 0.000000e+00 br i1 %25, label %26, label %28 26: ; preds = %15 %27 = call i32 (...) @usage() br label %28 28: ; preds = %26, %15 br label %31 29: ; preds = %2 %30 = call i32 (...) @usage() br label %31 31: ; preds = %29, %28 store double 0.000000e+00, ptr %7, align 8 %32 = call i32 @lehmer(ptr noundef %7, ptr noundef %6, ptr noundef %12) %33 = load double, ptr %12, align 8 %34 = load double, ptr %10, align 8 %35 = fmul double %33, %34 store double %35, ptr %12, align 8 store double 1.400000e-16, ptr %7, align 8 %36 = call i32 @lehmer(ptr noundef %7, ptr noundef %6, ptr noundef %11) %37 = load double, ptr %11, align 8 %38 = load double, ptr %10, align 8 %39 = fmul double %37, %38 store double %39, ptr %11, align 8 %40 = call i32 @NsrcLehmer(ptr noundef %7, ptr noundef %6, ptr noundef %8) %41 = load double, ptr %8, align 8 %42 = load double, ptr %10, align 8 %43 = fmul double %41, %42 store double %43, ptr %8, align 8 %44 = load double, ptr %8, align 8 %45 = call double @sqrt(double noundef %44) #3 %46 = load double, ptr %11, align 8 %47 = fmul double %45, %46 %48 = load double, ptr %8, align 8 %49 = fdiv double %47, %48 store double %49, ptr %9, align 8 %50 = load double, ptr %12, align 8 %51 = load double, ptr %9, align 8 %52 = call i32 @printf(ptr noundef @.str, double noundef %50, double noundef %51) %53 = load double, ptr %12, align 8 %54 = fmul double %53, 1.000000e-03 store double %54, ptr %12, align 8 %55 = load double, ptr %9, align 8 %56 = fmul double %55, 1.000000e-03 store double %56, ptr %9, align 8 %57 = load double, ptr %12, align 8 %58 = load double, ptr %9, align 8 %59 = call i32 @printf(ptr noundef @.str.1, double noundef %57, double noundef %58) ret i32 0 } declare double @atof(ptr noundef) #1 declare i32 @usage(...) #1 declare i32 @lehmer(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @NsrcLehmer(ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: nounwind declare double @sqrt(double noundef) #2 declare i32 @printf(ptr noundef, double noundef, 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" } attributes #2 = { nounwind "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 = { nounwind } !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/tmp4ob68_dd.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 [44 x i8] c"2-8 keV Flux (cgs): %e +/- %e erg/cm2/s \0A\00", align 1 @.str.1 = private unnamed_addr constant [39 x i8] c"2-8 keV Flux (SI) : %e +/- %e W/m2 \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 double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store double 0.000000e+00, ptr %12, align 8 %13 = load i32, ptr %4, align 4 %14 = icmp eq i32 %13, 3 br i1 %14, label %15, label %29 15: ; preds = %2 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 1 %18 = load ptr, ptr %17, align 8 %19 = call double @atof(ptr noundef %18) store double %19, ptr %6, align 8 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 2 %22 = load ptr, ptr %21, align 8 %23 = call double @atof(ptr noundef %22) store double %23, ptr %10, align 8 %24 = load double, ptr %6, align 8 %25 = fcmp oeq double %24, 0.000000e+00 br i1 %25, label %26, label %28 26: ; preds = %15 %27 = call i32 (...) @usage() br label %28 28: ; preds = %26, %15 br label %31 29: ; preds = %2 %30 = call i32 (...) @usage() br label %31 31: ; preds = %29, %28 store double 0.000000e+00, ptr %7, align 8 %32 = call i32 @lehmer(ptr noundef %7, ptr noundef %6, ptr noundef %12) %33 = load double, ptr %12, align 8 %34 = load double, ptr %10, align 8 %35 = fmul double %33, %34 store double %35, ptr %12, align 8 store double 1.400000e-16, ptr %7, align 8 %36 = call i32 @lehmer(ptr noundef %7, ptr noundef %6, ptr noundef %11) %37 = load double, ptr %11, align 8 %38 = load double, ptr %10, align 8 %39 = fmul double %37, %38 store double %39, ptr %11, align 8 %40 = call i32 @NsrcLehmer(ptr noundef %7, ptr noundef %6, ptr noundef %8) %41 = load double, ptr %8, align 8 %42 = load double, ptr %10, align 8 %43 = fmul double %41, %42 store double %43, ptr %8, align 8 %44 = load double, ptr %8, align 8 %45 = call double @sqrt(double noundef %44) #3 %46 = load double, ptr %11, align 8 %47 = fmul double %45, %46 %48 = load double, ptr %8, align 8 %49 = fdiv double %47, %48 store double %49, ptr %9, align 8 %50 = load double, ptr %12, align 8 %51 = load double, ptr %9, align 8 %52 = call i32 @printf(ptr noundef @.str, double noundef %50, double noundef %51) %53 = load double, ptr %12, align 8 %54 = fmul double %53, 1.000000e-03 store double %54, ptr %12, align 8 %55 = load double, ptr %9, align 8 %56 = fmul double %55, 1.000000e-03 store double %56, ptr %9, align 8 %57 = load double, ptr %12, align 8 %58 = load double, ptr %9, align 8 %59 = call i32 @printf(ptr noundef @.str.1, double noundef %57, double noundef %58) ret i32 0 } declare double @atof(ptr noundef) #1 declare i32 @usage(...) #1 declare i32 @lehmer(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @NsrcLehmer(ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: nounwind declare double @sqrt(double noundef) #2 declare i32 @printf(ptr noundef, double noundef, 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" } attributes #2 = { nounwind "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 = { nounwind } !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/tmps1qgl_tp.c' source_filename = "/tmp/tmps1qgl_tp.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 [19 x i8] c"Attempt Number %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @bogosort(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, 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 %3, align 8 store i32 %1, ptr %4, align 4 %14 = load i32, ptr %4, align 4 %15 = zext i32 %14 to i64 %16 = call ptr @llvm.stacksave() store ptr %16, ptr %5, align 8 %17 = alloca i32, i64 %15, align 16 store i64 %15, ptr %6, align 8 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 br label %18 18: ; preds = %26, %2 %19 = load i32, ptr %9, align 4 %20 = load i32, ptr %4, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %22, label %29 22: ; preds = %18 %23 = load i32, ptr %9, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i32, ptr %17, i64 %24 store i32 -1, ptr %25, align 4 br label %26 26: ; preds = %22 %27 = load i32, ptr %9, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %9, align 4 br label %18, !llvm.loop !6 29: ; preds = %18 br label %30 30: ; preds = %126, %29 br label %31 31: ; preds = %30 %32 = load i32, ptr %8, align 4 %33 = call i32 @printf(ptr noundef @.str, i32 noundef %32) %34 = load i32, ptr %8, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %8, align 4 store i32 0, ptr %10, align 4 br label %36 36: ; preds = %64, %31 %37 = load i32, ptr %10, align 4 %38 = load i32, ptr %4, align 4 %39 = icmp slt i32 %37, %38 br i1 %39, label %40, label %67 40: ; preds = %36 %41 = load ptr, ptr %3, align 8 %42 = load i32, ptr %10, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i32, ptr %41, i64 %43 %45 = load i32, ptr %44, align 4 %46 = load ptr, ptr %3, align 8 %47 = load i32, ptr %10, align 4 %48 = add nsw i32 %47, 1 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i32, ptr %46, i64 %49 %51 = load i32, ptr %50, align 4 %52 = icmp slt i32 %45, %51 br i1 %52, label %53, label %54 53: ; preds = %40 br label %64 54: ; preds = %40 %55 = load i32, ptr %10, align 4 %56 = add nsw i32 %55, 1 %57 = load i32, ptr %4, align 4 %58 = icmp eq i32 %56, %57 br i1 %58, label %59, label %61 59: ; preds = %54 %60 = load ptr, ptr %5, align 8 call void @llvm.stackrestore(ptr %60) ret void 61: ; preds = %54 store i32 1000, ptr %10, align 4 br label %62 62: ; preds = %61 br label %63 63: ; preds = %62 br label %64 64: ; preds = %63, %53 %65 = load i32, ptr %10, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %10, align 4 br label %36, !llvm.loop !8 67: ; preds = %36 store i32 0, ptr %11, align 4 br label %68 68: ; preds = %76, %67 %69 = load i32, ptr %11, align 4 %70 = load i32, ptr %4, align 4 %71 = icmp slt i32 %69, %70 br i1 %71, label %72, label %79 72: ; preds = %68 %73 = load i32, ptr %11, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds i32, ptr %17, i64 %74 store i32 -1, ptr %75, align 4 br label %76 76: ; preds = %72 %77 = load i32, ptr %11, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %11, align 4 br label %68, !llvm.loop !9 79: ; preds = %68 store i32 0, ptr %12, align 4 br label %80 80: ; preds = %106, %79 %81 = load i32, ptr %12, align 4 %82 = load i32, ptr %4, align 4 %83 = icmp slt i32 %81, %82 br i1 %83, label %84, label %109 84: ; preds = %80 %85 = call i32 (...) @rand() %86 = load i32, ptr %4, align 4 %87 = srem i32 %85, %86 store i32 %87, ptr %7, align 4 %88 = load i32, ptr %7, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds i32, ptr %17, i64 %89 %91 = load i32, ptr %90, align 4 %92 = icmp eq i32 %91, -1 br i1 %92, label %93, label %102 93: ; preds = %84 %94 = load ptr, ptr %3, align 8 %95 = load i32, ptr %12, align 4 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds i32, ptr %94, i64 %96 %98 = load i32, ptr %97, align 4 %99 = load i32, ptr %7, align 4 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds i32, ptr %17, i64 %100 store i32 %98, ptr %101, align 4 br label %105 102: ; preds = %84 %103 = load i32, ptr %12, align 4 %104 = add nsw i32 %103, -1 store i32 %104, ptr %12, align 4 br label %105 105: ; preds = %102, %93 br label %106 106: ; preds = %105 %107 = load i32, ptr %12, align 4 %108 = add nsw i32 %107, 1 store i32 %108, ptr %12, align 4 br label %80, !llvm.loop !10 109: ; preds = %80 store i32 0, ptr %13, align 4 br label %110 110: ; preds = %123, %109 %111 = load i32, ptr %13, align 4 %112 = load i32, ptr %4, align 4 %113 = icmp slt i32 %111, %112 br i1 %113, label %114, label %126 114: ; preds = %110 %115 = load i32, ptr %13, align 4 %116 = sext i32 %115 to i64 %117 = getelementptr inbounds i32, ptr %17, i64 %116 %118 = load i32, ptr %117, align 4 %119 = load ptr, ptr %3, align 8 %120 = load i32, ptr %13, align 4 %121 = sext i32 %120 to i64 %122 = getelementptr inbounds i32, ptr %119, i64 %121 store i32 %118, ptr %122, align 4 br label %123 123: ; preds = %114 %124 = load i32, ptr %13, align 4 %125 = add nsw i32 %124, 1 store i32 %125, ptr %13, align 4 br label %110, !llvm.loop !11 126: ; preds = %110 br label %30 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @printf(ptr noundef, i32 noundef) #2 declare i32 @rand(...) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #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 = { nocallback nofree nosync nounwind willreturn } 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} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmps1qgl_tp.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 [19 x i8] c"Attempt Number %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @bogosort(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, 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 %3, align 8 store i32 %1, ptr %4, align 4 %14 = load i32, ptr %4, align 4 %15 = zext i32 %14 to i64 %16 = call ptr @llvm.stacksave() store ptr %16, ptr %5, align 8 %17 = alloca i32, i64 %15, align 16 store i64 %15, ptr %6, align 8 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 %18 = load i32, ptr %9, align 4 %19 = load i32, ptr %4, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %.lr.ph, label %31 .lr.ph: ; preds = %2 br label %21 21: ; preds = %.lr.ph, %25 %22 = load i32, ptr %9, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i32, ptr %17, i64 %23 store i32 -1, ptr %24, align 4 br label %25 25: ; preds = %21 %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 %4, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %31 31: ; preds = %._crit_edge, %2 br label %32 32: ; preds = %136, %31 br label %33 33: ; preds = %32 %34 = load i32, ptr %8, align 4 %35 = call i32 @printf(ptr noundef @.str, i32 noundef %34) %36 = load i32, ptr %8, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %8, align 4 store i32 0, ptr %10, align 4 %38 = load i32, ptr %10, align 4 %39 = load i32, ptr %4, align 4 %40 = icmp slt i32 %38, %39 br i1 %40, label %.lr.ph2, label %71 .lr.ph2: ; preds = %33 br label %41 41: ; preds = %.lr.ph2, %65 %42 = load ptr, ptr %3, align 8 %43 = load i32, ptr %10, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i32, ptr %42, i64 %44 %46 = load i32, ptr %45, align 4 %47 = load ptr, ptr %3, align 8 %48 = load i32, ptr %10, align 4 %49 = add nsw i32 %48, 1 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i32, ptr %47, i64 %50 %52 = load i32, ptr %51, align 4 %53 = icmp slt i32 %46, %52 br i1 %53, label %54, label %55 54: ; preds = %41 br label %65 55: ; preds = %41 %56 = load i32, ptr %10, align 4 %57 = add nsw i32 %56, 1 %58 = load i32, ptr %4, align 4 %59 = icmp eq i32 %57, %58 br i1 %59, label %60, label %62 60: ; preds = %55 %61 = load ptr, ptr %5, align 8 call void @llvm.stackrestore(ptr %61) ret void 62: ; preds = %55 store i32 1000, ptr %10, align 4 br label %63 63: ; preds = %62 br label %64 64: ; preds = %63 br label %65 65: ; preds = %64, %54 %66 = load i32, ptr %10, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %10, align 4 %68 = load i32, ptr %10, align 4 %69 = load i32, ptr %4, align 4 %70 = icmp slt i32 %68, %69 br i1 %70, label %41, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %65 br label %71 71: ; preds = %._crit_edge3, %33 store i32 0, ptr %11, align 4 %72 = load i32, ptr %11, align 4 %73 = load i32, ptr %4, align 4 %74 = icmp slt i32 %72, %73 br i1 %74, label %.lr.ph5, label %85 .lr.ph5: ; preds = %71 br label %75 75: ; preds = %.lr.ph5, %79 %76 = load i32, ptr %11, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds i32, ptr %17, i64 %77 store i32 -1, ptr %78, align 4 br label %79 79: ; preds = %75 %80 = load i32, ptr %11, align 4 %81 = add nsw i32 %80, 1 store i32 %81, ptr %11, align 4 %82 = load i32, ptr %11, align 4 %83 = load i32, ptr %4, align 4 %84 = icmp slt i32 %82, %83 br i1 %84, label %75, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %79 br label %85 85: ; preds = %._crit_edge6, %71 store i32 0, ptr %12, align 4 %86 = load i32, ptr %12, align 4 %87 = load i32, ptr %4, align 4 %88 = icmp slt i32 %86, %87 br i1 %88, label %.lr.ph8, label %117 .lr.ph8: ; preds = %85 br label %89 89: ; preds = %.lr.ph8, %111 %90 = call i32 (...) @rand() %91 = load i32, ptr %4, align 4 %92 = srem i32 %90, %91 store i32 %92, ptr %7, align 4 %93 = load i32, ptr %7, align 4 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds i32, ptr %17, i64 %94 %96 = load i32, ptr %95, align 4 %97 = icmp eq i32 %96, -1 br i1 %97, label %98, label %107 98: ; preds = %89 %99 = load ptr, ptr %3, align 8 %100 = load i32, ptr %12, align 4 %101 = sext i32 %100 to i64 %102 = getelementptr inbounds i32, ptr %99, i64 %101 %103 = load i32, ptr %102, align 4 %104 = load i32, ptr %7, align 4 %105 = sext i32 %104 to i64 %106 = getelementptr inbounds i32, ptr %17, i64 %105 store i32 %103, ptr %106, align 4 br label %110 107: ; preds = %89 %108 = load i32, ptr %12, align 4 %109 = add nsw i32 %108, -1 store i32 %109, ptr %12, align 4 br label %110 110: ; preds = %107, %98 br label %111 111: ; preds = %110 %112 = load i32, ptr %12, align 4 %113 = add nsw i32 %112, 1 store i32 %113, ptr %12, align 4 %114 = load i32, ptr %12, align 4 %115 = load i32, ptr %4, align 4 %116 = icmp slt i32 %114, %115 br i1 %116, label %89, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %111 br label %117 117: ; preds = %._crit_edge9, %85 store i32 0, ptr %13, align 4 %118 = load i32, ptr %13, align 4 %119 = load i32, ptr %4, align 4 %120 = icmp slt i32 %118, %119 br i1 %120, label %.lr.ph11, label %136 .lr.ph11: ; preds = %117 br label %121 121: ; preds = %.lr.ph11, %130 %122 = load i32, ptr %13, align 4 %123 = sext i32 %122 to i64 %124 = getelementptr inbounds i32, ptr %17, i64 %123 %125 = load i32, ptr %124, align 4 %126 = load ptr, ptr %3, align 8 %127 = load i32, ptr %13, align 4 %128 = sext i32 %127 to i64 %129 = getelementptr inbounds i32, ptr %126, i64 %128 store i32 %125, ptr %129, align 4 br label %130 130: ; preds = %121 %131 = load i32, ptr %13, align 4 %132 = add nsw i32 %131, 1 store i32 %132, ptr %13, align 4 %133 = load i32, ptr %13, align 4 %134 = load i32, ptr %4, align 4 %135 = icmp slt i32 %133, %134 br i1 %135, label %121, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %130 br label %136 136: ; preds = %._crit_edge12, %117 br label %32 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @printf(ptr noundef, i32 noundef) #2 declare i32 @rand(...) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #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 = { nocallback nofree nosync nounwind willreturn } 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} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmp787tpxrl.c' source_filename = "/tmp/tmp787tpxrl.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 @removeGaps(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 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %10 = load i32, ptr %5, align 4 %11 = sext i32 %10 to i64 %12 = mul i64 %11, 1 %13 = trunc i64 %12 to i32 %14 = call i64 @malloc(i32 noundef %13) %15 = inttoptr i64 %14 to ptr store ptr %15, ptr %7, align 8 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 br label %16 16: ; preds = %41, %3 %17 = load i32, ptr %8, align 4 %18 = load i32, ptr %5, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %20, label %44 20: ; preds = %16 %21 = load ptr, ptr %4, align 8 %22 = load i32, ptr %8, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %21, i64 %23 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp ne i32 %26, 20 br i1 %27, label %28, label %40 28: ; preds = %20 %29 = load ptr, ptr %4, align 8 %30 = load i32, ptr %8, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %29, i64 %31 %33 = load i8, ptr %32, align 1 %34 = load ptr, ptr %7, align 8 %35 = load i32, ptr %9, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i8, ptr %34, i64 %36 store i8 %33, ptr %37, align 1 %38 = load i32, ptr %9, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %9, align 4 br label %40 40: ; preds = %28, %20 br label %41 41: ; preds = %40 %42 = load i32, ptr %8, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %8, align 4 br label %16, !llvm.loop !6 44: ; preds = %16 %45 = load i32, ptr %9, align 4 %46 = load ptr, ptr %6, align 8 store i32 %45, ptr %46, align 4 %47 = load ptr, ptr %7, align 8 ret ptr %47 } declare i64 @malloc(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/tmp787tpxrl.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 @removeGaps(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 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %10 = load i32, ptr %5, align 4 %11 = sext i32 %10 to i64 %12 = mul i64 %11, 1 %13 = trunc i64 %12 to i32 %14 = call i64 @malloc(i32 noundef %13) %15 = inttoptr i64 %14 to ptr store ptr %15, ptr %7, align 8 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 %16 = load i32, ptr %8, align 4 %17 = load i32, ptr %5, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %.lr.ph, label %46 .lr.ph: ; preds = %3 br label %19 19: ; preds = %.lr.ph, %40 %20 = load ptr, ptr %4, align 8 %21 = load i32, ptr %8, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %20, i64 %22 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp ne i32 %25, 20 br i1 %26, label %27, label %39 27: ; preds = %19 %28 = load ptr, ptr %4, align 8 %29 = load i32, ptr %8, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %28, i64 %30 %32 = load i8, ptr %31, align 1 %33 = load ptr, ptr %7, align 8 %34 = load i32, ptr %9, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i8, ptr %33, i64 %35 store i8 %32, ptr %36, align 1 %37 = load i32, ptr %9, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %9, align 4 br label %39 39: ; preds = %27, %19 br label %40 40: ; preds = %39 %41 = load i32, ptr %8, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %8, align 4 %43 = load i32, ptr %8, align 4 %44 = load i32, ptr %5, align 4 %45 = icmp slt i32 %43, %44 br i1 %45, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %40 br label %46 46: ; preds = %._crit_edge, %3 %47 = load i32, ptr %9, align 4 %48 = load ptr, ptr %6, align 8 store i32 %47, ptr %48, align 4 %49 = load ptr, ptr %7, align 8 ret ptr %49 } declare i64 @malloc(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/tmpi3a_7g7s.c' source_filename = "/tmp/tmpi3a_7g7s.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" @AUDIO_SET_BYPASS_MODE = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"AUDIO_SET_BYPASS_MODE\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @audioSetBypassMode(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 %4, align 4 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr %5, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %10, label %9 9: ; preds = %2 store i32 -1, ptr %3, align 4 br label %21 10: ; preds = %2 %11 = load ptr, ptr %5, align 8 %12 = call i32 @atoi(ptr noundef %11) store i32 %12, ptr %6, align 4 %13 = load i32, ptr %4, align 4 %14 = load i32, ptr @AUDIO_SET_BYPASS_MODE, align 4 %15 = load i32, ptr %6, align 4 %16 = call i32 @ioctl(i32 noundef %13, i32 noundef %14, i32 noundef %15) %17 = icmp eq i32 %16, -1 br i1 %17, label %18, label %20 18: ; preds = %10 %19 = call i32 @perror(ptr noundef @.str) br label %20 20: ; preds = %18, %10 store i32 0, ptr %3, align 4 br label %21 21: ; preds = %20, %9 %22 = load i32, ptr %3, align 4 ret i32 %22 } declare i32 @atoi(ptr noundef) #1 declare i32 @ioctl(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(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/tmpi3a_7g7s.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" @AUDIO_SET_BYPASS_MODE = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"AUDIO_SET_BYPASS_MODE\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @audioSetBypassMode(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 %4, align 4 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr %5, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %10, label %9 9: ; preds = %2 store i32 -1, ptr %3, align 4 br label %21 10: ; preds = %2 %11 = load ptr, ptr %5, align 8 %12 = call i32 @atoi(ptr noundef %11) store i32 %12, ptr %6, align 4 %13 = load i32, ptr %4, align 4 %14 = load i32, ptr @AUDIO_SET_BYPASS_MODE, align 4 %15 = load i32, ptr %6, align 4 %16 = call i32 @ioctl(i32 noundef %13, i32 noundef %14, i32 noundef %15) %17 = icmp eq i32 %16, -1 br i1 %17, label %18, label %20 18: ; preds = %10 %19 = call i32 @perror(ptr noundef @.str) br label %20 20: ; preds = %18, %10 store i32 0, ptr %3, align 4 br label %21 21: ; preds = %20, %9 %22 = load i32, ptr %3, align 4 ret i32 %22 } declare i32 @atoi(ptr noundef) #1 declare i32 @ioctl(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(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/tmps_e8ere5.c' source_filename = "/tmp/tmps_e8ere5.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 i64 @CeilLog2(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = call i64 @Log2(i64 noundef %4) store i64 %5, ptr %3, align 8 %6 = load i64, ptr %3, align 8 %7 = shl i64 1, %6 %8 = load i64, ptr %2, align 8 %9 = icmp ult i64 %7, %8 br i1 %9, label %10, label %13 10: ; preds = %1 %11 = load i64, ptr %3, align 8 %12 = add i64 %11, 1 store i64 %12, ptr %3, align 8 br label %13 13: ; preds = %10, %1 %14 = load i64, ptr %3, align 8 ret i64 %14 } declare i64 @Log2(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/tmps_e8ere5.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 i64 @CeilLog2(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = call i64 @Log2(i64 noundef %4) store i64 %5, ptr %3, align 8 %6 = load i64, ptr %3, align 8 %7 = shl i64 1, %6 %8 = load i64, ptr %2, align 8 %9 = icmp ult i64 %7, %8 br i1 %9, label %10, label %13 10: ; preds = %1 %11 = load i64, ptr %3, align 8 %12 = add i64 %11, 1 store i64 %12, ptr %3, align 8 br label %13 13: ; preds = %10, %1 %14 = load i64, ptr %3, align 8 ret i64 %14 } declare i64 @Log2(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/tmp9folo31g.c' source_filename = "/tmp/tmp9folo31g.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/tmp9folo31g.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/tmpp28rdghq.c' source_filename = "/tmp/tmpp28rdghq.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 @convert_extension(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 ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 %9 = load ptr, ptr %5, align 8 %10 = call i64 @strend(ptr noundef %8, ptr noundef %9) %11 = icmp ne i64 %10, 0 br i1 %11, label %12, label %23 12: ; preds = %3 %13 = load ptr, ptr %4, align 8 %14 = load ptr, ptr %4, align 8 %15 = call i64 @strlen(ptr noundef %14) %16 = load ptr, ptr %5, align 8 %17 = call i64 @strlen(ptr noundef %16) %18 = sub nsw i64 %15, %17 %19 = call ptr @strndup(ptr noundef %13, i64 noundef %18) store ptr %19, ptr %7, align 8 %20 = load ptr, ptr %7, align 8 %21 = load ptr, ptr %6, align 8 %22 = call ptr @strcat(ptr noundef %20, ptr noundef %21) store ptr %22, ptr %7, align 8 br label %29 23: ; preds = %3 %24 = load ptr, ptr %4, align 8 %25 = call ptr @strdup(ptr noundef %24) store ptr %25, ptr %7, align 8 %26 = load ptr, ptr %7, align 8 %27 = load ptr, ptr %6, align 8 %28 = call ptr @strcat(ptr noundef %26, ptr noundef %27) store ptr %28, ptr %7, align 8 br label %29 29: ; preds = %23, %12 %30 = load ptr, ptr %7, align 8 ret ptr %30 } declare i64 @strend(ptr noundef, ptr noundef) #1 declare ptr @strndup(ptr noundef, i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare ptr @strcat(ptr noundef, ptr noundef) #1 declare ptr @strdup(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/tmpp28rdghq.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 @convert_extension(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 ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 %9 = load ptr, ptr %5, align 8 %10 = call i64 @strend(ptr noundef %8, ptr noundef %9) %11 = icmp ne i64 %10, 0 br i1 %11, label %12, label %23 12: ; preds = %3 %13 = load ptr, ptr %4, align 8 %14 = load ptr, ptr %4, align 8 %15 = call i64 @strlen(ptr noundef %14) %16 = load ptr, ptr %5, align 8 %17 = call i64 @strlen(ptr noundef %16) %18 = sub nsw i64 %15, %17 %19 = call ptr @strndup(ptr noundef %13, i64 noundef %18) store ptr %19, ptr %7, align 8 %20 = load ptr, ptr %7, align 8 %21 = load ptr, ptr %6, align 8 %22 = call ptr @strcat(ptr noundef %20, ptr noundef %21) store ptr %22, ptr %7, align 8 br label %29 23: ; preds = %3 %24 = load ptr, ptr %4, align 8 %25 = call ptr @strdup(ptr noundef %24) store ptr %25, ptr %7, align 8 %26 = load ptr, ptr %7, align 8 %27 = load ptr, ptr %6, align 8 %28 = call ptr @strcat(ptr noundef %26, ptr noundef %27) store ptr %28, ptr %7, align 8 br label %29 29: ; preds = %23, %12 %30 = load ptr, ptr %7, align 8 ret ptr %30 } declare i64 @strend(ptr noundef, ptr noundef) #1 declare ptr @strndup(ptr noundef, i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare ptr @strcat(ptr noundef, ptr noundef) #1 declare ptr @strdup(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/tmpm382z2_p.c' source_filename = "/tmp/tmpm382z2_p.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_in = type { %struct.TYPE_2__, i32, i32 } %struct.TYPE_2__ = type { i32 } @AF_INET = 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"socket_serveur\00", align 1 @INADDR_ANY = dso_local global i32 0, align 4 @SOL_SOCKET = dso_local global i32 0, align 4 @SO_REUSEADDR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [32 x i8] c"Can not set SO_REUSEADDR option\00", align 1 @.str.2 = private unnamed_addr constant [30 x i8] c"Bind socker_serveur probleme \00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c" listen socket_serveur \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @creer_serveur(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca %struct.sockaddr_in, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %8 = load i32, ptr @AF_INET, align 4 %9 = load i32, ptr @SOCK_STREAM, align 4 %10 = call i32 @socket(i32 noundef %8, i32 noundef %9, i32 noundef 0) store i32 %10, ptr %4, align 4 %11 = load i32, ptr %4, align 4 %12 = icmp eq i32 %11, -1 br i1 %12, label %13, label %15 13: ; preds = %1 %14 = call i32 @perror(ptr noundef @.str) br label %15 15: ; preds = %13, %1 %16 = load i32, ptr @AF_INET, align 4 %17 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 2 store i32 %16, ptr %17, align 4 %18 = load i32, ptr %3, align 4 %19 = call i32 @htons(i32 noundef %18) %20 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 1 store i32 %19, ptr %20, align 4 %21 = load i32, ptr @INADDR_ANY, align 4 %22 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 0 %23 = getelementptr inbounds %struct.TYPE_2__, ptr %22, i32 0, i32 0 store i32 %21, ptr %23, align 4 store i32 1, ptr %6, align 4 %24 = load i32, ptr %4, align 4 %25 = load i32, ptr @SOL_SOCKET, align 4 %26 = load i32, ptr @SO_REUSEADDR, align 4 %27 = call i32 @setsockopt(i32 noundef %24, i32 noundef %25, i32 noundef %26, ptr noundef %6, i32 noundef 4) %28 = icmp eq i32 %27, -1 br i1 %28, label %29, label %31 29: ; preds = %15 %30 = call i32 @perror(ptr noundef @.str.1) br label %31 31: ; preds = %29, %15 %32 = load i32, ptr %4, align 4 %33 = call i32 @bind(i32 noundef %32, ptr noundef %5, i32 noundef 12) %34 = icmp eq i32 %33, -1 br i1 %34, label %35, label %37 35: ; preds = %31 %36 = call i32 @perror(ptr noundef @.str.2) store i32 -1, ptr %2, align 4 br label %46 37: ; preds = %31 %38 = load i32, ptr %4, align 4 %39 = call i32 @listen(i32 noundef %38, i32 noundef 10) store i32 %39, ptr %7, align 4 %40 = load i32, ptr %7, align 4 %41 = icmp eq i32 %40, -1 br i1 %41, label %42, label %44 42: ; preds = %37 %43 = call i32 @perror(ptr noundef @.str.3) store i32 -1, ptr %2, align 4 br label %46 44: ; preds = %37 %45 = load i32, ptr %4, align 4 store i32 %45, ptr %2, align 4 br label %46 46: ; preds = %44, %42, %35 %47 = load i32, ptr %2, align 4 ret i32 %47 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @listen(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/tmpm382z2_p.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_in = type { %struct.TYPE_2__, i32, i32 } %struct.TYPE_2__ = type { i32 } @AF_INET = 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"socket_serveur\00", align 1 @INADDR_ANY = dso_local global i32 0, align 4 @SOL_SOCKET = dso_local global i32 0, align 4 @SO_REUSEADDR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [32 x i8] c"Can not set SO_REUSEADDR option\00", align 1 @.str.2 = private unnamed_addr constant [30 x i8] c"Bind socker_serveur probleme \00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c" listen socket_serveur \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @creer_serveur(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca %struct.sockaddr_in, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %8 = load i32, ptr @AF_INET, align 4 %9 = load i32, ptr @SOCK_STREAM, align 4 %10 = call i32 @socket(i32 noundef %8, i32 noundef %9, i32 noundef 0) store i32 %10, ptr %4, align 4 %11 = load i32, ptr %4, align 4 %12 = icmp eq i32 %11, -1 br i1 %12, label %13, label %15 13: ; preds = %1 %14 = call i32 @perror(ptr noundef @.str) br label %15 15: ; preds = %13, %1 %16 = load i32, ptr @AF_INET, align 4 %17 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 2 store i32 %16, ptr %17, align 4 %18 = load i32, ptr %3, align 4 %19 = call i32 @htons(i32 noundef %18) %20 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 1 store i32 %19, ptr %20, align 4 %21 = load i32, ptr @INADDR_ANY, align 4 %22 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 0 %23 = getelementptr inbounds %struct.TYPE_2__, ptr %22, i32 0, i32 0 store i32 %21, ptr %23, align 4 store i32 1, ptr %6, align 4 %24 = load i32, ptr %4, align 4 %25 = load i32, ptr @SOL_SOCKET, align 4 %26 = load i32, ptr @SO_REUSEADDR, align 4 %27 = call i32 @setsockopt(i32 noundef %24, i32 noundef %25, i32 noundef %26, ptr noundef %6, i32 noundef 4) %28 = icmp eq i32 %27, -1 br i1 %28, label %29, label %31 29: ; preds = %15 %30 = call i32 @perror(ptr noundef @.str.1) br label %31 31: ; preds = %29, %15 %32 = load i32, ptr %4, align 4 %33 = call i32 @bind(i32 noundef %32, ptr noundef %5, i32 noundef 12) %34 = icmp eq i32 %33, -1 br i1 %34, label %35, label %37 35: ; preds = %31 %36 = call i32 @perror(ptr noundef @.str.2) store i32 -1, ptr %2, align 4 br label %46 37: ; preds = %31 %38 = load i32, ptr %4, align 4 %39 = call i32 @listen(i32 noundef %38, i32 noundef 10) store i32 %39, ptr %7, align 4 %40 = load i32, ptr %7, align 4 %41 = icmp eq i32 %40, -1 br i1 %41, label %42, label %44 42: ; preds = %37 %43 = call i32 @perror(ptr noundef @.str.3) store i32 -1, ptr %2, align 4 br label %46 44: ; preds = %37 %45 = load i32, ptr %4, align 4 store i32 %45, ptr %2, align 4 br label %46 46: ; preds = %44, %42, %35 %47 = load i32, ptr %2, align 4 ret i32 %47 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @listen(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/tmp2o6e5vw4.c' source_filename = "/tmp/tmp2o6e5vw4.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 slt i32 %6, 2 br i1 %7, label %8, label %9 8: ; preds = %2 store i32 1, ptr %3, align 4 br label %14 9: ; preds = %2 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 1 %12 = load ptr, ptr %11, align 8 %13 = call i32 @__llvm_profile_set_filename(ptr noundef %12) store i32 0, ptr %3, align 4 br label %14 14: ; preds = %9, %8 %15 = load i32, ptr %3, align 4 ret i32 %15 } declare i32 @__llvm_profile_set_filename(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/tmp2o6e5vw4.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 slt i32 %6, 2 br i1 %7, label %8, label %9 8: ; preds = %2 store i32 1, ptr %3, align 4 br label %14 9: ; preds = %2 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 1 %12 = load ptr, ptr %11, align 8 %13 = call i32 @__llvm_profile_set_filename(ptr noundef %12) store i32 0, ptr %3, align 4 br label %14 14: ; preds = %9, %8 %15 = load i32, ptr %3, align 4 ret i32 %15 } declare i32 @__llvm_profile_set_filename(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/tmpkiy4tqhv.c' source_filename = "/tmp/tmpkiy4tqhv.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"\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @read_next_line(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr %4, align 8 %8 = call ptr @strstr(ptr noundef %7, ptr noundef @.str) store ptr %8, ptr %6, align 8 %9 = load ptr, ptr %6, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %15 11: ; preds = %2 %12 = load ptr, ptr %4, align 8 %13 = call i32 @strlen(ptr noundef %12) %14 = load ptr, ptr %5, align 8 store i32 %13, ptr %14, align 4 store ptr null, ptr %3, align 8 br label %26 15: ; preds = %2 %16 = load ptr, ptr %6, align 8 %17 = getelementptr inbounds i8, ptr %16, i64 2 %18 = load ptr, ptr %4, align 8 %19 = ptrtoint ptr %17 to i64 %20 = ptrtoint ptr %18 to i64 %21 = sub i64 %19, %20 %22 = trunc i64 %21 to i32 %23 = load ptr, ptr %5, align 8 store i32 %22, ptr %23, align 4 %24 = load ptr, ptr %6, align 8 %25 = getelementptr inbounds i8, ptr %24, i64 2 store ptr %25, ptr %3, align 8 br label %26 26: ; preds = %15, %11 %27 = load ptr, ptr %3, align 8 ret ptr %27 } declare ptr @strstr(ptr noundef, ptr noundef) #1 declare i32 @strlen(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/tmpkiy4tqhv.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"\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @read_next_line(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr %4, align 8 %8 = call ptr @strstr(ptr noundef %7, ptr noundef @.str) store ptr %8, ptr %6, align 8 %9 = load ptr, ptr %6, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %15 11: ; preds = %2 %12 = load ptr, ptr %4, align 8 %13 = call i32 @strlen(ptr noundef %12) %14 = load ptr, ptr %5, align 8 store i32 %13, ptr %14, align 4 store ptr null, ptr %3, align 8 br label %26 15: ; preds = %2 %16 = load ptr, ptr %6, align 8 %17 = getelementptr inbounds i8, ptr %16, i64 2 %18 = load ptr, ptr %4, align 8 %19 = ptrtoint ptr %17 to i64 %20 = ptrtoint ptr %18 to i64 %21 = sub i64 %19, %20 %22 = trunc i64 %21 to i32 %23 = load ptr, ptr %5, align 8 store i32 %22, ptr %23, align 4 %24 = load ptr, ptr %6, align 8 %25 = getelementptr inbounds i8, ptr %24, i64 2 store ptr %25, ptr %3, align 8 br label %26 26: ; preds = %15, %11 %27 = load ptr, ptr %3, align 8 ret ptr %27 } declare ptr @strstr(ptr noundef, ptr noundef) #1 declare i32 @strlen(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"}