llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpr_cwsttl.c' source_filename = "/tmp/tmpr_cwsttl.c" target datalayout = "e-m:e-p270: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/tmpr_cwsttl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_ydhs3mg.c' source_filename = "/tmp/tmp_ydhs3mg.c" target datalayout = "e-m:e-p270: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 @__hsail_ftz_f32_f16(float noundef %0) #0 { %2 = alloca float, align 4 %3 = alloca float, align 4 store float %0, ptr %3, align 4 %4 = load float, ptr %3, align 4 %5 = call i64 @isnan(float noundef %4) %6 = icmp ne i64 %5, 0 br i1 %6, label %14, label %7 7: ; preds = %1 %8 = load float, ptr %3, align 4 %9 = call i64 @isinf(float noundef %8) %10 = icmp ne i64 %9, 0 br i1 %10, label %14, label %11 11: ; preds = %7 %12 = load float, ptr %3, align 4 %13 = fcmp oeq float %12, 0.000000e+00 br i1 %13, label %14, label %16 14: ; preds = %11, %7, %1 %15 = load float, ptr %3, align 4 store float %15, ptr %2, align 4 br label %34 16: ; preds = %11 %17 = load float, ptr %3, align 4 %18 = fcmp olt float %17, 0.000000e+00 br i1 %18, label %19, label %26 19: ; preds = %16 %20 = load float, ptr %3, align 4 %21 = fneg float %20 %22 = fpext float %21 to double %23 = fcmp olt double %22, 6.100000e-05 br i1 %23, label %24, label %25 24: ; preds = %19 store float -0.000000e+00, ptr %2, align 4 br label %34 25: ; preds = %19 br label %32 26: ; preds = %16 %27 = load float, ptr %3, align 4 %28 = fpext float %27 to double %29 = fcmp olt double %28, 6.100000e-05 br i1 %29, label %30, label %31 30: ; preds = %26 store float 0.000000e+00, ptr %2, align 4 br label %34 31: ; preds = %26 br label %32 32: ; preds = %31, %25 %33 = load float, ptr %3, align 4 store float %33, ptr %2, align 4 br label %34 34: ; preds = %32, %30, %24, %14 %35 = load float, ptr %2, align 4 ret float %35 } declare i64 @isnan(float noundef) #1 declare i64 @isinf(float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_ydhs3mg.c" target datalayout = "e-m:e-p270: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 @__hsail_ftz_f32_f16(float noundef %0) #0 { %2 = alloca float, align 4 %3 = alloca float, align 4 store float %0, ptr %3, align 4 %4 = load float, ptr %3, align 4 %5 = call i64 @isnan(float noundef %4) %6 = icmp ne i64 %5, 0 br i1 %6, label %14, label %7 7: ; preds = %1 %8 = load float, ptr %3, align 4 %9 = call i64 @isinf(float noundef %8) %10 = icmp ne i64 %9, 0 br i1 %10, label %14, label %11 11: ; preds = %7 %12 = load float, ptr %3, align 4 %13 = fcmp oeq float %12, 0.000000e+00 br i1 %13, label %14, label %16 14: ; preds = %11, %7, %1 %15 = load float, ptr %3, align 4 store float %15, ptr %2, align 4 br label %34 16: ; preds = %11 %17 = load float, ptr %3, align 4 %18 = fcmp olt float %17, 0.000000e+00 br i1 %18, label %19, label %26 19: ; preds = %16 %20 = load float, ptr %3, align 4 %21 = fneg float %20 %22 = fpext float %21 to double %23 = fcmp olt double %22, 6.100000e-05 br i1 %23, label %24, label %25 24: ; preds = %19 store float -0.000000e+00, ptr %2, align 4 br label %34 25: ; preds = %19 br label %32 26: ; preds = %16 %27 = load float, ptr %3, align 4 %28 = fpext float %27 to double %29 = fcmp olt double %28, 6.100000e-05 br i1 %29, label %30, label %31 30: ; preds = %26 store float 0.000000e+00, ptr %2, align 4 br label %34 31: ; preds = %26 br label %32 32: ; preds = %31, %25 %33 = load float, ptr %3, align 4 store float %33, ptr %2, align 4 br label %34 34: ; preds = %32, %30, %24, %14 %35 = load float, ptr %2, align 4 ret float %35 } declare i64 @isnan(float noundef) #1 declare i64 @isinf(float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdjnfzbhq.c' source_filename = "/tmp/tmpdjnfzbhq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [39 x i8] c"Break here to try targetted stepping.\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"Done calling lotsOfArgs.\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"All done.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = load i32, ptr %4, align 4 %8 = icmp sgt i32 %7, 0 br i1 %8, label %9, label %18 9: ; preds = %2 %10 = load i32, ptr %4, align 4 %11 = add nsw i32 %10, 1 store i32 %11, ptr %6, align 4 %12 = call i32 @printf(ptr noundef @.str) %13 = load i32, ptr %6, align 4 %14 = call i32 @modifyInt(i32 noundef 20) %15 = call i32 @modifyInt(i32 noundef 40) %16 = call i32 @lotsOfArgs(i32 noundef %13, i32 noundef %14, i32 noundef 30, i32 noundef %15) %17 = call i32 @printf(ptr noundef @.str.1) br label %18 18: ; preds = %9, %2 %19 = call i32 @printf(ptr noundef @.str.2) ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @lotsOfArgs(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @modifyInt(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/tmpdjnfzbhq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [39 x i8] c"Break here to try targetted stepping.\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"Done calling lotsOfArgs.\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"All done.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = load i32, ptr %4, align 4 %8 = icmp sgt i32 %7, 0 br i1 %8, label %9, label %18 9: ; preds = %2 %10 = load i32, ptr %4, align 4 %11 = add nsw i32 %10, 1 store i32 %11, ptr %6, align 4 %12 = call i32 @printf(ptr noundef @.str) %13 = load i32, ptr %6, align 4 %14 = call i32 @modifyInt(i32 noundef 20) %15 = call i32 @modifyInt(i32 noundef 40) %16 = call i32 @lotsOfArgs(i32 noundef %13, i32 noundef %14, i32 noundef 30, i32 noundef %15) %17 = call i32 @printf(ptr noundef @.str.1) br label %18 18: ; preds = %9, %2 %19 = call i32 @printf(ptr noundef @.str.2) ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @lotsOfArgs(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @modifyInt(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/tmpcs6sr8w0.c' source_filename = "/tmp/tmpcs6sr8w0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ignlgi.ignlgi = internal global i64 0, align 8 @ignlgi.curntg = internal global i64 0, align 8 @ignlgi.k = internal global i64 0, align 8 @ignlgi.s1 = internal global i64 0, align 8 @ignlgi.s2 = internal global i64 0, align 8 @ignlgi.z = internal global i64 0, align 8 @ignlgi.qqssd = internal global i64 0, align 8 @ignlgi.qrgnin = internal global i64 0, align 8 @Xcg1 = external global [0 x i64], align 8 @Xcg2 = external global [0 x i64], align 8 @Xa1 = external global i64, align 8 @Xm1 = external global i64, align 8 @Xa2 = external global i64, align 8 @Xm2 = external global i64, align 8 @Xqanti = external global [0 x i64], align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @ignlgi() #0 { call void @gsrgs(i64 noundef 0, ptr noundef @ignlgi.qrgnin) %1 = load i64, ptr @ignlgi.qrgnin, align 8 %2 = icmp ne i64 %1, 0 br i1 %2, label %4, label %3 3: ; preds = %0 call void @inrgcm() br label %4 4: ; preds = %3, %0 call void @gssst(i64 noundef 0, ptr noundef @ignlgi.qqssd) %5 = load i64, ptr @ignlgi.qqssd, align 8 %6 = icmp ne i64 %5, 0 br i1 %6, label %9, label %7 7: ; preds = %4 %8 = call i32 @setall(i64 noundef 1234567890, i64 noundef 123456789) br label %9 9: ; preds = %7, %4 call void @gscgn(i64 noundef 0, ptr noundef @ignlgi.curntg) %10 = load i64, ptr @ignlgi.curntg, align 8 %11 = getelementptr inbounds i64, ptr @Xcg1, i64 %10 %12 = getelementptr inbounds i64, ptr %11, i64 -1 %13 = load i64, ptr %12, align 8 store i64 %13, ptr @ignlgi.s1, align 8 %14 = load i64, ptr @ignlgi.curntg, align 8 %15 = getelementptr inbounds i64, ptr @Xcg2, i64 %14 %16 = getelementptr inbounds i64, ptr %15, i64 -1 %17 = load i64, ptr %16, align 8 store i64 %17, ptr @ignlgi.s2, align 8 %18 = load i64, ptr @ignlgi.s1, align 8 %19 = sdiv i64 %18, 53668 store i64 %19, ptr @ignlgi.k, align 8 %20 = load i64, ptr @Xa1, align 8 %21 = load i64, ptr @ignlgi.s1, align 8 %22 = load i64, ptr @ignlgi.k, align 8 %23 = mul nsw i64 %22, 53668 %24 = sub nsw i64 %21, %23 %25 = mul nsw i64 %20, %24 %26 = load i64, ptr @ignlgi.k, align 8 %27 = mul nsw i64 %26, 12211 %28 = sub nsw i64 %25, %27 store i64 %28, ptr @ignlgi.s1, align 8 %29 = load i64, ptr @ignlgi.s1, align 8 %30 = icmp slt i64 %29, 0 br i1 %30, label %31, label %35 31: ; preds = %9 %32 = load i64, ptr @Xm1, align 8 %33 = load i64, ptr @ignlgi.s1, align 8 %34 = add nsw i64 %33, %32 store i64 %34, ptr @ignlgi.s1, align 8 br label %35 35: ; preds = %31, %9 %36 = load i64, ptr @ignlgi.s2, align 8 %37 = sdiv i64 %36, 52774 store i64 %37, ptr @ignlgi.k, align 8 %38 = load i64, ptr @Xa2, align 8 %39 = load i64, ptr @ignlgi.s2, align 8 %40 = load i64, ptr @ignlgi.k, align 8 %41 = mul nsw i64 %40, 52774 %42 = sub nsw i64 %39, %41 %43 = mul nsw i64 %38, %42 %44 = load i64, ptr @ignlgi.k, align 8 %45 = mul nsw i64 %44, 3791 %46 = sub nsw i64 %43, %45 store i64 %46, ptr @ignlgi.s2, align 8 %47 = load i64, ptr @ignlgi.s2, align 8 %48 = icmp slt i64 %47, 0 br i1 %48, label %49, label %53 49: ; preds = %35 %50 = load i64, ptr @Xm2, align 8 %51 = load i64, ptr @ignlgi.s2, align 8 %52 = add nsw i64 %51, %50 store i64 %52, ptr @ignlgi.s2, align 8 br label %53 53: ; preds = %49, %35 %54 = load i64, ptr @ignlgi.s1, align 8 %55 = load i64, ptr @ignlgi.curntg, align 8 %56 = getelementptr inbounds i64, ptr @Xcg1, i64 %55 %57 = getelementptr inbounds i64, ptr %56, i64 -1 store i64 %54, ptr %57, align 8 %58 = load i64, ptr @ignlgi.s2, align 8 %59 = load i64, ptr @ignlgi.curntg, align 8 %60 = getelementptr inbounds i64, ptr @Xcg2, i64 %59 %61 = getelementptr inbounds i64, ptr %60, i64 -1 store i64 %58, ptr %61, align 8 %62 = load i64, ptr @ignlgi.s1, align 8 %63 = load i64, ptr @ignlgi.s2, align 8 %64 = sub nsw i64 %62, %63 store i64 %64, ptr @ignlgi.z, align 8 %65 = load i64, ptr @ignlgi.z, align 8 %66 = icmp slt i64 %65, 1 br i1 %66, label %67, label %72 67: ; preds = %53 %68 = load i64, ptr @Xm1, align 8 %69 = sub nsw i64 %68, 1 %70 = load i64, ptr @ignlgi.z, align 8 %71 = add nsw i64 %70, %69 store i64 %71, ptr @ignlgi.z, align 8 br label %72 72: ; preds = %67, %53 %73 = load i64, ptr @ignlgi.curntg, align 8 %74 = getelementptr inbounds i64, ptr @Xqanti, i64 %73 %75 = getelementptr inbounds i64, ptr %74, i64 -1 %76 = load i64, ptr %75, align 8 %77 = icmp ne i64 %76, 0 br i1 %77, label %78, label %82 78: ; preds = %72 %79 = load i64, ptr @Xm1, align 8 %80 = load i64, ptr @ignlgi.z, align 8 %81 = sub nsw i64 %79, %80 store i64 %81, ptr @ignlgi.z, align 8 br label %82 82: ; preds = %78, %72 %83 = load i64, ptr @ignlgi.z, align 8 store i64 %83, ptr @ignlgi.ignlgi, align 8 %84 = load i64, ptr @ignlgi.ignlgi, align 8 ret i64 %84 } declare void @gsrgs(i64 noundef, ptr noundef) #1 declare void @inrgcm() #1 declare void @gssst(i64 noundef, ptr noundef) #1 declare i32 @setall(i64 noundef, i64 noundef) #1 declare void @gscgn(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/tmpcs6sr8w0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ignlgi.ignlgi = internal global i64 0, align 8 @ignlgi.curntg = internal global i64 0, align 8 @ignlgi.k = internal global i64 0, align 8 @ignlgi.s1 = internal global i64 0, align 8 @ignlgi.s2 = internal global i64 0, align 8 @ignlgi.z = internal global i64 0, align 8 @ignlgi.qqssd = internal global i64 0, align 8 @ignlgi.qrgnin = internal global i64 0, align 8 @Xcg1 = external global [0 x i64], align 8 @Xcg2 = external global [0 x i64], align 8 @Xa1 = external global i64, align 8 @Xm1 = external global i64, align 8 @Xa2 = external global i64, align 8 @Xm2 = external global i64, align 8 @Xqanti = external global [0 x i64], align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @ignlgi() #0 { call void @gsrgs(i64 noundef 0, ptr noundef @ignlgi.qrgnin) %1 = load i64, ptr @ignlgi.qrgnin, align 8 %2 = icmp ne i64 %1, 0 br i1 %2, label %4, label %3 3: ; preds = %0 call void @inrgcm() br label %4 4: ; preds = %3, %0 call void @gssst(i64 noundef 0, ptr noundef @ignlgi.qqssd) %5 = load i64, ptr @ignlgi.qqssd, align 8 %6 = icmp ne i64 %5, 0 br i1 %6, label %9, label %7 7: ; preds = %4 %8 = call i32 @setall(i64 noundef 1234567890, i64 noundef 123456789) br label %9 9: ; preds = %7, %4 call void @gscgn(i64 noundef 0, ptr noundef @ignlgi.curntg) %10 = load i64, ptr @ignlgi.curntg, align 8 %11 = getelementptr inbounds i64, ptr @Xcg1, i64 %10 %12 = getelementptr inbounds i64, ptr %11, i64 -1 %13 = load i64, ptr %12, align 8 store i64 %13, ptr @ignlgi.s1, align 8 %14 = load i64, ptr @ignlgi.curntg, align 8 %15 = getelementptr inbounds i64, ptr @Xcg2, i64 %14 %16 = getelementptr inbounds i64, ptr %15, i64 -1 %17 = load i64, ptr %16, align 8 store i64 %17, ptr @ignlgi.s2, align 8 %18 = load i64, ptr @ignlgi.s1, align 8 %19 = sdiv i64 %18, 53668 store i64 %19, ptr @ignlgi.k, align 8 %20 = load i64, ptr @Xa1, align 8 %21 = load i64, ptr @ignlgi.s1, align 8 %22 = load i64, ptr @ignlgi.k, align 8 %23 = mul nsw i64 %22, 53668 %24 = sub nsw i64 %21, %23 %25 = mul nsw i64 %20, %24 %26 = load i64, ptr @ignlgi.k, align 8 %27 = mul nsw i64 %26, 12211 %28 = sub nsw i64 %25, %27 store i64 %28, ptr @ignlgi.s1, align 8 %29 = load i64, ptr @ignlgi.s1, align 8 %30 = icmp slt i64 %29, 0 br i1 %30, label %31, label %35 31: ; preds = %9 %32 = load i64, ptr @Xm1, align 8 %33 = load i64, ptr @ignlgi.s1, align 8 %34 = add nsw i64 %33, %32 store i64 %34, ptr @ignlgi.s1, align 8 br label %35 35: ; preds = %31, %9 %36 = load i64, ptr @ignlgi.s2, align 8 %37 = sdiv i64 %36, 52774 store i64 %37, ptr @ignlgi.k, align 8 %38 = load i64, ptr @Xa2, align 8 %39 = load i64, ptr @ignlgi.s2, align 8 %40 = load i64, ptr @ignlgi.k, align 8 %41 = mul nsw i64 %40, 52774 %42 = sub nsw i64 %39, %41 %43 = mul nsw i64 %38, %42 %44 = load i64, ptr @ignlgi.k, align 8 %45 = mul nsw i64 %44, 3791 %46 = sub nsw i64 %43, %45 store i64 %46, ptr @ignlgi.s2, align 8 %47 = load i64, ptr @ignlgi.s2, align 8 %48 = icmp slt i64 %47, 0 br i1 %48, label %49, label %53 49: ; preds = %35 %50 = load i64, ptr @Xm2, align 8 %51 = load i64, ptr @ignlgi.s2, align 8 %52 = add nsw i64 %51, %50 store i64 %52, ptr @ignlgi.s2, align 8 br label %53 53: ; preds = %49, %35 %54 = load i64, ptr @ignlgi.s1, align 8 %55 = load i64, ptr @ignlgi.curntg, align 8 %56 = getelementptr inbounds i64, ptr @Xcg1, i64 %55 %57 = getelementptr inbounds i64, ptr %56, i64 -1 store i64 %54, ptr %57, align 8 %58 = load i64, ptr @ignlgi.s2, align 8 %59 = load i64, ptr @ignlgi.curntg, align 8 %60 = getelementptr inbounds i64, ptr @Xcg2, i64 %59 %61 = getelementptr inbounds i64, ptr %60, i64 -1 store i64 %58, ptr %61, align 8 %62 = load i64, ptr @ignlgi.s1, align 8 %63 = load i64, ptr @ignlgi.s2, align 8 %64 = sub nsw i64 %62, %63 store i64 %64, ptr @ignlgi.z, align 8 %65 = load i64, ptr @ignlgi.z, align 8 %66 = icmp slt i64 %65, 1 br i1 %66, label %67, label %72 67: ; preds = %53 %68 = load i64, ptr @Xm1, align 8 %69 = sub nsw i64 %68, 1 %70 = load i64, ptr @ignlgi.z, align 8 %71 = add nsw i64 %70, %69 store i64 %71, ptr @ignlgi.z, align 8 br label %72 72: ; preds = %67, %53 %73 = load i64, ptr @ignlgi.curntg, align 8 %74 = getelementptr inbounds i64, ptr @Xqanti, i64 %73 %75 = getelementptr inbounds i64, ptr %74, i64 -1 %76 = load i64, ptr %75, align 8 %77 = icmp ne i64 %76, 0 br i1 %77, label %78, label %82 78: ; preds = %72 %79 = load i64, ptr @Xm1, align 8 %80 = load i64, ptr @ignlgi.z, align 8 %81 = sub nsw i64 %79, %80 store i64 %81, ptr @ignlgi.z, align 8 br label %82 82: ; preds = %78, %72 %83 = load i64, ptr @ignlgi.z, align 8 store i64 %83, ptr @ignlgi.ignlgi, align 8 %84 = load i64, ptr @ignlgi.ignlgi, align 8 ret i64 %84 } declare void @gsrgs(i64 noundef, ptr noundef) #1 declare void @inrgcm() #1 declare void @gssst(i64 noundef, ptr noundef) #1 declare i32 @setall(i64 noundef, i64 noundef) #1 declare void @gscgn(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/tmp0irno6mo.c' source_filename = "/tmp/tmp0irno6mo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @LC_ALL = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @UTILS_unsetenv(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 @unsetenv(ptr noundef %3) %5 = load i32, ptr @LC_ALL, align 4 %6 = call i32 @setlocale(i32 noundef %5, ptr noundef @.str) ret void } declare i32 @unsetenv(ptr noundef) #1 declare i32 @setlocale(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/tmp0irno6mo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @LC_ALL = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @UTILS_unsetenv(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 @unsetenv(ptr noundef %3) %5 = load i32, ptr @LC_ALL, align 4 %6 = call i32 @setlocale(i32 noundef %5, ptr noundef @.str) ret void } declare i32 @unsetenv(ptr noundef) #1 declare i32 @setlocale(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/tmpd36tusje.c' source_filename = "/tmp/tmpd36tusje.c" target datalayout = "e-m:e-p270: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 @f() #0 { %1 = alloca i32, align 4 store i32 5, ptr %1, align 4 %2 = load i32, ptr %1, align 4 %3 = call i64 @cond(i32 noundef %2) %4 = icmp ne i64 %3, 0 br i1 %4, label %5, label %8 5: ; preds = %0 %6 = load i32, ptr %1, align 4 %7 = add nsw i32 %6, 1 store i32 %7, ptr %1, align 4 br label %11 8: ; preds = %0 %9 = load i32, ptr %1, align 4 %10 = add nsw i32 %9, 2 store i32 %10, ptr %1, align 4 br label %11 11: ; preds = %8, %5 %12 = load i32, ptr %1, align 4 ret i32 %12 } declare i64 @cond(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/tmpd36tusje.c" target datalayout = "e-m:e-p270: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 @f() #0 { %1 = alloca i32, align 4 store i32 5, ptr %1, align 4 %2 = load i32, ptr %1, align 4 %3 = call i64 @cond(i32 noundef %2) %4 = icmp ne i64 %3, 0 br i1 %4, label %5, label %8 5: ; preds = %0 %6 = load i32, ptr %1, align 4 %7 = add nsw i32 %6, 1 store i32 %7, ptr %1, align 4 br label %11 8: ; preds = %0 %9 = load i32, ptr %1, align 4 %10 = add nsw i32 %9, 2 store i32 %10, ptr %1, align 4 br label %11 11: ; preds = %8, %5 %12 = load i32, ptr %1, align 4 ret i32 %12 } declare i64 @cond(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/tmpm0wpns0e.c' source_filename = "/tmp/tmpm0wpns0e.c" target datalayout = "e-m:e-p270: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/tmpm0wpns0e.c" target datalayout = "e-m:e-p270: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/tmpqqwgdtf5.c' source_filename = "/tmp/tmpqqwgdtf5.c" target datalayout = "e-m:e-p270: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/tmpqqwgdtf5.c" target datalayout = "e-m:e-p270: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/tmptaz6ymjn.c' source_filename = "/tmp/tmptaz6ymjn.c" target datalayout = "e-m:e-p270: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/tmptaz6ymjn.c" target datalayout = "e-m:e-p270: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/tmpjicg8ej2.c' source_filename = "/tmp/tmpjicg8ej2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"begin...\0A\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"\E8\BF\9B\E7\A8\8B\E5\88\9B\E5\BB\BA\E5\A4\B1\E8\B4\A5!%m\0A\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"\E5\AD\90\E8\BF\9B\E7\A8\8B:pid = %d, ppid = %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [31 x i8] c"\E7\88\B6\E8\BF\9B\E7\A8\8B:pid = %d, ppid = %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"end...\0A\00", align 1 @EXIT_SUCCESS = 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 (ptr, ...) @printf(ptr noundef @.str) %4 = call i32 (...) @fork() store i32 %4, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = icmp eq i32 %5, -1 br i1 %6, label %7, label %9 7: ; preds = %0 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %21 9: ; preds = %0 %10 = load i32, ptr %2, align 4 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %16 12: ; preds = %9 %13 = call i32 (...) @getpid() %14 = call i32 (...) @getppid() %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %13, i32 noundef %14) br label %20 16: ; preds = %9 %17 = call i32 (...) @getpid() %18 = call i32 (...) @getppid() %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %17, i32 noundef %18) br label %20 20: ; preds = %16, %12 br label %21 21: ; preds = %20, %7 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %23 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %23 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @fork(...) #1 declare i32 @getpid(...) #1 declare i32 @getppid(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpjicg8ej2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"begin...\0A\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"\E8\BF\9B\E7\A8\8B\E5\88\9B\E5\BB\BA\E5\A4\B1\E8\B4\A5!%m\0A\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"\E5\AD\90\E8\BF\9B\E7\A8\8B:pid = %d, ppid = %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [31 x i8] c"\E7\88\B6\E8\BF\9B\E7\A8\8B:pid = %d, ppid = %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"end...\0A\00", align 1 @EXIT_SUCCESS = 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 (ptr, ...) @printf(ptr noundef @.str) %4 = call i32 (...) @fork() store i32 %4, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = icmp eq i32 %5, -1 br i1 %6, label %7, label %9 7: ; preds = %0 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %21 9: ; preds = %0 %10 = load i32, ptr %2, align 4 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %16 12: ; preds = %9 %13 = call i32 (...) @getpid() %14 = call i32 (...) @getppid() %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %13, i32 noundef %14) br label %20 16: ; preds = %9 %17 = call i32 (...) @getpid() %18 = call i32 (...) @getppid() %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %17, i32 noundef %18) br label %20 20: ; preds = %16, %12 br label %21 21: ; preds = %20, %7 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %23 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %23 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @fork(...) #1 declare i32 @getpid(...) #1 declare i32 @getppid(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpmr_68fpf.c' source_filename = "/tmp/tmpmr_68fpf.c" target datalayout = "e-m:e-p270: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 ptr, ptr %5, align 8 %7 = load ptr, ptr %6, align 8 %8 = call i32 @UserInitializationCalloutf(ptr noundef %7) %9 = call i32 @Escher_SetFactoryInit(i32 noundef 5260) %10 = call i32 (...) @ApplicationLevelInitialization() %11 = load ptr, ptr %5, align 8 %12 = load ptr, ptr %11, align 8 %13 = call i32 @UserPreOoaInitializationCalloutf(ptr noundef %12) %14 = call i32 (...) @ooaofooa_execute_initialization() %15 = call i32 (...) @UserPreShutdownCalloutf() %16 = call i32 (...) @UserPostShutdownCalloutf() ret i32 0 } declare i32 @UserInitializationCalloutf(ptr noundef) #1 declare i32 @Escher_SetFactoryInit(i32 noundef) #1 declare i32 @ApplicationLevelInitialization(...) #1 declare i32 @UserPreOoaInitializationCalloutf(ptr noundef) #1 declare i32 @ooaofooa_execute_initialization(...) #1 declare i32 @UserPreShutdownCalloutf(...) #1 declare i32 @UserPostShutdownCalloutf(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpmr_68fpf.c" target datalayout = "e-m:e-p270: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 ptr, ptr %5, align 8 %7 = load ptr, ptr %6, align 8 %8 = call i32 @UserInitializationCalloutf(ptr noundef %7) %9 = call i32 @Escher_SetFactoryInit(i32 noundef 5260) %10 = call i32 (...) @ApplicationLevelInitialization() %11 = load ptr, ptr %5, align 8 %12 = load ptr, ptr %11, align 8 %13 = call i32 @UserPreOoaInitializationCalloutf(ptr noundef %12) %14 = call i32 (...) @ooaofooa_execute_initialization() %15 = call i32 (...) @UserPreShutdownCalloutf() %16 = call i32 (...) @UserPostShutdownCalloutf() ret i32 0 } declare i32 @UserInitializationCalloutf(ptr noundef) #1 declare i32 @Escher_SetFactoryInit(i32 noundef) #1 declare i32 @ApplicationLevelInitialization(...) #1 declare i32 @UserPreOoaInitializationCalloutf(ptr noundef) #1 declare i32 @ooaofooa_execute_initialization(...) #1 declare i32 @UserPreShutdownCalloutf(...) #1 declare i32 @UserPostShutdownCalloutf(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpjbl1497c.c' source_filename = "/tmp/tmpjbl1497c.c" target datalayout = "e-m:e-p270: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/tmpjbl1497c.c" target datalayout = "e-m:e-p270: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/tmpeslntnmy.c' source_filename = "/tmp/tmpeslntnmy.c" target datalayout = "e-m:e-p270: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 @ux(float noundef %0, float noundef %1, float noundef %2, float noundef %3, float noundef %4, float noundef %5, float noundef %6, float noundef %7, float noundef %8, float noundef %9, float noundef %10, float noundef %11, float noundef %12) #0 { %14 = alloca float, align 4 %15 = alloca float, align 4 %16 = alloca float, align 4 %17 = alloca float, align 4 %18 = alloca float, align 4 %19 = alloca float, align 4 %20 = alloca float, align 4 %21 = alloca float, align 4 %22 = alloca float, align 4 %23 = alloca float, align 4 %24 = alloca float, align 4 %25 = alloca float, align 4 %26 = alloca float, align 4 %27 = alloca float, align 4 %28 = alloca float, align 4 %29 = alloca float, align 4 %30 = alloca float, align 4 %31 = alloca float, align 4 %32 = alloca float, align 4 %33 = alloca float, align 4 %34 = alloca float, align 4 %35 = alloca float, align 4 %36 = alloca float, align 4 %37 = alloca float, align 4 %38 = alloca float, align 4 %39 = alloca i32, align 4 store float %0, ptr %14, align 4 store float %1, ptr %15, align 4 store float %2, ptr %16, align 4 store float %3, ptr %17, align 4 store float %4, ptr %18, align 4 store float %5, ptr %19, align 4 store float %6, ptr %20, align 4 store float %7, ptr %21, align 4 store float %8, ptr %22, align 4 store float %9, ptr %23, align 4 store float %10, ptr %24, align 4 store float %11, ptr %25, align 4 store float %12, ptr %26, align 4 %40 = call i32 @dc3d_(ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %29, ptr noundef %30, ptr noundef %31, ptr noundef %32, ptr noundef %33, ptr noundef %34, ptr noundef %35, ptr noundef %36, ptr noundef %37, ptr noundef %38, ptr noundef %39) %41 = load float, ptr %27, align 4 ret float %41 } declare i32 @dc3d_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpeslntnmy.c" target datalayout = "e-m:e-p270: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 @ux(float noundef %0, float noundef %1, float noundef %2, float noundef %3, float noundef %4, float noundef %5, float noundef %6, float noundef %7, float noundef %8, float noundef %9, float noundef %10, float noundef %11, float noundef %12) #0 { %14 = alloca float, align 4 %15 = alloca float, align 4 %16 = alloca float, align 4 %17 = alloca float, align 4 %18 = alloca float, align 4 %19 = alloca float, align 4 %20 = alloca float, align 4 %21 = alloca float, align 4 %22 = alloca float, align 4 %23 = alloca float, align 4 %24 = alloca float, align 4 %25 = alloca float, align 4 %26 = alloca float, align 4 %27 = alloca float, align 4 %28 = alloca float, align 4 %29 = alloca float, align 4 %30 = alloca float, align 4 %31 = alloca float, align 4 %32 = alloca float, align 4 %33 = alloca float, align 4 %34 = alloca float, align 4 %35 = alloca float, align 4 %36 = alloca float, align 4 %37 = alloca float, align 4 %38 = alloca float, align 4 %39 = alloca i32, align 4 store float %0, ptr %14, align 4 store float %1, ptr %15, align 4 store float %2, ptr %16, align 4 store float %3, ptr %17, align 4 store float %4, ptr %18, align 4 store float %5, ptr %19, align 4 store float %6, ptr %20, align 4 store float %7, ptr %21, align 4 store float %8, ptr %22, align 4 store float %9, ptr %23, align 4 store float %10, ptr %24, align 4 store float %11, ptr %25, align 4 store float %12, ptr %26, align 4 %40 = call i32 @dc3d_(ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %29, ptr noundef %30, ptr noundef %31, ptr noundef %32, ptr noundef %33, ptr noundef %34, ptr noundef %35, ptr noundef %36, ptr noundef %37, ptr noundef %38, ptr noundef %39) %41 = load float, ptr %27, align 4 ret float %41 } declare i32 @dc3d_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, 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"}
; ModuleID = '/tmp/tmpb7qfsbqo.c' source_filename = "/tmp/tmpb7qfsbqo.c" target datalayout = "e-m:e-p270: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/tmpb7qfsbqo.c" target datalayout = "e-m:e-p270: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/tmpa254p6q4.c' source_filename = "/tmp/tmpa254p6q4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c" %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 store i32 0, ptr %1, align 4 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %7 = load i32, ptr %2, align 4 %8 = zext i32 %7 to i64 %9 = call ptr @llvm.stacksave() store ptr %9, ptr %4, align 8 %10 = alloca i32, i64 %8, align 16 store i64 %8, ptr %5, align 8 store i32 0, ptr %3, align 4 br label %11 11: ; preds = %20, %0 %12 = load i32, ptr %3, align 4 %13 = load i32, ptr %2, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %15, label %23 15: ; preds = %11 %16 = load i32, ptr %3, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i32, ptr %10, i64 %17 %19 = call i32 @scanf(ptr noundef @.str, ptr noundef %18) br label %20 20: ; preds = %15 %21 = load i32, ptr %3, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %3, align 4 br label %11, !llvm.loop !6 23: ; preds = %11 %24 = load i32, ptr %2, align 4 %25 = call i32 @Merge_Sort1(ptr noundef %10, i32 noundef %24) store i32 0, ptr %3, align 4 br label %26 26: ; preds = %46, %23 %27 = load i32, ptr %3, align 4 %28 = load i32, ptr %2, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %30, label %49 30: ; preds = %26 %31 = load i32, ptr %3, align 4 %32 = icmp ne i32 %31, 0 br i1 %32, label %33, label %39 33: ; preds = %30 %34 = load i32, ptr %3, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i32, ptr %10, i64 %35 %37 = load i32, ptr %36, align 4 %38 = call i32 @printf(ptr noundef @.str.1, i32 noundef %37) br label %45 39: ; preds = %30 %40 = load i32, ptr %3, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i32, ptr %10, i64 %41 %43 = load i32, ptr %42, align 4 %44 = call i32 @printf(ptr noundef @.str, i32 noundef %43) br label %45 45: ; preds = %39, %33 br label %46 46: ; preds = %45 %47 = load i32, ptr %3, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %3, align 4 br label %26, !llvm.loop !8 49: ; preds = %26 store i32 0, ptr %1, align 4 %50 = load ptr, ptr %4, align 8 call void @llvm.stackrestore(ptr %50) %51 = load i32, ptr %1, align 4 ret i32 %51 } declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @Merge_Sort1(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa254p6q4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c" %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 store i32 0, ptr %1, align 4 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %7 = load i32, ptr %2, align 4 %8 = zext i32 %7 to i64 %9 = call ptr @llvm.stacksave() store ptr %9, ptr %4, align 8 %10 = alloca i32, i64 %8, align 16 store i64 %8, ptr %5, align 8 store i32 0, ptr %3, align 4 %11 = load i32, ptr %3, align 4 %12 = load i32, ptr %2, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %.lr.ph, label %25 .lr.ph: ; preds = %0 br label %14 14: ; preds = %.lr.ph, %19 %15 = load i32, ptr %3, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i32, ptr %10, i64 %16 %18 = call i32 @scanf(ptr noundef @.str, ptr noundef %17) br label %19 19: ; preds = %14 %20 = load i32, ptr %3, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %3, align 4 %22 = load i32, ptr %3, align 4 %23 = load i32, ptr %2, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %25 25: ; preds = %._crit_edge, %0 %26 = load i32, ptr %2, align 4 %27 = call i32 @Merge_Sort1(ptr noundef %10, i32 noundef %26) store i32 0, ptr %3, align 4 %28 = load i32, ptr %3, align 4 %29 = load i32, ptr %2, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %.lr.ph2, label %53 .lr.ph2: ; preds = %25 br label %31 31: ; preds = %.lr.ph2, %47 %32 = load i32, ptr %3, align 4 %33 = icmp ne i32 %32, 0 br i1 %33, label %34, label %40 34: ; preds = %31 %35 = load i32, ptr %3, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i32, ptr %10, i64 %36 %38 = load i32, ptr %37, align 4 %39 = call i32 @printf(ptr noundef @.str.1, i32 noundef %38) br label %46 40: ; preds = %31 %41 = load i32, ptr %3, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i32, ptr %10, i64 %42 %44 = load i32, ptr %43, align 4 %45 = call i32 @printf(ptr noundef @.str, i32 noundef %44) br label %46 46: ; preds = %40, %34 br label %47 47: ; preds = %46 %48 = load i32, ptr %3, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %3, align 4 %50 = load i32, ptr %3, align 4 %51 = load i32, ptr %2, align 4 %52 = icmp slt i32 %50, %51 br i1 %52, label %31, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %47 br label %53 53: ; preds = %._crit_edge3, %25 store i32 0, ptr %1, align 4 %54 = load ptr, ptr %4, align 8 call void @llvm.stackrestore(ptr %54) %55 = load i32, ptr %1, align 4 ret i32 %55 } declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @Merge_Sort1(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpg2n1160q.c' source_filename = "/tmp/tmpg2n1160q.c" target datalayout = "e-m:e-p270: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/tmpg2n1160q.c" target datalayout = "e-m:e-p270: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/tmpsa0cn4z2.c' source_filename = "/tmp/tmpsa0cn4z2.c" target datalayout = "e-m:e-p270: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/tmpsa0cn4z2.c" target datalayout = "e-m:e-p270: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/tmp92oeahgd.c' source_filename = "/tmp/tmp92oeahgd.c" target datalayout = "e-m:e-p270: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 @revstr(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = call i64 @strlen(ptr noundef %7) %9 = trunc i64 %8 to i32 store i32 %9, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %1 br label %45 13: ; preds = %1 %14 = load i32, ptr %6, align 4 %15 = call i64 @calloc(i32 noundef %14, i32 noundef 1) %16 = inttoptr i64 %15 to ptr store ptr %16, ptr %3, align 8 %17 = load ptr, ptr %3, align 8 store ptr %17, ptr %4, align 8 %18 = load i32, ptr %6, align 4 store i32 %18, ptr %5, align 4 br label %19 19: ; preds = %22, %13 %20 = load i32, ptr %5, align 4 %21 = icmp sge i32 %20, 0 br i1 %21, label %22, label %34 22: ; preds = %19 %23 = load ptr, ptr %2, align 8 %24 = load i32, ptr %5, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %23, i64 %25 %27 = getelementptr inbounds i8, ptr %26, i64 -1 %28 = load i8, ptr %27, align 1 %29 = load ptr, ptr %4, align 8 store i8 %28, ptr %29, align 1 %30 = load i32, ptr %5, align 4 %31 = add nsw i32 %30, -1 store i32 %31, ptr %5, align 4 %32 = load ptr, ptr %4, align 8 %33 = getelementptr inbounds i8, ptr %32, i32 1 store ptr %33, ptr %4, align 8 br label %19, !llvm.loop !6 34: ; preds = %19 %35 = load ptr, ptr %4, align 8 store i8 0, ptr %35, align 1 %36 = load ptr, ptr %2, align 8 %37 = load i32, ptr %6, align 4 %38 = call i32 @memset(ptr noundef %36, i32 noundef 0, i32 noundef %37) %39 = load ptr, ptr %2, align 8 %40 = load ptr, ptr %3, align 8 %41 = load i32, ptr %6, align 4 %42 = call i32 @strncpy(ptr noundef %39, ptr noundef %40, i32 noundef %41) %43 = load ptr, ptr %3, align 8 %44 = call i32 @free(ptr noundef %43) br label %45 45: ; preds = %34, %12 ret void } declare i64 @strlen(ptr noundef) #1 declare i64 @calloc(i32 noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strncpy(ptr noundef, 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp92oeahgd.c" target datalayout = "e-m:e-p270: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 @revstr(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = call i64 @strlen(ptr noundef %7) %9 = trunc i64 %8 to i32 store i32 %9, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %1 br label %46 13: ; preds = %1 %14 = load i32, ptr %6, align 4 %15 = call i64 @calloc(i32 noundef %14, i32 noundef 1) %16 = inttoptr i64 %15 to ptr store ptr %16, ptr %3, align 8 %17 = load ptr, ptr %3, align 8 store ptr %17, ptr %4, align 8 %18 = load i32, ptr %6, align 4 store i32 %18, ptr %5, align 4 %19 = load i32, ptr %5, align 4 %20 = icmp sge i32 %19, 0 br i1 %20, label %.lr.ph, label %35 .lr.ph: ; preds = %13 br label %21 21: ; preds = %.lr.ph, %21 %22 = load ptr, ptr %2, align 8 %23 = load i32, ptr %5, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i8, ptr %22, i64 %24 %26 = getelementptr inbounds i8, ptr %25, i64 -1 %27 = load i8, ptr %26, align 1 %28 = load ptr, ptr %4, align 8 store i8 %27, ptr %28, align 1 %29 = load i32, ptr %5, align 4 %30 = add nsw i32 %29, -1 store i32 %30, ptr %5, align 4 %31 = load ptr, ptr %4, align 8 %32 = getelementptr inbounds i8, ptr %31, i32 1 store ptr %32, ptr %4, align 8 %33 = load i32, ptr %5, align 4 %34 = icmp sge i32 %33, 0 br i1 %34, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %35 35: ; preds = %._crit_edge, %13 %36 = load ptr, ptr %4, align 8 store i8 0, ptr %36, align 1 %37 = load ptr, ptr %2, align 8 %38 = load i32, ptr %6, align 4 %39 = call i32 @memset(ptr noundef %37, i32 noundef 0, i32 noundef %38) %40 = load ptr, ptr %2, align 8 %41 = load ptr, ptr %3, align 8 %42 = load i32, ptr %6, align 4 %43 = call i32 @strncpy(ptr noundef %40, ptr noundef %41, i32 noundef %42) %44 = load ptr, ptr %3, align 8 %45 = call i32 @free(ptr noundef %44) br label %46 46: ; preds = %35, %12 ret void } declare i64 @strlen(ptr noundef) #1 declare i64 @calloc(i32 noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strncpy(ptr noundef, 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"}
; ModuleID = '/tmp/tmpj0u0p4h1.c' source_filename = "/tmp/tmpj0u0p4h1.c" target datalayout = "e-m:e-p270: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"enter the income: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [40 x i8] c"the tax amount you need to pay is %.2f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca float, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %6 = load i32, ptr %2, align 4 %7 = icmp slt i32 %6, 750 br i1 %7, label %8, label %13 8: ; preds = %0 %9 = load i32, ptr %2, align 4 %10 = sitofp i32 %9 to double %11 = fmul double 1.000000e-02, %10 %12 = fptrunc double %11 to float store float %12, ptr %3, align 4 br label %59 13: ; preds = %0 %14 = load i32, ptr %2, align 4 %15 = icmp sle i32 %14, 2250 br i1 %15, label %16, label %22 16: ; preds = %13 %17 = load i32, ptr %2, align 4 %18 = sub nsw i32 %17, 750 %19 = sitofp i32 %18 to double %20 = call double @llvm.fmuladd.f64(double 2.000000e-02, double %19, double 7.500000e+00) %21 = fptrunc double %20 to float store float %21, ptr %3, align 4 br label %58 22: ; preds = %13 %23 = load i32, ptr %2, align 4 %24 = icmp sle i32 %23, 3750 br i1 %24, label %25, label %31 25: ; preds = %22 %26 = load i32, ptr %2, align 4 %27 = sub nsw i32 %26, 2250 %28 = sitofp i32 %27 to double %29 = call double @llvm.fmuladd.f64(double 3.000000e-02, double %28, double 3.750000e+01) %30 = fptrunc double %29 to float store float %30, ptr %3, align 4 br label %57 31: ; preds = %22 %32 = load i32, ptr %2, align 4 %33 = icmp sle i32 %32, 5250 br i1 %33, label %34, label %40 34: ; preds = %31 %35 = load i32, ptr %2, align 4 %36 = sub nsw i32 %35, 3750 %37 = sitofp i32 %36 to double %38 = call double @llvm.fmuladd.f64(double 4.000000e-02, double %37, double 8.250000e+01) %39 = fptrunc double %38 to float store float %39, ptr %3, align 4 br label %56 40: ; preds = %31 %41 = load i32, ptr %2, align 4 %42 = icmp sle i32 %41, 7000 br i1 %42, label %43, label %49 43: ; preds = %40 %44 = load i32, ptr %2, align 4 %45 = sub nsw i32 %44, 5250 %46 = sitofp i32 %45 to double %47 = call double @llvm.fmuladd.f64(double 5.000000e-02, double %46, double 1.425000e+02) %48 = fptrunc double %47 to float store float %48, ptr %3, align 4 br label %55 49: ; preds = %40 %50 = load i32, ptr %2, align 4 %51 = sub nsw i32 %50, 7000 %52 = sitofp i32 %51 to double %53 = call double @llvm.fmuladd.f64(double 6.000000e-02, double %52, double 2.300000e+02) %54 = fptrunc double %53 to float store float %54, ptr %3, align 4 br label %55 55: ; preds = %49, %43 br label %56 56: ; preds = %55, %34 br label %57 57: ; preds = %56, %25 br label %58 58: ; preds = %57, %16 br label %59 59: ; preds = %58, %8 %60 = load float, ptr %3, align 4 %61 = fpext float %60 to double %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %61) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpj0u0p4h1.c" target datalayout = "e-m:e-p270: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"enter the income: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [40 x i8] c"the tax amount you need to pay is %.2f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca float, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %6 = load i32, ptr %2, align 4 %7 = icmp slt i32 %6, 750 br i1 %7, label %8, label %13 8: ; preds = %0 %9 = load i32, ptr %2, align 4 %10 = sitofp i32 %9 to double %11 = fmul double 1.000000e-02, %10 %12 = fptrunc double %11 to float store float %12, ptr %3, align 4 br label %59 13: ; preds = %0 %14 = load i32, ptr %2, align 4 %15 = icmp sle i32 %14, 2250 br i1 %15, label %16, label %22 16: ; preds = %13 %17 = load i32, ptr %2, align 4 %18 = sub nsw i32 %17, 750 %19 = sitofp i32 %18 to double %20 = call double @llvm.fmuladd.f64(double 2.000000e-02, double %19, double 7.500000e+00) %21 = fptrunc double %20 to float store float %21, ptr %3, align 4 br label %58 22: ; preds = %13 %23 = load i32, ptr %2, align 4 %24 = icmp sle i32 %23, 3750 br i1 %24, label %25, label %31 25: ; preds = %22 %26 = load i32, ptr %2, align 4 %27 = sub nsw i32 %26, 2250 %28 = sitofp i32 %27 to double %29 = call double @llvm.fmuladd.f64(double 3.000000e-02, double %28, double 3.750000e+01) %30 = fptrunc double %29 to float store float %30, ptr %3, align 4 br label %57 31: ; preds = %22 %32 = load i32, ptr %2, align 4 %33 = icmp sle i32 %32, 5250 br i1 %33, label %34, label %40 34: ; preds = %31 %35 = load i32, ptr %2, align 4 %36 = sub nsw i32 %35, 3750 %37 = sitofp i32 %36 to double %38 = call double @llvm.fmuladd.f64(double 4.000000e-02, double %37, double 8.250000e+01) %39 = fptrunc double %38 to float store float %39, ptr %3, align 4 br label %56 40: ; preds = %31 %41 = load i32, ptr %2, align 4 %42 = icmp sle i32 %41, 7000 br i1 %42, label %43, label %49 43: ; preds = %40 %44 = load i32, ptr %2, align 4 %45 = sub nsw i32 %44, 5250 %46 = sitofp i32 %45 to double %47 = call double @llvm.fmuladd.f64(double 5.000000e-02, double %46, double 1.425000e+02) %48 = fptrunc double %47 to float store float %48, ptr %3, align 4 br label %55 49: ; preds = %40 %50 = load i32, ptr %2, align 4 %51 = sub nsw i32 %50, 7000 %52 = sitofp i32 %51 to double %53 = call double @llvm.fmuladd.f64(double 6.000000e-02, double %52, double 2.300000e+02) %54 = fptrunc double %53 to float store float %54, ptr %3, align 4 br label %55 55: ; preds = %49, %43 br label %56 56: ; preds = %55, %34 br label %57 57: ; preds = %56, %25 br label %58 58: ; preds = %57, %16 br label %59 59: ; preds = %58, %8 %60 = load float, ptr %3, align 4 %61 = fpext float %60 to double %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %61) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5kcboh65.c' source_filename = "/tmp/tmp5kcboh65.c" target datalayout = "e-m:e-p270: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/tmp5kcboh65.c" target datalayout = "e-m:e-p270: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/tmp8wfakds4.c' source_filename = "/tmp/tmp8wfakds4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i64, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @GetMilliTimei() #0 { %1 = alloca %struct.timeval, align 8 %2 = alloca i32, align 4 %3 = call i32 @gettimeofday(ptr noundef %1, ptr noundef null) store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp ne i32 %4, 0 %6 = xor i1 %5, true %7 = zext i1 %6 to i32 %8 = call i32 @assert(i32 noundef %7) %9 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1 %10 = load i64, ptr %9, align 8 %11 = mul nsw i64 %10, 1000000 %12 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0 %13 = load i64, ptr %12, align 8 %14 = add nsw i64 %11, %13 ret i64 %14 } declare i32 @gettimeofday(ptr noundef, 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/tmp8wfakds4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i64, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @GetMilliTimei() #0 { %1 = alloca %struct.timeval, align 8 %2 = alloca i32, align 4 %3 = call i32 @gettimeofday(ptr noundef %1, ptr noundef null) store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp ne i32 %4, 0 %6 = xor i1 %5, true %7 = zext i1 %6 to i32 %8 = call i32 @assert(i32 noundef %7) %9 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1 %10 = load i64, ptr %9, align 8 %11 = mul nsw i64 %10, 1000000 %12 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0 %13 = load i64, ptr %12, align 8 %14 = add nsw i64 %11, %13 ret i64 %14 } declare i32 @gettimeofday(ptr noundef, 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/tmpkowf5xmf.c' source_filename = "/tmp/tmpkowf5xmf.c" target datalayout = "e-m:e-p270: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 @.str.1 = private unnamed_addr constant [40 x i8] c"Error: Could not open CL source file %s\00", align 1 @.str.2 = private unnamed_addr constant [39 x i8] c"Error: Could not allocate space for %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @kernel_read(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %7 = load ptr, ptr %3, 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 ne ptr %9, null br i1 %10, label %14, label %11 11: ; preds = %1 %12 = load ptr, ptr %3, align 8 %13 = call i32 @printf(ptr noundef @.str.1, ptr noundef %12) store ptr null, ptr %2, align 8 br label %33 14: ; preds = %1 %15 = load ptr, ptr %3, align 8 %16 = call i64 @kernel_size(ptr noundef %15) store i64 %16, ptr %4, align 8 %17 = load i64, ptr %4, align 8 %18 = add i64 %17, 1 %19 = call ptr @calloc(i32 noundef 1, i64 noundef %18) store ptr %19, ptr %5, align 8 %20 = load ptr, ptr %5, align 8 %21 = icmp ne ptr %20, null br i1 %21, label %25, label %22 22: ; preds = %14 %23 = load ptr, ptr %3, align 8 %24 = call i32 @printf(ptr noundef @.str.2, ptr noundef %23) store ptr null, ptr %2, align 8 br label %33 25: ; preds = %14 %26 = load ptr, ptr %5, align 8 %27 = load i64, ptr %4, align 8 %28 = load ptr, ptr %6, align 8 %29 = call i32 @fread(ptr noundef %26, i64 noundef %27, i32 noundef 1, ptr noundef %28) %30 = load ptr, ptr %6, align 8 %31 = call i32 @fclose(ptr noundef %30) %32 = load ptr, ptr %5, align 8 store ptr %32, ptr %2, align 8 br label %33 33: ; preds = %25, %22, %11 %34 = load ptr, ptr %2, align 8 ret ptr %34 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i64 @kernel_size(ptr noundef) #1 declare ptr @calloc(i32 noundef, i64 noundef) #1 declare i32 @fread(ptr noundef, i64 noundef, i32 noundef, 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/tmpkowf5xmf.c" target datalayout = "e-m:e-p270: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 @.str.1 = private unnamed_addr constant [40 x i8] c"Error: Could not open CL source file %s\00", align 1 @.str.2 = private unnamed_addr constant [39 x i8] c"Error: Could not allocate space for %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @kernel_read(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %7 = load ptr, ptr %3, 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 ne ptr %9, null br i1 %10, label %14, label %11 11: ; preds = %1 %12 = load ptr, ptr %3, align 8 %13 = call i32 @printf(ptr noundef @.str.1, ptr noundef %12) store ptr null, ptr %2, align 8 br label %33 14: ; preds = %1 %15 = load ptr, ptr %3, align 8 %16 = call i64 @kernel_size(ptr noundef %15) store i64 %16, ptr %4, align 8 %17 = load i64, ptr %4, align 8 %18 = add i64 %17, 1 %19 = call ptr @calloc(i32 noundef 1, i64 noundef %18) store ptr %19, ptr %5, align 8 %20 = load ptr, ptr %5, align 8 %21 = icmp ne ptr %20, null br i1 %21, label %25, label %22 22: ; preds = %14 %23 = load ptr, ptr %3, align 8 %24 = call i32 @printf(ptr noundef @.str.2, ptr noundef %23) store ptr null, ptr %2, align 8 br label %33 25: ; preds = %14 %26 = load ptr, ptr %5, align 8 %27 = load i64, ptr %4, align 8 %28 = load ptr, ptr %6, align 8 %29 = call i32 @fread(ptr noundef %26, i64 noundef %27, i32 noundef 1, ptr noundef %28) %30 = load ptr, ptr %6, align 8 %31 = call i32 @fclose(ptr noundef %30) %32 = load ptr, ptr %5, align 8 store ptr %32, ptr %2, align 8 br label %33 33: ; preds = %25, %22, %11 %34 = load ptr, ptr %2, align 8 ret ptr %34 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i64 @kernel_size(ptr noundef) #1 declare ptr @calloc(i32 noundef, i64 noundef) #1 declare i32 @fread(ptr noundef, i64 noundef, i32 noundef, 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/tmp848n4w_z.c' source_filename = "/tmp/tmp848n4w_z.c" target datalayout = "e-m:e-p270: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 @delayMs(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 br label %3 3: ; preds = %7, %1 %4 = load i32, ptr %2, align 4 %5 = add i32 %4, -1 store i32 %5, ptr %2, align 4 %6 = icmp ne i32 %4, 0 br i1 %6, label %7, label %9 7: ; preds = %3 %8 = call i32 @delayUs(i32 noundef 1000) br label %3, !llvm.loop !6 9: ; preds = %3 ret void } declare i32 @delayUs(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/tmp848n4w_z.c" target datalayout = "e-m:e-p270: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 @delayMs(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = add i32 %3, -1 store i32 %4, ptr %2, align 4 %5 = icmp ne i32 %3, 0 br i1 %5, label %.lr.ph, label %11 .lr.ph: ; preds = %1 br label %6 6: ; preds = %.lr.ph, %6 %7 = call i32 @delayUs(i32 noundef 1000) %8 = load i32, ptr %2, align 4 %9 = add i32 %8, -1 store i32 %9, ptr %2, align 4 %10 = icmp ne i32 %8, 0 br i1 %10, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %6 br label %11 11: ; preds = %._crit_edge, %1 ret void } declare i32 @delayUs(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/tmpjv78b4yx.c' source_filename = "/tmp/tmpjv78b4yx.c" target datalayout = "e-m:e-p270: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"%d \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 i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %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 i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 102, ptr %2, align 4 store i32 5, ptr %3, align 4 store i32 -102, ptr %4, align 4 store i32 -5, ptr %5, align 4 store i32 101, ptr %6, align 4 store i32 7, ptr %7, align 4 store i32 -101, ptr %8, align 4 store i32 -7, ptr %9, align 4 %18 = load i32, ptr %2, align 4 store i32 %18, ptr %10, align 4 %19 = load i32, ptr %3, align 4 store i32 %19, ptr %11, align 4 %20 = load i32, ptr %4, align 4 store i32 %20, ptr %12, align 4 %21 = load i32, ptr %5, align 4 store i32 %21, ptr %13, align 4 %22 = load i32, ptr %6, align 4 store i32 %22, ptr %14, align 4 %23 = load i32, ptr %7, align 4 store i32 %23, ptr %15, align 4 %24 = load i32, ptr %8, align 4 store i32 %24, ptr %16, align 4 %25 = load i32, ptr %9, align 4 store i32 %25, ptr %17, align 4 %26 = load i32, ptr %2, align 4 %27 = load i32, ptr %5, align 4 %28 = mul nsw i32 %26, %27 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %28) %30 = load i32, ptr %2, align 4 %31 = load i32, ptr %3, align 4 %32 = mul nsw i32 %30, %31 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %32) %34 = load i32, ptr %4, align 4 %35 = load i32, ptr %3, align 4 %36 = mul nsw i32 %34, %35 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %36) %38 = load i32, ptr %4, align 4 %39 = load i32, ptr %5, align 4 %40 = mul nsw i32 %38, %39 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %40) %42 = load i32, ptr %6, align 4 %43 = load i32, ptr %9, align 4 %44 = mul nsw i32 %42, %43 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %44) %46 = load i32, ptr %6, align 4 %47 = load i32, ptr %7, align 4 %48 = mul nsw i32 %46, %47 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %48) %50 = load i32, ptr %8, align 4 %51 = load i32, ptr %7, align 4 %52 = mul nsw i32 %50, %51 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %52) %54 = load i32, ptr %8, align 4 %55 = load i32, ptr %9, align 4 %56 = mul nsw i32 %54, %55 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %56) %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %59 = load i32, ptr %10, align 4 %60 = load i32, ptr %13, align 4 %61 = mul i32 %59, %60 %62 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %61) %63 = load i32, ptr %10, align 4 %64 = load i32, ptr %11, align 4 %65 = mul i32 %63, %64 %66 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %65) %67 = load i32, ptr %12, align 4 %68 = load i32, ptr %11, align 4 %69 = mul i32 %67, %68 %70 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %69) %71 = load i32, ptr %12, align 4 %72 = load i32, ptr %13, align 4 %73 = mul i32 %71, %72 %74 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %73) %75 = load i32, ptr %14, align 4 %76 = load i32, ptr %17, align 4 %77 = mul i32 %75, %76 %78 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %77) %79 = load i32, ptr %14, align 4 %80 = load i32, ptr %15, align 4 %81 = mul i32 %79, %80 %82 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %81) %83 = load i32, ptr %16, align 4 %84 = load i32, ptr %15, align 4 %85 = mul i32 %83, %84 %86 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %85) %87 = load i32, ptr %16, align 4 %88 = load i32, ptr %17, align 4 %89 = mul i32 %87, %88 %90 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %89) %91 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) 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/tmpjv78b4yx.c" target datalayout = "e-m:e-p270: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"%d \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 i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %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 i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 102, ptr %2, align 4 store i32 5, ptr %3, align 4 store i32 -102, ptr %4, align 4 store i32 -5, ptr %5, align 4 store i32 101, ptr %6, align 4 store i32 7, ptr %7, align 4 store i32 -101, ptr %8, align 4 store i32 -7, ptr %9, align 4 %18 = load i32, ptr %2, align 4 store i32 %18, ptr %10, align 4 %19 = load i32, ptr %3, align 4 store i32 %19, ptr %11, align 4 %20 = load i32, ptr %4, align 4 store i32 %20, ptr %12, align 4 %21 = load i32, ptr %5, align 4 store i32 %21, ptr %13, align 4 %22 = load i32, ptr %6, align 4 store i32 %22, ptr %14, align 4 %23 = load i32, ptr %7, align 4 store i32 %23, ptr %15, align 4 %24 = load i32, ptr %8, align 4 store i32 %24, ptr %16, align 4 %25 = load i32, ptr %9, align 4 store i32 %25, ptr %17, align 4 %26 = load i32, ptr %2, align 4 %27 = load i32, ptr %5, align 4 %28 = mul nsw i32 %26, %27 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %28) %30 = load i32, ptr %2, align 4 %31 = load i32, ptr %3, align 4 %32 = mul nsw i32 %30, %31 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %32) %34 = load i32, ptr %4, align 4 %35 = load i32, ptr %3, align 4 %36 = mul nsw i32 %34, %35 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %36) %38 = load i32, ptr %4, align 4 %39 = load i32, ptr %5, align 4 %40 = mul nsw i32 %38, %39 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %40) %42 = load i32, ptr %6, align 4 %43 = load i32, ptr %9, align 4 %44 = mul nsw i32 %42, %43 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %44) %46 = load i32, ptr %6, align 4 %47 = load i32, ptr %7, align 4 %48 = mul nsw i32 %46, %47 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %48) %50 = load i32, ptr %8, align 4 %51 = load i32, ptr %7, align 4 %52 = mul nsw i32 %50, %51 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %52) %54 = load i32, ptr %8, align 4 %55 = load i32, ptr %9, align 4 %56 = mul nsw i32 %54, %55 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %56) %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %59 = load i32, ptr %10, align 4 %60 = load i32, ptr %13, align 4 %61 = mul i32 %59, %60 %62 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %61) %63 = load i32, ptr %10, align 4 %64 = load i32, ptr %11, align 4 %65 = mul i32 %63, %64 %66 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %65) %67 = load i32, ptr %12, align 4 %68 = load i32, ptr %11, align 4 %69 = mul i32 %67, %68 %70 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %69) %71 = load i32, ptr %12, align 4 %72 = load i32, ptr %13, align 4 %73 = mul i32 %71, %72 %74 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %73) %75 = load i32, ptr %14, align 4 %76 = load i32, ptr %17, align 4 %77 = mul i32 %75, %76 %78 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %77) %79 = load i32, ptr %14, align 4 %80 = load i32, ptr %15, align 4 %81 = mul i32 %79, %80 %82 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %81) %83 = load i32, ptr %16, align 4 %84 = load i32, ptr %15, align 4 %85 = mul i32 %83, %84 %86 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %85) %87 = load i32, ptr %16, align 4 %88 = load i32, ptr %17, align 4 %89 = mul i32 %87, %88 %90 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %89) %91 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) 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/tmpa1v2tzky.c' source_filename = "/tmp/tmpa1v2tzky.c" target datalayout = "e-m:e-p270: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"hello\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #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/tmpa1v2tzky.c" target datalayout = "e-m:e-p270: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"hello\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #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/tmpqbqlb8c3.c' source_filename = "/tmp/tmpqbqlb8c3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [29 x i8] c"/sys/class/gpio/gpio%d/value\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @readGpio(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [50 x i8], align 16 store i32 %0, ptr %3, align 4 %6 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 0 %7 = load i32, ptr %3, align 4 %8 = call i32 @sprintf(ptr noundef %6, ptr noundef @.str, i32 noundef %7) %9 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 0 %10 = load i32, ptr @O_RDONLY, align 4 %11 = call i32 @open(ptr noundef %9, i32 noundef %10) store i32 %11, ptr %4, align 4 %12 = icmp eq i32 %11, -1 br i1 %12, label %13, label %14 13: ; preds = %1 store i32 -1, ptr %2, align 4 br label %25 14: ; preds = %1 %15 = load i32, ptr %4, align 4 %16 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 0 %17 = call i32 @read(i32 noundef %15, ptr noundef %16, i32 noundef 10) %18 = icmp eq i32 %17, -1 br i1 %18, label %19, label %20 19: ; preds = %14 store i32 -1, ptr %2, align 4 br label %25 20: ; preds = %14 %21 = load i32, ptr %4, align 4 %22 = call i32 @close(i32 noundef %21) %23 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 0 %24 = call i32 @atoi(ptr noundef %23) store i32 %24, ptr %2, align 4 br label %25 25: ; preds = %20, %19, %13 %26 = load i32, ptr %2, align 4 ret i32 %26 } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqbqlb8c3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [29 x i8] c"/sys/class/gpio/gpio%d/value\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @readGpio(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [50 x i8], align 16 store i32 %0, ptr %3, align 4 %6 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 0 %7 = load i32, ptr %3, align 4 %8 = call i32 @sprintf(ptr noundef %6, ptr noundef @.str, i32 noundef %7) %9 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 0 %10 = load i32, ptr @O_RDONLY, align 4 %11 = call i32 @open(ptr noundef %9, i32 noundef %10) store i32 %11, ptr %4, align 4 %12 = icmp eq i32 %11, -1 br i1 %12, label %13, label %14 13: ; preds = %1 store i32 -1, ptr %2, align 4 br label %25 14: ; preds = %1 %15 = load i32, ptr %4, align 4 %16 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 0 %17 = call i32 @read(i32 noundef %15, ptr noundef %16, i32 noundef 10) %18 = icmp eq i32 %17, -1 br i1 %18, label %19, label %20 19: ; preds = %14 store i32 -1, ptr %2, align 4 br label %25 20: ; preds = %14 %21 = load i32, ptr %4, align 4 %22 = call i32 @close(i32 noundef %21) %23 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 0 %24 = call i32 @atoi(ptr noundef %23) store i32 %24, ptr %2, align 4 br label %25 25: ; preds = %20, %19, %13 %26 = load i32, ptr %2, align 4 ret i32 %26 } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpae71fbs1.c' source_filename = "/tmp/tmpae71fbs1.c" target datalayout = "e-m:e-p270: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/tmpae71fbs1.c" target datalayout = "e-m:e-p270: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/tmpw00bucln.c' source_filename = "/tmp/tmpw00bucln.c" target datalayout = "e-m:e-p270: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 @plat_shutdown(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @shutdown(i32 noundef %5, i32 noundef %6) ret i32 %7 } declare i32 @shutdown(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/tmpw00bucln.c" target datalayout = "e-m:e-p270: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 @plat_shutdown(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @shutdown(i32 noundef %5, i32 noundef %6) ret i32 %7 } declare i32 @shutdown(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/tmpsgbr7szs.c' source_filename = "/tmp/tmpsgbr7szs.c" target datalayout = "e-m:e-p270: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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @missing_error_check(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call ptr @fopen(ptr noundef %4, ptr noundef @.str) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i32 @fclose(ptr noundef %6) ret void } declare ptr @fopen(ptr noundef, 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/tmpsgbr7szs.c" target datalayout = "e-m:e-p270: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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @missing_error_check(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call ptr @fopen(ptr noundef %4, ptr noundef @.str) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i32 @fclose(ptr noundef %6) ret void } declare ptr @fopen(ptr noundef, 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/tmpc9tmgp5x.c' source_filename = "/tmp/tmpc9tmgp5x.c" target datalayout = "e-m:e-p270: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_atmsvc = type { %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { ptr, ptr, ptr, ptr } @PF_ATMSVC = dso_local global i32 0, align 4 @ATM_ESA_LEN = dso_local global i32 0, align 4 @ATM_E164_LEN = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @atmsvc_gen_sockaddr(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = call ptr @malloc(i32 noundef 40) store ptr %7, ptr %5, align 8 %8 = load ptr, ptr %5, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %11 10: ; preds = %2 br label %61 11: ; preds = %2 %12 = load i32, ptr @PF_ATMSVC, align 4 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds %struct.sockaddr_atmsvc, ptr %13, i32 0, i32 1 store i32 %12, ptr %14, align 8 store i32 0, ptr %6, align 4 br label %15 15: ; preds = %28, %11 %16 = load i32, ptr %6, align 4 %17 = load i32, ptr @ATM_ESA_LEN, align 4 %18 = icmp ult i32 %16, %17 br i1 %18, label %19, label %31 19: ; preds = %15 %20 = call ptr (...) @rand() %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds %struct.sockaddr_atmsvc, ptr %21, i32 0, i32 0 %23 = getelementptr inbounds %struct.TYPE_2__, ptr %22, i32 0, i32 3 %24 = load ptr, ptr %23, align 8 %25 = load i32, ptr %6, align 4 %26 = zext i32 %25 to i64 %27 = getelementptr inbounds ptr, ptr %24, i64 %26 store ptr %20, ptr %27, align 8 br label %28 28: ; preds = %19 %29 = load i32, ptr %6, align 4 %30 = add i32 %29, 1 store i32 %30, ptr %6, align 4 br label %15, !llvm.loop !6 31: ; preds = %15 store i32 0, ptr %6, align 4 br label %32 32: ; preds = %45, %31 %33 = load i32, ptr %6, align 4 %34 = load i32, ptr @ATM_E164_LEN, align 4 %35 = icmp ult i32 %33, %34 br i1 %35, label %36, label %48 36: ; preds = %32 %37 = call ptr (...) @rand() %38 = load ptr, ptr %5, align 8 %39 = getelementptr inbounds %struct.sockaddr_atmsvc, ptr %38, i32 0, i32 0 %40 = getelementptr inbounds %struct.TYPE_2__, ptr %39, i32 0, i32 2 %41 = load ptr, ptr %40, align 8 %42 = load i32, ptr %6, align 4 %43 = zext i32 %42 to i64 %44 = getelementptr inbounds ptr, ptr %41, i64 %43 store ptr %37, ptr %44, align 8 br label %45 45: ; preds = %36 %46 = load i32, ptr %6, align 4 %47 = add i32 %46, 1 store i32 %47, ptr %6, align 4 br label %32, !llvm.loop !8 48: ; preds = %32 %49 = call ptr (...) @rand() %50 = load ptr, ptr %5, align 8 %51 = getelementptr inbounds %struct.sockaddr_atmsvc, ptr %50, i32 0, i32 0 %52 = getelementptr inbounds %struct.TYPE_2__, ptr %51, i32 0, i32 1 store ptr %49, ptr %52, align 8 %53 = call ptr (...) @rand() %54 = load ptr, ptr %5, align 8 %55 = getelementptr inbounds %struct.sockaddr_atmsvc, ptr %54, i32 0, i32 0 %56 = getelementptr inbounds %struct.TYPE_2__, ptr %55, i32 0, i32 0 store ptr %53, ptr %56, align 8 %57 = load ptr, ptr %5, align 8 %58 = ptrtoint ptr %57 to i64 %59 = load ptr, ptr %3, align 8 store i64 %58, ptr %59, align 8 %60 = load ptr, ptr %4, align 8 store i64 40, ptr %60, align 8 br label %61 61: ; preds = %48, %10 ret void } declare ptr @malloc(i32 noundef) #1 declare ptr @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpc9tmgp5x.c" target datalayout = "e-m:e-p270: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_atmsvc = type { %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { ptr, ptr, ptr, ptr } @PF_ATMSVC = dso_local global i32 0, align 4 @ATM_ESA_LEN = dso_local global i32 0, align 4 @ATM_E164_LEN = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @atmsvc_gen_sockaddr(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = call ptr @malloc(i32 noundef 40) store ptr %7, ptr %5, align 8 %8 = load ptr, ptr %5, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %11 10: ; preds = %2 br label %65 11: ; preds = %2 %12 = load i32, ptr @PF_ATMSVC, align 4 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds %struct.sockaddr_atmsvc, ptr %13, i32 0, i32 1 store i32 %12, ptr %14, align 8 store i32 0, ptr %6, align 4 %15 = load i32, ptr %6, align 4 %16 = load i32, ptr @ATM_ESA_LEN, align 4 %17 = icmp ult i32 %15, %16 br i1 %17, label %.lr.ph, label %33 .lr.ph: ; preds = %11 br label %18 18: ; preds = %.lr.ph, %27 %19 = call ptr (...) @rand() %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds %struct.sockaddr_atmsvc, ptr %20, i32 0, i32 0 %22 = getelementptr inbounds %struct.TYPE_2__, ptr %21, i32 0, i32 3 %23 = load ptr, ptr %22, align 8 %24 = load i32, ptr %6, align 4 %25 = zext i32 %24 to i64 %26 = getelementptr inbounds ptr, ptr %23, i64 %25 store ptr %19, ptr %26, align 8 br label %27 27: ; preds = %18 %28 = load i32, ptr %6, align 4 %29 = add i32 %28, 1 store i32 %29, ptr %6, align 4 %30 = load i32, ptr %6, align 4 %31 = load i32, ptr @ATM_ESA_LEN, align 4 %32 = icmp ult i32 %30, %31 br i1 %32, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %33 33: ; preds = %._crit_edge, %11 store i32 0, ptr %6, align 4 %34 = load i32, ptr %6, align 4 %35 = load i32, ptr @ATM_E164_LEN, align 4 %36 = icmp ult i32 %34, %35 br i1 %36, label %.lr.ph2, label %52 .lr.ph2: ; preds = %33 br label %37 37: ; preds = %.lr.ph2, %46 %38 = call ptr (...) @rand() %39 = load ptr, ptr %5, align 8 %40 = getelementptr inbounds %struct.sockaddr_atmsvc, ptr %39, i32 0, i32 0 %41 = getelementptr inbounds %struct.TYPE_2__, ptr %40, i32 0, i32 2 %42 = load ptr, ptr %41, align 8 %43 = load i32, ptr %6, align 4 %44 = zext i32 %43 to i64 %45 = getelementptr inbounds ptr, ptr %42, i64 %44 store ptr %38, ptr %45, align 8 br label %46 46: ; preds = %37 %47 = load i32, ptr %6, align 4 %48 = add i32 %47, 1 store i32 %48, ptr %6, align 4 %49 = load i32, ptr %6, align 4 %50 = load i32, ptr @ATM_E164_LEN, align 4 %51 = icmp ult i32 %49, %50 br i1 %51, label %37, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %46 br label %52 52: ; preds = %._crit_edge3, %33 %53 = call ptr (...) @rand() %54 = load ptr, ptr %5, align 8 %55 = getelementptr inbounds %struct.sockaddr_atmsvc, ptr %54, i32 0, i32 0 %56 = getelementptr inbounds %struct.TYPE_2__, ptr %55, i32 0, i32 1 store ptr %53, ptr %56, align 8 %57 = call ptr (...) @rand() %58 = load ptr, ptr %5, align 8 %59 = getelementptr inbounds %struct.sockaddr_atmsvc, ptr %58, i32 0, i32 0 %60 = getelementptr inbounds %struct.TYPE_2__, ptr %59, i32 0, i32 0 store ptr %57, ptr %60, align 8 %61 = load ptr, ptr %5, align 8 %62 = ptrtoint ptr %61 to i64 %63 = load ptr, ptr %3, align 8 store i64 %62, ptr %63, align 8 %64 = load ptr, ptr %4, align 8 store i64 40, ptr %64, align 8 br label %65 65: ; preds = %52, %10 ret void } declare ptr @malloc(i32 noundef) #1 declare ptr @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpd70b0rvl.c' source_filename = "/tmp/tmpd70b0rvl.c" target datalayout = "e-m:e-p270: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 @string_compare(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 store ptr %0, ptr %6, align 8 store i64 %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 %10 = load i64, ptr %7, align 8 %11 = load i64, ptr %9, align 8 %12 = icmp ne i64 %10, %11 br i1 %12, label %13, label %18 13: ; preds = %4 %14 = load i64, ptr %7, align 8 %15 = load i64, ptr %9, align 8 %16 = sub i64 %14, %15 %17 = trunc i64 %16 to i32 store i32 %17, ptr %5, align 4 br label %22 18: ; preds = %4 %19 = load ptr, ptr %6, align 8 %20 = load ptr, ptr %8, align 8 %21 = call i32 @strcmp(ptr noundef %19, ptr noundef %20) store i32 %21, ptr %5, align 4 br label %22 22: ; preds = %18, %13 %23 = load i32, ptr %5, align 4 ret i32 %23 } declare i32 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpd70b0rvl.c" target datalayout = "e-m:e-p270: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 @string_compare(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 store ptr %0, ptr %6, align 8 store i64 %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 %10 = load i64, ptr %7, align 8 %11 = load i64, ptr %9, align 8 %12 = icmp ne i64 %10, %11 br i1 %12, label %13, label %18 13: ; preds = %4 %14 = load i64, ptr %7, align 8 %15 = load i64, ptr %9, align 8 %16 = sub i64 %14, %15 %17 = trunc i64 %16 to i32 store i32 %17, ptr %5, align 4 br label %22 18: ; preds = %4 %19 = load ptr, ptr %6, align 8 %20 = load ptr, ptr %8, align 8 %21 = call i32 @strcmp(ptr noundef %19, ptr noundef %20) store i32 %21, ptr %5, align 4 br label %22 22: ; preds = %18, %13 %23 = load i32, ptr %5, align 4 ret i32 %23 } declare i32 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8j95kkgj.c' source_filename = "/tmp/tmp8j95kkgj.c" target datalayout = "e-m:e-p270: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, 140 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/tmp8j95kkgj.c" target datalayout = "e-m:e-p270: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, 140 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/tmpihunguxy.c' source_filename = "/tmp/tmpihunguxy.c" target datalayout = "e-m:e-p270: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 = load ptr, ptr %5, align 8 %8 = call i32 @select_main(i32 noundef %6, ptr noundef %7) ret i32 %8 } declare i32 @select_main(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/tmpihunguxy.c" target datalayout = "e-m:e-p270: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 = load ptr, ptr %5, align 8 %8 = call i32 @select_main(i32 noundef %6, ptr noundef %7) ret i32 %8 } declare i32 @select_main(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/tmpo2bo0qi_.c' source_filename = "/tmp/tmpo2bo0qi_.c" target datalayout = "e-m:e-p270: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">>>>\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"<<<<\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c">+<+[>-]>[->>+<]<<\00", align 1 @.str.3 = private unnamed_addr constant [19 x i8] c">+<[>-]>[->>-<]<<-\00", align 1 @.str.4 = private unnamed_addr constant [35 x i8] c">+<[>-]>[->+>[<-]<[<]>[-<+>]]<-[+<\00", align 1 @.str.5 = private unnamed_addr constant [34 x i8] c">+<[>-]>[->+>[<-]<[<]>[-<+>]]<-]<\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @expand8to16NoCopy(i8 noundef signext %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i8, align 1 store i8 %0, ptr %3, align 1 %4 = load i8, ptr %3, align 1 %5 = sext i8 %4 to i32 switch i32 %5, label %12 [ i32 62, label %6 i32 60, label %7 i32 43, label %8 i32 45, label %9 i32 91, label %10 i32 93, label %11 ] 6: ; preds = %1 store ptr @.str, ptr %2, align 8 br label %15 7: ; preds = %1 store ptr @.str.1, ptr %2, align 8 br label %15 8: ; preds = %1 store ptr @.str.2, ptr %2, align 8 br label %15 9: ; preds = %1 store ptr @.str.3, ptr %2, align 8 br label %15 10: ; preds = %1 store ptr @.str.4, ptr %2, align 8 br label %15 11: ; preds = %1 store ptr @.str.5, ptr %2, align 8 br label %15 12: ; preds = %1 %13 = load i8, ptr %3, align 1 %14 = call ptr @other(i8 noundef signext %13) store ptr %14, ptr %2, align 8 br label %15 15: ; preds = %12, %11, %10, %9, %8, %7, %6 %16 = load ptr, ptr %2, align 8 ret ptr %16 } declare ptr @other(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/tmpo2bo0qi_.c" target datalayout = "e-m:e-p270: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">>>>\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"<<<<\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c">+<+[>-]>[->>+<]<<\00", align 1 @.str.3 = private unnamed_addr constant [19 x i8] c">+<[>-]>[->>-<]<<-\00", align 1 @.str.4 = private unnamed_addr constant [35 x i8] c">+<[>-]>[->+>[<-]<[<]>[-<+>]]<-[+<\00", align 1 @.str.5 = private unnamed_addr constant [34 x i8] c">+<[>-]>[->+>[<-]<[<]>[-<+>]]<-]<\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @expand8to16NoCopy(i8 noundef signext %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i8, align 1 store i8 %0, ptr %3, align 1 %4 = load i8, ptr %3, align 1 %5 = sext i8 %4 to i32 switch i32 %5, label %12 [ i32 62, label %6 i32 60, label %7 i32 43, label %8 i32 45, label %9 i32 91, label %10 i32 93, label %11 ] 6: ; preds = %1 store ptr @.str, ptr %2, align 8 br label %15 7: ; preds = %1 store ptr @.str.1, ptr %2, align 8 br label %15 8: ; preds = %1 store ptr @.str.2, ptr %2, align 8 br label %15 9: ; preds = %1 store ptr @.str.3, ptr %2, align 8 br label %15 10: ; preds = %1 store ptr @.str.4, ptr %2, align 8 br label %15 11: ; preds = %1 store ptr @.str.5, ptr %2, align 8 br label %15 12: ; preds = %1 %13 = load i8, ptr %3, align 1 %14 = call ptr @other(i8 noundef signext %13) store ptr %14, ptr %2, align 8 br label %15 15: ; preds = %12, %11, %10, %9, %8, %7, %6 %16 = load ptr, ptr %2, align 8 ret ptr %16 } declare ptr @other(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/tmpvrguttv3.c' source_filename = "/tmp/tmpvrguttv3.c" target datalayout = "e-m:e-p270: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 [176 x i8] c"When running this program, enter values between 0 and 256,\0Aseparated by spaces. The first value will be the background\0Acolor and the following values will be the text colors.\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"\1B[%d;5;%dm\0A\0A\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [60 x i8] c"\1B[%d;5;%dm%3d The Quick Brown Fox Jumped Over The Lazy Dog\0A\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"\0A\0A\1B[0m\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 48, ptr %7, align 4 store i32 38, ptr %8, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %10, 2 br i1 %11, label %12, label %15 12: ; preds = %2 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str) %14 = call i32 @exit(i32 noundef 1) #3 unreachable 15: ; preds = %2 %16 = load i32, ptr %7, align 4 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 1 %19 = load ptr, ptr %18, align 8 %20 = call i32 @atoi(ptr noundef %19) %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %16, i32 noundef %20) store i32 2, ptr %6, align 4 br label %22 22: ; preds = %37, %15 %23 = load i32, ptr %6, align 4 %24 = load i32, ptr %4, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %26, label %40 26: ; preds = %22 %27 = load ptr, ptr %5, align 8 %28 = load i32, ptr %6, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds ptr, ptr %27, i64 %29 %31 = load ptr, ptr %30, align 8 %32 = call i32 @atoi(ptr noundef %31) store i32 %32, ptr %9, align 4 %33 = load i32, ptr %8, align 4 %34 = load i32, ptr %9, align 4 %35 = load i32, ptr %9, align 4 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %33, i32 noundef %34, i32 noundef %35) br label %37 37: ; preds = %26 %38 = load i32, ptr %6, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %6, align 4 br label %22, !llvm.loop !6 40: ; preds = %22 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpvrguttv3.c" target datalayout = "e-m:e-p270: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 [176 x i8] c"When running this program, enter values between 0 and 256,\0Aseparated by spaces. The first value will be the background\0Acolor and the following values will be the text colors.\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"\1B[%d;5;%dm\0A\0A\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [60 x i8] c"\1B[%d;5;%dm%3d The Quick Brown Fox Jumped Over The Lazy Dog\0A\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"\0A\0A\1B[0m\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 48, ptr %7, align 4 store i32 38, ptr %8, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %10, 2 br i1 %11, label %12, label %15 12: ; preds = %2 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str) %14 = call i32 @exit(i32 noundef 1) #3 unreachable 15: ; preds = %2 %16 = load i32, ptr %7, align 4 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 1 %19 = load ptr, ptr %18, align 8 %20 = call i32 @atoi(ptr noundef %19) %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %16, i32 noundef %20) store i32 2, ptr %6, align 4 %22 = load i32, ptr %6, align 4 %23 = load i32, ptr %4, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %.lr.ph, label %42 .lr.ph: ; preds = %15 br label %25 25: ; preds = %.lr.ph, %36 %26 = load ptr, ptr %5, align 8 %27 = load i32, ptr %6, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds ptr, ptr %26, i64 %28 %30 = load ptr, ptr %29, align 8 %31 = call i32 @atoi(ptr noundef %30) store i32 %31, ptr %9, align 4 %32 = load i32, ptr %8, align 4 %33 = load i32, ptr %9, align 4 %34 = load i32, ptr %9, align 4 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %32, i32 noundef %33, i32 noundef %34) br label %36 36: ; preds = %25 %37 = load i32, ptr %6, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %6, align 4 %39 = load i32, ptr %6, align 4 %40 = load i32, ptr %4, align 4 %41 = icmp slt i32 %39, %40 br i1 %41, label %25, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %36 br label %42 42: ; preds = %._crit_edge, %15 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmp2oec9dxn.c' source_filename = "/tmp/tmp2oec9dxn.c" target datalayout = "e-m:e-p270: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 @setenv(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %9 = load i32, ptr %7, align 4 %10 = icmp ne i32 %9, 0 br i1 %10, label %16, label %11 11: ; preds = %3 %12 = load ptr, ptr %5, align 8 %13 = call ptr @getenv(ptr noundef %12) %14 = icmp ne ptr %13, null br i1 %14, label %15, label %16 15: ; preds = %11 store i32 0, ptr %4, align 4 br label %39 16: ; preds = %11, %3 %17 = load ptr, ptr %5, align 8 %18 = call i64 @strlen(ptr noundef %17) %19 = add nsw i64 %18, 1 %20 = load ptr, ptr %6, align 8 %21 = call i64 @strlen(ptr noundef %20) %22 = add nsw i64 %19, %21 %23 = add nsw i64 %22, 1 %24 = call ptr @malloc(i64 noundef %23) store ptr %24, ptr %8, align 8 %25 = load ptr, ptr %8, align 8 %26 = icmp eq ptr %25, null br i1 %26, label %27, label %28 27: ; preds = %16 store i32 -1, ptr %4, align 4 br label %39 28: ; preds = %16 %29 = load ptr, ptr %8, align 8 %30 = load ptr, ptr %5, align 8 %31 = call i32 @strcpy(ptr noundef %29, ptr noundef %30) %32 = load ptr, ptr %8, align 8 %33 = call i32 @strcat(ptr noundef %32, ptr noundef @.str) %34 = load ptr, ptr %8, align 8 %35 = load ptr, ptr %6, align 8 %36 = call i32 @strcat(ptr noundef %34, ptr noundef %35) %37 = load ptr, ptr %8, align 8 %38 = call i32 @putenv(ptr noundef %37) store i32 %38, ptr %4, align 4 br label %39 39: ; preds = %28, %27, %15 %40 = load i32, ptr %4, align 4 ret i32 %40 } declare ptr @getenv(ptr noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @putenv(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/tmp2oec9dxn.c" target datalayout = "e-m:e-p270: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 @setenv(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %9 = load i32, ptr %7, align 4 %10 = icmp ne i32 %9, 0 br i1 %10, label %16, label %11 11: ; preds = %3 %12 = load ptr, ptr %5, align 8 %13 = call ptr @getenv(ptr noundef %12) %14 = icmp ne ptr %13, null br i1 %14, label %15, label %16 15: ; preds = %11 store i32 0, ptr %4, align 4 br label %39 16: ; preds = %11, %3 %17 = load ptr, ptr %5, align 8 %18 = call i64 @strlen(ptr noundef %17) %19 = add nsw i64 %18, 1 %20 = load ptr, ptr %6, align 8 %21 = call i64 @strlen(ptr noundef %20) %22 = add nsw i64 %19, %21 %23 = add nsw i64 %22, 1 %24 = call ptr @malloc(i64 noundef %23) store ptr %24, ptr %8, align 8 %25 = load ptr, ptr %8, align 8 %26 = icmp eq ptr %25, null br i1 %26, label %27, label %28 27: ; preds = %16 store i32 -1, ptr %4, align 4 br label %39 28: ; preds = %16 %29 = load ptr, ptr %8, align 8 %30 = load ptr, ptr %5, align 8 %31 = call i32 @strcpy(ptr noundef %29, ptr noundef %30) %32 = load ptr, ptr %8, align 8 %33 = call i32 @strcat(ptr noundef %32, ptr noundef @.str) %34 = load ptr, ptr %8, align 8 %35 = load ptr, ptr %6, align 8 %36 = call i32 @strcat(ptr noundef %34, ptr noundef %35) %37 = load ptr, ptr %8, align 8 %38 = call i32 @putenv(ptr noundef %37) store i32 %38, ptr %4, align 4 br label %39 39: ; preds = %28, %27, %15 %40 = load i32, ptr %4, align 4 ret i32 %40 } declare ptr @getenv(ptr noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @putenv(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/tmpk039o6hy.c' source_filename = "/tmp/tmpk039o6hy.c" target datalayout = "e-m:e-p270: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 { i32, i32, i32, i32 } %struct.utimbuf = type { i32, i32 } %struct.iovec = type { ptr, i32 } %struct.dirent = type { i32 } @.str = private unnamed_addr constant [26 x i8] c"/tmp/linux-test.tmp/file1\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"/tmp/linux-test.tmp/file2\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"/tmp/linux-test.tmp/file3\00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c"/tmp/linux-test.tmp\00", align 1 @.str.4 = private unnamed_addr constant [166 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/BCLinux/qga-bc/refs/heads/ai-touchbook/agent/qemu-0.12.4/tests/linux-test.c\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"getcwd\00", align 1 @.str.6 = private unnamed_addr constant [6 x i8] c"file1\00", align 1 @O_WRONLY = dso_local global i32 0, align 4 @O_TRUNC = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 @.str.7 = private unnamed_addr constant [6 x i8] c"write\00", align 1 @.str.8 = private unnamed_addr constant [7 x i8] c"writev\00", align 1 @.str.9 = private unnamed_addr constant [6 x i8] c"file2\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.10 = private unnamed_addr constant [5 x i8] c"read\00", align 1 @.str.11 = private unnamed_addr constant [7 x i8] c"memcmp\00", align 1 @SEEK_SET = dso_local global i32 0, align 4 @.str.12 = private unnamed_addr constant [6 x i8] c"lseek\00", align 1 @.str.13 = private unnamed_addr constant [6 x i8] c"readv\00", align 1 @R_OK = dso_local global i32 0, align 4 @.str.14 = private unnamed_addr constant [10 x i8] c"stat size\00", align 1 @.str.15 = private unnamed_addr constant [10 x i8] c"stat mode\00", align 1 @.str.16 = private unnamed_addr constant [11 x i8] c"stat mode2\00", align 1 @.str.17 = private unnamed_addr constant [10 x i8] c"stat time\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @.str.18 = private unnamed_addr constant [6 x i8] c"file3\00", align 1 @.str.19 = private unnamed_addr constant [8 x i8] c"opendir\00", align 1 @.str.20 = private unnamed_addr constant [2 x i8] c".\00", align 1 @.str.21 = private unnamed_addr constant [3 x i8] c"..\00", align 1 @.str.22 = private unnamed_addr constant [8 x i8] c"readdir\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_file() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [300 x i32], align 16 %6 = alloca [300 x i32], align 16 %7 = alloca [300 x i32], align 16 %8 = alloca [1024 x i8], align 16 %9 = alloca %struct.stat, align 4 %10 = alloca %struct.utimbuf, align 4 %11 = alloca [2 x %struct.iovec], align 16 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = call i32 @unlink(ptr noundef @.str) %15 = call i32 @unlink(ptr noundef @.str.1) %16 = call i32 @unlink(ptr noundef @.str.2) %17 = call i32 @rmdir(ptr noundef @.str.3) %18 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %19 = call ptr @getcwd(ptr noundef %18, i32 noundef 1024) %20 = icmp eq ptr %19, null br i1 %20, label %21, label %23 21: ; preds = %0 %22 = call i32 @error1(ptr noundef @.str.4, i32 noundef 94, ptr noundef @.str.5) br label %23 23: ; preds = %21, %0 %24 = call i32 @mkdir(ptr noundef @.str.3, i32 noundef 493) %25 = call i32 @__chk_error(ptr noundef @.str.4, i32 noundef 96, i32 noundef %24) %26 = call i32 @chdir(ptr noundef @.str.3) %27 = call i32 @__chk_error(ptr noundef @.str.4, i32 noundef 98, i32 noundef %26) %28 = load i32, ptr @O_WRONLY, align 4 %29 = load i32, ptr @O_TRUNC, align 4 %30 = or i32 %28, %29 %31 = load i32, ptr @O_CREAT, align 4 %32 = or i32 %30, %31 %33 = call i32 (ptr, i32, ...) @open(ptr noundef @.str.6, i32 noundef %32, i32 noundef 420) %34 = call i32 @__chk_error(ptr noundef @.str.4, i32 noundef 102, i32 noundef %33) store i32 %34, ptr %1, align 4 store i32 0, ptr %2, align 4 br label %35 35: ; preds = %43, %23 %36 = load i32, ptr %2, align 4 %37 = icmp slt i32 %36, 300 br i1 %37, label %38, label %46 38: ; preds = %35 %39 = load i32, ptr %2, align 4 %40 = load i32, ptr %2, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [300 x i32], ptr %5, i64 0, i64 %41 store i32 %39, ptr %42, align 4 br label %43 43: ; preds = %38 %44 = load i32, ptr %2, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %2, align 4 br label %35, !llvm.loop !6 46: ; preds = %35 %47 = load i32, ptr %1, align 4 %48 = getelementptr inbounds [300 x i32], ptr %5, i64 0, i64 0 %49 = call i32 @write(i32 noundef %47, ptr noundef %48, i32 noundef 150) %50 = call i32 @__chk_error(ptr noundef @.str.4, i32 noundef 105, i32 noundef %49) store i32 %50, ptr %3, align 4 %51 = load i32, ptr %3, align 4 %52 = icmp ne i32 %51, 150 br i1 %52, label %53, label %55 53: ; preds = %46 %54 = call i32 @error1(ptr noundef @.str.4, i32 noundef 107, ptr noundef @.str.7) br label %55 55: ; preds = %53, %46 %56 = getelementptr inbounds [300 x i32], ptr %5, i64 0, i64 0 %57 = getelementptr inbounds i32, ptr %56, i64 150 %58 = getelementptr inbounds [2 x %struct.iovec], ptr %11, i64 0, i64 0 %59 = getelementptr inbounds %struct.iovec, ptr %58, i32 0, i32 0 store ptr %57, ptr %59, align 16 %60 = getelementptr inbounds [2 x %struct.iovec], ptr %11, i64 0, i64 0 %61 = getelementptr inbounds %struct.iovec, ptr %60, i32 0, i32 1 store i32 16, ptr %61, align 8 %62 = getelementptr inbounds [300 x i32], ptr %5, i64 0, i64 0 %63 = getelementptr inbounds i32, ptr %62, i64 150 %64 = getelementptr inbounds i32, ptr %63, i64 16 %65 = getelementptr inbounds [2 x %struct.iovec], ptr %11, i64 0, i64 1 %66 = getelementptr inbounds %struct.iovec, ptr %65, i32 0, i32 0 store ptr %64, ptr %66, align 16 %67 = getelementptr inbounds [2 x %struct.iovec], ptr %11, i64 0, i64 1 %68 = getelementptr inbounds %struct.iovec, ptr %67, i32 0, i32 1 store i32 134, ptr %68, align 8 %69 = load i32, ptr %1, align 4 %70 = getelementptr inbounds [2 x %struct.iovec], ptr %11, i64 0, i64 0 %71 = call i32 @writev(i32 noundef %69, ptr noundef %70, i32 noundef 2) %72 = call i32 @__chk_error(ptr noundef @.str.4, i32 noundef 112, i32 noundef %71) store i32 %72, ptr %3, align 4 %73 = load i32, ptr %3, align 4 %74 = icmp ne i32 %73, 150 br i1 %74, label %75, label %77 75: ; preds = %55 %76 = call i32 @error1(ptr noundef @.str.4, i32 noundef 114, ptr noundef @.str.8) br label %77 77: ; preds = %75, %55 %78 = load i32, ptr %1, align 4 %79 = call i32 @close(i32 noundef %78) %80 = call i32 @__chk_error(ptr noundef @.str.4, i32 noundef 115, i32 noundef %79) %81 = call i32 @rename(ptr noundef @.str.6, ptr noundef @.str.9) %82 = call i32 @__chk_error(ptr noundef @.str.4, i32 noundef 117, i32 noundef %81) %83 = load i32, ptr @O_RDONLY, align 4 %84 = call i32 (ptr, i32, ...) @open(ptr noundef @.str.9, i32 noundef %83) %85 = call i32 @__chk_error(ptr noundef @.str.4, i32 noundef 119, i32 noundef %84) store i32 %85, ptr %1, align 4 %86 = load i32, ptr %1, align 4 %87 = getelementptr inbounds [300 x i32], ptr %6, i64 0, i64 0 %88 = call i32 @read(i32 noundef %86, ptr noundef %87, i32 noundef 300) %89 = call i32 @__chk_error(ptr noundef @.str.4, i32 noundef 121, i32 noundef %88) store i32 %89, ptr %3, align 4 %90 = load i32, ptr %3, align 4 %91 = icmp ne i32 %90, 300 br i1 %91, label %92, label %94 92: ; preds = %77 %93 = call i32 @error1(ptr noundef @.str.4, i32 noundef 123, ptr noundef @.str.10) br label %94 94: ; preds = %92, %77 %95 = getelementptr inbounds [300 x i32], ptr %5, i64 0, i64 0 %96 = getelementptr inbounds [300 x i32], ptr %6, i64 0, i64 0 %97 = call i64 @memcmp(ptr noundef %95, ptr noundef %96, i32 noundef 300) %98 = icmp ne i64 %97, 0 br i1 %98, label %99, label %101 99: ; preds = %94 %100 = call i32 @error1(ptr noundef @.str.4, i32 noundef 125, ptr noundef @.str.11) br label %101 101: ; preds = %99, %94 %102 = load i32, ptr %1, align 4 %103 = load i32, ptr @SEEK_SET, align 4 %104 = call i32 @lseek(i32 noundef %102, i32 noundef 16, i32 noundef %103) %105 = call i32 @__chk_error(ptr noundef @.str.4, i32 noundef 128, i32 noundef %104) store i32 %105, ptr %4, align 4 %106 = load i32, ptr %4, align 4 %107 = icmp ne i32 %106, 16 br i1 %107, label %108, label %110 108: ; preds = %101 %109 = call i32 @error1(ptr noundef @.str.4, i32 noundef 130, ptr noundef @.str.12) br label %110 110: ; preds = %108, %101 %111 = getelementptr inbounds [300 x i32], ptr %7, i64 0, i64 0 %112 = getelementptr inbounds [2 x %struct.iovec], ptr %11, i64 0, i64 0 %113 = getelementptr inbounds %struct.iovec, ptr %112, i32 0, i32 0 store ptr %111, ptr %113, align 16 %114 = getelementptr inbounds [2 x %struct.iovec], ptr %11, i64 0, i64 0 %115 = getelementptr inbounds %struct.iovec, ptr %114, i32 0, i32 1 store i32 32, ptr %115, align 8 %116 = getelementptr inbounds [300 x i32], ptr %7, i64 0, i64 0 %117 = getelementptr inbounds i32, ptr %116, i64 32 %118 = getelementptr inbounds [2 x %struct.iovec], ptr %11, i64 0, i64 1 %119 = getelementptr inbounds %struct.iovec, ptr %118, i32 0, i32 0 store ptr %117, ptr %119, align 16 %120 = getelementptr inbounds [2 x %struct.iovec], ptr %11, i64 0, i64 1 %121 = getelementptr inbounds %struct.iovec, ptr %120, i32 0, i32 1 store i32 252, ptr %121, align 8 %122 = load i32, ptr %1, align 4 %123 = getelementptr inbounds [2 x %struct.iovec], ptr %11, i64 0, i64 0 %124 = call i32 @readv(i32 noundef %122, ptr noundef %123, i32 noundef 2) %125 = call i32 @__chk_error(ptr noundef @.str.4, i32 noundef 135, i32 noundef %124) store i32 %125, ptr %3, align 4 %126 = load i32, ptr %3, align 4 %127 = icmp ne i32 %126, 284 br i1 %127, label %128, label %130 128: ; preds = %110 %129 = call i32 @error1(ptr noundef @.str.4, i32 noundef 137, ptr noundef @.str.13) br label %130 130: ; preds = %128, %110 %131 = getelementptr inbounds [300 x i32], ptr %5, i64 0, i64 0 %132 = getelementptr inbounds i32, ptr %131, i64 16 %133 = getelementptr inbounds [300 x i32], ptr %7, i64 0, i64 0 %134 = call i64 @memcmp(ptr noundef %132, ptr noundef %133, i32 noundef 284) %135 = icmp ne i64 %134, 0 br i1 %135, label %136, label %138 136: ; preds = %130 %137 = call i32 @error1(ptr noundef @.str.4, i32 noundef 139, ptr noundef @.str.11) br label %138 138: ; preds = %136, %130 %139 = load i32, ptr %1, align 4 %140 = call i32 @close(i32 noundef %139) %141 = call i32 @__chk_error(ptr noundef @.str.4, i32 noundef 141, i32 noundef %140) %142 = load i32, ptr @R_OK, align 4 %143 = call i32 @access(ptr noundef @.str.9, i32 noundef %142) %144 = call i32 @__chk_error(ptr noundef @.str.4, i32 noundef 144, i32 noundef %143) %145 = call i32 @chmod(ptr noundef @.str.9, i32 noundef 384) %146 = call i32 @__chk_error(ptr noundef @.str.4, i32 noundef 148, i32 noundef %145) %147 = getelementptr inbounds %struct.utimbuf, ptr %10, i32 0, i32 0 store i32 1001, ptr %147, align 4 %148 = getelementptr inbounds %struct.utimbuf, ptr %10, i32 0, i32 1 store i32 1000, ptr %148, align 4 %149 = call i32 @truncate(ptr noundef @.str.9, i32 noundef 100) %150 = call i32 @__chk_error(ptr noundef @.str.4, i32 noundef 151, i32 noundef %149) %151 = call i32 @utime(ptr noundef @.str.9, ptr noundef %10) %152 = call i32 @__chk_error(ptr noundef @.str.4, i32 noundef 152, i32 noundef %151) %153 = call i32 @stat(ptr noundef @.str.9, ptr noundef %9) %154 = call i32 @__chk_error(ptr noundef @.str.4, i32 noundef 153, i32 noundef %153) %155 = getelementptr inbounds %struct.stat, ptr %9, i32 0, i32 0 %156 = load i32, ptr %155, align 4 %157 = icmp ne i32 %156, 100 br i1 %157, label %158, label %160 158: ; preds = %138 %159 = call i32 @error1(ptr noundef @.str.4, i32 noundef 155, ptr noundef @.str.14) br label %160 160: ; preds = %158, %138 %161 = getelementptr inbounds %struct.stat, ptr %9, i32 0, i32 1 %162 = load i32, ptr %161, align 4 %163 = call i32 @S_ISREG(i32 noundef %162) %164 = icmp ne i32 %163, 0 br i1 %164, label %167, label %165 165: ; preds = %160 %166 = call i32 @error1(ptr noundef @.str.4, i32 noundef 157, ptr noundef @.str.15) br label %167 167: ; preds = %165, %160 %168 = getelementptr inbounds %struct.stat, ptr %9, i32 0, i32 1 %169 = load i32, ptr %168, align 4 %170 = and i32 %169, 511 %171 = icmp ne i32 %170, 384 br i1 %171, label %172, label %174 172: ; preds = %167 %173 = call i32 @error1(ptr noundef @.str.4, i32 noundef 159, ptr noundef @.str.16) br label %174 174: ; preds = %172, %167 %175 = getelementptr inbounds %struct.stat, ptr %9, i32 0, i32 2 %176 = load i32, ptr %175, align 4 %177 = icmp ne i32 %176, 1001 br i1 %177, label %182, label %178 178: ; preds = %174 %179 = getelementptr inbounds %struct.stat, ptr %9, i32 0, i32 3 %180 = load i32, ptr %179, align 4 %181 = icmp ne i32 %180, 1000 br i1 %181, label %182, label %184 182: ; preds = %178, %174 %183 = call i32 @error1(ptr noundef @.str.4, i32 noundef 162, ptr noundef @.str.17) br label %184 184: ; preds = %182, %178 %185 = call i32 @stat(ptr noundef @.str.3, ptr noundef %9) %186 = call i32 @__chk_error(ptr noundef @.str.4, i32 noundef 164, i32 noundef %185) %187 = getelementptr inbounds %struct.stat, ptr %9, i32 0, i32 1 %188 = load i32, ptr %187, align 4 %189 = call i32 @S_ISDIR(i32 noundef %188) %190 = icmp ne i32 %189, 0 br i1 %190, label %193, label %191 191: ; preds = %184 %192 = call i32 @error1(ptr noundef @.str.4, i32 noundef 166, ptr noundef @.str.15) br label %193 193: ; preds = %191, %184 %194 = load i32, ptr @O_RDWR, align 4 %195 = call i32 (ptr, i32, ...) @open(ptr noundef @.str.9, i32 noundef %194) %196 = call i32 @__chk_error(ptr noundef @.str.4, i32 noundef 169, i32 noundef %195) store i32 %196, ptr %1, align 4 %197 = load i32, ptr %1, align 4 %198 = call i32 @ftruncate(i32 noundef %197, i32 noundef 50) %199 = call i32 @__chk_error(ptr noundef @.str.4, i32 noundef 170, i32 noundef %198) %200 = load i32, ptr %1, align 4 %201 = call i32 @fstat(i32 noundef %200, ptr noundef %9) %202 = call i32 @__chk_error(ptr noundef @.str.4, i32 noundef 171, i32 noundef %201) %203 = load i32, ptr %1, align 4 %204 = call i32 @close(i32 noundef %203) %205 = call i32 @__chk_error(ptr noundef @.str.4, i32 noundef 172, i32 noundef %204) %206 = getelementptr inbounds %struct.stat, ptr %9, i32 0, i32 0 %207 = load i32, ptr %206, align 4 %208 = icmp ne i32 %207, 50 br i1 %208, label %209, label %211 209: ; preds = %193 %210 = call i32 @error1(ptr noundef @.str.4, i32 noundef 175, ptr noundef @.str.14) br label %211 211: ; preds = %209, %193 %212 = getelementptr inbounds %struct.stat, ptr %9, i32 0, i32 1 %213 = load i32, ptr %212, align 4 %214 = call i32 @S_ISREG(i32 noundef %213) %215 = icmp ne i32 %214, 0 br i1 %215, label %218, label %216 216: ; preds = %211 %217 = call i32 @error1(ptr noundef @.str.4, i32 noundef 177, ptr noundef @.str.15) br label %218 218: ; preds = %216, %211 %219 = call i32 @symlink(ptr noundef @.str.9, ptr noundef @.str.18) %220 = call i32 @__chk_error(ptr noundef @.str.4, i32 noundef 180, i32 noundef %219) %221 = call i32 @lstat(ptr noundef @.str.18, ptr noundef %9) %222 = call i32 @__chk_error(ptr noundef @.str.4, i32 noundef 181, i32 noundef %221) %223 = getelementptr inbounds %struct.stat, ptr %9, i32 0, i32 1 %224 = load i32, ptr %223, align 4 %225 = call i32 @S_ISLNK(i32 noundef %224) %226 = icmp ne i32 %225, 0 br i1 %226, label %229, label %227 227: ; preds = %218 %228 = call i32 @error1(ptr noundef @.str.4, i32 noundef 183, ptr noundef @.str.15) br label %229 229: ; preds = %227, %218 %230 = call ptr @opendir(ptr noundef @.str.3) store ptr %230, ptr %12, align 8 %231 = load ptr, ptr %12, align 8 %232 = icmp ne ptr %231, null br i1 %232, label %235, label %233 233: ; preds = %229 %234 = call i32 @error1(ptr noundef @.str.4, i32 noundef 188, ptr noundef @.str.19) br label %235 235: ; preds = %233, %229 store i32 0, ptr %3, align 4 br label %236 236: ; preds = %268, %235 %237 = load ptr, ptr %12, align 8 %238 = call ptr @readdir(ptr noundef %237) store ptr %238, ptr %13, align 8 %239 = load ptr, ptr %13, align 8 %240 = icmp ne ptr %239, null br i1 %240, label %242, label %241 241: ; preds = %236 br label %271 242: ; preds = %236 %243 = load ptr, ptr %13, align 8 %244 = getelementptr inbounds %struct.dirent, ptr %243, i32 0, i32 0 %245 = load i32, ptr %244, align 4 %246 = call i64 @strcmp(i32 noundef %245, ptr noundef @.str.20) %247 = icmp ne i64 %246, 0 br i1 %247, label %248, label %268 248: ; preds = %242 %249 = load ptr, ptr %13, align 8 %250 = getelementptr inbounds %struct.dirent, ptr %249, i32 0, i32 0 %251 = load i32, ptr %250, align 4 %252 = call i64 @strcmp(i32 noundef %251, ptr noundef @.str.21) %253 = icmp ne i64 %252, 0 br i1 %253, label %254, label %268 254: ; preds = %248 %255 = load ptr, ptr %13, align 8 %256 = getelementptr inbounds %struct.dirent, ptr %255, i32 0, i32 0 %257 = load i32, ptr %256, align 4 %258 = call i64 @strcmp(i32 noundef %257, ptr noundef @.str.9) %259 = icmp ne i64 %258, 0 br i1 %259, label %260, label %268 260: ; preds = %254 %261 = load ptr, ptr %13, align 8 %262 = getelementptr inbounds %struct.dirent, ptr %261, i32 0, i32 0 %263 = load i32, ptr %262, align 4 %264 = call i64 @strcmp(i32 noundef %263, ptr noundef @.str.18) %265 = icmp ne i64 %264, 0 br i1 %265, label %266, label %268 266: ; preds = %260 %267 = call i32 @error1(ptr noundef @.str.4, i32 noundef 198, ptr noundef @.str.22) br label %268 268: ; preds = %266, %260, %254, %248, %242 %269 = load i32, ptr %3, align 4 %270 = add nsw i32 %269, 1 store i32 %270, ptr %3, align 4 br label %236 271: ; preds = %241 %272 = load ptr, ptr %12, align 8 %273 = call i32 @closedir(ptr noundef %272) %274 = load i32, ptr %3, align 4 %275 = icmp ne i32 %274, 4 br i1 %275, label %276, label %278 276: ; preds = %271 %277 = call i32 @error1(ptr noundef @.str.4, i32 noundef 203, ptr noundef @.str.22) br label %278 278: ; preds = %276, %271 %279 = call i32 @unlink(ptr noundef @.str.18) %280 = call i32 @__chk_error(ptr noundef @.str.4, i32 noundef 205, i32 noundef %279) %281 = call i32 @unlink(ptr noundef @.str.9) %282 = call i32 @__chk_error(ptr noundef @.str.4, i32 noundef 206, i32 noundef %281) %283 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %284 = call i32 @chdir(ptr noundef %283) %285 = call i32 @__chk_error(ptr noundef @.str.4, i32 noundef 207, i32 noundef %284) %286 = call i32 @rmdir(ptr noundef @.str.3) %287 = call i32 @__chk_error(ptr noundef @.str.4, i32 noundef 208, i32 noundef %286) ret void } declare i32 @unlink(ptr noundef) #1 declare i32 @rmdir(ptr noundef) #1 declare ptr @getcwd(ptr noundef, i32 noundef) #1 declare i32 @error1(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @__chk_error(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @mkdir(ptr noundef, i32 noundef) #1 declare i32 @chdir(ptr noundef) #1 declare i32 @open(ptr noundef, i32 noundef, ...) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @writev(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @rename(ptr noundef, ptr noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @readv(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @access(ptr noundef, i32 noundef) #1 declare i32 @chmod(ptr noundef, i32 noundef) #1 declare i32 @truncate(ptr noundef, i32 noundef) #1 declare i32 @utime(ptr noundef, ptr noundef) #1 declare i32 @stat(ptr noundef, ptr noundef) #1 declare i32 @S_ISREG(i32 noundef) #1 declare i32 @S_ISDIR(i32 noundef) #1 declare i32 @ftruncate(i32 noundef, i32 noundef) #1 declare i32 @fstat(i32 noundef, ptr noundef) #1 declare i32 @symlink(ptr noundef, ptr noundef) #1 declare i32 @lstat(ptr noundef, ptr noundef) #1 declare i32 @S_ISLNK(i32 noundef) #1 declare ptr @opendir(ptr noundef) #1 declare ptr @readdir(ptr noundef) #1 declare i64 @strcmp(i32 noundef, ptr noundef) #1 declare i32 @closedir(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/tmpk039o6hy.c" target datalayout = "e-m:e-p270: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 { i32, i32, i32, i32 } %struct.utimbuf = type { i32, i32 } %struct.iovec = type { ptr, i32 } %struct.dirent = type { i32 } @.str = private unnamed_addr constant [26 x i8] c"/tmp/linux-test.tmp/file1\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"/tmp/linux-test.tmp/file2\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"/tmp/linux-test.tmp/file3\00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c"/tmp/linux-test.tmp\00", align 1 @.str.4 = private unnamed_addr constant [166 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/BCLinux/qga-bc/refs/heads/ai-touchbook/agent/qemu-0.12.4/tests/linux-test.c\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"getcwd\00", align 1 @.str.6 = private unnamed_addr constant [6 x i8] c"file1\00", align 1 @O_WRONLY = dso_local global i32 0, align 4 @O_TRUNC = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 @.str.7 = private unnamed_addr constant [6 x i8] c"write\00", align 1 @.str.8 = private unnamed_addr constant [7 x i8] c"writev\00", align 1 @.str.9 = private unnamed_addr constant [6 x i8] c"file2\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.10 = private unnamed_addr constant [5 x i8] c"read\00", align 1 @.str.11 = private unnamed_addr constant [7 x i8] c"memcmp\00", align 1 @SEEK_SET = dso_local global i32 0, align 4 @.str.12 = private unnamed_addr constant [6 x i8] c"lseek\00", align 1 @.str.13 = private unnamed_addr constant [6 x i8] c"readv\00", align 1 @R_OK = dso_local global i32 0, align 4 @.str.14 = private unnamed_addr constant [10 x i8] c"stat size\00", align 1 @.str.15 = private unnamed_addr constant [10 x i8] c"stat mode\00", align 1 @.str.16 = private unnamed_addr constant [11 x i8] c"stat mode2\00", align 1 @.str.17 = private unnamed_addr constant [10 x i8] c"stat time\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @.str.18 = private unnamed_addr constant [6 x i8] c"file3\00", align 1 @.str.19 = private unnamed_addr constant [8 x i8] c"opendir\00", align 1 @.str.20 = private unnamed_addr constant [2 x i8] c".\00", align 1 @.str.21 = private unnamed_addr constant [3 x i8] c"..\00", align 1 @.str.22 = private unnamed_addr constant [8 x i8] c"readdir\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_file() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [300 x i32], align 16 %6 = alloca [300 x i32], align 16 %7 = alloca [300 x i32], align 16 %8 = alloca [1024 x i8], align 16 %9 = alloca %struct.stat, align 4 %10 = alloca %struct.utimbuf, align 4 %11 = alloca [2 x %struct.iovec], align 16 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = call i32 @unlink(ptr noundef @.str) %15 = call i32 @unlink(ptr noundef @.str.1) %16 = call i32 @unlink(ptr noundef @.str.2) %17 = call i32 @rmdir(ptr noundef @.str.3) %18 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %19 = call ptr @getcwd(ptr noundef %18, i32 noundef 1024) %20 = icmp eq ptr %19, null br i1 %20, label %21, label %23 21: ; preds = %0 %22 = call i32 @error1(ptr noundef @.str.4, i32 noundef 94, ptr noundef @.str.5) br label %23 23: ; preds = %21, %0 %24 = call i32 @mkdir(ptr noundef @.str.3, i32 noundef 493) %25 = call i32 @__chk_error(ptr noundef @.str.4, i32 noundef 96, i32 noundef %24) %26 = call i32 @chdir(ptr noundef @.str.3) %27 = call i32 @__chk_error(ptr noundef @.str.4, i32 noundef 98, i32 noundef %26) %28 = load i32, ptr @O_WRONLY, align 4 %29 = load i32, ptr @O_TRUNC, align 4 %30 = or i32 %28, %29 %31 = load i32, ptr @O_CREAT, align 4 %32 = or i32 %30, %31 %33 = call i32 (ptr, i32, ...) @open(ptr noundef @.str.6, i32 noundef %32, i32 noundef 420) %34 = call i32 @__chk_error(ptr noundef @.str.4, i32 noundef 102, i32 noundef %33) store i32 %34, ptr %1, align 4 store i32 0, ptr %2, align 4 %35 = load i32, ptr %2, align 4 %36 = icmp slt i32 %35, 300 br i1 %36, label %.lr.ph, label %47 .lr.ph: ; preds = %23 br label %37 37: ; preds = %.lr.ph, %42 %38 = load i32, ptr %2, align 4 %39 = load i32, ptr %2, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [300 x i32], ptr %5, i64 0, i64 %40 store i32 %38, ptr %41, align 4 br label %42 42: ; preds = %37 %43 = load i32, ptr %2, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %2, align 4 %45 = load i32, ptr %2, align 4 %46 = icmp slt i32 %45, 300 br i1 %46, label %37, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %42 br label %47 47: ; preds = %._crit_edge, %23 %48 = load i32, ptr %1, align 4 %49 = getelementptr inbounds [300 x i32], ptr %5, i64 0, i64 0 %50 = call i32 @write(i32 noundef %48, ptr noundef %49, i32 noundef 150) %51 = call i32 @__chk_error(ptr noundef @.str.4, i32 noundef 105, i32 noundef %50) store i32 %51, ptr %3, align 4 %52 = load i32, ptr %3, align 4 %53 = icmp ne i32 %52, 150 br i1 %53, label %54, label %56 54: ; preds = %47 %55 = call i32 @error1(ptr noundef @.str.4, i32 noundef 107, ptr noundef @.str.7) br label %56 56: ; preds = %54, %47 %57 = getelementptr inbounds [300 x i32], ptr %5, i64 0, i64 0 %58 = getelementptr inbounds i32, ptr %57, i64 150 %59 = getelementptr inbounds [2 x %struct.iovec], ptr %11, i64 0, i64 0 %60 = getelementptr inbounds %struct.iovec, ptr %59, i32 0, i32 0 store ptr %58, ptr %60, align 16 %61 = getelementptr inbounds [2 x %struct.iovec], ptr %11, i64 0, i64 0 %62 = getelementptr inbounds %struct.iovec, ptr %61, i32 0, i32 1 store i32 16, ptr %62, align 8 %63 = getelementptr inbounds [300 x i32], ptr %5, i64 0, i64 0 %64 = getelementptr inbounds i32, ptr %63, i64 150 %65 = getelementptr inbounds i32, ptr %64, i64 16 %66 = getelementptr inbounds [2 x %struct.iovec], ptr %11, i64 0, i64 1 %67 = getelementptr inbounds %struct.iovec, ptr %66, i32 0, i32 0 store ptr %65, ptr %67, align 16 %68 = getelementptr inbounds [2 x %struct.iovec], ptr %11, i64 0, i64 1 %69 = getelementptr inbounds %struct.iovec, ptr %68, i32 0, i32 1 store i32 134, ptr %69, align 8 %70 = load i32, ptr %1, align 4 %71 = getelementptr inbounds [2 x %struct.iovec], ptr %11, i64 0, i64 0 %72 = call i32 @writev(i32 noundef %70, ptr noundef %71, i32 noundef 2) %73 = call i32 @__chk_error(ptr noundef @.str.4, i32 noundef 112, i32 noundef %72) store i32 %73, ptr %3, align 4 %74 = load i32, ptr %3, align 4 %75 = icmp ne i32 %74, 150 br i1 %75, label %76, label %78 76: ; preds = %56 %77 = call i32 @error1(ptr noundef @.str.4, i32 noundef 114, ptr noundef @.str.8) br label %78 78: ; preds = %76, %56 %79 = load i32, ptr %1, align 4 %80 = call i32 @close(i32 noundef %79) %81 = call i32 @__chk_error(ptr noundef @.str.4, i32 noundef 115, i32 noundef %80) %82 = call i32 @rename(ptr noundef @.str.6, ptr noundef @.str.9) %83 = call i32 @__chk_error(ptr noundef @.str.4, i32 noundef 117, i32 noundef %82) %84 = load i32, ptr @O_RDONLY, align 4 %85 = call i32 (ptr, i32, ...) @open(ptr noundef @.str.9, i32 noundef %84) %86 = call i32 @__chk_error(ptr noundef @.str.4, i32 noundef 119, i32 noundef %85) store i32 %86, ptr %1, align 4 %87 = load i32, ptr %1, align 4 %88 = getelementptr inbounds [300 x i32], ptr %6, i64 0, i64 0 %89 = call i32 @read(i32 noundef %87, ptr noundef %88, i32 noundef 300) %90 = call i32 @__chk_error(ptr noundef @.str.4, i32 noundef 121, i32 noundef %89) store i32 %90, ptr %3, align 4 %91 = load i32, ptr %3, align 4 %92 = icmp ne i32 %91, 300 br i1 %92, label %93, label %95 93: ; preds = %78 %94 = call i32 @error1(ptr noundef @.str.4, i32 noundef 123, ptr noundef @.str.10) br label %95 95: ; preds = %93, %78 %96 = getelementptr inbounds [300 x i32], ptr %5, i64 0, i64 0 %97 = getelementptr inbounds [300 x i32], ptr %6, i64 0, i64 0 %98 = call i64 @memcmp(ptr noundef %96, ptr noundef %97, i32 noundef 300) %99 = icmp ne i64 %98, 0 br i1 %99, label %100, label %102 100: ; preds = %95 %101 = call i32 @error1(ptr noundef @.str.4, i32 noundef 125, ptr noundef @.str.11) br label %102 102: ; preds = %100, %95 %103 = load i32, ptr %1, align 4 %104 = load i32, ptr @SEEK_SET, align 4 %105 = call i32 @lseek(i32 noundef %103, i32 noundef 16, i32 noundef %104) %106 = call i32 @__chk_error(ptr noundef @.str.4, i32 noundef 128, i32 noundef %105) store i32 %106, ptr %4, align 4 %107 = load i32, ptr %4, align 4 %108 = icmp ne i32 %107, 16 br i1 %108, label %109, label %111 109: ; preds = %102 %110 = call i32 @error1(ptr noundef @.str.4, i32 noundef 130, ptr noundef @.str.12) br label %111 111: ; preds = %109, %102 %112 = getelementptr inbounds [300 x i32], ptr %7, i64 0, i64 0 %113 = getelementptr inbounds [2 x %struct.iovec], ptr %11, i64 0, i64 0 %114 = getelementptr inbounds %struct.iovec, ptr %113, i32 0, i32 0 store ptr %112, ptr %114, align 16 %115 = getelementptr inbounds [2 x %struct.iovec], ptr %11, i64 0, i64 0 %116 = getelementptr inbounds %struct.iovec, ptr %115, i32 0, i32 1 store i32 32, ptr %116, align 8 %117 = getelementptr inbounds [300 x i32], ptr %7, i64 0, i64 0 %118 = getelementptr inbounds i32, ptr %117, i64 32 %119 = getelementptr inbounds [2 x %struct.iovec], ptr %11, i64 0, i64 1 %120 = getelementptr inbounds %struct.iovec, ptr %119, i32 0, i32 0 store ptr %118, ptr %120, align 16 %121 = getelementptr inbounds [2 x %struct.iovec], ptr %11, i64 0, i64 1 %122 = getelementptr inbounds %struct.iovec, ptr %121, i32 0, i32 1 store i32 252, ptr %122, align 8 %123 = load i32, ptr %1, align 4 %124 = getelementptr inbounds [2 x %struct.iovec], ptr %11, i64 0, i64 0 %125 = call i32 @readv(i32 noundef %123, ptr noundef %124, i32 noundef 2) %126 = call i32 @__chk_error(ptr noundef @.str.4, i32 noundef 135, i32 noundef %125) store i32 %126, ptr %3, align 4 %127 = load i32, ptr %3, align 4 %128 = icmp ne i32 %127, 284 br i1 %128, label %129, label %131 129: ; preds = %111 %130 = call i32 @error1(ptr noundef @.str.4, i32 noundef 137, ptr noundef @.str.13) br label %131 131: ; preds = %129, %111 %132 = getelementptr inbounds [300 x i32], ptr %5, i64 0, i64 0 %133 = getelementptr inbounds i32, ptr %132, i64 16 %134 = getelementptr inbounds [300 x i32], ptr %7, i64 0, i64 0 %135 = call i64 @memcmp(ptr noundef %133, ptr noundef %134, i32 noundef 284) %136 = icmp ne i64 %135, 0 br i1 %136, label %137, label %139 137: ; preds = %131 %138 = call i32 @error1(ptr noundef @.str.4, i32 noundef 139, ptr noundef @.str.11) br label %139 139: ; preds = %137, %131 %140 = load i32, ptr %1, align 4 %141 = call i32 @close(i32 noundef %140) %142 = call i32 @__chk_error(ptr noundef @.str.4, i32 noundef 141, i32 noundef %141) %143 = load i32, ptr @R_OK, align 4 %144 = call i32 @access(ptr noundef @.str.9, i32 noundef %143) %145 = call i32 @__chk_error(ptr noundef @.str.4, i32 noundef 144, i32 noundef %144) %146 = call i32 @chmod(ptr noundef @.str.9, i32 noundef 384) %147 = call i32 @__chk_error(ptr noundef @.str.4, i32 noundef 148, i32 noundef %146) %148 = getelementptr inbounds %struct.utimbuf, ptr %10, i32 0, i32 0 store i32 1001, ptr %148, align 4 %149 = getelementptr inbounds %struct.utimbuf, ptr %10, i32 0, i32 1 store i32 1000, ptr %149, align 4 %150 = call i32 @truncate(ptr noundef @.str.9, i32 noundef 100) %151 = call i32 @__chk_error(ptr noundef @.str.4, i32 noundef 151, i32 noundef %150) %152 = call i32 @utime(ptr noundef @.str.9, ptr noundef %10) %153 = call i32 @__chk_error(ptr noundef @.str.4, i32 noundef 152, i32 noundef %152) %154 = call i32 @stat(ptr noundef @.str.9, ptr noundef %9) %155 = call i32 @__chk_error(ptr noundef @.str.4, i32 noundef 153, i32 noundef %154) %156 = getelementptr inbounds %struct.stat, ptr %9, i32 0, i32 0 %157 = load i32, ptr %156, align 4 %158 = icmp ne i32 %157, 100 br i1 %158, label %159, label %161 159: ; preds = %139 %160 = call i32 @error1(ptr noundef @.str.4, i32 noundef 155, ptr noundef @.str.14) br label %161 161: ; preds = %159, %139 %162 = getelementptr inbounds %struct.stat, ptr %9, i32 0, i32 1 %163 = load i32, ptr %162, align 4 %164 = call i32 @S_ISREG(i32 noundef %163) %165 = icmp ne i32 %164, 0 br i1 %165, label %168, label %166 166: ; preds = %161 %167 = call i32 @error1(ptr noundef @.str.4, i32 noundef 157, ptr noundef @.str.15) br label %168 168: ; preds = %166, %161 %169 = getelementptr inbounds %struct.stat, ptr %9, i32 0, i32 1 %170 = load i32, ptr %169, align 4 %171 = and i32 %170, 511 %172 = icmp ne i32 %171, 384 br i1 %172, label %173, label %175 173: ; preds = %168 %174 = call i32 @error1(ptr noundef @.str.4, i32 noundef 159, ptr noundef @.str.16) br label %175 175: ; preds = %173, %168 %176 = getelementptr inbounds %struct.stat, ptr %9, i32 0, i32 2 %177 = load i32, ptr %176, align 4 %178 = icmp ne i32 %177, 1001 br i1 %178, label %183, label %179 179: ; preds = %175 %180 = getelementptr inbounds %struct.stat, ptr %9, i32 0, i32 3 %181 = load i32, ptr %180, align 4 %182 = icmp ne i32 %181, 1000 br i1 %182, label %183, label %185 183: ; preds = %179, %175 %184 = call i32 @error1(ptr noundef @.str.4, i32 noundef 162, ptr noundef @.str.17) br label %185 185: ; preds = %183, %179 %186 = call i32 @stat(ptr noundef @.str.3, ptr noundef %9) %187 = call i32 @__chk_error(ptr noundef @.str.4, i32 noundef 164, i32 noundef %186) %188 = getelementptr inbounds %struct.stat, ptr %9, i32 0, i32 1 %189 = load i32, ptr %188, align 4 %190 = call i32 @S_ISDIR(i32 noundef %189) %191 = icmp ne i32 %190, 0 br i1 %191, label %194, label %192 192: ; preds = %185 %193 = call i32 @error1(ptr noundef @.str.4, i32 noundef 166, ptr noundef @.str.15) br label %194 194: ; preds = %192, %185 %195 = load i32, ptr @O_RDWR, align 4 %196 = call i32 (ptr, i32, ...) @open(ptr noundef @.str.9, i32 noundef %195) %197 = call i32 @__chk_error(ptr noundef @.str.4, i32 noundef 169, i32 noundef %196) store i32 %197, ptr %1, align 4 %198 = load i32, ptr %1, align 4 %199 = call i32 @ftruncate(i32 noundef %198, i32 noundef 50) %200 = call i32 @__chk_error(ptr noundef @.str.4, i32 noundef 170, i32 noundef %199) %201 = load i32, ptr %1, align 4 %202 = call i32 @fstat(i32 noundef %201, ptr noundef %9) %203 = call i32 @__chk_error(ptr noundef @.str.4, i32 noundef 171, i32 noundef %202) %204 = load i32, ptr %1, align 4 %205 = call i32 @close(i32 noundef %204) %206 = call i32 @__chk_error(ptr noundef @.str.4, i32 noundef 172, i32 noundef %205) %207 = getelementptr inbounds %struct.stat, ptr %9, i32 0, i32 0 %208 = load i32, ptr %207, align 4 %209 = icmp ne i32 %208, 50 br i1 %209, label %210, label %212 210: ; preds = %194 %211 = call i32 @error1(ptr noundef @.str.4, i32 noundef 175, ptr noundef @.str.14) br label %212 212: ; preds = %210, %194 %213 = getelementptr inbounds %struct.stat, ptr %9, i32 0, i32 1 %214 = load i32, ptr %213, align 4 %215 = call i32 @S_ISREG(i32 noundef %214) %216 = icmp ne i32 %215, 0 br i1 %216, label %219, label %217 217: ; preds = %212 %218 = call i32 @error1(ptr noundef @.str.4, i32 noundef 177, ptr noundef @.str.15) br label %219 219: ; preds = %217, %212 %220 = call i32 @symlink(ptr noundef @.str.9, ptr noundef @.str.18) %221 = call i32 @__chk_error(ptr noundef @.str.4, i32 noundef 180, i32 noundef %220) %222 = call i32 @lstat(ptr noundef @.str.18, ptr noundef %9) %223 = call i32 @__chk_error(ptr noundef @.str.4, i32 noundef 181, i32 noundef %222) %224 = getelementptr inbounds %struct.stat, ptr %9, i32 0, i32 1 %225 = load i32, ptr %224, align 4 %226 = call i32 @S_ISLNK(i32 noundef %225) %227 = icmp ne i32 %226, 0 br i1 %227, label %230, label %228 228: ; preds = %219 %229 = call i32 @error1(ptr noundef @.str.4, i32 noundef 183, ptr noundef @.str.15) br label %230 230: ; preds = %228, %219 %231 = call ptr @opendir(ptr noundef @.str.3) store ptr %231, ptr %12, align 8 %232 = load ptr, ptr %12, align 8 %233 = icmp ne ptr %232, null br i1 %233, label %236, label %234 234: ; preds = %230 %235 = call i32 @error1(ptr noundef @.str.4, i32 noundef 188, ptr noundef @.str.19) br label %236 236: ; preds = %234, %230 store i32 0, ptr %3, align 4 %237 = load ptr, ptr %12, align 8 %238 = call ptr @readdir(ptr noundef %237) store ptr %238, ptr %13, align 8 %239 = load ptr, ptr %13, align 8 %240 = icmp ne ptr %239, null br i1 %240, label %.lr.ph2, label %241 .lr.ph2: ; preds = %236 br label %242 ._crit_edge3: ; preds = %268 br label %241 241: ; preds = %._crit_edge3, %236 br label %275 242: ; preds = %.lr.ph2, %268 %243 = load ptr, ptr %13, align 8 %244 = getelementptr inbounds %struct.dirent, ptr %243, i32 0, i32 0 %245 = load i32, ptr %244, align 4 %246 = call i64 @strcmp(i32 noundef %245, ptr noundef @.str.20) %247 = icmp ne i64 %246, 0 br i1 %247, label %248, label %268 248: ; preds = %242 %249 = load ptr, ptr %13, align 8 %250 = getelementptr inbounds %struct.dirent, ptr %249, i32 0, i32 0 %251 = load i32, ptr %250, align 4 %252 = call i64 @strcmp(i32 noundef %251, ptr noundef @.str.21) %253 = icmp ne i64 %252, 0 br i1 %253, label %254, label %268 254: ; preds = %248 %255 = load ptr, ptr %13, align 8 %256 = getelementptr inbounds %struct.dirent, ptr %255, i32 0, i32 0 %257 = load i32, ptr %256, align 4 %258 = call i64 @strcmp(i32 noundef %257, ptr noundef @.str.9) %259 = icmp ne i64 %258, 0 br i1 %259, label %260, label %268 260: ; preds = %254 %261 = load ptr, ptr %13, align 8 %262 = getelementptr inbounds %struct.dirent, ptr %261, i32 0, i32 0 %263 = load i32, ptr %262, align 4 %264 = call i64 @strcmp(i32 noundef %263, ptr noundef @.str.18) %265 = icmp ne i64 %264, 0 br i1 %265, label %266, label %268 266: ; preds = %260 %267 = call i32 @error1(ptr noundef @.str.4, i32 noundef 198, ptr noundef @.str.22) br label %268 268: ; preds = %266, %260, %254, %248, %242 %269 = load i32, ptr %3, align 4 %270 = add nsw i32 %269, 1 store i32 %270, ptr %3, align 4 %271 = load ptr, ptr %12, align 8 %272 = call ptr @readdir(ptr noundef %271) store ptr %272, ptr %13, align 8 %273 = load ptr, ptr %13, align 8 %274 = icmp ne ptr %273, null br i1 %274, label %242, label %._crit_edge3 275: ; preds = %241 %276 = load ptr, ptr %12, align 8 %277 = call i32 @closedir(ptr noundef %276) %278 = load i32, ptr %3, align 4 %279 = icmp ne i32 %278, 4 br i1 %279, label %280, label %282 280: ; preds = %275 %281 = call i32 @error1(ptr noundef @.str.4, i32 noundef 203, ptr noundef @.str.22) br label %282 282: ; preds = %280, %275 %283 = call i32 @unlink(ptr noundef @.str.18) %284 = call i32 @__chk_error(ptr noundef @.str.4, i32 noundef 205, i32 noundef %283) %285 = call i32 @unlink(ptr noundef @.str.9) %286 = call i32 @__chk_error(ptr noundef @.str.4, i32 noundef 206, i32 noundef %285) %287 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %288 = call i32 @chdir(ptr noundef %287) %289 = call i32 @__chk_error(ptr noundef @.str.4, i32 noundef 207, i32 noundef %288) %290 = call i32 @rmdir(ptr noundef @.str.3) %291 = call i32 @__chk_error(ptr noundef @.str.4, i32 noundef 208, i32 noundef %290) ret void } declare i32 @unlink(ptr noundef) #1 declare i32 @rmdir(ptr noundef) #1 declare ptr @getcwd(ptr noundef, i32 noundef) #1 declare i32 @error1(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @__chk_error(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @mkdir(ptr noundef, i32 noundef) #1 declare i32 @chdir(ptr noundef) #1 declare i32 @open(ptr noundef, i32 noundef, ...) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @writev(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @rename(ptr noundef, ptr noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @readv(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @access(ptr noundef, i32 noundef) #1 declare i32 @chmod(ptr noundef, i32 noundef) #1 declare i32 @truncate(ptr noundef, i32 noundef) #1 declare i32 @utime(ptr noundef, ptr noundef) #1 declare i32 @stat(ptr noundef, ptr noundef) #1 declare i32 @S_ISREG(i32 noundef) #1 declare i32 @S_ISDIR(i32 noundef) #1 declare i32 @ftruncate(i32 noundef, i32 noundef) #1 declare i32 @fstat(i32 noundef, ptr noundef) #1 declare i32 @symlink(ptr noundef, ptr noundef) #1 declare i32 @lstat(ptr noundef, ptr noundef) #1 declare i32 @S_ISLNK(i32 noundef) #1 declare ptr @opendir(ptr noundef) #1 declare ptr @readdir(ptr noundef) #1 declare i64 @strcmp(i32 noundef, ptr noundef) #1 declare i32 @closedir(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/tmprsobvu3u.c' source_filename = "/tmp/tmprsobvu3u.c" target datalayout = "e-m:e-p270: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 @dictWstrCaseHash(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @wstrlen(ptr noundef %4) %6 = call i32 @dictGenCaseHashFunction(ptr noundef %3, i32 noundef %5) ret i32 %6 } declare i32 @dictGenCaseHashFunction(ptr noundef, i32 noundef) #1 declare i32 @wstrlen(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/tmprsobvu3u.c" target datalayout = "e-m:e-p270: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 @dictWstrCaseHash(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @wstrlen(ptr noundef %4) %6 = call i32 @dictGenCaseHashFunction(ptr noundef %3, i32 noundef %5) ret i32 %6 } declare i32 @dictGenCaseHashFunction(ptr noundef, i32 noundef) #1 declare i32 @wstrlen(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/tmpnralu5kb.c' source_filename = "/tmp/tmpnralu5kb.c" target datalayout = "e-m:e-p270: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"%d \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 @subarray_sum(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 1, ptr %3, align 4 store i32 2, ptr %4, align 4 %7 = load i32, ptr %3, align 4 %8 = load i32, ptr %4, align 4 %9 = add nsw i32 %7, %8 store i32 %9, ptr %5, align 4 br label %10 10: ; preds = %55, %1 %11 = load i32, ptr %3, align 4 %12 = load i32, ptr %2, align 4 %13 = add nsw i32 %12, 1 %14 = sdiv i32 %13, 2 %15 = icmp slt i32 %11, %14 br i1 %15, label %16, label %56 16: ; preds = %10 %17 = load i32, ptr %5, align 4 %18 = load i32, ptr %2, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %20, label %25 20: ; preds = %16 %21 = load i32, ptr %4, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %4, align 4 %23 = load i32, ptr %5, align 4 %24 = add nsw i32 %23, %22 store i32 %24, ptr %5, align 4 br label %55 25: ; preds = %16 %26 = load i32, ptr %5, align 4 %27 = load i32, ptr %2, align 4 %28 = icmp sgt i32 %26, %27 br i1 %28, label %29, label %35 29: ; preds = %25 %30 = load i32, ptr %3, align 4 %31 = load i32, ptr %5, align 4 %32 = sub nsw i32 %31, %30 store i32 %32, ptr %5, align 4 %33 = load i32, ptr %3, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %3, align 4 br label %54 35: ; preds = %25 %36 = load i32, ptr %3, align 4 store i32 %36, ptr %6, align 4 br label %37 37: ; preds = %44, %35 %38 = load i32, ptr %6, align 4 %39 = load i32, ptr %4, align 4 %40 = icmp sle i32 %38, %39 br i1 %40, label %41, label %47 41: ; preds = %37 %42 = load i32, ptr %6, align 4 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %42) br label %44 44: ; preds = %41 %45 = load i32, ptr %6, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %6, align 4 br label %37, !llvm.loop !6 47: ; preds = %37 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %49 = load i32, ptr %3, align 4 %50 = load i32, ptr %5, align 4 %51 = sub nsw i32 %50, %49 store i32 %51, ptr %5, align 4 %52 = load i32, ptr %3, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %3, align 4 br label %54 54: ; preds = %47, %29 br label %55 55: ; preds = %54, %20 br label %10, !llvm.loop !8 56: ; preds = %10 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/tmpnralu5kb.c" target datalayout = "e-m:e-p270: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"%d \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 @subarray_sum(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 1, ptr %3, align 4 store i32 2, ptr %4, align 4 %7 = load i32, ptr %3, align 4 %8 = load i32, ptr %4, align 4 %9 = add nsw i32 %7, %8 store i32 %9, ptr %5, align 4 %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %2, align 4 %12 = add nsw i32 %11, 1 %13 = sdiv i32 %12, 2 %14 = icmp slt i32 %10, %13 br i1 %14, label %.lr.ph2, label %62 .lr.ph2: ; preds = %1 br label %15 15: ; preds = %.lr.ph2, %56 %16 = load i32, ptr %5, align 4 %17 = load i32, ptr %2, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %19, label %24 19: ; preds = %15 %20 = load i32, ptr %4, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %4, align 4 %22 = load i32, ptr %5, align 4 %23 = add nsw i32 %22, %21 store i32 %23, ptr %5, align 4 br label %56 24: ; preds = %15 %25 = load i32, ptr %5, align 4 %26 = load i32, ptr %2, align 4 %27 = icmp sgt i32 %25, %26 br i1 %27, label %28, label %34 28: ; preds = %24 %29 = load i32, ptr %3, align 4 %30 = load i32, ptr %5, align 4 %31 = sub nsw i32 %30, %29 store i32 %31, ptr %5, align 4 %32 = load i32, ptr %3, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %3, align 4 br label %55 34: ; preds = %24 %35 = load i32, ptr %3, align 4 store i32 %35, ptr %6, align 4 %36 = load i32, ptr %6, align 4 %37 = load i32, ptr %4, align 4 %38 = icmp sle i32 %36, %37 br i1 %38, label %.lr.ph, label %48 .lr.ph: ; preds = %34 br label %39 39: ; preds = %.lr.ph, %42 %40 = load i32, ptr %6, align 4 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %40) br label %42 42: ; preds = %39 %43 = load i32, ptr %6, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %6, align 4 %45 = load i32, ptr %6, align 4 %46 = load i32, ptr %4, align 4 %47 = icmp sle i32 %45, %46 br i1 %47, label %39, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %42 br label %48 48: ; preds = %._crit_edge, %34 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %50 = load i32, ptr %3, align 4 %51 = load i32, ptr %5, align 4 %52 = sub nsw i32 %51, %50 store i32 %52, ptr %5, align 4 %53 = load i32, ptr %3, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %3, align 4 br label %55 55: ; preds = %48, %28 br label %56 56: ; preds = %55, %19 %57 = load i32, ptr %3, align 4 %58 = load i32, ptr %2, align 4 %59 = add nsw i32 %58, 1 %60 = sdiv i32 %59, 2 %61 = icmp slt i32 %57, %60 br i1 %61, label %15, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %56 br label %62 62: ; preds = %._crit_edge3, %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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpd_e4f948.c' source_filename = "/tmp/tmpd_e4f948.c" target datalayout = "e-m:e-p270: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"/proc/meminfo\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [18 x i8] c"Can't open '%s'.\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [9 x i8] c"MemTotal\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"MemFree\00", align 1 @.str.5 = private unnamed_addr constant [8 x i8] c"Buffers\00", align 1 @.str.6 = private unnamed_addr constant [7 x i8] c"Cached\00", align 1 @__const.mem_info.keys = private unnamed_addr constant [4 x ptr] [ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6], align 16 @__const.mem_info.lens = private unnamed_addr constant [4 x i32] [i32 8, i32 7, i32 7, i32 6], align 16 @stdout = dso_local global i32 0, align 4 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @mem_info(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [4 x i32], align 16 %6 = alloca [4 x ptr], align 16 %7 = alloca [4 x i32], align 16 %8 = alloca [256 x i8], align 16 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %11 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %11, ptr %4, align 8 %12 = load ptr, ptr %4, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %18 14: ; preds = %1 %15 = load i32, ptr @stderr, align 4 %16 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str.2, ptr noundef @.str) %17 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %17, ptr %2, align 4 br label %92 18: ; preds = %1 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.mem_info.keys, i64 32, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.mem_info.lens, i64 16, i1 false) br label %19 19: ; preds = %63, %18 %20 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %21 = load ptr, ptr %4, align 8 %22 = call i32 @fgets(ptr noundef %20, i32 noundef 256, ptr noundef %21) store i32 0, ptr %9, align 4 br label %23 23: ; preds = %59, %19 %24 = load i32, ptr %9, align 4 %25 = icmp slt i32 %24, 4 br i1 %25, label %26, label %62 26: ; preds = %23 %27 = load i32, ptr %9, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds [4 x ptr], ptr %6, i64 0, i64 %28 %30 = load ptr, ptr %29, align 8 %31 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %32 = load i32, ptr %9, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 %33 %35 = load i32, ptr %34, align 4 %36 = call i32 @strncmp(ptr noundef %30, ptr noundef %31, i32 noundef %35) %37 = icmp ne i32 %36, 0 br i1 %37, label %58, label %38 38: ; preds = %26 %39 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %40 = load i32, ptr %9, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 %41 %43 = load i32, ptr %42, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i8, ptr %39, i64 %44 store ptr %45, ptr %10, align 8 %46 = load ptr, ptr %10, align 8 %47 = getelementptr inbounds i8, ptr %46, i32 1 store ptr %47, ptr %10, align 8 %48 = load i8, ptr %46, align 1 %49 = sext i8 %48 to i32 %50 = icmp eq i32 %49, 58 br i1 %50, label %51, label %57 51: ; preds = %38 %52 = load ptr, ptr %10, align 8 %53 = call i32 @atoi(ptr noundef %52) %54 = load i32, ptr %9, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 %55 store i32 %53, ptr %56, align 4 br label %62 57: ; preds = %38 br label %58 58: ; preds = %57, %26 br label %59 59: ; preds = %58 %60 = load i32, ptr %9, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %9, align 4 br label %23, !llvm.loop !6 62: ; preds = %51, %23 br label %63 63: ; preds = %62 %64 = load ptr, ptr %4, align 8 %65 = call i32 @feof(ptr noundef %64) %66 = icmp ne i32 %65, 0 %67 = xor i1 %66, true br i1 %67, label %19, label %68, !llvm.loop !8 68: ; preds = %63 %69 = load ptr, ptr %4, align 8 %70 = call i32 @fclose(ptr noundef %69) %71 = load ptr, ptr %3, align 8 %72 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 0 %73 = load i32, ptr %72, align 16 %74 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 1 %75 = load i32, ptr %74, align 4 %76 = sub nsw i32 %73, %75 %77 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 2 %78 = load i32, ptr %77, align 8 %79 = sub nsw i32 %76, %78 %80 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 3 %81 = load i32, ptr %80, align 4 %82 = sub nsw i32 %79, %81 %83 = mul nsw i32 %82, 100 %84 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 0 %85 = load i32, ptr %84, align 16 %86 = sdiv i32 %83, %85 %87 = call i32 @printf(ptr noundef %71, i32 noundef %86) %88 = call i32 @putchar(i8 noundef signext 10) %89 = load i32, ptr @stdout, align 4 %90 = call i32 @fflush(i32 noundef %89) %91 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %91, ptr %2, align 4 br label %92 92: ; preds = %68, %14 %93 = load i32, ptr %2, align 4 ret i32 %93 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; 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) #2 declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @feof(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @putchar(i8 noundef signext) #1 declare i32 @fflush(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpd_e4f948.c" target datalayout = "e-m:e-p270: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"/proc/meminfo\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [18 x i8] c"Can't open '%s'.\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [9 x i8] c"MemTotal\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"MemFree\00", align 1 @.str.5 = private unnamed_addr constant [8 x i8] c"Buffers\00", align 1 @.str.6 = private unnamed_addr constant [7 x i8] c"Cached\00", align 1 @__const.mem_info.keys = private unnamed_addr constant [4 x ptr] [ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6], align 16 @__const.mem_info.lens = private unnamed_addr constant [4 x i32] [i32 8, i32 7, i32 7, i32 6], align 16 @stdout = dso_local global i32 0, align 4 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @mem_info(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [4 x i32], align 16 %6 = alloca [4 x ptr], align 16 %7 = alloca [4 x i32], align 16 %8 = alloca [256 x i8], align 16 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %11 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %11, ptr %4, align 8 %12 = load ptr, ptr %4, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %18 14: ; preds = %1 %15 = load i32, ptr @stderr, align 4 %16 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str.2, ptr noundef @.str) %17 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %17, ptr %2, align 4 br label %93 18: ; preds = %1 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.mem_info.keys, i64 32, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.mem_info.lens, i64 16, i1 false) br label %19 19: ; preds = %64, %18 %20 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %21 = load ptr, ptr %4, align 8 %22 = call i32 @fgets(ptr noundef %20, i32 noundef 256, ptr noundef %21) store i32 0, ptr %9, align 4 %23 = load i32, ptr %9, align 4 %24 = icmp slt i32 %23, 4 br i1 %24, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %19 br label %25 25: ; preds = %.lr.ph, %58 %26 = load i32, ptr %9, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [4 x ptr], ptr %6, i64 0, i64 %27 %29 = load ptr, ptr %28, align 8 %30 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %31 = load i32, ptr %9, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 %32 %34 = load i32, ptr %33, align 4 %35 = call i32 @strncmp(ptr noundef %29, ptr noundef %30, i32 noundef %34) %36 = icmp ne i32 %35, 0 br i1 %36, label %57, label %37 37: ; preds = %25 %38 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %39 = load i32, ptr %9, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 %40 %42 = load i32, ptr %41, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i8, ptr %38, i64 %43 store ptr %44, ptr %10, align 8 %45 = load ptr, ptr %10, align 8 %46 = getelementptr inbounds i8, ptr %45, i32 1 store ptr %46, ptr %10, align 8 %47 = load i8, ptr %45, align 1 %48 = sext i8 %47 to i32 %49 = icmp eq i32 %48, 58 br i1 %49, label %50, label %56 50: ; preds = %37 %51 = load ptr, ptr %10, align 8 %52 = call i32 @atoi(ptr noundef %51) %53 = load i32, ptr %9, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 %54 store i32 %52, ptr %55, align 4 br label %63 56: ; preds = %37 br label %57 57: ; preds = %56, %25 br label %58 58: ; preds = %57 %59 = load i32, ptr %9, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %9, align 4 %61 = load i32, ptr %9, align 4 %62 = icmp slt i32 %61, 4 br i1 %62, label %25, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %58 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %19 br label %63 63: ; preds = %.loopexit, %50 br label %64 64: ; preds = %63 %65 = load ptr, ptr %4, align 8 %66 = call i32 @feof(ptr noundef %65) %67 = icmp ne i32 %66, 0 %68 = xor i1 %67, true br i1 %68, label %19, label %69, !llvm.loop !8 69: ; preds = %64 %70 = load ptr, ptr %4, align 8 %71 = call i32 @fclose(ptr noundef %70) %72 = load ptr, ptr %3, align 8 %73 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 0 %74 = load i32, ptr %73, align 16 %75 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 1 %76 = load i32, ptr %75, align 4 %77 = sub nsw i32 %74, %76 %78 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 2 %79 = load i32, ptr %78, align 8 %80 = sub nsw i32 %77, %79 %81 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 3 %82 = load i32, ptr %81, align 4 %83 = sub nsw i32 %80, %82 %84 = mul nsw i32 %83, 100 %85 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 0 %86 = load i32, ptr %85, align 16 %87 = sdiv i32 %84, %86 %88 = call i32 @printf(ptr noundef %72, i32 noundef %87) %89 = call i32 @putchar(i8 noundef signext 10) %90 = load i32, ptr @stdout, align 4 %91 = call i32 @fflush(i32 noundef %90) %92 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %92, ptr %2, align 4 br label %93 93: ; preds = %69, %14 %94 = load i32, ptr %2, align 4 ret i32 %94 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; 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) #2 declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @feof(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @putchar(i8 noundef signext) #1 declare i32 @fflush(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpz93rkrqr.c' source_filename = "/tmp/tmpz93rkrqr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i64 0, align 8 @EINTR = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @writen(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %11 = load ptr, ptr %6, align 8 store ptr %11, ptr %10, align 8 store i64 0, ptr %9, align 8 br label %12 12: ; preds = %34, %32, %3 %13 = load i64, ptr %9, align 8 %14 = load i64, ptr %7, align 8 %15 = icmp ult i64 %13, %14 br i1 %15, label %16, label %43 16: ; preds = %12 %17 = load i32, ptr %5, align 4 %18 = load ptr, ptr %10, align 8 %19 = load i64, ptr %7, align 8 %20 = load i64, ptr %9, align 8 %21 = sub i64 %19, %20 %22 = call i32 @write(i32 noundef %17, ptr noundef %18, i64 noundef %21) store i32 %22, ptr %8, align 4 %23 = load i32, ptr %8, align 4 %24 = icmp sle i32 %23, 0 br i1 %24, label %25, label %34 25: ; preds = %16 %26 = load i32, ptr %8, align 4 %27 = icmp eq i32 %26, -1 br i1 %27, label %28, label %33 28: ; preds = %25 %29 = load i64, ptr @errno, align 8 %30 = load i64, ptr @EINTR, align 8 %31 = icmp eq i64 %29, %30 br i1 %31, label %32, label %33 32: ; preds = %28 br label %12, !llvm.loop !6 33: ; preds = %28, %25 store i32 -1, ptr %4, align 4 br label %46 34: ; preds = %16 %35 = load i32, ptr %8, align 4 %36 = sext i32 %35 to i64 %37 = load i64, ptr %9, align 8 %38 = add i64 %37, %36 store i64 %38, ptr %9, align 8 %39 = load i32, ptr %8, align 4 %40 = load ptr, ptr %10, align 8 %41 = sext i32 %39 to i64 %42 = getelementptr inbounds i8, ptr %40, i64 %41 store ptr %42, ptr %10, align 8 br label %12, !llvm.loop !6 43: ; preds = %12 %44 = load i64, ptr %9, align 8 %45 = trunc i64 %44 to i32 store i32 %45, ptr %4, align 4 br label %46 46: ; preds = %43, %33 %47 = load i32, ptr %4, align 4 ret i32 %47 } declare i32 @write(i32 noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz93rkrqr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i64 0, align 8 @EINTR = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @writen(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %11 = load ptr, ptr %6, align 8 store ptr %11, ptr %10, align 8 store i64 0, ptr %9, align 8 %12 = load i64, ptr %9, align 8 %13 = load i64, ptr %7, align 8 %14 = icmp ult i64 %12, %13 br i1 %14, label %.lr.ph, label %45 .lr.ph: ; preds = %3 br label %15 15: ; preds = %.lr.ph, %.backedge %16 = load i32, ptr %5, align 4 %17 = load ptr, ptr %10, align 8 %18 = load i64, ptr %7, align 8 %19 = load i64, ptr %9, align 8 %20 = sub i64 %18, %19 %21 = call i32 @write(i32 noundef %16, ptr noundef %17, i64 noundef %20) store i32 %21, ptr %8, align 4 %22 = load i32, ptr %8, align 4 %23 = icmp sle i32 %22, 0 br i1 %23, label %24, label %36 24: ; preds = %15 %25 = load i32, ptr %8, align 4 %26 = icmp eq i32 %25, -1 br i1 %26, label %27, label %35 27: ; preds = %24 %28 = load i64, ptr @errno, align 8 %29 = load i64, ptr @EINTR, align 8 %30 = icmp eq i64 %28, %29 br i1 %30, label %31, label %35 31: ; preds = %27 br label %.backedge .backedge: ; preds = %31, %36 %32 = load i64, ptr %9, align 8 %33 = load i64, ptr %7, align 8 %34 = icmp ult i64 %32, %33 br i1 %34, label %15, label %._crit_edge, !llvm.loop !6 35: ; preds = %27, %24 store i32 -1, ptr %4, align 4 br label %48 36: ; preds = %15 %37 = load i32, ptr %8, align 4 %38 = sext i32 %37 to i64 %39 = load i64, ptr %9, align 8 %40 = add i64 %39, %38 store i64 %40, ptr %9, align 8 %41 = load i32, ptr %8, align 4 %42 = load ptr, ptr %10, align 8 %43 = sext i32 %41 to i64 %44 = getelementptr inbounds i8, ptr %42, i64 %43 store ptr %44, ptr %10, align 8 br label %.backedge ._crit_edge: ; preds = %.backedge br label %45 45: ; preds = %._crit_edge, %3 %46 = load i64, ptr %9, align 8 %47 = trunc i64 %46 to i32 store i32 %47, ptr %4, align 4 br label %48 48: ; preds = %45, %35 %49 = load i32, ptr %4, align 4 ret i32 %49 } declare i32 @write(i32 noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpsn3tqh58.c' source_filename = "/tmp/tmpsn3tqh58.c" target datalayout = "e-m:e-p270: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_5__ = type { %struct.TYPE_4__ } %struct.TYPE_4__ = type { i64 } @.str = private unnamed_addr constant [27 x i8] c"must hold lock upon unlock\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pthread_mutex_unlock_nocheck(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 br label %3 3: ; preds = %1 %4 = call i32 (...) @__ESBMC_atomic_begin() %5 = load ptr, ptr %2, align 8 %6 = getelementptr inbounds %struct.TYPE_5__, ptr %5, i32 0, i32 0 %7 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i32 0, i32 0 %8 = load i64, ptr %7, align 8 %9 = call i32 @__ESBMC_assert(i64 noundef %8, ptr noundef @.str) %10 = load ptr, ptr %2, align 8 %11 = getelementptr inbounds %struct.TYPE_5__, ptr %10, i32 0, i32 0 %12 = getelementptr inbounds %struct.TYPE_4__, ptr %11, i32 0, i32 0 store i64 0, ptr %12, align 8 %13 = call i32 (...) @__ESBMC_atomic_end() ret i32 0 } declare i32 @__ESBMC_atomic_begin(...) #1 declare i32 @__ESBMC_assert(i64 noundef, ptr noundef) #1 declare i32 @__ESBMC_atomic_end(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpsn3tqh58.c" target datalayout = "e-m:e-p270: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_5__ = type { %struct.TYPE_4__ } %struct.TYPE_4__ = type { i64 } @.str = private unnamed_addr constant [27 x i8] c"must hold lock upon unlock\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pthread_mutex_unlock_nocheck(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 br label %3 3: ; preds = %1 %4 = call i32 (...) @__ESBMC_atomic_begin() %5 = load ptr, ptr %2, align 8 %6 = getelementptr inbounds %struct.TYPE_5__, ptr %5, i32 0, i32 0 %7 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i32 0, i32 0 %8 = load i64, ptr %7, align 8 %9 = call i32 @__ESBMC_assert(i64 noundef %8, ptr noundef @.str) %10 = load ptr, ptr %2, align 8 %11 = getelementptr inbounds %struct.TYPE_5__, ptr %10, i32 0, i32 0 %12 = getelementptr inbounds %struct.TYPE_4__, ptr %11, i32 0, i32 0 store i64 0, ptr %12, align 8 %13 = call i32 (...) @__ESBMC_atomic_end() ret i32 0 } declare i32 @__ESBMC_atomic_begin(...) #1 declare i32 @__ESBMC_assert(i64 noundef, ptr noundef) #1 declare i32 @__ESBMC_atomic_end(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpjvfqw5q0.c' source_filename = "/tmp/tmpjvfqw5q0.c" target datalayout = "e-m:e-p270: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/tmpjvfqw5q0.c" target datalayout = "e-m:e-p270: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/tmpudd485f5.c' source_filename = "/tmp/tmpudd485f5.c" target datalayout = "e-m:e-p270: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 @cons(i64 noundef %0, i64 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i64, align 8 %10 = alloca i64, align 8 store i64 %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %11 = load i64, ptr %5, align 8 %12 = load i64, ptr %6, align 8 store i64 0, ptr %9, align 8 br label %13 13: ; preds = %34, %4 %14 = load i64, ptr %9, align 8 %15 = load i64, ptr %5, align 8 %16 = icmp ult i64 %14, %15 br i1 %16, label %17, label %37 17: ; preds = %13 store i64 0, ptr %10, align 8 br label %18 18: ; preds = %30, %17 %19 = load i64, ptr %10, align 8 %20 = load i64, ptr %6, align 8 %21 = icmp ult i64 %19, %20 br i1 %21, label %22, label %33 22: ; preds = %18 %23 = load i32, ptr %8, align 4 %24 = load ptr, ptr %7, align 8 %25 = load i64, ptr %9, align 8 %26 = mul nsw i64 %25, %12 %27 = getelementptr inbounds i32, ptr %24, i64 %26 %28 = load i64, ptr %10, align 8 %29 = getelementptr inbounds i32, ptr %27, i64 %28 store i32 %23, ptr %29, align 4 br label %30 30: ; preds = %22 %31 = load i64, ptr %10, align 8 %32 = add i64 %31, 1 store i64 %32, ptr %10, align 8 br label %18, !llvm.loop !6 33: ; preds = %18 br label %34 34: ; preds = %33 %35 = load i64, ptr %9, align 8 %36 = add i64 %35, 1 store i64 %36, ptr %9, align 8 br label %13, !llvm.loop !8 37: ; preds = %13 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpudd485f5.c" target datalayout = "e-m:e-p270: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 @cons(i64 noundef %0, i64 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i64, align 8 %10 = alloca i64, align 8 store i64 %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %11 = load i64, ptr %5, align 8 %12 = load i64, ptr %6, align 8 store i64 0, ptr %9, align 8 %13 = load i64, ptr %9, align 8 %14 = load i64, ptr %5, align 8 %15 = icmp ult i64 %13, %14 br i1 %15, label %.lr.ph2, label %41 .lr.ph2: ; preds = %4 br label %16 16: ; preds = %.lr.ph2, %35 store i64 0, ptr %10, align 8 %17 = load i64, ptr %10, align 8 %18 = load i64, ptr %6, align 8 %19 = icmp ult i64 %17, %18 br i1 %19, label %.lr.ph, label %34 .lr.ph: ; preds = %16 br label %20 20: ; preds = %.lr.ph, %28 %21 = load i32, ptr %8, align 4 %22 = load ptr, ptr %7, align 8 %23 = load i64, ptr %9, align 8 %24 = mul nsw i64 %23, %12 %25 = getelementptr inbounds i32, ptr %22, i64 %24 %26 = load i64, ptr %10, align 8 %27 = getelementptr inbounds i32, ptr %25, i64 %26 store i32 %21, ptr %27, align 4 br label %28 28: ; preds = %20 %29 = load i64, ptr %10, align 8 %30 = add i64 %29, 1 store i64 %30, ptr %10, align 8 %31 = load i64, ptr %10, align 8 %32 = load i64, ptr %6, align 8 %33 = icmp ult i64 %31, %32 br i1 %33, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %34 34: ; preds = %._crit_edge, %16 br label %35 35: ; preds = %34 %36 = load i64, ptr %9, align 8 %37 = add i64 %36, 1 store i64 %37, ptr %9, align 8 %38 = load i64, ptr %9, align 8 %39 = load i64, ptr %5, align 8 %40 = icmp ult i64 %38, %39 br i1 %40, label %16, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %35 br label %41 41: ; preds = %._crit_edge3, %4 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpd0q_r6dn.c' source_filename = "/tmp/tmpd0q_r6dn.c" target datalayout = "e-m:e-p270: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 @aux_isNumber(i8 noundef signext %0) #0 { %2 = alloca i32, align 4 %3 = alloca i8, align 1 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i8, align 1 store i8 %0, ptr %3, align 1 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %7 7: ; preds = %21, %1 %8 = load i32, ptr %5, align 4 %9 = icmp sle i32 %8, 9 br i1 %9, label %10, label %24 10: ; preds = %7 %11 = load i32, ptr %5, align 4 %12 = call i32 @itoa(i32 noundef %11, ptr noundef %6, i32 noundef 10) %13 = load i8, ptr %3, align 1 %14 = sext i8 %13 to i32 %15 = load i8, ptr %6, align 1 %16 = sext i8 %15 to i32 %17 = icmp eq i32 %14, %16 br i1 %17, label %18, label %20 18: ; preds = %10 store i32 1, ptr %4, align 4 %19 = load i32, ptr %4, align 4 store i32 %19, ptr %2, align 4 br label %25 20: ; preds = %10 br label %21 21: ; preds = %20 %22 = load i32, ptr %5, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %5, align 4 br label %7, !llvm.loop !6 24: ; preds = %7 store i32 0, ptr %2, align 4 br label %25 25: ; preds = %24, %18 %26 = load i32, ptr %2, align 4 ret i32 %26 } declare i32 @itoa(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpd0q_r6dn.c" target datalayout = "e-m:e-p270: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 @aux_isNumber(i8 noundef signext %0) #0 { %2 = alloca i32, align 4 %3 = alloca i8, align 1 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i8, align 1 store i8 %0, ptr %3, align 1 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = icmp sle i32 %7, 9 br i1 %8, label %.lr.ph, label %25 .lr.ph: ; preds = %1 br label %9 9: ; preds = %.lr.ph, %20 %10 = load i32, ptr %5, align 4 %11 = call i32 @itoa(i32 noundef %10, ptr noundef %6, i32 noundef 10) %12 = load i8, ptr %3, align 1 %13 = sext i8 %12 to i32 %14 = load i8, ptr %6, align 1 %15 = sext i8 %14 to i32 %16 = icmp eq i32 %13, %15 br i1 %16, label %17, label %19 17: ; preds = %9 store i32 1, ptr %4, align 4 %18 = load i32, ptr %4, align 4 store i32 %18, ptr %2, align 4 br label %26 19: ; preds = %9 br label %20 20: ; preds = %19 %21 = load i32, ptr %5, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %5, align 4 %23 = load i32, ptr %5, align 4 %24 = icmp sle i32 %23, 9 br i1 %24, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %25 25: ; preds = %._crit_edge, %1 store i32 0, ptr %2, align 4 br label %26 26: ; preds = %25, %17 %27 = load i32, ptr %2, align 4 ret i32 %27 } declare i32 @itoa(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpr2qspn9e.c' source_filename = "/tmp/tmpr2qspn9e.c" target datalayout = "e-m:e-p270: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 @begin_with(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 = load ptr, ptr %4, align 8 %8 = call i32 @strlen(ptr noundef %7) %9 = call i64 @strncmp(ptr noundef %5, ptr noundef %6, i32 noundef %8) %10 = icmp eq i64 %9, 0 %11 = zext i1 %10 to i32 %12 = trunc i32 %11 to i16 ret i16 %12 } declare i64 @strncmp(ptr noundef, 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/tmpr2qspn9e.c" target datalayout = "e-m:e-p270: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 @begin_with(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 = load ptr, ptr %4, align 8 %8 = call i32 @strlen(ptr noundef %7) %9 = call i64 @strncmp(ptr noundef %5, ptr noundef %6, i32 noundef %8) %10 = icmp eq i64 %9, 0 %11 = zext i1 %10 to i32 %12 = trunc i32 %11 to i16 ret i16 %12 } declare i64 @strncmp(ptr noundef, 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/tmpfh883u9f.c' source_filename = "/tmp/tmpfh883u9f.c" target datalayout = "e-m:e-p270: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.timespec = type { i32 } @errno = dso_local global i64 0, align 8 @EINTR = dso_local global i64 0, align 8 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [30 x i8] c"Usage: %s seconds[.fraction]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca %struct.timespec, align 4 %7 = 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 %8 = load i32, ptr %4, align 4 %9 = icmp ne i32 %8, 2 br i1 %9, label %10, label %11 10: ; preds = %2 br label %32 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 1 %14 = load ptr, ptr %13, align 8 %15 = call ptr @strtotimespec(ptr noundef %14, ptr noundef %6) store ptr %15, ptr %7, align 8 %16 = load ptr, ptr %7, align 8 %17 = load i8, ptr %16, align 1 %18 = icmp ne i8 %17, 0 br i1 %18, label %19, label %20 19: ; preds = %11 br label %32 20: ; preds = %11 br label %21 21: ; preds = %30, %20 %22 = call i32 @nanosleep(ptr noundef %6, ptr noundef %6) %23 = icmp eq i32 %22, -1 br i1 %23, label %24, label %28 24: ; preds = %21 %25 = load i64, ptr @errno, align 8 %26 = load i64, ptr @EINTR, align 8 %27 = icmp eq i64 %25, %26 br label %28 28: ; preds = %24, %21 %29 = phi i1 [ false, %21 ], [ %27, %24 ] br i1 %29, label %30, label %31 30: ; preds = %28 br label %21, !llvm.loop !6 31: ; preds = %28 store i32 0, ptr %3, align 4 br label %38 32: ; preds = %19, %10 %33 = load i32, ptr @stderr, align 4 %34 = load ptr, ptr %5, align 8 %35 = getelementptr inbounds ptr, ptr %34, i64 0 %36 = load ptr, ptr %35, align 8 %37 = call i32 @fprintf(i32 noundef %33, ptr noundef @.str, ptr noundef %36) store i32 1, ptr %3, align 4 br label %38 38: ; preds = %32, %31 %39 = load i32, ptr %3, align 4 ret i32 %39 } declare ptr @strtotimespec(ptr noundef, ptr noundef) #1 declare i32 @nanosleep(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfh883u9f.c" target datalayout = "e-m:e-p270: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.timespec = type { i32 } @errno = dso_local global i64 0, align 8 @EINTR = dso_local global i64 0, align 8 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [30 x i8] c"Usage: %s seconds[.fraction]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca %struct.timespec, align 4 %7 = 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 %8 = load i32, ptr %4, align 4 %9 = icmp ne i32 %8, 2 br i1 %9, label %10, label %11 10: ; preds = %2 br label %31 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 1 %14 = load ptr, ptr %13, align 8 %15 = call ptr @strtotimespec(ptr noundef %14, ptr noundef %6) store ptr %15, ptr %7, align 8 %16 = load ptr, ptr %7, align 8 %17 = load i8, ptr %16, align 1 %18 = icmp ne i8 %17, 0 br i1 %18, label %19, label %20 19: ; preds = %11 br label %31 20: ; preds = %11 br label %21 21: ; preds = %28, %20 %22 = call i32 @nanosleep(ptr noundef %6, ptr noundef %6) %23 = icmp eq i32 %22, -1 br i1 %23, label %24, label %28 24: ; preds = %21 %25 = load i64, ptr @errno, align 8 %26 = load i64, ptr @EINTR, align 8 %27 = icmp eq i64 %25, %26 br label %28 28: ; preds = %24, %21 %29 = phi i1 [ false, %21 ], [ %27, %24 ] br i1 %29, label %21, label %30, !llvm.loop !6 30: ; preds = %28 store i32 0, ptr %3, align 4 br label %37 31: ; preds = %19, %10 %32 = load i32, ptr @stderr, align 4 %33 = load ptr, ptr %5, align 8 %34 = getelementptr inbounds ptr, ptr %33, i64 0 %35 = load ptr, ptr %34, align 8 %36 = call i32 @fprintf(i32 noundef %32, ptr noundef @.str, ptr noundef %35) store i32 1, ptr %3, align 4 br label %37 37: ; preds = %31, %30 %38 = load i32, ptr %3, align 4 ret i32 %38 } declare ptr @strtotimespec(ptr noundef, ptr noundef) #1 declare i32 @nanosleep(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 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"}
; ModuleID = '/tmp/tmp_06u_mz9.c' source_filename = "/tmp/tmp_06u_mz9.c" target datalayout = "e-m:e-p270: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/tmp_06u_mz9.c" target datalayout = "e-m:e-p270: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/tmpwp890zmp.c' source_filename = "/tmp/tmpwp890zmp.c" target datalayout = "e-m:e-p270: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_3__ = type { i32, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @base64(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %9 = call i32 (...) @BIO_f_base64() %10 = call ptr @BIO_new(i32 noundef %9) store ptr %10, ptr %6, align 8 %11 = call i32 (...) @BIO_s_mem() %12 = call ptr @BIO_new(i32 noundef %11) store ptr %12, ptr %5, align 8 %13 = load ptr, ptr %6, align 8 %14 = load ptr, ptr %5, align 8 %15 = call ptr @BIO_push(ptr noundef %13, ptr noundef %14) store ptr %15, ptr %6, align 8 %16 = load ptr, ptr %6, align 8 %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %4, align 4 %19 = call i32 @BIO_write(ptr noundef %16, ptr noundef %17, i32 noundef %18) %20 = load ptr, ptr %6, align 8 %21 = call i32 @BIO_flush(ptr noundef %20) %22 = load ptr, ptr %6, align 8 %23 = call i32 @BIO_get_mem_ptr(ptr noundef %22, ptr noundef %7) %24 = load ptr, ptr %7, align 8 %25 = getelementptr inbounds %struct.TYPE_3__, ptr %24, i32 0, i32 0 %26 = load i32, ptr %25, align 4 %27 = call i64 @malloc(i32 noundef %26) %28 = inttoptr i64 %27 to ptr store ptr %28, ptr %8, align 8 %29 = load ptr, ptr %8, align 8 %30 = load ptr, ptr %7, align 8 %31 = getelementptr inbounds %struct.TYPE_3__, ptr %30, i32 0, i32 1 %32 = load i32, ptr %31, align 4 %33 = load ptr, ptr %7, align 8 %34 = getelementptr inbounds %struct.TYPE_3__, ptr %33, i32 0, i32 0 %35 = load i32, ptr %34, align 4 %36 = sub nsw i32 %35, 1 %37 = call i32 @memcpy(ptr noundef %29, i32 noundef %32, i32 noundef %36) %38 = load ptr, ptr %8, align 8 %39 = load ptr, ptr %7, align 8 %40 = getelementptr inbounds %struct.TYPE_3__, ptr %39, i32 0, i32 0 %41 = load i32, ptr %40, align 4 %42 = sub nsw i32 %41, 1 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i8, ptr %38, i64 %43 store i8 0, ptr %44, align 1 %45 = load ptr, ptr %6, align 8 %46 = call i32 @BIO_free_all(ptr noundef %45) %47 = load ptr, ptr %8, align 8 ret ptr %47 } declare ptr @BIO_new(i32 noundef) #1 declare i32 @BIO_f_base64(...) #1 declare i32 @BIO_s_mem(...) #1 declare ptr @BIO_push(ptr noundef, ptr noundef) #1 declare i32 @BIO_write(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @BIO_flush(ptr noundef) #1 declare i32 @BIO_get_mem_ptr(ptr noundef, ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @BIO_free_all(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/tmpwp890zmp.c" target datalayout = "e-m:e-p270: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_3__ = type { i32, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @base64(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %9 = call i32 (...) @BIO_f_base64() %10 = call ptr @BIO_new(i32 noundef %9) store ptr %10, ptr %6, align 8 %11 = call i32 (...) @BIO_s_mem() %12 = call ptr @BIO_new(i32 noundef %11) store ptr %12, ptr %5, align 8 %13 = load ptr, ptr %6, align 8 %14 = load ptr, ptr %5, align 8 %15 = call ptr @BIO_push(ptr noundef %13, ptr noundef %14) store ptr %15, ptr %6, align 8 %16 = load ptr, ptr %6, align 8 %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %4, align 4 %19 = call i32 @BIO_write(ptr noundef %16, ptr noundef %17, i32 noundef %18) %20 = load ptr, ptr %6, align 8 %21 = call i32 @BIO_flush(ptr noundef %20) %22 = load ptr, ptr %6, align 8 %23 = call i32 @BIO_get_mem_ptr(ptr noundef %22, ptr noundef %7) %24 = load ptr, ptr %7, align 8 %25 = getelementptr inbounds %struct.TYPE_3__, ptr %24, i32 0, i32 0 %26 = load i32, ptr %25, align 4 %27 = call i64 @malloc(i32 noundef %26) %28 = inttoptr i64 %27 to ptr store ptr %28, ptr %8, align 8 %29 = load ptr, ptr %8, align 8 %30 = load ptr, ptr %7, align 8 %31 = getelementptr inbounds %struct.TYPE_3__, ptr %30, i32 0, i32 1 %32 = load i32, ptr %31, align 4 %33 = load ptr, ptr %7, align 8 %34 = getelementptr inbounds %struct.TYPE_3__, ptr %33, i32 0, i32 0 %35 = load i32, ptr %34, align 4 %36 = sub nsw i32 %35, 1 %37 = call i32 @memcpy(ptr noundef %29, i32 noundef %32, i32 noundef %36) %38 = load ptr, ptr %8, align 8 %39 = load ptr, ptr %7, align 8 %40 = getelementptr inbounds %struct.TYPE_3__, ptr %39, i32 0, i32 0 %41 = load i32, ptr %40, align 4 %42 = sub nsw i32 %41, 1 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i8, ptr %38, i64 %43 store i8 0, ptr %44, align 1 %45 = load ptr, ptr %6, align 8 %46 = call i32 @BIO_free_all(ptr noundef %45) %47 = load ptr, ptr %8, align 8 ret ptr %47 } declare ptr @BIO_new(i32 noundef) #1 declare i32 @BIO_f_base64(...) #1 declare i32 @BIO_s_mem(...) #1 declare ptr @BIO_push(ptr noundef, ptr noundef) #1 declare i32 @BIO_write(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @BIO_flush(ptr noundef) #1 declare i32 @BIO_get_mem_ptr(ptr noundef, ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @BIO_free_all(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/tmpjkcs0mar.c' source_filename = "/tmp/tmpjkcs0mar.c" target datalayout = "e-m:e-p270: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.main.ages = private unnamed_addr constant [5 x i32] [i32 23, i32 43, i32 12, i32 89, i32 2], align 16 @.str = private unnamed_addr constant [5 x i8] c"Alan\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"Frank\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"Mary\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"John\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"Lisa\00", align 1 @__const.main.names = private unnamed_addr constant [5 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4], align 16 @.str.5 = private unnamed_addr constant [24 x i8] c"%s has %d years alive.\0A\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"---\0A\00", align 1 @.str.7 = private unnamed_addr constant [21 x i8] c"%s is %d years old.\0A\00", align 1 @.str.8 = private unnamed_addr constant [27 x i8] c"%s is %d years old again.\0A\00", align 1 @.str.9 = private unnamed_addr constant [27 x i8] c"%s lived %d years so far.\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 [5 x i32], align 16 %7 = alloca [5 x ptr], align 16 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = 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 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.ages, i64 20, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.names, i64 40, i1 false) store i32 5, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %9, align 4 br label %12 12: ; preds = %26, %2 %13 = load i32, ptr %9, align 4 %14 = load i32, ptr %8, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %29 16: ; preds = %12 %17 = load i32, ptr %9, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds [5 x ptr], ptr %7, i64 0, i64 %18 %20 = load ptr, ptr %19, align 8 %21 = load i32, ptr %9, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 %22 %24 = load i32, ptr %23, align 4 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %20, i32 noundef %24) br label %26 26: ; preds = %16 %27 = load i32, ptr %9, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %9, align 4 br label %12, !llvm.loop !6 29: ; preds = %12 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %31 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 0 store ptr %31, ptr %10, align 8 %32 = getelementptr inbounds [5 x ptr], ptr %7, i64 0, i64 0 store ptr %32, ptr %11, align 8 store i32 0, ptr %9, align 4 br label %33 33: ; preds = %49, %29 %34 = load i32, ptr %9, align 4 %35 = load i32, ptr %8, align 4 %36 = icmp slt i32 %34, %35 br i1 %36, label %37, label %52 37: ; preds = %33 %38 = load ptr, ptr %11, align 8 %39 = load i32, ptr %9, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds ptr, ptr %38, i64 %40 %42 = load ptr, ptr %41, align 8 %43 = load ptr, ptr %10, align 8 %44 = load i32, ptr %9, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i32, ptr %43, i64 %45 %47 = load i32, ptr %46, align 4 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %42, i32 noundef %47) br label %49 49: ; preds = %37 %50 = load i32, ptr %9, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %9, align 4 br label %33, !llvm.loop !8 52: ; preds = %33 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) store i32 0, ptr %9, align 4 br label %54 54: ; preds = %70, %52 %55 = load i32, ptr %9, align 4 %56 = load i32, ptr %8, align 4 %57 = icmp slt i32 %55, %56 br i1 %57, label %58, label %73 58: ; preds = %54 %59 = load ptr, ptr %11, align 8 %60 = load i32, ptr %9, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds ptr, ptr %59, i64 %61 %63 = load ptr, ptr %62, align 8 %64 = load ptr, ptr %10, align 8 %65 = load i32, ptr %9, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds i32, ptr %64, i64 %66 %68 = load i32, ptr %67, align 4 %69 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %63, i32 noundef %68) br label %70 70: ; preds = %58 %71 = load i32, ptr %9, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %9, align 4 br label %54, !llvm.loop !9 73: ; preds = %54 %74 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %75 = getelementptr inbounds [5 x ptr], ptr %7, i64 0, i64 0 store ptr %75, ptr %11, align 8 %76 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 0 store ptr %76, ptr %10, align 8 br label %77 77: ; preds = %93, %73 %78 = load ptr, ptr %10, align 8 %79 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 0 %80 = ptrtoint ptr %78 to i64 %81 = ptrtoint ptr %79 to i64 %82 = sub i64 %80, %81 %83 = sdiv exact i64 %82, 4 %84 = load i32, ptr %8, align 4 %85 = sext i32 %84 to i64 %86 = icmp slt i64 %83, %85 br i1 %86, label %87, label %98 87: ; preds = %77 %88 = load ptr, ptr %11, align 8 %89 = load ptr, ptr %88, align 8 %90 = load ptr, ptr %10, align 8 %91 = load i32, ptr %90, align 4 %92 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %89, i32 noundef %91) br label %93 93: ; preds = %87 %94 = load ptr, ptr %11, align 8 %95 = getelementptr inbounds ptr, ptr %94, i32 1 store ptr %95, ptr %11, align 8 %96 = load ptr, ptr %10, align 8 %97 = getelementptr inbounds i32, ptr %96, i32 1 store ptr %97, ptr %10, align 8 br label %77, !llvm.loop !10 98: ; preds = %77 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjkcs0mar.c" target datalayout = "e-m:e-p270: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.main.ages = private unnamed_addr constant [5 x i32] [i32 23, i32 43, i32 12, i32 89, i32 2], align 16 @.str = private unnamed_addr constant [5 x i8] c"Alan\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"Frank\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"Mary\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"John\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"Lisa\00", align 1 @__const.main.names = private unnamed_addr constant [5 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4], align 16 @.str.5 = private unnamed_addr constant [24 x i8] c"%s has %d years alive.\0A\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"---\0A\00", align 1 @.str.7 = private unnamed_addr constant [21 x i8] c"%s is %d years old.\0A\00", align 1 @.str.8 = private unnamed_addr constant [27 x i8] c"%s is %d years old again.\0A\00", align 1 @.str.9 = private unnamed_addr constant [27 x i8] c"%s lived %d years so far.\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 [5 x i32], align 16 %7 = alloca [5 x ptr], align 16 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = 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 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.ages, i64 20, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.names, i64 40, i1 false) store i32 5, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %9, align 4 %12 = load i32, ptr %9, align 4 %13 = load i32, ptr %8, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %.lr.ph, label %31 .lr.ph: ; preds = %2 br label %15 15: ; preds = %.lr.ph, %25 %16 = load i32, ptr %9, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [5 x ptr], ptr %7, i64 0, i64 %17 %19 = load ptr, ptr %18, align 8 %20 = load i32, ptr %9, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 %21 %23 = load i32, ptr %22, align 4 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %19, i32 noundef %23) br label %25 25: ; preds = %15 %26 = load i32, ptr %9, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %9, align 4 %28 = load i32, ptr %9, align 4 %29 = load i32, ptr %8, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %15, 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.6) %33 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 0 store ptr %33, ptr %10, align 8 %34 = getelementptr inbounds [5 x ptr], ptr %7, i64 0, i64 0 store ptr %34, ptr %11, align 8 store i32 0, ptr %9, align 4 %35 = load i32, ptr %9, align 4 %36 = load i32, ptr %8, align 4 %37 = icmp slt i32 %35, %36 br i1 %37, label %.lr.ph2, label %56 .lr.ph2: ; preds = %31 br label %38 38: ; preds = %.lr.ph2, %50 %39 = load ptr, ptr %11, align 8 %40 = load i32, ptr %9, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds ptr, ptr %39, i64 %41 %43 = load ptr, ptr %42, align 8 %44 = load ptr, ptr %10, align 8 %45 = load i32, ptr %9, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i32, ptr %44, i64 %46 %48 = load i32, ptr %47, align 4 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %43, i32 noundef %48) br label %50 50: ; preds = %38 %51 = load i32, ptr %9, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %9, align 4 %53 = load i32, ptr %9, align 4 %54 = load i32, ptr %8, align 4 %55 = icmp slt i32 %53, %54 br i1 %55, label %38, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %50 br label %56 56: ; preds = %._crit_edge3, %31 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) store i32 0, ptr %9, align 4 %58 = load i32, ptr %9, align 4 %59 = load i32, ptr %8, align 4 %60 = icmp slt i32 %58, %59 br i1 %60, label %.lr.ph5, label %79 .lr.ph5: ; preds = %56 br label %61 61: ; preds = %.lr.ph5, %73 %62 = load ptr, ptr %11, align 8 %63 = load i32, ptr %9, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds ptr, ptr %62, i64 %64 %66 = load ptr, ptr %65, align 8 %67 = load ptr, ptr %10, align 8 %68 = load i32, ptr %9, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds i32, ptr %67, i64 %69 %71 = load i32, ptr %70, align 4 %72 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %66, i32 noundef %71) br label %73 73: ; preds = %61 %74 = load i32, ptr %9, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %9, align 4 %76 = load i32, ptr %9, align 4 %77 = load i32, ptr %8, align 4 %78 = icmp slt i32 %76, %77 br i1 %78, label %61, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %73 br label %79 79: ; preds = %._crit_edge6, %56 %80 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %81 = getelementptr inbounds [5 x ptr], ptr %7, i64 0, i64 0 store ptr %81, ptr %11, align 8 %82 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 0 store ptr %82, ptr %10, align 8 %83 = load ptr, ptr %10, align 8 %84 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 0 %85 = ptrtoint ptr %83 to i64 %86 = ptrtoint ptr %84 to i64 %87 = sub i64 %85, %86 %88 = sdiv exact i64 %87, 4 %89 = load i32, ptr %8, align 4 %90 = sext i32 %89 to i64 %91 = icmp slt i64 %88, %90 br i1 %91, label %.lr.ph8, label %110 .lr.ph8: ; preds = %79 br label %92 92: ; preds = %.lr.ph8, %98 %93 = load ptr, ptr %11, align 8 %94 = load ptr, ptr %93, align 8 %95 = load ptr, ptr %10, align 8 %96 = load i32, ptr %95, align 4 %97 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %94, i32 noundef %96) br label %98 98: ; preds = %92 %99 = load ptr, ptr %11, align 8 %100 = getelementptr inbounds ptr, ptr %99, i32 1 store ptr %100, ptr %11, align 8 %101 = load ptr, ptr %10, align 8 %102 = getelementptr inbounds i32, ptr %101, i32 1 store ptr %102, ptr %10, align 8 %103 = load ptr, ptr %10, align 8 %104 = ptrtoint ptr %103 to i64 %105 = sub i64 %104, %86 %106 = sdiv exact i64 %105, 4 %107 = load i32, ptr %8, align 4 %108 = sext i32 %107 to i64 %109 = icmp slt i64 %106, %108 br i1 %109, label %92, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %98 br label %110 110: ; preds = %._crit_edge9, %79 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpgqobf8uf.c' source_filename = "/tmp/tmpgqobf8uf.c" target datalayout = "e-m:e-p270: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 i8 @saa7114_get_decoder_brightness() #0 { %1 = alloca i8, align 1 store i8 0, ptr %1, align 1 %2 = call i32 @saa7114_read_reg(i32 noundef 10, ptr noundef %1) %3 = load i8, ptr %1, align 1 ret i8 %3 } declare i32 @saa7114_read_reg(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/tmpgqobf8uf.c" target datalayout = "e-m:e-p270: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 i8 @saa7114_get_decoder_brightness() #0 { %1 = alloca i8, align 1 store i8 0, ptr %1, align 1 %2 = call i32 @saa7114_read_reg(i32 noundef 10, ptr noundef %1) %3 = load i8, ptr %1, align 1 ret i8 %3 } declare i32 @saa7114_read_reg(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/tmp50vyofn0.c' source_filename = "/tmp/tmp50vyofn0.c" target datalayout = "e-m:e-p270: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/tmp50vyofn0.c" target datalayout = "e-m:e-p270: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/tmp4k_dtlds.c' source_filename = "/tmp/tmp4k_dtlds.c" target datalayout = "e-m:e-p270: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/tmp4k_dtlds.c" target datalayout = "e-m:e-p270: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/tmpdd7jvalo.c' source_filename = "/tmp/tmpdd7jvalo.c" target datalayout = "e-m:e-p270: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.main.t = private unnamed_addr constant [4 x i8] c"abAB", align 1 @.str = private unnamed_addr constant [3 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 [4 x i8], align 1 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.t, i64 4, i1 false) %3 = getelementptr inbounds [4 x i8], ptr %2, i64 0, i64 1 %4 = load i8, ptr %3, align 1 %5 = sext i8 %4 to i32 %6 = getelementptr inbounds [4 x i8], ptr %2, i64 0, i64 0 %7 = load i8, ptr %6, align 1 %8 = sext i8 %7 to i32 %9 = sub nsw i32 %5, %8 %10 = getelementptr inbounds [4 x i8], ptr %2, i64 0, i64 3 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = add nsw i32 %9, %12 %14 = getelementptr inbounds [4 x i8], ptr %2, i64 0, i64 2 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = sub nsw i32 %13, %16 %18 = trunc i32 %17 to i8 %19 = call i32 @printf(ptr noundef @.str, i8 noundef signext %18) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr 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/tmpdd7jvalo.c" target datalayout = "e-m:e-p270: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.main.t = private unnamed_addr constant [4 x i8] c"abAB", align 1 @.str = private unnamed_addr constant [3 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 [4 x i8], align 1 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.t, i64 4, i1 false) %3 = getelementptr inbounds [4 x i8], ptr %2, i64 0, i64 1 %4 = load i8, ptr %3, align 1 %5 = sext i8 %4 to i32 %6 = getelementptr inbounds [4 x i8], ptr %2, i64 0, i64 0 %7 = load i8, ptr %6, align 1 %8 = sext i8 %7 to i32 %9 = sub nsw i32 %5, %8 %10 = getelementptr inbounds [4 x i8], ptr %2, i64 0, i64 3 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = add nsw i32 %9, %12 %14 = getelementptr inbounds [4 x i8], ptr %2, i64 0, i64 2 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = sub nsw i32 %13, %16 %18 = trunc i32 %17 to i8 %19 = call i32 @printf(ptr noundef @.str, i8 noundef signext %18) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr 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/tmpj8n5c0rs.c' source_filename = "/tmp/tmpj8n5c0rs.c" target datalayout = "e-m:e-p270: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"Invoke: UpnpConnectionManager_GetCurrentConnectionIDs();\0D\0A\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"Sample String\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @UpnpConnectionManager_GetCurrentConnectionIDs(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @printf(ptr noundef @.str) %4 = load ptr, ptr %2, align 8 %5 = call i32 @UpnpResponse_ConnectionManager_GetCurrentConnectionIDs(ptr noundef %4, ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef) #1 declare i32 @UpnpResponse_ConnectionManager_GetCurrentConnectionIDs(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/tmpj8n5c0rs.c" target datalayout = "e-m:e-p270: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"Invoke: UpnpConnectionManager_GetCurrentConnectionIDs();\0D\0A\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"Sample String\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @UpnpConnectionManager_GetCurrentConnectionIDs(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @printf(ptr noundef @.str) %4 = load ptr, ptr %2, align 8 %5 = call i32 @UpnpResponse_ConnectionManager_GetCurrentConnectionIDs(ptr noundef %4, ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef) #1 declare i32 @UpnpResponse_ConnectionManager_GetCurrentConnectionIDs(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/tmp5xe0vv5o.c' source_filename = "/tmp/tmp5xe0vv5o.c" target datalayout = "e-m:e-p270: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 @c_modf(double noundef %0, ptr noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca ptr, align 8 store double %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load double, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call double @modf(double noundef %5, ptr noundef %6) #2 ret double %7 } ; Function Attrs: nounwind declare double @modf(double 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 = { 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/tmp5xe0vv5o.c" target datalayout = "e-m:e-p270: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 @c_modf(double noundef %0, ptr noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca ptr, align 8 store double %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load double, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call double @modf(double noundef %5, ptr noundef %6) #2 ret double %7 } ; Function Attrs: nounwind declare double @modf(double 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 = { 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/tmpr_98nauw.c' source_filename = "/tmp/tmpr_98nauw.c" target datalayout = "e-m:e-p270: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 @getInterval() #0 { %1 = alloca [2 x i8], align 1 %2 = getelementptr inbounds [2 x i8], ptr %1, i64 0, i64 0 %3 = call i32 @dread(ptr noundef %2, i32 noundef 16, i32 noundef 2) %4 = getelementptr inbounds [2 x i8], ptr %1, i64 0, i64 0 %5 = call i32 @getUnsignedInt(ptr noundef %4) ret i32 %5 } declare i32 @dread(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @getUnsignedInt(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/tmpr_98nauw.c" target datalayout = "e-m:e-p270: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 @getInterval() #0 { %1 = alloca [2 x i8], align 1 %2 = getelementptr inbounds [2 x i8], ptr %1, i64 0, i64 0 %3 = call i32 @dread(ptr noundef %2, i32 noundef 16, i32 noundef 2) %4 = getelementptr inbounds [2 x i8], ptr %1, i64 0, i64 0 %5 = call i32 @getUnsignedInt(ptr noundef %4) ret i32 %5 } declare i32 @dread(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @getUnsignedInt(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/tmp9extdrs_.c' source_filename = "/tmp/tmp9extdrs_.c" target datalayout = "e-m:e-p270: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 @keyboardFunc(i8 noundef zeroext %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i8, align 1 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i8 %0, ptr %4, align 1 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load i8, ptr %4, align 1 %8 = zext i8 %7 to i32 %9 = icmp eq i32 %8, 27 br i1 %9, label %10, label %12 10: ; preds = %3 %11 = call i32 @exit(i32 noundef -1) #2 unreachable 12: ; preds = %3 ret void } ; Function Attrs: noreturn declare i32 @exit(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 = { 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 #2 = { 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/tmp9extdrs_.c" target datalayout = "e-m:e-p270: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 @keyboardFunc(i8 noundef zeroext %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i8, align 1 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i8 %0, ptr %4, align 1 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load i8, ptr %4, align 1 %8 = zext i8 %7 to i32 %9 = icmp eq i32 %8, 27 br i1 %9, label %10, label %12 10: ; preds = %3 %11 = call i32 @exit(i32 noundef -1) #2 unreachable 12: ; preds = %3 ret void } ; Function Attrs: noreturn declare i32 @exit(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 = { 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 #2 = { 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/tmp9rzyy2iw.c' source_filename = "/tmp/tmp9rzyy2iw.c" target datalayout = "e-m:e-p270: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/tmp9rzyy2iw.c" target datalayout = "e-m:e-p270: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/tmpf939blm6.c' source_filename = "/tmp/tmpf939blm6.c" target datalayout = "e-m:e-p270: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 [107 x i8] c"/bin/kill -9 tsh tshref mytstpp mytstps mycat myenv myintp myints myspin1 myspin2 mysplit > /dev/null 2>&1\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @clean() #0 { %1 = call i32 @system(ptr noundef @.str) ret void } declare i32 @system(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/tmpf939blm6.c" target datalayout = "e-m:e-p270: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 [107 x i8] c"/bin/kill -9 tsh tshref mytstpp mytstps mycat myenv myintp myints myspin1 myspin2 mysplit > /dev/null 2>&1\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @clean() #0 { %1 = call i32 @system(ptr noundef @.str) ret void } declare i32 @system(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/tmpu61qwro0.c' source_filename = "/tmp/tmpu61qwro0.c" target datalayout = "e-m:e-p270: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 = dso_local global i32 0, align 4 @_IONBF = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [14 x i8] c"Test passed \0A\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"Test Failed \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = 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 %9 = load i32, ptr @stdout, align 4 %10 = load i32, ptr @_IONBF, align 4 %11 = call i32 @setvbuf(i32 noundef %9, ptr noundef null, i32 noundef %10, i32 noundef 0) store i32 1, ptr %6, align 4 store i32 0, ptr %7, align 4 %12 = call i32 @IOPi_init(i32 noundef 32, i32 noundef 0) store i32 0, ptr %8, align 4 br label %13 13: ; preds = %33, %2 %14 = load i32, ptr %8, align 4 %15 = icmp slt i32 %14, 255 br i1 %15, label %16, label %36 16: ; preds = %13 %17 = load i32, ptr %8, align 4 %18 = call i32 @set_interrupt_on_port(i32 noundef 32, i32 noundef 0, i32 noundef %17) %19 = call i32 @get_interrupt_on_port(i32 noundef 32, i32 noundef 0) store i32 %19, ptr %7, align 4 %20 = load i32, ptr %7, align 4 %21 = load i32, ptr %8, align 4 %22 = icmp ne i32 %20, %21 br i1 %22, label %23, label %24 23: ; preds = %16 store i32 0, ptr %6, align 4 br label %36 24: ; preds = %16 %25 = load i32, ptr %8, align 4 %26 = call i32 @set_interrupt_on_port(i32 noundef 32, i32 noundef 1, i32 noundef %25) %27 = call i32 @get_interrupt_on_port(i32 noundef 32, i32 noundef 1) store i32 %27, ptr %7, align 4 %28 = load i32, ptr %7, align 4 %29 = load i32, ptr %8, align 4 %30 = icmp ne i32 %28, %29 br i1 %30, label %31, label %32 31: ; preds = %24 store i32 0, ptr %6, align 4 br label %36 32: ; preds = %24 br label %33 33: ; preds = %32 %34 = load i32, ptr %8, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %8, align 4 br label %13, !llvm.loop !6 36: ; preds = %31, %23, %13 %37 = load i32, ptr %6, align 4 %38 = icmp ne i32 %37, 0 br i1 %38, label %39, label %41 39: ; preds = %36 %40 = call i32 @printf(ptr noundef @.str) br label %43 41: ; preds = %36 %42 = call i32 @printf(ptr noundef @.str.1) br label %43 43: ; preds = %41, %39 %44 = load i32, ptr %4, align 4 %45 = load ptr, ptr %5, align 8 ret i32 0 } declare i32 @setvbuf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @IOPi_init(i32 noundef, i32 noundef) #1 declare i32 @set_interrupt_on_port(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @get_interrupt_on_port(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu61qwro0.c" target datalayout = "e-m:e-p270: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 = dso_local global i32 0, align 4 @_IONBF = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [14 x i8] c"Test passed \0A\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"Test Failed \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = 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 %9 = load i32, ptr @stdout, align 4 %10 = load i32, ptr @_IONBF, align 4 %11 = call i32 @setvbuf(i32 noundef %9, ptr noundef null, i32 noundef %10, i32 noundef 0) store i32 1, ptr %6, align 4 store i32 0, ptr %7, align 4 %12 = call i32 @IOPi_init(i32 noundef 32, i32 noundef 0) store i32 0, ptr %8, align 4 %13 = load i32, ptr %8, align 4 %14 = icmp slt i32 %13, 255 br i1 %14, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %2 br label %15 15: ; preds = %.lr.ph, %32 %16 = load i32, ptr %8, align 4 %17 = call i32 @set_interrupt_on_port(i32 noundef 32, i32 noundef 0, i32 noundef %16) %18 = call i32 @get_interrupt_on_port(i32 noundef 32, i32 noundef 0) store i32 %18, ptr %7, align 4 %19 = load i32, ptr %7, align 4 %20 = load i32, ptr %8, align 4 %21 = icmp ne i32 %19, %20 br i1 %21, label %22, label %23 22: ; preds = %15 store i32 0, ptr %6, align 4 br label %37 23: ; preds = %15 %24 = load i32, ptr %8, align 4 %25 = call i32 @set_interrupt_on_port(i32 noundef 32, i32 noundef 1, i32 noundef %24) %26 = call i32 @get_interrupt_on_port(i32 noundef 32, i32 noundef 1) store i32 %26, ptr %7, align 4 %27 = load i32, ptr %7, align 4 %28 = load i32, ptr %8, align 4 %29 = icmp ne i32 %27, %28 br i1 %29, label %30, label %31 30: ; preds = %23 store i32 0, ptr %6, align 4 br label %37 31: ; preds = %23 br label %32 32: ; preds = %31 %33 = load i32, ptr %8, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %8, align 4 %35 = load i32, ptr %8, align 4 %36 = icmp slt i32 %35, 255 br i1 %36, label %15, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %32 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %2 br label %37 37: ; preds = %.loopexit, %30, %22 %38 = load i32, ptr %6, align 4 %39 = icmp ne i32 %38, 0 br i1 %39, label %40, label %42 40: ; preds = %37 %41 = call i32 @printf(ptr noundef @.str) br label %44 42: ; preds = %37 %43 = call i32 @printf(ptr noundef @.str.1) br label %44 44: ; preds = %42, %40 %45 = load i32, ptr %4, align 4 %46 = load ptr, ptr %5, align 8 ret i32 0 } declare i32 @setvbuf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @IOPi_init(i32 noundef, i32 noundef) #1 declare i32 @set_interrupt_on_port(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @get_interrupt_on_port(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpt6cutls1.c' source_filename = "/tmp/tmpt6cutls1.c" target datalayout = "e-m:e-p270: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 @allocator(i64 noundef %0, ptr noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca ptr, align 8 store i64 %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = load i64, ptr %3, align 8 %7 = call ptr @malloc(i64 noundef %6) #2 ret ptr %7 } ; Function Attrs: allocsize(0) declare ptr @malloc(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 = { allocsize(0) "frame-pointer"="all" "no-trapping-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 = { allocsize(0) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpt6cutls1.c" target datalayout = "e-m:e-p270: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 @allocator(i64 noundef %0, ptr noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca ptr, align 8 store i64 %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = load i64, ptr %3, align 8 %7 = call ptr @malloc(i64 noundef %6) #2 ret ptr %7 } ; Function Attrs: allocsize(0) declare ptr @malloc(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 = { allocsize(0) "frame-pointer"="all" "no-trapping-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 = { allocsize(0) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpycb1f7_r.c' source_filename = "/tmp/tmpycb1f7_r.c" target datalayout = "e-m:e-p270: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 = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.1 = private unnamed_addr constant [104 x i8] c"WeeChat %s Copyright %s, compiled on %s %s\0ADeveloped by S\C3\A9bastien Helleu <flashcode@flashtux.org> - %s\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"(C) 2003-2014\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"http://www.weechat.org/\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @weechat_display_copyright() #0 { %1 = load i32, ptr @stdout, align 4 %2 = call i32 (i32, ptr, ...) @string_iconv_fprintf(i32 noundef %1, ptr noundef @.str) %3 = load i32, ptr @stdout, align 4 %4 = call i32 (...) @version_get_version_with_git() %5 = call i32 (...) @version_get_compilation_date() %6 = call i32 (...) @version_get_compilation_time() %7 = call i32 (i32, ptr, ...) @string_iconv_fprintf(i32 noundef %3, ptr noundef @.str.1, i32 noundef %4, ptr noundef @.str.2, i32 noundef %5, i32 noundef %6, ptr noundef @.str.3) %8 = load i32, ptr @stdout, align 4 %9 = call i32 (i32, ptr, ...) @string_iconv_fprintf(i32 noundef %8, ptr noundef @.str) ret void } declare i32 @string_iconv_fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @version_get_version_with_git(...) #1 declare i32 @version_get_compilation_date(...) #1 declare i32 @version_get_compilation_time(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpycb1f7_r.c" target datalayout = "e-m:e-p270: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 = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.1 = private unnamed_addr constant [104 x i8] c"WeeChat %s Copyright %s, compiled on %s %s\0ADeveloped by S\C3\A9bastien Helleu <flashcode@flashtux.org> - %s\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"(C) 2003-2014\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"http://www.weechat.org/\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @weechat_display_copyright() #0 { %1 = load i32, ptr @stdout, align 4 %2 = call i32 (i32, ptr, ...) @string_iconv_fprintf(i32 noundef %1, ptr noundef @.str) %3 = load i32, ptr @stdout, align 4 %4 = call i32 (...) @version_get_version_with_git() %5 = call i32 (...) @version_get_compilation_date() %6 = call i32 (...) @version_get_compilation_time() %7 = call i32 (i32, ptr, ...) @string_iconv_fprintf(i32 noundef %3, ptr noundef @.str.1, i32 noundef %4, ptr noundef @.str.2, i32 noundef %5, i32 noundef %6, ptr noundef @.str.3) %8 = load i32, ptr @stdout, align 4 %9 = call i32 (i32, ptr, ...) @string_iconv_fprintf(i32 noundef %8, ptr noundef @.str) ret void } declare i32 @string_iconv_fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @version_get_version_with_git(...) #1 declare i32 @version_get_compilation_date(...) #1 declare i32 @version_get_compilation_time(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpq2qvyq6k.c' source_filename = "/tmp/tmpq2qvyq6k.c" target datalayout = "e-m:e-p270: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 @strnchr(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i64 %2, ptr %7, align 8 br label %8 8: ; preds = %27, %3 %9 = load ptr, ptr %5, align 8 %10 = load i8, ptr %9, align 1 %11 = sext i8 %10 to i32 %12 = load i32, ptr %6, align 4 %13 = icmp eq i32 %11, %12 br i1 %13, label %14, label %16 14: ; preds = %8 %15 = load ptr, ptr %5, align 8 store ptr %15, ptr %4, align 8 br label %30 16: ; preds = %8 %17 = load ptr, ptr %5, align 8 %18 = load i8, ptr %17, align 1 %19 = icmp ne i8 %18, 0 br i1 %19, label %20, label %24 20: ; preds = %16 %21 = load i64, ptr %7, align 8 %22 = add i64 %21, -1 store i64 %22, ptr %7, align 8 %23 = icmp ne i64 %21, 0 br i1 %23, label %25, label %24 24: ; preds = %20, %16 store ptr null, ptr %4, align 8 br label %30 25: ; preds = %20 br label %26 26: ; preds = %25 br label %27 27: ; preds = %26 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds i8, ptr %28, i32 1 store ptr %29, ptr %5, align 8 br label %8 30: ; preds = %24, %14 %31 = load ptr, ptr %4, align 8 ret ptr %31 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpq2qvyq6k.c" target datalayout = "e-m:e-p270: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 @strnchr(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i64 %2, ptr %7, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i8, ptr %8, align 1 %10 = sext i8 %9 to i32 %11 = load i32, ptr %6, align 4 %12 = icmp eq i32 %10, %11 br i1 %12, label %13, label %.lr.ph .lr.ph: ; preds = %3 br label %15 ._crit_edge: ; preds = %26 br label %13 13: ; preds = %._crit_edge, %3 %14 = load ptr, ptr %5, align 8 store ptr %14, ptr %4, align 8 br label %34 15: ; preds = %.lr.ph, %26 %16 = load ptr, ptr %5, align 8 %17 = load i8, ptr %16, align 1 %18 = icmp ne i8 %17, 0 br i1 %18, label %19, label %23 19: ; preds = %15 %20 = load i64, ptr %7, align 8 %21 = add i64 %20, -1 store i64 %21, ptr %7, align 8 %22 = icmp ne i64 %20, 0 br i1 %22, label %24, label %23 23: ; preds = %19, %15 store ptr null, ptr %4, align 8 br label %34 24: ; preds = %19 br label %25 25: ; preds = %24 br label %26 26: ; preds = %25 %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds i8, ptr %27, i32 1 store ptr %28, ptr %5, align 8 %29 = load ptr, ptr %5, align 8 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = load i32, ptr %6, align 4 %33 = icmp eq i32 %31, %32 br i1 %33, label %._crit_edge, label %15 34: ; preds = %23, %13 %35 = load ptr, ptr %4, align 8 ret ptr %35 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpdjuiu_ls.c' source_filename = "/tmp/tmpdjuiu_ls.c" target datalayout = "e-m:e-p270: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"La suma de %i y %i es %i\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 50, ptr %1, align 4 store i32 25, ptr %2, align 4 %4 = load i32, ptr %1, align 4 %5 = load i32, ptr %2, align 4 %6 = add nsw i32 %4, %5 store i32 %6, ptr %3, align 4 %7 = load i32, ptr %1, align 4 %8 = load i32, ptr %2, align 4 %9 = load i32, ptr %3, align 4 %10 = call i32 @printf(ptr noundef @.str, i32 noundef %7, i32 noundef %8, i32 noundef %9) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdjuiu_ls.c" target datalayout = "e-m:e-p270: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"La suma de %i y %i es %i\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 50, ptr %1, align 4 store i32 25, ptr %2, align 4 %4 = load i32, ptr %1, align 4 %5 = load i32, ptr %2, align 4 %6 = add nsw i32 %4, %5 store i32 %6, ptr %3, align 4 %7 = load i32, ptr %1, align 4 %8 = load i32, ptr %2, align 4 %9 = load i32, ptr %3, align 4 %10 = call i32 @printf(ptr noundef @.str, i32 noundef %7, i32 noundef %8, i32 noundef %9) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpch5g644_.c' source_filename = "/tmp/tmpch5g644_.c" target datalayout = "e-m:e-p270: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"%2x \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 @printHex(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %24, %2 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %10, label %27 10: ; preds = %6 %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 %5, align 4 %19 = srem i32 %18, 16 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %23 21: ; preds = %10 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %23 23: ; preds = %21, %10 br label %24 24: ; preds = %23 %25 = load i32, ptr %5, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %5, align 4 br label %6, !llvm.loop !6 27: ; preds = %6 %28 = 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/tmpch5g644_.c" target datalayout = "e-m:e-p270: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"%2x \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 @printHex(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %.lr.ph, label %29 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %23 %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %5, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %10, i64 %12 %14 = load i8, ptr %13, align 1 %15 = zext i8 %14 to i32 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %15) %17 = load i32, ptr %5, align 4 %18 = srem i32 %17, 16 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %22 20: ; preds = %9 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %22 22: ; preds = %20, %9 br label %23 23: ; preds = %22 %24 = load i32, ptr %5, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %5, align 4 %26 = load i32, ptr %5, align 4 %27 = load i32, ptr %4, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %29 29: ; preds = %._crit_edge, %2 %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 = '/tmp/tmpuhivxs5m.c' source_filename = "/tmp/tmpuhivxs5m.c" target datalayout = "e-m:e-p270: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"execvp(%s,double pointer to givenData)\0A\00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c"Cmds to pass %s, %s, %s, %s, %s\0A\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [25 x i8] c"Still displaying output\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @threadCall(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 store ptr %6, ptr %4, align 8 br label %7 7: ; preds = %8, %1 br i1 false, label %8, label %13 8: ; preds = %7 %9 = load ptr, ptr %4, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 0 %11 = load ptr, ptr %10, align 8 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %11) br label %7 13: ; preds = %7 store i32 -1, ptr %5, align 4 br label %14 14: ; preds = %15, %13 br i1 false, label %15, label %32 15: ; preds = %14 %16 = load ptr, ptr %4, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 0 %18 = load ptr, ptr %17, align 8 %19 = load ptr, ptr %4, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 1 %21 = load ptr, ptr %20, align 8 %22 = load ptr, ptr %4, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 2 %24 = load ptr, ptr %23, align 8 %25 = load ptr, ptr %4, align 8 %26 = getelementptr inbounds ptr, ptr %25, i64 3 %27 = load ptr, ptr %26, align 8 %28 = load ptr, ptr %4, align 8 %29 = getelementptr inbounds ptr, ptr %28, i64 4 %30 = load ptr, ptr %29, align 8 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %18, ptr noundef %21, ptr noundef %24, ptr noundef %27, ptr noundef %30) br label %14 32: ; preds = %14 %33 = call i32 (...) @fork() store i32 %33, ptr %5, align 4 %34 = load i32, ptr %5, align 4 %35 = icmp eq i32 %34, 0 br i1 %35, label %36, label %54 36: ; preds = %32 %37 = load i32, ptr @stdout, align 4 %38 = call i32 @fclose(i32 noundef %37) %39 = call i32 @setpgid(i32 noundef 0, i32 noundef 0) br label %40 40: ; preds = %41, %36 br i1 false, label %41, label %43 41: ; preds = %40 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %40 43: ; preds = %40 %44 = load ptr, ptr %4, align 8 %45 = getelementptr inbounds ptr, ptr %44, i64 0 %46 = load ptr, ptr %45, align 8 %47 = load ptr, ptr %4, align 8 %48 = call i32 @execvp(ptr noundef %46, ptr noundef %47) store i32 %48, ptr %5, align 4 %49 = load i32, ptr %5, align 4 %50 = icmp eq i32 %49, -1 br i1 %50, label %51, label %53 51: ; preds = %43 %52 = call i32 @exit(i32 noundef 1) #3 unreachable 53: ; preds = %43 br label %55 54: ; preds = %32 store ptr null, ptr %2, align 8 br label %56 55: ; preds = %53 store ptr null, ptr %2, align 8 br label %56 56: ; preds = %55, %54 %57 = load ptr, ptr %2, align 8 ret ptr %57 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @fork(...) #1 declare i32 @fclose(i32 noundef) #1 declare i32 @setpgid(i32 noundef, i32 noundef) #1 declare i32 @execvp(ptr noundef, 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/tmpuhivxs5m.c" target datalayout = "e-m:e-p270: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"execvp(%s,double pointer to givenData)\0A\00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c"Cmds to pass %s, %s, %s, %s, %s\0A\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [25 x i8] c"Still displaying output\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @threadCall(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 store ptr %6, ptr %4, align 8 br i1 false, label %.lr.ph, label %10 .lr.ph: ; preds = %1 br label %._crit_edge ._crit_edge: ; preds = %.lr.ph %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %7, align 8 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %8) br label %10 10: ; preds = %._crit_edge, %1 store i32 -1, ptr %5, align 4 br i1 false, label %.lr.ph2, label %26 .lr.ph2: ; preds = %10 br label %._crit_edge3 ._crit_edge3: ; preds = %.lr.ph2 %11 = load ptr, ptr %4, align 8 %12 = load ptr, ptr %11, align 8 %13 = load ptr, ptr %4, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 1 %15 = load ptr, ptr %14, align 8 %16 = load ptr, ptr %4, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 2 %18 = load ptr, ptr %17, align 8 %19 = load ptr, ptr %4, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 3 %21 = load ptr, ptr %20, align 8 %22 = load ptr, ptr %4, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 4 %24 = load ptr, ptr %23, align 8 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %12, ptr noundef %15, ptr noundef %18, ptr noundef %21, ptr noundef %24) br label %26 26: ; preds = %._crit_edge3, %10 %27 = call i32 (...) @fork() store i32 %27, ptr %5, align 4 %28 = load i32, ptr %5, align 4 %29 = icmp eq i32 %28, 0 br i1 %29, label %30, label %46 30: ; preds = %26 %31 = load i32, ptr @stdout, align 4 %32 = call i32 @fclose(i32 noundef %31) %33 = call i32 @setpgid(i32 noundef 0, i32 noundef 0) br i1 false, label %.lr.ph5, label %35 .lr.ph5: ; preds = %30 br label %._crit_edge6 ._crit_edge6: ; preds = %.lr.ph5 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %35 35: ; preds = %._crit_edge6, %30 %36 = load ptr, ptr %4, align 8 %37 = getelementptr inbounds ptr, ptr %36, i64 0 %38 = load ptr, ptr %37, align 8 %39 = load ptr, ptr %4, align 8 %40 = call i32 @execvp(ptr noundef %38, ptr noundef %39) store i32 %40, ptr %5, align 4 %41 = load i32, ptr %5, align 4 %42 = icmp eq i32 %41, -1 br i1 %42, label %43, label %45 43: ; preds = %35 %44 = call i32 @exit(i32 noundef 1) #3 unreachable 45: ; preds = %35 br label %47 46: ; preds = %26 store ptr null, ptr %2, align 8 br label %48 47: ; preds = %45 store ptr null, ptr %2, align 8 br label %48 48: ; preds = %47, %46 %49 = load ptr, ptr %2, align 8 ret ptr %49 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @fork(...) #1 declare i32 @fclose(i32 noundef) #1 declare i32 @setpgid(i32 noundef, i32 noundef) #1 declare i32 @execvp(ptr noundef, 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/tmp0eopo0eg.c' source_filename = "/tmp/tmp0eopo0eg.c" target datalayout = "e-m:e-p270: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 @ft_putnbr(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i8, align 1 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i8, align 1 store i32 %0, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = icmp sgt i32 %7, 2147483647 br i1 %8, label %13, label %9 9: ; preds = %1 %10 = load i32, ptr %2, align 4 %11 = sext i32 %10 to i64 %12 = icmp slt i64 %11, -2147483648 br i1 %12, label %13, label %14 13: ; preds = %9, %1 br label %57 14: ; preds = %9 %15 = load i32, ptr %2, align 4 %16 = icmp slt i32 %15, 0 br i1 %16, label %17, label %22 17: ; preds = %14 %18 = load i32, ptr %2, align 4 %19 = mul nsw i32 %18, -1 store i32 %19, ptr %2, align 4 store i8 45, ptr %3, align 1 %20 = load i8, ptr %3, align 1 %21 = call i32 @ft_putchar(i8 noundef signext %20) br label %22 22: ; preds = %17, %14 store i32 1, ptr %5, align 4 br label %23 23: ; preds = %29, %22 %24 = load i32, ptr %2, align 4 %25 = load i32, ptr %5, align 4 %26 = mul nsw i32 %25, 10 %27 = sdiv i32 %24, %26 %28 = icmp sgt i32 %27, 0 br i1 %28, label %29, label %32 29: ; preds = %23 %30 = load i32, ptr %5, align 4 %31 = mul nsw i32 %30, 10 store i32 %31, ptr %5, align 4 br label %23, !llvm.loop !6 32: ; preds = %23 store i32 1, ptr %4, align 4 br label %33 33: ; preds = %36, %32 %34 = load i32, ptr %4, align 4 %35 = icmp ne i32 %34, 0 br i1 %35, label %36, label %57 36: ; preds = %33 %37 = load i32, ptr %2, align 4 %38 = load i32, ptr %5, align 4 %39 = sdiv i32 %37, %38 %40 = add nsw i32 %39, 48 %41 = trunc i32 %40 to i8 store i8 %41, ptr %6, align 1 %42 = load i8, ptr %6, align 1 %43 = call i32 @ft_putchar(i8 noundef signext %42) %44 = load i32, ptr %2, align 4 %45 = load i32, ptr %5, align 4 %46 = sdiv i32 %44, %45 %47 = load i32, ptr %5, align 4 %48 = mul nsw i32 %46, %47 %49 = load i32, ptr %2, align 4 %50 = sub nsw i32 %49, %48 store i32 %50, ptr %2, align 4 %51 = load i32, ptr %5, align 4 %52 = icmp slt i32 %51, 10 %53 = zext i1 %52 to i64 %54 = select i1 %52, i32 0, i32 1 store i32 %54, ptr %4, align 4 %55 = load i32, ptr %5, align 4 %56 = sdiv i32 %55, 10 store i32 %56, ptr %5, align 4 br label %33, !llvm.loop !8 57: ; preds = %13, %33 ret void } declare i32 @ft_putchar(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/tmp0eopo0eg.c" target datalayout = "e-m:e-p270: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 @ft_putnbr(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i8, align 1 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i8, align 1 store i32 %0, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = icmp sgt i32 %7, 2147483647 br i1 %8, label %13, label %9 9: ; preds = %1 %10 = load i32, ptr %2, align 4 %11 = sext i32 %10 to i64 %12 = icmp slt i64 %11, -2147483648 br i1 %12, label %13, label %14 13: ; preds = %9, %1 br label %62 14: ; preds = %9 %15 = load i32, ptr %2, align 4 %16 = icmp slt i32 %15, 0 br i1 %16, label %17, label %22 17: ; preds = %14 %18 = load i32, ptr %2, align 4 %19 = mul nsw i32 %18, -1 store i32 %19, ptr %2, align 4 store i8 45, ptr %3, align 1 %20 = load i8, ptr %3, align 1 %21 = call i32 @ft_putchar(i8 noundef signext %20) br label %22 22: ; preds = %17, %14 store i32 1, ptr %5, align 4 %23 = load i32, ptr %2, align 4 %24 = load i32, ptr %5, align 4 %25 = mul nsw i32 %24, 10 %26 = sdiv i32 %23, %25 %27 = icmp sgt i32 %26, 0 br i1 %27, label %.lr.ph, label %36 .lr.ph: ; preds = %22 br label %28 28: ; preds = %.lr.ph, %28 %29 = load i32, ptr %5, align 4 %30 = mul nsw i32 %29, 10 store i32 %30, ptr %5, align 4 %31 = load i32, ptr %2, align 4 %32 = load i32, ptr %5, align 4 %33 = mul nsw i32 %32, 10 %34 = sdiv i32 %31, %33 %35 = icmp sgt i32 %34, 0 br i1 %35, label %28, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %36 36: ; preds = %._crit_edge, %22 store i32 1, ptr %4, align 4 %37 = load i32, ptr %4, align 4 %38 = icmp ne i32 %37, 0 br i1 %38, label %.lr.ph2, label %.loopexit .lr.ph2: ; preds = %36 br label %39 39: ; preds = %.lr.ph2, %39 %40 = load i32, ptr %2, align 4 %41 = load i32, ptr %5, align 4 %42 = sdiv i32 %40, %41 %43 = add nsw i32 %42, 48 %44 = trunc i32 %43 to i8 store i8 %44, ptr %6, align 1 %45 = load i8, ptr %6, align 1 %46 = call i32 @ft_putchar(i8 noundef signext %45) %47 = load i32, ptr %2, align 4 %48 = load i32, ptr %5, align 4 %49 = sdiv i32 %47, %48 %50 = load i32, ptr %5, align 4 %51 = mul nsw i32 %49, %50 %52 = load i32, ptr %2, align 4 %53 = sub nsw i32 %52, %51 store i32 %53, ptr %2, align 4 %54 = load i32, ptr %5, align 4 %55 = icmp slt i32 %54, 10 %56 = zext i1 %55 to i64 %57 = select i1 %55, i32 0, i32 1 store i32 %57, ptr %4, align 4 %58 = load i32, ptr %5, align 4 %59 = sdiv i32 %58, 10 store i32 %59, ptr %5, align 4 %60 = load i32, ptr %4, align 4 %61 = icmp ne i32 %60, 0 br i1 %61, label %39, label %..loopexit_crit_edge, !llvm.loop !8 ..loopexit_crit_edge: ; preds = %39 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %36 br label %62 62: ; preds = %.loopexit, %13 ret void } declare i32 @ft_putchar(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/tmpftvszn2z.c' source_filename = "/tmp/tmpftvszn2z.c" target datalayout = "e-m:e-p270: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 @pyi_setenv(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @setenv(ptr noundef %6, ptr noundef %7, i32 noundef 1) store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 ret i32 %9 } declare i32 @setenv(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/tmpftvszn2z.c" target datalayout = "e-m:e-p270: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 @pyi_setenv(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @setenv(ptr noundef %6, ptr noundef %7, i32 noundef 1) store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 ret i32 %9 } declare i32 @setenv(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/tmpetu22ugj.c' source_filename = "/tmp/tmpetu22ugj.c" target datalayout = "e-m:e-p270: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 @strlen(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %11, %1 %5 = load ptr, ptr %2, align 8 %6 = load i32, ptr %3, align 4 %7 = zext i32 %6 to i64 %8 = getelementptr inbounds i8, ptr %5, i64 %7 %9 = load i8, ptr %8, align 1 %10 = icmp ne i8 %9, 0 br i1 %10, label %11, label %14 11: ; preds = %4 %12 = load i32, ptr %3, align 4 %13 = add i32 %12, 1 store i32 %13, ptr %3, align 4 br label %4, !llvm.loop !6 14: ; preds = %4 %15 = load i32, ptr %3, align 4 ret i32 %15 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpetu22ugj.c" target datalayout = "e-m:e-p270: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 @strlen(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %4 = load ptr, ptr %2, align 8 %5 = load i32, ptr %3, align 4 %6 = zext i32 %5 to i64 %7 = getelementptr inbounds i8, ptr %4, i64 %6 %8 = load i8, ptr %7, align 1 %9 = icmp ne i8 %8, 0 br i1 %9, label %.lr.ph, label %19 .lr.ph: ; preds = %1 br label %10 10: ; preds = %.lr.ph, %10 %11 = load i32, ptr %3, align 4 %12 = add i32 %11, 1 store i32 %12, ptr %3, align 4 %13 = load ptr, ptr %2, align 8 %14 = load i32, ptr %3, align 4 %15 = zext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %13, i64 %15 %17 = load i8, ptr %16, align 1 %18 = icmp ne i8 %17, 0 br i1 %18, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %10 br label %19 19: ; preds = %._crit_edge, %1 %20 = load i32, ptr %3, align 4 ret i32 %20 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpmizw9gw5.c' source_filename = "/tmp/tmpmizw9gw5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sighandler(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr @EXIT_SUCCESS, align 4 %4 = call i32 @exit(i32 noundef %3) #2 unreachable } ; Function Attrs: noreturn declare i32 @exit(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 = { 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 #2 = { 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/tmpmizw9gw5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sighandler(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr @EXIT_SUCCESS, align 4 %4 = call i32 @exit(i32 noundef %3) #2 unreachable } ; Function Attrs: noreturn declare i32 @exit(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 = { 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 #2 = { 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/tmpefnjaqig.c' source_filename = "/tmp/tmpefnjaqig.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpefnjaqig.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpvp0fst_z.c' source_filename = "/tmp/tmpvp0fst_z.c" target datalayout = "e-m:e-p270: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 [22 x i8] c"gsJavascriptEncodeMap\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @jsencodemap() #0 { %1 = alloca i32, align 4 %2 = alloca [256 x i8], align 16 store i32 0, ptr %1, align 4 br label %3 3: ; preds = %10, %0 %4 = load i32, ptr %1, align 4 %5 = icmp slt i32 %4, 256 br i1 %5, label %6, label %13 6: ; preds = %3 %7 = load i32, ptr %1, align 4 %8 = sext i32 %7 to i64 %9 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 %8 store i8 0, ptr %9, align 1 br label %10 10: ; preds = %6 %11 = load i32, ptr %1, align 4 %12 = add nsw i32 %11, 1 store i32 %12, ptr %1, align 4 br label %3, !llvm.loop !6 13: ; preds = %3 store i32 0, ptr %1, align 4 br label %14 14: ; preds = %21, %13 %15 = load i32, ptr %1, align 4 %16 = icmp slt i32 %15, 32 br i1 %16, label %17, label %24 17: ; preds = %14 %18 = load i32, ptr %1, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 %19 store i8 65, ptr %20, align 1 br label %21 21: ; preds = %17 %22 = load i32, ptr %1, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %1, align 4 br label %14, !llvm.loop !8 24: ; preds = %14 store i32 127, ptr %1, align 4 br label %25 25: ; preds = %32, %24 %26 = load i32, ptr %1, align 4 %27 = icmp slt i32 %26, 256 br i1 %27, label %28, label %35 28: ; preds = %25 %29 = load i32, ptr %1, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 %30 store i8 65, ptr %31, align 1 br label %32 32: ; preds = %28 %33 = load i32, ptr %1, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %1, align 4 br label %25, !llvm.loop !9 35: ; preds = %25 %36 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 8 store i8 98, ptr %36, align 8 %37 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 9 store i8 116, ptr %37, align 1 %38 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 10 store i8 110, ptr %38, align 2 %39 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 11 store i8 118, ptr %39, align 1 %40 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 12 store i8 102, ptr %40, align 4 %41 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 13 store i8 114, ptr %41, align 1 %42 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 92 store i8 92, ptr %42, align 4 %43 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 34 store i8 34, ptr %43, align 2 %44 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 39 store i8 39, ptr %44, align 1 %45 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %46 = call i32 @char_array_to_c(ptr noundef %45, i32 noundef 256, ptr noundef @.str) ret void } declare i32 @char_array_to_c(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvp0fst_z.c" target datalayout = "e-m:e-p270: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 [22 x i8] c"gsJavascriptEncodeMap\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @jsencodemap() #0 { %1 = alloca i32, align 4 %2 = alloca [256 x i8], align 16 store i32 0, ptr %1, align 4 %3 = load i32, ptr %1, align 4 %4 = icmp slt i32 %3, 256 br i1 %4, label %.lr.ph, label %14 .lr.ph: ; preds = %0 br label %5 5: ; preds = %.lr.ph, %9 %6 = load i32, ptr %1, align 4 %7 = sext i32 %6 to i64 %8 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 %7 store i8 0, ptr %8, align 1 br label %9 9: ; preds = %5 %10 = load i32, ptr %1, align 4 %11 = add nsw i32 %10, 1 store i32 %11, ptr %1, align 4 %12 = load i32, ptr %1, align 4 %13 = icmp slt i32 %12, 256 br i1 %13, label %5, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %9 br label %14 14: ; preds = %._crit_edge, %0 store i32 0, ptr %1, align 4 %15 = load i32, ptr %1, align 4 %16 = icmp slt i32 %15, 32 br i1 %16, label %.lr.ph2, label %26 .lr.ph2: ; preds = %14 br label %17 17: ; preds = %.lr.ph2, %21 %18 = load i32, ptr %1, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 %19 store i8 65, ptr %20, align 1 br label %21 21: ; preds = %17 %22 = load i32, ptr %1, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %1, align 4 %24 = load i32, ptr %1, align 4 %25 = icmp slt i32 %24, 32 br i1 %25, label %17, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %21 br label %26 26: ; preds = %._crit_edge3, %14 store i32 127, ptr %1, align 4 %27 = load i32, ptr %1, align 4 %28 = icmp slt i32 %27, 256 br i1 %28, label %.lr.ph5, label %38 .lr.ph5: ; preds = %26 br label %29 29: ; preds = %.lr.ph5, %33 %30 = load i32, ptr %1, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 %31 store i8 65, ptr %32, align 1 br label %33 33: ; preds = %29 %34 = load i32, ptr %1, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %1, align 4 %36 = load i32, ptr %1, align 4 %37 = icmp slt i32 %36, 256 br i1 %37, label %29, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %33 br label %38 38: ; preds = %._crit_edge6, %26 %39 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 8 store i8 98, ptr %39, align 8 %40 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 9 store i8 116, ptr %40, align 1 %41 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 10 store i8 110, ptr %41, align 2 %42 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 11 store i8 118, ptr %42, align 1 %43 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 12 store i8 102, ptr %43, align 4 %44 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 13 store i8 114, ptr %44, align 1 %45 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 92 store i8 92, ptr %45, align 4 %46 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 34 store i8 34, ptr %46, align 2 %47 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 39 store i8 39, ptr %47, align 1 %48 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %49 = call i32 @char_array_to_c(ptr noundef %48, i32 noundef 256, ptr noundef @.str) ret void } declare i32 @char_array_to_c(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpdqtkywm3.c' source_filename = "/tmp/tmpdqtkywm3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [32 x i8] c"Unable to reallocate %lu bytes\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @Realloc(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load i64, ptr %4, align 8 %8 = call ptr @realloc(ptr noundef %6, i64 noundef %7) #4 store ptr %8, ptr %5, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %16, label %10 10: ; preds = %2 %11 = load i32, ptr @stderr, align 4 %12 = load i64, ptr %4, align 8 %13 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str, i64 noundef %12) %14 = load i32, ptr @EXIT_FAILURE, align 4 %15 = call i32 @exit(i32 noundef %14) #5 unreachable 16: ; preds = %2 %17 = load ptr, ptr %5, align 8 ret ptr %17 } ; Function Attrs: allocsize(1) declare ptr @realloc(ptr noundef, i64 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i64 noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(1) "frame-pointer"="all" "no-trapping-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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { allocsize(1) } attributes #5 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdqtkywm3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [32 x i8] c"Unable to reallocate %lu bytes\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @Realloc(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load i64, ptr %4, align 8 %8 = call ptr @realloc(ptr noundef %6, i64 noundef %7) #4 store ptr %8, ptr %5, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %16, label %10 10: ; preds = %2 %11 = load i32, ptr @stderr, align 4 %12 = load i64, ptr %4, align 8 %13 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str, i64 noundef %12) %14 = load i32, ptr @EXIT_FAILURE, align 4 %15 = call i32 @exit(i32 noundef %14) #5 unreachable 16: ; preds = %2 %17 = load ptr, ptr %5, align 8 ret ptr %17 } ; Function Attrs: allocsize(1) declare ptr @realloc(ptr noundef, i64 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i64 noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { allocsize(1) "frame-pointer"="all" "no-trapping-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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { allocsize(1) } attributes #5 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkx2nixyg.c' source_filename = "/tmp/tmpkx2nixyg.c" target datalayout = "e-m:e-p270: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/tmpkx2nixyg.c" target datalayout = "e-m:e-p270: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/tmptgp0wirw.c' source_filename = "/tmp/tmptgp0wirw.c" target datalayout = "e-m:e-p270: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 @executeProgram(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca [13312 x i8], align 16 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca [35 x i8], align 16 %9 = alloca [16 x i8], align 16 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %10 = load i32, ptr %4, align 4 %11 = call i64 @mod(i32 noundef %10, i32 noundef 4096) %12 = icmp ne i64 %11, 0 br i1 %12, label %13, label %51 13: ; preds = %2 %14 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 0 store i8 83, ptr %14, align 16 %15 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 1 store i8 101, ptr %15, align 1 %16 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 2 store i8 103, ptr %16, align 2 %17 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 3 store i8 109, ptr %17, align 1 %18 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 4 store i8 101, ptr %18, align 4 %19 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 5 store i8 110, ptr %19, align 1 %20 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 6 store i8 116, ptr %20, align 2 %21 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 7 store i8 32, ptr %21, align 1 %22 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 8 store i8 110, ptr %22, align 8 %23 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 9 store i8 111, ptr %23, align 1 %24 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 10 store i8 116, ptr %24, align 2 %25 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 11 store i8 32, ptr %25, align 1 %26 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 12 store i8 97, ptr %26, align 4 %27 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 13 store i8 32, ptr %27, align 1 %28 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 14 store i8 109, ptr %28, align 2 %29 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 15 store i8 117, ptr %29, align 1 %30 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 16 store i8 108, ptr %30, align 16 %31 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 17 store i8 116, ptr %31, align 1 %32 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 18 store i8 105, ptr %32, align 2 %33 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 19 store i8 112, ptr %33, align 1 %34 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 20 store i8 108, ptr %34, align 4 %35 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 21 store i8 101, ptr %35, align 1 %36 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 22 store i8 32, ptr %36, align 2 %37 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 23 store i8 111, ptr %37, align 1 %38 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 24 store i8 102, ptr %38, align 8 %39 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 25 store i8 32, ptr %39, align 1 %40 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 26 store i8 48, ptr %40, align 2 %41 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 27 store i8 120, ptr %41, align 1 %42 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 28 store i8 49, ptr %42, align 4 %43 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 29 store i8 48, ptr %43, align 1 %44 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 30 store i8 48, ptr %44, align 2 %45 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 31 store i8 48, ptr %45, align 1 %46 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 32 store i8 13, ptr %46, align 16 %47 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 33 store i8 10, ptr %47, align 1 %48 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 34 store i8 0, ptr %48, align 2 %49 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 0 %50 = call i32 @printString(ptr noundef %49) br label %104 51: ; preds = %2 %52 = load i32, ptr %4, align 4 %53 = icmp eq i32 %52, 0 br i1 %53, label %60, label %54 54: ; preds = %51 %55 = load i32, ptr %4, align 4 %56 = icmp eq i32 %55, 4096 br i1 %56, label %60, label %57 57: ; preds = %54 %58 = load i32, ptr %4, align 4 %59 = icmp sgt i32 %58, 40960 br i1 %59, label %60, label %79 60: ; preds = %57, %54, %51 %61 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 0 store i8 73, ptr %61, align 16 %62 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 1 store i8 108, ptr %62, align 1 %63 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 2 store i8 108, ptr %63, align 2 %64 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 3 store i8 101, ptr %64, align 1 %65 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 4 store i8 103, ptr %65, align 4 %66 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 5 store i8 97, ptr %66, align 1 %67 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 6 store i8 108, ptr %67, align 2 %68 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 7 store i8 32, ptr %68, align 1 %69 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 8 store i8 115, ptr %69, align 8 %70 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 9 store i8 101, ptr %70, align 1 %71 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 10 store i8 103, ptr %71, align 2 %72 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 11 store i8 109, ptr %72, align 1 %73 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 12 store i8 101, ptr %73, align 4 %74 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 13 store i8 110, ptr %74, align 1 %75 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 14 store i8 116, ptr %75, align 2 %76 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 15 store i8 0, ptr %76, align 1 %77 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 0 %78 = call i32 @printString(ptr noundef %77) br label %104 79: ; preds = %57 br label %80 80: ; preds = %79 %81 = load ptr, ptr %3, align 8 %82 = getelementptr inbounds [13312 x i8], ptr %5, i64 0, i64 0 %83 = call i32 @readFile(ptr noundef %81, ptr noundef %82) store i32 %83, ptr %6, align 4 %84 = load i32, ptr %6, align 4 %85 = icmp eq i32 %84, 0 br i1 %85, label %86, label %104 86: ; preds = %80 store i32 0, ptr %7, align 4 br label %87 87: ; preds = %98, %86 %88 = load i32, ptr %7, align 4 %89 = icmp ult i32 %88, 13312 br i1 %89, label %90, label %101 90: ; preds = %87 %91 = load i32, ptr %4, align 4 %92 = load i32, ptr %7, align 4 %93 = load i32, ptr %7, align 4 %94 = zext i32 %93 to i64 %95 = getelementptr inbounds [13312 x i8], ptr %5, i64 0, i64 %94 %96 = load i8, ptr %95, align 1 %97 = call i32 @putInMemory(i32 noundef %91, i32 noundef %92, i8 noundef signext %96) br label %98 98: ; preds = %90 %99 = load i32, ptr %7, align 4 %100 = add i32 %99, 1 store i32 %100, ptr %7, align 4 br label %87, !llvm.loop !6 101: ; preds = %87 %102 = load i32, ptr %4, align 4 %103 = call i32 @launchProgram(i32 noundef %102) br label %104 104: ; preds = %13, %60, %101, %80 ret void } declare i64 @mod(i32 noundef, i32 noundef) #1 declare i32 @printString(ptr noundef) #1 declare i32 @readFile(ptr noundef, ptr noundef) #1 declare i32 @putInMemory(i32 noundef, i32 noundef, i8 noundef signext) #1 declare i32 @launchProgram(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/tmptgp0wirw.c" target datalayout = "e-m:e-p270: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 @executeProgram(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca [13312 x i8], align 16 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca [35 x i8], align 16 %9 = alloca [16 x i8], align 16 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %10 = load i32, ptr %4, align 4 %11 = call i64 @mod(i32 noundef %10, i32 noundef 4096) %12 = icmp ne i64 %11, 0 br i1 %12, label %13, label %51 13: ; preds = %2 %14 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 0 store i8 83, ptr %14, align 16 %15 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 1 store i8 101, ptr %15, align 1 %16 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 2 store i8 103, ptr %16, align 2 %17 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 3 store i8 109, ptr %17, align 1 %18 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 4 store i8 101, ptr %18, align 4 %19 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 5 store i8 110, ptr %19, align 1 %20 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 6 store i8 116, ptr %20, align 2 %21 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 7 store i8 32, ptr %21, align 1 %22 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 8 store i8 110, ptr %22, align 8 %23 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 9 store i8 111, ptr %23, align 1 %24 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 10 store i8 116, ptr %24, align 2 %25 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 11 store i8 32, ptr %25, align 1 %26 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 12 store i8 97, ptr %26, align 4 %27 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 13 store i8 32, ptr %27, align 1 %28 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 14 store i8 109, ptr %28, align 2 %29 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 15 store i8 117, ptr %29, align 1 %30 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 16 store i8 108, ptr %30, align 16 %31 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 17 store i8 116, ptr %31, align 1 %32 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 18 store i8 105, ptr %32, align 2 %33 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 19 store i8 112, ptr %33, align 1 %34 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 20 store i8 108, ptr %34, align 4 %35 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 21 store i8 101, ptr %35, align 1 %36 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 22 store i8 32, ptr %36, align 2 %37 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 23 store i8 111, ptr %37, align 1 %38 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 24 store i8 102, ptr %38, align 8 %39 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 25 store i8 32, ptr %39, align 1 %40 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 26 store i8 48, ptr %40, align 2 %41 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 27 store i8 120, ptr %41, align 1 %42 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 28 store i8 49, ptr %42, align 4 %43 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 29 store i8 48, ptr %43, align 1 %44 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 30 store i8 48, ptr %44, align 2 %45 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 31 store i8 48, ptr %45, align 1 %46 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 32 store i8 13, ptr %46, align 16 %47 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 33 store i8 10, ptr %47, align 1 %48 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 34 store i8 0, ptr %48, align 2 %49 = getelementptr inbounds [35 x i8], ptr %8, i64 0, i64 0 %50 = call i32 @printString(ptr noundef %49) br label %105 51: ; preds = %2 %52 = load i32, ptr %4, align 4 %53 = icmp eq i32 %52, 0 br i1 %53, label %60, label %54 54: ; preds = %51 %55 = load i32, ptr %4, align 4 %56 = icmp eq i32 %55, 4096 br i1 %56, label %60, label %57 57: ; preds = %54 %58 = load i32, ptr %4, align 4 %59 = icmp sgt i32 %58, 40960 br i1 %59, label %60, label %79 60: ; preds = %57, %54, %51 %61 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 0 store i8 73, ptr %61, align 16 %62 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 1 store i8 108, ptr %62, align 1 %63 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 2 store i8 108, ptr %63, align 2 %64 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 3 store i8 101, ptr %64, align 1 %65 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 4 store i8 103, ptr %65, align 4 %66 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 5 store i8 97, ptr %66, align 1 %67 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 6 store i8 108, ptr %67, align 2 %68 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 7 store i8 32, ptr %68, align 1 %69 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 8 store i8 115, ptr %69, align 8 %70 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 9 store i8 101, ptr %70, align 1 %71 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 10 store i8 103, ptr %71, align 2 %72 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 11 store i8 109, ptr %72, align 1 %73 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 12 store i8 101, ptr %73, align 4 %74 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 13 store i8 110, ptr %74, align 1 %75 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 14 store i8 116, ptr %75, align 2 %76 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 15 store i8 0, ptr %76, align 1 %77 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 0 %78 = call i32 @printString(ptr noundef %77) br label %105 79: ; preds = %57 br label %80 80: ; preds = %79 %81 = load ptr, ptr %3, align 8 %82 = getelementptr inbounds [13312 x i8], ptr %5, i64 0, i64 0 %83 = call i32 @readFile(ptr noundef %81, ptr noundef %82) store i32 %83, ptr %6, align 4 %84 = load i32, ptr %6, align 4 %85 = icmp eq i32 %84, 0 br i1 %85, label %86, label %105 86: ; preds = %80 store i32 0, ptr %7, align 4 %87 = load i32, ptr %7, align 4 %88 = icmp ult i32 %87, 13312 br i1 %88, label %.lr.ph, label %102 .lr.ph: ; preds = %86 br label %89 89: ; preds = %.lr.ph, %97 %90 = load i32, ptr %4, align 4 %91 = load i32, ptr %7, align 4 %92 = load i32, ptr %7, align 4 %93 = zext i32 %92 to i64 %94 = getelementptr inbounds [13312 x i8], ptr %5, i64 0, i64 %93 %95 = load i8, ptr %94, align 1 %96 = call i32 @putInMemory(i32 noundef %90, i32 noundef %91, i8 noundef signext %95) br label %97 97: ; preds = %89 %98 = load i32, ptr %7, align 4 %99 = add i32 %98, 1 store i32 %99, ptr %7, align 4 %100 = load i32, ptr %7, align 4 %101 = icmp ult i32 %100, 13312 br i1 %101, label %89, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %97 br label %102 102: ; preds = %._crit_edge, %86 %103 = load i32, ptr %4, align 4 %104 = call i32 @launchProgram(i32 noundef %103) br label %105 105: ; preds = %102, %80, %60, %13 ret void } declare i64 @mod(i32 noundef, i32 noundef) #1 declare i32 @printString(ptr noundef) #1 declare i32 @readFile(ptr noundef, ptr noundef) #1 declare i32 @putInMemory(i32 noundef, i32 noundef, i8 noundef signext) #1 declare i32 @launchProgram(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/tmpknqo5y35.c' source_filename = "/tmp/tmpknqo5y35.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"\E7\9B\B8\E5\AF\B9\E8\BE\83\E5\A4\A7\E7\9A\84\E6\95\B0\E6\98\AF\EF\BC\9A%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 store i32 0, ptr %1, align 4 %3 = call i32 @max(i32 noundef 32, i32 noundef 57) store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @printf(ptr noundef @.str, i32 noundef %4) ret i32 0 } declare i32 @max(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpknqo5y35.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"\E7\9B\B8\E5\AF\B9\E8\BE\83\E5\A4\A7\E7\9A\84\E6\95\B0\E6\98\AF\EF\BC\9A%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 store i32 0, ptr %1, align 4 %3 = call i32 @max(i32 noundef 32, i32 noundef 57) store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @printf(ptr noundef @.str, i32 noundef %4) ret i32 0 } declare i32 @max(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmph8h7cojq.c' source_filename = "/tmp/tmph8h7cojq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"Unimplemented %s called, exiting\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"_Q_mul\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @_Q_mul() #0 { %1 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1) %2 = call i32 @exit(i32 noundef -1) #3 unreachable } declare i32 @printf(ptr noundef, 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/tmph8h7cojq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"Unimplemented %s called, exiting\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"_Q_mul\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @_Q_mul() #0 { %1 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1) %2 = call i32 @exit(i32 noundef -1) #3 unreachable } declare i32 @printf(ptr noundef, 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/tmph89x0pmf.c' source_filename = "/tmp/tmph89x0pmf.c" target datalayout = "e-m:e-p270: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 [41 x i8] c"Recieved unknown packet from user %d: %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @handleUnknown(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 i32, ptr %3, align 4 %6 = load ptr, ptr %4, align 8 %7 = call i32 @printf(ptr noundef @.str, i32 noundef %5, ptr noundef %6) ret void } declare i32 @printf(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/tmph89x0pmf.c" target datalayout = "e-m:e-p270: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 [41 x i8] c"Recieved unknown packet from user %d: %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @handleUnknown(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 i32, ptr %3, align 4 %6 = load ptr, ptr %4, align 8 %7 = call i32 @printf(ptr noundef @.str, i32 noundef %5, ptr noundef %6) ret void } declare i32 @printf(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/tmp3enufx85.c' source_filename = "/tmp/tmp3enufx85.c" target datalayout = "e-m:e-p270: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 [17 x i8] c"sigint handled!\0A\00", align 1 @SIGUSR1 = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sigint_handler(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 @printf(ptr noundef @.str) %4 = load i32, ptr @SIGUSR1, align 4 %5 = call i32 @raise(i32 noundef %4) ret void } declare i32 @printf(ptr noundef) #1 declare i32 @raise(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/tmp3enufx85.c" target datalayout = "e-m:e-p270: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 [17 x i8] c"sigint handled!\0A\00", align 1 @SIGUSR1 = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sigint_handler(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 @printf(ptr noundef @.str) %4 = load i32, ptr @SIGUSR1, align 4 %5 = call i32 @raise(i32 noundef %4) ret void } declare i32 @printf(ptr noundef) #1 declare i32 @raise(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/tmpispkbk5j.c' source_filename = "/tmp/tmpispkbk5j.c" target datalayout = "e-m:e-p270: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/tmpispkbk5j.c" target datalayout = "e-m:e-p270: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/tmp7l55yunf.c' source_filename = "/tmp/tmp7l55yunf.c" target datalayout = "e-m:e-p270: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_4__ = type { %struct.TYPE_3__ } %struct.TYPE_3__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_XEvent_xkeymap_key_vector(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i32 0, i32 0 %5 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i32 0, i32 0 %6 = load i64, ptr %5, align 8 %7 = inttoptr i64 %6 to ptr ret ptr %7 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmp7l55yunf.c" target datalayout = "e-m:e-p270: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_4__ = type { %struct.TYPE_3__ } %struct.TYPE_3__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_XEvent_xkeymap_key_vector(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i32 0, i32 0 %5 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i32 0, i32 0 %6 = load i64, ptr %5, align 8 %7 = inttoptr i64 %6 to ptr ret ptr %7 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmp5mz0_d7c.c' source_filename = "/tmp/tmp5mz0_d7c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"MODE %s %s\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @irc_command_mode_nicks(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store i32 %4, ptr %11, align 4 store ptr %5, ptr %12, align 8 store i32 0, ptr %14, align 4 store i32 1, ptr %13, align 4 br label %16 16: ; preds = %30, %6 %17 = load i32, ptr %13, align 4 %18 = load i32, ptr %11, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %20, label %33 20: ; preds = %16 %21 = load ptr, ptr %12, align 8 %22 = load i32, ptr %13, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds ptr, ptr %21, i64 %23 %25 = load ptr, ptr %24, align 8 %26 = call i32 @strlen(ptr noundef %25) %27 = add nsw i32 %26, 1 %28 = load i32, ptr %14, align 4 %29 = add nsw i32 %28, %27 store i32 %29, ptr %14, align 4 br label %30 30: ; preds = %20 %31 = load i32, ptr %13, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %13, align 4 br label %16, !llvm.loop !6 33: ; preds = %16 %34 = load ptr, ptr %8, align 8 %35 = call i32 @strlen(ptr noundef %34) %36 = load i32, ptr %11, align 4 %37 = load ptr, ptr %10, align 8 %38 = call i32 @strlen(ptr noundef %37) %39 = mul nsw i32 %36, %38 %40 = add nsw i32 %35, %39 %41 = add nsw i32 %40, 32 %42 = load i32, ptr %14, align 4 %43 = add nsw i32 %42, %41 store i32 %43, ptr %14, align 4 %44 = load i32, ptr %14, align 4 %45 = call ptr @malloc(i32 noundef %44) store ptr %45, ptr %15, align 8 %46 = load ptr, ptr %15, align 8 %47 = icmp ne ptr %46, null br i1 %47, label %48, label %89 48: ; preds = %33 %49 = load ptr, ptr %15, align 8 %50 = load i32, ptr %14, align 4 %51 = load ptr, ptr %8, align 8 %52 = load ptr, ptr %9, align 8 %53 = call i32 @snprintf(ptr noundef %49, i32 noundef %50, ptr noundef @.str, ptr noundef %51, ptr noundef %52) store i32 1, ptr %13, align 4 br label %54 54: ; preds = %62, %48 %55 = load i32, ptr %13, align 4 %56 = load i32, ptr %11, align 4 %57 = icmp slt i32 %55, %56 br i1 %57, label %58, label %65 58: ; preds = %54 %59 = load ptr, ptr %15, align 8 %60 = load ptr, ptr %10, align 8 %61 = call i32 @strcat(ptr noundef %59, ptr noundef %60) br label %62 62: ; preds = %58 %63 = load i32, ptr %13, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %13, align 4 br label %54, !llvm.loop !8 65: ; preds = %54 store i32 1, ptr %13, align 4 br label %66 66: ; preds = %80, %65 %67 = load i32, ptr %13, align 4 %68 = load i32, ptr %11, align 4 %69 = icmp slt i32 %67, %68 br i1 %69, label %70, label %83 70: ; preds = %66 %71 = load ptr, ptr %15, align 8 %72 = call i32 @strcat(ptr noundef %71, ptr noundef @.str.1) %73 = load ptr, ptr %15, align 8 %74 = load ptr, ptr %12, align 8 %75 = load i32, ptr %13, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds ptr, ptr %74, i64 %76 %78 = load ptr, ptr %77, align 8 %79 = call i32 @strcat(ptr noundef %73, ptr noundef %78) br label %80 80: ; preds = %70 %81 = load i32, ptr %13, align 4 %82 = add nsw i32 %81, 1 store i32 %82, ptr %13, align 4 br label %66, !llvm.loop !9 83: ; preds = %66 %84 = load ptr, ptr %7, align 8 %85 = load ptr, ptr %15, align 8 %86 = call i32 @irc_server_sendf(ptr noundef %84, i32 noundef 0, ptr noundef @.str.2, ptr noundef %85) %87 = load ptr, ptr %15, align 8 %88 = call i32 @free(ptr noundef %87) br label %89 89: ; preds = %83, %33 ret void } declare i32 @strlen(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @irc_server_sendf(ptr noundef, i32 noundef, ptr noundef, 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/tmp5mz0_d7c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"MODE %s %s\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @irc_command_mode_nicks(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store i32 %4, ptr %11, align 4 store ptr %5, ptr %12, align 8 store i32 0, ptr %14, align 4 store i32 1, ptr %13, align 4 %16 = load i32, ptr %13, align 4 %17 = load i32, ptr %11, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %.lr.ph, label %35 .lr.ph: ; preds = %6 br label %19 19: ; preds = %.lr.ph, %29 %20 = load ptr, ptr %12, align 8 %21 = load i32, ptr %13, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds ptr, ptr %20, i64 %22 %24 = load ptr, ptr %23, align 8 %25 = call i32 @strlen(ptr noundef %24) %26 = add nsw i32 %25, 1 %27 = load i32, ptr %14, align 4 %28 = add nsw i32 %27, %26 store i32 %28, ptr %14, align 4 br label %29 29: ; preds = %19 %30 = load i32, ptr %13, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %13, align 4 %32 = load i32, ptr %13, align 4 %33 = load i32, ptr %11, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %35 35: ; preds = %._crit_edge, %6 %36 = load ptr, ptr %8, align 8 %37 = call i32 @strlen(ptr noundef %36) %38 = load i32, ptr %11, align 4 %39 = load ptr, ptr %10, align 8 %40 = call i32 @strlen(ptr noundef %39) %41 = mul nsw i32 %38, %40 %42 = add nsw i32 %37, %41 %43 = add nsw i32 %42, 32 %44 = load i32, ptr %14, align 4 %45 = add nsw i32 %44, %43 store i32 %45, ptr %14, align 4 %46 = load i32, ptr %14, align 4 %47 = call ptr @malloc(i32 noundef %46) store ptr %47, ptr %15, align 8 %48 = load ptr, ptr %15, align 8 %49 = icmp ne ptr %48, null br i1 %49, label %50, label %95 50: ; preds = %35 %51 = load ptr, ptr %15, align 8 %52 = load i32, ptr %14, align 4 %53 = load ptr, ptr %8, align 8 %54 = load ptr, ptr %9, align 8 %55 = call i32 @snprintf(ptr noundef %51, i32 noundef %52, ptr noundef @.str, ptr noundef %53, ptr noundef %54) store i32 1, ptr %13, align 4 %56 = load i32, ptr %13, align 4 %57 = load i32, ptr %11, align 4 %58 = icmp slt i32 %56, %57 br i1 %58, label %.lr.ph2, label %69 .lr.ph2: ; preds = %50 br label %59 59: ; preds = %.lr.ph2, %63 %60 = load ptr, ptr %15, align 8 %61 = load ptr, ptr %10, align 8 %62 = call i32 @strcat(ptr noundef %60, ptr noundef %61) br label %63 63: ; preds = %59 %64 = load i32, ptr %13, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %13, align 4 %66 = load i32, ptr %13, align 4 %67 = load i32, ptr %11, align 4 %68 = icmp slt i32 %66, %67 br i1 %68, label %59, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %63 br label %69 69: ; preds = %._crit_edge3, %50 store i32 1, ptr %13, align 4 %70 = load i32, ptr %13, align 4 %71 = load i32, ptr %11, align 4 %72 = icmp slt i32 %70, %71 br i1 %72, label %.lr.ph5, label %89 .lr.ph5: ; preds = %69 br label %73 73: ; preds = %.lr.ph5, %83 %74 = load ptr, ptr %15, align 8 %75 = call i32 @strcat(ptr noundef %74, ptr noundef @.str.1) %76 = load ptr, ptr %15, align 8 %77 = load ptr, ptr %12, align 8 %78 = load i32, ptr %13, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds ptr, ptr %77, i64 %79 %81 = load ptr, ptr %80, align 8 %82 = call i32 @strcat(ptr noundef %76, ptr noundef %81) br label %83 83: ; preds = %73 %84 = load i32, ptr %13, align 4 %85 = add nsw i32 %84, 1 store i32 %85, ptr %13, align 4 %86 = load i32, ptr %13, align 4 %87 = load i32, ptr %11, align 4 %88 = icmp slt i32 %86, %87 br i1 %88, label %73, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %83 br label %89 89: ; preds = %._crit_edge6, %69 %90 = load ptr, ptr %7, align 8 %91 = load ptr, ptr %15, align 8 %92 = call i32 @irc_server_sendf(ptr noundef %90, i32 noundef 0, ptr noundef @.str.2, ptr noundef %91) %93 = load ptr, ptr %15, align 8 %94 = call i32 @free(ptr noundef %93) br label %95 95: ; preds = %89, %35 ret void } declare i32 @strlen(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @irc_server_sendf(ptr noundef, i32 noundef, ptr noundef, 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/tmpyslpdmc0.c' source_filename = "/tmp/tmpyslpdmc0.c" target datalayout = "e-m:e-p270: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 @compute_bli(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = 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 i32 %3, ptr %9, align 4 store i32 %4, ptr %10, align 4 %14 = load i32, ptr %9, align 4 %15 = load i32, ptr %8, align 4 %16 = mul nsw i32 %14, %15 %17 = load i32, ptr %10, align 4 %18 = mul nsw i32 %16, %17 store i32 %18, ptr %13, align 4 %19 = load i32, ptr %13, align 4 %20 = call i64 @calloc(i32 noundef %19, i32 noundef 4) %21 = inttoptr i64 %20 to ptr store ptr %21, ptr %12, align 8 store i32 0, ptr %11, align 4 br label %22 22: ; preds = %31, %5 %23 = load i32, ptr %11, align 4 %24 = load i32, ptr %13, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %26, label %34 26: ; preds = %22 %27 = load ptr, ptr %12, align 8 %28 = load i32, ptr %11, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i32, ptr %27, i64 %29 store i32 0, ptr %30, align 4 br label %31 31: ; preds = %26 %32 = load i32, ptr %11, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %11, align 4 br label %22, !llvm.loop !6 34: ; preds = %22 store i32 0, ptr %11, align 4 br label %35 35: ; preds = %58, %34 %36 = load i32, ptr %11, align 4 %37 = load i32, ptr %13, align 4 %38 = icmp slt i32 %36, %37 br i1 %38, label %39, label %61 39: ; preds = %35 %40 = load ptr, ptr %6, align 8 %41 = load i32, ptr %11, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds float, ptr %40, i64 %42 %44 = load float, ptr %43, align 4 %45 = load ptr, ptr %7, align 8 %46 = load i32, ptr %11, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds float, ptr %45, i64 %47 %49 = load float, ptr %48, align 4 %50 = fsub float %44, %49 %51 = fpext float %50 to double %52 = fcmp ogt double %51, 0.000000e+00 %53 = zext i1 %52 to i32 %54 = load ptr, ptr %12, align 8 %55 = load i32, ptr %11, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds i32, ptr %54, i64 %56 store i32 %53, ptr %57, align 4 br label %58 58: ; preds = %39 %59 = load i32, ptr %11, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %11, align 4 br label %35, !llvm.loop !8 61: ; preds = %35 %62 = load ptr, ptr %12, align 8 ret ptr %62 } declare i64 @calloc(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyslpdmc0.c" target datalayout = "e-m:e-p270: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 @compute_bli(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = 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 i32 %3, ptr %9, align 4 store i32 %4, ptr %10, align 4 %14 = load i32, ptr %9, align 4 %15 = load i32, ptr %8, align 4 %16 = mul nsw i32 %14, %15 %17 = load i32, ptr %10, align 4 %18 = mul nsw i32 %16, %17 store i32 %18, ptr %13, align 4 %19 = load i32, ptr %13, align 4 %20 = call i64 @calloc(i32 noundef %19, i32 noundef 4) %21 = inttoptr i64 %20 to ptr store ptr %21, ptr %12, align 8 store i32 0, ptr %11, align 4 %22 = load i32, ptr %11, align 4 %23 = load i32, ptr %13, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %.lr.ph, label %36 .lr.ph: ; preds = %5 br label %25 25: ; preds = %.lr.ph, %30 %26 = load ptr, ptr %12, align 8 %27 = load i32, ptr %11, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i32, ptr %26, i64 %28 store i32 0, ptr %29, align 4 br label %30 30: ; preds = %25 %31 = load i32, ptr %11, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %11, align 4 %33 = load i32, ptr %11, align 4 %34 = load i32, ptr %13, align 4 %35 = icmp slt i32 %33, %34 br i1 %35, label %25, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %30 br label %36 36: ; preds = %._crit_edge, %5 store i32 0, ptr %11, align 4 %37 = load i32, ptr %11, align 4 %38 = load i32, ptr %13, align 4 %39 = icmp slt i32 %37, %38 br i1 %39, label %.lr.ph2, label %65 .lr.ph2: ; preds = %36 br label %40 40: ; preds = %.lr.ph2, %59 %41 = load ptr, ptr %6, align 8 %42 = load i32, ptr %11, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds float, ptr %41, i64 %43 %45 = load float, ptr %44, align 4 %46 = load ptr, ptr %7, align 8 %47 = load i32, ptr %11, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds float, ptr %46, i64 %48 %50 = load float, ptr %49, align 4 %51 = fsub float %45, %50 %52 = fpext float %51 to double %53 = fcmp ogt double %52, 0.000000e+00 %54 = zext i1 %53 to i32 %55 = load ptr, ptr %12, align 8 %56 = load i32, ptr %11, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds i32, ptr %55, i64 %57 store i32 %54, ptr %58, align 4 br label %59 59: ; preds = %40 %60 = load i32, ptr %11, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %11, align 4 %62 = load i32, ptr %11, align 4 %63 = load i32, ptr %13, align 4 %64 = icmp slt i32 %62, %63 br i1 %64, label %40, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %59 br label %65 65: ; preds = %._crit_edge3, %36 %66 = load ptr, ptr %12, align 8 ret ptr %66 } declare i64 @calloc(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp9c3v6vke.c' source_filename = "/tmp/tmp9c3v6vke.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"FTPCLIENT HELP\0A\00", align 1 @.str.1 = private unnamed_addr constant [59 x i8] c"\0AUsage:\0A-with parameters:\09./ftpclient -p <port> -h <host>\0A\00", align 1 @.str.2 = private unnamed_addr constant [109 x i8] c"-without parameters:\09./ftpclient\0A\0A! If using without parameters, use: open <addr>:<port> when connecting !\0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [86 x i8] c"For help with program commands, use \22help\22 command in program or ./ftpclient --help\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(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 eq i32 %3, 1 br i1 %4, label %5, label %7 5: ; preds = %1 %6 = call i32 @printf(ptr noundef @.str) br label %7 7: ; preds = %5, %1 %8 = call i32 @printf(ptr noundef @.str.1) %9 = call i32 @printf(ptr noundef @.str.2) %10 = call i32 @printf(ptr noundef @.str.3) %11 = load i32, ptr %2, align 4 %12 = icmp eq i32 %11, 1 br i1 %12, label %13, label %15 13: ; preds = %7 %14 = call i32 (...) @commands() br label %15 15: ; preds = %13, %7 %16 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @printf(ptr noundef) #1 declare i32 @commands(...) #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/tmp9c3v6vke.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"FTPCLIENT HELP\0A\00", align 1 @.str.1 = private unnamed_addr constant [59 x i8] c"\0AUsage:\0A-with parameters:\09./ftpclient -p <port> -h <host>\0A\00", align 1 @.str.2 = private unnamed_addr constant [109 x i8] c"-without parameters:\09./ftpclient\0A\0A! If using without parameters, use: open <addr>:<port> when connecting !\0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [86 x i8] c"For help with program commands, use \22help\22 command in program or ./ftpclient --help\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(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 eq i32 %3, 1 br i1 %4, label %5, label %7 5: ; preds = %1 %6 = call i32 @printf(ptr noundef @.str) br label %7 7: ; preds = %5, %1 %8 = call i32 @printf(ptr noundef @.str.1) %9 = call i32 @printf(ptr noundef @.str.2) %10 = call i32 @printf(ptr noundef @.str.3) %11 = load i32, ptr %2, align 4 %12 = icmp eq i32 %11, 1 br i1 %12, label %13, label %15 13: ; preds = %7 %14 = call i32 (...) @commands() br label %15 15: ; preds = %13, %7 %16 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @printf(ptr noundef) #1 declare i32 @commands(...) #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/tmpae_oh8rq.c' source_filename = "/tmp/tmpae_oh8rq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @COLOR_YELLOW = dso_local global i32 0, align 4 @COLOR_BLUE = dso_local global i32 0, align 4 @COLOR_RED = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @init_ui() #0 { %1 = call i32 (...) @initscr() %2 = call i32 (...) @cbreak() %3 = call i32 (...) @noecho() %4 = call i32 (...) @refresh() %5 = call i32 (...) @start_color() %6 = load i32, ptr @COLOR_YELLOW, align 4 %7 = load i32, ptr @COLOR_BLUE, align 4 %8 = call i32 @init_pair(i32 noundef 1, i32 noundef %6, i32 noundef %7) %9 = load i32, ptr @COLOR_YELLOW, align 4 %10 = load i32, ptr @COLOR_RED, align 4 %11 = call i32 @init_pair(i32 noundef 2, i32 noundef %9, i32 noundef %10) %12 = call i32 @curs_set(i32 noundef 0) ret void } declare i32 @initscr(...) #1 declare i32 @cbreak(...) #1 declare i32 @noecho(...) #1 declare i32 @refresh(...) #1 declare i32 @start_color(...) #1 declare i32 @init_pair(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @curs_set(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/tmpae_oh8rq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @COLOR_YELLOW = dso_local global i32 0, align 4 @COLOR_BLUE = dso_local global i32 0, align 4 @COLOR_RED = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @init_ui() #0 { %1 = call i32 (...) @initscr() %2 = call i32 (...) @cbreak() %3 = call i32 (...) @noecho() %4 = call i32 (...) @refresh() %5 = call i32 (...) @start_color() %6 = load i32, ptr @COLOR_YELLOW, align 4 %7 = load i32, ptr @COLOR_BLUE, align 4 %8 = call i32 @init_pair(i32 noundef 1, i32 noundef %6, i32 noundef %7) %9 = load i32, ptr @COLOR_YELLOW, align 4 %10 = load i32, ptr @COLOR_RED, align 4 %11 = call i32 @init_pair(i32 noundef 2, i32 noundef %9, i32 noundef %10) %12 = call i32 @curs_set(i32 noundef 0) ret void } declare i32 @initscr(...) #1 declare i32 @cbreak(...) #1 declare i32 @noecho(...) #1 declare i32 @refresh(...) #1 declare i32 @start_color(...) #1 declare i32 @init_pair(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @curs_set(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/tmpqamh0saf.c' source_filename = "/tmp/tmpqamh0saf.c" target datalayout = "e-m:e-p270: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 i32] [i32 37, i32 117, i32 0], align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @concatUInt32(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca [32 x i32], align 16 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = getelementptr inbounds [32 x i32], ptr %5, i64 0, i64 0 %7 = load i32, ptr %4, align 4 %8 = call i32 @_swprintf(ptr noundef %6, ptr noundef @.str, i32 noundef %7) %9 = load ptr, ptr %3, align 8 %10 = getelementptr inbounds [32 x i32], ptr %5, i64 0, i64 0 %11 = call ptr @concat(ptr noundef %9, ptr noundef %10) ret ptr %11 } declare i32 @_swprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @concat(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/tmpqamh0saf.c" target datalayout = "e-m:e-p270: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 i32] [i32 37, i32 117, i32 0], align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @concatUInt32(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca [32 x i32], align 16 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = getelementptr inbounds [32 x i32], ptr %5, i64 0, i64 0 %7 = load i32, ptr %4, align 4 %8 = call i32 @_swprintf(ptr noundef %6, ptr noundef @.str, i32 noundef %7) %9 = load ptr, ptr %3, align 8 %10 = getelementptr inbounds [32 x i32], ptr %5, i64 0, i64 0 %11 = call ptr @concat(ptr noundef %9, ptr noundef %10) ret ptr %11 } declare i32 @_swprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @concat(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/tmplr70sb15.c' source_filename = "/tmp/tmplr70sb15.c" target datalayout = "e-m:e-p270: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/tmplr70sb15.c" target datalayout = "e-m:e-p270: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/tmp740cfp96.c' source_filename = "/tmp/tmp740cfp96.c" target datalayout = "e-m:e-p270: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 @rev_str(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i8, align 1 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 store ptr %6, ptr %3, align 8 %7 = load ptr, ptr %2, align 8 %8 = load ptr, ptr %2, align 8 %9 = call i32 @strlen(ptr noundef %8) %10 = sext i32 %9 to i64 %11 = getelementptr inbounds i8, ptr %7, i64 %10 %12 = getelementptr inbounds i8, ptr %11, i64 -1 store ptr %12, ptr %4, align 8 br label %13 13: ; preds = %17, %1 %14 = load ptr, ptr %4, align 8 %15 = load ptr, ptr %3, align 8 %16 = icmp ugt ptr %14, %15 br i1 %16, label %17, label %27 17: ; preds = %13 %18 = load ptr, ptr %4, align 8 %19 = load i8, ptr %18, align 1 store i8 %19, ptr %5, align 1 %20 = load ptr, ptr %3, align 8 %21 = load i8, ptr %20, align 1 %22 = load ptr, ptr %4, align 8 %23 = getelementptr inbounds i8, ptr %22, i32 -1 store ptr %23, ptr %4, align 8 store i8 %21, ptr %22, align 1 %24 = load i8, ptr %5, align 1 %25 = load ptr, ptr %3, align 8 %26 = getelementptr inbounds i8, ptr %25, i32 1 store ptr %26, ptr %3, align 8 store i8 %24, ptr %25, align 1 br label %13, !llvm.loop !6 27: ; preds = %13 %28 = load ptr, ptr %2, align 8 ret ptr %28 } 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/tmp740cfp96.c" target datalayout = "e-m:e-p270: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 @rev_str(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i8, align 1 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 store ptr %6, ptr %3, align 8 %7 = load ptr, ptr %2, align 8 %8 = load ptr, ptr %2, align 8 %9 = call i32 @strlen(ptr noundef %8) %10 = sext i32 %9 to i64 %11 = getelementptr inbounds i8, ptr %7, i64 %10 %12 = getelementptr inbounds i8, ptr %11, i64 -1 store ptr %12, ptr %4, align 8 %13 = load ptr, ptr %4, align 8 %14 = load ptr, ptr %3, align 8 %15 = icmp ugt ptr %13, %14 br i1 %15, label %.lr.ph, label %29 .lr.ph: ; preds = %1 br label %16 16: ; preds = %.lr.ph, %16 %17 = load ptr, ptr %4, align 8 %18 = load i8, ptr %17, align 1 store i8 %18, ptr %5, align 1 %19 = load ptr, ptr %3, align 8 %20 = load i8, ptr %19, align 1 %21 = load ptr, ptr %4, align 8 %22 = getelementptr inbounds i8, ptr %21, i32 -1 store ptr %22, ptr %4, align 8 store i8 %20, ptr %21, align 1 %23 = load i8, ptr %5, align 1 %24 = load ptr, ptr %3, align 8 %25 = getelementptr inbounds i8, ptr %24, i32 1 store ptr %25, ptr %3, align 8 store i8 %23, ptr %24, align 1 %26 = load ptr, ptr %4, align 8 %27 = load ptr, ptr %3, align 8 %28 = icmp ugt ptr %26, %27 br i1 %28, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %29 29: ; preds = %._crit_edge, %1 %30 = load ptr, ptr %2, align 8 ret ptr %30 } 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/tmpl3t2it0b.c' source_filename = "/tmp/tmpl3t2it0b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = 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/tmpl3t2it0b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = 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/tmprl81fm1z.c' source_filename = "/tmp/tmprl81fm1z.c" target datalayout = "e-m:e-p270: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 @MDECODE_decode_multipart(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 @MDECODE_decode_quoted_printable(ptr noundef %3, i32 noundef 0, i8 noundef signext 37) ret i32 %4 } declare i32 @MDECODE_decode_quoted_printable(ptr noundef, i32 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/tmprl81fm1z.c" target datalayout = "e-m:e-p270: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 @MDECODE_decode_multipart(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 @MDECODE_decode_quoted_printable(ptr noundef %3, i32 noundef 0, i8 noundef signext 37) ret i32 %4 } declare i32 @MDECODE_decode_quoted_printable(ptr noundef, i32 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/tmp0oe2tthf.c' source_filename = "/tmp/tmp0oe2tthf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"mpali.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 [3 x i8] c"%s\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %10 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %10, ptr %9, align 8 %11 = load ptr, ptr %9, align 8 %12 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %11, ptr noundef @.str.2, ptr noundef %2) store i32 0, ptr %3, align 4 br label %13 13: ; preds = %70, %0 %14 = load i32, ptr %3, align 4 %15 = load i32, ptr %2, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %17, label %73 17: ; preds = %13 store i32 0, ptr %6, align 4 %18 = call ptr @malloc(i32 noundef 10000) store ptr %18, ptr %8, align 8 %19 = load ptr, ptr %9, align 8 %20 = load ptr, ptr %8, align 8 %21 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %19, ptr noundef @.str.3, ptr noundef %20) %22 = load ptr, ptr %8, align 8 %23 = call i32 @strlen(ptr noundef %22) store i32 %23, ptr %4, align 4 %24 = load ptr, ptr %8, align 8 %25 = load i32, ptr %4, align 4 %26 = add nsw i32 %25, 1 %27 = sext i32 %26 to i64 %28 = mul i64 %27, 1 %29 = trunc i64 %28 to i32 %30 = call ptr @realloc(ptr noundef %24, i32 noundef %29) store ptr %30, ptr %8, align 8 store i32 0, ptr %5, align 4 br label %31 31: ; preds = %62, %17 %32 = load i32, ptr %5, align 4 %33 = load i32, ptr %4, align 4 %34 = sdiv i32 %33, 2 %35 = icmp slt i32 %32, %34 br i1 %35, label %36, label %65 36: ; preds = %31 %37 = load ptr, ptr %8, align 8 %38 = load i32, ptr %5, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i8, ptr %37, i64 %39 %41 = load i8, ptr %40, align 1 %42 = sext i8 %41 to i32 %43 = load ptr, ptr %8, align 8 %44 = load i32, ptr %4, align 4 %45 = sub nsw i32 %44, 1 %46 = load i32, ptr %5, align 4 %47 = sub nsw i32 %45, %46 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i8, ptr %43, i64 %48 %50 = load i8, ptr %49, align 1 %51 = sext i8 %50 to i32 %52 = sub nsw i32 %42, %51 store i32 %52, ptr %7, align 4 %53 = load i32, ptr %7, align 4 %54 = icmp slt i32 %53, 0 br i1 %54, label %55, label %58 55: ; preds = %36 %56 = load i32, ptr %7, align 4 %57 = mul nsw i32 %56, -1 store i32 %57, ptr %7, align 4 br label %58 58: ; preds = %55, %36 %59 = load i32, ptr %7, align 4 %60 = load i32, ptr %6, align 4 %61 = add nsw i32 %60, %59 store i32 %61, ptr %6, align 4 br label %62 62: ; preds = %58 %63 = load i32, ptr %5, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %5, align 4 br label %31, !llvm.loop !6 65: ; preds = %31 %66 = load ptr, ptr %8, align 8 %67 = call i32 @free(ptr noundef %66) %68 = load i32, ptr %6, align 4 %69 = call i32 @printf(ptr noundef @.str.4, i32 noundef %68) br label %70 70: ; preds = %65 %71 = load i32, ptr %3, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %3, align 4 br label %13, !llvm.loop !8 73: ; preds = %13 %74 = load ptr, ptr %9, align 8 %75 = call i32 @fclose(ptr noundef %74) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ...) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @realloc(ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @printf(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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0oe2tthf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"mpali.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 [3 x i8] c"%s\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %10 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %10, ptr %9, align 8 %11 = load ptr, ptr %9, align 8 %12 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %11, ptr noundef @.str.2, ptr noundef %2) store i32 0, ptr %3, align 4 %13 = load i32, ptr %3, align 4 %14 = load i32, ptr %2, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %.lr.ph2, label %78 .lr.ph2: ; preds = %0 br label %16 16: ; preds = %.lr.ph2, %72 store i32 0, ptr %6, align 4 %17 = call ptr @malloc(i32 noundef 10000) store ptr %17, ptr %8, align 8 %18 = load ptr, ptr %9, align 8 %19 = load ptr, ptr %8, align 8 %20 = call i32 (ptr, ptr, ...) @fscanf(ptr noundef %18, ptr noundef @.str.3, ptr noundef %19) %21 = load ptr, ptr %8, align 8 %22 = call i32 @strlen(ptr noundef %21) store i32 %22, ptr %4, align 4 %23 = load ptr, ptr %8, align 8 %24 = load i32, ptr %4, align 4 %25 = add nsw i32 %24, 1 %26 = sext i32 %25 to i64 %27 = mul i64 %26, 1 %28 = trunc i64 %27 to i32 %29 = call ptr @realloc(ptr noundef %23, i32 noundef %28) store ptr %29, ptr %8, align 8 store i32 0, ptr %5, align 4 %30 = load i32, ptr %5, align 4 %31 = load i32, ptr %4, align 4 %32 = sdiv i32 %31, 2 %33 = icmp slt i32 %30, %32 br i1 %33, label %.lr.ph, label %67 .lr.ph: ; preds = %16 br label %34 34: ; preds = %.lr.ph, %60 %35 = load ptr, ptr %8, align 8 %36 = load i32, ptr %5, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %35, i64 %37 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = load ptr, ptr %8, align 8 %42 = load i32, ptr %4, align 4 %43 = sub nsw i32 %42, 1 %44 = load i32, ptr %5, align 4 %45 = sub nsw i32 %43, %44 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i8, ptr %41, i64 %46 %48 = load i8, ptr %47, align 1 %49 = sext i8 %48 to i32 %50 = sub nsw i32 %40, %49 store i32 %50, ptr %7, align 4 %51 = load i32, ptr %7, align 4 %52 = icmp slt i32 %51, 0 br i1 %52, label %53, label %56 53: ; preds = %34 %54 = load i32, ptr %7, align 4 %55 = mul nsw i32 %54, -1 store i32 %55, ptr %7, align 4 br label %56 56: ; preds = %53, %34 %57 = load i32, ptr %7, align 4 %58 = load i32, ptr %6, align 4 %59 = add nsw i32 %58, %57 store i32 %59, ptr %6, align 4 br label %60 60: ; preds = %56 %61 = load i32, ptr %5, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %5, align 4 %63 = load i32, ptr %5, align 4 %64 = load i32, ptr %4, align 4 %65 = sdiv i32 %64, 2 %66 = icmp slt i32 %63, %65 br i1 %66, label %34, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %60 br label %67 67: ; preds = %._crit_edge, %16 %68 = load ptr, ptr %8, align 8 %69 = call i32 @free(ptr noundef %68) %70 = load i32, ptr %6, align 4 %71 = call i32 @printf(ptr noundef @.str.4, i32 noundef %70) br label %72 72: ; preds = %67 %73 = load i32, ptr %3, align 4 %74 = add nsw i32 %73, 1 store i32 %74, ptr %3, align 4 %75 = load i32, ptr %3, align 4 %76 = load i32, ptr %2, align 4 %77 = icmp slt i32 %75, %76 br i1 %77, label %16, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %72 br label %78 78: ; preds = %._crit_edge3, %0 %79 = load ptr, ptr %9, align 8 %80 = call i32 @fclose(ptr noundef %79) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ...) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @realloc(ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @printf(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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmprokuntf0.c' source_filename = "/tmp/tmprokuntf0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @get_pipe_dir.pipe_dir = internal global [2048 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [14 x i8] c"%s/event_pipe\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_pipe_dir() #0 { %1 = load i8, ptr @get_pipe_dir.pipe_dir, align 16 %2 = icmp ne i8 %1, 0 br i1 %2, label %6, label %3 3: ; preds = %0 %4 = call ptr (...) @get_tmp_dir() %5 = call i32 @snprintf(ptr noundef @get_pipe_dir.pipe_dir, i32 noundef 2048, ptr noundef @.str, ptr noundef %4) br label %6 6: ; preds = %3, %0 ret ptr @get_pipe_dir.pipe_dir } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @get_tmp_dir(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmprokuntf0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @get_pipe_dir.pipe_dir = internal global [2048 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [14 x i8] c"%s/event_pipe\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_pipe_dir() #0 { %1 = load i8, ptr @get_pipe_dir.pipe_dir, align 16 %2 = icmp ne i8 %1, 0 br i1 %2, label %6, label %3 3: ; preds = %0 %4 = call ptr (...) @get_tmp_dir() %5 = call i32 @snprintf(ptr noundef @get_pipe_dir.pipe_dir, i32 noundef 2048, ptr noundef @.str, ptr noundef %4) br label %6 6: ; preds = %3, %0 ret ptr @get_pipe_dir.pipe_dir } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @get_tmp_dir(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpctmp2cl6.c' source_filename = "/tmp/tmpctmp2cl6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [35 x i8] c"error in time function,errno = %d\0A\00", align 1 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sys_time() #0 { %1 = alloca i32, align 4 %2 = call i32 @time(ptr noundef %1) %3 = load i32, ptr %1, align 4 %4 = icmp eq i32 %3, -1 br i1 %4, label %5, label %10 5: ; preds = %0 %6 = load i32, ptr @stderr, align 4 %7 = load i32, ptr @errno, align 4 %8 = call i32 @fprintf(i32 noundef %6, ptr noundef @.str, i32 noundef %7) %9 = call i32 @exit(i32 noundef -1) #3 unreachable 10: ; preds = %0 %11 = load i32, ptr %1, align 4 %12 = call i32 @get_tm_struct(i32 noundef %11) ret void } declare i32 @time(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @get_tm_struct(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpctmp2cl6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [35 x i8] c"error in time function,errno = %d\0A\00", align 1 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sys_time() #0 { %1 = alloca i32, align 4 %2 = call i32 @time(ptr noundef %1) %3 = load i32, ptr %1, align 4 %4 = icmp eq i32 %3, -1 br i1 %4, label %5, label %10 5: ; preds = %0 %6 = load i32, ptr @stderr, align 4 %7 = load i32, ptr @errno, align 4 %8 = call i32 @fprintf(i32 noundef %6, ptr noundef @.str, i32 noundef %7) %9 = call i32 @exit(i32 noundef -1) #3 unreachable 10: ; preds = %0 %11 = load i32, ptr %1, align 4 %12 = call i32 @get_tm_struct(i32 noundef %11) ret void } declare i32 @time(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @get_tm_struct(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpi3zf6xbr.c' source_filename = "/tmp/tmpi3zf6xbr.c" target datalayout = "e-m:e-p270: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"Usage: spin [command]\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.2 = private unnamed_addr constant [47 x i8] c"-- spin up : creates and boots up a VM\0A\00", align 1 @.str.3 = private unnamed_addr constant [38 x i8] c"-- spin down : shut down the VM\0A\00", align 1 @.str.4 = private unnamed_addr constant [37 x i8] c"-- spin ssh : SSH into the VM\0A\00", align 1 @.str.5 = private unnamed_addr constant [41 x i8] c"-- spin provision : re-provision the VM\0A\00", align 1 @.str.6 = private unnamed_addr constant [52 x i8] c"-- spin destroy : remove the VM from your system\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_usage() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) %4 = call i32 @printf(ptr noundef @.str.3) %5 = call i32 @printf(ptr noundef @.str.4) %6 = call i32 @printf(ptr noundef @.str.5) %7 = call i32 @printf(ptr noundef @.str.6) 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/tmpi3zf6xbr.c" target datalayout = "e-m:e-p270: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"Usage: spin [command]\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.2 = private unnamed_addr constant [47 x i8] c"-- spin up : creates and boots up a VM\0A\00", align 1 @.str.3 = private unnamed_addr constant [38 x i8] c"-- spin down : shut down the VM\0A\00", align 1 @.str.4 = private unnamed_addr constant [37 x i8] c"-- spin ssh : SSH into the VM\0A\00", align 1 @.str.5 = private unnamed_addr constant [41 x i8] c"-- spin provision : re-provision the VM\0A\00", align 1 @.str.6 = private unnamed_addr constant [52 x i8] c"-- spin destroy : remove the VM from your system\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_usage() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) %4 = call i32 @printf(ptr noundef @.str.3) %5 = call i32 @printf(ptr noundef @.str.4) %6 = call i32 @printf(ptr noundef @.str.5) %7 = call i32 @printf(ptr noundef @.str.6) 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/tmpumoeblu5.c' source_filename = "/tmp/tmpumoeblu5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @V_ASN1_BMPSTRING = dso_local global i32 0, align 4 @V_ASN1_BOOLEAN = dso_local global i32 0, align 4 @V_ASN1_CONSTRUCTED = dso_local global i32 0, align 4 @V_ASN1_ENUMERATED = dso_local global i32 0, align 4 @V_ASN1_EOC = dso_local global i32 0, align 4 @V_ASN1_GENERALIZEDTIME = dso_local global i32 0, align 4 @V_ASN1_IA5STRING = dso_local global i32 0, align 4 @V_ASN1_INTEGER = dso_local global i32 0, align 4 @V_ASN1_NEG_ENUMERATED = dso_local global i64 0, align 8 @V_ASN1_NEG_INTEGER = dso_local global i64 0, align 8 @V_ASN1_NUMERICSTRING = dso_local global i32 0, align 4 @V_ASN1_OBJECT = dso_local global i32 0, align 4 @V_ASN1_OCTET_STRING = dso_local global i32 0, align 4 @V_ASN1_PRINTABLESTRING = dso_local global i32 0, align 4 @V_ASN1_T61STRING = dso_local global i32 0, align 4 @V_ASN1_UTCTIME = dso_local global i32 0, align 4 @V_ASN1_UTF8STRING = dso_local global i32 0, align 4 @V_ASN1_VISIBLESTRING = 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/tmpumoeblu5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @V_ASN1_BMPSTRING = dso_local global i32 0, align 4 @V_ASN1_BOOLEAN = dso_local global i32 0, align 4 @V_ASN1_CONSTRUCTED = dso_local global i32 0, align 4 @V_ASN1_ENUMERATED = dso_local global i32 0, align 4 @V_ASN1_EOC = dso_local global i32 0, align 4 @V_ASN1_GENERALIZEDTIME = dso_local global i32 0, align 4 @V_ASN1_IA5STRING = dso_local global i32 0, align 4 @V_ASN1_INTEGER = dso_local global i32 0, align 4 @V_ASN1_NEG_ENUMERATED = dso_local global i64 0, align 8 @V_ASN1_NEG_INTEGER = dso_local global i64 0, align 8 @V_ASN1_NUMERICSTRING = dso_local global i32 0, align 4 @V_ASN1_OBJECT = dso_local global i32 0, align 4 @V_ASN1_OCTET_STRING = dso_local global i32 0, align 4 @V_ASN1_PRINTABLESTRING = dso_local global i32 0, align 4 @V_ASN1_T61STRING = dso_local global i32 0, align 4 @V_ASN1_UTCTIME = dso_local global i32 0, align 4 @V_ASN1_UTF8STRING = dso_local global i32 0, align 4 @V_ASN1_VISIBLESTRING = 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/tmpu84ic01b.c' source_filename = "/tmp/tmpu84ic01b.c" target datalayout = "e-m:e-p270: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 @e_ror_abs() #0 { %1 = call i32 (...) @e_abs() %2 = call i32 (...) @e_ror() %3 = call i32 (...) @e_writeback() ret void } declare i32 @e_abs(...) #1 declare i32 @e_ror(...) #1 declare i32 @e_writeback(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpu84ic01b.c" target datalayout = "e-m:e-p270: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 @e_ror_abs() #0 { %1 = call i32 (...) @e_abs() %2 = call i32 (...) @e_ror() %3 = call i32 (...) @e_writeback() ret void } declare i32 @e_abs(...) #1 declare i32 @e_ror(...) #1 declare i32 @e_writeback(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmp3n6r681a.c' source_filename = "/tmp/tmp3n6r681a.c" target datalayout = "e-m:e-p270: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"%d\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 @bin(i32 noundef 10) %3 = call i32 @printf(ptr noundef @.str, i32 noundef %2) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @bin(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/tmp3n6r681a.c" target datalayout = "e-m:e-p270: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"%d\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 @bin(i32 noundef 10) %3 = call i32 @printf(ptr noundef @.str, i32 noundef %2) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @bin(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/tmp3vimwd1r.c' source_filename = "/tmp/tmp3vimwd1r.c" target datalayout = "e-m:e-p270: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 [20 x i8] c"LD_PRELOAD works!!!\00", align 1 @.str.1 = private unnamed_addr constant [34 x i8] c"using libtest.so rather than libc\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @printf(ptr noundef %0, ...) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @puts(ptr noundef @.str) %4 = call i32 @puts(ptr noundef @.str.1) ret i32 0 } 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/tmp3vimwd1r.c" target datalayout = "e-m:e-p270: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 [20 x i8] c"LD_PRELOAD works!!!\00", align 1 @.str.1 = private unnamed_addr constant [34 x i8] c"using libtest.so rather than libc\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @printf(ptr noundef %0, ...) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @puts(ptr noundef @.str) %4 = call i32 @puts(ptr noundef @.str.1) ret i32 0 } 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/tmp0e85e3iv.c' source_filename = "/tmp/tmp0e85e3iv.c" target datalayout = "e-m:e-p270: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/tmp0e85e3iv.c" target datalayout = "e-m:e-p270: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"}