llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmp98km9ahs.c' source_filename = "/tmp/tmp98km9ahs.c" target datalayout = "e-m:e-p270: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/tmp98km9ahs.c" target datalayout = "e-m:e-p270: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/tmphs1m2g2a.c' source_filename = "/tmp/tmphs1m2g2a.c" target datalayout = "e-m:e-p270: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/tmphs1m2g2a.c" target datalayout = "e-m:e-p270: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/tmpra8ig3tn.c' source_filename = "/tmp/tmpra8ig3tn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RSA_PKCS1_PADDING = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @private_decrypt(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %11 = load ptr, ptr %7, align 8 %12 = call ptr @createRSA(ptr noundef %11, i32 noundef 0) store ptr %12, ptr %9, align 8 %13 = load i32, ptr %6, align 4 %14 = load ptr, ptr %5, align 8 %15 = load ptr, ptr %8, align 8 %16 = load ptr, ptr %9, align 8 %17 = load i32, ptr @RSA_PKCS1_PADDING, align 4 %18 = call i32 @RSA_private_decrypt(i32 noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, i32 noundef %17) store i32 %18, ptr %10, align 4 %19 = load i32, ptr %10, align 4 ret i32 %19 } declare ptr @createRSA(ptr noundef, i32 noundef) #1 declare i32 @RSA_private_decrypt(i32 noundef, ptr noundef, 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/tmpra8ig3tn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RSA_PKCS1_PADDING = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @private_decrypt(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %11 = load ptr, ptr %7, align 8 %12 = call ptr @createRSA(ptr noundef %11, i32 noundef 0) store ptr %12, ptr %9, align 8 %13 = load i32, ptr %6, align 4 %14 = load ptr, ptr %5, align 8 %15 = load ptr, ptr %8, align 8 %16 = load ptr, ptr %9, align 8 %17 = load i32, ptr @RSA_PKCS1_PADDING, align 4 %18 = call i32 @RSA_private_decrypt(i32 noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, i32 noundef %17) store i32 %18, ptr %10, align 4 %19 = load i32, ptr %10, align 4 ret i32 %19 } declare ptr @createRSA(ptr noundef, i32 noundef) #1 declare i32 @RSA_private_decrypt(i32 noundef, ptr noundef, 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/tmpqb4xlpwb.c' source_filename = "/tmp/tmpqb4xlpwb.c" target datalayout = "e-m:e-p270: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"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [100000 x i8], align 16 %3 = alloca i8, align 1 %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 store i32 0, ptr %1, align 4 store i32 0, ptr %8, align 4 %9 = getelementptr inbounds [100000 x i8], ptr %2, i64 0, i64 0 %10 = call i32 @gets(ptr noundef %9) %11 = getelementptr inbounds [100000 x i8], ptr %2, i64 0, i64 0 %12 = call i32 @strlen(ptr noundef %11) store i32 %12, ptr %5, align 4 %13 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) store i32 0, ptr %4, align 4 br label %14 14: ; preds = %32, %0 %15 = load i32, ptr %4, align 4 %16 = load i32, ptr %5, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %18, label %35 18: ; preds = %14 %19 = load i32, ptr %4, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds [100000 x i8], ptr %2, i64 0, i64 %20 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = load i8, ptr %3, align 1 %25 = sext i8 %24 to i32 %26 = icmp eq i32 %23, %25 br i1 %26, label %27, label %31 27: ; preds = %18 %28 = load i32, ptr %4, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds [100000 x i8], ptr %2, i64 0, i64 %29 store i8 0, ptr %30, align 1 br label %31 31: ; preds = %27, %18 br label %32 32: ; preds = %31 %33 = load i32, ptr %4, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %4, align 4 br label %14, !llvm.loop !6 35: ; preds = %14 store i32 0, ptr %4, align 4 br label %36 36: ; preds = %54, %35 %37 = load i32, ptr %4, align 4 %38 = load i32, ptr %5, align 4 %39 = icmp slt i32 %37, %38 br i1 %39, label %40, label %57 40: ; preds = %36 %41 = load i32, ptr %4, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds [100000 x i8], ptr %2, i64 0, i64 %42 %44 = load i8, ptr %43, align 1 %45 = sext i8 %44 to i32 %46 = icmp ne i32 %45, 0 br i1 %46, label %47, label %53 47: ; preds = %40 %48 = load i32, ptr %4, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds [100000 x i8], ptr %2, i64 0, i64 %49 %51 = load i8, ptr %50, align 1 %52 = call i32 @printf(ptr noundef @.str, i8 noundef signext %51) br label %53 53: ; preds = %47, %40 br label %54 54: ; preds = %53 %55 = load i32, ptr %4, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %4, align 4 br label %36, !llvm.loop !8 57: ; preds = %36 %58 = getelementptr inbounds [100000 x i8], ptr %2, i64 0, i64 0 %59 = call i32 @puts(ptr noundef %58) ret i32 0 } declare i32 @gets(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i8 noundef signext) #1 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqb4xlpwb.c" target datalayout = "e-m:e-p270: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"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [100000 x i8], align 16 %3 = alloca i8, align 1 %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 store i32 0, ptr %1, align 4 store i32 0, ptr %8, align 4 %9 = getelementptr inbounds [100000 x i8], ptr %2, i64 0, i64 0 %10 = call i32 @gets(ptr noundef %9) %11 = getelementptr inbounds [100000 x i8], ptr %2, i64 0, i64 0 %12 = call i32 @strlen(ptr noundef %11) store i32 %12, ptr %5, align 4 %13 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) store i32 0, ptr %4, align 4 %14 = load i32, ptr %4, align 4 %15 = load i32, ptr %5, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %.lr.ph, label %37 .lr.ph: ; preds = %0 br label %17 17: ; preds = %.lr.ph, %31 %18 = load i32, ptr %4, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds [100000 x i8], ptr %2, i64 0, i64 %19 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = load i8, ptr %3, align 1 %24 = sext i8 %23 to i32 %25 = icmp eq i32 %22, %24 br i1 %25, label %26, label %30 26: ; preds = %17 %27 = load i32, ptr %4, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds [100000 x i8], ptr %2, i64 0, i64 %28 store i8 0, ptr %29, align 1 br label %30 30: ; preds = %26, %17 br label %31 31: ; preds = %30 %32 = load i32, ptr %4, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %4, align 4 %34 = load i32, ptr %4, align 4 %35 = load i32, ptr %5, align 4 %36 = icmp slt i32 %34, %35 br i1 %36, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %31 br label %37 37: ; preds = %._crit_edge, %0 store i32 0, ptr %4, align 4 %38 = load i32, ptr %4, align 4 %39 = load i32, ptr %5, align 4 %40 = icmp slt i32 %38, %39 br i1 %40, label %.lr.ph2, label %61 .lr.ph2: ; preds = %37 br label %41 41: ; preds = %.lr.ph2, %55 %42 = load i32, ptr %4, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds [100000 x i8], ptr %2, i64 0, i64 %43 %45 = load i8, ptr %44, align 1 %46 = sext i8 %45 to i32 %47 = icmp ne i32 %46, 0 br i1 %47, label %48, label %54 48: ; preds = %41 %49 = load i32, ptr %4, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds [100000 x i8], ptr %2, i64 0, i64 %50 %52 = load i8, ptr %51, align 1 %53 = call i32 @printf(ptr noundef @.str, i8 noundef signext %52) br label %54 54: ; preds = %48, %41 br label %55 55: ; preds = %54 %56 = load i32, ptr %4, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %4, align 4 %58 = load i32, ptr %4, align 4 %59 = load i32, ptr %5, align 4 %60 = icmp slt i32 %58, %59 br i1 %60, label %41, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %55 br label %61 61: ; preds = %._crit_edge3, %37 %62 = getelementptr inbounds [100000 x i8], ptr %2, i64 0, i64 0 %63 = call i32 @puts(ptr noundef %62) ret i32 0 } declare i32 @gets(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i8 noundef signext) #1 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp95uyy820.c' source_filename = "/tmp/tmp95uyy820.c" target datalayout = "e-m:e-p270: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 i32 @resetMartixDoubleZero(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 store i32 0, ptr %7, align 4 br label %9 9: ; preds = %31, %3 %10 = load i32, ptr %7, align 4 %11 = load i32, ptr %5, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %13, label %34 13: ; preds = %9 store i32 0, ptr %8, align 4 br label %14 14: ; preds = %27, %13 %15 = load i32, ptr %8, align 4 %16 = load i32, ptr %6, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %18, label %30 18: ; preds = %14 %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr %7, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds ptr, ptr %19, i64 %21 %23 = load ptr, ptr %22, align 8 %24 = load i32, ptr %8, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds double, ptr %23, i64 %25 store double 0.000000e+00, ptr %26, align 8 br label %27 27: ; preds = %18 %28 = load i32, ptr %8, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %8, align 4 br label %14, !llvm.loop !6 30: ; preds = %14 br label %31 31: ; preds = %30 %32 = load i32, ptr %7, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %7, align 4 br label %9, !llvm.loop !8 34: ; preds = %9 %35 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp95uyy820.c" target datalayout = "e-m:e-p270: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 i32 @resetMartixDoubleZero(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 store i32 0, ptr %7, align 4 %9 = load i32, ptr %7, align 4 %10 = load i32, ptr %5, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %.lr.ph2, label %38 .lr.ph2: ; preds = %3 br label %12 12: ; preds = %.lr.ph2, %32 store i32 0, ptr %8, align 4 %13 = load i32, ptr %8, align 4 %14 = load i32, ptr %6, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %.lr.ph, label %31 .lr.ph: ; preds = %12 br label %16 16: ; preds = %.lr.ph, %25 %17 = load ptr, ptr %4, align 8 %18 = load i32, ptr %7, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds ptr, ptr %17, i64 %19 %21 = load ptr, ptr %20, align 8 %22 = load i32, ptr %8, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds double, ptr %21, i64 %23 store double 0.000000e+00, ptr %24, align 8 br label %25 25: ; preds = %16 %26 = load i32, ptr %8, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %8, align 4 %28 = load i32, ptr %8, align 4 %29 = load i32, ptr %6, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %31 31: ; preds = %._crit_edge, %12 br label %32 32: ; preds = %31 %33 = load i32, ptr %7, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %7, align 4 %35 = load i32, ptr %7, align 4 %36 = load i32, ptr %5, align 4 %37 = icmp slt i32 %35, %36 br i1 %37, label %12, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %32 br label %38 38: ; preds = %._crit_edge3, %3 %39 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %39 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpj4hujd47.c' source_filename = "/tmp/tmpj4hujd47.c" target datalayout = "e-m:e-p270: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/tmpj4hujd47.c" target datalayout = "e-m:e-p270: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/tmpo_6pzuvz.c' source_filename = "/tmp/tmpo_6pzuvz.c" target datalayout = "e-m:e-p270: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 [7 x i8] c"\0A zero\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"\0A one\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"\0A two\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"\0A three\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"\0A four\00", align 1 @.str.6 = private unnamed_addr constant [7 x i8] c"\0A five\00", align 1 @.str.7 = private unnamed_addr constant [6 x i8] c"\0A six\00", align 1 @.str.8 = private unnamed_addr constant [8 x i8] c"\0A seven\00", align 1 @.str.9 = private unnamed_addr constant [8 x i8] c"\0A eight\00", align 1 @.str.10 = private unnamed_addr constant [7 x i8] c"\0A nine\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 @scanf(ptr noundef @.str, ptr noundef %2) %4 = load i32, ptr %2, align 4 switch i32 %4, label %25 [ i32 0, label %5 i32 1, label %7 i32 2, label %9 i32 3, label %11 i32 4, label %13 i32 5, label %15 i32 6, label %17 i32 7, label %19 i32 8, label %21 i32 9, label %23 ] 5: ; preds = %0 %6 = call i32 @printf(ptr noundef @.str.1) br label %25 7: ; preds = %0 %8 = call i32 @printf(ptr noundef @.str.2) br label %25 9: ; preds = %0 %10 = call i32 @printf(ptr noundef @.str.3) br label %25 11: ; preds = %0 %12 = call i32 @printf(ptr noundef @.str.4) br label %25 13: ; preds = %0 %14 = call i32 @printf(ptr noundef @.str.5) br label %25 15: ; preds = %0 %16 = call i32 @printf(ptr noundef @.str.6) br label %25 17: ; preds = %0 %18 = call i32 @printf(ptr noundef @.str.7) br label %25 19: ; preds = %0 %20 = call i32 @printf(ptr noundef @.str.8) br label %25 21: ; preds = %0 %22 = call i32 @printf(ptr noundef @.str.9) br label %25 23: ; preds = %0 %24 = call i32 @printf(ptr noundef @.str.10) br label %25 25: ; preds = %0, %23, %21, %19, %17, %15, %13, %11, %9, %7, %5 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo_6pzuvz.c" target datalayout = "e-m:e-p270: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 [7 x i8] c"\0A zero\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"\0A one\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"\0A two\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"\0A three\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"\0A four\00", align 1 @.str.6 = private unnamed_addr constant [7 x i8] c"\0A five\00", align 1 @.str.7 = private unnamed_addr constant [6 x i8] c"\0A six\00", align 1 @.str.8 = private unnamed_addr constant [8 x i8] c"\0A seven\00", align 1 @.str.9 = private unnamed_addr constant [8 x i8] c"\0A eight\00", align 1 @.str.10 = private unnamed_addr constant [7 x i8] c"\0A nine\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 @scanf(ptr noundef @.str, ptr noundef %2) %4 = load i32, ptr %2, align 4 switch i32 %4, label %25 [ i32 0, label %5 i32 1, label %7 i32 2, label %9 i32 3, label %11 i32 4, label %13 i32 5, label %15 i32 6, label %17 i32 7, label %19 i32 8, label %21 i32 9, label %23 ] 5: ; preds = %0 %6 = call i32 @printf(ptr noundef @.str.1) br label %25 7: ; preds = %0 %8 = call i32 @printf(ptr noundef @.str.2) br label %25 9: ; preds = %0 %10 = call i32 @printf(ptr noundef @.str.3) br label %25 11: ; preds = %0 %12 = call i32 @printf(ptr noundef @.str.4) br label %25 13: ; preds = %0 %14 = call i32 @printf(ptr noundef @.str.5) br label %25 15: ; preds = %0 %16 = call i32 @printf(ptr noundef @.str.6) br label %25 17: ; preds = %0 %18 = call i32 @printf(ptr noundef @.str.7) br label %25 19: ; preds = %0 %20 = call i32 @printf(ptr noundef @.str.8) br label %25 21: ; preds = %0 %22 = call i32 @printf(ptr noundef @.str.9) br label %25 23: ; preds = %0 %24 = call i32 @printf(ptr noundef @.str.10) br label %25 25: ; preds = %23, %21, %19, %17, %15, %13, %11, %9, %7, %5, %0 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpv2x0colu.c' source_filename = "/tmp/tmpv2x0colu.c" target datalayout = "e-m:e-p270: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"decimal signed constant: %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [31 x i8] c"decimal unsigned constant: %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [33 x i8] c"decimal long range constant: %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 i64, align 8 store i32 0, ptr %1, align 4 store i32 100, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = sext i32 %5 to i64 %7 = call i32 @printf(ptr noundef @.str, i64 noundef %6) store i32 100, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = zext i32 %8 to i64 %10 = call i32 @printf(ptr noundef @.str.1, i64 noundef %9) store i64 1000000, ptr %4, align 8 %11 = load i64, ptr %4, align 8 %12 = call i32 @printf(ptr noundef @.str.2, i64 noundef %11) ret i32 0 } declare i32 @printf(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpv2x0colu.c" target datalayout = "e-m:e-p270: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"decimal signed constant: %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [31 x i8] c"decimal unsigned constant: %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [33 x i8] c"decimal long range constant: %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 i64, align 8 store i32 0, ptr %1, align 4 store i32 100, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = sext i32 %5 to i64 %7 = call i32 @printf(ptr noundef @.str, i64 noundef %6) store i32 100, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = zext i32 %8 to i64 %10 = call i32 @printf(ptr noundef @.str.1, i64 noundef %9) store i64 1000000, ptr %4, align 8 %11 = load i64, ptr %4, align 8 %12 = call i32 @printf(ptr noundef @.str.2, i64 noundef %11) ret i32 0 } declare i32 @printf(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"}
; ModuleID = '/tmp/tmprjekd053.c' source_filename = "/tmp/tmprjekd053.c" target datalayout = "e-m:e-p270: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/tmprjekd053.c" target datalayout = "e-m:e-p270: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/tmp7agvxhgg.c' source_filename = "/tmp/tmp7agvxhgg.c" target datalayout = "e-m:e-p270: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 @mutation(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 i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca float, 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 %16 = call i32 @time(ptr noundef null) %17 = call i32 @srand48(i32 noundef %16) %18 = load i32, ptr %9, align 4 %19 = add nsw i32 %18, 1 store i32 0, ptr %13, align 4 br label %20 20: ; preds = %140, %5 %21 = load i32, ptr %13, align 4 %22 = load i32, ptr %8, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %24, label %143 24: ; preds = %20 store i32 0, ptr %11, align 4 br label %25 25: ; preds = %136, %24 %26 = load i32, ptr %11, align 4 %27 = load i32, ptr %10, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %29, label %139 29: ; preds = %25 %30 = call double (...) @drand48() %31 = fmul double %30, 1.000000e+00 %32 = fptrunc double %31 to float store float %32, ptr %15, align 4 %33 = load float, ptr %15, align 4 %34 = load i32, ptr %10, align 4 %35 = sitofp i32 %34 to float %36 = fdiv float 1.000000e+00, %35 %37 = fcmp olt float %33, %36 br i1 %37, label %38, label %135 38: ; preds = %29 %39 = load ptr, ptr %7, align 8 %40 = load i32, ptr %11, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds ptr, ptr %39, i64 %41 %43 = load ptr, ptr %42, align 8 %44 = getelementptr inbounds i32, ptr %43, i64 3 %45 = load i32, ptr %44, align 4 %46 = icmp eq i32 %45, 1 br i1 %46, label %47, label %52 47: ; preds = %38 %48 = call i32 (...) @rand() %49 = load i32, ptr %9, align 4 %50 = srem i32 %48, %49 %51 = add nsw i32 %50, 1 store i32 %51, ptr %12, align 4 br label %56 52: ; preds = %38 %53 = call i32 (...) @rand() %54 = load i32, ptr %9, align 4 %55 = srem i32 %53, %54 store i32 %55, ptr %12, align 4 br label %56 56: ; preds = %52, %47 %57 = load i32, ptr %12, align 4 %58 = load ptr, ptr %6, align 8 %59 = load i32, ptr %13, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds ptr, ptr %58, i64 %60 %62 = load ptr, ptr %61, align 8 %63 = load i32, ptr %11, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds i32, ptr %62, i64 %64 %66 = load i32, ptr %65, align 4 %67 = icmp ne i32 %57, %66 br i1 %67, label %68, label %78 68: ; preds = %56 %69 = load i32, ptr %12, align 4 %70 = load ptr, ptr %6, align 8 %71 = load i32, ptr %13, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds ptr, ptr %70, i64 %72 %74 = load ptr, ptr %73, align 8 %75 = load i32, ptr %11, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds i32, ptr %74, i64 %76 store i32 %69, ptr %77, align 4 br label %134 78: ; preds = %56 %79 = load ptr, ptr %6, align 8 %80 = load i32, ptr %13, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds ptr, ptr %79, i64 %81 %83 = load ptr, ptr %82, align 8 %84 = load i32, ptr %11, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds i32, ptr %83, i64 %85 %87 = load i32, ptr %86, align 4 store i32 %87, ptr %14, align 4 br label %88 88: ; preds = %132, %78 %89 = load i32, ptr %12, align 4 %90 = load i32, ptr %14, align 4 %91 = icmp eq i32 %89, %90 br i1 %91, label %92, label %133 92: ; preds = %88 %93 = load ptr, ptr %7, align 8 %94 = load i32, ptr %11, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds ptr, ptr %93, i64 %95 %97 = load ptr, ptr %96, align 8 %98 = getelementptr inbounds i32, ptr %97, i64 3 %99 = load i32, ptr %98, align 4 %100 = icmp eq i32 %99, 1 br i1 %100, label %101, label %106 101: ; preds = %92 %102 = call i32 (...) @rand() %103 = load i32, ptr %9, align 4 %104 = srem i32 %102, %103 %105 = add nsw i32 %104, 1 store i32 %105, ptr %12, align 4 br label %110 106: ; preds = %92 %107 = call i32 (...) @rand() %108 = load i32, ptr %9, align 4 %109 = srem i32 %107, %108 store i32 %109, ptr %12, align 4 br label %110 110: ; preds = %106, %101 %111 = load i32, ptr %12, align 4 %112 = load ptr, ptr %6, align 8 %113 = load i32, ptr %13, align 4 %114 = sext i32 %113 to i64 %115 = getelementptr inbounds ptr, ptr %112, i64 %114 %116 = load ptr, ptr %115, align 8 %117 = load i32, ptr %11, align 4 %118 = sext i32 %117 to i64 %119 = getelementptr inbounds i32, ptr %116, i64 %118 %120 = load i32, ptr %119, align 4 %121 = icmp ne i32 %111, %120 br i1 %121, label %122, label %132 122: ; preds = %110 %123 = load i32, ptr %12, align 4 %124 = load ptr, ptr %6, align 8 %125 = load i32, ptr %13, align 4 %126 = sext i32 %125 to i64 %127 = getelementptr inbounds ptr, ptr %124, i64 %126 %128 = load ptr, ptr %127, align 8 %129 = load i32, ptr %11, align 4 %130 = sext i32 %129 to i64 %131 = getelementptr inbounds i32, ptr %128, i64 %130 store i32 %123, ptr %131, align 4 br label %132 132: ; preds = %122, %110 br label %88, !llvm.loop !6 133: ; preds = %88 br label %134 134: ; preds = %133, %68 br label %135 135: ; preds = %134, %29 br label %136 136: ; preds = %135 %137 = load i32, ptr %11, align 4 %138 = add nsw i32 %137, 1 store i32 %138, ptr %11, align 4 br label %25, !llvm.loop !8 139: ; preds = %25 br label %140 140: ; preds = %139 %141 = load i32, ptr %13, align 4 %142 = add nsw i32 %141, 1 store i32 %142, ptr %13, align 4 br label %20, !llvm.loop !9 143: ; preds = %20 %144 = load ptr, ptr %6, align 8 ret ptr %144 } declare i32 @srand48(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare double @drand48(...) #1 declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7agvxhgg.c" target datalayout = "e-m:e-p270: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 @mutation(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 i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca float, 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 %16 = call i32 @time(ptr noundef null) %17 = call i32 @srand48(i32 noundef %16) %18 = load i32, ptr %9, align 4 %19 = add nsw i32 %18, 1 store i32 0, ptr %13, align 4 %20 = load i32, ptr %13, align 4 %21 = load i32, ptr %8, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %.lr.ph5, label %149 .lr.ph5: ; preds = %5 br label %23 23: ; preds = %.lr.ph5, %143 store i32 0, ptr %11, align 4 %24 = load i32, ptr %11, align 4 %25 = load i32, ptr %10, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %.lr.ph2, label %142 .lr.ph2: ; preds = %23 br label %27 27: ; preds = %.lr.ph2, %136 %28 = call double (...) @drand48() %29 = fmul double %28, 1.000000e+00 %30 = fptrunc double %29 to float store float %30, ptr %15, align 4 %31 = load float, ptr %15, align 4 %32 = load i32, ptr %10, align 4 %33 = sitofp i32 %32 to float %34 = fdiv float 1.000000e+00, %33 %35 = fcmp olt float %31, %34 br i1 %35, label %36, label %135 36: ; preds = %27 %37 = load ptr, ptr %7, align 8 %38 = load i32, ptr %11, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds ptr, ptr %37, i64 %39 %41 = load ptr, ptr %40, align 8 %42 = getelementptr inbounds i32, ptr %41, i64 3 %43 = load i32, ptr %42, align 4 %44 = icmp eq i32 %43, 1 br i1 %44, label %45, label %50 45: ; preds = %36 %46 = call i32 (...) @rand() %47 = load i32, ptr %9, align 4 %48 = srem i32 %46, %47 %49 = add nsw i32 %48, 1 store i32 %49, ptr %12, align 4 br label %54 50: ; preds = %36 %51 = call i32 (...) @rand() %52 = load i32, ptr %9, align 4 %53 = srem i32 %51, %52 store i32 %53, ptr %12, align 4 br label %54 54: ; preds = %50, %45 %55 = load i32, ptr %12, align 4 %56 = load ptr, ptr %6, align 8 %57 = load i32, ptr %13, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds ptr, ptr %56, i64 %58 %60 = load ptr, ptr %59, align 8 %61 = load i32, ptr %11, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds i32, ptr %60, i64 %62 %64 = load i32, ptr %63, align 4 %65 = icmp ne i32 %55, %64 br i1 %65, label %66, label %76 66: ; preds = %54 %67 = load i32, ptr %12, align 4 %68 = load ptr, ptr %6, align 8 %69 = load i32, ptr %13, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds ptr, ptr %68, i64 %70 %72 = load ptr, ptr %71, align 8 %73 = load i32, ptr %11, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds i32, ptr %72, i64 %74 store i32 %67, ptr %75, align 4 br label %134 76: ; preds = %54 %77 = load ptr, ptr %6, 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 = load i32, ptr %11, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds i32, ptr %81, i64 %83 %85 = load i32, ptr %84, align 4 store i32 %85, ptr %14, align 4 %86 = load i32, ptr %12, align 4 %87 = load i32, ptr %14, align 4 %88 = icmp eq i32 %86, %87 br i1 %88, label %.lr.ph, label %133 .lr.ph: ; preds = %76 br label %89 89: ; preds = %.lr.ph, %129 %90 = load ptr, ptr %7, align 8 %91 = load i32, ptr %11, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds ptr, ptr %90, i64 %92 %94 = load ptr, ptr %93, align 8 %95 = getelementptr inbounds i32, ptr %94, i64 3 %96 = load i32, ptr %95, align 4 %97 = icmp eq i32 %96, 1 br i1 %97, label %98, label %103 98: ; preds = %89 %99 = call i32 (...) @rand() %100 = load i32, ptr %9, align 4 %101 = srem i32 %99, %100 %102 = add nsw i32 %101, 1 store i32 %102, ptr %12, align 4 br label %107 103: ; preds = %89 %104 = call i32 (...) @rand() %105 = load i32, ptr %9, align 4 %106 = srem i32 %104, %105 store i32 %106, ptr %12, align 4 br label %107 107: ; preds = %103, %98 %108 = load i32, ptr %12, align 4 %109 = load ptr, ptr %6, align 8 %110 = load i32, ptr %13, align 4 %111 = sext i32 %110 to i64 %112 = getelementptr inbounds ptr, ptr %109, i64 %111 %113 = load ptr, ptr %112, align 8 %114 = load i32, ptr %11, align 4 %115 = sext i32 %114 to i64 %116 = getelementptr inbounds i32, ptr %113, i64 %115 %117 = load i32, ptr %116, align 4 %118 = icmp ne i32 %108, %117 br i1 %118, label %119, label %129 119: ; preds = %107 %120 = load i32, ptr %12, align 4 %121 = load ptr, ptr %6, align 8 %122 = load i32, ptr %13, align 4 %123 = sext i32 %122 to i64 %124 = getelementptr inbounds ptr, ptr %121, i64 %123 %125 = load ptr, ptr %124, align 8 %126 = load i32, ptr %11, align 4 %127 = sext i32 %126 to i64 %128 = getelementptr inbounds i32, ptr %125, i64 %127 store i32 %120, ptr %128, align 4 br label %129 129: ; preds = %119, %107 %130 = load i32, ptr %12, align 4 %131 = load i32, ptr %14, align 4 %132 = icmp eq i32 %130, %131 br i1 %132, label %89, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %129 br label %133 133: ; preds = %._crit_edge, %76 br label %134 134: ; preds = %133, %66 br label %135 135: ; preds = %134, %27 br label %136 136: ; preds = %135 %137 = load i32, ptr %11, align 4 %138 = add nsw i32 %137, 1 store i32 %138, ptr %11, align 4 %139 = load i32, ptr %11, align 4 %140 = load i32, ptr %10, align 4 %141 = icmp slt i32 %139, %140 br i1 %141, label %27, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %136 br label %142 142: ; preds = %._crit_edge3, %23 br label %143 143: ; preds = %142 %144 = load i32, ptr %13, align 4 %145 = add nsw i32 %144, 1 store i32 %145, ptr %13, align 4 %146 = load i32, ptr %13, align 4 %147 = load i32, ptr %8, align 4 %148 = icmp slt i32 %146, %147 br i1 %148, label %23, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %143 br label %149 149: ; preds = %._crit_edge6, %5 %150 = load ptr, ptr %6, align 8 ret ptr %150 } declare i32 @srand48(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare double @drand48(...) #1 declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpnllk7om2.c' source_filename = "/tmp/tmpnllk7om2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RTLD_NOW = dso_local global i32 0, align 4 @RTLD_GLOBAL = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @sqlite3UnixDlopen(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load i32, ptr @RTLD_NOW, align 4 %5 = load i32, ptr @RTLD_GLOBAL, align 4 %6 = or i32 %4, %5 %7 = call ptr @dlopen(ptr noundef %3, i32 noundef %6) ret ptr %7 } declare ptr @dlopen(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/tmpnllk7om2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RTLD_NOW = dso_local global i32 0, align 4 @RTLD_GLOBAL = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @sqlite3UnixDlopen(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load i32, ptr @RTLD_NOW, align 4 %5 = load i32, ptr @RTLD_GLOBAL, align 4 %6 = or i32 %4, %5 %7 = call ptr @dlopen(ptr noundef %3, i32 noundef %6) ret ptr %7 } declare ptr @dlopen(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/tmp20s58l7z.c' source_filename = "/tmp/tmp20s58l7z.c" target datalayout = "e-m:e-p270: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 @mach64_ext_readw(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %6 = load i32, ptr %3, align 4 %7 = and i32 %6, 1024 %8 = icmp ne i32 %7, 0 br i1 %8, label %10, label %9 9: ; preds = %2 store i32 65535, ptr %5, align 4 br label %25 10: ; preds = %2 %11 = load i32, ptr %3, align 4 %12 = and i32 %11, 1023 switch i32 %12, label %13 [ ] 13: ; preds = %10 %14 = load i32, ptr %3, align 4 %15 = load ptr, ptr %4, align 8 %16 = call i32 @mach64_ext_readb(i32 noundef %14, ptr noundef %15) store i32 %16, ptr %5, align 4 %17 = load i32, ptr %3, align 4 %18 = add nsw i32 %17, 1 %19 = load ptr, ptr %4, align 8 %20 = call i32 @mach64_ext_readb(i32 noundef %18, ptr noundef %19) %21 = shl i32 %20, 8 %22 = load i32, ptr %5, align 4 %23 = or i32 %22, %21 store i32 %23, ptr %5, align 4 br label %24 24: ; preds = %13 br label %25 25: ; preds = %24, %9 %26 = load i32, ptr %3, align 4 %27 = and i32 %26, 1020 %28 = icmp ne i32 %27, 24 br i1 %28, label %29, label %30 29: ; preds = %25 br label %30 30: ; preds = %29, %25 %31 = load i32, ptr %5, align 4 ret i32 %31 } declare i32 @mach64_ext_readb(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/tmp20s58l7z.c" target datalayout = "e-m:e-p270: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 @mach64_ext_readw(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %6 = load i32, ptr %3, align 4 %7 = and i32 %6, 1024 %8 = icmp ne i32 %7, 0 br i1 %8, label %10, label %9 9: ; preds = %2 store i32 65535, ptr %5, align 4 br label %25 10: ; preds = %2 %11 = load i32, ptr %3, align 4 %12 = and i32 %11, 1023 switch i32 %12, label %13 [ ] 13: ; preds = %10 %14 = load i32, ptr %3, align 4 %15 = load ptr, ptr %4, align 8 %16 = call i32 @mach64_ext_readb(i32 noundef %14, ptr noundef %15) store i32 %16, ptr %5, align 4 %17 = load i32, ptr %3, align 4 %18 = add nsw i32 %17, 1 %19 = load ptr, ptr %4, align 8 %20 = call i32 @mach64_ext_readb(i32 noundef %18, ptr noundef %19) %21 = shl i32 %20, 8 %22 = load i32, ptr %5, align 4 %23 = or i32 %22, %21 store i32 %23, ptr %5, align 4 br label %24 24: ; preds = %13 br label %25 25: ; preds = %24, %9 %26 = load i32, ptr %3, align 4 %27 = and i32 %26, 1020 %28 = icmp ne i32 %27, 24 br i1 %28, label %29, label %30 29: ; preds = %25 br label %30 30: ; preds = %29, %25 %31 = load i32, ptr %5, align 4 ret i32 %31 } declare i32 @mach64_ext_readb(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/tmphknt52g9.c' source_filename = "/tmp/tmphknt52g9.c" target datalayout = "e-m:e-p270: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.servent = type { i32 } @.str = private unnamed_addr constant [10 x i8] c"localhost\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"root\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"h@x0R\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"ls\00", align 1 @BUFSIZ = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [9 x i8] c"h:u:p:c:\00", align 1 @optarg = dso_local global ptr null, align 8 @.str.5 = private unnamed_addr constant [5 x i8] c"exec\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"tcp\00", align 1 @.str.7 = private unnamed_addr constant [29 x i8] c"Cannot find service exec/tcp\00", align 1 @STDOUT_FILENO = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [12 x i8] c"read failed\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 ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca i64, align 8 %16 = 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 %17 = call ptr @__UNCONST(ptr noundef @.str) store ptr %17, ptr %10, align 8 %18 = call ptr @__UNCONST(ptr noundef @.str.1) store ptr %18, ptr %11, align 8 %19 = call ptr @__UNCONST(ptr noundef @.str.2) store ptr %19, ptr %12, align 8 %20 = call ptr @__UNCONST(ptr noundef @.str.3) store ptr %20, ptr %13, align 8 %21 = load i32, ptr @BUFSIZ, align 4 %22 = zext i32 %21 to i64 %23 = call ptr @llvm.stacksave() store ptr %23, ptr %14, align 8 %24 = alloca i8, i64 %22, align 16 store i64 %22, ptr %15, align 8 br label %25 25: ; preds = %42, %2 %26 = load i32, ptr %4, align 4 %27 = load ptr, ptr %5, align 8 %28 = call i32 @getopt(i32 noundef %26, ptr noundef %27, ptr noundef @.str.4) store i32 %28, ptr %6, align 4 %29 = icmp ne i32 %28, -1 br i1 %29, label %30, label %43 30: ; preds = %25 %31 = load i32, ptr %6, align 4 switch i32 %31, label %40 [ i32 104, label %32 i32 117, label %34 i32 112, label %36 i32 99, label %38 ] 32: ; preds = %30 %33 = load ptr, ptr @optarg, align 8 store ptr %33, ptr %10, align 8 br label %42 34: ; preds = %30 %35 = load ptr, ptr @optarg, align 8 store ptr %35, ptr %11, align 8 br label %42 36: ; preds = %30 %37 = load ptr, ptr @optarg, align 8 store ptr %37, ptr %12, align 8 br label %42 38: ; preds = %30 %39 = load ptr, ptr @optarg, align 8 store ptr %39, ptr %13, align 8 br label %42 40: ; preds = %30 %41 = call i32 (...) @usage() br label %42 42: ; preds = %40, %38, %36, %34, %32 br label %25, !llvm.loop !6 43: ; preds = %25 %44 = call ptr @getservbyname(ptr noundef @.str.5, ptr noundef @.str.6) store ptr %44, ptr %9, align 8 %45 = icmp eq ptr %44, null br i1 %45, label %46, label %48 46: ; preds = %43 %47 = call i32 @errx(i32 noundef 1, ptr noundef @.str.7) br label %48 48: ; preds = %46, %43 %49 = load ptr, ptr %9, align 8 %50 = getelementptr inbounds %struct.servent, ptr %49, i32 0, i32 0 %51 = load i32, ptr %50, align 4 %52 = load ptr, ptr %11, align 8 %53 = load ptr, ptr %12, align 8 %54 = load ptr, ptr %13, align 8 %55 = call i32 @rexec(ptr noundef %10, i32 noundef %51, ptr noundef %52, ptr noundef %53, ptr noundef %54, ptr noundef null) store i32 %55, ptr %7, align 4 %56 = icmp eq i32 %55, -1 br i1 %56, label %57, label %58 57: ; preds = %48 store i32 1, ptr %3, align 4 store i32 1, ptr %16, align 4 br label %74 58: ; preds = %48 br label %59 59: ; preds = %64, %58 %60 = load i32, ptr %7, align 4 %61 = trunc i64 %22 to i32 %62 = call i32 @read(i32 noundef %60, ptr noundef %24, i32 noundef %61) store i32 %62, ptr %8, align 4 %63 = icmp sgt i32 %62, 0 br i1 %63, label %64, label %68 64: ; preds = %59 %65 = load i32, ptr @STDOUT_FILENO, align 4 %66 = load i32, ptr %8, align 4 %67 = call i32 @write(i32 noundef %65, ptr noundef %24, i32 noundef %66) br label %59, !llvm.loop !8 68: ; preds = %59 %69 = load i32, ptr %8, align 4 %70 = icmp eq i32 %69, -1 br i1 %70, label %71, label %73 71: ; preds = %68 %72 = call i32 @err(i32 noundef 1, ptr noundef @.str.8) br label %73 73: ; preds = %71, %68 store i32 0, ptr %3, align 4 store i32 1, ptr %16, align 4 br label %74 74: ; preds = %73, %57 %75 = load ptr, ptr %14, align 8 call void @llvm.stackrestore(ptr %75) %76 = load i32, ptr %3, align 4 ret i32 %76 } declare ptr @__UNCONST(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @usage(...) #1 declare ptr @getservbyname(ptr noundef, ptr noundef) #1 declare i32 @errx(i32 noundef, ptr noundef) #1 declare i32 @rexec(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @err(i32 noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphknt52g9.c" target datalayout = "e-m:e-p270: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.servent = type { i32 } @.str = private unnamed_addr constant [10 x i8] c"localhost\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"root\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"h@x0R\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"ls\00", align 1 @BUFSIZ = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [9 x i8] c"h:u:p:c:\00", align 1 @optarg = dso_local global ptr null, align 8 @.str.5 = private unnamed_addr constant [5 x i8] c"exec\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"tcp\00", align 1 @.str.7 = private unnamed_addr constant [29 x i8] c"Cannot find service exec/tcp\00", align 1 @STDOUT_FILENO = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [12 x i8] c"read failed\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 ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca i64, align 8 %16 = 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 %17 = call ptr @__UNCONST(ptr noundef @.str) store ptr %17, ptr %10, align 8 %18 = call ptr @__UNCONST(ptr noundef @.str.1) store ptr %18, ptr %11, align 8 %19 = call ptr @__UNCONST(ptr noundef @.str.2) store ptr %19, ptr %12, align 8 %20 = call ptr @__UNCONST(ptr noundef @.str.3) store ptr %20, ptr %13, align 8 %21 = load i32, ptr @BUFSIZ, align 4 %22 = zext i32 %21 to i64 %23 = call ptr @llvm.stacksave() store ptr %23, ptr %14, align 8 %24 = alloca i8, i64 %22, align 16 store i64 %22, ptr %15, align 8 %25 = load i32, ptr %4, align 4 %26 = load ptr, ptr %5, align 8 %27 = call i32 @getopt(i32 noundef %25, ptr noundef %26, ptr noundef @.str.4) store i32 %27, ptr %6, align 4 %28 = icmp ne i32 %27, -1 br i1 %28, label %.lr.ph, label %46 .lr.ph: ; preds = %2 br label %29 29: ; preds = %.lr.ph, %41 %30 = load i32, ptr %6, align 4 switch i32 %30, label %39 [ i32 104, label %31 i32 117, label %33 i32 112, label %35 i32 99, label %37 ] 31: ; preds = %29 %32 = load ptr, ptr @optarg, align 8 store ptr %32, ptr %10, align 8 br label %41 33: ; preds = %29 %34 = load ptr, ptr @optarg, align 8 store ptr %34, ptr %11, align 8 br label %41 35: ; preds = %29 %36 = load ptr, ptr @optarg, align 8 store ptr %36, ptr %12, align 8 br label %41 37: ; preds = %29 %38 = load ptr, ptr @optarg, align 8 store ptr %38, ptr %13, align 8 br label %41 39: ; preds = %29 %40 = call i32 (...) @usage() br label %41 41: ; preds = %39, %37, %35, %33, %31 %42 = load i32, ptr %4, align 4 %43 = load ptr, ptr %5, align 8 %44 = call i32 @getopt(i32 noundef %42, ptr noundef %43, ptr noundef @.str.4) store i32 %44, ptr %6, align 4 %45 = icmp ne i32 %44, -1 br i1 %45, label %29, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %41 br label %46 46: ; preds = %._crit_edge, %2 %47 = call ptr @getservbyname(ptr noundef @.str.5, ptr noundef @.str.6) store ptr %47, ptr %9, align 8 %48 = icmp eq ptr %47, null br i1 %48, label %49, label %51 49: ; preds = %46 %50 = call i32 @errx(i32 noundef 1, ptr noundef @.str.7) br label %51 51: ; preds = %49, %46 %52 = load ptr, ptr %9, align 8 %53 = getelementptr inbounds %struct.servent, ptr %52, i32 0, i32 0 %54 = load i32, ptr %53, align 4 %55 = load ptr, ptr %11, align 8 %56 = load ptr, ptr %12, align 8 %57 = load ptr, ptr %13, align 8 %58 = call i32 @rexec(ptr noundef %10, i32 noundef %54, ptr noundef %55, ptr noundef %56, ptr noundef %57, ptr noundef null) store i32 %58, ptr %7, align 4 %59 = icmp eq i32 %58, -1 br i1 %59, label %60, label %61 60: ; preds = %51 store i32 1, ptr %3, align 4 store i32 1, ptr %16, align 4 br label %79 61: ; preds = %51 %62 = load i32, ptr %7, align 4 %63 = trunc i64 %22 to i32 %64 = call i32 @read(i32 noundef %62, ptr noundef %24, i32 noundef %63) store i32 %64, ptr %8, align 4 %65 = icmp sgt i32 %64, 0 br i1 %65, label %.lr.ph2, label %73 .lr.ph2: ; preds = %61 br label %66 66: ; preds = %.lr.ph2, %66 %67 = load i32, ptr @STDOUT_FILENO, align 4 %68 = load i32, ptr %8, align 4 %69 = call i32 @write(i32 noundef %67, ptr noundef %24, i32 noundef %68) %70 = load i32, ptr %7, align 4 %71 = call i32 @read(i32 noundef %70, ptr noundef %24, i32 noundef %63) store i32 %71, ptr %8, align 4 %72 = icmp sgt i32 %71, 0 br i1 %72, label %66, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %66 br label %73 73: ; preds = %._crit_edge3, %61 %74 = load i32, ptr %8, align 4 %75 = icmp eq i32 %74, -1 br i1 %75, label %76, label %78 76: ; preds = %73 %77 = call i32 @err(i32 noundef 1, ptr noundef @.str.8) br label %78 78: ; preds = %76, %73 store i32 0, ptr %3, align 4 store i32 1, ptr %16, align 4 br label %79 79: ; preds = %78, %60 %80 = load ptr, ptr %14, align 8 call void @llvm.stackrestore(ptr %80) %81 = load i32, ptr %3, align 4 ret i32 %81 } declare ptr @__UNCONST(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @usage(...) #1 declare ptr @getservbyname(ptr noundef, ptr noundef) #1 declare i32 @errx(i32 noundef, ptr noundef) #1 declare i32 @rexec(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @err(i32 noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpzo4efrwm.c' source_filename = "/tmp/tmpzo4efrwm.c" target datalayout = "e-m:e-p270: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_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @x_fopen(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 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 ptr @fopen(ptr noundef %6, ptr noundef %7) store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %16 11: ; preds = %2 %12 = load ptr, ptr %3, align 8 %13 = call i32 @perror(ptr noundef %12) %14 = load i32, ptr @EXIT_FAILURE, align 4 %15 = call i32 @exit(i32 noundef %14) #3 unreachable 16: ; preds = %2 %17 = load ptr, ptr %5, align 8 ret ptr %17 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzo4efrwm.c" target datalayout = "e-m:e-p270: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_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @x_fopen(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 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 ptr @fopen(ptr noundef %6, ptr noundef %7) store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %16 11: ; preds = %2 %12 = load ptr, ptr %3, align 8 %13 = call i32 @perror(ptr noundef %12) %14 = load i32, ptr @EXIT_FAILURE, align 4 %15 = call i32 @exit(i32 noundef %14) #3 unreachable 16: ; preds = %2 %17 = load ptr, ptr %5, align 8 ret ptr %17 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2dijig3h.c' source_filename = "/tmp/tmp2dijig3h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @add1(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = add nsw i32 %3, 1 %5 = load i32, ptr %2, align 4 %6 = sub nsw i32 %5, 1 %7 = call i64 @add2(i32 noundef %4, i32 noundef %6) ret i64 %7 } declare i64 @add2(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/tmp2dijig3h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @add1(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = add nsw i32 %3, 1 %5 = load i32, ptr %2, align 4 %6 = sub nsw i32 %5, 1 %7 = call i64 @add2(i32 noundef %4, i32 noundef %6) ret i64 %7 } declare i64 @add2(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/tmph32dv7io.c' source_filename = "/tmp/tmph32dv7io.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"Hello world\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @f2() #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/tmph32dv7io.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"Hello world\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @f2() #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/tmprk5a_0_q.c' source_filename = "/tmp/tmprk5a_0_q.c" target datalayout = "e-m:e-p270: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/tmprk5a_0_q.c" target datalayout = "e-m:e-p270: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/tmp7q7p5zpn.c' source_filename = "/tmp/tmp7q7p5zpn.c" target datalayout = "e-m:e-p270: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 @ft_toupper(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = call i64 @ft_islower(i32 noundef %4) %6 = icmp ne i64 %5, 0 br i1 %6, label %7, label %10 7: ; preds = %1 %8 = load i32, ptr %3, align 4 %9 = sub nsw i32 %8, 32 store i32 %9, ptr %2, align 4 br label %12 10: ; preds = %1 %11 = load i32, ptr %3, align 4 store i32 %11, ptr %2, align 4 br label %12 12: ; preds = %10, %7 %13 = load i32, ptr %2, align 4 ret i32 %13 } declare i64 @ft_islower(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/tmp7q7p5zpn.c" target datalayout = "e-m:e-p270: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 @ft_toupper(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = call i64 @ft_islower(i32 noundef %4) %6 = icmp ne i64 %5, 0 br i1 %6, label %7, label %10 7: ; preds = %1 %8 = load i32, ptr %3, align 4 %9 = sub nsw i32 %8, 32 store i32 %9, ptr %2, align 4 br label %12 10: ; preds = %1 %11 = load i32, ptr %3, align 4 store i32 %11, ptr %2, align 4 br label %12 12: ; preds = %10, %7 %13 = load i32, ptr %2, align 4 ret i32 %13 } declare i64 @ft_islower(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/tmp5bgm9g8h.c' source_filename = "/tmp/tmp5bgm9g8h.c" target datalayout = "e-m:e-p270: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 @copy_cstring(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i64 @strlen(ptr noundef %6) store i64 %7, ptr %5, align 8 %8 = load i64, ptr %5, align 8 %9 = add i64 %8, 1 %10 = call ptr @alloc_mem(i64 noundef %9) store ptr %10, ptr %4, align 8 %11 = load ptr, ptr %4, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %14, label %13 13: ; preds = %1 store ptr null, ptr %2, align 8 br label %23 14: ; preds = %1 %15 = load ptr, ptr %4, align 8 %16 = load ptr, ptr %3, align 8 %17 = load i64, ptr %5, align 8 %18 = call i32 @memcpy(ptr noundef %15, ptr noundef %16, i64 noundef %17) %19 = load ptr, ptr %4, align 8 %20 = load i64, ptr %5, align 8 %21 = getelementptr inbounds i8, ptr %19, i64 %20 store i8 0, ptr %21, align 1 %22 = load ptr, ptr %4, align 8 store ptr %22, ptr %2, align 8 br label %23 23: ; preds = %14, %13 %24 = load ptr, ptr %2, align 8 ret ptr %24 } declare i64 @strlen(ptr noundef) #1 declare ptr @alloc_mem(i64 noundef) #1 declare i32 @memcpy(ptr 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5bgm9g8h.c" target datalayout = "e-m:e-p270: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 @copy_cstring(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i64 @strlen(ptr noundef %6) store i64 %7, ptr %5, align 8 %8 = load i64, ptr %5, align 8 %9 = add i64 %8, 1 %10 = call ptr @alloc_mem(i64 noundef %9) store ptr %10, ptr %4, align 8 %11 = load ptr, ptr %4, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %14, label %13 13: ; preds = %1 store ptr null, ptr %2, align 8 br label %23 14: ; preds = %1 %15 = load ptr, ptr %4, align 8 %16 = load ptr, ptr %3, align 8 %17 = load i64, ptr %5, align 8 %18 = call i32 @memcpy(ptr noundef %15, ptr noundef %16, i64 noundef %17) %19 = load ptr, ptr %4, align 8 %20 = load i64, ptr %5, align 8 %21 = getelementptr inbounds i8, ptr %19, i64 %20 store i8 0, ptr %21, align 1 %22 = load ptr, ptr %4, align 8 store ptr %22, ptr %2, align 8 br label %23 23: ; preds = %14, %13 %24 = load ptr, ptr %2, align 8 ret ptr %24 } declare i64 @strlen(ptr noundef) #1 declare ptr @alloc_mem(i64 noundef) #1 declare i32 @memcpy(ptr 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"}
; ModuleID = '/tmp/tmp5ukawa2q.c' source_filename = "/tmp/tmp5ukawa2q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @LOG_ERR = 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/tmp5ukawa2q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @LOG_ERR = 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/tmpwynoffzm.c' source_filename = "/tmp/tmpwynoffzm.c" target datalayout = "e-m:e-p270: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"%y\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%m\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [39 x i8] c"Invalid character \22%c\22 in date format!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @convert_human_date_format(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i8, align 1 %7 = alloca i32, align 4 %8 = alloca i8, align 1 store ptr %0, ptr %2, align 8 %9 = load ptr, ptr %2, align 8 %10 = call i32 @strlen(ptr noundef %9) %11 = mul nsw i32 2, %10 %12 = add nsw i32 %11, 1 %13 = call i64 @xcalloc(i32 noundef %12, i32 noundef 1) %14 = inttoptr i64 %13 to ptr store ptr %14, ptr %3, align 8 %15 = load ptr, ptr %3, align 8 store ptr %15, ptr %5, align 8 store i8 0, ptr %6, align 1 store i32 0, ptr %7, align 4 %16 = load ptr, ptr %2, align 8 store ptr %16, ptr %4, align 8 br label %17 17: ; preds = %97, %1 %18 = load ptr, ptr %4, align 8 %19 = load i8, ptr %18, align 1 %20 = icmp ne i8 %19, 0 br i1 %20, label %21, label %100 21: ; preds = %17 store i8 1, ptr %8, align 1 %22 = load ptr, ptr %4, align 8 %23 = load i8, ptr %22, align 1 %24 = call signext i8 @toupper(i8 noundef signext %23) %25 = sext i8 %24 to i32 %26 = icmp ne i32 %25, 89 br i1 %26, label %27, label %28 27: ; preds = %21 store i32 0, ptr %7, align 4 br label %28 28: ; preds = %27, %21 %29 = load ptr, ptr %4, align 8 %30 = load i8, ptr %29, align 1 %31 = call i64 @isalpha(i8 noundef signext %30) %32 = icmp ne i64 %31, 0 br i1 %32, label %33, label %77 33: ; preds = %28 %34 = load ptr, ptr %4, align 8 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 switch i32 %36, label %75 [ i32 121, label %37 i32 89, label %37 i32 109, label %55 i32 77, label %55 i32 100, label %65 i32 68, label %65 ] 37: ; preds = %33, %33 %38 = load i8, ptr %6, align 1 %39 = sext i8 %38 to i32 %40 = icmp ne i32 %39, 89 br i1 %40, label %41, label %46 41: ; preds = %37 %42 = load ptr, ptr %5, align 8 %43 = call i32 @strcat(ptr noundef %42, ptr noundef @.str) %44 = load ptr, ptr %5, align 8 %45 = getelementptr inbounds i8, ptr %44, i64 2 store ptr %45, ptr %5, align 8 store i8 89, ptr %6, align 1 br label %46 46: ; preds = %41, %37 %47 = load i32, ptr %7, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %7, align 4 %49 = load i32, ptr %7, align 4 %50 = icmp sgt i32 %49, 2 br i1 %50, label %51, label %54 51: ; preds = %46 %52 = load ptr, ptr %5, align 8 %53 = getelementptr inbounds i8, ptr %52, i64 -1 store i8 89, ptr %53, align 1 br label %54 54: ; preds = %51, %46 br label %76 55: ; preds = %33, %33 %56 = load i8, ptr %6, align 1 %57 = sext i8 %56 to i32 %58 = icmp ne i32 %57, 77 br i1 %58, label %59, label %64 59: ; preds = %55 %60 = load ptr, ptr %5, align 8 %61 = call i32 @strcat(ptr noundef %60, ptr noundef @.str.1) %62 = load ptr, ptr %5, align 8 %63 = getelementptr inbounds i8, ptr %62, i64 2 store ptr %63, ptr %5, align 8 store i8 77, ptr %6, align 1 br label %64 64: ; preds = %59, %55 br label %76 65: ; preds = %33, %33 %66 = load i8, ptr %6, align 1 %67 = sext i8 %66 to i32 %68 = icmp ne i32 %67, 68 br i1 %68, label %69, label %74 69: ; preds = %65 %70 = load ptr, ptr %5, align 8 %71 = call i32 @strcat(ptr noundef %70, ptr noundef @.str.2) %72 = load ptr, ptr %5, align 8 %73 = getelementptr inbounds i8, ptr %72, i64 2 store ptr %73, ptr %5, align 8 store i8 68, ptr %6, align 1 br label %74 74: ; preds = %69, %65 br label %76 75: ; preds = %33 store i8 0, ptr %8, align 1 br label %76 76: ; preds = %75, %74, %64, %54 br label %89 77: ; preds = %28 %78 = load ptr, ptr %4, align 8 %79 = load i8, ptr %78, align 1 %80 = call i64 @ispunct(i8 noundef signext %79) %81 = icmp ne i64 %80, 0 br i1 %81, label %82, label %87 82: ; preds = %77 %83 = load ptr, ptr %4, align 8 %84 = load i8, ptr %83, align 1 %85 = load ptr, ptr %5, align 8 %86 = getelementptr inbounds i8, ptr %85, i32 1 store ptr %86, ptr %5, align 8 store i8 %84, ptr %85, align 1 store i8 0, ptr %6, align 1 br label %88 87: ; preds = %77 store i8 0, ptr %8, align 1 br label %88 88: ; preds = %87, %82 br label %89 89: ; preds = %88, %76 %90 = load i8, ptr %8, align 1 %91 = sext i8 %90 to i32 %92 = icmp eq i32 %91, 0 %93 = zext i1 %92 to i32 %94 = load ptr, ptr %4, align 8 %95 = load i8, ptr %94, align 1 %96 = call i32 @is_fatal(i32 noundef %93, ptr noundef @.str.3, i8 noundef signext %95) br label %97 97: ; preds = %89 %98 = load ptr, ptr %4, align 8 %99 = getelementptr inbounds i8, ptr %98, i32 1 store ptr %99, ptr %4, align 8 br label %17, !llvm.loop !6 100: ; preds = %17 %101 = load ptr, ptr %3, align 8 ret ptr %101 } declare i64 @xcalloc(i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare signext i8 @toupper(i8 noundef signext) #1 declare i64 @isalpha(i8 noundef signext) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i64 @ispunct(i8 noundef signext) #1 declare i32 @is_fatal(i32 noundef, ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwynoffzm.c" target datalayout = "e-m:e-p270: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"%y\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%m\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [39 x i8] c"Invalid character \22%c\22 in date format!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @convert_human_date_format(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i8, align 1 %7 = alloca i32, align 4 %8 = alloca i8, align 1 store ptr %0, ptr %2, align 8 %9 = load ptr, ptr %2, align 8 %10 = call i32 @strlen(ptr noundef %9) %11 = mul nsw i32 2, %10 %12 = add nsw i32 %11, 1 %13 = call i64 @xcalloc(i32 noundef %12, i32 noundef 1) %14 = inttoptr i64 %13 to ptr store ptr %14, ptr %3, align 8 %15 = load ptr, ptr %3, align 8 store ptr %15, ptr %5, align 8 store i8 0, ptr %6, align 1 store i32 0, ptr %7, align 4 %16 = load ptr, ptr %2, align 8 store ptr %16, ptr %4, align 8 %17 = load ptr, ptr %4, align 8 %18 = load i8, ptr %17, align 1 %19 = icmp ne i8 %18, 0 br i1 %19, label %.lr.ph, label %102 .lr.ph: ; preds = %1 br label %20 20: ; preds = %.lr.ph, %96 store i8 1, ptr %8, align 1 %21 = load ptr, ptr %4, align 8 %22 = load i8, ptr %21, align 1 %23 = call signext i8 @toupper(i8 noundef signext %22) %24 = sext i8 %23 to i32 %25 = icmp ne i32 %24, 89 br i1 %25, label %26, label %27 26: ; preds = %20 store i32 0, ptr %7, align 4 br label %27 27: ; preds = %26, %20 %28 = load ptr, ptr %4, align 8 %29 = load i8, ptr %28, align 1 %30 = call i64 @isalpha(i8 noundef signext %29) %31 = icmp ne i64 %30, 0 br i1 %31, label %32, label %76 32: ; preds = %27 %33 = load ptr, ptr %4, align 8 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 switch i32 %35, label %74 [ i32 121, label %36 i32 89, label %36 i32 109, label %54 i32 77, label %54 i32 100, label %64 i32 68, label %64 ] 36: ; preds = %32, %32 %37 = load i8, ptr %6, align 1 %38 = sext i8 %37 to i32 %39 = icmp ne i32 %38, 89 br i1 %39, label %40, label %45 40: ; preds = %36 %41 = load ptr, ptr %5, align 8 %42 = call i32 @strcat(ptr noundef %41, ptr noundef @.str) %43 = load ptr, ptr %5, align 8 %44 = getelementptr inbounds i8, ptr %43, i64 2 store ptr %44, ptr %5, align 8 store i8 89, ptr %6, align 1 br label %45 45: ; preds = %40, %36 %46 = load i32, ptr %7, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %7, align 4 %48 = load i32, ptr %7, align 4 %49 = icmp sgt i32 %48, 2 br i1 %49, label %50, label %53 50: ; preds = %45 %51 = load ptr, ptr %5, align 8 %52 = getelementptr inbounds i8, ptr %51, i64 -1 store i8 89, ptr %52, align 1 br label %53 53: ; preds = %50, %45 br label %75 54: ; preds = %32, %32 %55 = load i8, ptr %6, align 1 %56 = sext i8 %55 to i32 %57 = icmp ne i32 %56, 77 br i1 %57, label %58, label %63 58: ; preds = %54 %59 = load ptr, ptr %5, align 8 %60 = call i32 @strcat(ptr noundef %59, ptr noundef @.str.1) %61 = load ptr, ptr %5, align 8 %62 = getelementptr inbounds i8, ptr %61, i64 2 store ptr %62, ptr %5, align 8 store i8 77, ptr %6, align 1 br label %63 63: ; preds = %58, %54 br label %75 64: ; preds = %32, %32 %65 = load i8, ptr %6, align 1 %66 = sext i8 %65 to i32 %67 = icmp ne i32 %66, 68 br i1 %67, label %68, label %73 68: ; preds = %64 %69 = load ptr, ptr %5, align 8 %70 = call i32 @strcat(ptr noundef %69, ptr noundef @.str.2) %71 = load ptr, ptr %5, align 8 %72 = getelementptr inbounds i8, ptr %71, i64 2 store ptr %72, ptr %5, align 8 store i8 68, ptr %6, align 1 br label %73 73: ; preds = %68, %64 br label %75 74: ; preds = %32 store i8 0, ptr %8, align 1 br label %75 75: ; preds = %74, %73, %63, %53 br label %88 76: ; preds = %27 %77 = load ptr, ptr %4, align 8 %78 = load i8, ptr %77, align 1 %79 = call i64 @ispunct(i8 noundef signext %78) %80 = icmp ne i64 %79, 0 br i1 %80, label %81, label %86 81: ; preds = %76 %82 = load ptr, ptr %4, align 8 %83 = load i8, ptr %82, align 1 %84 = load ptr, ptr %5, align 8 %85 = getelementptr inbounds i8, ptr %84, i32 1 store ptr %85, ptr %5, align 8 store i8 %83, ptr %84, align 1 store i8 0, ptr %6, align 1 br label %87 86: ; preds = %76 store i8 0, ptr %8, align 1 br label %87 87: ; preds = %86, %81 br label %88 88: ; preds = %87, %75 %89 = load i8, ptr %8, align 1 %90 = sext i8 %89 to i32 %91 = icmp eq i32 %90, 0 %92 = zext i1 %91 to i32 %93 = load ptr, ptr %4, align 8 %94 = load i8, ptr %93, align 1 %95 = call i32 @is_fatal(i32 noundef %92, ptr noundef @.str.3, i8 noundef signext %94) br label %96 96: ; preds = %88 %97 = load ptr, ptr %4, align 8 %98 = getelementptr inbounds i8, ptr %97, i32 1 store ptr %98, ptr %4, align 8 %99 = load ptr, ptr %4, align 8 %100 = load i8, ptr %99, align 1 %101 = icmp ne i8 %100, 0 br i1 %101, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %96 br label %102 102: ; preds = %._crit_edge, %1 %103 = load ptr, ptr %3, align 8 ret ptr %103 } declare i64 @xcalloc(i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare signext i8 @toupper(i8 noundef signext) #1 declare i64 @isalpha(i8 noundef signext) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i64 @ispunct(i8 noundef signext) #1 declare i32 @is_fatal(i32 noundef, ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpt7r27m6c.c' source_filename = "/tmp/tmpt7r27m6c.c" target datalayout = "e-m:e-p270: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 @nullPointer_wcsftime(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store i64 %0, ptr %2, align 8 store ptr null, ptr %3, align 8 store ptr null, ptr %4, align 8 store ptr null, ptr %5, align 8 %6 = load ptr, ptr %3, align 8 %7 = load i64, ptr %2, align 8 %8 = load ptr, ptr %4, align 8 %9 = load ptr, ptr %5, align 8 %10 = call i32 @wcsftime(ptr noundef %6, i64 noundef %7, ptr noundef %8, ptr noundef %9) %11 = load i64, ptr %2, align 8 %12 = call i32 @wcsftime(ptr noundef null, i64 noundef %11, ptr noundef null, ptr noundef null) ret void } declare i32 @wcsftime(ptr noundef, i64 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpt7r27m6c.c" target datalayout = "e-m:e-p270: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 @nullPointer_wcsftime(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store i64 %0, ptr %2, align 8 store ptr null, ptr %3, align 8 store ptr null, ptr %4, align 8 store ptr null, ptr %5, align 8 %6 = load ptr, ptr %3, align 8 %7 = load i64, ptr %2, align 8 %8 = load ptr, ptr %4, align 8 %9 = load ptr, ptr %5, align 8 %10 = call i32 @wcsftime(ptr noundef %6, i64 noundef %7, ptr noundef %8, ptr noundef %9) %11 = load i64, ptr %2, align 8 %12 = call i32 @wcsftime(ptr noundef null, i64 noundef %11, ptr noundef null, ptr noundef null) ret void } declare i32 @wcsftime(ptr noundef, i64 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpeq2x1y27.c' source_filename = "/tmp/tmpeq2x1y27.c" target datalayout = "e-m:e-p270: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 [20 x i8] c"out of memory: %lu\0A\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"test_oom_handler()\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_oom_handler(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load i64, ptr %2, align 8 %5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, i64 noundef %4) %6 = call i32 @perror(ptr noundef @.str.1) %7 = load i32, ptr @EXIT_FAILURE, align 4 %8 = call i32 @exit(i32 noundef %7) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, i64 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpeq2x1y27.c" target datalayout = "e-m:e-p270: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 [20 x i8] c"out of memory: %lu\0A\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"test_oom_handler()\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_oom_handler(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load i64, ptr %2, align 8 %5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, i64 noundef %4) %6 = call i32 @perror(ptr noundef @.str.1) %7 = load i32, ptr @EXIT_FAILURE, align 4 %8 = call i32 @exit(i32 noundef %7) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, i64 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqk_yfx7f.c' source_filename = "/tmp/tmpqk_yfx7f.c" target datalayout = "e-m:e-p270: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 [63 x i8] c"#define %s(task) ((unsigned long *) &(((char *) (task))[%d]))\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_constant_ptr(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i32 @printf(ptr noundef @.str, ptr noundef %5, i32 noundef %6) ret void } declare i32 @printf(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/tmpqk_yfx7f.c" target datalayout = "e-m:e-p270: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 [63 x i8] c"#define %s(task) ((unsigned long *) &(((char *) (task))[%d]))\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_constant_ptr(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i32 @printf(ptr noundef @.str, ptr noundef %5, i32 noundef %6) ret void } declare i32 @printf(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/tmpjpv0fy17.c' source_filename = "/tmp/tmpjpv0fy17.c" target datalayout = "e-m:e-p270: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 @dehttpize(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %9, label %8 8: ; preds = %1 store i32 0, ptr %2, align 4 br label %102 9: ; preds = %1 store i32 0, ptr %5, align 4 store i32 0, ptr %4, align 4 br label %10 10: ; preds = %91, %9 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %4, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i8, ptr %11, i64 %13 %15 = load i8, ptr %14, align 1 %16 = icmp ne i8 %15, 0 br i1 %16, label %17, label %96 17: ; preds = %10 %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %4, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %18, i64 %20 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 switch i32 %23, label %81 [ i32 37, label %24 i32 43, label %76 ] 24: ; preds = %17 %25 = load ptr, ptr %3, align 8 %26 = load i32, ptr %4, align 4 %27 = add nsw i32 %26, 1 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %25, i64 %28 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = icmp ne i32 %31, 0 br i1 %32, label %33, label %75 33: ; preds = %24 %34 = load ptr, ptr %3, align 8 %35 = load i32, ptr %4, align 4 %36 = add nsw i32 %35, 2 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %34, i64 %37 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = icmp ne i32 %40, 0 br i1 %41, label %42, label %75 42: ; preds = %33 %43 = load ptr, ptr %3, align 8 %44 = load i32, ptr %4, align 4 %45 = add nsw i32 %44, 1 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i8, ptr %43, i64 %46 %48 = load i8, ptr %47, align 1 %49 = call signext i8 @AsciiToHex(i8 noundef signext %48) %50 = sext i8 %49 to i32 %51 = shl i32 %50, 4 %52 = trunc i32 %51 to i8 %53 = load ptr, ptr %3, align 8 %54 = load i32, ptr %5, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i8, ptr %53, i64 %55 store i8 %52, ptr %56, align 1 %57 = load ptr, ptr %3, align 8 %58 = load i32, ptr %4, align 4 %59 = add nsw i32 %58, 2 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i8, ptr %57, i64 %60 %62 = load i8, ptr %61, align 1 %63 = call signext i8 @AsciiToHex(i8 noundef signext %62) %64 = sext i8 %63 to i32 %65 = load ptr, ptr %3, align 8 %66 = load i32, ptr %5, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds i8, ptr %65, i64 %67 %69 = load i8, ptr %68, align 1 %70 = sext i8 %69 to i32 %71 = or i32 %70, %64 %72 = trunc i32 %71 to i8 store i8 %72, ptr %68, align 1 %73 = load i32, ptr %4, align 4 %74 = add nsw i32 %73, 2 store i32 %74, ptr %4, align 4 br label %75 75: ; preds = %42, %33, %24 br label %91 76: ; preds = %17 %77 = load ptr, ptr %3, align 8 %78 = load i32, ptr %5, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds i8, ptr %77, i64 %79 store i8 32, ptr %80, align 1 br label %91 81: ; preds = %17 %82 = load ptr, ptr %3, align 8 %83 = load i32, ptr %4, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds i8, ptr %82, i64 %84 %86 = load i8, ptr %85, align 1 %87 = load ptr, ptr %3, align 8 %88 = load i32, ptr %5, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds i8, ptr %87, i64 %89 store i8 %86, ptr %90, align 1 br label %91 91: ; preds = %81, %76, %75 %92 = load i32, ptr %4, align 4 %93 = add nsw i32 %92, 1 store i32 %93, ptr %4, align 4 %94 = load i32, ptr %5, align 4 %95 = add nsw i32 %94, 1 store i32 %95, ptr %5, align 4 br label %10, !llvm.loop !6 96: ; preds = %10 %97 = load ptr, ptr %3, align 8 %98 = load i32, ptr %5, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds i8, ptr %97, i64 %99 store i8 0, ptr %100, align 1 %101 = load i32, ptr %5, align 4 store i32 %101, ptr %2, align 4 br label %102 102: ; preds = %96, %8 %103 = load i32, ptr %2, align 4 ret i32 %103 } declare signext i8 @AsciiToHex(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjpv0fy17.c" target datalayout = "e-m:e-p270: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 @dehttpize(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %9, label %8 8: ; preds = %1 store i32 0, ptr %2, align 4 br label %107 9: ; preds = %1 store i32 0, ptr %5, align 4 store i32 0, ptr %4, align 4 %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %4, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %10, i64 %12 %14 = load i8, ptr %13, align 1 %15 = icmp ne i8 %14, 0 br i1 %15, label %.lr.ph, label %101 .lr.ph: ; preds = %9 br label %16 16: ; preds = %.lr.ph, %90 %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %4, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 switch i32 %22, label %80 [ i32 37, label %23 i32 43, label %75 ] 23: ; preds = %16 %24 = load ptr, ptr %3, align 8 %25 = load i32, ptr %4, align 4 %26 = add nsw i32 %25, 1 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i8, ptr %24, i64 %27 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 %31 = icmp ne i32 %30, 0 br i1 %31, label %32, label %74 32: ; preds = %23 %33 = load ptr, ptr %3, align 8 %34 = load i32, ptr %4, align 4 %35 = add nsw i32 %34, 2 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i8, ptr %33, i64 %36 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = icmp ne i32 %39, 0 br i1 %40, label %41, label %74 41: ; preds = %32 %42 = load ptr, ptr %3, align 8 %43 = load i32, ptr %4, align 4 %44 = add nsw i32 %43, 1 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i8, ptr %42, i64 %45 %47 = load i8, ptr %46, align 1 %48 = call signext i8 @AsciiToHex(i8 noundef signext %47) %49 = sext i8 %48 to i32 %50 = shl i32 %49, 4 %51 = trunc i32 %50 to i8 %52 = load ptr, ptr %3, align 8 %53 = load i32, ptr %5, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i8, ptr %52, i64 %54 store i8 %51, ptr %55, align 1 %56 = load ptr, ptr %3, align 8 %57 = load i32, ptr %4, align 4 %58 = add nsw i32 %57, 2 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds i8, ptr %56, i64 %59 %61 = load i8, ptr %60, align 1 %62 = call signext i8 @AsciiToHex(i8 noundef signext %61) %63 = sext i8 %62 to i32 %64 = load ptr, ptr %3, align 8 %65 = load i32, ptr %5, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds i8, ptr %64, i64 %66 %68 = load i8, ptr %67, align 1 %69 = sext i8 %68 to i32 %70 = or i32 %69, %63 %71 = trunc i32 %70 to i8 store i8 %71, ptr %67, align 1 %72 = load i32, ptr %4, align 4 %73 = add nsw i32 %72, 2 store i32 %73, ptr %4, align 4 br label %74 74: ; preds = %41, %32, %23 br label %90 75: ; preds = %16 %76 = load ptr, ptr %3, align 8 %77 = load i32, ptr %5, align 4 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds i8, ptr %76, i64 %78 store i8 32, ptr %79, align 1 br label %90 80: ; preds = %16 %81 = load ptr, ptr %3, align 8 %82 = load i32, ptr %4, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds i8, ptr %81, i64 %83 %85 = load i8, ptr %84, align 1 %86 = load ptr, ptr %3, align 8 %87 = load i32, ptr %5, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds i8, ptr %86, i64 %88 store i8 %85, ptr %89, align 1 br label %90 90: ; preds = %80, %75, %74 %91 = load i32, ptr %4, align 4 %92 = add nsw i32 %91, 1 store i32 %92, ptr %4, align 4 %93 = load i32, ptr %5, align 4 %94 = add nsw i32 %93, 1 store i32 %94, ptr %5, align 4 %95 = load ptr, ptr %3, align 8 %96 = load i32, ptr %4, align 4 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds i8, ptr %95, i64 %97 %99 = load i8, ptr %98, align 1 %100 = icmp ne i8 %99, 0 br i1 %100, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %90 br label %101 101: ; preds = %._crit_edge, %9 %102 = load ptr, ptr %3, align 8 %103 = load i32, ptr %5, align 4 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds i8, ptr %102, i64 %104 store i8 0, ptr %105, align 1 %106 = load i32, ptr %5, align 4 store i32 %106, ptr %2, align 4 br label %107 107: ; preds = %101, %8 %108 = load i32, ptr %2, align 4 ret i32 %108 } declare signext i8 @AsciiToHex(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"}
; ModuleID = '/tmp/tmpc31ex3n4.c' source_filename = "/tmp/tmpc31ex3n4.c" target datalayout = "e-m:e-p270: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 [148 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/brianmckenna/rex2nc/refs/heads/master/src/libaat/spline.c\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"Ran out of memory\0A\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"x is not monitonic increasing\0A\00", align 1 @.str.3 = private unnamed_addr constant [32 x i8] c"x is not monitonic increasing?\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @mySplineSnd(ptr noundef %0, ptr noundef %1, i64 noundef %2, double noundef %3, double noundef %4, ptr noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca ptr, align 8 %14 = alloca i64, align 8 %15 = alloca ptr, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 store ptr %0, ptr %8, align 8 store ptr %1, ptr %9, align 8 store i64 %2, ptr %10, align 8 store double %3, ptr %11, align 8 store double %4, ptr %12, align 8 store ptr %5, ptr %13, align 8 %20 = load i64, ptr %10, align 8 %21 = icmp ult i64 %20, 1 br i1 %21, label %22, label %23 22: ; preds = %6 store i32 0, ptr %7, align 4 br label %260 23: ; preds = %6 %24 = load double, ptr %11, align 8 %25 = load ptr, ptr %13, align 8 %26 = getelementptr inbounds double, ptr %25, i64 0 store double %24, ptr %26, align 8 %27 = load i64, ptr %10, align 8 %28 = icmp eq i64 %27, 1 br i1 %28, label %29, label %30 29: ; preds = %23 store i32 0, ptr %7, align 4 br label %260 30: ; preds = %23 %31 = load i64, ptr %10, align 8 %32 = icmp eq i64 %31, 2 br i1 %32, label %33, label %37 33: ; preds = %30 %34 = load double, ptr %12, align 8 %35 = load ptr, ptr %13, align 8 %36 = getelementptr inbounds double, ptr %35, i64 1 store double %34, ptr %36, align 8 store i32 0, ptr %7, align 4 br label %260 37: ; preds = %30 %38 = load i64, ptr %10, align 8 %39 = sub i64 %38, 2 store i64 %39, ptr %10, align 8 %40 = load i64, ptr %10, align 8 %41 = mul i64 %40, 8 %42 = call i64 @malloc(i64 noundef %41) %43 = inttoptr i64 %42 to ptr store ptr %43, ptr %15, align 8 %44 = icmp eq ptr %43, null br i1 %44, label %45, label %47 45: ; preds = %37 %46 = call i32 @myWarn_Loc(i32 noundef 3, ptr noundef @.str, i32 noundef 92, ptr noundef @.str.1) store i32 -1, ptr %7, align 4 br label %260 47: ; preds = %37 %48 = load ptr, ptr %8, align 8 %49 = getelementptr inbounds double, ptr %48, i64 1 %50 = load double, ptr %49, align 8 %51 = load ptr, ptr %8, align 8 %52 = getelementptr inbounds double, ptr %51, i64 0 %53 = load double, ptr %52, align 8 %54 = fsub double %50, %53 store double %54, ptr %16, align 8 %55 = load ptr, ptr %8, align 8 %56 = getelementptr inbounds double, ptr %55, i64 2 %57 = load double, ptr %56, align 8 %58 = load ptr, ptr %8, align 8 %59 = getelementptr inbounds double, ptr %58, i64 1 %60 = load double, ptr %59, align 8 %61 = fsub double %57, %60 store double %61, ptr %17, align 8 %62 = load ptr, ptr %9, align 8 %63 = getelementptr inbounds double, ptr %62, i64 2 %64 = load double, ptr %63, align 8 %65 = load ptr, ptr %9, align 8 %66 = getelementptr inbounds double, ptr %65, i64 1 %67 = load double, ptr %66, align 8 %68 = fsub double %64, %67 %69 = load double, ptr %17, align 8 %70 = fdiv double %68, %69 %71 = load ptr, ptr %9, align 8 %72 = getelementptr inbounds double, ptr %71, i64 1 %73 = load double, ptr %72, align 8 %74 = load ptr, ptr %9, align 8 %75 = getelementptr inbounds double, ptr %74, i64 0 %76 = load double, ptr %75, align 8 %77 = fsub double %73, %76 %78 = load double, ptr %16, align 8 %79 = fdiv double %77, %78 %80 = fsub double %70, %79 %81 = load double, ptr %16, align 8 %82 = load double, ptr %11, align 8 %83 = fmul double %81, %82 %84 = fneg double %83 %85 = call double @llvm.fmuladd.f64(double 6.000000e+00, double %80, double %84) store double %85, ptr %19, align 8 %86 = load i64, ptr %10, align 8 %87 = icmp eq i64 %86, 1 br i1 %87, label %88, label %94 88: ; preds = %47 %89 = load double, ptr %17, align 8 %90 = fneg double %89 %91 = load double, ptr %12, align 8 %92 = load double, ptr %19, align 8 %93 = call double @llvm.fmuladd.f64(double %90, double %91, double %92) store double %93, ptr %19, align 8 br label %94 94: ; preds = %88, %47 %95 = load ptr, ptr %8, align 8 %96 = getelementptr inbounds double, ptr %95, i64 2 %97 = load double, ptr %96, align 8 %98 = load ptr, ptr %8, align 8 %99 = getelementptr inbounds double, ptr %98, i64 0 %100 = load double, ptr %99, align 8 %101 = fsub double %97, %100 %102 = fmul double 2.000000e+00, %101 store double %102, ptr %18, align 8 %103 = load double, ptr %18, align 8 %104 = fcmp oeq double %103, 0.000000e+00 br i1 %104, label %105, label %109 105: ; preds = %94 %106 = call i32 @myWarn_Loc(i32 noundef 3, ptr noundef @.str, i32 noundef 104, ptr noundef @.str.2) %107 = load ptr, ptr %15, align 8 %108 = call i32 @free(ptr noundef %107) store i32 -2, ptr %7, align 4 br label %260 109: ; preds = %94 %110 = load double, ptr %19, align 8 %111 = load double, ptr %18, align 8 %112 = fdiv double %110, %111 %113 = load ptr, ptr %13, align 8 %114 = getelementptr inbounds double, ptr %113, i64 1 store double %112, ptr %114, align 8 store i64 1, ptr %14, align 8 br label %115 115: ; preds = %224, %109 %116 = load i64, ptr %14, align 8 %117 = load i64, ptr %10, align 8 %118 = icmp ult i64 %116, %117 br i1 %118, label %119, label %227 119: ; preds = %115 %120 = load ptr, ptr %8, align 8 %121 = load i64, ptr %14, align 8 %122 = add i64 %121, 1 %123 = getelementptr inbounds double, ptr %120, i64 %122 %124 = load double, ptr %123, align 8 %125 = load ptr, ptr %8, align 8 %126 = load i64, ptr %14, align 8 %127 = getelementptr inbounds double, ptr %125, i64 %126 %128 = load double, ptr %127, align 8 %129 = fsub double %124, %128 store double %129, ptr %16, align 8 %130 = load ptr, ptr %8, align 8 %131 = load i64, ptr %14, align 8 %132 = add i64 %131, 2 %133 = getelementptr inbounds double, ptr %130, i64 %132 %134 = load double, ptr %133, align 8 %135 = load ptr, ptr %8, align 8 %136 = load i64, ptr %14, align 8 %137 = add i64 %136, 1 %138 = getelementptr inbounds double, ptr %135, i64 %137 %139 = load double, ptr %138, align 8 %140 = fsub double %134, %139 store double %140, ptr %17, align 8 %141 = load ptr, ptr %9, align 8 %142 = load i64, ptr %14, align 8 %143 = add i64 %142, 2 %144 = getelementptr inbounds double, ptr %141, i64 %143 %145 = load double, ptr %144, align 8 %146 = load ptr, ptr %9, align 8 %147 = load i64, ptr %14, align 8 %148 = add i64 %147, 1 %149 = getelementptr inbounds double, ptr %146, i64 %148 %150 = load double, ptr %149, align 8 %151 = fsub double %145, %150 %152 = load double, ptr %17, align 8 %153 = fdiv double %151, %152 %154 = load ptr, ptr %9, align 8 %155 = load i64, ptr %14, align 8 %156 = add i64 %155, 1 %157 = getelementptr inbounds double, ptr %154, i64 %156 %158 = load double, ptr %157, align 8 %159 = load ptr, ptr %9, align 8 %160 = load i64, ptr %14, align 8 %161 = getelementptr inbounds double, ptr %159, i64 %160 %162 = load double, ptr %161, align 8 %163 = fsub double %158, %162 %164 = load double, ptr %16, align 8 %165 = fdiv double %163, %164 %166 = fsub double %153, %165 %167 = fmul double 6.000000e+00, %166 store double %167, ptr %19, align 8 %168 = load i64, ptr %14, align 8 %169 = load i64, ptr %10, align 8 %170 = sub i64 %169, 1 %171 = icmp eq i64 %168, %170 br i1 %171, label %172, label %178 172: ; preds = %119 %173 = load double, ptr %17, align 8 %174 = fneg double %173 %175 = load double, ptr %12, align 8 %176 = load double, ptr %19, align 8 %177 = call double @llvm.fmuladd.f64(double %174, double %175, double %176) store double %177, ptr %19, align 8 br label %178 178: ; preds = %172, %119 %179 = load double, ptr %16, align 8 %180 = load double, ptr %18, align 8 %181 = fdiv double %179, %180 %182 = load ptr, ptr %15, align 8 %183 = load i64, ptr %14, align 8 %184 = getelementptr inbounds double, ptr %182, i64 %183 store double %181, ptr %184, align 8 %185 = load ptr, ptr %8, align 8 %186 = load i64, ptr %14, align 8 %187 = add i64 %186, 2 %188 = getelementptr inbounds double, ptr %185, i64 %187 %189 = load double, ptr %188, align 8 %190 = load ptr, ptr %8, align 8 %191 = load i64, ptr %14, align 8 %192 = getelementptr inbounds double, ptr %190, i64 %191 %193 = load double, ptr %192, align 8 %194 = fsub double %189, %193 %195 = load double, ptr %16, align 8 %196 = load ptr, ptr %15, align 8 %197 = load i64, ptr %14, align 8 %198 = getelementptr inbounds double, ptr %196, i64 %197 %199 = load double, ptr %198, align 8 %200 = fmul double %195, %199 %201 = fneg double %200 %202 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %194, double %201) store double %202, ptr %18, align 8 %203 = load double, ptr %18, align 8 %204 = fcmp oeq double %203, 0.000000e+00 br i1 %204, label %205, label %209 205: ; preds = %178 %206 = call i32 @myWarn_Loc(i32 noundef 3, ptr noundef @.str, i32 noundef 123, ptr noundef @.str.3) %207 = load ptr, ptr %15, align 8 %208 = call i32 @free(ptr noundef %207) store i32 -2, ptr %7, align 4 br label %260 209: ; preds = %178 %210 = load double, ptr %19, align 8 %211 = load double, ptr %16, align 8 %212 = load ptr, ptr %13, align 8 %213 = load i64, ptr %14, align 8 %214 = getelementptr inbounds double, ptr %212, i64 %213 %215 = load double, ptr %214, align 8 %216 = fneg double %211 %217 = call double @llvm.fmuladd.f64(double %216, double %215, double %210) %218 = load double, ptr %18, align 8 %219 = fdiv double %217, %218 %220 = load ptr, ptr %13, align 8 %221 = load i64, ptr %14, align 8 %222 = add i64 %221, 1 %223 = getelementptr inbounds double, ptr %220, i64 %222 store double %219, ptr %223, align 8 br label %224 224: ; preds = %209 %225 = load i64, ptr %14, align 8 %226 = add i64 %225, 1 store i64 %226, ptr %14, align 8 br label %115, !llvm.loop !6 227: ; preds = %115 %228 = load i64, ptr %10, align 8 %229 = sub i64 %228, 1 store i64 %229, ptr %14, align 8 br label %230 230: ; preds = %249, %227 %231 = load i64, ptr %14, align 8 %232 = icmp uge i64 %231, 1 br i1 %232, label %233, label %252 233: ; preds = %230 %234 = load ptr, ptr %15, align 8 %235 = load i64, ptr %14, align 8 %236 = getelementptr inbounds double, ptr %234, i64 %235 %237 = load double, ptr %236, align 8 %238 = load ptr, ptr %13, align 8 %239 = load i64, ptr %14, align 8 %240 = add i64 %239, 1 %241 = getelementptr inbounds double, ptr %238, i64 %240 %242 = load double, ptr %241, align 8 %243 = load ptr, ptr %13, align 8 %244 = load i64, ptr %14, align 8 %245 = getelementptr inbounds double, ptr %243, i64 %244 %246 = load double, ptr %245, align 8 %247 = fneg double %237 %248 = call double @llvm.fmuladd.f64(double %247, double %242, double %246) store double %248, ptr %245, align 8 br label %249 249: ; preds = %233 %250 = load i64, ptr %14, align 8 %251 = add i64 %250, -1 store i64 %251, ptr %14, align 8 br label %230, !llvm.loop !8 252: ; preds = %230 %253 = load ptr, ptr %15, align 8 %254 = call i32 @free(ptr noundef %253) %255 = load double, ptr %12, align 8 %256 = load ptr, ptr %13, align 8 %257 = load i64, ptr %10, align 8 %258 = add i64 %257, 1 %259 = getelementptr inbounds double, ptr %256, i64 %258 store double %255, ptr %259, align 8 store i32 0, ptr %7, align 4 br label %260 260: ; preds = %252, %205, %105, %45, %33, %29, %22 %261 = load i32, ptr %7, align 4 ret i32 %261 } declare i64 @malloc(i64 noundef) #1 declare i32 @myWarn_Loc(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 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" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpc31ex3n4.c" target datalayout = "e-m:e-p270: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 [148 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/brianmckenna/rex2nc/refs/heads/master/src/libaat/spline.c\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"Ran out of memory\0A\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"x is not monitonic increasing\0A\00", align 1 @.str.3 = private unnamed_addr constant [32 x i8] c"x is not monitonic increasing?\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @mySplineSnd(ptr noundef %0, ptr noundef %1, i64 noundef %2, double noundef %3, double noundef %4, ptr noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca ptr, align 8 %14 = alloca i64, align 8 %15 = alloca ptr, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 store ptr %0, ptr %8, align 8 store ptr %1, ptr %9, align 8 store i64 %2, ptr %10, align 8 store double %3, ptr %11, align 8 store double %4, ptr %12, align 8 store ptr %5, ptr %13, align 8 %20 = load i64, ptr %10, align 8 %21 = icmp ult i64 %20, 1 br i1 %21, label %22, label %23 22: ; preds = %6 store i32 0, ptr %7, align 4 br label %263 23: ; preds = %6 %24 = load double, ptr %11, align 8 %25 = load ptr, ptr %13, align 8 %26 = getelementptr inbounds double, ptr %25, i64 0 store double %24, ptr %26, align 8 %27 = load i64, ptr %10, align 8 %28 = icmp eq i64 %27, 1 br i1 %28, label %29, label %30 29: ; preds = %23 store i32 0, ptr %7, align 4 br label %263 30: ; preds = %23 %31 = load i64, ptr %10, align 8 %32 = icmp eq i64 %31, 2 br i1 %32, label %33, label %37 33: ; preds = %30 %34 = load double, ptr %12, align 8 %35 = load ptr, ptr %13, align 8 %36 = getelementptr inbounds double, ptr %35, i64 1 store double %34, ptr %36, align 8 store i32 0, ptr %7, align 4 br label %263 37: ; preds = %30 %38 = load i64, ptr %10, align 8 %39 = sub i64 %38, 2 store i64 %39, ptr %10, align 8 %40 = load i64, ptr %10, align 8 %41 = mul i64 %40, 8 %42 = call i64 @malloc(i64 noundef %41) %43 = inttoptr i64 %42 to ptr store ptr %43, ptr %15, align 8 %44 = icmp eq ptr %43, null br i1 %44, label %45, label %47 45: ; preds = %37 %46 = call i32 @myWarn_Loc(i32 noundef 3, ptr noundef @.str, i32 noundef 92, ptr noundef @.str.1) store i32 -1, ptr %7, align 4 br label %263 47: ; preds = %37 %48 = load ptr, ptr %8, align 8 %49 = getelementptr inbounds double, ptr %48, i64 1 %50 = load double, ptr %49, align 8 %51 = load ptr, ptr %8, align 8 %52 = getelementptr inbounds double, ptr %51, i64 0 %53 = load double, ptr %52, align 8 %54 = fsub double %50, %53 store double %54, ptr %16, align 8 %55 = load ptr, ptr %8, align 8 %56 = getelementptr inbounds double, ptr %55, i64 2 %57 = load double, ptr %56, align 8 %58 = load ptr, ptr %8, align 8 %59 = getelementptr inbounds double, ptr %58, i64 1 %60 = load double, ptr %59, align 8 %61 = fsub double %57, %60 store double %61, ptr %17, align 8 %62 = load ptr, ptr %9, align 8 %63 = getelementptr inbounds double, ptr %62, i64 2 %64 = load double, ptr %63, align 8 %65 = load ptr, ptr %9, align 8 %66 = getelementptr inbounds double, ptr %65, i64 1 %67 = load double, ptr %66, align 8 %68 = fsub double %64, %67 %69 = load double, ptr %17, align 8 %70 = fdiv double %68, %69 %71 = load ptr, ptr %9, align 8 %72 = getelementptr inbounds double, ptr %71, i64 1 %73 = load double, ptr %72, align 8 %74 = load ptr, ptr %9, align 8 %75 = getelementptr inbounds double, ptr %74, i64 0 %76 = load double, ptr %75, align 8 %77 = fsub double %73, %76 %78 = load double, ptr %16, align 8 %79 = fdiv double %77, %78 %80 = fsub double %70, %79 %81 = load double, ptr %16, align 8 %82 = load double, ptr %11, align 8 %83 = fmul double %81, %82 %84 = fneg double %83 %85 = call double @llvm.fmuladd.f64(double 6.000000e+00, double %80, double %84) store double %85, ptr %19, align 8 %86 = load i64, ptr %10, align 8 %87 = icmp eq i64 %86, 1 br i1 %87, label %88, label %94 88: ; preds = %47 %89 = load double, ptr %17, align 8 %90 = fneg double %89 %91 = load double, ptr %12, align 8 %92 = load double, ptr %19, align 8 %93 = call double @llvm.fmuladd.f64(double %90, double %91, double %92) store double %93, ptr %19, align 8 br label %94 94: ; preds = %88, %47 %95 = load ptr, ptr %8, align 8 %96 = getelementptr inbounds double, ptr %95, i64 2 %97 = load double, ptr %96, align 8 %98 = load ptr, ptr %8, align 8 %99 = getelementptr inbounds double, ptr %98, i64 0 %100 = load double, ptr %99, align 8 %101 = fsub double %97, %100 %102 = fmul double 2.000000e+00, %101 store double %102, ptr %18, align 8 %103 = load double, ptr %18, align 8 %104 = fcmp oeq double %103, 0.000000e+00 br i1 %104, label %105, label %109 105: ; preds = %94 %106 = call i32 @myWarn_Loc(i32 noundef 3, ptr noundef @.str, i32 noundef 104, ptr noundef @.str.2) %107 = load ptr, ptr %15, align 8 %108 = call i32 @free(ptr noundef %107) store i32 -2, ptr %7, align 4 br label %263 109: ; preds = %94 %110 = load double, ptr %19, align 8 %111 = load double, ptr %18, align 8 %112 = fdiv double %110, %111 %113 = load ptr, ptr %13, align 8 %114 = getelementptr inbounds double, ptr %113, i64 1 store double %112, ptr %114, align 8 store i64 1, ptr %14, align 8 %115 = load i64, ptr %14, align 8 %116 = load i64, ptr %10, align 8 %117 = icmp ult i64 %115, %116 br i1 %117, label %.lr.ph, label %229 .lr.ph: ; preds = %109 br label %118 118: ; preds = %.lr.ph, %223 %119 = load ptr, ptr %8, align 8 %120 = load i64, ptr %14, align 8 %121 = add i64 %120, 1 %122 = getelementptr inbounds double, ptr %119, i64 %121 %123 = load double, ptr %122, align 8 %124 = load ptr, ptr %8, align 8 %125 = load i64, ptr %14, align 8 %126 = getelementptr inbounds double, ptr %124, i64 %125 %127 = load double, ptr %126, align 8 %128 = fsub double %123, %127 store double %128, ptr %16, align 8 %129 = load ptr, ptr %8, align 8 %130 = load i64, ptr %14, align 8 %131 = add i64 %130, 2 %132 = getelementptr inbounds double, ptr %129, i64 %131 %133 = load double, ptr %132, align 8 %134 = load ptr, ptr %8, align 8 %135 = load i64, ptr %14, align 8 %136 = add i64 %135, 1 %137 = getelementptr inbounds double, ptr %134, i64 %136 %138 = load double, ptr %137, align 8 %139 = fsub double %133, %138 store double %139, ptr %17, align 8 %140 = load ptr, ptr %9, align 8 %141 = load i64, ptr %14, align 8 %142 = add i64 %141, 2 %143 = getelementptr inbounds double, ptr %140, i64 %142 %144 = load double, ptr %143, align 8 %145 = load ptr, ptr %9, align 8 %146 = load i64, ptr %14, align 8 %147 = add i64 %146, 1 %148 = getelementptr inbounds double, ptr %145, i64 %147 %149 = load double, ptr %148, align 8 %150 = fsub double %144, %149 %151 = load double, ptr %17, align 8 %152 = fdiv double %150, %151 %153 = load ptr, ptr %9, align 8 %154 = load i64, ptr %14, align 8 %155 = add i64 %154, 1 %156 = getelementptr inbounds double, ptr %153, i64 %155 %157 = load double, ptr %156, align 8 %158 = load ptr, ptr %9, align 8 %159 = load i64, ptr %14, align 8 %160 = getelementptr inbounds double, ptr %158, i64 %159 %161 = load double, ptr %160, align 8 %162 = fsub double %157, %161 %163 = load double, ptr %16, align 8 %164 = fdiv double %162, %163 %165 = fsub double %152, %164 %166 = fmul double 6.000000e+00, %165 store double %166, ptr %19, align 8 %167 = load i64, ptr %14, align 8 %168 = load i64, ptr %10, align 8 %169 = sub i64 %168, 1 %170 = icmp eq i64 %167, %169 br i1 %170, label %171, label %177 171: ; preds = %118 %172 = load double, ptr %17, align 8 %173 = fneg double %172 %174 = load double, ptr %12, align 8 %175 = load double, ptr %19, align 8 %176 = call double @llvm.fmuladd.f64(double %173, double %174, double %175) store double %176, ptr %19, align 8 br label %177 177: ; preds = %171, %118 %178 = load double, ptr %16, align 8 %179 = load double, ptr %18, align 8 %180 = fdiv double %178, %179 %181 = load ptr, ptr %15, align 8 %182 = load i64, ptr %14, align 8 %183 = getelementptr inbounds double, ptr %181, i64 %182 store double %180, ptr %183, align 8 %184 = load ptr, ptr %8, align 8 %185 = load i64, ptr %14, align 8 %186 = add i64 %185, 2 %187 = getelementptr inbounds double, ptr %184, i64 %186 %188 = load double, ptr %187, align 8 %189 = load ptr, ptr %8, align 8 %190 = load i64, ptr %14, align 8 %191 = getelementptr inbounds double, ptr %189, i64 %190 %192 = load double, ptr %191, align 8 %193 = fsub double %188, %192 %194 = load double, ptr %16, align 8 %195 = load ptr, ptr %15, align 8 %196 = load i64, ptr %14, align 8 %197 = getelementptr inbounds double, ptr %195, i64 %196 %198 = load double, ptr %197, align 8 %199 = fmul double %194, %198 %200 = fneg double %199 %201 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %193, double %200) store double %201, ptr %18, align 8 %202 = load double, ptr %18, align 8 %203 = fcmp oeq double %202, 0.000000e+00 br i1 %203, label %204, label %208 204: ; preds = %177 %205 = call i32 @myWarn_Loc(i32 noundef 3, ptr noundef @.str, i32 noundef 123, ptr noundef @.str.3) %206 = load ptr, ptr %15, align 8 %207 = call i32 @free(ptr noundef %206) store i32 -2, ptr %7, align 4 br label %263 208: ; preds = %177 %209 = load double, ptr %19, align 8 %210 = load double, ptr %16, align 8 %211 = load ptr, ptr %13, align 8 %212 = load i64, ptr %14, align 8 %213 = getelementptr inbounds double, ptr %211, i64 %212 %214 = load double, ptr %213, align 8 %215 = fneg double %210 %216 = call double @llvm.fmuladd.f64(double %215, double %214, double %209) %217 = load double, ptr %18, align 8 %218 = fdiv double %216, %217 %219 = load ptr, ptr %13, align 8 %220 = load i64, ptr %14, align 8 %221 = add i64 %220, 1 %222 = getelementptr inbounds double, ptr %219, i64 %221 store double %218, ptr %222, align 8 br label %223 223: ; preds = %208 %224 = load i64, ptr %14, align 8 %225 = add i64 %224, 1 store i64 %225, ptr %14, align 8 %226 = load i64, ptr %14, align 8 %227 = load i64, ptr %10, align 8 %228 = icmp ult i64 %226, %227 br i1 %228, label %118, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %223 br label %229 229: ; preds = %._crit_edge, %109 %230 = load i64, ptr %10, align 8 %231 = sub i64 %230, 1 store i64 %231, ptr %14, align 8 %232 = load i64, ptr %14, align 8 %233 = icmp uge i64 %232, 1 br i1 %233, label %.lr.ph2, label %255 .lr.ph2: ; preds = %229 br label %234 234: ; preds = %.lr.ph2, %250 %235 = load ptr, ptr %15, align 8 %236 = load i64, ptr %14, align 8 %237 = getelementptr inbounds double, ptr %235, i64 %236 %238 = load double, ptr %237, align 8 %239 = load ptr, ptr %13, align 8 %240 = load i64, ptr %14, align 8 %241 = add i64 %240, 1 %242 = getelementptr inbounds double, ptr %239, i64 %241 %243 = load double, ptr %242, align 8 %244 = load ptr, ptr %13, align 8 %245 = load i64, ptr %14, align 8 %246 = getelementptr inbounds double, ptr %244, i64 %245 %247 = load double, ptr %246, align 8 %248 = fneg double %238 %249 = call double @llvm.fmuladd.f64(double %248, double %243, double %247) store double %249, ptr %246, align 8 br label %250 250: ; preds = %234 %251 = load i64, ptr %14, align 8 %252 = add i64 %251, -1 store i64 %252, ptr %14, align 8 %253 = load i64, ptr %14, align 8 %254 = icmp uge i64 %253, 1 br i1 %254, label %234, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %250 br label %255 255: ; preds = %._crit_edge3, %229 %256 = load ptr, ptr %15, align 8 %257 = call i32 @free(ptr noundef %256) %258 = load double, ptr %12, align 8 %259 = load ptr, ptr %13, align 8 %260 = load i64, ptr %10, align 8 %261 = add i64 %260, 1 %262 = getelementptr inbounds double, ptr %259, i64 %261 store double %258, ptr %262, align 8 store i32 0, ptr %7, align 4 br label %263 263: ; preds = %255, %204, %105, %45, %33, %29, %22 %264 = load i32, ptr %7, align 4 ret i32 %264 } declare i64 @malloc(i64 noundef) #1 declare i32 @myWarn_Loc(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 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" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp56opwtvo.c' source_filename = "/tmp/tmp56opwtvo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_2__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_XSelectionRequestEvent_owner(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load i64, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0 store i64 %5, ptr %7, align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp56opwtvo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_2__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_XSelectionRequestEvent_owner(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load i64, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0 store i64 %5, ptr %7, align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpissj7xb9.c' source_filename = "/tmp/tmpissj7xb9.c" target datalayout = "e-m:e-p270: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/tmpissj7xb9.c" target datalayout = "e-m:e-p270: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/tmp3i2j1rrw.c' source_filename = "/tmp/tmp3i2j1rrw.c" target datalayout = "e-m:e-p270: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.addrinfo = type { i32, i32, i32, i32, i32 } @AF_UNSPEC = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @connect_to_host(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca %struct.addrinfo, align 4 %9 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %10 = call i32 @memset(ptr noundef %8, i32 noundef 0, i32 noundef 20) %11 = load i32, ptr @AF_UNSPEC, align 4 %12 = getelementptr inbounds %struct.addrinfo, ptr %8, i32 0, i32 4 store i32 %11, ptr %12, align 4 %13 = load i32, ptr @SOCK_STREAM, align 4 %14 = getelementptr inbounds %struct.addrinfo, ptr %8, i32 0, i32 3 store i32 %13, ptr %14, align 4 %15 = load ptr, ptr %4, align 8 %16 = load ptr, ptr %5, align 8 %17 = call i32 @getaddrinfo(ptr noundef %15, ptr noundef %16, ptr noundef %8, ptr noundef %9) store i32 %17, ptr %6, align 4 %18 = load i32, ptr %6, align 4 %19 = icmp ne i32 %18, 0 br i1 %19, label %20, label %22 20: ; preds = %2 %21 = load i32, ptr %6, align 4 store i32 %21, ptr %3, align 4 br label %49 22: ; preds = %2 %23 = load ptr, ptr %9, align 8 %24 = getelementptr inbounds %struct.addrinfo, ptr %23, i32 0, i32 4 %25 = load i32, ptr %24, align 4 %26 = load ptr, ptr %9, align 8 %27 = getelementptr inbounds %struct.addrinfo, ptr %26, i32 0, i32 3 %28 = load i32, ptr %27, align 4 %29 = load ptr, ptr %9, align 8 %30 = getelementptr inbounds %struct.addrinfo, ptr %29, i32 0, i32 2 %31 = load i32, ptr %30, align 4 %32 = call i32 @socket(i32 noundef %25, i32 noundef %28, i32 noundef %31) store i32 %32, ptr %7, align 4 %33 = load i32, ptr %7, align 4 %34 = load ptr, ptr %9, align 8 %35 = getelementptr inbounds %struct.addrinfo, ptr %34, i32 0, i32 1 %36 = load i32, ptr %35, align 4 %37 = load ptr, ptr %9, align 8 %38 = getelementptr inbounds %struct.addrinfo, ptr %37, i32 0, i32 0 %39 = load i32, ptr %38, align 4 %40 = call i32 @connect(i32 noundef %33, i32 noundef %36, i32 noundef %39) store i32 %40, ptr %6, align 4 %41 = load i32, ptr %6, align 4 %42 = icmp ne i32 %41, 0 br i1 %42, label %43, label %45 43: ; preds = %22 %44 = load i32, ptr %6, align 4 store i32 %44, ptr %3, align 4 br label %49 45: ; preds = %22 %46 = load ptr, ptr %9, align 8 %47 = call i32 @freeaddrinfo(ptr noundef %46) %48 = load i32, ptr %7, align 4 store i32 %48, ptr %3, align 4 br label %49 49: ; preds = %45, %43, %20 %50 = load i32, ptr %3, align 4 ret i32 %50 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @connect(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @freeaddrinfo(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/tmp3i2j1rrw.c" target datalayout = "e-m:e-p270: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.addrinfo = type { i32, i32, i32, i32, i32 } @AF_UNSPEC = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @connect_to_host(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca %struct.addrinfo, align 4 %9 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %10 = call i32 @memset(ptr noundef %8, i32 noundef 0, i32 noundef 20) %11 = load i32, ptr @AF_UNSPEC, align 4 %12 = getelementptr inbounds %struct.addrinfo, ptr %8, i32 0, i32 4 store i32 %11, ptr %12, align 4 %13 = load i32, ptr @SOCK_STREAM, align 4 %14 = getelementptr inbounds %struct.addrinfo, ptr %8, i32 0, i32 3 store i32 %13, ptr %14, align 4 %15 = load ptr, ptr %4, align 8 %16 = load ptr, ptr %5, align 8 %17 = call i32 @getaddrinfo(ptr noundef %15, ptr noundef %16, ptr noundef %8, ptr noundef %9) store i32 %17, ptr %6, align 4 %18 = load i32, ptr %6, align 4 %19 = icmp ne i32 %18, 0 br i1 %19, label %20, label %22 20: ; preds = %2 %21 = load i32, ptr %6, align 4 store i32 %21, ptr %3, align 4 br label %49 22: ; preds = %2 %23 = load ptr, ptr %9, align 8 %24 = getelementptr inbounds %struct.addrinfo, ptr %23, i32 0, i32 4 %25 = load i32, ptr %24, align 4 %26 = load ptr, ptr %9, align 8 %27 = getelementptr inbounds %struct.addrinfo, ptr %26, i32 0, i32 3 %28 = load i32, ptr %27, align 4 %29 = load ptr, ptr %9, align 8 %30 = getelementptr inbounds %struct.addrinfo, ptr %29, i32 0, i32 2 %31 = load i32, ptr %30, align 4 %32 = call i32 @socket(i32 noundef %25, i32 noundef %28, i32 noundef %31) store i32 %32, ptr %7, align 4 %33 = load i32, ptr %7, align 4 %34 = load ptr, ptr %9, align 8 %35 = getelementptr inbounds %struct.addrinfo, ptr %34, i32 0, i32 1 %36 = load i32, ptr %35, align 4 %37 = load ptr, ptr %9, align 8 %38 = getelementptr inbounds %struct.addrinfo, ptr %37, i32 0, i32 0 %39 = load i32, ptr %38, align 4 %40 = call i32 @connect(i32 noundef %33, i32 noundef %36, i32 noundef %39) store i32 %40, ptr %6, align 4 %41 = load i32, ptr %6, align 4 %42 = icmp ne i32 %41, 0 br i1 %42, label %43, label %45 43: ; preds = %22 %44 = load i32, ptr %6, align 4 store i32 %44, ptr %3, align 4 br label %49 45: ; preds = %22 %46 = load ptr, ptr %9, align 8 %47 = call i32 @freeaddrinfo(ptr noundef %46) %48 = load i32, ptr %7, align 4 store i32 %48, ptr %3, align 4 br label %49 49: ; preds = %45, %43, %20 %50 = load i32, ptr %3, align 4 ret i32 %50 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @connect(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @freeaddrinfo(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/tmp150t397r.c' source_filename = "/tmp/tmp150t397r.c" target datalayout = "e-m:e-p270: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 } @CLOCK_REALTIME = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @EOF = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [4 x i8] c"%s \00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca %struct.timespec, align 4 %3 = alloca [255 x i8], align 16 %4 = alloca [255 x i8], align 16 %5 = alloca i32, align 4 %6 = alloca i8, align 1 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 %9 = load i32, ptr @CLOCK_REALTIME, align 4 %10 = call i32 @clock_gettime(i32 noundef %9, ptr noundef %2) %11 = getelementptr inbounds %struct.timespec, ptr %2, i32 0, i32 0 %12 = load i32, ptr %11, align 4 %13 = call i32 @srand(i32 noundef %12) br label %14 14: ; preds = %64, %0 %15 = getelementptr inbounds [255 x i8], ptr %4, i64 0, i64 0 %16 = call i64 @scanf(ptr noundef @.str, ptr noundef %15) %17 = load i64, ptr @EOF, align 8 %18 = icmp ne i64 %16, %17 br i1 %18, label %19, label %67 19: ; preds = %14 %20 = getelementptr inbounds [255 x i8], ptr %4, i64 0, i64 0 %21 = call i32 @strlen(ptr noundef %20) %22 = sub nsw i32 %21, 2 store i32 %22, ptr %7, align 4 %23 = getelementptr inbounds [255 x i8], ptr %3, i64 0, i64 0 %24 = getelementptr inbounds [255 x i8], ptr %4, i64 0, i64 0 %25 = call i32 @strcpy(ptr noundef %23, ptr noundef %24) %26 = getelementptr inbounds [255 x i8], ptr %4, i64 0, i64 0 %27 = call i64 @canshuffle(ptr noundef %26) %28 = icmp ne i64 %27, 0 br i1 %28, label %29, label %64 29: ; preds = %19 br label %30 30: ; preds = %62, %29 %31 = getelementptr inbounds [255 x i8], ptr %3, i64 0, i64 0 %32 = getelementptr inbounds [255 x i8], ptr %4, i64 0, i64 0 %33 = call i64 @strcmp(ptr noundef %31, ptr noundef %32) %34 = icmp eq i64 %33, 0 br i1 %34, label %35, label %63 35: ; preds = %30 store i32 1, ptr %8, align 4 br label %36 36: ; preds = %59, %35 %37 = load i32, ptr %8, align 4 %38 = load i32, ptr %7, align 4 %39 = icmp slt i32 %37, %38 br i1 %39, label %40, label %62 40: ; preds = %36 %41 = load i32, ptr %8, align 4 %42 = load i32, ptr %7, align 4 %43 = call i32 @randrange(i32 noundef %41, i32 noundef %42) store i32 %43, ptr %5, align 4 %44 = load i32, ptr %8, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds [255 x i8], ptr %3, i64 0, i64 %45 %47 = load i8, ptr %46, align 1 store i8 %47, ptr %6, align 1 %48 = load i32, ptr %5, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds [255 x i8], ptr %3, i64 0, i64 %49 %51 = load i8, ptr %50, align 1 %52 = load i32, ptr %8, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [255 x i8], ptr %3, i64 0, i64 %53 store i8 %51, ptr %54, align 1 %55 = load i8, ptr %6, align 1 %56 = load i32, ptr %5, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds [255 x i8], ptr %3, i64 0, i64 %57 store i8 %55, ptr %58, align 1 br label %59 59: ; preds = %40 %60 = load i32, ptr %8, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %8, align 4 br label %36, !llvm.loop !6 62: ; preds = %36 br label %30, !llvm.loop !8 63: ; preds = %30 br label %64 64: ; preds = %63, %19 %65 = getelementptr inbounds [255 x i8], ptr %3, i64 0, i64 0 %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %65) br label %14, !llvm.loop !9 67: ; preds = %14 %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %69 = load i32, ptr %1, align 4 ret i32 %69 } declare i32 @clock_gettime(i32 noundef, ptr noundef) #1 declare i32 @srand(i32 noundef) #1 declare i64 @scanf(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i64 @canshuffle(ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @randrange(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"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp150t397r.c" target datalayout = "e-m:e-p270: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 } @CLOCK_REALTIME = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @EOF = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [4 x i8] c"%s \00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca %struct.timespec, align 4 %3 = alloca [255 x i8], align 16 %4 = alloca [255 x i8], align 16 %5 = alloca i32, align 4 %6 = alloca i8, align 1 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 %9 = load i32, ptr @CLOCK_REALTIME, align 4 %10 = call i32 @clock_gettime(i32 noundef %9, ptr noundef %2) %11 = getelementptr inbounds %struct.timespec, ptr %2, i32 0, i32 0 %12 = load i32, ptr %11, align 4 %13 = call i32 @srand(i32 noundef %12) %14 = getelementptr inbounds [255 x i8], ptr %4, i64 0, i64 0 %15 = call i64 @scanf(ptr noundef @.str, ptr noundef %14) %16 = load i64, ptr @EOF, align 8 %17 = icmp ne i64 %15, %16 br i1 %17, label %.lr.ph5, label %72 .lr.ph5: ; preds = %0 br label %18 18: ; preds = %.lr.ph5, %66 %19 = getelementptr inbounds [255 x i8], ptr %4, i64 0, i64 0 %20 = call i32 @strlen(ptr noundef %19) %21 = sub nsw i32 %20, 2 store i32 %21, ptr %7, align 4 %22 = getelementptr inbounds [255 x i8], ptr %3, i64 0, i64 0 %23 = getelementptr inbounds [255 x i8], ptr %4, i64 0, i64 0 %24 = call i32 @strcpy(ptr noundef %22, ptr noundef %23) %25 = getelementptr inbounds [255 x i8], ptr %4, i64 0, i64 0 %26 = call i64 @canshuffle(ptr noundef %25) %27 = icmp ne i64 %26, 0 br i1 %27, label %28, label %66 28: ; preds = %18 %29 = getelementptr inbounds [255 x i8], ptr %3, i64 0, i64 0 %30 = getelementptr inbounds [255 x i8], ptr %4, i64 0, i64 0 %31 = call i64 @strcmp(ptr noundef %29, ptr noundef %30) %32 = icmp eq i64 %31, 0 br i1 %32, label %.lr.ph2, label %65 .lr.ph2: ; preds = %28 br label %33 33: ; preds = %.lr.ph2, %62 store i32 1, ptr %8, align 4 %34 = load i32, ptr %8, align 4 %35 = load i32, ptr %7, align 4 %36 = icmp slt i32 %34, %35 br i1 %36, label %.lr.ph, label %62 .lr.ph: ; preds = %33 br label %37 37: ; preds = %.lr.ph, %56 %38 = load i32, ptr %8, align 4 %39 = load i32, ptr %7, align 4 %40 = call i32 @randrange(i32 noundef %38, i32 noundef %39) store i32 %40, ptr %5, align 4 %41 = load i32, ptr %8, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds [255 x i8], ptr %3, i64 0, i64 %42 %44 = load i8, ptr %43, align 1 store i8 %44, ptr %6, align 1 %45 = load i32, ptr %5, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds [255 x i8], ptr %3, i64 0, i64 %46 %48 = load i8, ptr %47, align 1 %49 = load i32, ptr %8, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds [255 x i8], ptr %3, i64 0, i64 %50 store i8 %48, ptr %51, align 1 %52 = load i8, ptr %6, align 1 %53 = load i32, ptr %5, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [255 x i8], ptr %3, i64 0, i64 %54 store i8 %52, ptr %55, align 1 br label %56 56: ; preds = %37 %57 = load i32, ptr %8, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %8, align 4 %59 = load i32, ptr %8, align 4 %60 = load i32, ptr %7, align 4 %61 = icmp slt i32 %59, %60 br i1 %61, label %37, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %56 br label %62 62: ; preds = %._crit_edge, %33 %63 = call i64 @strcmp(ptr noundef %29, ptr noundef %30) %64 = icmp eq i64 %63, 0 br i1 %64, label %33, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %62 br label %65 65: ; preds = %._crit_edge3, %28 br label %66 66: ; preds = %65, %18 %67 = getelementptr inbounds [255 x i8], ptr %3, i64 0, i64 0 %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %67) %69 = call i64 @scanf(ptr noundef @.str, ptr noundef %14) %70 = load i64, ptr @EOF, align 8 %71 = icmp ne i64 %69, %70 br i1 %71, label %18, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %66 br label %72 72: ; preds = %._crit_edge6, %0 %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %74 = load i32, ptr %1, align 4 ret i32 %74 } declare i32 @clock_gettime(i32 noundef, ptr noundef) #1 declare i32 @srand(i32 noundef) #1 declare i64 @scanf(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i64 @canshuffle(ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @randrange(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"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp83vf0txr.c' source_filename = "/tmp/tmp83vf0txr.c" target datalayout = "e-m:e-p270: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 @Encrypt_14(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca [16 x i8], align 16 %10 = alloca [16 x i8], align 16 %11 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 16, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 16, i1 false) %12 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 0 %13 = load ptr, ptr %5, align 8 %14 = call i32 @memcpy(ptr noundef %12, ptr noundef %13, i32 noundef 16) store i32 0, ptr %11, align 4 br label %15 15: ; preds = %30, %4 %16 = load i32, ptr %11, align 4 %17 = icmp slt i32 %16, 9 br i1 %17, label %18, label %33 18: ; preds = %15 %19 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 0 %20 = load ptr, ptr %8, align 8 %21 = load i32, ptr %11, align 4 %22 = mul nsw i32 16, %21 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %20, i64 %23 %25 = getelementptr inbounds [16 x i8], ptr %10, i64 0, i64 0 %26 = call i32 @funcLSX(ptr noundef %19, ptr noundef %24, ptr noundef %25) %27 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 0 %28 = getelementptr inbounds [16 x i8], ptr %10, i64 0, i64 0 %29 = call i32 @memcpy(ptr noundef %27, ptr noundef %28, i32 noundef 16) br label %30 30: ; preds = %18 %31 = load i32, ptr %11, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %11, align 4 br label %15, !llvm.loop !6 33: ; preds = %15 %34 = getelementptr inbounds [16 x i8], ptr %10, i64 0, i64 0 %35 = load ptr, ptr %8, align 8 %36 = getelementptr inbounds i8, ptr %35, i64 144 %37 = load ptr, ptr %6, align 8 %38 = call i32 @funcX(ptr noundef %34, ptr noundef %36, ptr noundef %37) ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @funcLSX(ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @funcX(ptr noundef, ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp83vf0txr.c" target datalayout = "e-m:e-p270: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 @Encrypt_14(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca [16 x i8], align 16 %10 = alloca [16 x i8], align 16 %11 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 16, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 16, i1 false) %12 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 0 %13 = load ptr, ptr %5, align 8 %14 = call i32 @memcpy(ptr noundef %12, ptr noundef %13, i32 noundef 16) store i32 0, ptr %11, align 4 %15 = load i32, ptr %11, align 4 %16 = icmp slt i32 %15, 9 br i1 %16, label %.lr.ph, label %34 .lr.ph: ; preds = %4 br label %17 17: ; preds = %.lr.ph, %29 %18 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 0 %19 = load ptr, ptr %8, align 8 %20 = load i32, ptr %11, align 4 %21 = mul nsw i32 16, %20 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %19, i64 %22 %24 = getelementptr inbounds [16 x i8], ptr %10, i64 0, i64 0 %25 = call i32 @funcLSX(ptr noundef %18, ptr noundef %23, ptr noundef %24) %26 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 0 %27 = getelementptr inbounds [16 x i8], ptr %10, i64 0, i64 0 %28 = call i32 @memcpy(ptr noundef %26, ptr noundef %27, i32 noundef 16) br label %29 29: ; preds = %17 %30 = load i32, ptr %11, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %11, align 4 %32 = load i32, ptr %11, align 4 %33 = icmp slt i32 %32, 9 br i1 %33, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %34 34: ; preds = %._crit_edge, %4 %35 = getelementptr inbounds [16 x i8], ptr %10, i64 0, i64 0 %36 = load ptr, ptr %8, align 8 %37 = getelementptr inbounds i8, ptr %36, i64 144 %38 = load ptr, ptr %6, align 8 %39 = call i32 @funcX(ptr noundef %35, ptr noundef %37, ptr noundef %38) ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @funcLSX(ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @funcX(ptr noundef, ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpr5_qojt_.c' source_filename = "/tmp/tmpr5_qojt_.c" target datalayout = "e-m:e-p270: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 @CosineInterpolate(double noundef %0, double noundef %1, double noundef %2) #0 { %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 store double %0, ptr %4, align 8 store double %1, ptr %5, align 8 store double %2, ptr %6, align 8 %8 = load double, ptr %6, align 8 %9 = fmul double %8, 0x400921FB54442D18 %10 = call i32 @cos(double noundef %9) %11 = sub nsw i32 1, %10 %12 = sdiv i32 %11, 2 %13 = sitofp i32 %12 to double store double %13, ptr %7, align 8 %14 = load double, ptr %4, align 8 %15 = load double, ptr %7, align 8 %16 = fsub double 1.000000e+00, %15 %17 = load double, ptr %5, align 8 %18 = load double, ptr %7, align 8 %19 = fmul double %17, %18 %20 = call double @llvm.fmuladd.f64(double %14, double %16, double %19) ret double %20 } declare i32 @cos(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr5_qojt_.c" target datalayout = "e-m:e-p270: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 @CosineInterpolate(double noundef %0, double noundef %1, double noundef %2) #0 { %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 store double %0, ptr %4, align 8 store double %1, ptr %5, align 8 store double %2, ptr %6, align 8 %8 = load double, ptr %6, align 8 %9 = fmul double %8, 0x400921FB54442D18 %10 = call i32 @cos(double noundef %9) %11 = sub nsw i32 1, %10 %12 = sdiv i32 %11, 2 %13 = sitofp i32 %12 to double store double %13, ptr %7, align 8 %14 = load double, ptr %4, align 8 %15 = load double, ptr %7, align 8 %16 = fsub double 1.000000e+00, %15 %17 = load double, ptr %5, align 8 %18 = load double, ptr %7, align 8 %19 = fmul double %17, %18 %20 = call double @llvm.fmuladd.f64(double %14, double %16, double %19) ret double %20 } declare i32 @cos(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpx1bpxtdd.c' source_filename = "/tmp/tmpx1bpxtdd.c" target datalayout = "e-m:e-p270: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 @keyinit(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 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %31, %2 %7 = load i32, ptr %5, align 4 %8 = icmp slt i32 %7, 8 br i1 %8, label %9, label %34 9: ; preds = %6 %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %5, align 4 %12 = mul nsw i32 %11, 2 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i8, ptr %10, i64 %13 %15 = load i8, ptr %14, align 1 %16 = zext i8 %15 to i32 %17 = mul nsw i32 %16, 256 %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %5, align 4 %20 = mul nsw i32 %19, 2 %21 = add nsw i32 %20, 1 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %18, i64 %22 %24 = load i8, ptr %23, align 1 %25 = zext i8 %24 to i32 %26 = add nsw i32 %17, %25 %27 = load ptr, ptr %4, align 8 %28 = load i32, ptr %5, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i32, ptr %27, i64 %29 store i32 %26, ptr %30, align 4 br label %31 31: ; preds = %9 %32 = load i32, ptr %5, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %5, align 4 br label %6, !llvm.loop !6 34: ; preds = %6 store i32 0, ptr %5, align 4 br label %35 35: ; preds = %81, %34 %36 = load i32, ptr %5, align 4 %37 = icmp slt i32 %36, 8 br i1 %37, label %38, label %84 38: ; preds = %35 %39 = load ptr, ptr %4, align 8 %40 = load i32, ptr %5, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i32, ptr %39, i64 %41 %43 = load i32, ptr %42, align 4 %44 = load ptr, ptr %4, align 8 %45 = load i32, ptr %5, align 4 %46 = add nsw i32 %45, 1 %47 = srem i32 %46, 8 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i32, ptr %44, i64 %48 %50 = load i32, ptr %49, align 4 %51 = call i32 @FI(i32 noundef %43, i32 noundef %50) %52 = load ptr, ptr %4, align 8 %53 = load i32, ptr %5, align 4 %54 = add nsw i32 %53, 8 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i32, ptr %52, i64 %55 store i32 %51, ptr %56, align 4 %57 = load ptr, ptr %4, align 8 %58 = load i32, ptr %5, align 4 %59 = add nsw i32 %58, 8 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i32, ptr %57, i64 %60 %62 = load i32, ptr %61, align 4 %63 = and i32 %62, 511 %64 = load ptr, ptr %4, align 8 %65 = load i32, ptr %5, align 4 %66 = add nsw i32 %65, 16 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds i32, ptr %64, i64 %67 store i32 %63, ptr %68, align 4 %69 = load ptr, ptr %4, align 8 %70 = load i32, ptr %5, align 4 %71 = add nsw i32 %70, 8 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds i32, ptr %69, i64 %72 %74 = load i32, ptr %73, align 4 %75 = lshr i32 %74, 9 %76 = load ptr, ptr %4, align 8 %77 = load i32, ptr %5, align 4 %78 = add nsw i32 %77, 24 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds i32, ptr %76, i64 %79 store i32 %75, ptr %80, align 4 br label %81 81: ; preds = %38 %82 = load i32, ptr %5, align 4 %83 = add nsw i32 %82, 1 store i32 %83, ptr %5, align 4 br label %35, !llvm.loop !8 84: ; preds = %35 ret void } declare i32 @FI(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/tmpx1bpxtdd.c" target datalayout = "e-m:e-p270: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 @keyinit(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 store i32 0, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = icmp slt i32 %6, 8 br i1 %7, label %.lr.ph, label %35 .lr.ph: ; preds = %2 br label %8 8: ; preds = %.lr.ph, %30 %9 = load ptr, ptr %3, align 8 %10 = load i32, ptr %5, align 4 %11 = mul nsw i32 %10, 2 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %9, i64 %12 %14 = load i8, ptr %13, align 1 %15 = zext i8 %14 to i32 %16 = mul nsw i32 %15, 256 %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %5, align 4 %19 = mul nsw i32 %18, 2 %20 = add nsw i32 %19, 1 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %17, i64 %21 %23 = load i8, ptr %22, align 1 %24 = zext i8 %23 to i32 %25 = add nsw i32 %16, %24 %26 = load ptr, ptr %4, align 8 %27 = load i32, ptr %5, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i32, ptr %26, i64 %28 store i32 %25, ptr %29, align 4 br label %30 30: ; preds = %8 %31 = load i32, ptr %5, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %5, align 4 %33 = load i32, ptr %5, align 4 %34 = icmp slt i32 %33, 8 br i1 %34, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %30 br label %35 35: ; preds = %._crit_edge, %2 store i32 0, ptr %5, align 4 %36 = load i32, ptr %5, align 4 %37 = icmp slt i32 %36, 8 br i1 %37, label %.lr.ph2, label %86 .lr.ph2: ; preds = %35 br label %38 38: ; preds = %.lr.ph2, %81 %39 = load ptr, ptr %4, align 8 %40 = load i32, ptr %5, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i32, ptr %39, i64 %41 %43 = load i32, ptr %42, align 4 %44 = load ptr, ptr %4, align 8 %45 = load i32, ptr %5, align 4 %46 = add nsw i32 %45, 1 %47 = srem i32 %46, 8 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i32, ptr %44, i64 %48 %50 = load i32, ptr %49, align 4 %51 = call i32 @FI(i32 noundef %43, i32 noundef %50) %52 = load ptr, ptr %4, align 8 %53 = load i32, ptr %5, align 4 %54 = add nsw i32 %53, 8 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i32, ptr %52, i64 %55 store i32 %51, ptr %56, align 4 %57 = load ptr, ptr %4, align 8 %58 = load i32, ptr %5, align 4 %59 = add nsw i32 %58, 8 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i32, ptr %57, i64 %60 %62 = load i32, ptr %61, align 4 %63 = and i32 %62, 511 %64 = load ptr, ptr %4, align 8 %65 = load i32, ptr %5, align 4 %66 = add nsw i32 %65, 16 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds i32, ptr %64, i64 %67 store i32 %63, ptr %68, align 4 %69 = load ptr, ptr %4, align 8 %70 = load i32, ptr %5, align 4 %71 = add nsw i32 %70, 8 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds i32, ptr %69, i64 %72 %74 = load i32, ptr %73, align 4 %75 = lshr i32 %74, 9 %76 = load ptr, ptr %4, align 8 %77 = load i32, ptr %5, align 4 %78 = add nsw i32 %77, 24 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds i32, ptr %76, i64 %79 store i32 %75, ptr %80, align 4 br label %81 81: ; preds = %38 %82 = load i32, ptr %5, align 4 %83 = add nsw i32 %82, 1 store i32 %83, ptr %5, align 4 %84 = load i32, ptr %5, align 4 %85 = icmp slt i32 %84, 8 br i1 %85, label %38, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %81 br label %86 86: ; preds = %._crit_edge3, %35 ret void } declare i32 @FI(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/tmpjbdcgqx0.c' source_filename = "/tmp/tmpjbdcgqx0.c" target datalayout = "e-m:e-p270: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 @process_vm_readv(i32 noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, i64 noundef %4, i64 noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 store i32 %0, ptr %7, align 4 store ptr %1, ptr %8, align 8 store i64 %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store i64 %4, ptr %11, align 8 store i64 %5, ptr %12, align 8 %13 = load i32, ptr %7, align 4 %14 = load ptr, ptr %8, align 8 %15 = load i64, ptr %9, align 8 %16 = load ptr, ptr %10, align 8 %17 = load i64, ptr %11, align 8 %18 = load i64, ptr %12, align 8 %19 = call i32 @syscall(i32 noundef 376, i32 noundef %13, ptr noundef %14, i64 noundef %15, ptr noundef %16, i64 noundef %17, i64 noundef %18) ret i32 %19 } declare i32 @syscall(i32 noundef, i32 noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjbdcgqx0.c" target datalayout = "e-m:e-p270: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 @process_vm_readv(i32 noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, i64 noundef %4, i64 noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 store i32 %0, ptr %7, align 4 store ptr %1, ptr %8, align 8 store i64 %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store i64 %4, ptr %11, align 8 store i64 %5, ptr %12, align 8 %13 = load i32, ptr %7, align 4 %14 = load ptr, ptr %8, align 8 %15 = load i64, ptr %9, align 8 %16 = load ptr, ptr %10, align 8 %17 = load i64, ptr %11, align 8 %18 = load i64, ptr %12, align 8 %19 = call i32 @syscall(i32 noundef 376, i32 noundef %13, ptr noundef %14, i64 noundef %15, ptr noundef %16, i64 noundef %17, i64 noundef %18) ret i32 %19 } declare i32 @syscall(i32 noundef, i32 noundef, ptr noundef, i64 noundef, ptr noundef, i64 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp76fqjzm3.c' source_filename = "/tmp/tmp76fqjzm3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @TCIOFLUSH = dso_local global i32 0, align 4 @TCSAFLUSH = dso_local global i32 0, align 4 @TCSANOW = 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/tmp76fqjzm3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @TCIOFLUSH = dso_local global i32 0, align 4 @TCSAFLUSH = dso_local global i32 0, align 4 @TCSANOW = 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/tmp0bokw24d.c' source_filename = "/tmp/tmp0bokw24d.c" target datalayout = "e-m:e-p270: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/tmp0bokw24d.c" target datalayout = "e-m:e-p270: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/tmptywbadw_.c' source_filename = "/tmp/tmptywbadw_.c" target datalayout = "e-m:e-p270: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/tmptywbadw_.c" target datalayout = "e-m:e-p270: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/tmpa1p3o6a5.c' source_filename = "/tmp/tmpa1p3o6a5.c" target datalayout = "e-m:e-p270: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 @SzFree(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 store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @free(ptr noundef %6) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa1p3o6a5.c" target datalayout = "e-m:e-p270: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 @SzFree(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 store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @free(ptr noundef %6) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgl8yqdu1.c' source_filename = "/tmp/tmpgl8yqdu1.c" target datalayout = "e-m:e-p270: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 @tgamma(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca i32, align 4 %4 = alloca double, align 8 store double %0, ptr %2, align 8 %5 = load double, ptr %2, align 8 %6 = call i32 @__lgamma_r(double noundef %5, ptr noundef %3) %7 = call double @exp(i32 noundef %6) store double %7, ptr %4, align 8 %8 = load i32, ptr %3, align 4 %9 = icmp slt i32 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %1 %11 = load double, ptr %4, align 8 %12 = fneg double %11 store double %12, ptr %4, align 8 br label %13 13: ; preds = %10, %1 %14 = load double, ptr %4, align 8 ret double %14 } declare double @exp(i32 noundef) #1 declare i32 @__lgamma_r(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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpgl8yqdu1.c" target datalayout = "e-m:e-p270: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 @tgamma(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca i32, align 4 %4 = alloca double, align 8 store double %0, ptr %2, align 8 %5 = load double, ptr %2, align 8 %6 = call i32 @__lgamma_r(double noundef %5, ptr noundef %3) %7 = call double @exp(i32 noundef %6) store double %7, ptr %4, align 8 %8 = load i32, ptr %3, align 4 %9 = icmp slt i32 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %1 %11 = load double, ptr %4, align 8 %12 = fneg double %11 store double %12, ptr %4, align 8 br label %13 13: ; preds = %10, %1 %14 = load double, ptr %4, align 8 ret double %14 } declare double @exp(i32 noundef) #1 declare i32 @__lgamma_r(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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmptkkz1vdy.c' source_filename = "/tmp/tmptkkz1vdy.c" target datalayout = "e-m:e-p270: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 @map2check_non_static_alloca(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store i32 %2, ptr %9, align 4 store i32 %3, ptr %10, align 4 store i32 %4, ptr %11, align 4 store i32 %5, ptr %12, align 4 %13 = load ptr, ptr %7, align 8 %14 = load ptr, ptr %8, align 8 %15 = load i32, ptr %9, align 4 %16 = load i32, ptr %10, align 4 %17 = mul nsw i32 %15, %16 %18 = load i32, ptr %10, align 4 %19 = load i32, ptr %11, align 4 %20 = load i32, ptr %12, align 4 %21 = call i32 @map2check_alloca(ptr noundef %13, ptr noundef %14, i32 noundef %17, i32 noundef %18, i32 noundef %19, i32 noundef %20) ret void } declare i32 @map2check_alloca(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptkkz1vdy.c" target datalayout = "e-m:e-p270: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 @map2check_non_static_alloca(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store i32 %2, ptr %9, align 4 store i32 %3, ptr %10, align 4 store i32 %4, ptr %11, align 4 store i32 %5, ptr %12, align 4 %13 = load ptr, ptr %7, align 8 %14 = load ptr, ptr %8, align 8 %15 = load i32, ptr %9, align 4 %16 = load i32, ptr %10, align 4 %17 = mul nsw i32 %15, %16 %18 = load i32, ptr %10, align 4 %19 = load i32, ptr %11, align 4 %20 = load i32, ptr %12, align 4 %21 = call i32 @map2check_alloca(ptr noundef %13, ptr noundef %14, i32 noundef %17, i32 noundef %18, i32 noundef %19, i32 noundef %20) ret void } declare i32 @map2check_alloca(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppnghv6n3.c' source_filename = "/tmp/tmppnghv6n3.c" target datalayout = "e-m:e-p270: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/tmppnghv6n3.c" target datalayout = "e-m:e-p270: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/tmp97dq9nbm.c' source_filename = "/tmp/tmp97dq9nbm.c" target datalayout = "e-m:e-p270: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/tmp97dq9nbm.c" target datalayout = "e-m:e-p270: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/tmpnhkvrzli.c' source_filename = "/tmp/tmpnhkvrzli.c" target datalayout = "e-m:e-p270: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.termios = type { i32 } @errno = dso_local global i32 0, align 4 @TIOCSLCKTRMIOS = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [12 x i8] c"ioctl error\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @unlock_tty(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca %struct.termios, align 4 store i32 %0, ptr %2, align 4 %4 = call i32 @memset(ptr noundef %3, i32 noundef 0, i32 noundef 4) store i32 0, ptr @errno, align 4 %5 = load i32, ptr %2, align 4 %6 = load i32, ptr @TIOCSLCKTRMIOS, align 4 %7 = call i64 @ioctl(i32 noundef %5, i32 noundef %6, ptr noundef %3) %8 = icmp slt i64 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %1 %10 = call i32 @perror(ptr noundef @.str) br label %11 11: ; preds = %9, %1 %12 = load i32, ptr @errno, align 4 ret i32 %12 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnhkvrzli.c" target datalayout = "e-m:e-p270: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.termios = type { i32 } @errno = dso_local global i32 0, align 4 @TIOCSLCKTRMIOS = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [12 x i8] c"ioctl error\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @unlock_tty(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca %struct.termios, align 4 store i32 %0, ptr %2, align 4 %4 = call i32 @memset(ptr noundef %3, i32 noundef 0, i32 noundef 4) store i32 0, ptr @errno, align 4 %5 = load i32, ptr %2, align 4 %6 = load i32, ptr @TIOCSLCKTRMIOS, align 4 %7 = call i64 @ioctl(i32 noundef %5, i32 noundef %6, ptr noundef %3) %8 = icmp slt i64 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %1 %10 = call i32 @perror(ptr noundef @.str) br label %11 11: ; preds = %9, %1 %12 = load i32, ptr @errno, align 4 ret i32 %12 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9elgg5on.c' source_filename = "/tmp/tmp9elgg5on.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @hexdump_line.buf = internal global [256 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @hexdump_line(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i64, align 8 %10 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 store ptr @hexdump_line.buf, ptr %7, align 8 %11 = load ptr, ptr %4, align 8 %12 = load ptr, ptr %5, align 8 %13 = ptrtoint ptr %11 to i64 %14 = ptrtoint ptr %12 to i64 %15 = sub i64 %13, %14 %16 = trunc i64 %15 to i32 store i32 %16, ptr %8, align 4 store i64 0, ptr %9, align 8 br label %17 17: ; preds = %24, %3 %18 = load i64, ptr %9, align 8 %19 = icmp ult i64 %18, 2 br i1 %19, label %20, label %27 20: ; preds = %17 %21 = load ptr, ptr %7, align 8 %22 = load i64, ptr %9, align 8 %23 = getelementptr inbounds i8, ptr %21, i64 %22 store i8 32, ptr %23, align 1 br label %24 24: ; preds = %20 %25 = load i64, ptr %9, align 8 %26 = add i64 %25, 1 store i64 %26, ptr %9, align 8 br label %17, !llvm.loop !6 27: ; preds = %17 %28 = load i64, ptr %9, align 8 %29 = load ptr, ptr %7, align 8 %30 = getelementptr inbounds i8, ptr %29, i64 %28 store ptr %30, ptr %7, align 8 store i64 0, ptr %9, align 8 br label %31 31: ; preds = %46, %27 %32 = load i64, ptr %9, align 8 %33 = icmp ult i64 %32, 8 br i1 %33, label %34, label %49 34: ; preds = %31 %35 = load i32, ptr %8, align 4 %36 = load i64, ptr %9, align 8 %37 = mul i64 %36, 4 %38 = sub i64 28, %37 %39 = trunc i64 %38 to i32 %40 = ashr i32 %35, %39 %41 = trunc i32 %40 to i8 %42 = call signext i8 @to_printable(i8 noundef signext %41) %43 = load ptr, ptr %7, align 8 %44 = load i64, ptr %9, align 8 %45 = getelementptr inbounds i8, ptr %43, i64 %44 store i8 %42, ptr %45, align 1 br label %46 46: ; preds = %34 %47 = load i64, ptr %9, align 8 %48 = add i64 %47, 1 store i64 %48, ptr %9, align 8 br label %31, !llvm.loop !8 49: ; preds = %31 %50 = load i64, ptr %9, align 8 %51 = load ptr, ptr %7, align 8 %52 = getelementptr inbounds i8, ptr %51, i64 %50 store ptr %52, ptr %7, align 8 %53 = load ptr, ptr %7, align 8 %54 = getelementptr inbounds i8, ptr %53, i64 0 store i8 58, ptr %54, align 1 %55 = load ptr, ptr %7, align 8 %56 = getelementptr inbounds i8, ptr %55, i64 1 store i8 32, ptr %56, align 1 %57 = load ptr, ptr %7, align 8 %58 = getelementptr inbounds i8, ptr %57, i64 2 store ptr %58, ptr %7, align 8 store i64 0, ptr %10, align 8 br label %59 59: ; preds = %134, %49 %60 = load i64, ptr %10, align 8 %61 = icmp ult i64 %60, 8 br i1 %61, label %62, label %137 62: ; preds = %59 store i64 0, ptr %9, align 8 br label %63 63: ; preds = %126, %62 %64 = load i64, ptr %9, align 8 %65 = icmp ult i64 %64, 2 br i1 %65, label %66, label %129 66: ; preds = %63 %67 = load ptr, ptr %4, align 8 %68 = load ptr, ptr %6, align 8 %69 = icmp ult ptr %67, %68 br i1 %69, label %70, label %109 70: ; preds = %66 %71 = load ptr, ptr %4, align 8 %72 = load i8, ptr %71, align 1 %73 = call i64 @isprint(i8 noundef signext %72) %74 = icmp ne i64 %73, 0 br i1 %74, label %75, label %79 75: ; preds = %70 %76 = load ptr, ptr %4, align 8 %77 = load i8, ptr %76, align 1 %78 = sext i8 %77 to i32 br label %80 79: ; preds = %70 br label %80 80: ; preds = %79, %75 %81 = phi i32 [ %78, %75 ], [ 46, %79 ] %82 = trunc i32 %81 to i8 %83 = load i64, ptr %9, align 8 %84 = add i64 54, %83 %85 = load i64, ptr %10, align 8 %86 = mul i64 2, %85 %87 = add i64 %84, %86 %88 = getelementptr inbounds [256 x i8], ptr @hexdump_line.buf, i64 0, i64 %87 store i8 %82, ptr %88, align 1 %89 = load ptr, ptr %4, align 8 %90 = load i8, ptr %89, align 1 %91 = sext i8 %90 to i32 %92 = ashr i32 %91, 4 %93 = trunc i32 %92 to i8 %94 = call signext i8 @to_printable(i8 noundef signext %93) %95 = load ptr, ptr %7, align 8 %96 = load i64, ptr %9, align 8 %97 = mul i64 %96, 2 %98 = getelementptr inbounds i8, ptr %95, i64 %97 store i8 %94, ptr %98, align 1 %99 = load ptr, ptr %4, align 8 %100 = load i8, ptr %99, align 1 %101 = call signext i8 @to_printable(i8 noundef signext %100) %102 = load ptr, ptr %7, align 8 %103 = load i64, ptr %9, align 8 %104 = mul i64 %103, 2 %105 = add i64 %104, 1 %106 = getelementptr inbounds i8, ptr %102, i64 %105 store i8 %101, ptr %106, align 1 %107 = load ptr, ptr %4, align 8 %108 = getelementptr inbounds i8, ptr %107, i32 1 store ptr %108, ptr %4, align 8 br label %125 109: ; preds = %66 %110 = load i64, ptr %9, align 8 %111 = add i64 54, %110 %112 = load i64, ptr %10, align 8 %113 = mul i64 2, %112 %114 = add i64 %111, %113 %115 = getelementptr inbounds [256 x i8], ptr @hexdump_line.buf, i64 0, i64 %114 store i8 0, ptr %115, align 1 %116 = load ptr, ptr %7, align 8 %117 = load i64, ptr %9, align 8 %118 = mul i64 %117, 2 %119 = getelementptr inbounds i8, ptr %116, i64 %118 store i8 32, ptr %119, align 1 %120 = load ptr, ptr %7, align 8 %121 = load i64, ptr %9, align 8 %122 = mul i64 %121, 2 %123 = add i64 %122, 1 %124 = getelementptr inbounds i8, ptr %120, i64 %123 store i8 32, ptr %124, align 1 br label %125 125: ; preds = %109, %80 br label %126 126: ; preds = %125 %127 = load i64, ptr %9, align 8 %128 = add i64 %127, 1 store i64 %128, ptr %9, align 8 br label %63, !llvm.loop !9 129: ; preds = %63 %130 = load ptr, ptr %7, align 8 %131 = getelementptr inbounds i8, ptr %130, i64 4 store i8 32, ptr %131, align 1 %132 = load ptr, ptr %7, align 8 %133 = getelementptr inbounds i8, ptr %132, i64 5 store ptr %133, ptr %7, align 8 br label %134 134: ; preds = %129 %135 = load i64, ptr %10, align 8 %136 = add i64 %135, 1 store i64 %136, ptr %10, align 8 br label %59, !llvm.loop !10 137: ; preds = %59 store i8 124, ptr getelementptr inbounds ([256 x i8], ptr @hexdump_line.buf, i64 0, i64 52), align 4 store i8 32, ptr getelementptr inbounds ([256 x i8], ptr @hexdump_line.buf, i64 0, i64 53), align 1 %138 = call i32 @printf(ptr noundef @.str, ptr noundef @hexdump_line.buf) %139 = load i64, ptr %9, align 8 %140 = load i64, ptr %10, align 8 %141 = mul i64 %139, %140 %142 = trunc i64 %141 to i32 ret i32 %142 } declare signext i8 @to_printable(i8 noundef signext) #1 declare i64 @isprint(i8 noundef signext) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !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/tmp9elgg5on.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @hexdump_line.buf = internal global [256 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @hexdump_line(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i64, align 8 %10 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 store ptr @hexdump_line.buf, ptr %7, align 8 %11 = load ptr, ptr %4, align 8 %12 = load ptr, ptr %5, align 8 %13 = ptrtoint ptr %11 to i64 %14 = ptrtoint ptr %12 to i64 %15 = sub i64 %13, %14 %16 = trunc i64 %15 to i32 store i32 %16, ptr %8, align 4 store i64 0, ptr %9, align 8 %17 = load i64, ptr %9, align 8 %18 = icmp ult i64 %17, 2 br i1 %18, label %.lr.ph, label %28 .lr.ph: ; preds = %3 br label %19 19: ; preds = %.lr.ph, %23 %20 = load ptr, ptr %7, align 8 %21 = load i64, ptr %9, align 8 %22 = getelementptr inbounds i8, ptr %20, i64 %21 store i8 32, ptr %22, align 1 br label %23 23: ; preds = %19 %24 = load i64, ptr %9, align 8 %25 = add i64 %24, 1 store i64 %25, ptr %9, align 8 %26 = load i64, ptr %9, align 8 %27 = icmp ult i64 %26, 2 br i1 %27, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %28 28: ; preds = %._crit_edge, %3 %29 = load i64, ptr %9, align 8 %30 = load ptr, ptr %7, align 8 %31 = getelementptr inbounds i8, ptr %30, i64 %29 store ptr %31, ptr %7, align 8 store i64 0, ptr %9, align 8 %32 = load i64, ptr %9, align 8 %33 = icmp ult i64 %32, 8 br i1 %33, label %.lr.ph2, label %51 .lr.ph2: ; preds = %28 br label %34 34: ; preds = %.lr.ph2, %46 %35 = load i32, ptr %8, align 4 %36 = load i64, ptr %9, align 8 %37 = mul i64 %36, 4 %38 = sub i64 28, %37 %39 = trunc i64 %38 to i32 %40 = ashr i32 %35, %39 %41 = trunc i32 %40 to i8 %42 = call signext i8 @to_printable(i8 noundef signext %41) %43 = load ptr, ptr %7, align 8 %44 = load i64, ptr %9, align 8 %45 = getelementptr inbounds i8, ptr %43, i64 %44 store i8 %42, ptr %45, align 1 br label %46 46: ; preds = %34 %47 = load i64, ptr %9, align 8 %48 = add i64 %47, 1 store i64 %48, ptr %9, align 8 %49 = load i64, ptr %9, align 8 %50 = icmp ult i64 %49, 8 br i1 %50, label %34, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %46 br label %51 51: ; preds = %._crit_edge3, %28 %52 = load i64, ptr %9, align 8 %53 = load ptr, ptr %7, align 8 %54 = getelementptr inbounds i8, ptr %53, i64 %52 store ptr %54, ptr %7, align 8 %55 = load ptr, ptr %7, align 8 %56 = getelementptr inbounds i8, ptr %55, i64 0 store i8 58, ptr %56, align 1 %57 = load ptr, ptr %7, align 8 %58 = getelementptr inbounds i8, ptr %57, i64 1 store i8 32, ptr %58, align 1 %59 = load ptr, ptr %7, align 8 %60 = getelementptr inbounds i8, ptr %59, i64 2 store ptr %60, ptr %7, align 8 store i64 0, ptr %10, align 8 %61 = load i64, ptr %10, align 8 %62 = icmp ult i64 %61, 8 br i1 %62, label %.lr.ph8, label %141 .lr.ph8: ; preds = %51 br label %63 63: ; preds = %.lr.ph8, %136 store i64 0, ptr %9, align 8 %64 = load i64, ptr %9, align 8 %65 = icmp ult i64 %64, 2 br i1 %65, label %.lr.ph5, label %131 .lr.ph5: ; preds = %63 br label %66 66: ; preds = %.lr.ph5, %126 %67 = load ptr, ptr %4, align 8 %68 = load ptr, ptr %6, align 8 %69 = icmp ult ptr %67, %68 br i1 %69, label %70, label %109 70: ; preds = %66 %71 = load ptr, ptr %4, align 8 %72 = load i8, ptr %71, align 1 %73 = call i64 @isprint(i8 noundef signext %72) %74 = icmp ne i64 %73, 0 br i1 %74, label %75, label %79 75: ; preds = %70 %76 = load ptr, ptr %4, align 8 %77 = load i8, ptr %76, align 1 %78 = sext i8 %77 to i32 br label %80 79: ; preds = %70 br label %80 80: ; preds = %79, %75 %81 = phi i32 [ %78, %75 ], [ 46, %79 ] %82 = trunc i32 %81 to i8 %83 = load i64, ptr %9, align 8 %84 = add i64 54, %83 %85 = load i64, ptr %10, align 8 %86 = mul i64 2, %85 %87 = add i64 %84, %86 %88 = getelementptr inbounds [256 x i8], ptr @hexdump_line.buf, i64 0, i64 %87 store i8 %82, ptr %88, align 1 %89 = load ptr, ptr %4, align 8 %90 = load i8, ptr %89, align 1 %91 = sext i8 %90 to i32 %92 = ashr i32 %91, 4 %93 = trunc i32 %92 to i8 %94 = call signext i8 @to_printable(i8 noundef signext %93) %95 = load ptr, ptr %7, align 8 %96 = load i64, ptr %9, align 8 %97 = mul i64 %96, 2 %98 = getelementptr inbounds i8, ptr %95, i64 %97 store i8 %94, ptr %98, align 1 %99 = load ptr, ptr %4, align 8 %100 = load i8, ptr %99, align 1 %101 = call signext i8 @to_printable(i8 noundef signext %100) %102 = load ptr, ptr %7, align 8 %103 = load i64, ptr %9, align 8 %104 = mul i64 %103, 2 %105 = add i64 %104, 1 %106 = getelementptr inbounds i8, ptr %102, i64 %105 store i8 %101, ptr %106, align 1 %107 = load ptr, ptr %4, align 8 %108 = getelementptr inbounds i8, ptr %107, i32 1 store ptr %108, ptr %4, align 8 br label %125 109: ; preds = %66 %110 = load i64, ptr %9, align 8 %111 = add i64 54, %110 %112 = load i64, ptr %10, align 8 %113 = mul i64 2, %112 %114 = add i64 %111, %113 %115 = getelementptr inbounds [256 x i8], ptr @hexdump_line.buf, i64 0, i64 %114 store i8 0, ptr %115, align 1 %116 = load ptr, ptr %7, align 8 %117 = load i64, ptr %9, align 8 %118 = mul i64 %117, 2 %119 = getelementptr inbounds i8, ptr %116, i64 %118 store i8 32, ptr %119, align 1 %120 = load ptr, ptr %7, align 8 %121 = load i64, ptr %9, align 8 %122 = mul i64 %121, 2 %123 = add i64 %122, 1 %124 = getelementptr inbounds i8, ptr %120, i64 %123 store i8 32, ptr %124, align 1 br label %125 125: ; preds = %109, %80 br label %126 126: ; preds = %125 %127 = load i64, ptr %9, align 8 %128 = add i64 %127, 1 store i64 %128, ptr %9, align 8 %129 = load i64, ptr %9, align 8 %130 = icmp ult i64 %129, 2 br i1 %130, label %66, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %126 br label %131 131: ; preds = %._crit_edge6, %63 %132 = load ptr, ptr %7, align 8 %133 = getelementptr inbounds i8, ptr %132, i64 4 store i8 32, ptr %133, align 1 %134 = load ptr, ptr %7, align 8 %135 = getelementptr inbounds i8, ptr %134, i64 5 store ptr %135, ptr %7, align 8 br label %136 136: ; preds = %131 %137 = load i64, ptr %10, align 8 %138 = add i64 %137, 1 store i64 %138, ptr %10, align 8 %139 = load i64, ptr %10, align 8 %140 = icmp ult i64 %139, 8 br i1 %140, label %63, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %136 br label %141 141: ; preds = %._crit_edge9, %51 store i8 124, ptr getelementptr inbounds ([256 x i8], ptr @hexdump_line.buf, i64 0, i64 52), align 4 store i8 32, ptr getelementptr inbounds ([256 x i8], ptr @hexdump_line.buf, i64 0, i64 53), align 1 %142 = call i32 @printf(ptr noundef @.str, ptr noundef @hexdump_line.buf) %143 = load i64, ptr %9, align 8 %144 = load i64, ptr %10, align 8 %145 = mul i64 %143, %144 %146 = trunc i64 %145 to i32 ret i32 %146 } declare signext i8 @to_printable(i8 noundef signext) #1 declare i64 @isprint(i8 noundef signext) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpuvtd13on.c' source_filename = "/tmp/tmpuvtd13on.c" target datalayout = "e-m:e-p270: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 @isPrime_al(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca float, align 4 store i32 %0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp eq i32 %5, 2 br i1 %6, label %10, label %7 7: ; preds = %1 %8 = load i32, ptr %3, align 4 %9 = icmp eq i32 %8, 1 br i1 %9, label %10, label %11 10: ; preds = %7, %1 store i32 1, ptr %2, align 4 br label %23 11: ; preds = %7 %12 = load i32, ptr %3, align 4 %13 = call float @log(i32 noundef %12) %14 = call float @log(i32 noundef 2) %15 = fdiv float %13, %14 store float %15, ptr %4, align 4 %16 = load float, ptr %4, align 4 %17 = load float, ptr %4, align 4 %18 = call float @floor(float noundef %17) %19 = fsub float %16, %18 %20 = fcmp une float %19, 0.000000e+00 br i1 %20, label %21, label %22 21: ; preds = %11 store i32 1, ptr %2, align 4 br label %23 22: ; preds = %11 store i32 0, ptr %2, align 4 br label %23 23: ; preds = %22, %21, %10 %24 = load i32, ptr %2, align 4 ret i32 %24 } declare float @log(i32 noundef) #1 declare float @floor(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/tmpuvtd13on.c" target datalayout = "e-m:e-p270: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 @isPrime_al(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca float, align 4 store i32 %0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp eq i32 %5, 2 br i1 %6, label %10, label %7 7: ; preds = %1 %8 = load i32, ptr %3, align 4 %9 = icmp eq i32 %8, 1 br i1 %9, label %10, label %11 10: ; preds = %7, %1 store i32 1, ptr %2, align 4 br label %23 11: ; preds = %7 %12 = load i32, ptr %3, align 4 %13 = call float @log(i32 noundef %12) %14 = call float @log(i32 noundef 2) %15 = fdiv float %13, %14 store float %15, ptr %4, align 4 %16 = load float, ptr %4, align 4 %17 = load float, ptr %4, align 4 %18 = call float @floor(float noundef %17) %19 = fsub float %16, %18 %20 = fcmp une float %19, 0.000000e+00 br i1 %20, label %21, label %22 21: ; preds = %11 store i32 1, ptr %2, align 4 br label %23 22: ; preds = %11 store i32 0, ptr %2, align 4 br label %23 23: ; preds = %22, %21, %10 %24 = load i32, ptr %2, align 4 ret i32 %24 } declare float @log(i32 noundef) #1 declare float @floor(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/tmpg4wsn6_6.c' source_filename = "/tmp/tmpg4wsn6_6.c" target datalayout = "e-m:e-p270: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 @fullstrcmp(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %9 = load ptr, ptr %4, align 8 %10 = call i32 @strlen(ptr noundef %9) store i32 %10, ptr %6, align 4 %11 = load ptr, ptr %5, align 8 %12 = call i32 @strlen(ptr noundef %11) store i32 %12, ptr %7, align 4 %13 = load i32, ptr %6, align 4 %14 = load i32, ptr %7, align 4 %15 = icmp ne i32 %13, %14 br i1 %15, label %16, label %17 16: ; preds = %2 store i32 0, ptr %3, align 4 br label %42 17: ; preds = %2 store i32 0, ptr %8, align 4 br label %18 18: ; preds = %38, %17 %19 = load i32, ptr %8, align 4 %20 = load i32, ptr %6, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %22, label %41 22: ; preds = %18 %23 = load ptr, ptr %4, align 8 %24 = load i32, ptr %8, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %23, i64 %25 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = load ptr, ptr %5, align 8 %30 = load i32, ptr %8, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %29, i64 %31 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp ne i32 %28, %34 br i1 %35, label %36, label %37 36: ; preds = %22 store i32 0, ptr %3, align 4 br label %42 37: ; preds = %22 br label %38 38: ; preds = %37 %39 = load i32, ptr %8, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %8, align 4 br label %18, !llvm.loop !6 41: ; preds = %18 store i32 1, ptr %3, align 4 br label %42 42: ; preds = %41, %36, %16 %43 = load i32, ptr %3, align 4 ret i32 %43 } 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/tmpg4wsn6_6.c" target datalayout = "e-m:e-p270: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 @fullstrcmp(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %9 = load ptr, ptr %4, align 8 %10 = call i32 @strlen(ptr noundef %9) store i32 %10, ptr %6, align 4 %11 = load ptr, ptr %5, align 8 %12 = call i32 @strlen(ptr noundef %11) store i32 %12, ptr %7, align 4 %13 = load i32, ptr %6, align 4 %14 = load i32, ptr %7, align 4 %15 = icmp ne i32 %13, %14 br i1 %15, label %16, label %17 16: ; preds = %2 store i32 0, ptr %3, align 4 br label %44 17: ; preds = %2 store i32 0, ptr %8, align 4 %18 = load i32, ptr %8, align 4 %19 = load i32, ptr %6, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %.lr.ph, label %43 .lr.ph: ; preds = %17 br label %21 21: ; preds = %.lr.ph, %37 %22 = load ptr, ptr %4, align 8 %23 = load i32, ptr %8, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i8, ptr %22, i64 %24 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = load ptr, ptr %5, align 8 %29 = load i32, ptr %8, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %28, i64 %30 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = icmp ne i32 %27, %33 br i1 %34, label %35, label %36 35: ; preds = %21 store i32 0, ptr %3, align 4 br label %44 36: ; preds = %21 br label %37 37: ; preds = %36 %38 = load i32, ptr %8, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %8, align 4 %40 = load i32, ptr %8, align 4 %41 = load i32, ptr %6, align 4 %42 = icmp slt i32 %40, %41 br i1 %42, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %37 br label %43 43: ; preds = %._crit_edge, %17 store i32 1, ptr %3, align 4 br label %44 44: ; preds = %43, %35, %16 %45 = load i32, ptr %3, align 4 ret i32 %45 } 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/tmp26f4p0cw.c' source_filename = "/tmp/tmp26f4p0cw.c" target datalayout = "e-m:e-p270: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"\0A%d x %d x %d - %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 i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 3, ptr %2, align 4 br label %6 6: ; preds = %59, %0 %7 = load i32, ptr %2, align 4 %8 = icmp sle i32 %7, 1000 br i1 %8, label %9, label %62 9: ; preds = %6 store i32 4, ptr %3, align 4 br label %10 10: ; preds = %55, %9 %11 = load i32, ptr %3, align 4 %12 = icmp sle i32 %11, 1000 br i1 %12, label %13, label %58 13: ; preds = %10 store i32 5, ptr %4, align 4 br label %14 14: ; preds = %51, %13 %15 = load i32, ptr %4, align 4 %16 = icmp sle i32 %15, 1000 br i1 %16, label %17, label %54 17: ; preds = %14 %18 = load i32, ptr %2, align 4 %19 = load i32, ptr %2, align 4 %20 = mul nsw i32 %18, %19 %21 = load i32, ptr %3, align 4 %22 = load i32, ptr %3, align 4 %23 = mul nsw i32 %21, %22 %24 = add nsw i32 %20, %23 %25 = load i32, ptr %4, align 4 %26 = load i32, ptr %4, align 4 %27 = mul nsw i32 %25, %26 %28 = icmp eq i32 %24, %27 br i1 %28, label %29, label %50 29: ; preds = %17 %30 = load i32, ptr %2, align 4 %31 = load i32, ptr %3, align 4 %32 = add nsw i32 %30, %31 %33 = load i32, ptr %4, align 4 %34 = add nsw i32 %32, %33 %35 = icmp eq i32 %34, 1000 br i1 %35, label %36, label %49 36: ; preds = %29 %37 = load i32, ptr %2, align 4 %38 = load i32, ptr %3, align 4 %39 = mul nsw i32 %37, %38 %40 = load i32, ptr %4, align 4 %41 = mul nsw i32 %39, %40 store i32 %41, ptr %5, align 4 %42 = load i32, ptr %2, align 4 %43 = load i32, ptr %3, align 4 %44 = load i32, ptr %4, align 4 %45 = load i32, ptr %5, align 4 %46 = call i32 @printf(ptr noundef @.str, i32 noundef %42, i32 noundef %43, i32 noundef %44, i32 noundef %45) %47 = call i32 (...) @getch() %48 = call i32 @exit(i32 noundef 1) #3 unreachable 49: ; preds = %29 br label %50 50: ; preds = %49, %17 br label %51 51: ; preds = %50 %52 = load i32, ptr %4, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %4, align 4 br label %14, !llvm.loop !6 54: ; preds = %14 br label %55 55: ; preds = %54 %56 = load i32, ptr %3, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %3, align 4 br label %10, !llvm.loop !8 58: ; preds = %10 br label %59 59: ; preds = %58 %60 = load i32, ptr %2, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %2, align 4 br label %6, !llvm.loop !9 62: ; preds = %6 %63 = call i32 (...) @getch() ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @getch(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp26f4p0cw.c" target datalayout = "e-m:e-p270: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"\0A%d x %d x %d - %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 i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 3, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp sle i32 %6, 1000 br i1 %7, label %.lr.ph5, label %65 .lr.ph5: ; preds = %0 br label %8 8: ; preds = %.lr.ph5, %60 store i32 4, ptr %3, align 4 %9 = load i32, ptr %3, align 4 %10 = icmp sle i32 %9, 1000 br i1 %10, label %.lr.ph2, label %59 .lr.ph2: ; preds = %8 br label %11 11: ; preds = %.lr.ph2, %54 store i32 5, ptr %4, align 4 %12 = load i32, ptr %4, align 4 %13 = icmp sle i32 %12, 1000 br i1 %13, label %.lr.ph, label %53 .lr.ph: ; preds = %11 br label %14 14: ; preds = %.lr.ph, %48 %15 = load i32, ptr %2, align 4 %16 = load i32, ptr %2, align 4 %17 = mul nsw i32 %15, %16 %18 = load i32, ptr %3, align 4 %19 = load i32, ptr %3, align 4 %20 = mul nsw i32 %18, %19 %21 = add nsw i32 %17, %20 %22 = load i32, ptr %4, align 4 %23 = load i32, ptr %4, align 4 %24 = mul nsw i32 %22, %23 %25 = icmp eq i32 %21, %24 br i1 %25, label %26, label %47 26: ; preds = %14 %27 = load i32, ptr %2, align 4 %28 = load i32, ptr %3, align 4 %29 = add nsw i32 %27, %28 %30 = load i32, ptr %4, align 4 %31 = add nsw i32 %29, %30 %32 = icmp eq i32 %31, 1000 br i1 %32, label %33, label %46 33: ; preds = %26 %34 = load i32, ptr %2, align 4 %35 = load i32, ptr %3, align 4 %36 = mul nsw i32 %34, %35 %37 = load i32, ptr %4, align 4 %38 = mul nsw i32 %36, %37 store i32 %38, ptr %5, align 4 %39 = load i32, ptr %2, align 4 %40 = load i32, ptr %3, align 4 %41 = load i32, ptr %4, align 4 %42 = load i32, ptr %5, align 4 %43 = call i32 @printf(ptr noundef @.str, i32 noundef %39, i32 noundef %40, i32 noundef %41, i32 noundef %42) %44 = call i32 (...) @getch() %45 = call i32 @exit(i32 noundef 1) #3 unreachable 46: ; preds = %26 br label %47 47: ; preds = %46, %14 br label %48 48: ; preds = %47 %49 = load i32, ptr %4, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %4, align 4 %51 = load i32, ptr %4, align 4 %52 = icmp sle i32 %51, 1000 br i1 %52, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %48 br label %53 53: ; preds = %._crit_edge, %11 br label %54 54: ; preds = %53 %55 = load i32, ptr %3, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %3, align 4 %57 = load i32, ptr %3, align 4 %58 = icmp sle i32 %57, 1000 br i1 %58, label %11, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %54 br label %59 59: ; preds = %._crit_edge3, %8 br label %60 60: ; preds = %59 %61 = load i32, ptr %2, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %2, align 4 %63 = load i32, ptr %2, align 4 %64 = icmp sle i32 %63, 1000 br i1 %64, label %8, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %60 br label %65 65: ; preds = %._crit_edge6, %0 %66 = call i32 (...) @getch() ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @getch(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp30waerw9.c' source_filename = "/tmp/tmp30waerw9.c" target datalayout = "e-m:e-p270: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 x86_fp80 @__copysignl(x86_fp80 noundef %0, x86_fp80 noundef %1) #0 { %3 = alloca x86_fp80, align 16 %4 = alloca x86_fp80, align 16 store x86_fp80 %0, ptr %3, align 16 store x86_fp80 %1, ptr %4, align 16 %5 = load x86_fp80, ptr %3, align 16 %6 = fptrunc x86_fp80 %5 to double %7 = load x86_fp80, ptr %4, align 16 %8 = fptrunc x86_fp80 %7 to double %9 = call i64 @__copysign(double noundef %6, double noundef %8) %10 = sitofp i64 %9 to x86_fp80 ret x86_fp80 %10 } declare i64 @__copysign(double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmp30waerw9.c" target datalayout = "e-m:e-p270: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 x86_fp80 @__copysignl(x86_fp80 noundef %0, x86_fp80 noundef %1) #0 { %3 = alloca x86_fp80, align 16 %4 = alloca x86_fp80, align 16 store x86_fp80 %0, ptr %3, align 16 store x86_fp80 %1, ptr %4, align 16 %5 = load x86_fp80, ptr %3, align 16 %6 = fptrunc x86_fp80 %5 to double %7 = load x86_fp80, ptr %4, align 16 %8 = fptrunc x86_fp80 %7 to double %9 = call i64 @__copysign(double noundef %6, double noundef %8) %10 = sitofp i64 %9 to x86_fp80 ret x86_fp80 %10 } declare i64 @__copysign(double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpa_xswj0a.c' source_filename = "/tmp/tmpa_xswj0a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"Failed to open %s.\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [51 x i8] c"mapred.local.dir=/tmp/test-task-controller/local-1\00", align 1 @.str.3 = private unnamed_addr constant [36 x i8] c",/tmp/test-task-controller/local-%d\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.5 = private unnamed_addr constant [46 x i8] c"hadoop.log.dir=/tmp/test-task-controller/logs\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @write_config_file(ptr noundef %0) #0 { %2 = alloca i32, align 4 %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 %7 = call ptr @fopen(ptr noundef %6, ptr noundef @.str) store ptr %7, ptr %4, align 8 %8 = load ptr, ptr %4, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %14 10: ; preds = %1 %11 = load ptr, ptr %3, align 8 %12 = call i32 @printf(ptr noundef @.str.1, ptr noundef %11) %13 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %13, ptr %2, align 4 br label %34 14: ; preds = %1 %15 = load ptr, ptr %4, align 8 %16 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %15, ptr noundef @.str.2) store i32 2, ptr %5, align 4 br label %17 17: ; preds = %24, %14 %18 = load i32, ptr %5, align 4 %19 = icmp slt i32 %18, 5 br i1 %19, label %20, label %27 20: ; preds = %17 %21 = load ptr, ptr %4, align 8 %22 = load i32, ptr %5, align 4 %23 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %21, ptr noundef @.str.3, i32 noundef %22) br label %24 24: ; preds = %20 %25 = load i32, ptr %5, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %5, align 4 br label %17, !llvm.loop !6 27: ; preds = %17 %28 = load ptr, ptr %4, align 8 %29 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %28, ptr noundef @.str.4) %30 = load ptr, ptr %4, align 8 %31 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %30, ptr noundef @.str.5) %32 = load ptr, ptr %4, align 8 %33 = call i32 @fclose(ptr noundef %32) store i32 0, ptr %2, align 4 br label %34 34: ; preds = %27, %10 %35 = load i32, ptr %2, align 4 ret i32 %35 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @fprintf(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa_xswj0a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"Failed to open %s.\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [51 x i8] c"mapred.local.dir=/tmp/test-task-controller/local-1\00", align 1 @.str.3 = private unnamed_addr constant [36 x i8] c",/tmp/test-task-controller/local-%d\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.5 = private unnamed_addr constant [46 x i8] c"hadoop.log.dir=/tmp/test-task-controller/logs\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @write_config_file(ptr noundef %0) #0 { %2 = alloca i32, align 4 %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 %7 = call ptr @fopen(ptr noundef %6, ptr noundef @.str) store ptr %7, ptr %4, align 8 %8 = load ptr, ptr %4, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %14 10: ; preds = %1 %11 = load ptr, ptr %3, align 8 %12 = call i32 @printf(ptr noundef @.str.1, ptr noundef %11) %13 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %13, ptr %2, align 4 br label %35 14: ; preds = %1 %15 = load ptr, ptr %4, align 8 %16 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %15, ptr noundef @.str.2) store i32 2, ptr %5, align 4 %17 = load i32, ptr %5, align 4 %18 = icmp slt i32 %17, 5 br i1 %18, label %.lr.ph, label %28 .lr.ph: ; preds = %14 br label %19 19: ; preds = %.lr.ph, %23 %20 = load ptr, ptr %4, align 8 %21 = load i32, ptr %5, align 4 %22 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %20, ptr noundef @.str.3, i32 noundef %21) br label %23 23: ; preds = %19 %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 = icmp slt i32 %26, 5 br i1 %27, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %28 28: ; preds = %._crit_edge, %14 %29 = load ptr, ptr %4, align 8 %30 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %29, ptr noundef @.str.4) %31 = load ptr, ptr %4, align 8 %32 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %31, ptr noundef @.str.5) %33 = load ptr, ptr %4, align 8 %34 = call i32 @fclose(ptr noundef %33) store i32 0, ptr %2, align 4 br label %35 35: ; preds = %28, %10 %36 = load i32, ptr %2, align 4 ret i32 %36 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @fprintf(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpi8o2zut8.c' source_filename = "/tmp/tmpi8o2zut8.c" target datalayout = "e-m:e-p270: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 @read_single_digit() #0 { %1 = call i32 @read_char_range(i32 noundef 48, i8 noundef signext 57) ret void } declare i32 @read_char_range(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/tmpi8o2zut8.c" target datalayout = "e-m:e-p270: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 @read_single_digit() #0 { %1 = call i32 @read_char_range(i32 noundef 48, i8 noundef signext 57) ret void } declare i32 @read_char_range(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/tmp3o6zbjvj.c' source_filename = "/tmp/tmp3o6zbjvj.c" target datalayout = "e-m:e-p270: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"test\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 store i32 0, ptr %6, align 4 %7 = call i32 @logger_write(i32 noundef 1, ptr noundef @.str) %8 = icmp ne i32 %7, 5 br i1 %8, label %9, label %10 9: ; preds = %2 store i32 1, ptr %6, align 4 br label %10 10: ; preds = %9, %2 %11 = call i32 (...) @dbgmem_dump_blocks() %12 = load i32, ptr %6, align 4 ret i32 %12 } declare i32 @logger_write(i32 noundef, ptr noundef) #1 declare i32 @dbgmem_dump_blocks(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmp3o6zbjvj.c" target datalayout = "e-m:e-p270: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"test\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 store i32 0, ptr %6, align 4 %7 = call i32 @logger_write(i32 noundef 1, ptr noundef @.str) %8 = icmp ne i32 %7, 5 br i1 %8, label %9, label %10 9: ; preds = %2 store i32 1, ptr %6, align 4 br label %10 10: ; preds = %9, %2 %11 = call i32 (...) @dbgmem_dump_blocks() %12 = load i32, ptr %6, align 4 ret i32 %12 } declare i32 @logger_write(i32 noundef, ptr noundef) #1 declare i32 @dbgmem_dump_blocks(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpfkhrkdox.c' source_filename = "/tmp/tmpfkhrkdox.c" target datalayout = "e-m:e-p270: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 @rating_change_draw(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca double, align 8 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %3, align 4 %7 = load i32, ptr %4, align 4 %8 = call double @rating_change_win(i32 noundef %6, i32 noundef %7) %9 = fdiv double %8, 2.000000e+00 store double %9, ptr %5, align 8 %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %4, align 4 %12 = call double @rating_change_loss(i32 noundef %10, i32 noundef %11) %13 = fdiv double %12, 2.000000e+00 %14 = load double, ptr %5, align 8 %15 = fadd double %14, %13 store double %15, ptr %5, align 8 %16 = load double, ptr %5, align 8 %17 = fptosi double %16 to i32 ret i32 %17 } declare double @rating_change_win(i32 noundef, i32 noundef) #1 declare double @rating_change_loss(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/tmpfkhrkdox.c" target datalayout = "e-m:e-p270: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 @rating_change_draw(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca double, align 8 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %3, align 4 %7 = load i32, ptr %4, align 4 %8 = call double @rating_change_win(i32 noundef %6, i32 noundef %7) %9 = fdiv double %8, 2.000000e+00 store double %9, ptr %5, align 8 %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %4, align 4 %12 = call double @rating_change_loss(i32 noundef %10, i32 noundef %11) %13 = fdiv double %12, 2.000000e+00 %14 = load double, ptr %5, align 8 %15 = fadd double %14, %13 store double %15, ptr %5, align 8 %16 = load double, ptr %5, align 8 %17 = fptosi double %16 to i32 ret i32 %17 } declare double @rating_change_win(i32 noundef, i32 noundef) #1 declare double @rating_change_loss(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/tmpa05be7nq.c' source_filename = "/tmp/tmpa05be7nq.c" target datalayout = "e-m:e-p270: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 @name_compare(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @strcmp(ptr noundef %5, ptr noundef %6) ret i32 %7 } 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/tmpa05be7nq.c" target datalayout = "e-m:e-p270: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 @name_compare(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @strcmp(ptr noundef %5, ptr noundef %6) ret i32 %7 } 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/tmpr44hl6gj.c' source_filename = "/tmp/tmpr44hl6gj.c" target datalayout = "e-m:e-p270: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 @assertorder(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 br label %6 6: ; preds = %26, %2 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = sub nsw i32 %8, 1 %10 = icmp slt i32 %7, %9 br i1 %10, label %11, label %29 11: ; preds = %6 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %5, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i32, ptr %12, i64 %14 %16 = load i32, ptr %15, align 4 %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %5, align 4 %19 = add nsw i32 %18, 1 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i32, ptr %17, i64 %20 %22 = load i32, ptr %21, align 4 %23 = icmp sle i32 %16, %22 %24 = zext i1 %23 to i32 %25 = call i32 @assert(i32 noundef %24) br label %26 26: ; preds = %11 %27 = load i32, ptr %5, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %5, align 4 br label %6, !llvm.loop !6 29: ; preds = %6 ret void } 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr44hl6gj.c" target datalayout = "e-m:e-p270: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 @assertorder(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 %6 = load i32, ptr %5, align 4 %7 = load i32, ptr %4, align 4 %8 = sub nsw i32 %7, 1 %9 = icmp slt i32 %6, %8 br i1 %9, label %.lr.ph, label %32 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %25 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i32, ptr %11, i64 %13 %15 = load i32, ptr %14, align 4 %16 = load ptr, ptr %3, align 8 %17 = load i32, ptr %5, align 4 %18 = add nsw i32 %17, 1 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i32, ptr %16, i64 %19 %21 = load i32, ptr %20, align 4 %22 = icmp sle i32 %15, %21 %23 = zext i1 %22 to i32 %24 = call i32 @assert(i32 noundef %23) br label %25 25: ; preds = %10 %26 = load i32, ptr %5, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %5, align 4 %28 = load i32, ptr %5, align 4 %29 = load i32, ptr %4, align 4 %30 = sub nsw i32 %29, 1 %31 = icmp slt i32 %28, %30 br i1 %31, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %32 32: ; preds = %._crit_edge, %2 ret void } 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp871n7160.c' source_filename = "/tmp/tmp871n7160.c" target datalayout = "e-m:e-p270: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/tmp871n7160.c" target datalayout = "e-m:e-p270: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/tmppj7d_jkg.c' source_filename = "/tmp/tmppj7d_jkg.c" target datalayout = "e-m:e-p270: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 [15 x i8] c"this is cmd2!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppj7d_jkg.c" target datalayout = "e-m:e-p270: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 [15 x i8] c"this is cmd2!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpt8iu_fcq.c' source_filename = "/tmp/tmpt8iu_fcq.c" target datalayout = "e-m:e-p270: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/tmpt8iu_fcq.c" target datalayout = "e-m:e-p270: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/tmpbxjjzb07.c' source_filename = "/tmp/tmpbxjjzb07.c" target datalayout = "e-m:e-p270: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 @utimes(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @syscall(i32 noundef 30, ptr noundef %5, ptr noundef %6) ret i32 %7 } declare i32 @syscall(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbxjjzb07.c" target datalayout = "e-m:e-p270: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 @utimes(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @syscall(i32 noundef 30, ptr noundef %5, ptr noundef %6) ret i32 %7 } declare i32 @syscall(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"}
; ModuleID = '/tmp/tmpnf2v5wtu.c' source_filename = "/tmp/tmpnf2v5wtu.c" target datalayout = "e-m:e-p270: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.str = private unnamed_addr constant [8 x i8] c"1?100?1\00", align 1 @.str = private unnamed_addr constant [49 x i8] c"Result of substituting for ? in %s with 0 or 1:\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca [8 x i8], align 1 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %1, ptr align 1 @__const.main.str, i64 8, i1 false) %2 = getelementptr inbounds [8 x i8], ptr %1, i64 0, i64 0 %3 = call i32 @printf(ptr noundef @.str, ptr noundef %2) %4 = getelementptr inbounds [8 x i8], ptr %1, i64 0, i64 0 %5 = call i32 @substituteWildcard(ptr noundef %4, i32 noundef 8, i32 noundef 0) %6 = call i32 (...) @getchar() 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, ptr noundef) #2 declare i32 @substituteWildcard(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @getchar(...) #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/tmpnf2v5wtu.c" target datalayout = "e-m:e-p270: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.str = private unnamed_addr constant [8 x i8] c"1?100?1\00", align 1 @.str = private unnamed_addr constant [49 x i8] c"Result of substituting for ? in %s with 0 or 1:\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca [8 x i8], align 1 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %1, ptr align 1 @__const.main.str, i64 8, i1 false) %2 = getelementptr inbounds [8 x i8], ptr %1, i64 0, i64 0 %3 = call i32 @printf(ptr noundef @.str, ptr noundef %2) %4 = getelementptr inbounds [8 x i8], ptr %1, i64 0, i64 0 %5 = call i32 @substituteWildcard(ptr noundef %4, i32 noundef 8, i32 noundef 0) %6 = call i32 (...) @getchar() 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, ptr noundef) #2 declare i32 @substituteWildcard(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @getchar(...) #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/tmp9rq1xjfg.c' source_filename = "/tmp/tmp9rq1xjfg.c" target datalayout = "e-m:e-p270: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/tmp9rq1xjfg.c" target datalayout = "e-m:e-p270: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/tmpn3e2fx4a.c' source_filename = "/tmp/tmpn3e2fx4a.c" target datalayout = "e-m:e-p270: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/tmpn3e2fx4a.c" target datalayout = "e-m:e-p270: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/tmp97vujfgv.c' source_filename = "/tmp/tmp97vujfgv.c" target datalayout = "e-m:e-p270: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/tmp97vujfgv.c" target datalayout = "e-m:e-p270: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/tmph2bk_oj9.c' source_filename = "/tmp/tmph2bk_oj9.c" target datalayout = "e-m:e-p270: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/tmph2bk_oj9.c" target datalayout = "e-m:e-p270: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_ufjz0uo.c' source_filename = "/tmp/tmp_ufjz0uo.c" target datalayout = "e-m:e-p270: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 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 2, ptr %2, align 4 br label %3 3: ; preds = %9, %0 %4 = load i32, ptr %2, align 4 %5 = icmp slt i32 %4, 101 br i1 %5, label %6, label %12 6: ; preds = %3 %7 = load i32, ptr %2, align 4 %8 = call i32 @printf(ptr noundef @.str, i32 noundef %7) br label %9 9: ; preds = %6 %10 = load i32, ptr %2, align 4 %11 = add nsw i32 %10, 2 store i32 %11, ptr %2, align 4 br label %3, !llvm.loop !6 12: ; preds = %3 ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_ufjz0uo.c" target datalayout = "e-m:e-p270: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 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 2, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp slt i32 %3, 101 br i1 %4, label %.lr.ph, label %13 .lr.ph: ; preds = %0 br label %5 5: ; preds = %.lr.ph, %8 %6 = load i32, ptr %2, align 4 %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) br label %8 8: ; preds = %5 %9 = load i32, ptr %2, align 4 %10 = add nsw i32 %9, 2 store i32 %10, ptr %2, align 4 %11 = load i32, ptr %2, align 4 %12 = icmp slt i32 %11, 101 br i1 %12, label %5, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %8 br label %13 13: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpct9mg_gk.c' source_filename = "/tmp/tmpct9mg_gk.c" target datalayout = "e-m:e-p270: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"localhost\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [21 x i8] c"ERROR opening socket\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"ERROR, no such host\0A\00", align 1 @.str.3 = private unnamed_addr constant [17 x i8] c"ERROR connecting\00", align 1 @.str.4 = private unnamed_addr constant [24 x i8] c"ERROR writing to socket\00", align 1 @.str.5 = private unnamed_addr constant [26 x i8] c"ERROR reading from socket\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_lab(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i8, align 1 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 store ptr @.str, ptr %5, align 8 store i32 5002, ptr %8, align 4 %10 = load ptr, ptr %5, align 8 %11 = load i32, ptr %8, align 4 %12 = call i32 @connect_to_server(ptr noundef %10, i32 noundef %11, ptr noundef %6) store i32 %12, ptr %9, align 4 %13 = load i8, ptr %6, align 1 %14 = sext i8 %13 to i32 switch i32 %14, label %33 [ i32 1, label %15 i32 2, label %21 i32 3, label %27 ] 15: ; preds = %2 %16 = load i32, ptr @stderr, align 4 %17 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str.1) %18 = load i8, ptr %6, align 1 %19 = sext i8 %18 to i32 %20 = call i32 @exit(i32 noundef %19) #3 unreachable 21: ; preds = %2 %22 = load i32, ptr @stderr, align 4 %23 = call i32 @fprintf(i32 noundef %22, ptr noundef @.str.2) %24 = load i8, ptr %6, align 1 %25 = sext i8 %24 to i32 %26 = call i32 @exit(i32 noundef %25) #3 unreachable 27: ; preds = %2 %28 = load i32, ptr @stderr, align 4 %29 = call i32 @fprintf(i32 noundef %28, ptr noundef @.str.3) %30 = load i8, ptr %6, align 1 %31 = sext i8 %30 to i32 %32 = call i32 @exit(i32 noundef %31) #3 unreachable 33: ; preds = %2 %34 = load i32, ptr %3, align 4 %35 = load i32, ptr %4, align 4 %36 = call ptr @create_labyrinth(i32 noundef %34, i32 noundef %35) store ptr %36, ptr %7, align 8 %37 = load i32, ptr %9, align 4 %38 = load ptr, ptr %7, align 8 %39 = load ptr, ptr %7, align 8 %40 = call i32 @strlen(ptr noundef %39) %41 = call i64 @write(i32 noundef %37, ptr noundef %38, i32 noundef %40) %42 = icmp slt i64 %41, 0 br i1 %42, label %43, label %47 43: ; preds = %33 %44 = load i32, ptr @stderr, align 4 %45 = call i32 @fprintf(i32 noundef %44, ptr noundef @.str.4) %46 = call i32 @exit(i32 noundef 1) #3 unreachable 47: ; preds = %33 %48 = load ptr, ptr %7, align 8 %49 = call i32 @bzero(ptr noundef %48, i32 noundef 1024) %50 = load i32, ptr %9, align 4 %51 = load ptr, ptr %7, align 8 %52 = call i64 @read(i32 noundef %50, ptr noundef %51, i32 noundef 1023) %53 = icmp slt i64 %52, 0 br i1 %53, label %54, label %58 54: ; preds = %47 %55 = load i32, ptr @stderr, align 4 %56 = call i32 @fprintf(i32 noundef %55, ptr noundef @.str.5) %57 = call i32 @exit(i32 noundef 1) #3 unreachable 58: ; preds = %47 %59 = load i32, ptr %9, align 4 %60 = call i32 @close(i32 noundef %59) %61 = load ptr, ptr %7, align 8 ret ptr %61 } declare i32 @connect_to_server(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @create_labyrinth(i32 noundef, i32 noundef) #1 declare i64 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpct9mg_gk.c" target datalayout = "e-m:e-p270: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"localhost\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [21 x i8] c"ERROR opening socket\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"ERROR, no such host\0A\00", align 1 @.str.3 = private unnamed_addr constant [17 x i8] c"ERROR connecting\00", align 1 @.str.4 = private unnamed_addr constant [24 x i8] c"ERROR writing to socket\00", align 1 @.str.5 = private unnamed_addr constant [26 x i8] c"ERROR reading from socket\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_lab(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i8, align 1 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 store ptr @.str, ptr %5, align 8 store i32 5002, ptr %8, align 4 %10 = load ptr, ptr %5, align 8 %11 = load i32, ptr %8, align 4 %12 = call i32 @connect_to_server(ptr noundef %10, i32 noundef %11, ptr noundef %6) store i32 %12, ptr %9, align 4 %13 = load i8, ptr %6, align 1 %14 = sext i8 %13 to i32 switch i32 %14, label %33 [ i32 1, label %15 i32 2, label %21 i32 3, label %27 ] 15: ; preds = %2 %16 = load i32, ptr @stderr, align 4 %17 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str.1) %18 = load i8, ptr %6, align 1 %19 = sext i8 %18 to i32 %20 = call i32 @exit(i32 noundef %19) #3 unreachable 21: ; preds = %2 %22 = load i32, ptr @stderr, align 4 %23 = call i32 @fprintf(i32 noundef %22, ptr noundef @.str.2) %24 = load i8, ptr %6, align 1 %25 = sext i8 %24 to i32 %26 = call i32 @exit(i32 noundef %25) #3 unreachable 27: ; preds = %2 %28 = load i32, ptr @stderr, align 4 %29 = call i32 @fprintf(i32 noundef %28, ptr noundef @.str.3) %30 = load i8, ptr %6, align 1 %31 = sext i8 %30 to i32 %32 = call i32 @exit(i32 noundef %31) #3 unreachable 33: ; preds = %2 %34 = load i32, ptr %3, align 4 %35 = load i32, ptr %4, align 4 %36 = call ptr @create_labyrinth(i32 noundef %34, i32 noundef %35) store ptr %36, ptr %7, align 8 %37 = load i32, ptr %9, align 4 %38 = load ptr, ptr %7, align 8 %39 = load ptr, ptr %7, align 8 %40 = call i32 @strlen(ptr noundef %39) %41 = call i64 @write(i32 noundef %37, ptr noundef %38, i32 noundef %40) %42 = icmp slt i64 %41, 0 br i1 %42, label %43, label %47 43: ; preds = %33 %44 = load i32, ptr @stderr, align 4 %45 = call i32 @fprintf(i32 noundef %44, ptr noundef @.str.4) %46 = call i32 @exit(i32 noundef 1) #3 unreachable 47: ; preds = %33 %48 = load ptr, ptr %7, align 8 %49 = call i32 @bzero(ptr noundef %48, i32 noundef 1024) %50 = load i32, ptr %9, align 4 %51 = load ptr, ptr %7, align 8 %52 = call i64 @read(i32 noundef %50, ptr noundef %51, i32 noundef 1023) %53 = icmp slt i64 %52, 0 br i1 %53, label %54, label %58 54: ; preds = %47 %55 = load i32, ptr @stderr, align 4 %56 = call i32 @fprintf(i32 noundef %55, ptr noundef @.str.5) %57 = call i32 @exit(i32 noundef 1) #3 unreachable 58: ; preds = %47 %59 = load i32, ptr %9, align 4 %60 = call i32 @close(i32 noundef %59) %61 = load ptr, ptr %7, align 8 ret ptr %61 } declare i32 @connect_to_server(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @create_labyrinth(i32 noundef, i32 noundef) #1 declare i64 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_tr5_jfs.c' source_filename = "/tmp/tmp_tr5_jfs.c" target datalayout = "e-m:e-p270: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 @cmatrix_mrotx(ptr noundef %0, ptr noundef %1, double noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca double, align 8 %7 = alloca [9 x double], align 16 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store double %2, ptr %6, align 8 %11 = load ptr, ptr %5, align 8 %12 = load ptr, ptr %4, align 8 %13 = icmp eq ptr %11, %12 br i1 %13, label %14, label %19 14: ; preds = %3 %15 = getelementptr inbounds [9 x double], ptr %7, i64 0, i64 0 %16 = load ptr, ptr %5, align 8 %17 = call i32 @memcpy(ptr noundef %15, ptr noundef %16, i32 noundef 72) %18 = getelementptr inbounds [9 x double], ptr %7, i64 0, i64 0 store ptr %18, ptr %5, align 8 br label %19 19: ; preds = %14, %3 %20 = load double, ptr %6, align 8 %21 = call double @cos(double noundef %20) #4 store double %21, ptr %8, align 8 %22 = load double, ptr %6, align 8 %23 = call double @sin(double noundef %22) #4 store double %23, ptr %9, align 8 store i32 1, ptr %10, align 4 br label %24 24: ; preds = %90, %19 %25 = load i32, ptr %10, align 4 %26 = icmp sle i32 %25, 3 br i1 %26, label %27, label %93 27: ; preds = %24 %28 = load ptr, ptr %5, align 8 %29 = load i32, ptr %10, align 4 %30 = sub nsw i32 %29, 1 %31 = add nsw i32 0, %30 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds double, ptr %28, i64 %32 %34 = load double, ptr %33, align 8 %35 = load ptr, ptr %4, align 8 %36 = load i32, ptr %10, align 4 %37 = sub nsw i32 %36, 1 %38 = add nsw i32 0, %37 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds double, ptr %35, i64 %39 store double %34, ptr %40, align 8 %41 = load double, ptr %8, align 8 %42 = load ptr, ptr %5, align 8 %43 = load i32, ptr %10, align 4 %44 = sub nsw i32 %43, 1 %45 = add nsw i32 3, %44 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds double, ptr %42, i64 %46 %48 = load double, ptr %47, align 8 %49 = load double, ptr %9, align 8 %50 = load ptr, ptr %5, align 8 %51 = load i32, ptr %10, align 4 %52 = sub nsw i32 %51, 1 %53 = add nsw i32 6, %52 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds double, ptr %50, i64 %54 %56 = load double, ptr %55, align 8 %57 = fmul double %49, %56 %58 = fneg double %57 %59 = call double @llvm.fmuladd.f64(double %41, double %48, double %58) %60 = load ptr, ptr %4, align 8 %61 = load i32, ptr %10, align 4 %62 = sub nsw i32 %61, 1 %63 = add nsw i32 3, %62 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds double, ptr %60, i64 %64 store double %59, ptr %65, align 8 %66 = load double, ptr %9, align 8 %67 = load ptr, ptr %5, align 8 %68 = load i32, ptr %10, align 4 %69 = sub nsw i32 %68, 1 %70 = add nsw i32 3, %69 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds double, ptr %67, i64 %71 %73 = load double, ptr %72, align 8 %74 = load double, ptr %8, align 8 %75 = load ptr, ptr %5, align 8 %76 = load i32, ptr %10, align 4 %77 = sub nsw i32 %76, 1 %78 = add nsw i32 6, %77 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds double, ptr %75, i64 %79 %81 = load double, ptr %80, align 8 %82 = fmul double %74, %81 %83 = call double @llvm.fmuladd.f64(double %66, double %73, double %82) %84 = load ptr, ptr %4, align 8 %85 = load i32, ptr %10, align 4 %86 = sub nsw i32 %85, 1 %87 = add nsw i32 6, %86 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds double, ptr %84, i64 %88 store double %83, ptr %89, align 8 br label %90 90: ; preds = %27 %91 = load i32, ptr %10, align 4 %92 = add nsw i32 %91, 1 store i32 %92, ptr %10, align 4 br label %24, !llvm.loop !6 93: ; preds = %24 ret void } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: nounwind declare double @cos(double noundef) #2 ; Function Attrs: nounwind declare double @sin(double noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_tr5_jfs.c" target datalayout = "e-m:e-p270: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 @cmatrix_mrotx(ptr noundef %0, ptr noundef %1, double noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca double, align 8 %7 = alloca [9 x double], align 16 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store double %2, ptr %6, align 8 %11 = load ptr, ptr %5, align 8 %12 = load ptr, ptr %4, align 8 %13 = icmp eq ptr %11, %12 br i1 %13, label %14, label %19 14: ; preds = %3 %15 = getelementptr inbounds [9 x double], ptr %7, i64 0, i64 0 %16 = load ptr, ptr %5, align 8 %17 = call i32 @memcpy(ptr noundef %15, ptr noundef %16, i32 noundef 72) %18 = getelementptr inbounds [9 x double], ptr %7, i64 0, i64 0 store ptr %18, ptr %5, align 8 br label %19 19: ; preds = %14, %3 %20 = load double, ptr %6, align 8 %21 = call double @cos(double noundef %20) #4 store double %21, ptr %8, align 8 %22 = load double, ptr %6, align 8 %23 = call double @sin(double noundef %22) #4 store double %23, ptr %9, align 8 store i32 1, ptr %10, align 4 %24 = load i32, ptr %10, align 4 %25 = icmp sle i32 %24, 3 br i1 %25, label %.lr.ph, label %94 .lr.ph: ; preds = %19 br label %26 26: ; preds = %.lr.ph, %89 %27 = load ptr, ptr %5, align 8 %28 = load i32, ptr %10, align 4 %29 = sub nsw i32 %28, 1 %30 = add nsw i32 0, %29 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds double, ptr %27, i64 %31 %33 = load double, ptr %32, align 8 %34 = load ptr, ptr %4, align 8 %35 = load i32, ptr %10, align 4 %36 = sub nsw i32 %35, 1 %37 = add nsw i32 0, %36 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds double, ptr %34, i64 %38 store double %33, ptr %39, align 8 %40 = load double, ptr %8, align 8 %41 = load ptr, ptr %5, align 8 %42 = load i32, ptr %10, align 4 %43 = sub nsw i32 %42, 1 %44 = add nsw i32 3, %43 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds double, ptr %41, i64 %45 %47 = load double, ptr %46, align 8 %48 = load double, ptr %9, align 8 %49 = load ptr, ptr %5, align 8 %50 = load i32, ptr %10, align 4 %51 = sub nsw i32 %50, 1 %52 = add nsw i32 6, %51 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds double, ptr %49, i64 %53 %55 = load double, ptr %54, align 8 %56 = fmul double %48, %55 %57 = fneg double %56 %58 = call double @llvm.fmuladd.f64(double %40, double %47, double %57) %59 = load ptr, ptr %4, align 8 %60 = load i32, ptr %10, align 4 %61 = sub nsw i32 %60, 1 %62 = add nsw i32 3, %61 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds double, ptr %59, i64 %63 store double %58, ptr %64, align 8 %65 = load double, ptr %9, align 8 %66 = load ptr, ptr %5, align 8 %67 = load i32, ptr %10, align 4 %68 = sub nsw i32 %67, 1 %69 = add nsw i32 3, %68 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds double, ptr %66, i64 %70 %72 = load double, ptr %71, align 8 %73 = load double, ptr %8, align 8 %74 = load ptr, ptr %5, align 8 %75 = load i32, ptr %10, align 4 %76 = sub nsw i32 %75, 1 %77 = add nsw i32 6, %76 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds double, ptr %74, i64 %78 %80 = load double, ptr %79, align 8 %81 = fmul double %73, %80 %82 = call double @llvm.fmuladd.f64(double %65, double %72, double %81) %83 = load ptr, ptr %4, align 8 %84 = load i32, ptr %10, align 4 %85 = sub nsw i32 %84, 1 %86 = add nsw i32 6, %85 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds double, ptr %83, i64 %87 store double %82, ptr %88, align 8 br label %89 89: ; preds = %26 %90 = load i32, ptr %10, align 4 %91 = add nsw i32 %90, 1 store i32 %91, ptr %10, align 4 %92 = load i32, ptr %10, align 4 %93 = icmp sle i32 %92, 3 br i1 %93, label %26, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %89 br label %94 94: ; preds = %._crit_edge, %19 ret void } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: nounwind declare double @cos(double noundef) #2 ; Function Attrs: nounwind declare double @sin(double noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpk3x5xseq.c' source_filename = "/tmp/tmpk3x5xseq.c" target datalayout = "e-m:e-p270: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 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @mc_path_islink(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca %struct.stat, align 4 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i64 @lstat(ptr noundef %5, ptr noundef %4) %7 = icmp ne i64 0, %6 br i1 %7, label %8, label %9 8: ; preds = %1 store i32 0, ptr %2, align 4 br label %17 9: ; preds = %1 %10 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0 %11 = load i32, ptr %10, align 4 %12 = call i32 @S_ISLNK(i32 noundef %11) %13 = icmp ne i32 %12, 0 %14 = xor i1 %13, true %15 = xor i1 %14, true %16 = zext i1 %15 to i32 store i32 %16, ptr %2, align 4 br label %17 17: ; preds = %9, %8 %18 = load i32, ptr %2, align 4 ret i32 %18 } declare i64 @lstat(ptr noundef, ptr noundef) #1 declare i32 @S_ISLNK(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/tmpk3x5xseq.c" target datalayout = "e-m:e-p270: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 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @mc_path_islink(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca %struct.stat, align 4 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i64 @lstat(ptr noundef %5, ptr noundef %4) %7 = icmp ne i64 0, %6 br i1 %7, label %8, label %9 8: ; preds = %1 store i32 0, ptr %2, align 4 br label %17 9: ; preds = %1 %10 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0 %11 = load i32, ptr %10, align 4 %12 = call i32 @S_ISLNK(i32 noundef %11) %13 = icmp ne i32 %12, 0 %14 = xor i1 %13, true %15 = xor i1 %14, true %16 = zext i1 %15 to i32 store i32 %16, ptr %2, align 4 br label %17 17: ; preds = %9, %8 %18 = load i32, ptr %2, align 4 ret i32 %18 } declare i64 @lstat(ptr noundef, ptr noundef) #1 declare i32 @S_ISLNK(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/tmpa6y5_4d2.c' source_filename = "/tmp/tmpa6y5_4d2.c" target datalayout = "e-m:e-p270: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"atoms\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"these\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"unknown\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"bonds\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"scratch\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @protected_set(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = call i64 @strcmp(ptr noundef %4, ptr noundef @.str) %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %1 store i32 1, ptr %2, align 4 br label %29 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 %10 = call i64 @strcmp(ptr noundef %9, ptr noundef @.str.1) %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %8 store i32 1, ptr %2, align 4 br label %29 13: ; preds = %8 %14 = load ptr, ptr %3, align 8 %15 = call i64 @strcmp(ptr noundef %14, ptr noundef @.str.2) %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %13 store i32 1, ptr %2, align 4 br label %29 18: ; preds = %13 %19 = load ptr, ptr %3, align 8 %20 = call i64 @strcmp(ptr noundef %19, ptr noundef @.str.3) %21 = icmp eq i64 %20, 0 br i1 %21, label %22, label %23 22: ; preds = %18 store i32 1, ptr %2, align 4 br label %29 23: ; preds = %18 %24 = load ptr, ptr %3, align 8 %25 = call i64 @strcmp(ptr noundef %24, ptr noundef @.str.4) %26 = icmp eq i64 %25, 0 br i1 %26, label %27, label %28 27: ; preds = %23 store i32 1, ptr %2, align 4 br label %29 28: ; preds = %23 store i32 0, ptr %2, align 4 br label %29 29: ; preds = %28, %27, %22, %17, %12, %7 %30 = load i32, ptr %2, align 4 ret i32 %30 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa6y5_4d2.c" target datalayout = "e-m:e-p270: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"atoms\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"these\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"unknown\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"bonds\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"scratch\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @protected_set(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = call i64 @strcmp(ptr noundef %4, ptr noundef @.str) %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %1 store i32 1, ptr %2, align 4 br label %29 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 %10 = call i64 @strcmp(ptr noundef %9, ptr noundef @.str.1) %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %8 store i32 1, ptr %2, align 4 br label %29 13: ; preds = %8 %14 = load ptr, ptr %3, align 8 %15 = call i64 @strcmp(ptr noundef %14, ptr noundef @.str.2) %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %13 store i32 1, ptr %2, align 4 br label %29 18: ; preds = %13 %19 = load ptr, ptr %3, align 8 %20 = call i64 @strcmp(ptr noundef %19, ptr noundef @.str.3) %21 = icmp eq i64 %20, 0 br i1 %21, label %22, label %23 22: ; preds = %18 store i32 1, ptr %2, align 4 br label %29 23: ; preds = %18 %24 = load ptr, ptr %3, align 8 %25 = call i64 @strcmp(ptr noundef %24, ptr noundef @.str.4) %26 = icmp eq i64 %25, 0 br i1 %26, label %27, label %28 27: ; preds = %23 store i32 1, ptr %2, align 4 br label %29 28: ; preds = %23 store i32 0, ptr %2, align 4 br label %29 29: ; preds = %28, %27, %22, %17, %12, %7 %30 = load i32, ptr %2, align 4 ret i32 %30 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1paa9h1w.c' source_filename = "/tmp/tmp1paa9h1w.c" target datalayout = "e-m:e-p270: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/tmp1paa9h1w.c" target datalayout = "e-m:e-p270: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/tmp8vdhrlwq.c' source_filename = "/tmp/tmp8vdhrlwq.c" target datalayout = "e-m:e-p270: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/tmp8vdhrlwq.c" target datalayout = "e-m:e-p270: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/tmpnruu8wvz.c' source_filename = "/tmp/tmpnruu8wvz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGKILL = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp slt i32 %6, 2 br i1 %7, label %8, label %10 8: ; preds = %2 %9 = call i32 @exit(i32 noundef 0) #3 unreachable 10: ; preds = %2 %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds ptr, ptr %11, i64 1 %13 = load ptr, ptr %12, align 8 %14 = call i32 @atol(ptr noundef %13) %15 = load i32, ptr @SIGKILL, align 4 %16 = call i32 @kill(i32 noundef %14, i32 noundef %15) ret i32 0 } ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #1 declare i32 @kill(i32 noundef, i32 noundef) #2 declare i32 @atol(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 = { 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 = { "frame-pointer"="all" "no-trapping-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/tmpnruu8wvz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGKILL = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp slt i32 %6, 2 br i1 %7, label %8, label %10 8: ; preds = %2 %9 = call i32 @exit(i32 noundef 0) #3 unreachable 10: ; preds = %2 %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds ptr, ptr %11, i64 1 %13 = load ptr, ptr %12, align 8 %14 = call i32 @atol(ptr noundef %13) %15 = load i32, ptr @SIGKILL, align 4 %16 = call i32 @kill(i32 noundef %14, i32 noundef %15) ret i32 0 } ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #1 declare i32 @kill(i32 noundef, i32 noundef) #2 declare i32 @atol(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 = { 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 = { "frame-pointer"="all" "no-trapping-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/tmpl5erk304.c' source_filename = "/tmp/tmpl5erk304.c" target datalayout = "e-m:e-p270: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 [5 x i8] c"%lld\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"0\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%d \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 [105 x i32], align 16 %4 = alloca i64, align 8 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) br label %7 7: ; preds = %51, %0 %8 = load i32, ptr %2, align 4 %9 = icmp ne i32 %8, 0 br i1 %9, label %10, label %54 10: ; preds = %7 %11 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4) %12 = load i64, ptr %4, align 8 %13 = icmp eq i64 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %10 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %51 16: ; preds = %10 store i32 0, ptr %5, align 4 br label %17 17: ; preds = %27, %16 %18 = load i64, ptr %4, align 8 %19 = icmp ne i64 %18, 0 br i1 %19, label %20, label %32 20: ; preds = %17 %21 = load i64, ptr %4, align 8 %22 = srem i64 %21, 10 %23 = trunc i64 %22 to i32 %24 = load i32, ptr %5, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds [105 x i32], ptr %3, i64 0, i64 %25 store i32 %23, ptr %26, align 4 br label %27 27: ; preds = %20 %28 = load i32, ptr %5, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %5, align 4 %30 = load i64, ptr %4, align 8 %31 = sdiv i64 %30, 10 store i64 %31, ptr %4, align 8 br label %17, !llvm.loop !6 32: ; preds = %17 %33 = load i32, ptr %5, align 4 %34 = add nsw i32 %33, -1 store i32 %34, ptr %5, align 4 br label %35 35: ; preds = %44, %32 %36 = load i32, ptr %5, align 4 %37 = icmp ne i32 %36, 0 br i1 %37, label %38, label %47 38: ; preds = %35 %39 = load i32, ptr %5, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [105 x i32], ptr %3, i64 0, i64 %40 %42 = load i32, ptr %41, align 4 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %42) br label %44 44: ; preds = %38 %45 = load i32, ptr %5, align 4 %46 = add nsw i32 %45, -1 store i32 %46, ptr %5, align 4 br label %35, !llvm.loop !8 47: ; preds = %35 %48 = getelementptr inbounds [105 x i32], ptr %3, i64 0, i64 0 %49 = load i32, ptr %48, align 16 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %49) br label %51 51: ; preds = %47, %14 %52 = load i32, ptr %2, align 4 %53 = add nsw i32 %52, -1 store i32 %53, ptr %2, align 4 br label %7, !llvm.loop !9 54: ; preds = %7 ret i32 0 } declare i32 @scanf(ptr noundef, ...) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpl5erk304.c" target datalayout = "e-m:e-p270: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 [5 x i8] c"%lld\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"0\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%d \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 [105 x i32], align 16 %4 = alloca i64, align 8 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) %7 = load i32, ptr %2, align 4 %8 = icmp ne i32 %7, 0 br i1 %8, label %.lr.ph5, label %57 .lr.ph5: ; preds = %0 br label %9 9: ; preds = %.lr.ph5, %52 %10 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4) %11 = load i64, ptr %4, align 8 %12 = icmp eq i64 %11, 0 br i1 %12, label %13, label %15 13: ; preds = %9 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %52 15: ; preds = %9 store i32 0, ptr %5, align 4 %16 = load i64, ptr %4, align 8 %17 = icmp ne i64 %16, 0 br i1 %17, label %.lr.ph, label %32 .lr.ph: ; preds = %15 br label %18 18: ; preds = %.lr.ph, %25 %19 = load i64, ptr %4, align 8 %20 = srem i64 %19, 10 %21 = trunc i64 %20 to i32 %22 = load i32, ptr %5, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [105 x i32], ptr %3, i64 0, i64 %23 store i32 %21, ptr %24, align 4 br label %25 25: ; preds = %18 %26 = load i32, ptr %5, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %5, align 4 %28 = load i64, ptr %4, align 8 %29 = sdiv i64 %28, 10 store i64 %29, ptr %4, align 8 %30 = load i64, ptr %4, align 8 %31 = icmp ne i64 %30, 0 br i1 %31, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %32 32: ; preds = %._crit_edge, %15 %33 = load i32, ptr %5, align 4 %34 = add nsw i32 %33, -1 store i32 %34, ptr %5, align 4 %35 = load i32, ptr %5, align 4 %36 = icmp ne i32 %35, 0 br i1 %36, label %.lr.ph2, label %48 .lr.ph2: ; preds = %32 br label %37 37: ; preds = %.lr.ph2, %43 %38 = load i32, ptr %5, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds [105 x i32], ptr %3, i64 0, i64 %39 %41 = load i32, ptr %40, align 4 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %41) br label %43 43: ; preds = %37 %44 = load i32, ptr %5, align 4 %45 = add nsw i32 %44, -1 store i32 %45, ptr %5, align 4 %46 = load i32, ptr %5, align 4 %47 = icmp ne i32 %46, 0 br i1 %47, label %37, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %43 br label %48 48: ; preds = %._crit_edge3, %32 %49 = getelementptr inbounds [105 x i32], ptr %3, i64 0, i64 0 %50 = load i32, ptr %49, align 16 %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %50) br label %52 52: ; preds = %48, %13 %53 = load i32, ptr %2, align 4 %54 = add nsw i32 %53, -1 store i32 %54, ptr %2, align 4 %55 = load i32, ptr %2, align 4 %56 = icmp ne i32 %55, 0 br i1 %56, label %9, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %52 br label %57 57: ; preds = %._crit_edge6, %0 ret i32 0 } declare i32 @scanf(ptr noundef, ...) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp1e21chpl.c' source_filename = "/tmp/tmp1e21chpl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @algdiv.c0 = internal global double 0x3FB5555555555553, align 8 @algdiv.c1 = internal global double 0xBF66C16C16BB8412, align 8 @algdiv.c2 = internal global double 0x3F4A019FD4488960, align 8 @algdiv.c3 = internal global double 0xBF4380EC8FF430DF, align 8 @algdiv.c4 = internal global double 0x3F4B6FD94FB94A6B, align 8 @algdiv.c5 = internal global double 0xBF5B1625CBCA1838, align 8 @algdiv.algdiv = internal global double 0.000000e+00, align 8 @algdiv.c = internal global double 0.000000e+00, align 8 @algdiv.d = internal global double 0.000000e+00, align 8 @algdiv.h = internal global double 0.000000e+00, align 8 @algdiv.s11 = internal global double 0.000000e+00, align 8 @algdiv.s3 = internal global double 0.000000e+00, align 8 @algdiv.s5 = internal global double 0.000000e+00, align 8 @algdiv.s7 = internal global double 0.000000e+00, align 8 @algdiv.s9 = internal global double 0.000000e+00, align 8 @algdiv.t = internal global double 0.000000e+00, align 8 @algdiv.u = internal global double 0.000000e+00, align 8 @algdiv.v = internal global double 0.000000e+00, align 8 @algdiv.w = internal global double 0.000000e+00, align 8 @algdiv.x = internal global double 0.000000e+00, align 8 @algdiv.x2 = internal global double 0.000000e+00, align 8 @algdiv.T1 = internal global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @algdiv(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = load double, ptr %6, align 8 %8 = load ptr, ptr %5, align 8 %9 = load double, ptr %8, align 8 %10 = fcmp ole double %7, %9 br i1 %10, label %11, label %12 11: ; preds = %2 br label %31 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = load double, ptr %13, align 8 %15 = load ptr, ptr %4, align 8 %16 = load double, ptr %15, align 8 %17 = fdiv double %14, %16 store double %17, ptr @algdiv.h, align 8 %18 = load double, ptr @algdiv.h, align 8 %19 = fadd double 1.000000e+00, %18 %20 = fdiv double 1.000000e+00, %19 store double %20, ptr @algdiv.c, align 8 %21 = load double, ptr @algdiv.h, align 8 %22 = load double, ptr @algdiv.h, align 8 %23 = fadd double 1.000000e+00, %22 %24 = fdiv double %21, %23 store double %24, ptr @algdiv.x, align 8 %25 = load ptr, ptr %4, align 8 %26 = load double, ptr %25, align 8 %27 = load ptr, ptr %5, align 8 %28 = load double, ptr %27, align 8 %29 = fsub double %28, 5.000000e-01 %30 = fadd double %26, %29 store double %30, ptr @algdiv.d, align 8 br label %50 31: ; preds = %11 %32 = load ptr, ptr %4, align 8 %33 = load double, ptr %32, align 8 %34 = load ptr, ptr %5, align 8 %35 = load double, ptr %34, align 8 %36 = fdiv double %33, %35 store double %36, ptr @algdiv.h, align 8 %37 = load double, ptr @algdiv.h, align 8 %38 = load double, ptr @algdiv.h, align 8 %39 = fadd double 1.000000e+00, %38 %40 = fdiv double %37, %39 store double %40, ptr @algdiv.c, align 8 %41 = load double, ptr @algdiv.h, align 8 %42 = fadd double 1.000000e+00, %41 %43 = fdiv double 1.000000e+00, %42 store double %43, ptr @algdiv.x, align 8 %44 = load ptr, ptr %5, align 8 %45 = load double, ptr %44, align 8 %46 = load ptr, ptr %4, align 8 %47 = load double, ptr %46, align 8 %48 = fsub double %47, 5.000000e-01 %49 = fadd double %45, %48 store double %49, ptr @algdiv.d, align 8 br label %50 50: ; preds = %31, %12 %51 = load double, ptr @algdiv.x, align 8 %52 = load double, ptr @algdiv.x, align 8 %53 = fmul double %51, %52 store double %53, ptr @algdiv.x2, align 8 %54 = load double, ptr @algdiv.x, align 8 %55 = load double, ptr @algdiv.x2, align 8 %56 = fadd double %54, %55 %57 = fadd double 1.000000e+00, %56 store double %57, ptr @algdiv.s3, align 8 %58 = load double, ptr @algdiv.x, align 8 %59 = load double, ptr @algdiv.x2, align 8 %60 = load double, ptr @algdiv.s3, align 8 %61 = call double @llvm.fmuladd.f64(double %59, double %60, double %58) %62 = fadd double 1.000000e+00, %61 store double %62, ptr @algdiv.s5, align 8 %63 = load double, ptr @algdiv.x, align 8 %64 = load double, ptr @algdiv.x2, align 8 %65 = load double, ptr @algdiv.s5, align 8 %66 = call double @llvm.fmuladd.f64(double %64, double %65, double %63) %67 = fadd double 1.000000e+00, %66 store double %67, ptr @algdiv.s7, align 8 %68 = load double, ptr @algdiv.x, align 8 %69 = load double, ptr @algdiv.x2, align 8 %70 = load double, ptr @algdiv.s7, align 8 %71 = call double @llvm.fmuladd.f64(double %69, double %70, double %68) %72 = fadd double 1.000000e+00, %71 store double %72, ptr @algdiv.s9, align 8 %73 = load double, ptr @algdiv.x, align 8 %74 = load double, ptr @algdiv.x2, align 8 %75 = load double, ptr @algdiv.s9, align 8 %76 = call double @llvm.fmuladd.f64(double %74, double %75, double %73) %77 = fadd double 1.000000e+00, %76 store double %77, ptr @algdiv.s11, align 8 %78 = load ptr, ptr %5, align 8 %79 = load double, ptr %78, align 8 %80 = fdiv double 1.000000e+00, %79 %81 = call double @pow(double noundef %80, double noundef 2.000000e+00) #4 store double %81, ptr @algdiv.t, align 8 %82 = load double, ptr @algdiv.c5, align 8 %83 = load double, ptr @algdiv.s11, align 8 %84 = fmul double %82, %83 %85 = load double, ptr @algdiv.t, align 8 %86 = load double, ptr @algdiv.c4, align 8 %87 = load double, ptr @algdiv.s9, align 8 %88 = fmul double %86, %87 %89 = call double @llvm.fmuladd.f64(double %84, double %85, double %88) %90 = load double, ptr @algdiv.t, align 8 %91 = load double, ptr @algdiv.c3, align 8 %92 = load double, ptr @algdiv.s7, align 8 %93 = fmul double %91, %92 %94 = call double @llvm.fmuladd.f64(double %89, double %90, double %93) %95 = load double, ptr @algdiv.t, align 8 %96 = load double, ptr @algdiv.c2, align 8 %97 = load double, ptr @algdiv.s5, align 8 %98 = fmul double %96, %97 %99 = call double @llvm.fmuladd.f64(double %94, double %95, double %98) %100 = load double, ptr @algdiv.t, align 8 %101 = load double, ptr @algdiv.c1, align 8 %102 = load double, ptr @algdiv.s3, align 8 %103 = fmul double %101, %102 %104 = call double @llvm.fmuladd.f64(double %99, double %100, double %103) %105 = load double, ptr @algdiv.t, align 8 %106 = load double, ptr @algdiv.c0, align 8 %107 = call double @llvm.fmuladd.f64(double %104, double %105, double %106) store double %107, ptr @algdiv.w, align 8 %108 = load double, ptr @algdiv.c, align 8 %109 = load ptr, ptr %5, align 8 %110 = load double, ptr %109, align 8 %111 = fdiv double %108, %110 %112 = load double, ptr @algdiv.w, align 8 %113 = fmul double %112, %111 store double %113, ptr @algdiv.w, align 8 %114 = load ptr, ptr %4, align 8 %115 = load double, ptr %114, align 8 %116 = load ptr, ptr %5, align 8 %117 = load double, ptr %116, align 8 %118 = fdiv double %115, %117 store double %118, ptr @algdiv.T1, align 8 %119 = load double, ptr @algdiv.d, align 8 %120 = call double @alnrel(ptr noundef @algdiv.T1) %121 = fmul double %119, %120 store double %121, ptr @algdiv.u, align 8 %122 = load ptr, ptr %4, align 8 %123 = load double, ptr %122, align 8 %124 = load ptr, ptr %5, align 8 %125 = load double, ptr %124, align 8 %126 = call double @log(double noundef %125) #4 %127 = fsub double %126, 1.000000e+00 %128 = fmul double %123, %127 store double %128, ptr @algdiv.v, align 8 %129 = load double, ptr @algdiv.u, align 8 %130 = load double, ptr @algdiv.v, align 8 %131 = fcmp ole double %129, %130 br i1 %131, label %132, label %133 132: ; preds = %50 br label %140 133: ; preds = %50 %134 = load double, ptr @algdiv.w, align 8 %135 = load double, ptr @algdiv.v, align 8 %136 = fsub double %134, %135 %137 = load double, ptr @algdiv.u, align 8 %138 = fsub double %136, %137 store double %138, ptr @algdiv.algdiv, align 8 %139 = load double, ptr @algdiv.algdiv, align 8 store double %139, ptr %3, align 8 br label %147 140: ; preds = %132 %141 = load double, ptr @algdiv.w, align 8 %142 = load double, ptr @algdiv.u, align 8 %143 = fsub double %141, %142 %144 = load double, ptr @algdiv.v, align 8 %145 = fsub double %143, %144 store double %145, ptr @algdiv.algdiv, align 8 %146 = load double, ptr @algdiv.algdiv, align 8 store double %146, ptr %3, align 8 br label %147 147: ; preds = %140, %133 %148 = load double, ptr %3, align 8 ret double %148 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 ; Function Attrs: nounwind declare double @pow(double noundef, double noundef) #2 declare double @alnrel(ptr noundef) #3 ; Function Attrs: nounwind declare double @log(double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1e21chpl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @algdiv.c0 = internal global double 0x3FB5555555555553, align 8 @algdiv.c1 = internal global double 0xBF66C16C16BB8412, align 8 @algdiv.c2 = internal global double 0x3F4A019FD4488960, align 8 @algdiv.c3 = internal global double 0xBF4380EC8FF430DF, align 8 @algdiv.c4 = internal global double 0x3F4B6FD94FB94A6B, align 8 @algdiv.c5 = internal global double 0xBF5B1625CBCA1838, align 8 @algdiv.algdiv = internal global double 0.000000e+00, align 8 @algdiv.c = internal global double 0.000000e+00, align 8 @algdiv.d = internal global double 0.000000e+00, align 8 @algdiv.h = internal global double 0.000000e+00, align 8 @algdiv.s11 = internal global double 0.000000e+00, align 8 @algdiv.s3 = internal global double 0.000000e+00, align 8 @algdiv.s5 = internal global double 0.000000e+00, align 8 @algdiv.s7 = internal global double 0.000000e+00, align 8 @algdiv.s9 = internal global double 0.000000e+00, align 8 @algdiv.t = internal global double 0.000000e+00, align 8 @algdiv.u = internal global double 0.000000e+00, align 8 @algdiv.v = internal global double 0.000000e+00, align 8 @algdiv.w = internal global double 0.000000e+00, align 8 @algdiv.x = internal global double 0.000000e+00, align 8 @algdiv.x2 = internal global double 0.000000e+00, align 8 @algdiv.T1 = internal global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @algdiv(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = load double, ptr %6, align 8 %8 = load ptr, ptr %5, align 8 %9 = load double, ptr %8, align 8 %10 = fcmp ole double %7, %9 br i1 %10, label %11, label %12 11: ; preds = %2 br label %31 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = load double, ptr %13, align 8 %15 = load ptr, ptr %4, align 8 %16 = load double, ptr %15, align 8 %17 = fdiv double %14, %16 store double %17, ptr @algdiv.h, align 8 %18 = load double, ptr @algdiv.h, align 8 %19 = fadd double 1.000000e+00, %18 %20 = fdiv double 1.000000e+00, %19 store double %20, ptr @algdiv.c, align 8 %21 = load double, ptr @algdiv.h, align 8 %22 = load double, ptr @algdiv.h, align 8 %23 = fadd double 1.000000e+00, %22 %24 = fdiv double %21, %23 store double %24, ptr @algdiv.x, align 8 %25 = load ptr, ptr %4, align 8 %26 = load double, ptr %25, align 8 %27 = load ptr, ptr %5, align 8 %28 = load double, ptr %27, align 8 %29 = fsub double %28, 5.000000e-01 %30 = fadd double %26, %29 store double %30, ptr @algdiv.d, align 8 br label %50 31: ; preds = %11 %32 = load ptr, ptr %4, align 8 %33 = load double, ptr %32, align 8 %34 = load ptr, ptr %5, align 8 %35 = load double, ptr %34, align 8 %36 = fdiv double %33, %35 store double %36, ptr @algdiv.h, align 8 %37 = load double, ptr @algdiv.h, align 8 %38 = load double, ptr @algdiv.h, align 8 %39 = fadd double 1.000000e+00, %38 %40 = fdiv double %37, %39 store double %40, ptr @algdiv.c, align 8 %41 = load double, ptr @algdiv.h, align 8 %42 = fadd double 1.000000e+00, %41 %43 = fdiv double 1.000000e+00, %42 store double %43, ptr @algdiv.x, align 8 %44 = load ptr, ptr %5, align 8 %45 = load double, ptr %44, align 8 %46 = load ptr, ptr %4, align 8 %47 = load double, ptr %46, align 8 %48 = fsub double %47, 5.000000e-01 %49 = fadd double %45, %48 store double %49, ptr @algdiv.d, align 8 br label %50 50: ; preds = %31, %12 %51 = load double, ptr @algdiv.x, align 8 %52 = load double, ptr @algdiv.x, align 8 %53 = fmul double %51, %52 store double %53, ptr @algdiv.x2, align 8 %54 = load double, ptr @algdiv.x, align 8 %55 = load double, ptr @algdiv.x2, align 8 %56 = fadd double %54, %55 %57 = fadd double 1.000000e+00, %56 store double %57, ptr @algdiv.s3, align 8 %58 = load double, ptr @algdiv.x, align 8 %59 = load double, ptr @algdiv.x2, align 8 %60 = load double, ptr @algdiv.s3, align 8 %61 = call double @llvm.fmuladd.f64(double %59, double %60, double %58) %62 = fadd double 1.000000e+00, %61 store double %62, ptr @algdiv.s5, align 8 %63 = load double, ptr @algdiv.x, align 8 %64 = load double, ptr @algdiv.x2, align 8 %65 = load double, ptr @algdiv.s5, align 8 %66 = call double @llvm.fmuladd.f64(double %64, double %65, double %63) %67 = fadd double 1.000000e+00, %66 store double %67, ptr @algdiv.s7, align 8 %68 = load double, ptr @algdiv.x, align 8 %69 = load double, ptr @algdiv.x2, align 8 %70 = load double, ptr @algdiv.s7, align 8 %71 = call double @llvm.fmuladd.f64(double %69, double %70, double %68) %72 = fadd double 1.000000e+00, %71 store double %72, ptr @algdiv.s9, align 8 %73 = load double, ptr @algdiv.x, align 8 %74 = load double, ptr @algdiv.x2, align 8 %75 = load double, ptr @algdiv.s9, align 8 %76 = call double @llvm.fmuladd.f64(double %74, double %75, double %73) %77 = fadd double 1.000000e+00, %76 store double %77, ptr @algdiv.s11, align 8 %78 = load ptr, ptr %5, align 8 %79 = load double, ptr %78, align 8 %80 = fdiv double 1.000000e+00, %79 %81 = call double @pow(double noundef %80, double noundef 2.000000e+00) #4 store double %81, ptr @algdiv.t, align 8 %82 = load double, ptr @algdiv.c5, align 8 %83 = load double, ptr @algdiv.s11, align 8 %84 = fmul double %82, %83 %85 = load double, ptr @algdiv.t, align 8 %86 = load double, ptr @algdiv.c4, align 8 %87 = load double, ptr @algdiv.s9, align 8 %88 = fmul double %86, %87 %89 = call double @llvm.fmuladd.f64(double %84, double %85, double %88) %90 = load double, ptr @algdiv.t, align 8 %91 = load double, ptr @algdiv.c3, align 8 %92 = load double, ptr @algdiv.s7, align 8 %93 = fmul double %91, %92 %94 = call double @llvm.fmuladd.f64(double %89, double %90, double %93) %95 = load double, ptr @algdiv.t, align 8 %96 = load double, ptr @algdiv.c2, align 8 %97 = load double, ptr @algdiv.s5, align 8 %98 = fmul double %96, %97 %99 = call double @llvm.fmuladd.f64(double %94, double %95, double %98) %100 = load double, ptr @algdiv.t, align 8 %101 = load double, ptr @algdiv.c1, align 8 %102 = load double, ptr @algdiv.s3, align 8 %103 = fmul double %101, %102 %104 = call double @llvm.fmuladd.f64(double %99, double %100, double %103) %105 = load double, ptr @algdiv.t, align 8 %106 = load double, ptr @algdiv.c0, align 8 %107 = call double @llvm.fmuladd.f64(double %104, double %105, double %106) store double %107, ptr @algdiv.w, align 8 %108 = load double, ptr @algdiv.c, align 8 %109 = load ptr, ptr %5, align 8 %110 = load double, ptr %109, align 8 %111 = fdiv double %108, %110 %112 = load double, ptr @algdiv.w, align 8 %113 = fmul double %112, %111 store double %113, ptr @algdiv.w, align 8 %114 = load ptr, ptr %4, align 8 %115 = load double, ptr %114, align 8 %116 = load ptr, ptr %5, align 8 %117 = load double, ptr %116, align 8 %118 = fdiv double %115, %117 store double %118, ptr @algdiv.T1, align 8 %119 = load double, ptr @algdiv.d, align 8 %120 = call double @alnrel(ptr noundef @algdiv.T1) %121 = fmul double %119, %120 store double %121, ptr @algdiv.u, align 8 %122 = load ptr, ptr %4, align 8 %123 = load double, ptr %122, align 8 %124 = load ptr, ptr %5, align 8 %125 = load double, ptr %124, align 8 %126 = call double @log(double noundef %125) #4 %127 = fsub double %126, 1.000000e+00 %128 = fmul double %123, %127 store double %128, ptr @algdiv.v, align 8 %129 = load double, ptr @algdiv.u, align 8 %130 = load double, ptr @algdiv.v, align 8 %131 = fcmp ole double %129, %130 br i1 %131, label %132, label %133 132: ; preds = %50 br label %140 133: ; preds = %50 %134 = load double, ptr @algdiv.w, align 8 %135 = load double, ptr @algdiv.v, align 8 %136 = fsub double %134, %135 %137 = load double, ptr @algdiv.u, align 8 %138 = fsub double %136, %137 store double %138, ptr @algdiv.algdiv, align 8 %139 = load double, ptr @algdiv.algdiv, align 8 store double %139, ptr %3, align 8 br label %147 140: ; preds = %132 %141 = load double, ptr @algdiv.w, align 8 %142 = load double, ptr @algdiv.u, align 8 %143 = fsub double %141, %142 %144 = load double, ptr @algdiv.v, align 8 %145 = fsub double %143, %144 store double %145, ptr @algdiv.algdiv, align 8 %146 = load double, ptr @algdiv.algdiv, align 8 store double %146, ptr %3, align 8 br label %147 147: ; preds = %140, %133 %148 = load double, ptr %3, align 8 ret double %148 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 ; Function Attrs: nounwind declare double @pow(double noundef, double noundef) #2 declare double @alnrel(ptr noundef) #3 ; Function Attrs: nounwind declare double @log(double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpj9vq_764.c' source_filename = "/tmp/tmpj9vq_764.c" target datalayout = "e-m:e-p270: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 [77 x i8] c"mkpasswd [-m|-d|-b|-e] [-l saltlength] [-r rounds] [-s salt] [-p plaintext]\0A\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"-m Generate an MD5 password\0A\00", align 1 @.str.2 = private unnamed_addr constant [28 x i8] c"-d Generate a DES password\0A\00", align 1 @.str.3 = private unnamed_addr constant [33 x i8] c"-b Generate a BlowFish password\0A\00", align 1 @.str.4 = private unnamed_addr constant [38 x i8] c"-e Generate an Extended DES password\0A\00", align 1 @.str.5 = private unnamed_addr constant [55 x i8] c"-l Specify a length for a random MD5 or BlowFish salt\0A\00", align 1 @.str.6 = private unnamed_addr constant [71 x i8] c"-r Specify a number of rounds for a BlowFish or Extended DES password\0A\00", align 1 @.str.7 = private unnamed_addr constant [53 x i8] c" BlowFish: default 4, no more than 6 recommended\0A\00", align 1 @.str.8 = private unnamed_addr constant [30 x i8] c" Extended DES: default 25\0A\00", align 1 @.str.9 = private unnamed_addr constant [73 x i8] c"-s Specify a salt, 2 alphanumeric characters for DES, up to 16 for MD5,\0A\00", align 1 @.str.10 = private unnamed_addr constant [50 x i8] c" up to 22 for BlowFish, and 4 for Extended DES\0A\00", align 1 @.str.11 = private unnamed_addr constant [40 x i8] c"-p Specify a plaintext password to use\0A\00", align 1 @.str.12 = private unnamed_addr constant [37 x i8] c"Example: mkpasswd -m -s 3dr -p test\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @full_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) %8 = call i32 @printf(ptr noundef @.str.7) %9 = call i32 @printf(ptr noundef @.str.8) %10 = call i32 @printf(ptr noundef @.str.9) %11 = call i32 @printf(ptr noundef @.str.10) %12 = call i32 @printf(ptr noundef @.str.11) %13 = call i32 @printf(ptr noundef @.str.12) %14 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @printf(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/tmpj9vq_764.c" target datalayout = "e-m:e-p270: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 [77 x i8] c"mkpasswd [-m|-d|-b|-e] [-l saltlength] [-r rounds] [-s salt] [-p plaintext]\0A\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"-m Generate an MD5 password\0A\00", align 1 @.str.2 = private unnamed_addr constant [28 x i8] c"-d Generate a DES password\0A\00", align 1 @.str.3 = private unnamed_addr constant [33 x i8] c"-b Generate a BlowFish password\0A\00", align 1 @.str.4 = private unnamed_addr constant [38 x i8] c"-e Generate an Extended DES password\0A\00", align 1 @.str.5 = private unnamed_addr constant [55 x i8] c"-l Specify a length for a random MD5 or BlowFish salt\0A\00", align 1 @.str.6 = private unnamed_addr constant [71 x i8] c"-r Specify a number of rounds for a BlowFish or Extended DES password\0A\00", align 1 @.str.7 = private unnamed_addr constant [53 x i8] c" BlowFish: default 4, no more than 6 recommended\0A\00", align 1 @.str.8 = private unnamed_addr constant [30 x i8] c" Extended DES: default 25\0A\00", align 1 @.str.9 = private unnamed_addr constant [73 x i8] c"-s Specify a salt, 2 alphanumeric characters for DES, up to 16 for MD5,\0A\00", align 1 @.str.10 = private unnamed_addr constant [50 x i8] c" up to 22 for BlowFish, and 4 for Extended DES\0A\00", align 1 @.str.11 = private unnamed_addr constant [40 x i8] c"-p Specify a plaintext password to use\0A\00", align 1 @.str.12 = private unnamed_addr constant [37 x i8] c"Example: mkpasswd -m -s 3dr -p test\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @full_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) %8 = call i32 @printf(ptr noundef @.str.7) %9 = call i32 @printf(ptr noundef @.str.8) %10 = call i32 @printf(ptr noundef @.str.9) %11 = call i32 @printf(ptr noundef @.str.10) %12 = call i32 @printf(ptr noundef @.str.11) %13 = call i32 @printf(ptr noundef @.str.12) %14 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @printf(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/tmp9dua_u3q.c' source_filename = "/tmp/tmp9dua_u3q.c" target datalayout = "e-m:e-p270: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"Input Expression, end with symbol '=': \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @calculateExpression() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i8, align 1 %4 = alloca ptr, align 8 store i32 20, ptr %1, align 4 store i32 0, ptr %2, align 4 %5 = load i32, ptr %1, align 4 %6 = sext i32 %5 to i64 %7 = mul i64 %6, 1 %8 = trunc i64 %7 to i32 %9 = call i64 @malloc(i32 noundef %8) %10 = inttoptr i64 %9 to ptr store ptr %10, ptr %4, align 8 %11 = call i32 @printf(ptr noundef @.str) br label %12 12: ; preds = %28, %0 %13 = call signext i8 (...) @getchar() store i8 %13, ptr %3, align 1 %14 = sext i8 %13 to i32 %15 = icmp ne i32 %14, 61 br i1 %15, label %16, label %39 16: ; preds = %12 %17 = load i32, ptr %1, align 4 %18 = load i32, ptr %2, align 4 %19 = add nsw i32 %18, 1 %20 = icmp eq i32 %17, %19 br i1 %20, label %21, label %28 21: ; preds = %16 %22 = load i32, ptr %1, align 4 %23 = mul nsw i32 %22, 2 store i32 %23, ptr %1, align 4 %24 = load ptr, ptr %4, align 8 %25 = load i32, ptr %1, align 4 %26 = call i64 @realloc(ptr noundef %24, i32 noundef %25) %27 = inttoptr i64 %26 to ptr store ptr %27, ptr %4, align 8 br label %28 28: ; preds = %21, %16 %29 = load i8, ptr %3, align 1 %30 = load ptr, ptr %4, align 8 %31 = load i32, ptr %2, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %2, align 4 %33 = sext i32 %31 to i64 %34 = getelementptr inbounds i8, ptr %30, i64 %33 store i8 %29, ptr %34, align 1 %35 = load ptr, ptr %4, align 8 %36 = load i32, ptr %2, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %35, i64 %37 store i8 0, ptr %38, align 1 br label %12, !llvm.loop !6 39: ; preds = %12 %40 = load ptr, ptr %4, align 8 %41 = load i32, ptr %2, align 4 %42 = add nsw i32 %41, 1 %43 = call i32 @convertToPostfixFromInfix(ptr noundef %40, i32 noundef %42) ret i32 %43 } declare i64 @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare signext i8 @getchar(...) #1 declare i64 @realloc(ptr noundef, i32 noundef) #1 declare i32 @convertToPostfixFromInfix(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/tmp9dua_u3q.c" target datalayout = "e-m:e-p270: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"Input Expression, end with symbol '=': \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @calculateExpression() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i8, align 1 %4 = alloca ptr, align 8 store i32 20, ptr %1, align 4 store i32 0, ptr %2, align 4 %5 = load i32, ptr %1, align 4 %6 = sext i32 %5 to i64 %7 = mul i64 %6, 1 %8 = trunc i64 %7 to i32 %9 = call i64 @malloc(i32 noundef %8) %10 = inttoptr i64 %9 to ptr store ptr %10, ptr %4, align 8 %11 = call i32 @printf(ptr noundef @.str) %12 = call signext i8 (...) @getchar() store i8 %12, ptr %3, align 1 %13 = sext i8 %12 to i32 %14 = icmp ne i32 %13, 61 br i1 %14, label %.lr.ph, label %41 .lr.ph: ; preds = %0 br label %15 15: ; preds = %.lr.ph, %27 %16 = load i32, ptr %1, align 4 %17 = load i32, ptr %2, align 4 %18 = add nsw i32 %17, 1 %19 = icmp eq i32 %16, %18 br i1 %19, label %20, label %27 20: ; preds = %15 %21 = load i32, ptr %1, align 4 %22 = mul nsw i32 %21, 2 store i32 %22, ptr %1, align 4 %23 = load ptr, ptr %4, align 8 %24 = load i32, ptr %1, align 4 %25 = call i64 @realloc(ptr noundef %23, i32 noundef %24) %26 = inttoptr i64 %25 to ptr store ptr %26, ptr %4, align 8 br label %27 27: ; preds = %20, %15 %28 = load i8, ptr %3, align 1 %29 = load ptr, ptr %4, align 8 %30 = load i32, ptr %2, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %2, align 4 %32 = sext i32 %30 to i64 %33 = getelementptr inbounds i8, ptr %29, i64 %32 store i8 %28, ptr %33, align 1 %34 = load ptr, ptr %4, align 8 %35 = load i32, ptr %2, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i8, ptr %34, i64 %36 store i8 0, ptr %37, align 1 %38 = call signext i8 (...) @getchar() store i8 %38, ptr %3, align 1 %39 = sext i8 %38 to i32 %40 = icmp ne i32 %39, 61 br i1 %40, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %41 41: ; preds = %._crit_edge, %0 %42 = load ptr, ptr %4, align 8 %43 = load i32, ptr %2, align 4 %44 = add nsw i32 %43, 1 %45 = call i32 @convertToPostfixFromInfix(ptr noundef %42, i32 noundef %44) ret i32 %45 } declare i64 @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare signext i8 @getchar(...) #1 declare i64 @realloc(ptr noundef, i32 noundef) #1 declare i32 @convertToPostfixFromInfix(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/tmpmzhrt37q.c' source_filename = "/tmp/tmpmzhrt37q.c" target datalayout = "e-m:e-p270: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 [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) ret void } 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmzhrt37q.c" target datalayout = "e-m:e-p270: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 [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) ret void } 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"}
; ModuleID = '/tmp/tmpkm7c3v_u.c' source_filename = "/tmp/tmpkm7c3v_u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pdecrypt(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i8, align 1 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %13 = load ptr, ptr %3, align 8 %14 = call i32 @strlen(ptr noundef %13) store i32 %14, ptr %5, align 4 %15 = load ptr, ptr %4, align 8 %16 = call i32 @strlen(ptr noundef %15) store i32 %16, ptr %6, align 4 %17 = load i32, ptr %5, align 4 %18 = zext i32 %17 to i64 %19 = call ptr @llvm.stacksave() store ptr %19, ptr %7, align 8 %20 = alloca i8, i64 %18, align 16 store i64 %18, ptr %8, align 8 %21 = load i32, ptr %6, align 4 %22 = zext i32 %21 to i64 %23 = alloca i8, i64 %22, align 16 store i64 %22, ptr %9, align 8 %24 = load ptr, ptr %3, align 8 %25 = load i32, ptr %5, align 4 %26 = add nsw i32 %25, 1 %27 = call i32 @strncpy(ptr noundef %20, ptr noundef %24, i32 noundef %26) %28 = load ptr, ptr %4, align 8 %29 = load i32, ptr %6, align 4 %30 = add nsw i32 %29, 1 %31 = call i32 @strncpy(ptr noundef %23, ptr noundef %28, i32 noundef %30) store i32 0, ptr %11, align 4 store i32 0, ptr %10, align 4 br label %32 32: ; preds = %82, %2 %33 = load i32, ptr %10, align 4 %34 = load i32, ptr %5, align 4 %35 = icmp slt i32 %33, %34 br i1 %35, label %36, label %87 36: ; preds = %32 %37 = load i32, ptr %10, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i8, ptr %20, i64 %38 %40 = load i8, ptr %39, align 1 %41 = call i32 @isspace(i8 noundef signext %40) %42 = icmp ne i32 %41, 0 br i1 %42, label %78, label %43 43: ; preds = %36 %44 = load i32, ptr %10, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i8, ptr %20, i64 %45 %47 = load i8, ptr %46, align 1 %48 = call i32 @toupper(i8 noundef signext %47) %49 = sub nsw i32 %48, 65 %50 = load i32, ptr %11, align 4 %51 = load i32, ptr %6, align 4 %52 = srem i32 %50, %51 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i8, ptr %23, i64 %53 %55 = load i8, ptr %54, align 1 %56 = call i32 @toupper(i8 noundef signext %55) %57 = sub nsw i32 %56, 65 %58 = sub nsw i32 %49, %57 %59 = trunc i32 %58 to i8 store i8 %59, ptr %12, align 1 %60 = load i8, ptr %12, align 1 %61 = sext i8 %60 to i32 %62 = icmp slt i32 %61, 0 br i1 %62, label %63, label %67 63: ; preds = %43 %64 = load i8, ptr %12, align 1 %65 = sext i8 %64 to i32 %66 = add nsw i32 %65, 26 br label %70 67: ; preds = %43 %68 = load i8, ptr %12, align 1 %69 = sext i8 %68 to i32 br label %70 70: ; preds = %67, %63 %71 = phi i32 [ %66, %63 ], [ %69, %67 ] %72 = srem i32 %71, 26 %73 = add nsw i32 %72, 65 %74 = trunc i32 %73 to i8 %75 = load i32, ptr %11, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds i8, ptr %20, i64 %76 store i8 %74, ptr %77, align 1 br label %81 78: ; preds = %36 %79 = load i32, ptr %11, align 4 %80 = add nsw i32 %79, -1 store i32 %80, ptr %11, align 4 br label %81 81: ; preds = %78, %70 br label %82 82: ; preds = %81 %83 = load i32, ptr %10, align 4 %84 = add nsw i32 %83, 1 store i32 %84, ptr %10, align 4 %85 = load i32, ptr %11, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %11, align 4 br label %32, !llvm.loop !6 87: ; preds = %32 %88 = load i32, ptr %11, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds i8, ptr %20, i64 %89 store i8 0, ptr %90, align 1 %91 = call i32 @printf(ptr noundef @.str, ptr noundef %20) %92 = load ptr, ptr %7, align 8 call void @llvm.stackrestore(ptr %92) ret i32 0 } declare i32 @strlen(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @isspace(i8 noundef signext) #1 declare i32 @toupper(i8 noundef signext) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkm7c3v_u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pdecrypt(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i8, align 1 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %13 = load ptr, ptr %3, align 8 %14 = call i32 @strlen(ptr noundef %13) store i32 %14, ptr %5, align 4 %15 = load ptr, ptr %4, align 8 %16 = call i32 @strlen(ptr noundef %15) store i32 %16, ptr %6, align 4 %17 = load i32, ptr %5, align 4 %18 = zext i32 %17 to i64 %19 = call ptr @llvm.stacksave() store ptr %19, ptr %7, align 8 %20 = alloca i8, i64 %18, align 16 store i64 %18, ptr %8, align 8 %21 = load i32, ptr %6, align 4 %22 = zext i32 %21 to i64 %23 = alloca i8, i64 %22, align 16 store i64 %22, ptr %9, align 8 %24 = load ptr, ptr %3, align 8 %25 = load i32, ptr %5, align 4 %26 = add nsw i32 %25, 1 %27 = call i32 @strncpy(ptr noundef %20, ptr noundef %24, i32 noundef %26) %28 = load ptr, ptr %4, align 8 %29 = load i32, ptr %6, align 4 %30 = add nsw i32 %29, 1 %31 = call i32 @strncpy(ptr noundef %23, ptr noundef %28, i32 noundef %30) store i32 0, ptr %11, align 4 store i32 0, ptr %10, align 4 %32 = load i32, ptr %10, align 4 %33 = load i32, ptr %5, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %.lr.ph, label %89 .lr.ph: ; preds = %2 br label %35 35: ; preds = %.lr.ph, %81 %36 = load i32, ptr %10, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %20, i64 %37 %39 = load i8, ptr %38, align 1 %40 = call i32 @isspace(i8 noundef signext %39) %41 = icmp ne i32 %40, 0 br i1 %41, label %77, label %42 42: ; preds = %35 %43 = load i32, ptr %10, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i8, ptr %20, i64 %44 %46 = load i8, ptr %45, align 1 %47 = call i32 @toupper(i8 noundef signext %46) %48 = sub nsw i32 %47, 65 %49 = load i32, ptr %11, align 4 %50 = load i32, ptr %6, align 4 %51 = srem i32 %49, %50 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i8, ptr %23, i64 %52 %54 = load i8, ptr %53, align 1 %55 = call i32 @toupper(i8 noundef signext %54) %56 = sub nsw i32 %55, 65 %57 = sub nsw i32 %48, %56 %58 = trunc i32 %57 to i8 store i8 %58, ptr %12, align 1 %59 = load i8, ptr %12, align 1 %60 = sext i8 %59 to i32 %61 = icmp slt i32 %60, 0 br i1 %61, label %62, label %66 62: ; preds = %42 %63 = load i8, ptr %12, align 1 %64 = sext i8 %63 to i32 %65 = add nsw i32 %64, 26 br label %69 66: ; preds = %42 %67 = load i8, ptr %12, align 1 %68 = sext i8 %67 to i32 br label %69 69: ; preds = %66, %62 %70 = phi i32 [ %65, %62 ], [ %68, %66 ] %71 = srem i32 %70, 26 %72 = add nsw i32 %71, 65 %73 = trunc i32 %72 to i8 %74 = load i32, ptr %11, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds i8, ptr %20, i64 %75 store i8 %73, ptr %76, align 1 br label %80 77: ; preds = %35 %78 = load i32, ptr %11, align 4 %79 = add nsw i32 %78, -1 store i32 %79, ptr %11, align 4 br label %80 80: ; preds = %77, %69 br label %81 81: ; preds = %80 %82 = load i32, ptr %10, align 4 %83 = add nsw i32 %82, 1 store i32 %83, ptr %10, align 4 %84 = load i32, ptr %11, align 4 %85 = add nsw i32 %84, 1 store i32 %85, ptr %11, align 4 %86 = load i32, ptr %10, align 4 %87 = load i32, ptr %5, align 4 %88 = icmp slt i32 %86, %87 br i1 %88, label %35, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %81 br label %89 89: ; preds = %._crit_edge, %2 %90 = load i32, ptr %11, align 4 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds i8, ptr %20, i64 %91 store i8 0, ptr %92, align 1 %93 = call i32 @printf(ptr noundef @.str, ptr noundef %20) %94 = load ptr, ptr %7, align 8 call void @llvm.stackrestore(ptr %94) ret i32 0 } declare i32 @strlen(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @isspace(i8 noundef signext) #1 declare i32 @toupper(i8 noundef signext) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpzb7vdr9u.c' source_filename = "/tmp/tmpzb7vdr9u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @Z_OK = dso_local global i64 0, align 8 @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/tmpzb7vdr9u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @Z_OK = dso_local global i64 0, align 8 @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/tmpwiit2bae.c' source_filename = "/tmp/tmpwiit2bae.c" target datalayout = "e-m:e-p270: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/tmpwiit2bae.c" target datalayout = "e-m:e-p270: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/tmpmq_yo_5c.c' source_filename = "/tmp/tmpmq_yo_5c.c" target datalayout = "e-m:e-p270: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 @bar5(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @foo4(i32 noundef 1, i32 noundef %3) ret i32 %4 } declare i32 @foo4(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/tmpmq_yo_5c.c" target datalayout = "e-m:e-p270: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 @bar5(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @foo4(i32 noundef 1, i32 noundef %3) ret i32 %4 } declare i32 @foo4(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/tmpvabt4l96.c' source_filename = "/tmp/tmpvabt4l96.c" target datalayout = "e-m:e-p270: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"failed:=[\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", \00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%lu\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"],\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"]\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"];\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @dump(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store i64 %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store i64 %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str) %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %13, align 4 br label %16 16: ; preds = %33, %6 %17 = load i32, ptr %13, align 4 %18 = sext i32 %17 to i64 %19 = load i64, ptr %8, align 8 %20 = icmp slt i64 %18, %19 br i1 %20, label %21, label %36 21: ; preds = %16 %22 = load i32, ptr %13, align 4 %23 = icmp ne i32 %22, 0 br i1 %23, label %24, label %26 24: ; preds = %21 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %26 26: ; preds = %24, %21 %27 = load ptr, ptr %7, align 8 %28 = load i32, ptr %13, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i64, ptr %27, i64 %29 %31 = load i64, ptr %30, align 8 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %31) br label %33 33: ; preds = %26 %34 = load i32, ptr %13, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %13, align 4 br label %16, !llvm.loop !6 36: ; preds = %16 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %13, align 4 br label %39 39: ; preds = %56, %36 %40 = load i32, ptr %13, align 4 %41 = sext i32 %40 to i64 %42 = load i64, ptr %10, align 8 %43 = icmp slt i64 %41, %42 br i1 %43, label %44, label %59 44: ; preds = %39 %45 = load i32, ptr %13, align 4 %46 = icmp ne i32 %45, 0 br i1 %46, label %47, label %49 47: ; preds = %44 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %49 49: ; preds = %47, %44 %50 = load ptr, ptr %9, align 8 %51 = load i32, ptr %13, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i64, ptr %50, i64 %52 %54 = load i64, ptr %53, align 8 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %54) br label %56 56: ; preds = %49 %57 = load i32, ptr %13, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %13, align 4 br label %39, !llvm.loop !8 59: ; preds = %39 %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %61 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %13, align 4 br label %62 62: ; preds = %81, %59 %63 = load i32, ptr %13, align 4 %64 = sext i32 %63 to i64 %65 = load i64, ptr %8, align 8 %66 = load i64, ptr %10, align 8 %67 = add nsw i64 %65, %66 %68 = icmp slt i64 %64, %67 br i1 %68, label %69, label %84 69: ; preds = %62 %70 = load i32, ptr %13, align 4 %71 = icmp ne i32 %70, 0 br i1 %71, label %72, label %74 72: ; preds = %69 %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %74 74: ; preds = %72, %69 %75 = load ptr, ptr %11, align 8 %76 = load i32, ptr %13, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds i64, ptr %75, i64 %77 %79 = load i64, ptr %78, align 8 %80 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %79) br label %81 81: ; preds = %74 %82 = load i32, ptr %13, align 4 %83 = add nsw i32 %82, 1 store i32 %83, ptr %13, align 4 br label %62, !llvm.loop !9 84: ; preds = %62 %85 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %86 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %13, align 4 br label %87 87: ; preds = %106, %84 %88 = load i32, ptr %13, align 4 %89 = sext i32 %88 to i64 %90 = load i64, ptr %8, align 8 %91 = load i64, ptr %10, align 8 %92 = add nsw i64 %90, %91 %93 = icmp slt i64 %89, %92 br i1 %93, label %94, label %109 94: ; preds = %87 %95 = load i32, ptr %13, align 4 %96 = icmp ne i32 %95, 0 br i1 %96, label %97, label %99 97: ; preds = %94 %98 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %99 99: ; preds = %97, %94 %100 = load ptr, ptr %12, align 8 %101 = load i32, ptr %13, align 4 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds i64, ptr %100, i64 %102 %104 = load i64, ptr %103, align 8 %105 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %104) br label %106 106: ; preds = %99 %107 = load i32, ptr %13, align 4 %108 = add nsw i32 %107, 1 store i32 %108, ptr %13, align 4 br label %87, !llvm.loop !10 109: ; preds = %87 %110 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %111 = call i32 (ptr, ...) @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"} !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/tmpvabt4l96.c" target datalayout = "e-m:e-p270: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"failed:=[\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", \00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%lu\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"],\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"]\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"];\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @dump(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store i64 %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store i64 %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str) %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %13, align 4 %16 = load i32, ptr %13, align 4 %17 = sext i32 %16 to i64 %18 = load i64, ptr %8, align 8 %19 = icmp slt i64 %17, %18 br i1 %19, label %.lr.ph, label %39 .lr.ph: ; preds = %6 br label %20 20: ; preds = %.lr.ph, %32 %21 = load i32, ptr %13, align 4 %22 = icmp ne i32 %21, 0 br i1 %22, label %23, label %25 23: ; preds = %20 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %25 25: ; preds = %23, %20 %26 = load ptr, ptr %7, align 8 %27 = load i32, ptr %13, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i64, ptr %26, i64 %28 %30 = load i64, ptr %29, align 8 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %30) br label %32 32: ; preds = %25 %33 = load i32, ptr %13, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %13, align 4 %35 = load i32, ptr %13, align 4 %36 = sext i32 %35 to i64 %37 = load i64, ptr %8, align 8 %38 = icmp slt i64 %36, %37 br i1 %38, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %32 br label %39 39: ; preds = %._crit_edge, %6 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %13, align 4 %42 = load i32, ptr %13, align 4 %43 = sext i32 %42 to i64 %44 = load i64, ptr %10, align 8 %45 = icmp slt i64 %43, %44 br i1 %45, label %.lr.ph2, label %65 .lr.ph2: ; preds = %39 br label %46 46: ; preds = %.lr.ph2, %58 %47 = load i32, ptr %13, align 4 %48 = icmp ne i32 %47, 0 br i1 %48, label %49, label %51 49: ; preds = %46 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %51 51: ; preds = %49, %46 %52 = load ptr, ptr %9, align 8 %53 = load i32, ptr %13, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i64, ptr %52, i64 %54 %56 = load i64, ptr %55, align 8 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %56) br label %58 58: ; preds = %51 %59 = load i32, ptr %13, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %13, align 4 %61 = load i32, ptr %13, align 4 %62 = sext i32 %61 to i64 %63 = load i64, ptr %10, align 8 %64 = icmp slt i64 %62, %63 br i1 %64, label %46, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %58 br label %65 65: ; preds = %._crit_edge3, %39 %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %13, align 4 %68 = load i32, ptr %13, align 4 %69 = sext i32 %68 to i64 %70 = load i64, ptr %8, align 8 %71 = load i64, ptr %10, align 8 %72 = add nsw i64 %70, %71 %73 = icmp slt i64 %69, %72 br i1 %73, label %.lr.ph5, label %95 .lr.ph5: ; preds = %65 br label %74 74: ; preds = %.lr.ph5, %86 %75 = load i32, ptr %13, align 4 %76 = icmp ne i32 %75, 0 br i1 %76, label %77, label %79 77: ; preds = %74 %78 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %79 79: ; preds = %77, %74 %80 = load ptr, ptr %11, align 8 %81 = load i32, ptr %13, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds i64, ptr %80, i64 %82 %84 = load i64, ptr %83, align 8 %85 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %84) br label %86 86: ; preds = %79 %87 = load i32, ptr %13, align 4 %88 = add nsw i32 %87, 1 store i32 %88, ptr %13, align 4 %89 = load i32, ptr %13, align 4 %90 = sext i32 %89 to i64 %91 = load i64, ptr %8, align 8 %92 = load i64, ptr %10, align 8 %93 = add nsw i64 %91, %92 %94 = icmp slt i64 %90, %93 br i1 %94, label %74, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %86 br label %95 95: ; preds = %._crit_edge6, %65 %96 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %97 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %13, align 4 %98 = load i32, ptr %13, align 4 %99 = sext i32 %98 to i64 %100 = load i64, ptr %8, align 8 %101 = load i64, ptr %10, align 8 %102 = add nsw i64 %100, %101 %103 = icmp slt i64 %99, %102 br i1 %103, label %.lr.ph8, label %125 .lr.ph8: ; preds = %95 br label %104 104: ; preds = %.lr.ph8, %116 %105 = load i32, ptr %13, align 4 %106 = icmp ne i32 %105, 0 br i1 %106, label %107, label %109 107: ; preds = %104 %108 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %109 109: ; preds = %107, %104 %110 = load ptr, ptr %12, align 8 %111 = load i32, ptr %13, align 4 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds i64, ptr %110, i64 %112 %114 = load i64, ptr %113, align 8 %115 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %114) br label %116 116: ; preds = %109 %117 = load i32, ptr %13, align 4 %118 = add nsw i32 %117, 1 store i32 %118, ptr %13, align 4 %119 = load i32, ptr %13, align 4 %120 = sext i32 %119 to i64 %121 = load i64, ptr %8, align 8 %122 = load i64, ptr %10, align 8 %123 = add nsw i64 %121, %122 %124 = icmp slt i64 %120, %123 br i1 %124, label %104, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %116 br label %125 125: ; preds = %._crit_edge9, %95 %126 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %127 = call i32 (ptr, ...) @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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmp5_vnqygt.c' source_filename = "/tmp/tmp5_vnqygt.c" target datalayout = "e-m:e-p270: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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @write_int(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @printf(ptr noundef @.str, i32 noundef %3) ret void } 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/tmp5_vnqygt.c" target datalayout = "e-m:e-p270: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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @write_int(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @printf(ptr noundef @.str, i32 noundef %3) ret void } 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/tmp4owvqi07.c' source_filename = "/tmp/tmp4owvqi07.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @printf(ptr noundef @.str, ptr noundef %6) ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4owvqi07.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @printf(ptr noundef @.str, ptr noundef %6) ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwkijjnp1.c' source_filename = "/tmp/tmpwkijjnp1.c" target datalayout = "e-m:e-p270: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"\0A+ Checkers game v1.0\0A\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"+ Coder: MMxM @hc0d3r\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"+ Options:\0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c" -o (Offline match)\0A\00", align 1 @.str.4 = private unnamed_addr constant [27 x i8] c" -l PORT (port to listen)\0A\00", align 1 @.str.5 = private unnamed_addr constant [45 x i8] c" -c IP/Hostname (Server address to connect)\0A\00", align 1 @.str.6 = private unnamed_addr constant [36 x i8] c" -p PORT (port number to connect)\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @help() #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) %8 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @printf(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/tmpwkijjnp1.c" target datalayout = "e-m:e-p270: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"\0A+ Checkers game v1.0\0A\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"+ Coder: MMxM @hc0d3r\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"+ Options:\0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c" -o (Offline match)\0A\00", align 1 @.str.4 = private unnamed_addr constant [27 x i8] c" -l PORT (port to listen)\0A\00", align 1 @.str.5 = private unnamed_addr constant [45 x i8] c" -c IP/Hostname (Server address to connect)\0A\00", align 1 @.str.6 = private unnamed_addr constant [36 x i8] c" -p PORT (port number to connect)\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @help() #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) %8 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @printf(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/tmpte9lfya3.c' source_filename = "/tmp/tmpte9lfya3.c" target datalayout = "e-m:e-p270: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 void @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @function(i32 noundef 1, i32 noundef 2, i32 noundef 3) store i32 1, ptr %1, align 4 %3 = load i32, ptr %1, align 4 %4 = call i32 @printf(ptr noundef @.str, i32 noundef %3) ret void } declare i32 @function(i32 noundef, 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/tmpte9lfya3.c" target datalayout = "e-m:e-p270: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 void @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @function(i32 noundef 1, i32 noundef 2, i32 noundef 3) store i32 1, ptr %1, align 4 %3 = load i32, ptr %1, align 4 %4 = call i32 @printf(ptr noundef @.str, i32 noundef %3) ret void } declare i32 @function(i32 noundef, 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/tmpb11ic0q3.c' source_filename = "/tmp/tmpb11ic0q3.c" target datalayout = "e-m:e-p270: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"%s %08lx\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 ptr, align 8 %5 = alloca i64, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %4, align 8 %7 = getelementptr inbounds ptr, ptr %6, i64 1 %8 = load ptr, ptr %7, align 8 %9 = call i32 @sfv_mmap_calc_crc32(ptr noundef %8, ptr noundef %5) %10 = load ptr, ptr %4, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 1 %12 = load ptr, ptr %11, align 8 %13 = load i64, ptr %5, align 8 %14 = call i32 @printf(ptr noundef @.str, ptr noundef %12, i64 noundef %13) ret i32 0 } declare i32 @sfv_mmap_calc_crc32(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb11ic0q3.c" target datalayout = "e-m:e-p270: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"%s %08lx\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 ptr, align 8 %5 = alloca i64, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %4, align 8 %7 = getelementptr inbounds ptr, ptr %6, i64 1 %8 = load ptr, ptr %7, align 8 %9 = call i32 @sfv_mmap_calc_crc32(ptr noundef %8, ptr noundef %5) %10 = load ptr, ptr %4, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 1 %12 = load ptr, ptr %11, align 8 %13 = load i64, ptr %5, align 8 %14 = call i32 @printf(ptr noundef @.str, ptr noundef %12, i64 noundef %13) ret i32 0 } declare i32 @sfv_mmap_calc_crc32(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr 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"}
; ModuleID = '/tmp/tmp6efbzuln.c' source_filename = "/tmp/tmp6efbzuln.c" target datalayout = "e-m:e-p270: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 @rkStep(i32 noundef %0, ptr noundef %1, ptr noundef %2, double noundef %3, double noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca ptr, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 %14 = alloca i64, align 8 %15 = alloca i64, align 8 %16 = alloca i64, align 8 %17 = alloca i32, align 4 store i32 %0, ptr %6, align 4 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store double %3, ptr %9, align 8 store double %4, ptr %10, align 8 %18 = load i32, ptr %6, align 4 %19 = zext i32 %18 to i64 %20 = call ptr @llvm.stacksave() store ptr %20, ptr %11, align 8 %21 = alloca double, i64 %19, align 16 store i64 %19, ptr %12, align 8 %22 = load i32, ptr %6, align 4 %23 = zext i32 %22 to i64 %24 = alloca double, i64 %23, align 16 store i64 %23, ptr %13, align 8 %25 = load i32, ptr %6, align 4 %26 = zext i32 %25 to i64 %27 = alloca double, i64 %26, align 16 store i64 %26, ptr %14, align 8 %28 = load i32, ptr %6, align 4 %29 = zext i32 %28 to i64 %30 = alloca double, i64 %29, align 16 store i64 %29, ptr %15, align 8 %31 = load i32, ptr %6, align 4 %32 = zext i32 %31 to i64 %33 = alloca double, i64 %32, align 16 store i64 %32, ptr %16, align 8 %34 = load double, ptr %9, align 8 %35 = load ptr, ptr %7, align 8 %36 = call i32 @kepler(double noundef %34, ptr noundef %35, ptr noundef %21) store i32 0, ptr %17, align 4 br label %37 37: ; preds = %57, %5 %38 = load i32, ptr %17, align 4 %39 = load i32, ptr %6, align 4 %40 = icmp slt i32 %38, %39 br i1 %40, label %41, label %60 41: ; preds = %37 %42 = load ptr, ptr %7, align 8 %43 = load i32, ptr %17, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds double, ptr %42, i64 %44 %46 = load double, ptr %45, align 8 %47 = load double, ptr %10, align 8 %48 = fmul double 5.000000e-01, %47 %49 = load i32, ptr %17, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds double, ptr %21, i64 %50 %52 = load double, ptr %51, align 8 %53 = call double @llvm.fmuladd.f64(double %48, double %52, double %46) %54 = load i32, ptr %17, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds double, ptr %33, i64 %55 store double %53, ptr %56, align 8 br label %57 57: ; preds = %41 %58 = load i32, ptr %17, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %17, align 4 br label %37, !llvm.loop !6 60: ; preds = %37 %61 = load double, ptr %9, align 8 %62 = call i32 @kepler(double noundef %61, ptr noundef %33, ptr noundef %24) store i32 0, ptr %17, align 4 br label %63 63: ; preds = %83, %60 %64 = load i32, ptr %17, align 4 %65 = load i32, ptr %6, align 4 %66 = icmp slt i32 %64, %65 br i1 %66, label %67, label %86 67: ; preds = %63 %68 = load ptr, ptr %7, align 8 %69 = load i32, ptr %17, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds double, ptr %68, i64 %70 %72 = load double, ptr %71, align 8 %73 = load double, ptr %10, align 8 %74 = fmul double 5.000000e-01, %73 %75 = load i32, ptr %17, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds double, ptr %24, i64 %76 %78 = load double, ptr %77, align 8 %79 = call double @llvm.fmuladd.f64(double %74, double %78, double %72) %80 = load i32, ptr %17, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds double, ptr %33, i64 %81 store double %79, ptr %82, align 8 br label %83 83: ; preds = %67 %84 = load i32, ptr %17, align 4 %85 = add nsw i32 %84, 1 store i32 %85, ptr %17, align 4 br label %63, !llvm.loop !8 86: ; preds = %63 %87 = load double, ptr %9, align 8 %88 = call i32 @kepler(double noundef %87, ptr noundef %33, ptr noundef %27) store i32 0, ptr %17, align 4 br label %89 89: ; preds = %108, %86 %90 = load i32, ptr %17, align 4 %91 = load i32, ptr %6, align 4 %92 = icmp slt i32 %90, %91 br i1 %92, label %93, label %111 93: ; preds = %89 %94 = load ptr, ptr %7, align 8 %95 = load i32, ptr %17, align 4 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds double, ptr %94, i64 %96 %98 = load double, ptr %97, align 8 %99 = load double, ptr %10, align 8 %100 = load i32, ptr %17, align 4 %101 = sext i32 %100 to i64 %102 = getelementptr inbounds double, ptr %27, i64 %101 %103 = load double, ptr %102, align 8 %104 = call double @llvm.fmuladd.f64(double %99, double %103, double %98) %105 = load i32, ptr %17, align 4 %106 = sext i32 %105 to i64 %107 = getelementptr inbounds double, ptr %33, i64 %106 store double %104, ptr %107, align 8 br label %108 108: ; preds = %93 %109 = load i32, ptr %17, align 4 %110 = add nsw i32 %109, 1 store i32 %110, ptr %17, align 4 br label %89, !llvm.loop !9 111: ; preds = %89 %112 = load double, ptr %9, align 8 %113 = call i32 @kepler(double noundef %112, ptr noundef %33, ptr noundef %30) store i32 0, ptr %17, align 4 br label %114 114: ; preds = %151, %111 %115 = load i32, ptr %17, align 4 %116 = load i32, ptr %6, align 4 %117 = icmp slt i32 %115, %116 br i1 %117, label %118, label %154 118: ; preds = %114 %119 = load ptr, ptr %7, align 8 %120 = load i32, ptr %17, align 4 %121 = sext i32 %120 to i64 %122 = getelementptr inbounds double, ptr %119, i64 %121 %123 = load double, ptr %122, align 8 %124 = load double, ptr %10, align 8 %125 = load i32, ptr %17, align 4 %126 = sext i32 %125 to i64 %127 = getelementptr inbounds double, ptr %21, i64 %126 %128 = load double, ptr %127, align 8 %129 = load i32, ptr %17, align 4 %130 = sext i32 %129 to i64 %131 = getelementptr inbounds double, ptr %24, i64 %130 %132 = load double, ptr %131, align 8 %133 = load i32, ptr %17, align 4 %134 = sext i32 %133 to i64 %135 = getelementptr inbounds double, ptr %27, i64 %134 %136 = load double, ptr %135, align 8 %137 = fadd double %132, %136 %138 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %137, double %128) %139 = load i32, ptr %17, align 4 %140 = sext i32 %139 to i64 %141 = getelementptr inbounds double, ptr %30, i64 %140 %142 = load double, ptr %141, align 8 %143 = fadd double %138, %142 %144 = fmul double %124, %143 %145 = fdiv double %144, 6.000000e+00 %146 = fadd double %123, %145 %147 = load ptr, ptr %8, align 8 %148 = load i32, ptr %17, align 4 %149 = sext i32 %148 to i64 %150 = getelementptr inbounds double, ptr %147, i64 %149 store double %146, ptr %150, align 8 br label %151 151: ; preds = %118 %152 = load i32, ptr %17, align 4 %153 = add nsw i32 %152, 1 store i32 %153, ptr %17, align 4 br label %114, !llvm.loop !10 154: ; preds = %114 %155 = load ptr, ptr %11, align 8 call void @llvm.stackrestore(ptr %155) ret i32 0 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @kepler(double noundef, ptr noundef, ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6efbzuln.c" target datalayout = "e-m:e-p270: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 @rkStep(i32 noundef %0, ptr noundef %1, ptr noundef %2, double noundef %3, double noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca ptr, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 %14 = alloca i64, align 8 %15 = alloca i64, align 8 %16 = alloca i64, align 8 %17 = alloca i32, align 4 store i32 %0, ptr %6, align 4 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store double %3, ptr %9, align 8 store double %4, ptr %10, align 8 %18 = load i32, ptr %6, align 4 %19 = zext i32 %18 to i64 %20 = call ptr @llvm.stacksave() store ptr %20, ptr %11, align 8 %21 = alloca double, i64 %19, align 16 store i64 %19, ptr %12, align 8 %22 = load i32, ptr %6, align 4 %23 = zext i32 %22 to i64 %24 = alloca double, i64 %23, align 16 store i64 %23, ptr %13, align 8 %25 = load i32, ptr %6, align 4 %26 = zext i32 %25 to i64 %27 = alloca double, i64 %26, align 16 store i64 %26, ptr %14, align 8 %28 = load i32, ptr %6, align 4 %29 = zext i32 %28 to i64 %30 = alloca double, i64 %29, align 16 store i64 %29, ptr %15, align 8 %31 = load i32, ptr %6, align 4 %32 = zext i32 %31 to i64 %33 = alloca double, i64 %32, align 16 store i64 %32, ptr %16, align 8 %34 = load double, ptr %9, align 8 %35 = load ptr, ptr %7, align 8 %36 = call i32 @kepler(double noundef %34, ptr noundef %35, ptr noundef %21) store i32 0, ptr %17, align 4 %37 = load i32, ptr %17, align 4 %38 = load i32, ptr %6, align 4 %39 = icmp slt i32 %37, %38 br i1 %39, label %.lr.ph, label %62 .lr.ph: ; preds = %5 br label %40 40: ; preds = %.lr.ph, %56 %41 = load ptr, ptr %7, align 8 %42 = load i32, ptr %17, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds double, ptr %41, i64 %43 %45 = load double, ptr %44, align 8 %46 = load double, ptr %10, align 8 %47 = fmul double 5.000000e-01, %46 %48 = load i32, ptr %17, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds double, ptr %21, i64 %49 %51 = load double, ptr %50, align 8 %52 = call double @llvm.fmuladd.f64(double %47, double %51, double %45) %53 = load i32, ptr %17, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds double, ptr %33, i64 %54 store double %52, ptr %55, align 8 br label %56 56: ; preds = %40 %57 = load i32, ptr %17, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %17, align 4 %59 = load i32, ptr %17, align 4 %60 = load i32, ptr %6, align 4 %61 = icmp slt i32 %59, %60 br i1 %61, label %40, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %56 br label %62 62: ; preds = %._crit_edge, %5 %63 = load double, ptr %9, align 8 %64 = call i32 @kepler(double noundef %63, ptr noundef %33, ptr noundef %24) store i32 0, ptr %17, align 4 %65 = load i32, ptr %17, align 4 %66 = load i32, ptr %6, align 4 %67 = icmp slt i32 %65, %66 br i1 %67, label %.lr.ph2, label %90 .lr.ph2: ; preds = %62 br label %68 68: ; preds = %.lr.ph2, %84 %69 = load ptr, ptr %7, align 8 %70 = load i32, ptr %17, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds double, ptr %69, i64 %71 %73 = load double, ptr %72, align 8 %74 = load double, ptr %10, align 8 %75 = fmul double 5.000000e-01, %74 %76 = load i32, ptr %17, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds double, ptr %24, i64 %77 %79 = load double, ptr %78, align 8 %80 = call double @llvm.fmuladd.f64(double %75, double %79, double %73) %81 = load i32, ptr %17, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds double, ptr %33, i64 %82 store double %80, ptr %83, align 8 br label %84 84: ; preds = %68 %85 = load i32, ptr %17, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %17, align 4 %87 = load i32, ptr %17, align 4 %88 = load i32, ptr %6, align 4 %89 = icmp slt i32 %87, %88 br i1 %89, label %68, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %84 br label %90 90: ; preds = %._crit_edge3, %62 %91 = load double, ptr %9, align 8 %92 = call i32 @kepler(double noundef %91, ptr noundef %33, ptr noundef %27) store i32 0, ptr %17, align 4 %93 = load i32, ptr %17, align 4 %94 = load i32, ptr %6, align 4 %95 = icmp slt i32 %93, %94 br i1 %95, label %.lr.ph5, label %117 .lr.ph5: ; preds = %90 br label %96 96: ; preds = %.lr.ph5, %111 %97 = load ptr, ptr %7, align 8 %98 = load i32, ptr %17, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds double, ptr %97, i64 %99 %101 = load double, ptr %100, align 8 %102 = load double, ptr %10, align 8 %103 = load i32, ptr %17, align 4 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds double, ptr %27, i64 %104 %106 = load double, ptr %105, align 8 %107 = call double @llvm.fmuladd.f64(double %102, double %106, double %101) %108 = load i32, ptr %17, align 4 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds double, ptr %33, i64 %109 store double %107, ptr %110, align 8 br label %111 111: ; preds = %96 %112 = load i32, ptr %17, align 4 %113 = add nsw i32 %112, 1 store i32 %113, ptr %17, align 4 %114 = load i32, ptr %17, align 4 %115 = load i32, ptr %6, align 4 %116 = icmp slt i32 %114, %115 br i1 %116, label %96, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %111 br label %117 117: ; preds = %._crit_edge6, %90 %118 = load double, ptr %9, align 8 %119 = call i32 @kepler(double noundef %118, ptr noundef %33, ptr noundef %30) store i32 0, ptr %17, align 4 %120 = load i32, ptr %17, align 4 %121 = load i32, ptr %6, align 4 %122 = icmp slt i32 %120, %121 br i1 %122, label %.lr.ph8, label %162 .lr.ph8: ; preds = %117 br label %123 123: ; preds = %.lr.ph8, %156 %124 = load ptr, ptr %7, align 8 %125 = load i32, ptr %17, align 4 %126 = sext i32 %125 to i64 %127 = getelementptr inbounds double, ptr %124, i64 %126 %128 = load double, ptr %127, align 8 %129 = load double, ptr %10, align 8 %130 = load i32, ptr %17, align 4 %131 = sext i32 %130 to i64 %132 = getelementptr inbounds double, ptr %21, i64 %131 %133 = load double, ptr %132, align 8 %134 = load i32, ptr %17, align 4 %135 = sext i32 %134 to i64 %136 = getelementptr inbounds double, ptr %24, i64 %135 %137 = load double, ptr %136, align 8 %138 = load i32, ptr %17, align 4 %139 = sext i32 %138 to i64 %140 = getelementptr inbounds double, ptr %27, i64 %139 %141 = load double, ptr %140, align 8 %142 = fadd double %137, %141 %143 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %142, double %133) %144 = load i32, ptr %17, align 4 %145 = sext i32 %144 to i64 %146 = getelementptr inbounds double, ptr %30, i64 %145 %147 = load double, ptr %146, align 8 %148 = fadd double %143, %147 %149 = fmul double %129, %148 %150 = fdiv double %149, 6.000000e+00 %151 = fadd double %128, %150 %152 = load ptr, ptr %8, align 8 %153 = load i32, ptr %17, align 4 %154 = sext i32 %153 to i64 %155 = getelementptr inbounds double, ptr %152, i64 %154 store double %151, ptr %155, align 8 br label %156 156: ; preds = %123 %157 = load i32, ptr %17, align 4 %158 = add nsw i32 %157, 1 store i32 %158, ptr %17, align 4 %159 = load i32, ptr %17, align 4 %160 = load i32, ptr %6, align 4 %161 = icmp slt i32 %159, %160 br i1 %161, label %123, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %156 br label %162 162: ; preds = %._crit_edge9, %117 %163 = load ptr, ptr %11, align 8 call void @llvm.stackrestore(ptr %163) ret i32 0 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @kepler(double noundef, ptr noundef, ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpoe0vg8e6.c' source_filename = "/tmp/tmpoe0vg8e6.c" target datalayout = "e-m:e-p270: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 @memset(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i64 %2, ptr %6, align 8 %9 = load ptr, ptr %4, align 8 store ptr %9, ptr %7, align 8 store i64 0, ptr %8, align 8 br label %10 10: ; preds = %20, %3 %11 = load i64, ptr %8, align 8 %12 = load i64, ptr %6, align 8 %13 = icmp ult i64 %11, %12 br i1 %13, label %14, label %23 14: ; preds = %10 %15 = load i32, ptr %5, align 4 %16 = trunc i32 %15 to i8 %17 = load ptr, ptr %7, align 8 %18 = load i64, ptr %8, align 8 %19 = getelementptr inbounds i8, ptr %17, i64 %18 store i8 %16, ptr %19, align 1 br label %20 20: ; preds = %14 %21 = load i64, ptr %8, align 8 %22 = add i64 %21, 1 store i64 %22, ptr %8, align 8 br label %10, !llvm.loop !6 23: ; preds = %10 %24 = load ptr, ptr %4, align 8 ret ptr %24 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpoe0vg8e6.c" target datalayout = "e-m:e-p270: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 @memset(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i64 %2, ptr %6, align 8 %9 = load ptr, ptr %4, align 8 store ptr %9, ptr %7, align 8 store i64 0, ptr %8, align 8 %10 = load i64, ptr %8, align 8 %11 = load i64, ptr %6, align 8 %12 = icmp ult i64 %10, %11 br i1 %12, label %.lr.ph, label %25 .lr.ph: ; preds = %3 br label %13 13: ; preds = %.lr.ph, %19 %14 = load i32, ptr %5, align 4 %15 = trunc i32 %14 to i8 %16 = load ptr, ptr %7, align 8 %17 = load i64, ptr %8, align 8 %18 = getelementptr inbounds i8, ptr %16, i64 %17 store i8 %15, ptr %18, align 1 br label %19 19: ; preds = %13 %20 = load i64, ptr %8, align 8 %21 = add i64 %20, 1 store i64 %21, ptr %8, align 8 %22 = load i64, ptr %8, align 8 %23 = load i64, ptr %6, align 8 %24 = icmp ult i64 %22, %23 br i1 %24, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %25 25: ; preds = %._crit_edge, %3 %26 = load ptr, ptr %4, align 8 ret ptr %26 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpnal_8mk8.c' source_filename = "/tmp/tmpnal_8mk8.c" target datalayout = "e-m:e-p270: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 @kmp_ff(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %9 = load i64, ptr %6, align 8 %10 = icmp ugt i64 %9, 1 br i1 %10, label %11, label %16 11: ; preds = %3 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds i64, ptr %12, i64 0 store i64 -1, ptr %13, align 8 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds i64, ptr %14, i64 1 store i64 0, ptr %15, align 8 br label %23 16: ; preds = %3 %17 = load i64, ptr %6, align 8 %18 = icmp ugt i64 %17, 0 br i1 %18, label %19, label %22 19: ; preds = %16 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds i64, ptr %20, i64 0 store i64 -1, ptr %21, align 8 br label %22 22: ; preds = %19, %16 br label %23 23: ; preds = %22, %11 store i64 2, ptr %7, align 8 store i64 0, ptr %8, align 8 br label %24 24: ; preds = %62, %23 %25 = load i64, ptr %7, align 8 %26 = load i64, ptr %6, align 8 %27 = icmp ult i64 %25, %26 br i1 %27, label %28, label %63 28: ; preds = %24 %29 = load ptr, ptr %4, align 8 %30 = load i64, ptr %7, align 8 %31 = sub i64 %30, 1 %32 = getelementptr inbounds i8, ptr %29, i64 %31 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = load ptr, ptr %4, align 8 %36 = load i64, ptr %8, align 8 %37 = getelementptr inbounds i8, ptr %35, i64 %36 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = icmp eq i32 %34, %39 br i1 %40, label %41, label %48 41: ; preds = %28 %42 = load i64, ptr %8, align 8 %43 = add i64 %42, 1 store i64 %43, ptr %8, align 8 %44 = load ptr, ptr %5, align 8 %45 = load i64, ptr %7, align 8 %46 = add i64 %45, 1 store i64 %46, ptr %7, align 8 %47 = getelementptr inbounds i64, ptr %44, i64 %45 store i64 %43, ptr %47, align 8 br label %62 48: ; preds = %28 %49 = load i64, ptr %8, align 8 %50 = icmp ugt i64 %49, 0 br i1 %50, label %51, label %56 51: ; preds = %48 %52 = load ptr, ptr %5, align 8 %53 = load i64, ptr %8, align 8 %54 = getelementptr inbounds i64, ptr %52, i64 %53 %55 = load i64, ptr %54, align 8 store i64 %55, ptr %8, align 8 br label %61 56: ; preds = %48 %57 = load ptr, ptr %5, align 8 %58 = load i64, ptr %7, align 8 %59 = add i64 %58, 1 store i64 %59, ptr %7, align 8 %60 = getelementptr inbounds i64, ptr %57, i64 %58 store i64 0, ptr %60, align 8 br label %61 61: ; preds = %56, %51 br label %62 62: ; preds = %61, %41 br label %24, !llvm.loop !6 63: ; preds = %24 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnal_8mk8.c" target datalayout = "e-m:e-p270: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 @kmp_ff(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %9 = load i64, ptr %6, align 8 %10 = icmp ugt i64 %9, 1 br i1 %10, label %11, label %16 11: ; preds = %3 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds i64, ptr %12, i64 0 store i64 -1, ptr %13, align 8 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds i64, ptr %14, i64 1 store i64 0, ptr %15, align 8 br label %23 16: ; preds = %3 %17 = load i64, ptr %6, align 8 %18 = icmp ugt i64 %17, 0 br i1 %18, label %19, label %22 19: ; preds = %16 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds i64, ptr %20, i64 0 store i64 -1, ptr %21, align 8 br label %22 22: ; preds = %19, %16 br label %23 23: ; preds = %22, %11 store i64 2, ptr %7, align 8 store i64 0, ptr %8, align 8 %24 = load i64, ptr %7, align 8 %25 = load i64, ptr %6, align 8 %26 = icmp ult i64 %24, %25 br i1 %26, label %.lr.ph, label %65 .lr.ph: ; preds = %23 br label %27 27: ; preds = %.lr.ph, %61 %28 = load ptr, ptr %4, align 8 %29 = load i64, ptr %7, align 8 %30 = sub i64 %29, 1 %31 = getelementptr inbounds i8, ptr %28, i64 %30 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = load ptr, ptr %4, align 8 %35 = load i64, ptr %8, align 8 %36 = getelementptr inbounds i8, ptr %34, i64 %35 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = icmp eq i32 %33, %38 br i1 %39, label %40, label %47 40: ; preds = %27 %41 = load i64, ptr %8, align 8 %42 = add i64 %41, 1 store i64 %42, ptr %8, align 8 %43 = load ptr, ptr %5, align 8 %44 = load i64, ptr %7, align 8 %45 = add i64 %44, 1 store i64 %45, ptr %7, align 8 %46 = getelementptr inbounds i64, ptr %43, i64 %44 store i64 %42, ptr %46, align 8 br label %61 47: ; preds = %27 %48 = load i64, ptr %8, align 8 %49 = icmp ugt i64 %48, 0 br i1 %49, label %50, label %55 50: ; preds = %47 %51 = load ptr, ptr %5, align 8 %52 = load i64, ptr %8, align 8 %53 = getelementptr inbounds i64, ptr %51, i64 %52 %54 = load i64, ptr %53, align 8 store i64 %54, ptr %8, align 8 br label %60 55: ; preds = %47 %56 = load ptr, ptr %5, align 8 %57 = load i64, ptr %7, align 8 %58 = add i64 %57, 1 store i64 %58, ptr %7, align 8 %59 = getelementptr inbounds i64, ptr %56, i64 %57 store i64 0, ptr %59, align 8 br label %60 60: ; preds = %55, %50 br label %61 61: ; preds = %60, %40 %62 = load i64, ptr %7, align 8 %63 = load i64, ptr %6, align 8 %64 = icmp ult i64 %62, %63 br i1 %64, label %27, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %61 br label %65 65: ; preds = %._crit_edge, %23 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp9iy1ud9g.c' source_filename = "/tmp/tmp9iy1ud9g.c" target datalayout = "e-m:e-p270: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 @__globinit_faculty() #0 { %1 = call i32 (...) @__CrestInit() ret void } declare i32 @__CrestInit(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmp9iy1ud9g.c" target datalayout = "e-m:e-p270: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 @__globinit_faculty() #0 { %1 = call i32 (...) @__CrestInit() ret void } declare i32 @__CrestInit(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpff5qyomn.c' source_filename = "/tmp/tmpff5qyomn.c" target datalayout = "e-m:e-p270: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 @v_EepromWaitBusy(i16 noundef zeroext %0) #0 { %2 = alloca i16, align 2 %3 = alloca i8, align 1 store i16 %0, ptr %2, align 2 store i8 0, ptr %3, align 1 br label %4 4: ; preds = %14, %1 %5 = load i16, ptr %2, align 2 %6 = zext i16 %5 to i32 %7 = add nsw i32 %6, 63 %8 = trunc i32 %7 to i16 %9 = call zeroext i8 @inb(i16 noundef zeroext %8) store i8 %9, ptr %3, align 1 %10 = load i8, ptr %3, align 1 %11 = zext i8 %10 to i32 %12 = and i32 %11, 128 %13 = trunc i32 %12 to i8 store i8 %13, ptr %3, align 1 br label %14 14: ; preds = %4 %15 = load i8, ptr %3, align 1 %16 = zext i8 %15 to i32 %17 = icmp eq i32 %16, 128 br i1 %17, label %4, label %18, !llvm.loop !6 18: ; preds = %14 ret void } declare zeroext i8 @inb(i16 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpff5qyomn.c" target datalayout = "e-m:e-p270: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 @v_EepromWaitBusy(i16 noundef zeroext %0) #0 { %2 = alloca i16, align 2 %3 = alloca i8, align 1 store i16 %0, ptr %2, align 2 store i8 0, ptr %3, align 1 br label %4 4: ; preds = %14, %1 %5 = load i16, ptr %2, align 2 %6 = zext i16 %5 to i32 %7 = add nsw i32 %6, 63 %8 = trunc i32 %7 to i16 %9 = call zeroext i8 @inb(i16 noundef zeroext %8) store i8 %9, ptr %3, align 1 %10 = load i8, ptr %3, align 1 %11 = zext i8 %10 to i32 %12 = and i32 %11, 128 %13 = trunc i32 %12 to i8 store i8 %13, ptr %3, align 1 br label %14 14: ; preds = %4 %15 = load i8, ptr %3, align 1 %16 = zext i8 %15 to i32 %17 = icmp eq i32 %16, 128 br i1 %17, label %4, label %18, !llvm.loop !6 18: ; preds = %14 ret void } declare zeroext i8 @inb(i16 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpif31w945.c' source_filename = "/tmp/tmpif31w945.c" target datalayout = "e-m:e-p270: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 @__console_tx_char(i8 noundef zeroext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = load i8, ptr %2, align 1 %4 = call i32 @uart_tx_byte(i8 noundef zeroext %3) ret void } declare i32 @uart_tx_byte(i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpif31w945.c" target datalayout = "e-m:e-p270: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 @__console_tx_char(i8 noundef zeroext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = load i8, ptr %2, align 1 %4 = call i32 @uart_tx_byte(i8 noundef zeroext %3) ret void } declare i32 @uart_tx_byte(i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpwqgsglh2.c' source_filename = "/tmp/tmpwqgsglh2.c" target datalayout = "e-m:e-p270: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/tmpwqgsglh2.c" target datalayout = "e-m:e-p270: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/tmpcivsydjk.c' source_filename = "/tmp/tmpcivsydjk.c" target datalayout = "e-m:e-p270: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 @sieve_eratosthene(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 2, ptr %5, align 4 br label %7 7: ; preds = %30, %2 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %4, align 4 %10 = call i32 @sqrt(i32 noundef %9) %11 = icmp slt i32 %8, %10 br i1 %11, label %12, label %33 12: ; preds = %7 %13 = load i32, ptr %5, align 4 %14 = load i32, ptr %5, align 4 %15 = mul nsw i32 %13, %14 store i32 %15, ptr %6, align 4 br label %16 16: ; preds = %25, %12 %17 = load i32, ptr %6, align 4 %18 = load i32, ptr %4, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %20, label %29 20: ; preds = %16 %21 = load ptr, ptr %3, align 8 %22 = load i32, ptr %6, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i32, ptr %21, i64 %23 store i32 0, ptr %24, align 4 br label %25 25: ; preds = %20 %26 = load i32, ptr %5, align 4 %27 = load i32, ptr %6, align 4 %28 = add nsw i32 %27, %26 store i32 %28, ptr %6, align 4 br label %16, !llvm.loop !6 29: ; preds = %16 br label %30 30: ; preds = %29 %31 = load i32, ptr %5, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %5, align 4 br label %7, !llvm.loop !8 33: ; preds = %7 ret void } declare i32 @sqrt(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcivsydjk.c" target datalayout = "e-m:e-p270: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 @sieve_eratosthene(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 2, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = call i32 @sqrt(i32 noundef %8) %10 = icmp slt i32 %7, %9 br i1 %10, label %.lr.ph2, label %38 .lr.ph2: ; preds = %2 br label %11 11: ; preds = %.lr.ph2, %31 %12 = load i32, ptr %5, align 4 %13 = load i32, ptr %5, align 4 %14 = mul nsw i32 %12, %13 store i32 %14, ptr %6, align 4 %15 = load i32, ptr %6, align 4 %16 = load i32, ptr %4, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %.lr.ph, label %30 .lr.ph: ; preds = %11 br label %18 18: ; preds = %.lr.ph, %23 %19 = load ptr, ptr %3, align 8 %20 = load i32, ptr %6, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i32, ptr %19, i64 %21 store i32 0, ptr %22, align 4 br label %23 23: ; preds = %18 %24 = load i32, ptr %5, align 4 %25 = load i32, ptr %6, align 4 %26 = add nsw i32 %25, %24 store i32 %26, ptr %6, align 4 %27 = load i32, ptr %6, align 4 %28 = load i32, ptr %4, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %30 30: ; preds = %._crit_edge, %11 br label %31 31: ; preds = %30 %32 = load i32, ptr %5, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %5, align 4 %34 = load i32, ptr %5, align 4 %35 = load i32, ptr %4, align 4 %36 = call i32 @sqrt(i32 noundef %35) %37 = icmp slt i32 %34, %36 br i1 %37, label %11, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %31 br label %38 38: ; preds = %._crit_edge3, %2 ret void } declare i32 @sqrt(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp4edap66k.c' source_filename = "/tmp/tmp4edap66k.c" target datalayout = "e-m:e-p270: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/tmp4edap66k.c" target datalayout = "e-m:e-p270: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/tmp5et7v5eh.c' source_filename = "/tmp/tmp5et7v5eh.c" target datalayout = "e-m:e-p270: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 @write_line(ptr noundef %0, i8 noundef signext %1, i8 noundef signext %2, i8 noundef signext %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i8, align 1 %7 = alloca i8, align 1 %8 = alloca i8, align 1 %9 = alloca i8, align 1 store ptr %0, ptr %5, align 8 store i8 %1, ptr %6, align 1 store i8 %2, ptr %7, align 1 store i8 %3, ptr %8, align 1 %10 = load i8, ptr %6, align 1 %11 = call zeroext i8 @hex2ui(i8 noundef signext %10) store i8 %11, ptr %9, align 1 %12 = load i8, ptr %9, align 1 %13 = zext i8 %12 to i32 %14 = and i32 %13, 1 %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %19 16: ; preds = %4 %17 = load ptr, ptr %5, align 8 %18 = call i32 @write_wave(ptr noundef %17, double noundef 4.700000e-02, double noundef 1.136000e+03) br label %22 19: ; preds = %4 %20 = load ptr, ptr %5, align 8 %21 = call i32 @write_wave(ptr noundef %20, double noundef 4.700000e-02, double noundef 5.680000e+02) br label %22 22: ; preds = %19, %16 %23 = load i8, ptr %9, align 1 %24 = zext i8 %23 to i32 %25 = and i32 %24, 2 %26 = icmp ne i32 %25, 0 br i1 %26, label %27, label %30 27: ; preds = %22 %28 = load ptr, ptr %5, align 8 %29 = call i32 @write_wave(ptr noundef %28, double noundef 6.300000e-02, double noundef 1.136000e+03) br label %33 30: ; preds = %22 %31 = load ptr, ptr %5, align 8 %32 = call i32 @write_wave(ptr noundef %31, double noundef 6.300000e-02, double noundef 5.680000e+02) br label %33 33: ; preds = %30, %27 %34 = load i8, ptr %9, align 1 %35 = zext i8 %34 to i32 %36 = and i32 %35, 4 %37 = icmp ne i32 %36, 0 br i1 %37, label %38, label %41 38: ; preds = %33 %39 = load ptr, ptr %5, align 8 %40 = call i32 @write_wave(ptr noundef %39, double noundef 6.300000e-02, double noundef 1.136000e+03) br label %44 41: ; preds = %33 %42 = load ptr, ptr %5, align 8 %43 = call i32 @write_wave(ptr noundef %42, double noundef 6.300000e-02, double noundef 5.680000e+02) br label %44 44: ; preds = %41, %38 %45 = load i8, ptr %9, align 1 %46 = zext i8 %45 to i32 %47 = and i32 %46, 8 %48 = icmp ne i32 %47, 0 br i1 %48, label %49, label %52 49: ; preds = %44 %50 = load ptr, ptr %5, align 8 %51 = call i32 @write_wave(ptr noundef %50, double noundef 6.300000e-02, double noundef 1.136000e+03) br label %55 52: ; preds = %44 %53 = load ptr, ptr %5, align 8 %54 = call i32 @write_wave(ptr noundef %53, double noundef 6.300000e-02, double noundef 5.680000e+02) br label %55 55: ; preds = %52, %49 %56 = load i8, ptr %7, align 1 %57 = call zeroext i8 @hex2ui(i8 noundef signext %56) store i8 %57, ptr %9, align 1 %58 = load i8, ptr %9, align 1 %59 = zext i8 %58 to i32 %60 = and i32 %59, 1 %61 = icmp ne i32 %60, 0 br i1 %61, label %62, label %65 62: ; preds = %55 %63 = load ptr, ptr %5, align 8 %64 = call i32 @write_wave(ptr noundef %63, double noundef 6.300000e-02, double noundef 1.136000e+03) br label %68 65: ; preds = %55 %66 = load ptr, ptr %5, align 8 %67 = call i32 @write_wave(ptr noundef %66, double noundef 6.300000e-02, double noundef 5.680000e+02) br label %68 68: ; preds = %65, %62 %69 = load i8, ptr %9, align 1 %70 = zext i8 %69 to i32 %71 = and i32 %70, 2 %72 = icmp ne i32 %71, 0 br i1 %72, label %73, label %76 73: ; preds = %68 %74 = load ptr, ptr %5, align 8 %75 = call i32 @write_wave(ptr noundef %74, double noundef 6.300000e-02, double noundef 1.136000e+03) br label %79 76: ; preds = %68 %77 = load ptr, ptr %5, align 8 %78 = call i32 @write_wave(ptr noundef %77, double noundef 6.300000e-02, double noundef 5.680000e+02) br label %79 79: ; preds = %76, %73 %80 = load i8, ptr %9, align 1 %81 = zext i8 %80 to i32 %82 = and i32 %81, 4 %83 = icmp ne i32 %82, 0 br i1 %83, label %84, label %87 84: ; preds = %79 %85 = load ptr, ptr %5, align 8 %86 = call i32 @write_wave(ptr noundef %85, double noundef 6.300000e-02, double noundef 1.136000e+03) br label %90 87: ; preds = %79 %88 = load ptr, ptr %5, align 8 %89 = call i32 @write_wave(ptr noundef %88, double noundef 6.300000e-02, double noundef 5.680000e+02) br label %90 90: ; preds = %87, %84 %91 = load i8, ptr %9, align 1 %92 = zext i8 %91 to i32 %93 = and i32 %92, 8 %94 = icmp ne i32 %93, 0 br i1 %94, label %95, label %98 95: ; preds = %90 %96 = load ptr, ptr %5, align 8 %97 = call i32 @write_wave(ptr noundef %96, double noundef 6.300000e-02, double noundef 1.136000e+03) br label %101 98: ; preds = %90 %99 = load ptr, ptr %5, align 8 %100 = call i32 @write_wave(ptr noundef %99, double noundef 6.300000e-02, double noundef 5.680000e+02) br label %101 101: ; preds = %98, %95 %102 = load i8, ptr %8, align 1 %103 = call zeroext i8 @hex2ui(i8 noundef signext %102) store i8 %103, ptr %9, align 1 %104 = load i8, ptr %9, align 1 %105 = zext i8 %104 to i32 %106 = and i32 %105, 1 %107 = icmp ne i32 %106, 0 br i1 %107, label %108, label %111 108: ; preds = %101 %109 = load ptr, ptr %5, align 8 %110 = call i32 @write_wave(ptr noundef %109, double noundef 6.300000e-02, double noundef 1.136000e+03) br label %114 111: ; preds = %101 %112 = load ptr, ptr %5, align 8 %113 = call i32 @write_wave(ptr noundef %112, double noundef 6.300000e-02, double noundef 5.680000e+02) br label %114 114: ; preds = %111, %108 %115 = load i8, ptr %9, align 1 %116 = zext i8 %115 to i32 %117 = and i32 %116, 2 %118 = icmp ne i32 %117, 0 br i1 %118, label %119, label %122 119: ; preds = %114 %120 = load ptr, ptr %5, align 8 %121 = call i32 @write_wave(ptr noundef %120, double noundef 6.300000e-02, double noundef 1.136000e+03) br label %125 122: ; preds = %114 %123 = load ptr, ptr %5, align 8 %124 = call i32 @write_wave(ptr noundef %123, double noundef 6.300000e-02, double noundef 5.680000e+02) br label %125 125: ; preds = %122, %119 %126 = load i8, ptr %9, align 1 %127 = zext i8 %126 to i32 %128 = and i32 %127, 4 %129 = icmp ne i32 %128, 0 br i1 %129, label %130, label %133 130: ; preds = %125 %131 = load ptr, ptr %5, align 8 %132 = call i32 @write_wave(ptr noundef %131, double noundef 6.300000e-02, double noundef 1.136000e+03) br label %136 133: ; preds = %125 %134 = load ptr, ptr %5, align 8 %135 = call i32 @write_wave(ptr noundef %134, double noundef 6.300000e-02, double noundef 5.680000e+02) br label %136 136: ; preds = %133, %130 %137 = load i8, ptr %9, align 1 %138 = zext i8 %137 to i32 %139 = and i32 %138, 8 %140 = icmp ne i32 %139, 0 br i1 %140, label %141, label %144 141: ; preds = %136 %142 = load ptr, ptr %5, align 8 %143 = call i32 @write_wave(ptr noundef %142, double noundef 6.300000e-02, double noundef 1.136000e+03) br label %147 144: ; preds = %136 %145 = load ptr, ptr %5, align 8 %146 = call i32 @write_wave(ptr noundef %145, double noundef 6.300000e-02, double noundef 5.680000e+02) br label %147 147: ; preds = %144, %141 ret void } declare zeroext i8 @hex2ui(i8 noundef signext) #1 declare i32 @write_wave(ptr noundef, double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmp5et7v5eh.c" target datalayout = "e-m:e-p270: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 @write_line(ptr noundef %0, i8 noundef signext %1, i8 noundef signext %2, i8 noundef signext %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i8, align 1 %7 = alloca i8, align 1 %8 = alloca i8, align 1 %9 = alloca i8, align 1 store ptr %0, ptr %5, align 8 store i8 %1, ptr %6, align 1 store i8 %2, ptr %7, align 1 store i8 %3, ptr %8, align 1 %10 = load i8, ptr %6, align 1 %11 = call zeroext i8 @hex2ui(i8 noundef signext %10) store i8 %11, ptr %9, align 1 %12 = load i8, ptr %9, align 1 %13 = zext i8 %12 to i32 %14 = and i32 %13, 1 %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %19 16: ; preds = %4 %17 = load ptr, ptr %5, align 8 %18 = call i32 @write_wave(ptr noundef %17, double noundef 4.700000e-02, double noundef 1.136000e+03) br label %22 19: ; preds = %4 %20 = load ptr, ptr %5, align 8 %21 = call i32 @write_wave(ptr noundef %20, double noundef 4.700000e-02, double noundef 5.680000e+02) br label %22 22: ; preds = %19, %16 %23 = load i8, ptr %9, align 1 %24 = zext i8 %23 to i32 %25 = and i32 %24, 2 %26 = icmp ne i32 %25, 0 br i1 %26, label %27, label %30 27: ; preds = %22 %28 = load ptr, ptr %5, align 8 %29 = call i32 @write_wave(ptr noundef %28, double noundef 6.300000e-02, double noundef 1.136000e+03) br label %33 30: ; preds = %22 %31 = load ptr, ptr %5, align 8 %32 = call i32 @write_wave(ptr noundef %31, double noundef 6.300000e-02, double noundef 5.680000e+02) br label %33 33: ; preds = %30, %27 %34 = load i8, ptr %9, align 1 %35 = zext i8 %34 to i32 %36 = and i32 %35, 4 %37 = icmp ne i32 %36, 0 br i1 %37, label %38, label %41 38: ; preds = %33 %39 = load ptr, ptr %5, align 8 %40 = call i32 @write_wave(ptr noundef %39, double noundef 6.300000e-02, double noundef 1.136000e+03) br label %44 41: ; preds = %33 %42 = load ptr, ptr %5, align 8 %43 = call i32 @write_wave(ptr noundef %42, double noundef 6.300000e-02, double noundef 5.680000e+02) br label %44 44: ; preds = %41, %38 %45 = load i8, ptr %9, align 1 %46 = zext i8 %45 to i32 %47 = and i32 %46, 8 %48 = icmp ne i32 %47, 0 br i1 %48, label %49, label %52 49: ; preds = %44 %50 = load ptr, ptr %5, align 8 %51 = call i32 @write_wave(ptr noundef %50, double noundef 6.300000e-02, double noundef 1.136000e+03) br label %55 52: ; preds = %44 %53 = load ptr, ptr %5, align 8 %54 = call i32 @write_wave(ptr noundef %53, double noundef 6.300000e-02, double noundef 5.680000e+02) br label %55 55: ; preds = %52, %49 %56 = load i8, ptr %7, align 1 %57 = call zeroext i8 @hex2ui(i8 noundef signext %56) store i8 %57, ptr %9, align 1 %58 = load i8, ptr %9, align 1 %59 = zext i8 %58 to i32 %60 = and i32 %59, 1 %61 = icmp ne i32 %60, 0 br i1 %61, label %62, label %65 62: ; preds = %55 %63 = load ptr, ptr %5, align 8 %64 = call i32 @write_wave(ptr noundef %63, double noundef 6.300000e-02, double noundef 1.136000e+03) br label %68 65: ; preds = %55 %66 = load ptr, ptr %5, align 8 %67 = call i32 @write_wave(ptr noundef %66, double noundef 6.300000e-02, double noundef 5.680000e+02) br label %68 68: ; preds = %65, %62 %69 = load i8, ptr %9, align 1 %70 = zext i8 %69 to i32 %71 = and i32 %70, 2 %72 = icmp ne i32 %71, 0 br i1 %72, label %73, label %76 73: ; preds = %68 %74 = load ptr, ptr %5, align 8 %75 = call i32 @write_wave(ptr noundef %74, double noundef 6.300000e-02, double noundef 1.136000e+03) br label %79 76: ; preds = %68 %77 = load ptr, ptr %5, align 8 %78 = call i32 @write_wave(ptr noundef %77, double noundef 6.300000e-02, double noundef 5.680000e+02) br label %79 79: ; preds = %76, %73 %80 = load i8, ptr %9, align 1 %81 = zext i8 %80 to i32 %82 = and i32 %81, 4 %83 = icmp ne i32 %82, 0 br i1 %83, label %84, label %87 84: ; preds = %79 %85 = load ptr, ptr %5, align 8 %86 = call i32 @write_wave(ptr noundef %85, double noundef 6.300000e-02, double noundef 1.136000e+03) br label %90 87: ; preds = %79 %88 = load ptr, ptr %5, align 8 %89 = call i32 @write_wave(ptr noundef %88, double noundef 6.300000e-02, double noundef 5.680000e+02) br label %90 90: ; preds = %87, %84 %91 = load i8, ptr %9, align 1 %92 = zext i8 %91 to i32 %93 = and i32 %92, 8 %94 = icmp ne i32 %93, 0 br i1 %94, label %95, label %98 95: ; preds = %90 %96 = load ptr, ptr %5, align 8 %97 = call i32 @write_wave(ptr noundef %96, double noundef 6.300000e-02, double noundef 1.136000e+03) br label %101 98: ; preds = %90 %99 = load ptr, ptr %5, align 8 %100 = call i32 @write_wave(ptr noundef %99, double noundef 6.300000e-02, double noundef 5.680000e+02) br label %101 101: ; preds = %98, %95 %102 = load i8, ptr %8, align 1 %103 = call zeroext i8 @hex2ui(i8 noundef signext %102) store i8 %103, ptr %9, align 1 %104 = load i8, ptr %9, align 1 %105 = zext i8 %104 to i32 %106 = and i32 %105, 1 %107 = icmp ne i32 %106, 0 br i1 %107, label %108, label %111 108: ; preds = %101 %109 = load ptr, ptr %5, align 8 %110 = call i32 @write_wave(ptr noundef %109, double noundef 6.300000e-02, double noundef 1.136000e+03) br label %114 111: ; preds = %101 %112 = load ptr, ptr %5, align 8 %113 = call i32 @write_wave(ptr noundef %112, double noundef 6.300000e-02, double noundef 5.680000e+02) br label %114 114: ; preds = %111, %108 %115 = load i8, ptr %9, align 1 %116 = zext i8 %115 to i32 %117 = and i32 %116, 2 %118 = icmp ne i32 %117, 0 br i1 %118, label %119, label %122 119: ; preds = %114 %120 = load ptr, ptr %5, align 8 %121 = call i32 @write_wave(ptr noundef %120, double noundef 6.300000e-02, double noundef 1.136000e+03) br label %125 122: ; preds = %114 %123 = load ptr, ptr %5, align 8 %124 = call i32 @write_wave(ptr noundef %123, double noundef 6.300000e-02, double noundef 5.680000e+02) br label %125 125: ; preds = %122, %119 %126 = load i8, ptr %9, align 1 %127 = zext i8 %126 to i32 %128 = and i32 %127, 4 %129 = icmp ne i32 %128, 0 br i1 %129, label %130, label %133 130: ; preds = %125 %131 = load ptr, ptr %5, align 8 %132 = call i32 @write_wave(ptr noundef %131, double noundef 6.300000e-02, double noundef 1.136000e+03) br label %136 133: ; preds = %125 %134 = load ptr, ptr %5, align 8 %135 = call i32 @write_wave(ptr noundef %134, double noundef 6.300000e-02, double noundef 5.680000e+02) br label %136 136: ; preds = %133, %130 %137 = load i8, ptr %9, align 1 %138 = zext i8 %137 to i32 %139 = and i32 %138, 8 %140 = icmp ne i32 %139, 0 br i1 %140, label %141, label %144 141: ; preds = %136 %142 = load ptr, ptr %5, align 8 %143 = call i32 @write_wave(ptr noundef %142, double noundef 6.300000e-02, double noundef 1.136000e+03) br label %147 144: ; preds = %136 %145 = load ptr, ptr %5, align 8 %146 = call i32 @write_wave(ptr noundef %145, double noundef 6.300000e-02, double noundef 5.680000e+02) br label %147 147: ; preds = %144, %141 ret void } declare zeroext i8 @hex2ui(i8 noundef signext) #1 declare i32 @write_wave(ptr noundef, double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpqj30cb4p.c' source_filename = "/tmp/tmpqj30cb4p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @getoldopt.key = internal global ptr null, align 8 @getoldopt.use_getopt = internal global i8 0, align 1 @optarg = dso_local global ptr null, align 8 @optind = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [23 x i8] c"%s: unknown option %c\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"%s: %c argument missing\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getoldopt(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i8, align 1 %9 = alloca ptr, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr null, ptr @optarg, align 8 %10 = load ptr, ptr @getoldopt.key, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %29 12: ; preds = %3 %13 = load i32, ptr %5, align 4 %14 = icmp slt i32 %13, 2 br i1 %14, label %15, label %16 15: ; preds = %12 store i32 -1, ptr %4, align 4 br label %94 16: ; preds = %12 %17 = load ptr, ptr %6, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 1 %19 = load ptr, ptr %18, align 8 store ptr %19, ptr @getoldopt.key, align 8 %20 = load ptr, ptr @getoldopt.key, align 8 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp eq i32 %22, 45 br i1 %23, label %24, label %27 24: ; preds = %16 %25 = load i8, ptr @getoldopt.use_getopt, align 1 %26 = add i8 %25, 1 store i8 %26, ptr @getoldopt.use_getopt, align 1 br label %28 27: ; preds = %16 store i32 2, ptr @optind, align 4 br label %28 28: ; preds = %27, %24 br label %29 29: ; preds = %28, %3 %30 = load i8, ptr @getoldopt.use_getopt, align 1 %31 = icmp ne i8 %30, 0 br i1 %31, label %32, label %37 32: ; preds = %29 %33 = load i32, ptr %5, align 4 %34 = load ptr, ptr %6, align 8 %35 = load ptr, ptr %7, align 8 %36 = call i32 @getopt(i32 noundef %33, ptr noundef %34, ptr noundef %35) store i32 %36, ptr %4, align 4 br label %94 37: ; preds = %29 %38 = load ptr, ptr @getoldopt.key, align 8 %39 = getelementptr inbounds i8, ptr %38, i32 1 store ptr %39, ptr @getoldopt.key, align 8 %40 = load i8, ptr %38, align 1 store i8 %40, ptr %8, align 1 %41 = load i8, ptr %8, align 1 %42 = sext i8 %41 to i32 %43 = icmp eq i32 %42, 0 br i1 %43, label %44, label %47 44: ; preds = %37 %45 = load ptr, ptr @getoldopt.key, align 8 %46 = getelementptr inbounds i8, ptr %45, i32 -1 store ptr %46, ptr @getoldopt.key, align 8 store i32 -1, ptr %4, align 4 br label %94 47: ; preds = %37 %48 = load ptr, ptr %7, align 8 %49 = load i8, ptr %8, align 1 %50 = call ptr @strchr(ptr noundef %48, i8 noundef signext %49) store ptr %50, ptr %9, align 8 %51 = load ptr, ptr %9, align 8 %52 = icmp eq ptr %51, null br i1 %52, label %57, label %53 53: ; preds = %47 %54 = load i8, ptr %8, align 1 %55 = sext i8 %54 to i32 %56 = icmp eq i32 %55, 58 br i1 %56, label %57, label %64 57: ; preds = %53, %47 %58 = load i32, ptr @stderr, align 4 %59 = load ptr, ptr %6, align 8 %60 = getelementptr inbounds ptr, ptr %59, i64 0 %61 = load ptr, ptr %60, align 8 %62 = load i8, ptr %8, align 1 %63 = call i32 @fprintf(i32 noundef %58, ptr noundef @.str, ptr noundef %61, i8 noundef signext %62) store i32 63, ptr %4, align 4 br label %94 64: ; preds = %53 %65 = load ptr, ptr %9, align 8 %66 = getelementptr inbounds i8, ptr %65, i32 1 store ptr %66, ptr %9, align 8 %67 = load ptr, ptr %9, align 8 %68 = load i8, ptr %67, align 1 %69 = sext i8 %68 to i32 %70 = icmp eq i32 %69, 58 br i1 %70, label %71, label %91 71: ; preds = %64 %72 = load i32, ptr @optind, align 4 %73 = load i32, ptr %5, align 4 %74 = icmp slt i32 %72, %73 br i1 %74, label %75, label %83 75: ; preds = %71 %76 = load ptr, ptr %6, align 8 %77 = load i32, ptr @optind, align 4 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds ptr, ptr %76, i64 %78 %80 = load ptr, ptr %79, align 8 store ptr %80, ptr @optarg, align 8 %81 = load i32, ptr @optind, align 4 %82 = add nsw i32 %81, 1 store i32 %82, ptr @optind, align 4 br label %90 83: ; preds = %71 %84 = load i32, ptr @stderr, align 4 %85 = load ptr, ptr %6, align 8 %86 = getelementptr inbounds ptr, ptr %85, i64 0 %87 = load ptr, ptr %86, align 8 %88 = load i8, ptr %8, align 1 %89 = call i32 @fprintf(i32 noundef %84, ptr noundef @.str.1, ptr noundef %87, i8 noundef signext %88) store i32 63, ptr %4, align 4 br label %94 90: ; preds = %75 br label %91 91: ; preds = %90, %64 %92 = load i8, ptr %8, align 1 %93 = sext i8 %92 to i32 store i32 %93, ptr %4, align 4 br label %94 94: ; preds = %91, %83, %57, %44, %32, %15 %95 = load i32, ptr %4, align 4 ret i32 %95 } declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqj30cb4p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @getoldopt.key = internal global ptr null, align 8 @getoldopt.use_getopt = internal global i8 0, align 1 @optarg = dso_local global ptr null, align 8 @optind = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [23 x i8] c"%s: unknown option %c\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"%s: %c argument missing\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getoldopt(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i8, align 1 %9 = alloca ptr, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr null, ptr @optarg, align 8 %10 = load ptr, ptr @getoldopt.key, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %29 12: ; preds = %3 %13 = load i32, ptr %5, align 4 %14 = icmp slt i32 %13, 2 br i1 %14, label %15, label %16 15: ; preds = %12 store i32 -1, ptr %4, align 4 br label %94 16: ; preds = %12 %17 = load ptr, ptr %6, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 1 %19 = load ptr, ptr %18, align 8 store ptr %19, ptr @getoldopt.key, align 8 %20 = load ptr, ptr @getoldopt.key, align 8 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp eq i32 %22, 45 br i1 %23, label %24, label %27 24: ; preds = %16 %25 = load i8, ptr @getoldopt.use_getopt, align 1 %26 = add i8 %25, 1 store i8 %26, ptr @getoldopt.use_getopt, align 1 br label %28 27: ; preds = %16 store i32 2, ptr @optind, align 4 br label %28 28: ; preds = %27, %24 br label %29 29: ; preds = %28, %3 %30 = load i8, ptr @getoldopt.use_getopt, align 1 %31 = icmp ne i8 %30, 0 br i1 %31, label %32, label %37 32: ; preds = %29 %33 = load i32, ptr %5, align 4 %34 = load ptr, ptr %6, align 8 %35 = load ptr, ptr %7, align 8 %36 = call i32 @getopt(i32 noundef %33, ptr noundef %34, ptr noundef %35) store i32 %36, ptr %4, align 4 br label %94 37: ; preds = %29 %38 = load ptr, ptr @getoldopt.key, align 8 %39 = getelementptr inbounds i8, ptr %38, i32 1 store ptr %39, ptr @getoldopt.key, align 8 %40 = load i8, ptr %38, align 1 store i8 %40, ptr %8, align 1 %41 = load i8, ptr %8, align 1 %42 = sext i8 %41 to i32 %43 = icmp eq i32 %42, 0 br i1 %43, label %44, label %47 44: ; preds = %37 %45 = load ptr, ptr @getoldopt.key, align 8 %46 = getelementptr inbounds i8, ptr %45, i32 -1 store ptr %46, ptr @getoldopt.key, align 8 store i32 -1, ptr %4, align 4 br label %94 47: ; preds = %37 %48 = load ptr, ptr %7, align 8 %49 = load i8, ptr %8, align 1 %50 = call ptr @strchr(ptr noundef %48, i8 noundef signext %49) store ptr %50, ptr %9, align 8 %51 = load ptr, ptr %9, align 8 %52 = icmp eq ptr %51, null br i1 %52, label %57, label %53 53: ; preds = %47 %54 = load i8, ptr %8, align 1 %55 = sext i8 %54 to i32 %56 = icmp eq i32 %55, 58 br i1 %56, label %57, label %64 57: ; preds = %53, %47 %58 = load i32, ptr @stderr, align 4 %59 = load ptr, ptr %6, align 8 %60 = getelementptr inbounds ptr, ptr %59, i64 0 %61 = load ptr, ptr %60, align 8 %62 = load i8, ptr %8, align 1 %63 = call i32 @fprintf(i32 noundef %58, ptr noundef @.str, ptr noundef %61, i8 noundef signext %62) store i32 63, ptr %4, align 4 br label %94 64: ; preds = %53 %65 = load ptr, ptr %9, align 8 %66 = getelementptr inbounds i8, ptr %65, i32 1 store ptr %66, ptr %9, align 8 %67 = load ptr, ptr %9, align 8 %68 = load i8, ptr %67, align 1 %69 = sext i8 %68 to i32 %70 = icmp eq i32 %69, 58 br i1 %70, label %71, label %91 71: ; preds = %64 %72 = load i32, ptr @optind, align 4 %73 = load i32, ptr %5, align 4 %74 = icmp slt i32 %72, %73 br i1 %74, label %75, label %83 75: ; preds = %71 %76 = load ptr, ptr %6, align 8 %77 = load i32, ptr @optind, align 4 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds ptr, ptr %76, i64 %78 %80 = load ptr, ptr %79, align 8 store ptr %80, ptr @optarg, align 8 %81 = load i32, ptr @optind, align 4 %82 = add nsw i32 %81, 1 store i32 %82, ptr @optind, align 4 br label %90 83: ; preds = %71 %84 = load i32, ptr @stderr, align 4 %85 = load ptr, ptr %6, align 8 %86 = getelementptr inbounds ptr, ptr %85, i64 0 %87 = load ptr, ptr %86, align 8 %88 = load i8, ptr %8, align 1 %89 = call i32 @fprintf(i32 noundef %84, ptr noundef @.str.1, ptr noundef %87, i8 noundef signext %88) store i32 63, ptr %4, align 4 br label %94 90: ; preds = %75 br label %91 91: ; preds = %90, %64 %92 = load i8, ptr %8, align 1 %93 = sext i8 %92 to i32 store i32 %93, ptr %4, align 4 br label %94 94: ; preds = %91, %83, %57, %44, %32, %15 %95 = load i32, ptr %4, align 4 ret i32 %95 } declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfxr96eyt.c' source_filename = "/tmp/tmpfxr96eyt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"%d\0A %p\0A\00", align 1 @.str.1 = 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 ptr, align 8 %3 = alloca ptr, align 8 store i32 100, ptr %1, align 4 store ptr %1, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = load i32, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %6, align 8 %8 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %5, ptr noundef %7) store ptr %2, ptr %3, align 8 %9 = load ptr, ptr %3, align 8 %10 = load ptr, ptr %9, align 8 %11 = load i32, ptr %10, align 4 %12 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %11) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfxr96eyt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"%d\0A %p\0A\00", align 1 @.str.1 = 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 ptr, align 8 %3 = alloca ptr, align 8 store i32 100, ptr %1, align 4 store ptr %1, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = load i32, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %6, align 8 %8 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %5, ptr noundef %7) store ptr %2, ptr %3, align 8 %9 = load ptr, ptr %3, align 8 %10 = load ptr, ptr %9, align 8 %11 = load i32, ptr %10, align 4 %12 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %11) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmput9oim34.c' source_filename = "/tmp/tmput9oim34.c" target datalayout = "e-m:e-p270: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 @osal_search_dir_open(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [260 x i8], align 16 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = getelementptr inbounds [260 x i8], ptr %3, i64 0, i64 0 %6 = load ptr, ptr %2, align 8 %7 = call i32 @wcstombs(ptr noundef %5, ptr noundef %6, i32 noundef 260) %8 = getelementptr inbounds [260 x i8], ptr %3, i64 0, i64 0 %9 = call ptr @opendir(ptr noundef %8) store ptr %9, ptr %4, align 8 %10 = load ptr, ptr %4, align 8 ret ptr %10 } declare i32 @wcstombs(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @opendir(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/tmput9oim34.c" target datalayout = "e-m:e-p270: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 @osal_search_dir_open(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [260 x i8], align 16 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = getelementptr inbounds [260 x i8], ptr %3, i64 0, i64 0 %6 = load ptr, ptr %2, align 8 %7 = call i32 @wcstombs(ptr noundef %5, ptr noundef %6, i32 noundef 260) %8 = getelementptr inbounds [260 x i8], ptr %3, i64 0, i64 0 %9 = call ptr @opendir(ptr noundef %8) store ptr %9, ptr %4, align 8 %10 = load ptr, ptr %4, align 8 ret ptr %10 } declare i32 @wcstombs(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @opendir(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/tmptqnj9_fb.c' source_filename = "/tmp/tmptqnj9_fb.c" target datalayout = "e-m:e-p270: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.statfs = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @statfs(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca %struct.statfs, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %8 = call i32 (...) @__infer_nondet_int() store i32 %8, ptr %5, align 4 %9 = load ptr, ptr %3, align 8 %10 = call i32 @__get_array_size(ptr noundef %9) store i32 %10, ptr %6, align 4 %11 = load ptr, ptr %4, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %11, ptr align 4 %7, i64 4, i1 false) %12 = load i32, ptr %5, align 4 %13 = icmp sgt i32 %12, 0 %14 = zext i1 %13 to i64 %15 = select i1 %13, i32 0, i32 -1 ret i32 %15 } declare i32 @__infer_nondet_int(...) #1 declare i32 @__get_array_size(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 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptqnj9_fb.c" target datalayout = "e-m:e-p270: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.statfs = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @statfs(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca %struct.statfs, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %8 = call i32 (...) @__infer_nondet_int() store i32 %8, ptr %5, align 4 %9 = load ptr, ptr %3, align 8 %10 = call i32 @__get_array_size(ptr noundef %9) store i32 %10, ptr %6, align 4 %11 = load ptr, ptr %4, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %11, ptr align 4 %7, i64 4, i1 false) %12 = load i32, ptr %5, align 4 %13 = icmp sgt i32 %12, 0 %14 = zext i1 %13 to i64 %15 = select i1 %13, i32 0, i32 -1 ret i32 %15 } declare i32 @__infer_nondet_int(...) #1 declare i32 @__get_array_size(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 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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"}