llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpfn1809yt.c' source_filename = "/tmp/tmpfn1809yt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @find_substr(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr null, ptr %6, align 8 br label %7 7: ; preds = %33, %2 %8 = load ptr, ptr %4, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %36 10: ; preds = %7 %11 = load ptr, ptr %4, align 8 %12 = load i8, ptr %11, align 1 %13 = sext i8 %12 to i32 %14 = icmp eq i32 %13, 10 br i1 %14, label %15, label %16 15: ; preds = %10 br label %36 16: ; preds = %10 %17 = load ptr, ptr %5, align 8 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = load ptr, ptr %4, align 8 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp eq i32 %19, %22 br i1 %23, label %24, label %33 24: ; preds = %16 %25 = load ptr, ptr %4, align 8 %26 = load ptr, ptr %5, align 8 %27 = call ptr @compare_str(ptr noundef %25, ptr noundef %26) store ptr %27, ptr %6, align 8 %28 = load ptr, ptr %6, align 8 %29 = icmp ne ptr %28, null br i1 %29, label %30, label %32 30: ; preds = %24 %31 = load ptr, ptr %6, align 8 store ptr %31, ptr %3, align 8 br label %38 32: ; preds = %24 br label %33 33: ; preds = %32, %16 %34 = load ptr, ptr %4, align 8 %35 = getelementptr inbounds i8, ptr %34, i32 1 store ptr %35, ptr %4, align 8 br label %7, !llvm.loop !6 36: ; preds = %15, %7 %37 = load ptr, ptr %6, align 8 store ptr %37, ptr %3, align 8 br label %38 38: ; preds = %36, %30 %39 = load ptr, ptr %3, align 8 ret ptr %39 } declare ptr @compare_str(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfn1809yt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @find_substr(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr null, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %32 %10 = load ptr, ptr %4, align 8 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = icmp eq i32 %12, 10 br i1 %13, label %14, label %15 14: ; preds = %9 br label %37 15: ; preds = %9 %16 = load ptr, ptr %5, align 8 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = load ptr, ptr %4, align 8 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = icmp eq i32 %18, %21 br i1 %22, label %23, label %32 23: ; preds = %15 %24 = load ptr, ptr %4, align 8 %25 = load ptr, ptr %5, align 8 %26 = call ptr @compare_str(ptr noundef %24, ptr noundef %25) store ptr %26, ptr %6, align 8 %27 = load ptr, ptr %6, align 8 %28 = icmp ne ptr %27, null br i1 %28, label %29, label %31 29: ; preds = %23 %30 = load ptr, ptr %6, align 8 store ptr %30, ptr %3, align 8 br label %39 31: ; preds = %23 br label %32 32: ; preds = %31, %15 %33 = load ptr, ptr %4, align 8 %34 = getelementptr inbounds i8, ptr %33, i32 1 store ptr %34, ptr %4, align 8 %35 = load ptr, ptr %4, align 8 %36 = icmp ne ptr %35, null br i1 %36, label %9, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %32 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %2 br label %37 37: ; preds = %.loopexit, %14 %38 = load ptr, ptr %6, align 8 store ptr %38, ptr %3, align 8 br label %39 39: ; preds = %37, %29 %40 = load ptr, ptr %3, align 8 ret ptr %40 } declare ptr @compare_str(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpth6nxfju.c' source_filename = "/tmp/tmpth6nxfju.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_4__ = type { %struct.TYPE_3__ } %struct.TYPE_3__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_XEvent_xcolormap_colormap(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_4__, ptr %6, i32 0, i32 0 %8 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 0 store i64 %5, ptr %8, 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/tmpth6nxfju.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_4__ = type { %struct.TYPE_3__ } %struct.TYPE_3__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_XEvent_xcolormap_colormap(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_4__, ptr %6, i32 0, i32 0 %8 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 0 store i64 %5, ptr %8, 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/tmp5l3nj8yw.c' source_filename = "/tmp/tmp5l3nj8yw.c" target datalayout = "e-m:e-p270: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 [585 x i8] c"----------------------------------------------------\0A Welcome to doom's crappy number storage service! \0A Version 2.0 - With more security! \0A----------------------------------------------------\0A Commands: \0A store - store a number into the data storage \0A read - read a number from the data storage \0A quit - exit the program \0A----------------------------------------------------\0A doom has reserved some storage for himself :> \0A----------------------------------------------------\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"Input command: \00", align 1 @stdin = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [6 x i8] c"store\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"read\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"quit\00", align 1 @.str.5 = private unnamed_addr constant [26 x i8] c" Failed to do %s command\0A\00", align 1 @.str.6 = private unnamed_addr constant [36 x i8] c" Completed %s command successfully\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1, 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 i32, align 4 %9 = alloca [20 x i8], align 16 %10 = alloca [100 x i32], align 16 store i32 0, ptr %4, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 0, ptr %8, align 4 call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 20, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 400, i1 false) br label %11 11: ; preds = %22, %3 %12 = load ptr, ptr %6, align 8 %13 = load ptr, ptr %12, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %15, label %25 15: ; preds = %11 %16 = load ptr, ptr %6, align 8 %17 = load ptr, ptr %16, align 8 %18 = load ptr, ptr %6, align 8 %19 = load ptr, ptr %18, align 8 %20 = call i32 @strlen(ptr noundef %19) %21 = call i32 @memset(ptr noundef %17, i32 noundef 0, i32 noundef %20) br label %22 22: ; preds = %15 %23 = load ptr, ptr %6, align 8 %24 = getelementptr inbounds ptr, ptr %23, i32 1 store ptr %24, ptr %6, align 8 br label %11, !llvm.loop !6 25: ; preds = %11 br label %26 26: ; preds = %37, %25 %27 = load ptr, ptr %7, align 8 %28 = load ptr, ptr %27, align 8 %29 = icmp ne ptr %28, null br i1 %29, label %30, label %40 30: ; preds = %26 %31 = load ptr, ptr %7, align 8 %32 = load ptr, ptr %31, align 8 %33 = load ptr, ptr %7, align 8 %34 = load ptr, ptr %33, align 8 %35 = call i32 @strlen(ptr noundef %34) %36 = call i32 @memset(ptr noundef %32, i32 noundef 0, i32 noundef %35) br label %37 37: ; preds = %30 %38 = load ptr, ptr %7, align 8 %39 = getelementptr inbounds ptr, ptr %38, i32 1 store ptr %39, ptr %7, align 8 br label %26, !llvm.loop !8 40: ; preds = %26 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %42 42: ; preds = %40, %81 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 1, ptr %8, align 4 %44 = getelementptr inbounds [20 x i8], ptr %9, i64 0, i64 0 %45 = load i32, ptr @stdin, align 4 %46 = call i32 @fgets(ptr noundef %44, i32 noundef 20, i32 noundef %45) %47 = getelementptr inbounds [20 x i8], ptr %9, i64 0, i64 0 %48 = call i32 @strlen(ptr noundef %47) %49 = sub nsw i32 %48, 1 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds [20 x i8], ptr %9, i64 0, i64 %50 store i8 0, ptr %51, align 1 %52 = getelementptr inbounds [20 x i8], ptr %9, i64 0, i64 0 %53 = call i32 @strncmp(ptr noundef %52, ptr noundef @.str.2, i32 noundef 5) %54 = icmp ne i32 %53, 0 br i1 %54, label %58, label %55 55: ; preds = %42 %56 = getelementptr inbounds [100 x i32], ptr %10, i64 0, i64 0 %57 = call i32 @store_number(ptr noundef %56) store i32 %57, ptr %8, align 4 br label %72 58: ; preds = %42 %59 = getelementptr inbounds [20 x i8], ptr %9, i64 0, i64 0 %60 = call i32 @strncmp(ptr noundef %59, ptr noundef @.str.3, i32 noundef 4) %61 = icmp ne i32 %60, 0 br i1 %61, label %65, label %62 62: ; preds = %58 %63 = getelementptr inbounds [100 x i32], ptr %10, i64 0, i64 0 %64 = call i32 @read_number(ptr noundef %63) store i32 %64, ptr %8, align 4 br label %71 65: ; preds = %58 %66 = getelementptr inbounds [20 x i8], ptr %9, i64 0, i64 0 %67 = call i32 @strncmp(ptr noundef %66, ptr noundef @.str.4, i32 noundef 4) %68 = icmp ne i32 %67, 0 br i1 %68, label %70, label %69 69: ; preds = %65 br label %84 70: ; preds = %65 br label %71 71: ; preds = %70, %62 br label %72 72: ; preds = %71, %55 %73 = load i32, ptr %8, align 4 %74 = icmp ne i32 %73, 0 br i1 %74, label %75, label %78 75: ; preds = %72 %76 = getelementptr inbounds [20 x i8], ptr %9, i64 0, i64 0 %77 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %76) br label %81 78: ; preds = %72 %79 = getelementptr inbounds [20 x i8], ptr %9, i64 0, i64 0 %80 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %79) br label %81 81: ; preds = %78, %75 %82 = getelementptr inbounds [20 x i8], ptr %9, i64 0, i64 0 %83 = call i32 @memset(ptr noundef %82, i32 noundef 0, i32 noundef 20) br label %42 84: ; preds = %69 %85 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %85 } ; 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 @memset(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @strlen(ptr noundef) #2 declare i32 @printf(ptr noundef, ...) #2 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @store_number(ptr noundef) #2 declare i32 @read_number(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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5l3nj8yw.c" target datalayout = "e-m:e-p270: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 [585 x i8] c"----------------------------------------------------\0A Welcome to doom's crappy number storage service! \0A Version 2.0 - With more security! \0A----------------------------------------------------\0A Commands: \0A store - store a number into the data storage \0A read - read a number from the data storage \0A quit - exit the program \0A----------------------------------------------------\0A doom has reserved some storage for himself :> \0A----------------------------------------------------\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"Input command: \00", align 1 @stdin = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [6 x i8] c"store\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"read\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"quit\00", align 1 @.str.5 = private unnamed_addr constant [26 x i8] c" Failed to do %s command\0A\00", align 1 @.str.6 = private unnamed_addr constant [36 x i8] c" Completed %s command successfully\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1, 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 i32, align 4 %9 = alloca [20 x i8], align 16 %10 = alloca [100 x i32], align 16 store i32 0, ptr %4, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 0, ptr %8, align 4 call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 20, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 400, i1 false) %11 = load ptr, ptr %6, align 8 %12 = load ptr, ptr %11, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %.lr.ph, label %27 .lr.ph: ; preds = %3 br label %14 14: ; preds = %.lr.ph, %21 %15 = load ptr, ptr %6, align 8 %16 = load ptr, ptr %15, align 8 %17 = load ptr, ptr %6, align 8 %18 = load ptr, ptr %17, align 8 %19 = call i32 @strlen(ptr noundef %18) %20 = call i32 @memset(ptr noundef %16, i32 noundef 0, i32 noundef %19) br label %21 21: ; preds = %14 %22 = load ptr, ptr %6, align 8 %23 = getelementptr inbounds ptr, ptr %22, i32 1 store ptr %23, ptr %6, align 8 %24 = load ptr, ptr %6, align 8 %25 = load ptr, ptr %24, align 8 %26 = icmp ne ptr %25, null br i1 %26, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %27 27: ; preds = %._crit_edge, %3 %28 = load ptr, ptr %7, align 8 %29 = load ptr, ptr %28, align 8 %30 = icmp ne ptr %29, null br i1 %30, label %.lr.ph2, label %44 .lr.ph2: ; preds = %27 br label %31 31: ; preds = %.lr.ph2, %38 %32 = load ptr, ptr %7, align 8 %33 = load ptr, ptr %32, align 8 %34 = load ptr, ptr %7, align 8 %35 = load ptr, ptr %34, align 8 %36 = call i32 @strlen(ptr noundef %35) %37 = call i32 @memset(ptr noundef %33, i32 noundef 0, i32 noundef %36) br label %38 38: ; preds = %31 %39 = load ptr, ptr %7, align 8 %40 = getelementptr inbounds ptr, ptr %39, i32 1 store ptr %40, ptr %7, align 8 %41 = load ptr, ptr %7, align 8 %42 = load ptr, ptr %41, align 8 %43 = icmp ne ptr %42, null br i1 %43, label %31, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %38 br label %44 44: ; preds = %._crit_edge3, %27 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str) %46 = getelementptr inbounds [20 x i8], ptr %9, i64 0, i64 0 br label %47 47: ; preds = %85, %44 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 1, ptr %8, align 4 %49 = getelementptr inbounds [20 x i8], ptr %9, i64 0, i64 0 %50 = load i32, ptr @stdin, align 4 %51 = call i32 @fgets(ptr noundef %49, i32 noundef 20, i32 noundef %50) %52 = getelementptr inbounds [20 x i8], ptr %9, i64 0, i64 0 %53 = call i32 @strlen(ptr noundef %52) %54 = sub nsw i32 %53, 1 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds [20 x i8], ptr %9, i64 0, i64 %55 store i8 0, ptr %56, align 1 %57 = getelementptr inbounds [20 x i8], ptr %9, i64 0, i64 0 %58 = call i32 @strncmp(ptr noundef %57, ptr noundef @.str.2, i32 noundef 5) %59 = icmp ne i32 %58, 0 br i1 %59, label %63, label %60 60: ; preds = %47 %61 = getelementptr inbounds [100 x i32], ptr %10, i64 0, i64 0 %62 = call i32 @store_number(ptr noundef %61) store i32 %62, ptr %8, align 4 br label %76 63: ; preds = %47 %64 = getelementptr inbounds [20 x i8], ptr %9, i64 0, i64 0 %65 = call i32 @strncmp(ptr noundef %64, ptr noundef @.str.3, i32 noundef 4) %66 = icmp ne i32 %65, 0 br i1 %66, label %70, label %67 67: ; preds = %63 %68 = getelementptr inbounds [100 x i32], ptr %10, i64 0, i64 0 %69 = call i32 @read_number(ptr noundef %68) store i32 %69, ptr %8, align 4 br label %75 70: ; preds = %63 %71 = call i32 @strncmp(ptr noundef %46, ptr noundef @.str.4, i32 noundef 4) %72 = icmp ne i32 %71, 0 br i1 %72, label %74, label %73 73: ; preds = %70 br label %88 74: ; preds = %70 br label %75 75: ; preds = %74, %67 br label %76 76: ; preds = %75, %60 %77 = load i32, ptr %8, align 4 %78 = icmp ne i32 %77, 0 br i1 %78, label %79, label %82 79: ; preds = %76 %80 = getelementptr inbounds [20 x i8], ptr %9, i64 0, i64 0 %81 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %80) br label %85 82: ; preds = %76 %83 = getelementptr inbounds [20 x i8], ptr %9, i64 0, i64 0 %84 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %83) br label %85 85: ; preds = %82, %79 %86 = getelementptr inbounds [20 x i8], ptr %9, i64 0, i64 0 %87 = call i32 @memset(ptr noundef %86, i32 noundef 0, i32 noundef 20) br label %47 88: ; preds = %73 %89 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %89 } ; 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 @memset(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @strlen(ptr noundef) #2 declare i32 @printf(ptr noundef, ...) #2 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @store_number(ptr noundef) #2 declare i32 @read_number(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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpnmbrr_3v.c' source_filename = "/tmp/tmpnmbrr_3v.c" target datalayout = "e-m:e-p270: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"mkstemp()\00", align 1 @errno = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [153 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/picotm/picotm/refs/heads/master/tests/libsafeblk/safe_stdlib.c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @safe_mkstemp(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @mkstemp(ptr noundef %4) store i32 %5, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp slt i32 %6, 0 br i1 %7, label %8, label %12 8: ; preds = %1 %9 = load i32, ptr @errno, align 4 %10 = call i32 @tap_error_errno_at(ptr noundef @.str, i32 noundef %9, ptr noundef @.str.1, i32 noundef 67) %11 = call i32 (...) @abort_safe_block() br label %12 12: ; preds = %8, %1 %13 = load i32, ptr %3, align 4 ret i32 %13 } declare i32 @mkstemp(ptr noundef) #1 declare i32 @tap_error_errno_at(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @abort_safe_block(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnmbrr_3v.c" target datalayout = "e-m:e-p270: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"mkstemp()\00", align 1 @errno = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [153 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/picotm/picotm/refs/heads/master/tests/libsafeblk/safe_stdlib.c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @safe_mkstemp(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @mkstemp(ptr noundef %4) store i32 %5, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp slt i32 %6, 0 br i1 %7, label %8, label %12 8: ; preds = %1 %9 = load i32, ptr @errno, align 4 %10 = call i32 @tap_error_errno_at(ptr noundef @.str, i32 noundef %9, ptr noundef @.str.1, i32 noundef 67) %11 = call i32 (...) @abort_safe_block() br label %12 12: ; preds = %8, %1 %13 = load i32, ptr %3, align 4 ret i32 %13 } declare i32 @mkstemp(ptr noundef) #1 declare i32 @tap_error_errno_at(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @abort_safe_block(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphzccjrxw.c' source_filename = "/tmp/tmphzccjrxw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vo_draw_alpha_yv12(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5, i32 noundef %6) #0 { %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 store i32 %0, ptr %8, align 4 store i32 %1, ptr %9, align 4 store ptr %2, ptr %10, align 8 store ptr %3, ptr %11, align 8 store i32 %4, ptr %12, align 4 store ptr %5, ptr %13, align 8 store i32 %6, ptr %14, align 4 %15 = load i32, ptr %8, align 4 %16 = load i32, ptr %9, align 4 %17 = load ptr, ptr %10, align 8 %18 = load ptr, ptr %11, align 8 %19 = load i32, ptr %12, align 4 %20 = load ptr, ptr %13, align 8 %21 = load i32, ptr %14, align 4 %22 = call i32 @vo_draw_alpha_yv12_C(i32 noundef %15, i32 noundef %16, ptr noundef %17, ptr noundef %18, i32 noundef %19, ptr noundef %20, i32 noundef %21) ret void } declare i32 @vo_draw_alpha_yv12_C(i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphzccjrxw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vo_draw_alpha_yv12(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5, i32 noundef %6) #0 { %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 store i32 %0, ptr %8, align 4 store i32 %1, ptr %9, align 4 store ptr %2, ptr %10, align 8 store ptr %3, ptr %11, align 8 store i32 %4, ptr %12, align 4 store ptr %5, ptr %13, align 8 store i32 %6, ptr %14, align 4 %15 = load i32, ptr %8, align 4 %16 = load i32, ptr %9, align 4 %17 = load ptr, ptr %10, align 8 %18 = load ptr, ptr %11, align 8 %19 = load i32, ptr %12, align 4 %20 = load ptr, ptr %13, align 8 %21 = load i32, ptr %14, align 4 %22 = call i32 @vo_draw_alpha_yv12_C(i32 noundef %15, i32 noundef %16, ptr noundef %17, ptr noundef %18, i32 noundef %19, ptr noundef %20, i32 noundef %21) ret void } declare i32 @vo_draw_alpha_yv12_C(i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1fp5vqhc.c' source_filename = "/tmp/tmp1fp5vqhc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @be_write_double(ptr noundef %0, double noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca double, align 8 store ptr %0, ptr %3, align 8 store double %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load double, ptr %4, align 8 %7 = call i32 @endian_write_double(ptr noundef %5, double noundef %6, i32 noundef 0) ret void } declare i32 @endian_write_double(ptr noundef, double 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/tmp1fp5vqhc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @be_write_double(ptr noundef %0, double noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca double, align 8 store ptr %0, ptr %3, align 8 store double %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load double, ptr %4, align 8 %7 = call i32 @endian_write_double(ptr noundef %5, double noundef %6, i32 noundef 0) ret void } declare i32 @endian_write_double(ptr noundef, double 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/tmp_ol102vp.c' source_filename = "/tmp/tmp_ol102vp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_ol102vp.c" target datalayout = "e-m:e-p270: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/tmpyttbe24d.c' source_filename = "/tmp/tmpyttbe24d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @String_split(ptr noundef %0, i8 noundef signext %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i8, align 1 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i8 %1, ptr %4, align 1 store i32 10, ptr %5, align 4 %14 = call i64 @malloc(i32 noundef 80) %15 = inttoptr i64 %14 to ptr store ptr %15, ptr %6, align 8 store i32 0, ptr %7, align 4 store i32 10, ptr %8, align 4 br label %16 16: ; preds = %59, %2 %17 = load ptr, ptr %3, align 8 %18 = load i8, ptr %4, align 1 %19 = call ptr @strchr(ptr noundef %17, i8 noundef signext %18) store ptr %19, ptr %9, align 8 %20 = icmp ne ptr %19, null br i1 %20, label %21, label %65 21: ; preds = %16 %22 = load ptr, ptr %9, align 8 %23 = load ptr, ptr %3, align 8 %24 = ptrtoint ptr %22 to i64 %25 = ptrtoint ptr %23 to i64 %26 = sub i64 %24, %25 %27 = trunc i64 %26 to i32 store i32 %27, ptr %10, align 4 %28 = load i32, ptr %10, align 4 %29 = add nsw i32 %28, 1 %30 = call i64 @malloc(i32 noundef %29) %31 = inttoptr i64 %30 to ptr store ptr %31, ptr %11, align 8 %32 = load ptr, ptr %11, align 8 %33 = load ptr, ptr %3, align 8 %34 = load i32, ptr %10, align 4 %35 = call i32 @strncpy(ptr noundef %32, ptr noundef %33, i32 noundef %34) %36 = load ptr, ptr %11, align 8 %37 = load i32, ptr %10, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i8, ptr %36, i64 %38 store i8 0, ptr %39, align 1 %40 = load ptr, ptr %11, align 8 %41 = load ptr, ptr %6, align 8 %42 = load i32, ptr %7, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds ptr, ptr %41, i64 %43 store ptr %40, ptr %44, align 8 %45 = load i32, ptr %7, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %7, align 4 %47 = load i32, ptr %7, align 4 %48 = load i32, ptr %8, align 4 %49 = icmp eq i32 %47, %48 br i1 %49, label %50, label %59 50: ; preds = %21 %51 = load i32, ptr %8, align 4 %52 = add nsw i32 %51, 10 store i32 %52, ptr %8, align 4 %53 = load ptr, ptr %6, align 8 %54 = load i32, ptr %8, align 4 %55 = sext i32 %54 to i64 %56 = mul i64 8, %55 %57 = trunc i64 %56 to i32 %58 = call ptr @realloc(ptr noundef %53, i32 noundef %57) store ptr %58, ptr %6, align 8 br label %59 59: ; preds = %50, %21 %60 = load i32, ptr %10, align 4 %61 = add nsw i32 %60, 1 %62 = load ptr, ptr %3, align 8 %63 = sext i32 %61 to i64 %64 = getelementptr inbounds i8, ptr %62, i64 %63 store ptr %64, ptr %3, align 8 br label %16, !llvm.loop !6 65: ; preds = %16 %66 = load ptr, ptr %3, align 8 %67 = getelementptr inbounds i8, ptr %66, i64 0 %68 = load i8, ptr %67, align 1 %69 = sext i8 %68 to i32 %70 = icmp ne i32 %69, 0 br i1 %70, label %71, label %90 71: ; preds = %65 %72 = load ptr, ptr %3, align 8 %73 = call i32 @strlen(ptr noundef %72) store i32 %73, ptr %12, align 4 %74 = load i32, ptr %12, align 4 %75 = add nsw i32 %74, 1 %76 = call i64 @malloc(i32 noundef %75) %77 = inttoptr i64 %76 to ptr store ptr %77, ptr %13, align 8 %78 = load ptr, ptr %13, align 8 %79 = load ptr, ptr %3, align 8 %80 = load i32, ptr %12, align 4 %81 = add nsw i32 %80, 1 %82 = call i32 @strncpy(ptr noundef %78, ptr noundef %79, i32 noundef %81) %83 = load ptr, ptr %13, align 8 %84 = load ptr, ptr %6, align 8 %85 = load i32, ptr %7, align 4 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds ptr, ptr %84, i64 %86 store ptr %83, ptr %87, align 8 %88 = load i32, ptr %7, align 4 %89 = add nsw i32 %88, 1 store i32 %89, ptr %7, align 4 br label %90 90: ; preds = %71, %65 %91 = load ptr, ptr %6, align 8 %92 = load i32, ptr %7, align 4 %93 = add nsw i32 %92, 1 %94 = sext i32 %93 to i64 %95 = mul i64 8, %94 %96 = trunc i64 %95 to i32 %97 = call ptr @realloc(ptr noundef %91, i32 noundef %96) store ptr %97, ptr %6, align 8 %98 = load ptr, ptr %6, align 8 %99 = load i32, ptr %7, align 4 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds ptr, ptr %98, i64 %100 store ptr null, ptr %101, align 8 %102 = load ptr, ptr %6, align 8 ret ptr %102 } declare i64 @malloc(i32 noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @realloc(ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyttbe24d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @String_split(ptr noundef %0, i8 noundef signext %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i8, align 1 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i8 %1, ptr %4, align 1 store i32 10, ptr %5, align 4 %14 = call i64 @malloc(i32 noundef 80) %15 = inttoptr i64 %14 to ptr store ptr %15, ptr %6, align 8 store i32 0, ptr %7, align 4 store i32 10, ptr %8, align 4 %16 = load ptr, ptr %3, align 8 %17 = load i8, ptr %4, align 1 %18 = call ptr @strchr(ptr noundef %16, i8 noundef signext %17) store ptr %18, ptr %9, align 8 %19 = icmp ne ptr %18, null br i1 %19, label %.lr.ph, label %68 .lr.ph: ; preds = %2 br label %20 20: ; preds = %.lr.ph, %58 %21 = load ptr, ptr %9, align 8 %22 = load ptr, ptr %3, align 8 %23 = ptrtoint ptr %21 to i64 %24 = ptrtoint ptr %22 to i64 %25 = sub i64 %23, %24 %26 = trunc i64 %25 to i32 store i32 %26, ptr %10, align 4 %27 = load i32, ptr %10, align 4 %28 = add nsw i32 %27, 1 %29 = call i64 @malloc(i32 noundef %28) %30 = inttoptr i64 %29 to ptr store ptr %30, ptr %11, align 8 %31 = load ptr, ptr %11, align 8 %32 = load ptr, ptr %3, align 8 %33 = load i32, ptr %10, align 4 %34 = call i32 @strncpy(ptr noundef %31, ptr noundef %32, i32 noundef %33) %35 = load ptr, ptr %11, align 8 %36 = load i32, ptr %10, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %35, i64 %37 store i8 0, ptr %38, align 1 %39 = load ptr, ptr %11, align 8 %40 = load ptr, ptr %6, align 8 %41 = load i32, ptr %7, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds ptr, ptr %40, i64 %42 store ptr %39, ptr %43, align 8 %44 = load i32, ptr %7, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %7, align 4 %46 = load i32, ptr %7, align 4 %47 = load i32, ptr %8, align 4 %48 = icmp eq i32 %46, %47 br i1 %48, label %49, label %58 49: ; preds = %20 %50 = load i32, ptr %8, align 4 %51 = add nsw i32 %50, 10 store i32 %51, ptr %8, align 4 %52 = load ptr, ptr %6, align 8 %53 = load i32, ptr %8, align 4 %54 = sext i32 %53 to i64 %55 = mul i64 8, %54 %56 = trunc i64 %55 to i32 %57 = call ptr @realloc(ptr noundef %52, i32 noundef %56) store ptr %57, ptr %6, align 8 br label %58 58: ; preds = %49, %20 %59 = load i32, ptr %10, align 4 %60 = add nsw i32 %59, 1 %61 = load ptr, ptr %3, align 8 %62 = sext i32 %60 to i64 %63 = getelementptr inbounds i8, ptr %61, i64 %62 store ptr %63, ptr %3, align 8 %64 = load ptr, ptr %3, align 8 %65 = load i8, ptr %4, align 1 %66 = call ptr @strchr(ptr noundef %64, i8 noundef signext %65) store ptr %66, ptr %9, align 8 %67 = icmp ne ptr %66, null br i1 %67, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %58 br label %68 68: ; preds = %._crit_edge, %2 %69 = load ptr, ptr %3, align 8 %70 = getelementptr inbounds i8, ptr %69, i64 0 %71 = load i8, ptr %70, align 1 %72 = sext i8 %71 to i32 %73 = icmp ne i32 %72, 0 br i1 %73, label %74, label %93 74: ; preds = %68 %75 = load ptr, ptr %3, align 8 %76 = call i32 @strlen(ptr noundef %75) store i32 %76, ptr %12, align 4 %77 = load i32, ptr %12, align 4 %78 = add nsw i32 %77, 1 %79 = call i64 @malloc(i32 noundef %78) %80 = inttoptr i64 %79 to ptr store ptr %80, ptr %13, align 8 %81 = load ptr, ptr %13, align 8 %82 = load ptr, ptr %3, align 8 %83 = load i32, ptr %12, align 4 %84 = add nsw i32 %83, 1 %85 = call i32 @strncpy(ptr noundef %81, ptr noundef %82, i32 noundef %84) %86 = load ptr, ptr %13, align 8 %87 = load ptr, ptr %6, align 8 %88 = load i32, ptr %7, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds ptr, ptr %87, i64 %89 store ptr %86, ptr %90, align 8 %91 = load i32, ptr %7, align 4 %92 = add nsw i32 %91, 1 store i32 %92, ptr %7, align 4 br label %93 93: ; preds = %74, %68 %94 = load ptr, ptr %6, align 8 %95 = load i32, ptr %7, align 4 %96 = add nsw i32 %95, 1 %97 = sext i32 %96 to i64 %98 = mul i64 8, %97 %99 = trunc i64 %98 to i32 %100 = call ptr @realloc(ptr noundef %94, i32 noundef %99) store ptr %100, ptr %6, align 8 %101 = load ptr, ptr %6, align 8 %102 = load i32, ptr %7, align 4 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds ptr, ptr %101, i64 %103 store ptr null, ptr %104, align 8 %105 = load ptr, ptr %6, align 8 ret ptr %105 } declare i64 @malloc(i32 noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @realloc(ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpaeudjjcg.c' source_filename = "/tmp/tmpaeudjjcg.c" target datalayout = "e-m:e-p270: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/tmpaeudjjcg.c" target datalayout = "e-m:e-p270: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/tmp7jedu_3z.c' source_filename = "/tmp/tmp7jedu_3z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"Catched SIGHUP.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @catch_hangup(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 (...) @read_conf() ret void } declare i32 @printf(ptr noundef) #1 declare i32 @read_conf(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7jedu_3z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"Catched SIGHUP.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @catch_hangup(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 (...) @read_conf() ret void } declare i32 @printf(ptr noundef) #1 declare i32 @read_conf(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8y1515yi.c' source_filename = "/tmp/tmp8y1515yi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fun4(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %6 = load i32, ptr %4, align 4 %7 = load i32, ptr %5, align 4 %8 = icmp sgt i32 %6, %7 br i1 %8, label %9, label %15 9: ; preds = %2 %10 = load i32, ptr %4, align 4 %11 = sub nsw i32 %10, 1 %12 = load i32, ptr %5, align 4 %13 = add nsw i32 %12, 1 %14 = call i32 @fun0(i32 noundef %11, i32 noundef %13) store i32 %14, ptr %3, align 4 br label %19 15: ; preds = %2 %16 = load i32, ptr %5, align 4 %17 = load i32, ptr %4, align 4 %18 = sub nsw i32 %16, %17 store i32 %18, ptr %3, align 4 br label %19 19: ; preds = %15, %9 %20 = load i32, ptr %3, align 4 ret i32 %20 } declare i32 @fun0(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/tmp8y1515yi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fun4(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %6 = load i32, ptr %4, align 4 %7 = load i32, ptr %5, align 4 %8 = icmp sgt i32 %6, %7 br i1 %8, label %9, label %15 9: ; preds = %2 %10 = load i32, ptr %4, align 4 %11 = sub nsw i32 %10, 1 %12 = load i32, ptr %5, align 4 %13 = add nsw i32 %12, 1 %14 = call i32 @fun0(i32 noundef %11, i32 noundef %13) store i32 %14, ptr %3, align 4 br label %19 15: ; preds = %2 %16 = load i32, ptr %5, align 4 %17 = load i32, ptr %4, align 4 %18 = sub nsw i32 %16, %17 store i32 %18, ptr %3, align 4 br label %19 19: ; preds = %15, %9 %20 = load i32, ptr %3, align 4 ret i32 %20 } declare i32 @fun0(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/tmprkzgj074.c' source_filename = "/tmp/tmprkzgj074.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_tree(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 store ptr %4, ptr %10, align 8 %11 = load i32, ptr @stdout, align 4 %12 = load ptr, ptr %6, align 8 %13 = load i32, ptr %7, align 4 %14 = load i32, ptr %8, align 4 %15 = load i32, ptr %9, align 4 %16 = load ptr, ptr %10, align 8 %17 = call i32 @fprint_tree(i32 noundef %11, ptr noundef %12, i32 noundef %13, i32 noundef %14, i32 noundef %15, ptr noundef %16) ret void } declare i32 @fprint_tree(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprkzgj074.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_tree(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 store ptr %4, ptr %10, align 8 %11 = load i32, ptr @stdout, align 4 %12 = load ptr, ptr %6, align 8 %13 = load i32, ptr %7, align 4 %14 = load i32, ptr %8, align 4 %15 = load i32, ptr %9, align 4 %16 = load ptr, ptr %10, align 8 %17 = call i32 @fprint_tree(i32 noundef %11, ptr noundef %12, i32 noundef %13, i32 noundef %14, i32 noundef %15, ptr noundef %16) ret void } declare i32 @fprint_tree(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp49lwe6bo.c' source_filename = "/tmp/tmp49lwe6bo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @BEV_EVENT_EOF = dso_local global i16 0, align 2 @BEV_EVENT_ERROR = dso_local global i16 0, align 2 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp49lwe6bo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @BEV_EVENT_EOF = dso_local global i16 0, align 2 @BEV_EVENT_ERROR = dso_local global i16 0, align 2 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmph4a_mck7.c' source_filename = "/tmp/tmph4a_mck7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 (...) @__VERIFIER_nondet_int() store i32 %5, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp slt i32 %6, 1 br i1 %7, label %12, label %8 8: ; preds = %0 %9 = load i32, ptr %2, align 4 %10 = sext i32 %9 to i64 %11 = icmp uge i64 %10, 536870911 br i1 %11, label %12, label %13 12: ; preds = %8, %0 store i32 1, ptr %2, align 4 br label %13 13: ; preds = %12, %8 %14 = load i32, ptr %2, align 4 %15 = sext i32 %14 to i64 %16 = mul i64 %15, 4 %17 = trunc i64 %16 to i32 %18 = call i64 @alloca(i32 noundef %17) %19 = inttoptr i64 %18 to ptr store ptr %19, ptr %3, align 8 store i32 0, ptr %4, align 4 br label %20 20: ; preds = %30, %13 %21 = load i32, ptr %4, align 4 %22 = load i32, ptr %2, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %24, label %33 24: ; preds = %20 %25 = call i32 (...) @__VERIFIER_nondet_int() %26 = load ptr, ptr %3, align 8 %27 = load i32, ptr %4, 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 = %24 %31 = load i32, ptr %4, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %4, align 4 br label %20, !llvm.loop !6 33: ; preds = %20 %34 = load ptr, ptr %3, align 8 %35 = load i32, ptr %2, align 4 %36 = call i32 @test_fun(ptr noundef %34, i32 noundef %35) %37 = load i32, ptr %1, align 4 ret i32 %37 } declare i32 @__VERIFIER_nondet_int(...) #1 declare i64 @alloca(i32 noundef) #1 declare i32 @test_fun(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/tmph4a_mck7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 (...) @__VERIFIER_nondet_int() store i32 %5, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp slt i32 %6, 1 br i1 %7, label %12, label %8 8: ; preds = %0 %9 = load i32, ptr %2, align 4 %10 = sext i32 %9 to i64 %11 = icmp uge i64 %10, 536870911 br i1 %11, label %12, label %13 12: ; preds = %8, %0 store i32 1, ptr %2, align 4 br label %13 13: ; preds = %12, %8 %14 = load i32, ptr %2, align 4 %15 = sext i32 %14 to i64 %16 = mul i64 %15, 4 %17 = trunc i64 %16 to i32 %18 = call i64 @alloca(i32 noundef %17) %19 = inttoptr i64 %18 to ptr store ptr %19, ptr %3, align 8 store i32 0, ptr %4, align 4 %20 = load i32, ptr %4, align 4 %21 = load i32, ptr %2, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %.lr.ph, label %35 .lr.ph: ; preds = %13 br label %23 23: ; preds = %.lr.ph, %29 %24 = call i32 (...) @__VERIFIER_nondet_int() %25 = load ptr, ptr %3, align 8 %26 = load i32, ptr %4, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i32, ptr %25, i64 %27 store i32 %24, ptr %28, align 4 br label %29 29: ; preds = %23 %30 = load i32, ptr %4, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %4, align 4 %32 = load i32, ptr %4, align 4 %33 = load i32, ptr %2, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %23, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %35 35: ; preds = %._crit_edge, %13 %36 = load ptr, ptr %3, align 8 %37 = load i32, ptr %2, align 4 %38 = call i32 @test_fun(ptr noundef %36, i32 noundef %37) %39 = load i32, ptr %1, align 4 ret i32 %39 } declare i32 @__VERIFIER_nondet_int(...) #1 declare i64 @alloca(i32 noundef) #1 declare i32 @test_fun(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/tmp7slr69zk.c' source_filename = "/tmp/tmp7slr69zk.c" target datalayout = "e-m:e-p270: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/tmp7slr69zk.c" target datalayout = "e-m:e-p270: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/tmp47m5n5j8.c' source_filename = "/tmp/tmp47m5n5j8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SSIDMADisable(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 store volatile i64 %0, ptr %3, align 8 store volatile i64 %1, ptr %4, align 8 %5 = load volatile i64, ptr %4, align 8 %6 = xor i64 %5, -1 %7 = load volatile i64, ptr %3, align 8 %8 = add nsw i64 %7, 36 %9 = inttoptr i64 %8 to ptr %10 = load volatile i64, ptr %9, align 8 %11 = and i64 %10, %6 store volatile i64 %11, ptr %9, 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/tmp47m5n5j8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SSIDMADisable(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 store volatile i64 %0, ptr %3, align 8 store volatile i64 %1, ptr %4, align 8 %5 = load volatile i64, ptr %4, align 8 %6 = xor i64 %5, -1 %7 = load volatile i64, ptr %3, align 8 %8 = add nsw i64 %7, 36 %9 = inttoptr i64 %8 to ptr %10 = load volatile i64, ptr %9, align 8 %11 = and i64 %10, %6 store volatile i64 %11, ptr %9, 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/tmpeon3gikm.c' source_filename = "/tmp/tmpeon3gikm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @udp_close(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 @close(i32 noundef %3) ret void } declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpeon3gikm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @udp_close(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 @close(i32 noundef %3) ret void } declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1r9onpva.c' source_filename = "/tmp/tmp1r9onpva.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rotr32(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = and i32 %5, 31 store i32 %6, ptr %4, align 4 %7 = load i32, ptr %3, align 4 %8 = load i32, ptr %4, align 4 %9 = ashr i32 %7, %8 %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %4, align 4 %12 = sub nsw i32 32, %11 %13 = shl i32 %10, %12 %14 = or i32 %9, %13 ret i32 %14 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1r9onpva.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rotr32(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = and i32 %5, 31 store i32 %6, ptr %4, align 4 %7 = load i32, ptr %3, align 4 %8 = load i32, ptr %4, align 4 %9 = ashr i32 %7, %8 %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %4, align 4 %12 = sub nsw i32 32, %11 %13 = shl i32 %10, %12 %14 = or i32 %9, %13 ret i32 %14 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7e_g45vc.c' source_filename = "/tmp/tmp7e_g45vc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @glongor(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load i64, ptr %4, align 8 %6 = load i64, ptr %3, align 8 %7 = or i64 %6, %5 store i64 %7, ptr %3, align 8 %8 = load i64, ptr %3, align 8 %9 = icmp ne i64 %8, 0 br i1 %9, label %12, label %10 10: ; preds = %2 %11 = call i32 @foo(ptr noundef null) br label %12 12: ; preds = %10, %2 %13 = load i64, ptr %3, align 8 ret i64 %13 } declare i32 @foo(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/tmp7e_g45vc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @glongor(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load i64, ptr %4, align 8 %6 = load i64, ptr %3, align 8 %7 = or i64 %6, %5 store i64 %7, ptr %3, align 8 %8 = load i64, ptr %3, align 8 %9 = icmp ne i64 %8, 0 br i1 %9, label %12, label %10 10: ; preds = %2 %11 = call i32 @foo(ptr noundef null) br label %12 12: ; preds = %10, %2 %13 = load i64, ptr %3, align 8 ret i64 %13 } declare i32 @foo(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/tmp95ce2ebx.c' source_filename = "/tmp/tmp95ce2ebx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ECHILD = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @_wait(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @ECHILD, align 4 store i32 %3, ptr @errno, align 4 ret i32 -1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp95ce2ebx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ECHILD = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @_wait(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @ECHILD, align 4 store i32 %3, ptr @errno, align 4 ret i32 -1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3u14hx12.c' source_filename = "/tmp/tmp3u14hx12.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PATH_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @get_full_path(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load i32, ptr @PATH_MAX, align 4 %8 = zext i32 %7 to i64 %9 = call ptr @llvm.stacksave() store ptr %9, ptr %5, align 8 %10 = alloca i8, i64 %8, align 16 store i64 %8, ptr %6, align 8 %11 = load i32, ptr @PATH_MAX, align 4 %12 = call i32 @getcwd(ptr noundef %10, i32 noundef %11) %13 = load ptr, ptr %4, align 8 %14 = call i32 @chdir(ptr noundef %13) %15 = load ptr, ptr %3, align 8 %16 = load i32, ptr @PATH_MAX, align 4 %17 = call i32 @getcwd(ptr noundef %15, i32 noundef %16) %18 = call i32 @chdir(ptr noundef %10) %19 = load ptr, ptr %5, align 8 call void @llvm.stackrestore(ptr %19) ret void } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @getcwd(ptr noundef, i32 noundef) #2 declare i32 @chdir(ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3u14hx12.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PATH_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @get_full_path(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load i32, ptr @PATH_MAX, align 4 %8 = zext i32 %7 to i64 %9 = call ptr @llvm.stacksave() store ptr %9, ptr %5, align 8 %10 = alloca i8, i64 %8, align 16 store i64 %8, ptr %6, align 8 %11 = load i32, ptr @PATH_MAX, align 4 %12 = call i32 @getcwd(ptr noundef %10, i32 noundef %11) %13 = load ptr, ptr %4, align 8 %14 = call i32 @chdir(ptr noundef %13) %15 = load ptr, ptr %3, align 8 %16 = load i32, ptr @PATH_MAX, align 4 %17 = call i32 @getcwd(ptr noundef %15, i32 noundef %16) %18 = call i32 @chdir(ptr noundef %10) %19 = load ptr, ptr %5, align 8 call void @llvm.stackrestore(ptr %19) ret void } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @getcwd(ptr noundef, i32 noundef) #2 declare i32 @chdir(ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptmiz1sq9.c' source_filename = "/tmp/tmptmiz1sq9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [36 x i8] c"Usage: sparsefile <filename> <size>\00", align 1 @.str.1 = private unnamed_addr constant [47 x i8] c"Sparse files of length zero are not meaningful\00", align 1 @.str.2 = private unnamed_addr constant [35 x i8] c"Creating a sparse file of size %d\0A\00", align 1 @O_WRONLY = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 @O_TRUNC = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [11 x i8] c"%s: create\00", align 1 @SEEK_SET = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [10 x i8] c"%s: lseek\00", align 1 @.str.5 = private unnamed_addr constant [10 x i8] c"%s: write\00", align 1 @.str.6 = private unnamed_addr constant [38 x i8] c"%s: write: Unexpected result count %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i8, align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = load i32, ptr %4, align 4 %12 = icmp ne i32 %11, 3 br i1 %12, label %13, label %15 13: ; preds = %2 %14 = call i32 (i32, ptr, ...) @errx(i32 noundef 1, ptr noundef @.str) br label %15 15: ; preds = %13, %2 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 1 %18 = load ptr, ptr %17, align 8 store ptr %18, ptr %6, align 8 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 2 %21 = load ptr, ptr %20, align 8 %22 = call i32 @atoi(ptr noundef %21) store i32 %22, ptr %7, align 4 store i8 10, ptr %10, align 1 %23 = load i32, ptr %7, align 4 %24 = icmp eq i32 %23, 0 br i1 %24, label %25, label %27 25: ; preds = %15 %26 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef @.str.1) br label %27 27: ; preds = %25, %15 %28 = load i32, ptr %7, align 4 %29 = call i32 @printf(ptr noundef @.str.2, i32 noundef %28) %30 = load ptr, ptr %6, align 8 %31 = load i32, ptr @O_WRONLY, align 4 %32 = load i32, ptr @O_CREAT, align 4 %33 = or i32 %31, %32 %34 = load i32, ptr @O_TRUNC, align 4 %35 = or i32 %33, %34 %36 = call i32 @open(ptr noundef %30, i32 noundef %35) store i32 %36, ptr %8, align 4 %37 = load i32, ptr %8, align 4 %38 = icmp slt i32 %37, 0 br i1 %38, label %39, label %42 39: ; preds = %27 %40 = load ptr, ptr %6, align 8 %41 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef @.str.3, ptr noundef %40) br label %42 42: ; preds = %39, %27 %43 = load i32, ptr %8, align 4 %44 = load i32, ptr %7, align 4 %45 = sub nsw i32 %44, 1 %46 = load i32, ptr @SEEK_SET, align 4 %47 = call i32 @lseek(i32 noundef %43, i32 noundef %45, i32 noundef %46) %48 = icmp eq i32 %47, -1 br i1 %48, label %49, label %52 49: ; preds = %42 %50 = load ptr, ptr %6, align 8 %51 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef @.str.4, ptr noundef %50) br label %52 52: ; preds = %49, %42 %53 = load i32, ptr %8, align 4 %54 = call i32 @write(i32 noundef %53, ptr noundef %10, i32 noundef 1) store i32 %54, ptr %9, align 4 %55 = load i32, ptr %9, align 4 %56 = icmp slt i32 %55, 0 br i1 %56, label %57, label %60 57: ; preds = %52 %58 = load ptr, ptr %6, align 8 %59 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef @.str.5, ptr noundef %58) br label %68 60: ; preds = %52 %61 = load i32, ptr %9, align 4 %62 = icmp ne i32 %61, 1 br i1 %62, label %63, label %67 63: ; preds = %60 %64 = load ptr, ptr %6, align 8 %65 = load i32, ptr %9, align 4 %66 = call i32 (i32, ptr, ...) @errx(i32 noundef 1, ptr noundef @.str.6, ptr noundef %64, i32 noundef %65) br label %67 67: ; preds = %63, %60 br label %68 68: ; preds = %67, %57 %69 = load i32, ptr %8, align 4 %70 = call i32 @close(i32 noundef %69) ret i32 0 } declare i32 @errx(i32 noundef, ptr noundef, ...) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @err(i32 noundef, ptr noundef, ...) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptmiz1sq9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [36 x i8] c"Usage: sparsefile <filename> <size>\00", align 1 @.str.1 = private unnamed_addr constant [47 x i8] c"Sparse files of length zero are not meaningful\00", align 1 @.str.2 = private unnamed_addr constant [35 x i8] c"Creating a sparse file of size %d\0A\00", align 1 @O_WRONLY = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 @O_TRUNC = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [11 x i8] c"%s: create\00", align 1 @SEEK_SET = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [10 x i8] c"%s: lseek\00", align 1 @.str.5 = private unnamed_addr constant [10 x i8] c"%s: write\00", align 1 @.str.6 = private unnamed_addr constant [38 x i8] c"%s: write: Unexpected result count %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i8, align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = load i32, ptr %4, align 4 %12 = icmp ne i32 %11, 3 br i1 %12, label %13, label %15 13: ; preds = %2 %14 = call i32 (i32, ptr, ...) @errx(i32 noundef 1, ptr noundef @.str) br label %15 15: ; preds = %13, %2 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 1 %18 = load ptr, ptr %17, align 8 store ptr %18, ptr %6, align 8 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 2 %21 = load ptr, ptr %20, align 8 %22 = call i32 @atoi(ptr noundef %21) store i32 %22, ptr %7, align 4 store i8 10, ptr %10, align 1 %23 = load i32, ptr %7, align 4 %24 = icmp eq i32 %23, 0 br i1 %24, label %25, label %27 25: ; preds = %15 %26 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef @.str.1) br label %27 27: ; preds = %25, %15 %28 = load i32, ptr %7, align 4 %29 = call i32 @printf(ptr noundef @.str.2, i32 noundef %28) %30 = load ptr, ptr %6, align 8 %31 = load i32, ptr @O_WRONLY, align 4 %32 = load i32, ptr @O_CREAT, align 4 %33 = or i32 %31, %32 %34 = load i32, ptr @O_TRUNC, align 4 %35 = or i32 %33, %34 %36 = call i32 @open(ptr noundef %30, i32 noundef %35) store i32 %36, ptr %8, align 4 %37 = load i32, ptr %8, align 4 %38 = icmp slt i32 %37, 0 br i1 %38, label %39, label %42 39: ; preds = %27 %40 = load ptr, ptr %6, align 8 %41 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef @.str.3, ptr noundef %40) br label %42 42: ; preds = %39, %27 %43 = load i32, ptr %8, align 4 %44 = load i32, ptr %7, align 4 %45 = sub nsw i32 %44, 1 %46 = load i32, ptr @SEEK_SET, align 4 %47 = call i32 @lseek(i32 noundef %43, i32 noundef %45, i32 noundef %46) %48 = icmp eq i32 %47, -1 br i1 %48, label %49, label %52 49: ; preds = %42 %50 = load ptr, ptr %6, align 8 %51 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef @.str.4, ptr noundef %50) br label %52 52: ; preds = %49, %42 %53 = load i32, ptr %8, align 4 %54 = call i32 @write(i32 noundef %53, ptr noundef %10, i32 noundef 1) store i32 %54, ptr %9, align 4 %55 = load i32, ptr %9, align 4 %56 = icmp slt i32 %55, 0 br i1 %56, label %57, label %60 57: ; preds = %52 %58 = load ptr, ptr %6, align 8 %59 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef @.str.5, ptr noundef %58) br label %68 60: ; preds = %52 %61 = load i32, ptr %9, align 4 %62 = icmp ne i32 %61, 1 br i1 %62, label %63, label %67 63: ; preds = %60 %64 = load ptr, ptr %6, align 8 %65 = load i32, ptr %9, align 4 %66 = call i32 (i32, ptr, ...) @errx(i32 noundef 1, ptr noundef @.str.6, ptr noundef %64, i32 noundef %65) br label %67 67: ; preds = %63, %60 br label %68 68: ; preds = %67, %57 %69 = load i32, ptr %8, align 4 %70 = call i32 @close(i32 noundef %69) ret i32 0 } declare i32 @errx(i32 noundef, ptr noundef, ...) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @err(i32 noundef, ptr noundef, ...) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6q_kls7h.c' source_filename = "/tmp/tmp6q_kls7h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SQLITE_OK = dso_local global i32 0, align 4 @SQLITE_ROW = 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/tmp6q_kls7h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SQLITE_OK = dso_local global i32 0, align 4 @SQLITE_ROW = 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/tmpdtz8khnh.c' source_filename = "/tmp/tmpdtz8khnh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"error writing\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @maestroSetTarget(i32 noundef %0, i8 noundef zeroext %1, i16 noundef zeroext %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i8, align 1 %7 = alloca i16, align 2 %8 = alloca [4 x i8], align 1 store i32 %0, ptr %5, align 4 store i8 %1, ptr %6, align 1 store i16 %2, ptr %7, align 2 %9 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 0 store i8 -124, ptr %9, align 1 %10 = getelementptr inbounds i8, ptr %9, i64 1 %11 = load i8, ptr %6, align 1 store i8 %11, ptr %10, align 1 %12 = getelementptr inbounds i8, ptr %10, i64 1 %13 = load i16, ptr %7, align 2 %14 = zext i16 %13 to i32 %15 = and i32 %14, 127 %16 = trunc i32 %15 to i8 store i8 %16, ptr %12, align 1 %17 = getelementptr inbounds i8, ptr %12, i64 1 %18 = load i16, ptr %7, align 2 %19 = zext i16 %18 to i32 %20 = ashr i32 %19, 7 %21 = and i32 %20, 127 %22 = trunc i32 %21 to i8 store i8 %22, ptr %17, align 1 %23 = load i32, ptr %5, align 4 %24 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 0 %25 = call i32 @write(i32 noundef %23, ptr noundef %24, i32 noundef 4) %26 = icmp eq i32 %25, -1 br i1 %26, label %27, label %29 27: ; preds = %3 %28 = call i32 @printf(ptr noundef @.str) store i32 -1, ptr %4, align 4 br label %30 29: ; preds = %3 store i32 0, ptr %4, align 4 br label %30 30: ; preds = %29, %27 %31 = load i32, ptr %4, align 4 ret i32 %31 } declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdtz8khnh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"error writing\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @maestroSetTarget(i32 noundef %0, i8 noundef zeroext %1, i16 noundef zeroext %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i8, align 1 %7 = alloca i16, align 2 %8 = alloca [4 x i8], align 1 store i32 %0, ptr %5, align 4 store i8 %1, ptr %6, align 1 store i16 %2, ptr %7, align 2 %9 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 0 store i8 -124, ptr %9, align 1 %10 = getelementptr inbounds i8, ptr %9, i64 1 %11 = load i8, ptr %6, align 1 store i8 %11, ptr %10, align 1 %12 = getelementptr inbounds i8, ptr %10, i64 1 %13 = load i16, ptr %7, align 2 %14 = zext i16 %13 to i32 %15 = and i32 %14, 127 %16 = trunc i32 %15 to i8 store i8 %16, ptr %12, align 1 %17 = getelementptr inbounds i8, ptr %12, i64 1 %18 = load i16, ptr %7, align 2 %19 = zext i16 %18 to i32 %20 = ashr i32 %19, 7 %21 = and i32 %20, 127 %22 = trunc i32 %21 to i8 store i8 %22, ptr %17, align 1 %23 = load i32, ptr %5, align 4 %24 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 0 %25 = call i32 @write(i32 noundef %23, ptr noundef %24, i32 noundef 4) %26 = icmp eq i32 %25, -1 br i1 %26, label %27, label %29 27: ; preds = %3 %28 = call i32 @printf(ptr noundef @.str) store i32 -1, ptr %4, align 4 br label %30 29: ; preds = %3 store i32 0, ptr %4, align 4 br label %30 30: ; preds = %29, %27 %31 = load i32, ptr %4, align 4 ret i32 %31 } declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsiqiktx2.c' source_filename = "/tmp/tmpsiqiktx2.c" target datalayout = "e-m:e-p270: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"0\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @multiply(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %13 = load ptr, ptr %4, align 8 %14 = call i32 @strlen(ptr noundef %13) store i32 %14, ptr %6, align 4 %15 = load ptr, ptr %5, align 8 %16 = call i32 @strlen(ptr noundef %15) store i32 %16, ptr %7, align 4 store i32 0, ptr %8, align 4 %17 = load i32, ptr %6, align 4 %18 = load i32, ptr %7, align 4 %19 = add nsw i32 %17, %18 %20 = add nsw i32 %19, 2 %21 = sext i32 %20 to i64 %22 = mul i64 1, %21 %23 = trunc i64 %22 to i32 %24 = call i64 @malloc(i32 noundef %23) %25 = inttoptr i64 %24 to ptr store ptr %25, ptr %12, align 8 %26 = load ptr, ptr %12, align 8 %27 = load i32, ptr %6, align 4 %28 = load i32, ptr %7, align 4 %29 = add nsw i32 %27, %28 %30 = call i32 @memset(ptr noundef %26, i32 noundef 48, i32 noundef %29) %31 = load ptr, ptr %12, align 8 %32 = load i32, ptr %6, align 4 %33 = load i32, ptr %7, align 4 %34 = add nsw i32 %32, %33 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i8, ptr %31, i64 %35 store i8 0, ptr %36, align 1 %37 = load i32, ptr %6, align 4 %38 = sub nsw i32 %37, 1 store i32 %38, ptr %10, align 4 br label %39 39: ; preds = %103, %2 %40 = load i32, ptr %10, align 4 %41 = icmp sge i32 %40, 0 br i1 %41, label %42, label %106 42: ; preds = %39 store i32 0, ptr %8, align 4 %43 = load i32, ptr %7, align 4 %44 = sub nsw i32 %43, 1 store i32 %44, ptr %11, align 4 br label %45 45: ; preds = %90, %42 %46 = load i32, ptr %11, align 4 %47 = icmp sge i32 %46, 0 br i1 %47, label %48, label %93 48: ; preds = %45 %49 = load ptr, ptr %12, align 8 %50 = load i32, ptr %10, align 4 %51 = load i32, ptr %11, align 4 %52 = add nsw i32 %50, %51 %53 = add nsw i32 %52, 1 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i8, ptr %49, i64 %54 %56 = load i8, ptr %55, align 1 %57 = sext i8 %56 to i32 %58 = sub nsw i32 %57, 48 %59 = load ptr, ptr %4, align 8 %60 = load i32, ptr %10, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i8, ptr %59, i64 %61 %63 = load i8, ptr %62, align 1 %64 = sext i8 %63 to i32 %65 = sub nsw i32 %64, 48 %66 = load ptr, ptr %5, align 8 %67 = load i32, ptr %11, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds i8, ptr %66, i64 %68 %70 = load i8, ptr %69, align 1 %71 = sext i8 %70 to i32 %72 = sub nsw i32 %71, 48 %73 = mul nsw i32 %65, %72 %74 = add nsw i32 %58, %73 %75 = load i32, ptr %8, align 4 %76 = add nsw i32 %74, %75 store i32 %76, ptr %9, align 4 %77 = load i32, ptr %9, align 4 %78 = srem i32 %77, 10 %79 = add nsw i32 %78, 48 %80 = trunc i32 %79 to i8 %81 = load ptr, ptr %12, align 8 %82 = load i32, ptr %10, align 4 %83 = load i32, ptr %11, align 4 %84 = add nsw i32 %82, %83 %85 = add nsw i32 %84, 1 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds i8, ptr %81, i64 %86 store i8 %80, ptr %87, align 1 %88 = load i32, ptr %9, align 4 %89 = sdiv i32 %88, 10 store i32 %89, ptr %8, align 4 br label %90 90: ; preds = %48 %91 = load i32, ptr %11, align 4 %92 = add nsw i32 %91, -1 store i32 %92, ptr %11, align 4 br label %45, !llvm.loop !6 93: ; preds = %45 %94 = load i32, ptr %8, align 4 %95 = load ptr, ptr %12, align 8 %96 = load i32, ptr %10, align 4 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds i8, ptr %95, i64 %97 %99 = load i8, ptr %98, align 1 %100 = sext i8 %99 to i32 %101 = add nsw i32 %100, %94 %102 = trunc i32 %101 to i8 store i8 %102, ptr %98, align 1 br label %103 103: ; preds = %93 %104 = load i32, ptr %10, align 4 %105 = add nsw i32 %104, -1 store i32 %105, ptr %10, align 4 br label %39, !llvm.loop !8 106: ; preds = %39 store i32 0, ptr %10, align 4 br label %107 107: ; preds = %127, %106 %108 = load i32, ptr %10, align 4 %109 = load i32, ptr %6, align 4 %110 = load i32, ptr %7, align 4 %111 = add nsw i32 %109, %110 %112 = icmp slt i32 %108, %111 br i1 %112, label %113, label %130 113: ; preds = %107 %114 = load ptr, ptr %12, align 8 %115 = load i32, ptr %10, align 4 %116 = sext i32 %115 to i64 %117 = getelementptr inbounds i8, ptr %114, i64 %116 %118 = load i8, ptr %117, align 1 %119 = sext i8 %118 to i32 %120 = icmp ne i32 %119, 48 br i1 %120, label %121, label %126 121: ; preds = %113 %122 = load ptr, ptr %12, align 8 %123 = load i32, ptr %10, align 4 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds i8, ptr %122, i64 %124 store ptr %125, ptr %3, align 8 br label %131 126: ; preds = %113 br label %127 127: ; preds = %126 %128 = load i32, ptr %10, align 4 %129 = add nsw i32 %128, 1 store i32 %129, ptr %10, align 4 br label %107, !llvm.loop !9 130: ; preds = %107 store ptr @.str, ptr %3, align 8 br label %131 131: ; preds = %130, %121 %132 = load ptr, ptr %3, align 8 ret ptr %132 } declare i32 @strlen(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsiqiktx2.c" target datalayout = "e-m:e-p270: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"0\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @multiply(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %13 = load ptr, ptr %4, align 8 %14 = call i32 @strlen(ptr noundef %13) store i32 %14, ptr %6, align 4 %15 = load ptr, ptr %5, align 8 %16 = call i32 @strlen(ptr noundef %15) store i32 %16, ptr %7, align 4 store i32 0, ptr %8, align 4 %17 = load i32, ptr %6, align 4 %18 = load i32, ptr %7, align 4 %19 = add nsw i32 %17, %18 %20 = add nsw i32 %19, 2 %21 = sext i32 %20 to i64 %22 = mul i64 1, %21 %23 = trunc i64 %22 to i32 %24 = call i64 @malloc(i32 noundef %23) %25 = inttoptr i64 %24 to ptr store ptr %25, ptr %12, align 8 %26 = load ptr, ptr %12, align 8 %27 = load i32, ptr %6, align 4 %28 = load i32, ptr %7, align 4 %29 = add nsw i32 %27, %28 %30 = call i32 @memset(ptr noundef %26, i32 noundef 48, i32 noundef %29) %31 = load ptr, ptr %12, align 8 %32 = load i32, ptr %6, align 4 %33 = load i32, ptr %7, align 4 %34 = add nsw i32 %32, %33 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i8, ptr %31, i64 %35 store i8 0, ptr %36, align 1 %37 = load i32, ptr %6, align 4 %38 = sub nsw i32 %37, 1 store i32 %38, ptr %10, align 4 %39 = load i32, ptr %10, align 4 %40 = icmp sge i32 %39, 0 br i1 %40, label %.lr.ph2, label %108 .lr.ph2: ; preds = %2 br label %41 41: ; preds = %.lr.ph2, %103 store i32 0, ptr %8, align 4 %42 = load i32, ptr %7, align 4 %43 = sub nsw i32 %42, 1 store i32 %43, ptr %11, align 4 %44 = load i32, ptr %11, align 4 %45 = icmp sge i32 %44, 0 br i1 %45, label %.lr.ph, label %93 .lr.ph: ; preds = %41 br label %46 46: ; preds = %.lr.ph, %88 %47 = load ptr, ptr %12, align 8 %48 = load i32, ptr %10, align 4 %49 = load i32, ptr %11, align 4 %50 = add nsw i32 %48, %49 %51 = add nsw i32 %50, 1 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i8, ptr %47, i64 %52 %54 = load i8, ptr %53, align 1 %55 = sext i8 %54 to i32 %56 = sub nsw i32 %55, 48 %57 = load ptr, ptr %4, align 8 %58 = load i32, ptr %10, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds i8, ptr %57, i64 %59 %61 = load i8, ptr %60, align 1 %62 = sext i8 %61 to i32 %63 = sub nsw i32 %62, 48 %64 = load ptr, ptr %5, align 8 %65 = load i32, ptr %11, 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 = sub nsw i32 %69, 48 %71 = mul nsw i32 %63, %70 %72 = add nsw i32 %56, %71 %73 = load i32, ptr %8, align 4 %74 = add nsw i32 %72, %73 store i32 %74, ptr %9, align 4 %75 = load i32, ptr %9, align 4 %76 = srem i32 %75, 10 %77 = add nsw i32 %76, 48 %78 = trunc i32 %77 to i8 %79 = load ptr, ptr %12, align 8 %80 = load i32, ptr %10, align 4 %81 = load i32, ptr %11, align 4 %82 = add nsw i32 %80, %81 %83 = add nsw i32 %82, 1 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds i8, ptr %79, i64 %84 store i8 %78, ptr %85, align 1 %86 = load i32, ptr %9, align 4 %87 = sdiv i32 %86, 10 store i32 %87, ptr %8, align 4 br label %88 88: ; preds = %46 %89 = load i32, ptr %11, align 4 %90 = add nsw i32 %89, -1 store i32 %90, ptr %11, align 4 %91 = load i32, ptr %11, align 4 %92 = icmp sge i32 %91, 0 br i1 %92, label %46, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %88 br label %93 93: ; preds = %._crit_edge, %41 %94 = load i32, ptr %8, align 4 %95 = load ptr, ptr %12, align 8 %96 = load i32, ptr %10, align 4 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds i8, ptr %95, i64 %97 %99 = load i8, ptr %98, align 1 %100 = sext i8 %99 to i32 %101 = add nsw i32 %100, %94 %102 = trunc i32 %101 to i8 store i8 %102, ptr %98, align 1 br label %103 103: ; preds = %93 %104 = load i32, ptr %10, align 4 %105 = add nsw i32 %104, -1 store i32 %105, ptr %10, align 4 %106 = load i32, ptr %10, align 4 %107 = icmp sge i32 %106, 0 br i1 %107, label %41, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %103 br label %108 108: ; preds = %._crit_edge3, %2 store i32 0, ptr %10, align 4 %109 = load i32, ptr %10, align 4 %110 = load i32, ptr %6, align 4 %111 = load i32, ptr %7, align 4 %112 = add nsw i32 %110, %111 %113 = icmp slt i32 %109, %112 br i1 %113, label %.lr.ph5, label %136 .lr.ph5: ; preds = %108 br label %114 114: ; preds = %.lr.ph5, %128 %115 = load ptr, ptr %12, align 8 %116 = load i32, ptr %10, align 4 %117 = sext i32 %116 to i64 %118 = getelementptr inbounds i8, ptr %115, i64 %117 %119 = load i8, ptr %118, align 1 %120 = sext i8 %119 to i32 %121 = icmp ne i32 %120, 48 br i1 %121, label %122, label %127 122: ; preds = %114 %123 = load ptr, ptr %12, align 8 %124 = load i32, ptr %10, align 4 %125 = sext i32 %124 to i64 %126 = getelementptr inbounds i8, ptr %123, i64 %125 store ptr %126, ptr %3, align 8 br label %137 127: ; preds = %114 br label %128 128: ; preds = %127 %129 = load i32, ptr %10, align 4 %130 = add nsw i32 %129, 1 store i32 %130, ptr %10, align 4 %131 = load i32, ptr %10, align 4 %132 = load i32, ptr %6, align 4 %133 = load i32, ptr %7, align 4 %134 = add nsw i32 %132, %133 %135 = icmp slt i32 %131, %134 br i1 %135, label %114, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %128 br label %136 136: ; preds = %._crit_edge6, %108 store ptr @.str, ptr %3, align 8 br label %137 137: ; preds = %136, %122 %138 = load ptr, ptr %3, align 8 ret ptr %138 } declare i32 @strlen(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpacyj8bm0.c' source_filename = "/tmp/tmpacyj8bm0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"%llu\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i64 0, ptr %2, align 8 store i64 0, ptr %3, align 8 store i64 0, ptr %4, align 8 %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) br label %9 9: ; preds = %42, %0 %10 = load i64, ptr %2, align 8 %11 = icmp ne i64 %10, 0 br i1 %11, label %12, label %50 12: ; preds = %9 %13 = call i32 @scanf(ptr noundef @.str, ptr noundef %6) %14 = call i32 @scanf(ptr noundef @.str, ptr noundef %7) %15 = load i64, ptr %6, align 8 %16 = mul i64 8, %15 %17 = trunc i64 %16 to i32 %18 = call i64 @malloc(i32 noundef %17) %19 = inttoptr i64 %18 to ptr store ptr %19, ptr %5, align 8 store i64 0, ptr %3, align 8 br label %20 20: ; preds = %39, %12 %21 = load i64, ptr %3, align 8 %22 = load i64, ptr %6, align 8 %23 = icmp ult i64 %21, %22 br i1 %23, label %24, label %42 24: ; preds = %20 %25 = load ptr, ptr %5, align 8 %26 = load i64, ptr %3, align 8 %27 = getelementptr inbounds i64, ptr %25, i64 %26 %28 = call i32 @scanf(ptr noundef @.str, ptr noundef %27) %29 = load ptr, ptr %5, align 8 %30 = load i64, ptr %3, align 8 %31 = getelementptr inbounds i64, ptr %29, i64 %30 %32 = load i64, ptr %31, align 8 %33 = load i64, ptr %7, align 8 %34 = icmp ugt i64 %32, %33 br i1 %34, label %35, label %38 35: ; preds = %24 %36 = load i64, ptr %4, align 8 %37 = add i64 %36, 1 store i64 %37, ptr %4, align 8 br label %38 38: ; preds = %35, %24 br label %39 39: ; preds = %38 %40 = load i64, ptr %3, align 8 %41 = add i64 %40, 1 store i64 %41, ptr %3, align 8 br label %20, !llvm.loop !6 42: ; preds = %20 %43 = load ptr, ptr %5, align 8 %44 = load i64, ptr %6, align 8 %45 = sub i64 %44, 1 %46 = load i64, ptr %7, align 8 %47 = call i32 @maxSubarray(ptr noundef %43, i64 noundef %45, i64 noundef %46, ptr noundef %4) %48 = load i64, ptr %2, align 8 %49 = add i64 %48, -1 store i64 %49, ptr %2, align 8 br label %9, !llvm.loop !8 50: ; preds = %9 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @maxSubarray(ptr noundef, i64 noundef, i64 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpacyj8bm0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"%llu\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i64 0, ptr %2, align 8 store i64 0, ptr %3, align 8 store i64 0, ptr %4, align 8 %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %9 = load i64, ptr %2, align 8 %10 = icmp ne i64 %9, 0 br i1 %10, label %.lr.ph2, label %53 .lr.ph2: ; preds = %0 br label %11 11: ; preds = %.lr.ph2, %43 %12 = call i32 @scanf(ptr noundef @.str, ptr noundef %6) %13 = call i32 @scanf(ptr noundef @.str, ptr noundef %7) %14 = load i64, ptr %6, align 8 %15 = mul i64 8, %14 %16 = trunc i64 %15 to i32 %17 = call i64 @malloc(i32 noundef %16) %18 = inttoptr i64 %17 to ptr store ptr %18, ptr %5, align 8 store i64 0, ptr %3, align 8 %19 = load i64, ptr %3, align 8 %20 = load i64, ptr %6, align 8 %21 = icmp ult i64 %19, %20 br i1 %21, label %.lr.ph, label %43 .lr.ph: ; preds = %11 br label %22 22: ; preds = %.lr.ph, %37 %23 = load ptr, ptr %5, align 8 %24 = load i64, ptr %3, align 8 %25 = getelementptr inbounds i64, ptr %23, i64 %24 %26 = call i32 @scanf(ptr noundef @.str, ptr noundef %25) %27 = load ptr, ptr %5, align 8 %28 = load i64, ptr %3, align 8 %29 = getelementptr inbounds i64, ptr %27, i64 %28 %30 = load i64, ptr %29, align 8 %31 = load i64, ptr %7, align 8 %32 = icmp ugt i64 %30, %31 br i1 %32, label %33, label %36 33: ; preds = %22 %34 = load i64, ptr %4, align 8 %35 = add i64 %34, 1 store i64 %35, ptr %4, align 8 br label %36 36: ; preds = %33, %22 br label %37 37: ; preds = %36 %38 = load i64, ptr %3, align 8 %39 = add i64 %38, 1 store i64 %39, ptr %3, align 8 %40 = load i64, ptr %3, align 8 %41 = load i64, ptr %6, align 8 %42 = icmp ult i64 %40, %41 br i1 %42, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %37 br label %43 43: ; preds = %._crit_edge, %11 %44 = load ptr, ptr %5, align 8 %45 = load i64, ptr %6, align 8 %46 = sub i64 %45, 1 %47 = load i64, ptr %7, align 8 %48 = call i32 @maxSubarray(ptr noundef %44, i64 noundef %46, i64 noundef %47, ptr noundef %4) %49 = load i64, ptr %2, align 8 %50 = add i64 %49, -1 store i64 %50, ptr %2, align 8 %51 = load i64, ptr %2, align 8 %52 = icmp ne i64 %51, 0 br i1 %52, label %11, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %43 br label %53 53: ; preds = %._crit_edge3, %0 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @maxSubarray(ptr noundef, i64 noundef, i64 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpsa69to1z.c' source_filename = "/tmp/tmpsa69to1z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stirling(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i64, align 8 store i64 %0, ptr %3, align 8 %4 = load i64, ptr %3, align 8 %5 = icmp eq i64 %4, 1 br i1 %5, label %6, label %7 6: ; preds = %1 store i64 1, ptr %2, align 8 br label %24 7: ; preds = %1 %8 = call double @acos(double noundef 0.000000e+00) #3 %9 = fmul double 4.000000e+00, %8 %10 = load i64, ptr %3, align 8 %11 = sitofp i64 %10 to double %12 = fmul double %9, %11 %13 = call i64 @sqrt(double noundef %12) %14 = call i64 @log10(i64 noundef %13) %15 = load i64, ptr %3, align 8 %16 = load i64, ptr %3, align 8 %17 = call i64 @log10(i64 noundef %16) %18 = call i64 @exp(double noundef 1.000000e+00) %19 = call i64 @log10(i64 noundef %18) %20 = sub nsw i64 %17, %19 %21 = mul nsw i64 %15, %20 %22 = add nsw i64 %14, %21 %23 = add nsw i64 %22, 1 store i64 %23, ptr %2, align 8 br label %24 24: ; preds = %7, %6 %25 = load i64, ptr %2, align 8 ret i64 %25 } declare i64 @log10(i64 noundef) #1 declare i64 @sqrt(double noundef) #1 ; Function Attrs: nounwind declare double @acos(double noundef) #2 declare i64 @exp(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsa69to1z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stirling(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i64, align 8 store i64 %0, ptr %3, align 8 %4 = load i64, ptr %3, align 8 %5 = icmp eq i64 %4, 1 br i1 %5, label %6, label %7 6: ; preds = %1 store i64 1, ptr %2, align 8 br label %24 7: ; preds = %1 %8 = call double @acos(double noundef 0.000000e+00) #3 %9 = fmul double 4.000000e+00, %8 %10 = load i64, ptr %3, align 8 %11 = sitofp i64 %10 to double %12 = fmul double %9, %11 %13 = call i64 @sqrt(double noundef %12) %14 = call i64 @log10(i64 noundef %13) %15 = load i64, ptr %3, align 8 %16 = load i64, ptr %3, align 8 %17 = call i64 @log10(i64 noundef %16) %18 = call i64 @exp(double noundef 1.000000e+00) %19 = call i64 @log10(i64 noundef %18) %20 = sub nsw i64 %17, %19 %21 = mul nsw i64 %15, %20 %22 = add nsw i64 %14, %21 %23 = add nsw i64 %22, 1 store i64 %23, ptr %2, align 8 br label %24 24: ; preds = %7, %6 %25 = load i64, ptr %2, align 8 ret i64 %25 } declare i64 @log10(i64 noundef) #1 declare i64 @sqrt(double noundef) #1 ; Function Attrs: nounwind declare double @acos(double noundef) #2 declare i64 @exp(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpc25__5tm.c' source_filename = "/tmp/tmpc25__5tm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOSYS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @__setpgid(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr @ENOSYS, align 4 %6 = call i32 @__set_errno(i32 noundef %5) ret i32 -1 } declare i32 @__set_errno(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/tmpc25__5tm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOSYS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @__setpgid(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr @ENOSYS, align 4 %6 = call i32 @__set_errno(i32 noundef %5) ret i32 -1 } declare i32 @__set_errno(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/tmp0qmji8d3.c' source_filename = "/tmp/tmp0qmji8d3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CORTE_HASTE_MEMOIZADO_AUX(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 %10 = load ptr, ptr %7, align 8 %11 = load i32, ptr %6, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i32, ptr %10, i64 %12 %14 = load i32, ptr %13, align 4 %15 = icmp sge i32 %14, 0 br i1 %15, label %16, label %22 16: ; preds = %3 %17 = load ptr, ptr %7, align 8 %18 = load i32, ptr %6, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i32, ptr %17, i64 %19 %21 = load i32, ptr %20, align 4 store i32 %21, ptr %4, align 4 br label %56 22: ; preds = %3 %23 = load i32, ptr %6, align 4 %24 = icmp eq i32 %23, 0 br i1 %24, label %25, label %26 25: ; preds = %22 store i32 0, ptr %8, align 4 br label %49 26: ; preds = %22 store i32 -999999, ptr %8, align 4 store i32 1, ptr %9, align 4 br label %27 27: ; preds = %45, %26 %28 = load i32, ptr %9, align 4 %29 = load i32, ptr %6, align 4 %30 = icmp sle i32 %28, %29 br i1 %30, label %31, label %48 31: ; preds = %27 %32 = load i32, ptr %8, align 4 %33 = load ptr, ptr %5, align 8 %34 = load i32, ptr %9, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i32, ptr %33, i64 %35 %37 = load i32, ptr %36, align 4 %38 = load ptr, ptr %5, align 8 %39 = load i32, ptr %6, align 4 %40 = sub nsw i32 %39, 1 %41 = load ptr, ptr %7, align 8 %42 = call i32 @CORTE_HASTE_MEMOIZADO_AUX(ptr noundef %38, i32 noundef %40, ptr noundef %41) %43 = add nsw i32 %37, %42 %44 = call i32 @Max(i32 noundef %32, i32 noundef %43) store i32 %44, ptr %8, align 4 br label %45 45: ; preds = %31 %46 = load i32, ptr %9, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %9, align 4 br label %27, !llvm.loop !6 48: ; preds = %27 br label %49 49: ; preds = %48, %25 %50 = load i32, ptr %8, align 4 %51 = load ptr, ptr %7, align 8 %52 = load i32, ptr %6, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i32, ptr %51, i64 %53 store i32 %50, ptr %54, align 4 %55 = load i32, ptr %8, align 4 store i32 %55, ptr %4, align 4 br label %56 56: ; preds = %49, %16 %57 = load i32, ptr %4, align 4 ret i32 %57 } declare i32 @Max(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0qmji8d3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CORTE_HASTE_MEMOIZADO_AUX(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 %10 = load ptr, ptr %7, align 8 %11 = load i32, ptr %6, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i32, ptr %10, i64 %12 %14 = load i32, ptr %13, align 4 %15 = icmp sge i32 %14, 0 br i1 %15, label %16, label %22 16: ; preds = %3 %17 = load ptr, ptr %7, align 8 %18 = load i32, ptr %6, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i32, ptr %17, i64 %19 %21 = load i32, ptr %20, align 4 store i32 %21, ptr %4, align 4 br label %58 22: ; preds = %3 %23 = load i32, ptr %6, align 4 %24 = icmp eq i32 %23, 0 br i1 %24, label %25, label %26 25: ; preds = %22 store i32 0, ptr %8, align 4 br label %51 26: ; preds = %22 store i32 -999999, ptr %8, align 4 store i32 1, ptr %9, align 4 %27 = load i32, ptr %9, align 4 %28 = load i32, ptr %6, align 4 %29 = icmp sle i32 %27, %28 br i1 %29, label %.lr.ph, label %50 .lr.ph: ; preds = %26 br label %30 30: ; preds = %.lr.ph, %44 %31 = load i32, ptr %8, align 4 %32 = load ptr, ptr %5, align 8 %33 = load i32, ptr %9, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i32, ptr %32, i64 %34 %36 = load i32, ptr %35, align 4 %37 = load ptr, ptr %5, align 8 %38 = load i32, ptr %6, align 4 %39 = sub nsw i32 %38, 1 %40 = load ptr, ptr %7, align 8 %41 = call i32 @CORTE_HASTE_MEMOIZADO_AUX(ptr noundef %37, i32 noundef %39, ptr noundef %40) %42 = add nsw i32 %36, %41 %43 = call i32 @Max(i32 noundef %31, i32 noundef %42) store i32 %43, ptr %8, align 4 br label %44 44: ; preds = %30 %45 = load i32, ptr %9, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %9, align 4 %47 = load i32, ptr %9, align 4 %48 = load i32, ptr %6, align 4 %49 = icmp sle i32 %47, %48 br i1 %49, label %30, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %44 br label %50 50: ; preds = %._crit_edge, %26 br label %51 51: ; preds = %50, %25 %52 = load i32, ptr %8, align 4 %53 = load ptr, ptr %7, align 8 %54 = load i32, ptr %6, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i32, ptr %53, i64 %55 store i32 %52, ptr %56, align 4 %57 = load i32, ptr %8, align 4 store i32 %57, ptr %4, align 4 br label %58 58: ; preds = %51, %16 %59 = load i32, ptr %4, align 4 ret i32 %59 } declare i32 @Max(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpbcjwt1hq.c' source_filename = "/tmp/tmpbcjwt1hq.c" target datalayout = "e-m:e-p270: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/tmpbcjwt1hq.c" target datalayout = "e-m:e-p270: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/tmpkj5jjq8o.c' source_filename = "/tmp/tmpkj5jjq8o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__longjmp14(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 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/tmpkj5jjq8o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__longjmp14(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 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/tmpqqij1s5y.c' source_filename = "/tmp/tmpqqij1s5y.c" target datalayout = "e-m:e-p270: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/tmpqqij1s5y.c" target datalayout = "e-m:e-p270: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/tmpq7x1cc8_.c' source_filename = "/tmp/tmpq7x1cc8_.c" target datalayout = "e-m:e-p270: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/tmpq7x1cc8_.c" target datalayout = "e-m:e-p270: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/tmpwc97qnfp.c' source_filename = "/tmp/tmpwc97qnfp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"hello world\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @str_main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 @strlen(ptr noundef @.str) store i32 %4, ptr %2, align 4 store i32 0, ptr %3, align 4 br label %5 5: ; preds = %22, %0 %6 = load i32, ptr %3, align 4 %7 = load i32, ptr %2, align 4 %8 = add nsw i32 %7, 2 %9 = icmp slt i32 %6, %8 br i1 %9, label %10, label %25 10: ; preds = %5 %11 = load i32, ptr %3, align 4 %12 = load i32, ptr %3, align 4 %13 = call i32 @check_copy(ptr noundef @.str, i32 noundef %11, i32 noundef %12) %14 = load i32, ptr %1, align 4 %15 = or i32 %14, %13 store i32 %15, ptr %1, align 4 %16 = load i32, ptr %3, align 4 %17 = add nsw i32 %16, 5 %18 = load i32, ptr %3, align 4 %19 = call i32 @check_cat(ptr noundef @.str, i32 noundef %17, i32 noundef %18) %20 = load i32, ptr %1, align 4 %21 = or i32 %20, %19 store i32 %21, ptr %1, align 4 br label %22 22: ; preds = %10 %23 = load i32, ptr %3, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %3, align 4 br label %5, !llvm.loop !6 25: ; preds = %5 %26 = call i32 (...) @test_strconcat() %27 = call i32 (...) @test_strfmt() %28 = load i32, ptr %1, align 4 ret i32 %28 } declare i32 @strlen(ptr noundef) #1 declare i32 @check_copy(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @check_cat(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @test_strconcat(...) #1 declare i32 @test_strfmt(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpwc97qnfp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"hello world\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @str_main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 @strlen(ptr noundef @.str) store i32 %4, ptr %2, align 4 store i32 0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %2, align 4 %7 = add nsw i32 %6, 2 %8 = icmp slt i32 %5, %7 br i1 %8, label %.lr.ph, label %28 .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %21 %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %3, align 4 %12 = call i32 @check_copy(ptr noundef @.str, i32 noundef %10, i32 noundef %11) %13 = load i32, ptr %1, align 4 %14 = or i32 %13, %12 store i32 %14, ptr %1, align 4 %15 = load i32, ptr %3, align 4 %16 = add nsw i32 %15, 5 %17 = load i32, ptr %3, align 4 %18 = call i32 @check_cat(ptr noundef @.str, i32 noundef %16, i32 noundef %17) %19 = load i32, ptr %1, align 4 %20 = or i32 %19, %18 store i32 %20, ptr %1, align 4 br label %21 21: ; preds = %9 %22 = load i32, ptr %3, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %3, align 4 %24 = load i32, ptr %3, align 4 %25 = load i32, ptr %2, align 4 %26 = add nsw i32 %25, 2 %27 = icmp slt i32 %24, %26 br i1 %27, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %28 28: ; preds = %._crit_edge, %0 %29 = call i32 (...) @test_strconcat() %30 = call i32 (...) @test_strfmt() %31 = load i32, ptr %1, align 4 ret i32 %31 } declare i32 @strlen(ptr noundef) #1 declare i32 @check_copy(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @check_cat(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @test_strconcat(...) #1 declare i32 @test_strfmt(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpt6wecscm.c' source_filename = "/tmp/tmpt6wecscm.c" target datalayout = "e-m:e-p270: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 [45 x i8] c"\0AUsage: %s [-d# -D# -l# -x# -c# -h] file(s)\0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"\09-d <delay one (1)>\0A\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c"\09-D <delay two (2x delay one)>\0A\00", align 1 @.str.3 = private unnamed_addr constant [37 x i8] c"\09-l <number of points (whole file)>\0A\00", align 1 @.str.4 = private unnamed_addr constant [42 x i8] c"\09-x <number of values to be skipped (0)>\0A\00", align 1 @.str.5 = private unnamed_addr constant [39 x i8] c"\09-c <column to be read (1 or file,#)>\0A\00", align 1 @.str.6 = private unnamed_addr constant [26 x i8] c"\09-h <show this message>\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(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 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) %6 = load i32, ptr @stderr, align 4 %7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef @.str.1) %8 = load i32, ptr @stderr, align 4 %9 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str.2) %10 = load i32, ptr @stderr, align 4 %11 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %10, ptr noundef @.str.3) %12 = load i32, ptr @stderr, align 4 %13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str.4) %14 = load i32, ptr @stderr, align 4 %15 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %14, ptr noundef @.str.5) %16 = load i32, ptr @stderr, align 4 %17 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %16, ptr noundef @.str.6) %18 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpt6wecscm.c" target datalayout = "e-m:e-p270: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 [45 x i8] c"\0AUsage: %s [-d# -D# -l# -x# -c# -h] file(s)\0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"\09-d <delay one (1)>\0A\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c"\09-D <delay two (2x delay one)>\0A\00", align 1 @.str.3 = private unnamed_addr constant [37 x i8] c"\09-l <number of points (whole file)>\0A\00", align 1 @.str.4 = private unnamed_addr constant [42 x i8] c"\09-x <number of values to be skipped (0)>\0A\00", align 1 @.str.5 = private unnamed_addr constant [39 x i8] c"\09-c <column to be read (1 or file,#)>\0A\00", align 1 @.str.6 = private unnamed_addr constant [26 x i8] c"\09-h <show this message>\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(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 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) %6 = load i32, ptr @stderr, align 4 %7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef @.str.1) %8 = load i32, ptr @stderr, align 4 %9 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str.2) %10 = load i32, ptr @stderr, align 4 %11 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %10, ptr noundef @.str.3) %12 = load i32, ptr @stderr, align 4 %13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str.4) %14 = load i32, ptr @stderr, align 4 %15 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %14, ptr noundef @.str.5) %16 = load i32, ptr @stderr, align 4 %17 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %16, ptr noundef @.str.6) %18 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpn0nj3hlt.c' source_filename = "/tmp/tmpn0nj3hlt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @kutta.f0 = internal global [100 x double] zeroinitializer, align 16 @kutta.f1 = internal global [100 x double] zeroinitializer, align 16 @kutta.f2 = internal global [100 x double] zeroinitializer, align 16 @kutta.y1 = internal global [100 x double] zeroinitializer, align 16 @kutta.y2 = internal global [100 x double] zeroinitializer, align 16 @kutta.numcuts = internal global i32 20, align 4 @kutta.hc = internal global double 0.000000e+00, align 8 @.str = private unnamed_addr constant [57 x i8] c"\0AERROR: INCREASE THE STATIC DOUBLE ARRAY SIZE IN kutta.\0A\00", align 1 @.str.1 = private unnamed_addr constant [102 x i8] c"\0A THE STEPSIZE HAS BEEN HALVED TOO MANY TIMES; T = %15.8E\0A NUMERICAL INTEGRATION FAILED TO CONVERGE.\0A\00", align 1 @.str.2 = private unnamed_addr constant [180 x i8] c"\0ATHE STEPSIZE OF %15.7E IS TOO SMALL RELATIVE TO THE TERMINAL TIME\0AOF %15.7E. INTEGRATION HALTED BECAUSE OF NUMERICAL ROUND-OFF.\0A\0ATHE STEPSIZE MAY HAVE BEEN CUT TOO MANY TIMES.\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @kutta(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, double noundef %4, double noundef %5, double noundef %6, i8 noundef signext %7) #0 { %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca i8, align 1 %18 = alloca i8, align 1 %19 = alloca i8, align 1 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca double, align 8 %23 = alloca i32, align 4 %24 = alloca double, align 8 %25 = alloca double, align 8 %26 = alloca double, align 8 %27 = alloca double, align 8 %28 = alloca double, align 8 %29 = alloca double, align 8 store ptr %0, ptr %10, align 8 store i32 %1, ptr %11, align 4 store ptr %2, ptr %12, align 8 store ptr %3, ptr %13, align 8 store double %4, ptr %14, align 8 store double %5, ptr %15, align 8 store double %6, ptr %16, align 8 store i8 %7, ptr %17, align 1 store i8 1, ptr %18, align 1 %30 = load ptr, ptr %13, align 8 %31 = load double, ptr %30, align 8 %32 = load double, ptr %14, align 8 %33 = fadd double %31, %32 store double %33, ptr %20, align 8 %34 = load i32, ptr %11, align 4 %35 = icmp sge i32 %34, 100 br i1 %35, label %36, label %38 36: ; preds = %8 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %9, align 4 br label %456 38: ; preds = %8 %39 = load i8, ptr %17, align 1 %40 = icmp ne i8 %39, 0 br i1 %40, label %46, label %41 41: ; preds = %38 %42 = load ptr, ptr %10, align 8 %43 = load ptr, ptr %13, align 8 %44 = load double, ptr %43, align 8 %45 = load ptr, ptr %12, align 8 call void %42(double noundef %44, ptr noundef %45, ptr noundef @kutta.f0, i8 noundef signext 1) store i32 1, ptr %9, align 4 br label %456 46: ; preds = %38 %47 = load i32, ptr %11, align 4 %48 = icmp eq i32 %47, 0 br i1 %48, label %49, label %51 49: ; preds = %46 %50 = load double, ptr %14, align 8 store double %50, ptr @kutta.hc, align 8 store i32 1, ptr %9, align 4 br label %456 51: ; preds = %46 %52 = load double, ptr %14, align 8 %53 = fcmp oeq double %52, 0.000000e+00 br i1 %53, label %54, label %55 54: ; preds = %51 store i32 0, ptr %9, align 4 br label %456 55: ; preds = %51 %56 = load double, ptr @kutta.hc, align 8 %57 = load double, ptr %14, align 8 %58 = fmul double %56, %57 %59 = fcmp olt double %58, 0.000000e+00 br i1 %59, label %60, label %63 60: ; preds = %55 %61 = load double, ptr @kutta.hc, align 8 %62 = fneg double %61 store double %62, ptr @kutta.hc, align 8 br label %69 63: ; preds = %55 %64 = load double, ptr @kutta.hc, align 8 %65 = fcmp oeq double %64, 0.000000e+00 br i1 %65, label %66, label %68 66: ; preds = %63 %67 = load double, ptr %14, align 8 store double %67, ptr @kutta.hc, align 8 br label %68 68: ; preds = %66, %63 br label %69 69: ; preds = %68, %60 %70 = load double, ptr @kutta.hc, align 8 store double %70, ptr %22, align 8 %71 = load ptr, ptr %13, align 8 %72 = load double, ptr %71, align 8 %73 = load double, ptr %22, align 8 %74 = fadd double %72, %73 store double %74, ptr %21, align 8 %75 = load double, ptr %20, align 8 %76 = load ptr, ptr %13, align 8 store double %75, ptr %76, align 8 br label %77 77: ; preds = %304, %69 br label %78 78: ; preds = %446, %77 %79 = load double, ptr %21, align 8 %80 = load double, ptr %22, align 8 %81 = fadd double %79, %80 %82 = load double, ptr %21, align 8 %83 = fcmp une double %81, %82 br i1 %83, label %84, label %447 84: ; preds = %78 %85 = load double, ptr %22, align 8 %86 = fmul double %85, 5.000000e-01 store double %86, ptr %24, align 8 %87 = load double, ptr %22, align 8 %88 = fdiv double %87, 3.000000e+00 store double %88, ptr %25, align 8 %89 = load double, ptr %22, align 8 %90 = fdiv double %89, 6.000000e+00 store double %90, ptr %26, align 8 %91 = load double, ptr %22, align 8 %92 = fmul double %91, 1.250000e-01 store double %92, ptr %27, align 8 %93 = load i8, ptr %17, align 1 %94 = sext i8 %93 to i32 %95 = icmp eq i32 %94, 2 br i1 %95, label %100, label %96 96: ; preds = %84 %97 = load i8, ptr %18, align 1 %98 = sext i8 %97 to i32 %99 = icmp ne i32 %98, 0 br i1 %99, label %100, label %106 100: ; preds = %96, %84 %101 = load ptr, ptr %10, align 8 %102 = load double, ptr %21, align 8 %103 = load double, ptr %22, align 8 %104 = fsub double %102, %103 %105 = load ptr, ptr %12, align 8 call void %101(double noundef %104, ptr noundef %105, ptr noundef @kutta.f0, i8 noundef signext 1) store i8 0, ptr %18, align 1 br label %106 106: ; preds = %100, %96 store i32 0, ptr %23, align 4 br label %107 107: ; preds = %126, %106 %108 = load i32, ptr %23, align 4 %109 = load i32, ptr %11, align 4 %110 = icmp slt i32 %108, %109 br i1 %110, label %111, label %129 111: ; preds = %107 %112 = load ptr, ptr %12, align 8 %113 = load i32, ptr %23, align 4 %114 = sext i32 %113 to i64 %115 = getelementptr inbounds double, ptr %112, i64 %114 %116 = load double, ptr %115, align 8 %117 = load double, ptr %25, align 8 %118 = load i32, ptr %23, align 4 %119 = sext i32 %118 to i64 %120 = getelementptr inbounds [100 x double], ptr @kutta.f0, i64 0, i64 %119 %121 = load double, ptr %120, align 8 %122 = call double @llvm.fmuladd.f64(double %117, double %121, double %116) %123 = load i32, ptr %23, align 4 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds [100 x double], ptr @kutta.y1, i64 0, i64 %124 store double %122, ptr %125, align 8 br label %126 126: ; preds = %111 %127 = load i32, ptr %23, align 4 %128 = add nsw i32 %127, 1 store i32 %128, ptr %23, align 4 br label %107, !llvm.loop !6 129: ; preds = %107 %130 = load ptr, ptr %10, align 8 %131 = load double, ptr %21, align 8 %132 = load double, ptr %25, align 8 %133 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %132, double %131) call void %130(double noundef %133, ptr noundef @kutta.y1, ptr noundef @kutta.f1, i8 noundef signext 0) store i32 0, ptr %23, align 4 br label %134 134: ; preds = %158, %129 %135 = load i32, ptr %23, align 4 %136 = load i32, ptr %11, align 4 %137 = icmp slt i32 %135, %136 br i1 %137, label %138, label %161 138: ; preds = %134 %139 = load ptr, ptr %12, align 8 %140 = load i32, ptr %23, align 4 %141 = sext i32 %140 to i64 %142 = getelementptr inbounds double, ptr %139, i64 %141 %143 = load double, ptr %142, align 8 %144 = load double, ptr %26, align 8 %145 = load i32, ptr %23, align 4 %146 = sext i32 %145 to i64 %147 = getelementptr inbounds [100 x double], ptr @kutta.f0, i64 0, i64 %146 %148 = load double, ptr %147, align 8 %149 = load i32, ptr %23, align 4 %150 = sext i32 %149 to i64 %151 = getelementptr inbounds [100 x double], ptr @kutta.f1, i64 0, i64 %150 %152 = load double, ptr %151, align 8 %153 = fadd double %148, %152 %154 = call double @llvm.fmuladd.f64(double %144, double %153, double %143) %155 = load i32, ptr %23, align 4 %156 = sext i32 %155 to i64 %157 = getelementptr inbounds [100 x double], ptr @kutta.y1, i64 0, i64 %156 store double %154, ptr %157, align 8 br label %158 158: ; preds = %138 %159 = load i32, ptr %23, align 4 %160 = add nsw i32 %159, 1 store i32 %160, ptr %23, align 4 br label %134, !llvm.loop !8 161: ; preds = %134 %162 = load ptr, ptr %10, align 8 %163 = load double, ptr %21, align 8 %164 = load double, ptr %25, align 8 %165 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %164, double %163) call void %162(double noundef %165, ptr noundef @kutta.y1, ptr noundef @kutta.f1, i8 noundef signext 0) store i32 0, ptr %23, align 4 br label %166 166: ; preds = %190, %161 %167 = load i32, ptr %23, align 4 %168 = load i32, ptr %11, align 4 %169 = icmp slt i32 %167, %168 br i1 %169, label %170, label %193 170: ; preds = %166 %171 = load ptr, ptr %12, align 8 %172 = load i32, ptr %23, align 4 %173 = sext i32 %172 to i64 %174 = getelementptr inbounds double, ptr %171, i64 %173 %175 = load double, ptr %174, align 8 %176 = load double, ptr %27, align 8 %177 = load i32, ptr %23, align 4 %178 = sext i32 %177 to i64 %179 = getelementptr inbounds [100 x double], ptr @kutta.f0, i64 0, i64 %178 %180 = load double, ptr %179, align 8 %181 = load i32, ptr %23, align 4 %182 = sext i32 %181 to i64 %183 = getelementptr inbounds [100 x double], ptr @kutta.f1, i64 0, i64 %182 %184 = load double, ptr %183, align 8 %185 = call double @llvm.fmuladd.f64(double 3.000000e+00, double %184, double %180) %186 = call double @llvm.fmuladd.f64(double %176, double %185, double %175) %187 = load i32, ptr %23, align 4 %188 = sext i32 %187 to i64 %189 = getelementptr inbounds [100 x double], ptr @kutta.y1, i64 0, i64 %188 store double %186, ptr %189, align 8 br label %190 190: ; preds = %170 %191 = load i32, ptr %23, align 4 %192 = add nsw i32 %191, 1 store i32 %192, ptr %23, align 4 br label %166, !llvm.loop !9 193: ; preds = %166 %194 = load ptr, ptr %10, align 8 %195 = load double, ptr %21, align 8 %196 = load double, ptr %24, align 8 %197 = fsub double %195, %196 call void %194(double noundef %197, ptr noundef @kutta.y1, ptr noundef @kutta.f2, i8 noundef signext 0) store i32 0, ptr %23, align 4 br label %198 198: ; preds = %227, %193 %199 = load i32, ptr %23, align 4 %200 = load i32, ptr %11, align 4 %201 = icmp slt i32 %199, %200 br i1 %201, label %202, label %230 202: ; preds = %198 %203 = load ptr, ptr %12, align 8 %204 = load i32, ptr %23, align 4 %205 = sext i32 %204 to i64 %206 = getelementptr inbounds double, ptr %203, i64 %205 %207 = load double, ptr %206, align 8 %208 = load double, ptr %24, align 8 %209 = load i32, ptr %23, align 4 %210 = sext i32 %209 to i64 %211 = getelementptr inbounds [100 x double], ptr @kutta.f0, i64 0, i64 %210 %212 = load double, ptr %211, align 8 %213 = load i32, ptr %23, align 4 %214 = sext i32 %213 to i64 %215 = getelementptr inbounds [100 x double], ptr @kutta.f1, i64 0, i64 %214 %216 = load double, ptr %215, align 8 %217 = call double @llvm.fmuladd.f64(double -3.000000e+00, double %216, double %212) %218 = load i32, ptr %23, align 4 %219 = sext i32 %218 to i64 %220 = getelementptr inbounds [100 x double], ptr @kutta.f2, i64 0, i64 %219 %221 = load double, ptr %220, align 8 %222 = call double @llvm.fmuladd.f64(double 4.000000e+00, double %221, double %217) %223 = call double @llvm.fmuladd.f64(double %208, double %222, double %207) %224 = load i32, ptr %23, align 4 %225 = sext i32 %224 to i64 %226 = getelementptr inbounds [100 x double], ptr @kutta.y1, i64 0, i64 %225 store double %223, ptr %226, align 8 br label %227 227: ; preds = %202 %228 = load i32, ptr %23, align 4 %229 = add nsw i32 %228, 1 store i32 %229, ptr %23, align 4 br label %198, !llvm.loop !10 230: ; preds = %198 %231 = load ptr, ptr %10, align 8 %232 = load double, ptr %21, align 8 call void %231(double noundef %232, ptr noundef @kutta.y1, ptr noundef @kutta.f1, i8 noundef signext 0) store i32 0, ptr %23, align 4 br label %233 233: ; preds = %262, %230 %234 = load i32, ptr %23, align 4 %235 = load i32, ptr %11, align 4 %236 = icmp slt i32 %234, %235 br i1 %236, label %237, label %265 237: ; preds = %233 %238 = load ptr, ptr %12, align 8 %239 = load i32, ptr %23, align 4 %240 = sext i32 %239 to i64 %241 = getelementptr inbounds double, ptr %238, i64 %240 %242 = load double, ptr %241, align 8 %243 = load double, ptr %26, align 8 %244 = load i32, ptr %23, align 4 %245 = sext i32 %244 to i64 %246 = getelementptr inbounds [100 x double], ptr @kutta.f0, i64 0, i64 %245 %247 = load double, ptr %246, align 8 %248 = load i32, ptr %23, align 4 %249 = sext i32 %248 to i64 %250 = getelementptr inbounds [100 x double], ptr @kutta.f2, i64 0, i64 %249 %251 = load double, ptr %250, align 8 %252 = call double @llvm.fmuladd.f64(double 4.000000e+00, double %251, double %247) %253 = load i32, ptr %23, align 4 %254 = sext i32 %253 to i64 %255 = getelementptr inbounds [100 x double], ptr @kutta.f1, i64 0, i64 %254 %256 = load double, ptr %255, align 8 %257 = fadd double %252, %256 %258 = call double @llvm.fmuladd.f64(double %243, double %257, double %242) %259 = load i32, ptr %23, align 4 %260 = sext i32 %259 to i64 %261 = getelementptr inbounds [100 x double], ptr @kutta.y2, i64 0, i64 %260 store double %258, ptr %261, align 8 br label %262 262: ; preds = %237 %263 = load i32, ptr %23, align 4 %264 = add nsw i32 %263, 1 store i32 %264, ptr %23, align 4 br label %233, !llvm.loop !11 265: ; preds = %233 store i8 1, ptr %19, align 1 store i32 0, ptr %23, align 4 br label %266 266: ; preds = %331, %265 %267 = load i32, ptr %23, align 4 %268 = load i32, ptr %11, align 4 %269 = icmp slt i32 %267, %268 br i1 %269, label %270, label %334 270: ; preds = %266 %271 = load i32, ptr %23, align 4 %272 = sext i32 %271 to i64 %273 = getelementptr inbounds [100 x double], ptr @kutta.y1, i64 0, i64 %272 %274 = load double, ptr %273, align 8 %275 = load i32, ptr %23, align 4 %276 = sext i32 %275 to i64 %277 = getelementptr inbounds [100 x double], ptr @kutta.y2, i64 0, i64 %276 %278 = load double, ptr %277, align 8 %279 = fsub double %274, %278 %280 = call double @llvm.fabs.f64(double %279) %281 = fmul double %280, 2.000000e-01 store double %281, ptr %28, align 8 %282 = load i32, ptr %23, align 4 %283 = sext i32 %282 to i64 %284 = getelementptr inbounds [100 x double], ptr @kutta.y1, i64 0, i64 %283 %285 = load double, ptr %284, align 8 %286 = call double @llvm.fabs.f64(double %285) %287 = load double, ptr %16, align 8 %288 = fmul double %286, %287 store double %288, ptr %29, align 8 %289 = load double, ptr %28, align 8 %290 = load double, ptr %29, align 8 %291 = fcmp oge double %289, %290 br i1 %291, label %292, label %315 292: ; preds = %270 %293 = load double, ptr %28, align 8 %294 = load double, ptr %15, align 8 %295 = fcmp oge double %293, %294 br i1 %295, label %296, label %315 296: ; preds = %292 %297 = load double, ptr %24, align 8 store double %297, ptr %22, align 8 store double %297, ptr @kutta.hc, align 8 %298 = load double, ptr %24, align 8 %299 = load double, ptr %21, align 8 %300 = fsub double %299, %298 store double %300, ptr %21, align 8 %301 = load i32, ptr @kutta.numcuts, align 4 %302 = add nsw i32 %301, -1 store i32 %302, ptr @kutta.numcuts, align 4 %303 = icmp sgt i32 %301, 0 br i1 %303, label %304, label %305 304: ; preds = %296 br label %77 305: ; preds = %296 %306 = load double, ptr %21, align 8 %307 = load double, ptr %22, align 8 %308 = fsub double %306, %307 %309 = load ptr, ptr %13, align 8 store double %308, ptr %309, align 8 %310 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %308) %311 = load ptr, ptr %10, align 8 %312 = load ptr, ptr %13, align 8 %313 = load double, ptr %312, align 8 %314 = load ptr, ptr %12, align 8 call void %311(double noundef %313, ptr noundef %314, ptr noundef @kutta.f0, i8 noundef signext 0) store i32 0, ptr %9, align 4 br label %456 315: ; preds = %292, %270 %316 = load i8, ptr %19, align 1 %317 = sext i8 %316 to i32 %318 = icmp ne i32 %317, 0 br i1 %318, label %319, label %330 319: ; preds = %315 %320 = load double, ptr %28, align 8 %321 = fmul double 6.400000e+01, %320 %322 = load double, ptr %29, align 8 %323 = fcmp ogt double %321, %322 br i1 %323, label %324, label %330 324: ; preds = %319 %325 = load double, ptr %28, align 8 %326 = fmul double 6.400000e+01, %325 %327 = load double, ptr %15, align 8 %328 = fcmp ogt double %326, %327 br i1 %328, label %329, label %330 329: ; preds = %324 store i8 0, ptr %19, align 1 br label %330 330: ; preds = %329, %324, %319, %315 br label %331 331: ; preds = %330 %332 = load i32, ptr %23, align 4 %333 = add nsw i32 %332, 1 store i32 %333, ptr %23, align 4 br label %266, !llvm.loop !12 334: ; preds = %266 store i32 0, ptr %23, align 4 br label %335 335: ; preds = %348, %334 %336 = load i32, ptr %23, align 4 %337 = load i32, ptr %11, align 4 %338 = icmp slt i32 %336, %337 br i1 %338, label %339, label %351 339: ; preds = %335 %340 = load i32, ptr %23, align 4 %341 = sext i32 %340 to i64 %342 = getelementptr inbounds [100 x double], ptr @kutta.y2, i64 0, i64 %341 %343 = load double, ptr %342, align 8 %344 = load ptr, ptr %12, align 8 %345 = load i32, ptr %23, align 4 %346 = sext i32 %345 to i64 %347 = getelementptr inbounds double, ptr %344, i64 %346 store double %343, ptr %347, align 8 br label %348 348: ; preds = %339 %349 = load i32, ptr %23, align 4 %350 = add nsw i32 %349, 1 store i32 %350, ptr %23, align 4 br label %335, !llvm.loop !13 351: ; preds = %335 %352 = load i8, ptr %19, align 1 %353 = sext i8 %352 to i32 %354 = icmp ne i32 %353, 0 br i1 %354, label %355, label %379 355: ; preds = %351 %356 = load double, ptr %22, align 8 %357 = load double, ptr %22, align 8 %358 = fadd double %356, %357 %359 = call double @llvm.fabs.f64(double %358) %360 = load double, ptr %14, align 8 %361 = call double @llvm.fabs.f64(double %360) %362 = fcmp ole double %359, %361 br i1 %362, label %363, label %379 363: ; preds = %355 %364 = load double, ptr %21, align 8 %365 = load double, ptr %22, align 8 %366 = fadd double %364, %365 %367 = load double, ptr %22, align 8 %368 = fadd double %366, %367 %369 = call double @llvm.fabs.f64(double %368) %370 = load double, ptr %20, align 8 %371 = call double @llvm.fabs.f64(double %370) %372 = fcmp ole double %369, %371 br i1 %372, label %373, label %379 373: ; preds = %363 %374 = load double, ptr %22, align 8 %375 = load double, ptr %22, align 8 %376 = fadd double %375, %374 store double %376, ptr %22, align 8 store double %376, ptr @kutta.hc, align 8 %377 = load i32, ptr @kutta.numcuts, align 4 %378 = add nsw i32 %377, 1 store i32 %378, ptr @kutta.numcuts, align 4 br label %379 379: ; preds = %373, %363, %355, %351 %380 = load double, ptr %21, align 8 %381 = load double, ptr %20, align 8 %382 = fcmp oeq double %380, %381 br i1 %382, label %383, label %387 383: ; preds = %379 %384 = load ptr, ptr %10, align 8 %385 = load double, ptr %20, align 8 %386 = load ptr, ptr %12, align 8 call void %384(double noundef %385, ptr noundef %386, ptr noundef @kutta.f0, i8 noundef signext 2) store i32 1, ptr %9, align 4 br label %456 387: ; preds = %379 %388 = load double, ptr %22, align 8 %389 = load double, ptr %21, align 8 %390 = fadd double %389, %388 store double %390, ptr %21, align 8 %391 = load double, ptr %22, align 8 %392 = fcmp ogt double %391, 0.000000e+00 br i1 %392, label %393, label %399 393: ; preds = %387 %394 = load double, ptr %21, align 8 %395 = load double, ptr %20, align 8 %396 = load double, ptr %22, align 8 %397 = call double @llvm.fmuladd.f64(double -1.000000e-01, double %396, double %395) %398 = fcmp ogt double %394, %397 br i1 %398, label %408, label %399 399: ; preds = %393, %387 %400 = load double, ptr %22, align 8 %401 = fcmp olt double %400, 0.000000e+00 br i1 %401, label %402, label %415 402: ; preds = %399 %403 = load double, ptr %21, align 8 %404 = load double, ptr %20, align 8 %405 = load double, ptr %22, align 8 %406 = call double @llvm.fmuladd.f64(double -1.000000e-01, double %405, double %404) %407 = fcmp olt double %403, %406 br i1 %407, label %408, label %415 408: ; preds = %402, %393 %409 = load double, ptr %20, align 8 %410 = load double, ptr %21, align 8 %411 = load double, ptr %22, align 8 %412 = fsub double %410, %411 %413 = fsub double %409, %412 store double %413, ptr %22, align 8 %414 = load double, ptr %20, align 8 store double %414, ptr %21, align 8 br label %415 415: ; preds = %408, %402, %399 %416 = load i8, ptr %17, align 1 %417 = sext i8 %416 to i32 %418 = icmp eq i32 %417, 1 br i1 %418, label %419, label %436 419: ; preds = %415 store i32 0, ptr %23, align 4 br label %420 420: ; preds = %432, %419 %421 = load i32, ptr %23, align 4 %422 = load i32, ptr %11, align 4 %423 = icmp slt i32 %421, %422 br i1 %423, label %424, label %435 424: ; preds = %420 %425 = load i32, ptr %23, align 4 %426 = sext i32 %425 to i64 %427 = getelementptr inbounds [100 x double], ptr @kutta.f1, i64 0, i64 %426 %428 = load double, ptr %427, align 8 %429 = load i32, ptr %23, align 4 %430 = sext i32 %429 to i64 %431 = getelementptr inbounds [100 x double], ptr @kutta.f0, i64 0, i64 %430 store double %428, ptr %431, align 8 br label %432 432: ; preds = %424 %433 = load i32, ptr %23, align 4 %434 = add nsw i32 %433, 1 store i32 %434, ptr %23, align 4 br label %420, !llvm.loop !14 435: ; preds = %420 br label %436 436: ; preds = %435, %415 %437 = load i8, ptr %17, align 1 %438 = sext i8 %437 to i32 %439 = icmp eq i32 %438, 3 br i1 %439, label %440, label %446 440: ; preds = %436 %441 = load ptr, ptr %10, align 8 %442 = load double, ptr %21, align 8 %443 = load double, ptr %22, align 8 %444 = fsub double %442, %443 %445 = load ptr, ptr %12, align 8 call void %441(double noundef %444, ptr noundef %445, ptr noundef @kutta.f0, i8 noundef signext 0) br label %446 446: ; preds = %440, %436 br label %78, !llvm.loop !15 447: ; preds = %78 %448 = load double, ptr %22, align 8 %449 = load double, ptr %21, align 8 %450 = load ptr, ptr %13, align 8 store double %449, ptr %450, align 8 %451 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %448, double noundef %449) %452 = load ptr, ptr %10, align 8 %453 = load ptr, ptr %13, align 8 %454 = load double, ptr %453, align 8 %455 = load ptr, ptr %12, align 8 call void %452(double noundef %454, ptr noundef %455, ptr noundef @kutta.f0, i8 noundef signext 0) store i32 0, ptr %9, align 4 br label %456 456: ; preds = %447, %383, %305, %54, %49, %41, %36 %457 = load i32, ptr %9, align 4 ret i32 %457 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn0nj3hlt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @kutta.f0 = internal global [100 x double] zeroinitializer, align 16 @kutta.f1 = internal global [100 x double] zeroinitializer, align 16 @kutta.f2 = internal global [100 x double] zeroinitializer, align 16 @kutta.y1 = internal global [100 x double] zeroinitializer, align 16 @kutta.y2 = internal global [100 x double] zeroinitializer, align 16 @kutta.numcuts = internal global i32 20, align 4 @kutta.hc = internal global double 0.000000e+00, align 8 @.str = private unnamed_addr constant [57 x i8] c"\0AERROR: INCREASE THE STATIC DOUBLE ARRAY SIZE IN kutta.\0A\00", align 1 @.str.1 = private unnamed_addr constant [102 x i8] c"\0A THE STEPSIZE HAS BEEN HALVED TOO MANY TIMES; T = %15.8E\0A NUMERICAL INTEGRATION FAILED TO CONVERGE.\0A\00", align 1 @.str.2 = private unnamed_addr constant [180 x i8] c"\0ATHE STEPSIZE OF %15.7E IS TOO SMALL RELATIVE TO THE TERMINAL TIME\0AOF %15.7E. INTEGRATION HALTED BECAUSE OF NUMERICAL ROUND-OFF.\0A\0ATHE STEPSIZE MAY HAVE BEEN CUT TOO MANY TIMES.\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @kutta(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, double noundef %4, double noundef %5, double noundef %6, i8 noundef signext %7) #0 { %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca i8, align 1 %18 = alloca i8, align 1 %19 = alloca i8, align 1 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca double, align 8 %23 = alloca i32, align 4 %24 = alloca double, align 8 %25 = alloca double, align 8 %26 = alloca double, align 8 %27 = alloca double, align 8 %28 = alloca double, align 8 %29 = alloca double, align 8 store ptr %0, ptr %10, align 8 store i32 %1, ptr %11, align 4 store ptr %2, ptr %12, align 8 store ptr %3, ptr %13, align 8 store double %4, ptr %14, align 8 store double %5, ptr %15, align 8 store double %6, ptr %16, align 8 store i8 %7, ptr %17, align 1 store i8 1, ptr %18, align 1 %30 = load ptr, ptr %13, align 8 %31 = load double, ptr %30, align 8 %32 = load double, ptr %14, align 8 %33 = fadd double %31, %32 store double %33, ptr %20, align 8 %34 = load i32, ptr %11, align 4 %35 = icmp sge i32 %34, 100 br i1 %35, label %36, label %38 36: ; preds = %8 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %9, align 4 br label %480 38: ; preds = %8 %39 = load i8, ptr %17, align 1 %40 = icmp ne i8 %39, 0 br i1 %40, label %46, label %41 41: ; preds = %38 %42 = load ptr, ptr %10, align 8 %43 = load ptr, ptr %13, align 8 %44 = load double, ptr %43, align 8 %45 = load ptr, ptr %12, align 8 call void %42(double noundef %44, ptr noundef %45, ptr noundef @kutta.f0, i8 noundef signext 1) store i32 1, ptr %9, align 4 br label %480 46: ; preds = %38 %47 = load i32, ptr %11, align 4 %48 = icmp eq i32 %47, 0 br i1 %48, label %49, label %51 49: ; preds = %46 %50 = load double, ptr %14, align 8 store double %50, ptr @kutta.hc, align 8 store i32 1, ptr %9, align 4 br label %480 51: ; preds = %46 %52 = load double, ptr %14, align 8 %53 = fcmp oeq double %52, 0.000000e+00 br i1 %53, label %54, label %55 54: ; preds = %51 store i32 0, ptr %9, align 4 br label %480 55: ; preds = %51 %56 = load double, ptr @kutta.hc, align 8 %57 = load double, ptr %14, align 8 %58 = fmul double %56, %57 %59 = fcmp olt double %58, 0.000000e+00 br i1 %59, label %60, label %63 60: ; preds = %55 %61 = load double, ptr @kutta.hc, align 8 %62 = fneg double %61 store double %62, ptr @kutta.hc, align 8 br label %69 63: ; preds = %55 %64 = load double, ptr @kutta.hc, align 8 %65 = fcmp oeq double %64, 0.000000e+00 br i1 %65, label %66, label %68 66: ; preds = %63 %67 = load double, ptr %14, align 8 store double %67, ptr @kutta.hc, align 8 br label %68 68: ; preds = %66, %63 br label %69 69: ; preds = %68, %60 %70 = load double, ptr @kutta.hc, align 8 store double %70, ptr %22, align 8 %71 = load ptr, ptr %13, align 8 %72 = load double, ptr %71, align 8 %73 = load double, ptr %22, align 8 %74 = fadd double %72, %73 store double %74, ptr %21, align 8 %75 = load double, ptr %20, align 8 %76 = load ptr, ptr %13, align 8 store double %75, ptr %76, align 8 %77 = load double, ptr %21, align 8 %78 = load double, ptr %22, align 8 %79 = fadd double %77, %78 %80 = load double, ptr %21, align 8 %81 = fcmp une double %79, %80 br i1 %81, label %.lr.ph23.lr.ph, label %._crit_edge24 .lr.ph23.lr.ph: ; preds = %69 br label %.lr.ph23 82: ; preds = %309 %83 = load double, ptr %21, align 8 %84 = load double, ptr %22, align 8 %85 = fadd double %83, %84 %86 = load double, ptr %21, align 8 %87 = fcmp une double %85, %86 br i1 %87, label %.lr.ph23, label %.._crit_edge24_crit_edge .lr.ph23: ; preds = %.lr.ph23.lr.ph, %82 br label %88 88: ; preds = %.lr.ph23, %465 %89 = load double, ptr %22, align 8 %90 = fmul double %89, 5.000000e-01 store double %90, ptr %24, align 8 %91 = load double, ptr %22, align 8 %92 = fdiv double %91, 3.000000e+00 store double %92, ptr %25, align 8 %93 = load double, ptr %22, align 8 %94 = fdiv double %93, 6.000000e+00 store double %94, ptr %26, align 8 %95 = load double, ptr %22, align 8 %96 = fmul double %95, 1.250000e-01 store double %96, ptr %27, align 8 %97 = load i8, ptr %17, align 1 %98 = sext i8 %97 to i32 %99 = icmp eq i32 %98, 2 br i1 %99, label %104, label %100 100: ; preds = %88 %101 = load i8, ptr %18, align 1 %102 = sext i8 %101 to i32 %103 = icmp ne i32 %102, 0 br i1 %103, label %104, label %110 104: ; preds = %100, %88 %105 = load ptr, ptr %10, align 8 %106 = load double, ptr %21, align 8 %107 = load double, ptr %22, align 8 %108 = fsub double %106, %107 %109 = load ptr, ptr %12, align 8 call void %105(double noundef %108, ptr noundef %109, ptr noundef @kutta.f0, i8 noundef signext 1) store i8 0, ptr %18, align 1 br label %110 110: ; preds = %104, %100 store i32 0, ptr %23, align 4 %111 = load i32, ptr %23, align 4 %112 = load i32, ptr %11, align 4 %113 = icmp slt i32 %111, %112 br i1 %113, label %.lr.ph, label %135 .lr.ph: ; preds = %110 br label %114 114: ; preds = %.lr.ph, %129 %115 = load ptr, ptr %12, align 8 %116 = load i32, ptr %23, align 4 %117 = sext i32 %116 to i64 %118 = getelementptr inbounds double, ptr %115, i64 %117 %119 = load double, ptr %118, align 8 %120 = load double, ptr %25, align 8 %121 = load i32, ptr %23, align 4 %122 = sext i32 %121 to i64 %123 = getelementptr inbounds [100 x double], ptr @kutta.f0, i64 0, i64 %122 %124 = load double, ptr %123, align 8 %125 = call double @llvm.fmuladd.f64(double %120, double %124, double %119) %126 = load i32, ptr %23, align 4 %127 = sext i32 %126 to i64 %128 = getelementptr inbounds [100 x double], ptr @kutta.y1, i64 0, i64 %127 store double %125, ptr %128, align 8 br label %129 129: ; preds = %114 %130 = load i32, ptr %23, align 4 %131 = add nsw i32 %130, 1 store i32 %131, ptr %23, align 4 %132 = load i32, ptr %23, align 4 %133 = load i32, ptr %11, align 4 %134 = icmp slt i32 %132, %133 br i1 %134, label %114, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %129 br label %135 135: ; preds = %._crit_edge, %110 %136 = load ptr, ptr %10, align 8 %137 = load double, ptr %21, align 8 %138 = load double, ptr %25, align 8 %139 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %138, double %137) call void %136(double noundef %139, ptr noundef @kutta.y1, ptr noundef @kutta.f1, i8 noundef signext 0) store i32 0, ptr %23, align 4 %140 = load i32, ptr %23, align 4 %141 = load i32, ptr %11, align 4 %142 = icmp slt i32 %140, %141 br i1 %142, label %.lr.ph2, label %169 .lr.ph2: ; preds = %135 br label %143 143: ; preds = %.lr.ph2, %163 %144 = load ptr, ptr %12, align 8 %145 = load i32, ptr %23, align 4 %146 = sext i32 %145 to i64 %147 = getelementptr inbounds double, ptr %144, i64 %146 %148 = load double, ptr %147, align 8 %149 = load double, ptr %26, align 8 %150 = load i32, ptr %23, align 4 %151 = sext i32 %150 to i64 %152 = getelementptr inbounds [100 x double], ptr @kutta.f0, i64 0, i64 %151 %153 = load double, ptr %152, align 8 %154 = load i32, ptr %23, align 4 %155 = sext i32 %154 to i64 %156 = getelementptr inbounds [100 x double], ptr @kutta.f1, i64 0, i64 %155 %157 = load double, ptr %156, align 8 %158 = fadd double %153, %157 %159 = call double @llvm.fmuladd.f64(double %149, double %158, double %148) %160 = load i32, ptr %23, align 4 %161 = sext i32 %160 to i64 %162 = getelementptr inbounds [100 x double], ptr @kutta.y1, i64 0, i64 %161 store double %159, ptr %162, align 8 br label %163 163: ; preds = %143 %164 = load i32, ptr %23, align 4 %165 = add nsw i32 %164, 1 store i32 %165, ptr %23, align 4 %166 = load i32, ptr %23, align 4 %167 = load i32, ptr %11, align 4 %168 = icmp slt i32 %166, %167 br i1 %168, label %143, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %163 br label %169 169: ; preds = %._crit_edge3, %135 %170 = load ptr, ptr %10, align 8 %171 = load double, ptr %21, align 8 %172 = load double, ptr %25, align 8 %173 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %172, double %171) call void %170(double noundef %173, ptr noundef @kutta.y1, ptr noundef @kutta.f1, i8 noundef signext 0) store i32 0, ptr %23, align 4 %174 = load i32, ptr %23, align 4 %175 = load i32, ptr %11, align 4 %176 = icmp slt i32 %174, %175 br i1 %176, label %.lr.ph5, label %203 .lr.ph5: ; preds = %169 br label %177 177: ; preds = %.lr.ph5, %197 %178 = load ptr, ptr %12, align 8 %179 = load i32, ptr %23, align 4 %180 = sext i32 %179 to i64 %181 = getelementptr inbounds double, ptr %178, i64 %180 %182 = load double, ptr %181, align 8 %183 = load double, ptr %27, align 8 %184 = load i32, ptr %23, align 4 %185 = sext i32 %184 to i64 %186 = getelementptr inbounds [100 x double], ptr @kutta.f0, i64 0, i64 %185 %187 = load double, ptr %186, align 8 %188 = load i32, ptr %23, align 4 %189 = sext i32 %188 to i64 %190 = getelementptr inbounds [100 x double], ptr @kutta.f1, i64 0, i64 %189 %191 = load double, ptr %190, align 8 %192 = call double @llvm.fmuladd.f64(double 3.000000e+00, double %191, double %187) %193 = call double @llvm.fmuladd.f64(double %183, double %192, double %182) %194 = load i32, ptr %23, align 4 %195 = sext i32 %194 to i64 %196 = getelementptr inbounds [100 x double], ptr @kutta.y1, i64 0, i64 %195 store double %193, ptr %196, align 8 br label %197 197: ; preds = %177 %198 = load i32, ptr %23, align 4 %199 = add nsw i32 %198, 1 store i32 %199, ptr %23, align 4 %200 = load i32, ptr %23, align 4 %201 = load i32, ptr %11, align 4 %202 = icmp slt i32 %200, %201 br i1 %202, label %177, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %197 br label %203 203: ; preds = %._crit_edge6, %169 %204 = load ptr, ptr %10, align 8 %205 = load double, ptr %21, align 8 %206 = load double, ptr %24, align 8 %207 = fsub double %205, %206 call void %204(double noundef %207, ptr noundef @kutta.y1, ptr noundef @kutta.f2, i8 noundef signext 0) store i32 0, ptr %23, align 4 %208 = load i32, ptr %23, align 4 %209 = load i32, ptr %11, align 4 %210 = icmp slt i32 %208, %209 br i1 %210, label %.lr.ph8, label %242 .lr.ph8: ; preds = %203 br label %211 211: ; preds = %.lr.ph8, %236 %212 = load ptr, ptr %12, align 8 %213 = load i32, ptr %23, align 4 %214 = sext i32 %213 to i64 %215 = getelementptr inbounds double, ptr %212, i64 %214 %216 = load double, ptr %215, align 8 %217 = load double, ptr %24, align 8 %218 = load i32, ptr %23, align 4 %219 = sext i32 %218 to i64 %220 = getelementptr inbounds [100 x double], ptr @kutta.f0, i64 0, i64 %219 %221 = load double, ptr %220, align 8 %222 = load i32, ptr %23, align 4 %223 = sext i32 %222 to i64 %224 = getelementptr inbounds [100 x double], ptr @kutta.f1, i64 0, i64 %223 %225 = load double, ptr %224, align 8 %226 = call double @llvm.fmuladd.f64(double -3.000000e+00, double %225, double %221) %227 = load i32, ptr %23, align 4 %228 = sext i32 %227 to i64 %229 = getelementptr inbounds [100 x double], ptr @kutta.f2, i64 0, i64 %228 %230 = load double, ptr %229, align 8 %231 = call double @llvm.fmuladd.f64(double 4.000000e+00, double %230, double %226) %232 = call double @llvm.fmuladd.f64(double %217, double %231, double %216) %233 = load i32, ptr %23, align 4 %234 = sext i32 %233 to i64 %235 = getelementptr inbounds [100 x double], ptr @kutta.y1, i64 0, i64 %234 store double %232, ptr %235, align 8 br label %236 236: ; preds = %211 %237 = load i32, ptr %23, align 4 %238 = add nsw i32 %237, 1 store i32 %238, ptr %23, align 4 %239 = load i32, ptr %23, align 4 %240 = load i32, ptr %11, align 4 %241 = icmp slt i32 %239, %240 br i1 %241, label %211, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %236 br label %242 242: ; preds = %._crit_edge9, %203 %243 = load ptr, ptr %10, align 8 %244 = load double, ptr %21, align 8 call void %243(double noundef %244, ptr noundef @kutta.y1, ptr noundef @kutta.f1, i8 noundef signext 0) store i32 0, ptr %23, align 4 %245 = load i32, ptr %23, align 4 %246 = load i32, ptr %11, align 4 %247 = icmp slt i32 %245, %246 br i1 %247, label %.lr.ph11, label %279 .lr.ph11: ; preds = %242 br label %248 248: ; preds = %.lr.ph11, %273 %249 = load ptr, ptr %12, align 8 %250 = load i32, ptr %23, align 4 %251 = sext i32 %250 to i64 %252 = getelementptr inbounds double, ptr %249, i64 %251 %253 = load double, ptr %252, align 8 %254 = load double, ptr %26, align 8 %255 = load i32, ptr %23, align 4 %256 = sext i32 %255 to i64 %257 = getelementptr inbounds [100 x double], ptr @kutta.f0, i64 0, i64 %256 %258 = load double, ptr %257, align 8 %259 = load i32, ptr %23, align 4 %260 = sext i32 %259 to i64 %261 = getelementptr inbounds [100 x double], ptr @kutta.f2, i64 0, i64 %260 %262 = load double, ptr %261, align 8 %263 = call double @llvm.fmuladd.f64(double 4.000000e+00, double %262, double %258) %264 = load i32, ptr %23, align 4 %265 = sext i32 %264 to i64 %266 = getelementptr inbounds [100 x double], ptr @kutta.f1, i64 0, i64 %265 %267 = load double, ptr %266, align 8 %268 = fadd double %263, %267 %269 = call double @llvm.fmuladd.f64(double %254, double %268, double %253) %270 = load i32, ptr %23, align 4 %271 = sext i32 %270 to i64 %272 = getelementptr inbounds [100 x double], ptr @kutta.y2, i64 0, i64 %271 store double %269, ptr %272, align 8 br label %273 273: ; preds = %248 %274 = load i32, ptr %23, align 4 %275 = add nsw i32 %274, 1 store i32 %275, ptr %23, align 4 %276 = load i32, ptr %23, align 4 %277 = load i32, ptr %11, align 4 %278 = icmp slt i32 %276, %277 br i1 %278, label %248, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %273 br label %279 279: ; preds = %._crit_edge12, %242 store i8 1, ptr %19, align 1 store i32 0, ptr %23, align 4 %280 = load i32, ptr %23, align 4 %281 = load i32, ptr %11, align 4 %282 = icmp slt i32 %280, %281 br i1 %282, label %.lr.ph14, label %349 .lr.ph14: ; preds = %279 br label %283 283: ; preds = %.lr.ph14, %343 %284 = load i32, ptr %23, align 4 %285 = sext i32 %284 to i64 %286 = getelementptr inbounds [100 x double], ptr @kutta.y1, i64 0, i64 %285 %287 = load double, ptr %286, align 8 %288 = load i32, ptr %23, align 4 %289 = sext i32 %288 to i64 %290 = getelementptr inbounds [100 x double], ptr @kutta.y2, i64 0, i64 %289 %291 = load double, ptr %290, align 8 %292 = fsub double %287, %291 %293 = call double @llvm.fabs.f64(double %292) %294 = fmul double %293, 2.000000e-01 store double %294, ptr %28, align 8 %295 = load i32, ptr %23, align 4 %296 = sext i32 %295 to i64 %297 = getelementptr inbounds [100 x double], ptr @kutta.y1, i64 0, i64 %296 %298 = load double, ptr %297, align 8 %299 = call double @llvm.fabs.f64(double %298) %300 = load double, ptr %16, align 8 %301 = fmul double %299, %300 store double %301, ptr %29, align 8 %302 = load double, ptr %28, align 8 %303 = load double, ptr %29, align 8 %304 = fcmp oge double %302, %303 br i1 %304, label %305, label %327 305: ; preds = %283 %306 = load double, ptr %28, align 8 %307 = load double, ptr %15, align 8 %308 = fcmp oge double %306, %307 br i1 %308, label %309, label %327 309: ; preds = %305 %310 = load double, ptr %24, align 8 store double %310, ptr %22, align 8 store double %310, ptr @kutta.hc, align 8 %311 = load double, ptr %24, align 8 %312 = load double, ptr %21, align 8 %313 = fsub double %312, %311 store double %313, ptr %21, align 8 %314 = load i32, ptr @kutta.numcuts, align 4 %315 = add nsw i32 %314, -1 store i32 %315, ptr @kutta.numcuts, align 4 %316 = icmp sgt i32 %314, 0 br i1 %316, label %82, label %317 317: ; preds = %309 %318 = load double, ptr %21, align 8 %319 = load double, ptr %22, align 8 %320 = fsub double %318, %319 %321 = load ptr, ptr %13, align 8 store double %320, ptr %321, align 8 %322 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %320) %323 = load ptr, ptr %10, align 8 %324 = load ptr, ptr %13, align 8 %325 = load double, ptr %324, align 8 %326 = load ptr, ptr %12, align 8 call void %323(double noundef %325, ptr noundef %326, ptr noundef @kutta.f0, i8 noundef signext 0) store i32 0, ptr %9, align 4 br label %480 327: ; preds = %305, %283 %328 = load i8, ptr %19, align 1 %329 = sext i8 %328 to i32 %330 = icmp ne i32 %329, 0 br i1 %330, label %331, label %342 331: ; preds = %327 %332 = load double, ptr %28, align 8 %333 = fmul double 6.400000e+01, %332 %334 = load double, ptr %29, align 8 %335 = fcmp ogt double %333, %334 br i1 %335, label %336, label %342 336: ; preds = %331 %337 = load double, ptr %28, align 8 %338 = fmul double 6.400000e+01, %337 %339 = load double, ptr %15, align 8 %340 = fcmp ogt double %338, %339 br i1 %340, label %341, label %342 341: ; preds = %336 store i8 0, ptr %19, align 1 br label %342 342: ; preds = %341, %336, %331, %327 br label %343 343: ; preds = %342 %344 = load i32, ptr %23, align 4 %345 = add nsw i32 %344, 1 store i32 %345, ptr %23, align 4 %346 = load i32, ptr %23, align 4 %347 = load i32, ptr %11, align 4 %348 = icmp slt i32 %346, %347 br i1 %348, label %283, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %343 br label %349 349: ; preds = %._crit_edge15, %279 store i32 0, ptr %23, align 4 %350 = load i32, ptr %23, align 4 %351 = load i32, ptr %11, align 4 %352 = icmp slt i32 %350, %351 br i1 %352, label %.lr.ph17, label %368 .lr.ph17: ; preds = %349 br label %353 353: ; preds = %.lr.ph17, %362 %354 = load i32, ptr %23, align 4 %355 = sext i32 %354 to i64 %356 = getelementptr inbounds [100 x double], ptr @kutta.y2, i64 0, i64 %355 %357 = load double, ptr %356, align 8 %358 = load ptr, ptr %12, align 8 %359 = load i32, ptr %23, align 4 %360 = sext i32 %359 to i64 %361 = getelementptr inbounds double, ptr %358, i64 %360 store double %357, ptr %361, align 8 br label %362 362: ; preds = %353 %363 = load i32, ptr %23, align 4 %364 = add nsw i32 %363, 1 store i32 %364, ptr %23, align 4 %365 = load i32, ptr %23, align 4 %366 = load i32, ptr %11, align 4 %367 = icmp slt i32 %365, %366 br i1 %367, label %353, label %._crit_edge18, !llvm.loop !13 ._crit_edge18: ; preds = %362 br label %368 368: ; preds = %._crit_edge18, %349 %369 = load i8, ptr %19, align 1 %370 = sext i8 %369 to i32 %371 = icmp ne i32 %370, 0 br i1 %371, label %372, label %396 372: ; preds = %368 %373 = load double, ptr %22, align 8 %374 = load double, ptr %22, align 8 %375 = fadd double %373, %374 %376 = call double @llvm.fabs.f64(double %375) %377 = load double, ptr %14, align 8 %378 = call double @llvm.fabs.f64(double %377) %379 = fcmp ole double %376, %378 br i1 %379, label %380, label %396 380: ; preds = %372 %381 = load double, ptr %21, align 8 %382 = load double, ptr %22, align 8 %383 = fadd double %381, %382 %384 = load double, ptr %22, align 8 %385 = fadd double %383, %384 %386 = call double @llvm.fabs.f64(double %385) %387 = load double, ptr %20, align 8 %388 = call double @llvm.fabs.f64(double %387) %389 = fcmp ole double %386, %388 br i1 %389, label %390, label %396 390: ; preds = %380 %391 = load double, ptr %22, align 8 %392 = load double, ptr %22, align 8 %393 = fadd double %392, %391 store double %393, ptr %22, align 8 store double %393, ptr @kutta.hc, align 8 %394 = load i32, ptr @kutta.numcuts, align 4 %395 = add nsw i32 %394, 1 store i32 %395, ptr @kutta.numcuts, align 4 br label %396 396: ; preds = %390, %380, %372, %368 %397 = load double, ptr %21, align 8 %398 = load double, ptr %20, align 8 %399 = fcmp oeq double %397, %398 br i1 %399, label %400, label %404 400: ; preds = %396 %401 = load ptr, ptr %10, align 8 %402 = load double, ptr %20, align 8 %403 = load ptr, ptr %12, align 8 call void %401(double noundef %402, ptr noundef %403, ptr noundef @kutta.f0, i8 noundef signext 2) store i32 1, ptr %9, align 4 br label %480 404: ; preds = %396 %405 = load double, ptr %22, align 8 %406 = load double, ptr %21, align 8 %407 = fadd double %406, %405 store double %407, ptr %21, align 8 %408 = load double, ptr %22, align 8 %409 = fcmp ogt double %408, 0.000000e+00 br i1 %409, label %410, label %416 410: ; preds = %404 %411 = load double, ptr %21, align 8 %412 = load double, ptr %20, align 8 %413 = load double, ptr %22, align 8 %414 = call double @llvm.fmuladd.f64(double -1.000000e-01, double %413, double %412) %415 = fcmp ogt double %411, %414 br i1 %415, label %425, label %416 416: ; preds = %410, %404 %417 = load double, ptr %22, align 8 %418 = fcmp olt double %417, 0.000000e+00 br i1 %418, label %419, label %432 419: ; preds = %416 %420 = load double, ptr %21, align 8 %421 = load double, ptr %20, align 8 %422 = load double, ptr %22, align 8 %423 = call double @llvm.fmuladd.f64(double -1.000000e-01, double %422, double %421) %424 = fcmp olt double %420, %423 br i1 %424, label %425, label %432 425: ; preds = %419, %410 %426 = load double, ptr %20, align 8 %427 = load double, ptr %21, align 8 %428 = load double, ptr %22, align 8 %429 = fsub double %427, %428 %430 = fsub double %426, %429 store double %430, ptr %22, align 8 %431 = load double, ptr %20, align 8 store double %431, ptr %21, align 8 br label %432 432: ; preds = %425, %419, %416 %433 = load i8, ptr %17, align 1 %434 = sext i8 %433 to i32 %435 = icmp eq i32 %434, 1 br i1 %435, label %436, label %455 436: ; preds = %432 store i32 0, ptr %23, align 4 %437 = load i32, ptr %23, align 4 %438 = load i32, ptr %11, align 4 %439 = icmp slt i32 %437, %438 br i1 %439, label %.lr.ph20, label %454 .lr.ph20: ; preds = %436 br label %440 440: ; preds = %.lr.ph20, %448 %441 = load i32, ptr %23, align 4 %442 = sext i32 %441 to i64 %443 = getelementptr inbounds [100 x double], ptr @kutta.f1, i64 0, i64 %442 %444 = load double, ptr %443, align 8 %445 = load i32, ptr %23, align 4 %446 = sext i32 %445 to i64 %447 = getelementptr inbounds [100 x double], ptr @kutta.f0, i64 0, i64 %446 store double %444, ptr %447, align 8 br label %448 448: ; preds = %440 %449 = load i32, ptr %23, align 4 %450 = add nsw i32 %449, 1 store i32 %450, ptr %23, align 4 %451 = load i32, ptr %23, align 4 %452 = load i32, ptr %11, align 4 %453 = icmp slt i32 %451, %452 br i1 %453, label %440, label %._crit_edge21, !llvm.loop !14 ._crit_edge21: ; preds = %448 br label %454 454: ; preds = %._crit_edge21, %436 br label %455 455: ; preds = %454, %432 %456 = load i8, ptr %17, align 1 %457 = sext i8 %456 to i32 %458 = icmp eq i32 %457, 3 br i1 %458, label %459, label %465 459: ; preds = %455 %460 = load ptr, ptr %10, align 8 %461 = load double, ptr %21, align 8 %462 = load double, ptr %22, align 8 %463 = fsub double %461, %462 %464 = load ptr, ptr %12, align 8 call void %460(double noundef %463, ptr noundef %464, ptr noundef @kutta.f0, i8 noundef signext 0) br label %465 465: ; preds = %459, %455 %466 = load double, ptr %21, align 8 %467 = load double, ptr %22, align 8 %468 = fadd double %466, %467 %469 = load double, ptr %21, align 8 %470 = fcmp une double %468, %469 br i1 %470, label %88, label %._crit_edge25, !llvm.loop !15 .._crit_edge24_crit_edge: ; preds = %82 br label %._crit_edge24 ._crit_edge24: ; preds = %.._crit_edge24_crit_edge, %69 br label %471 ._crit_edge25: ; preds = %465 br label %471 471: ; preds = %._crit_edge25, %._crit_edge24 %472 = load double, ptr %22, align 8 %473 = load double, ptr %21, align 8 %474 = load ptr, ptr %13, align 8 store double %473, ptr %474, align 8 %475 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %472, double noundef %473) %476 = load ptr, ptr %10, align 8 %477 = load ptr, ptr %13, align 8 %478 = load double, ptr %477, align 8 %479 = load ptr, ptr %12, align 8 call void %476(double noundef %478, ptr noundef %479, ptr noundef @kutta.f0, i8 noundef signext 0) store i32 0, ptr %9, align 4 br label %480 480: ; preds = %471, %400, %317, %54, %49, %41, %36 %481 = load i32, ptr %9, align 4 ret i32 %481 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7}
; ModuleID = '/tmp/tmp36pi0j23.c' source_filename = "/tmp/tmp36pi0j23.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memmove_good3() #0 { %1 = alloca [10 x i32], align 16 %2 = alloca [20 x i32], align 16 %3 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 0 %4 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 0 %5 = call i32 @memmove(ptr noundef %3, ptr noundef %4, i32 noundef 20) ret void } declare i32 @memmove(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/tmp36pi0j23.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memmove_good3() #0 { %1 = alloca [10 x i32], align 16 %2 = alloca [20 x i32], align 16 %3 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 0 %4 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 0 %5 = call i32 @memmove(ptr noundef %3, ptr noundef %4, i32 noundef 20) ret void } declare i32 @memmove(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/tmpfu1mjhsp.c' source_filename = "/tmp/tmpfu1mjhsp.c" target datalayout = "e-m:e-p270: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 [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isbdigit.c\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"isbdigit should be 0 for j\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isbdigit_0x6a() #0 { %1 = call i64 @isbdigit(i32 noundef 106) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 535, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isbdigit(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/tmpfu1mjhsp.c" target datalayout = "e-m:e-p270: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 [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isbdigit.c\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"isbdigit should be 0 for j\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isbdigit_0x6a() #0 { %1 = call i64 @isbdigit(i32 noundef 106) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 535, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isbdigit(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/tmp3xdyt7og.c' source_filename = "/tmp/tmp3xdyt7og.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fl_fputc(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i8, align 1 %7 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr %4, align 4 %9 = trunc i32 %8 to i8 store i8 %9, ptr %6, align 1 %10 = load ptr, ptr %5, align 8 %11 = call i32 @fl_fwrite(ptr noundef %6, i32 noundef 1, i32 noundef 1, ptr noundef %10) store i32 %11, ptr %7, align 4 %12 = load i32, ptr %7, align 4 %13 = icmp eq i32 %12, 1 br i1 %13, label %14, label %16 14: ; preds = %2 %15 = load i32, ptr %4, align 4 store i32 %15, ptr %3, align 4 br label %18 16: ; preds = %2 %17 = load i32, ptr %7, align 4 store i32 %17, ptr %3, align 4 br label %18 18: ; preds = %16, %14 %19 = load i32, ptr %3, align 4 ret i32 %19 } declare i32 @fl_fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3xdyt7og.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fl_fputc(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i8, align 1 %7 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr %4, align 4 %9 = trunc i32 %8 to i8 store i8 %9, ptr %6, align 1 %10 = load ptr, ptr %5, align 8 %11 = call i32 @fl_fwrite(ptr noundef %6, i32 noundef 1, i32 noundef 1, ptr noundef %10) store i32 %11, ptr %7, align 4 %12 = load i32, ptr %7, align 4 %13 = icmp eq i32 %12, 1 br i1 %13, label %14, label %16 14: ; preds = %2 %15 = load i32, ptr %4, align 4 store i32 %15, ptr %3, align 4 br label %18 16: ; preds = %2 %17 = load i32, ptr %7, align 4 store i32 %17, ptr %3, align 4 br label %18 18: ; preds = %16, %14 %19 = load i32, ptr %3, align 4 ret i32 %19 } declare i32 @fl_fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7pmlforv.c' source_filename = "/tmp/tmp7pmlforv.c" target datalayout = "e-m:e-p270: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 void @err(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @fflush(ptr noundef null) %4 = load ptr, ptr %2, align 8 %5 = call i32 @printf(ptr noundef %4) %6 = load i32, ptr @EXIT_FAILURE, align 4 %7 = call i32 @exit(i32 noundef %6) #3 unreachable } declare i32 @fflush(ptr noundef) #1 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/tmp7pmlforv.c" target datalayout = "e-m:e-p270: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 void @err(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @fflush(ptr noundef null) %4 = load ptr, ptr %2, align 8 %5 = call i32 @printf(ptr noundef %4) %6 = load i32, ptr @EXIT_FAILURE, align 4 %7 = call i32 @exit(i32 noundef %6) #3 unreachable } declare i32 @fflush(ptr noundef) #1 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/tmpmk182gp7.c' source_filename = "/tmp/tmpmk182gp7.c" target datalayout = "e-m:e-p270: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"/proc/mtd\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"mtd%d:\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"/dev/mtd%d\00", align 1 @.str.4 = private unnamed_addr constant [12 x i8] c"/dev/mtd/%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @mtd_open(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca [80 x i8], align 16 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %10 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %10, ptr %6, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %50 12: ; preds = %2 br label %13 13: ; preds = %46, %12 %14 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 0 %15 = load ptr, ptr %6, align 8 %16 = call i64 @fgets(ptr noundef %14, i32 noundef 80, ptr noundef %15) %17 = icmp ne i64 %16, 0 br i1 %17, label %18, label %47 18: ; preds = %13 %19 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 0 %20 = call i64 @sscanf(ptr noundef %19, ptr noundef @.str.2, ptr noundef %8) %21 = icmp ne i64 %20, 0 br i1 %21, label %22, label %46 22: ; preds = %18 %23 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 0 %24 = load ptr, ptr %4, align 8 %25 = call i64 @strstr(ptr noundef %23, ptr noundef %24) %26 = icmp ne i64 %25, 0 br i1 %26, label %27, label %46 27: ; preds = %22 %28 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 0 %29 = load i32, ptr %8, align 4 %30 = call i32 @snprintf(ptr noundef %28, i32 noundef 80, ptr noundef @.str.3, i32 noundef %29) %31 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 0 %32 = load i32, ptr %5, align 4 %33 = call i32 @open(ptr noundef %31, i32 noundef %32) store i32 %33, ptr %9, align 4 %34 = icmp slt i32 %33, 0 br i1 %34, label %35, label %42 35: ; preds = %27 %36 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 0 %37 = load i32, ptr %8, align 4 %38 = call i32 @snprintf(ptr noundef %36, i32 noundef 80, ptr noundef @.str.4, i32 noundef %37) %39 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 0 %40 = load i32, ptr %5, align 4 %41 = call i32 @open(ptr noundef %39, i32 noundef %40) store i32 %41, ptr %9, align 4 br label %42 42: ; preds = %35, %27 %43 = load ptr, ptr %6, align 8 %44 = call i32 @fclose(ptr noundef %43) %45 = load i32, ptr %9, align 4 store i32 %45, ptr %3, align 4 br label %51 46: ; preds = %22, %18 br label %13, !llvm.loop !6 47: ; preds = %13 %48 = load ptr, ptr %6, align 8 %49 = call i32 @fclose(ptr noundef %48) br label %50 50: ; preds = %47, %2 store i32 -1, ptr %3, align 4 br label %51 51: ; preds = %50, %42 %52 = load i32, ptr %3, align 4 ret i32 %52 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @strstr(ptr noundef, ptr noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmk182gp7.c" target datalayout = "e-m:e-p270: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"/proc/mtd\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"mtd%d:\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"/dev/mtd%d\00", align 1 @.str.4 = private unnamed_addr constant [12 x i8] c"/dev/mtd/%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @mtd_open(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca [80 x i8], align 16 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %10 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %10, ptr %6, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %52 12: ; preds = %2 %13 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 0 %14 = load ptr, ptr %6, align 8 %15 = call i64 @fgets(ptr noundef %13, i32 noundef 80, ptr noundef %14) %16 = icmp ne i64 %15, 0 br i1 %16, label %.lr.ph, label %49 .lr.ph: ; preds = %12 br label %17 17: ; preds = %.lr.ph, %45 %18 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 0 %19 = call i64 @sscanf(ptr noundef %18, ptr noundef @.str.2, ptr noundef %8) %20 = icmp ne i64 %19, 0 br i1 %20, label %21, label %45 21: ; preds = %17 %22 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 0 %23 = load ptr, ptr %4, align 8 %24 = call i64 @strstr(ptr noundef %22, ptr noundef %23) %25 = icmp ne i64 %24, 0 br i1 %25, label %26, label %45 26: ; preds = %21 %27 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 0 %28 = load i32, ptr %8, align 4 %29 = call i32 @snprintf(ptr noundef %27, i32 noundef 80, ptr noundef @.str.3, i32 noundef %28) %30 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 0 %31 = load i32, ptr %5, align 4 %32 = call i32 @open(ptr noundef %30, i32 noundef %31) store i32 %32, ptr %9, align 4 %33 = icmp slt i32 %32, 0 br i1 %33, label %34, label %41 34: ; preds = %26 %35 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 0 %36 = load i32, ptr %8, align 4 %37 = call i32 @snprintf(ptr noundef %35, i32 noundef 80, ptr noundef @.str.4, i32 noundef %36) %38 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 0 %39 = load i32, ptr %5, align 4 %40 = call i32 @open(ptr noundef %38, i32 noundef %39) store i32 %40, ptr %9, align 4 br label %41 41: ; preds = %34, %26 %42 = load ptr, ptr %6, align 8 %43 = call i32 @fclose(ptr noundef %42) %44 = load i32, ptr %9, align 4 store i32 %44, ptr %3, align 4 br label %53 45: ; preds = %21, %17 %46 = load ptr, ptr %6, align 8 %47 = call i64 @fgets(ptr noundef %13, i32 noundef 80, ptr noundef %46) %48 = icmp ne i64 %47, 0 br i1 %48, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %45 br label %49 49: ; preds = %._crit_edge, %12 %50 = load ptr, ptr %6, align 8 %51 = call i32 @fclose(ptr noundef %50) br label %52 52: ; preds = %49, %2 store i32 -1, ptr %3, align 4 br label %53 53: ; preds = %52, %41 %54 = load i32, ptr %3, align 4 ret i32 %54 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @strstr(ptr noundef, ptr noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpqbvkczhi.c' source_filename = "/tmp/tmpqbvkczhi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"pts_mmap_7_3_%d\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 @O_EXCL = dso_local global i32 0, align 4 @S_IRUSR = dso_local global i32 0, align 4 @S_IWUSR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [25 x i8] c"Error at shm_open(): %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [26 x i8] c"Error at ftruncate(): %s\0A\00", align 1 @PROT_READ = dso_local global i32 0, align 4 @PROT_WRITE = dso_local global i32 0, align 4 @MAP_PRIVATE = dso_local global i32 0, align 4 @MAP_FAILED = dso_local global ptr null, align 8 @.str.3 = private unnamed_addr constant [21 x i8] c"Error at mmap(): %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [90 x i8] c"Set flag as MAP_PRIVATE, write reference will change the underlying shared memory object\0A\00", align 1 @.str.5 = private unnamed_addr constant [106 x i8] c"Set flag as MAP_PRIVATE, write reference will not change the underlying shared memory object\0ATest PASSED\0A\00", align 1 @.str.6 = private unnamed_addr constant [21 x i8] c"Error at fork(): %s\0A\00", align 1 @WUNTRACED = dso_local global i32 0, align 4 @.str.7 = private unnamed_addr constant [29 x i8] c"Child has not exit properly\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [256 x i8], align 16 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i64 1024, ptr %4, align 8 %8 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %9 = call i32 (...) @getpid() %10 = call i32 @snprintf(ptr noundef %8, i32 noundef 256, ptr noundef @.str, i32 noundef %9) %11 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %12 = call i32 @shm_unlink(ptr noundef %11) %13 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %14 = load i32, ptr @O_RDWR, align 4 %15 = load i32, ptr @O_CREAT, align 4 %16 = or i32 %14, %15 %17 = load i32, ptr @O_EXCL, align 4 %18 = or i32 %16, %17 %19 = load i32, ptr @S_IRUSR, align 4 %20 = load i32, ptr @S_IWUSR, align 4 %21 = or i32 %19, %20 %22 = call i32 @shm_open(ptr noundef %13, i32 noundef %18, i32 noundef %21) store i32 %22, ptr %5, align 4 %23 = load i32, ptr %5, align 4 %24 = icmp eq i32 %23, -1 br i1 %24, label %25, label %29 25: ; preds = %0 %26 = load i32, ptr @errno, align 4 %27 = call ptr @strerror(i32 noundef %26) %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %27) store i32 2, ptr %1, align 4 br label %104 29: ; preds = %0 %30 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %31 = call i32 @shm_unlink(ptr noundef %30) %32 = load i32, ptr %5, align 4 %33 = load i64, ptr %4, align 8 %34 = call i32 @ftruncate(i32 noundef %32, i64 noundef %33) %35 = icmp eq i32 %34, -1 br i1 %35, label %36, label %40 36: ; preds = %29 %37 = load i32, ptr @errno, align 4 %38 = call ptr @strerror(i32 noundef %37) %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %38) store i32 2, ptr %1, align 4 br label %104 40: ; preds = %29 %41 = load i64, ptr %4, align 8 %42 = load i32, ptr @PROT_READ, align 4 %43 = load i32, ptr @PROT_WRITE, align 4 %44 = or i32 %42, %43 %45 = load i32, ptr @MAP_PRIVATE, align 4 %46 = load i32, ptr %5, align 4 %47 = call ptr @mmap(ptr noundef null, i64 noundef %41, i32 noundef %44, i32 noundef %45, i32 noundef %46, i32 noundef 0) store ptr %47, ptr %3, align 8 %48 = load ptr, ptr %3, align 8 %49 = load ptr, ptr @MAP_FAILED, align 8 %50 = icmp eq ptr %48, %49 br i1 %50, label %51, label %55 51: ; preds = %40 %52 = load i32, ptr @errno, align 4 %53 = call ptr @strerror(i32 noundef %52) %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %53) store i32 1, ptr %1, align 4 br label %104 55: ; preds = %40 %56 = load ptr, ptr %3, align 8 store i8 97, ptr %56, align 1 %57 = call i32 (...) @fork() store i32 %57, ptr %6, align 4 %58 = load i32, ptr %6, align 4 switch i32 %58, label %87 [ i32 0, label %59 i32 -1, label %83 ] 59: ; preds = %55 %60 = load i64, ptr %4, align 8 %61 = load i32, ptr @PROT_READ, align 4 %62 = load i32, ptr @PROT_WRITE, align 4 %63 = or i32 %61, %62 %64 = load i32, ptr @MAP_PRIVATE, align 4 %65 = load i32, ptr %5, align 4 %66 = call ptr @mmap(ptr noundef null, i64 noundef %60, i32 noundef %63, i32 noundef %64, i32 noundef %65, i32 noundef 0) store ptr %66, ptr %3, align 8 %67 = load ptr, ptr %3, align 8 %68 = load ptr, ptr @MAP_FAILED, align 8 %69 = icmp eq ptr %67, %68 br i1 %69, label %70, label %74 70: ; preds = %59 %71 = load i32, ptr @errno, align 4 %72 = call ptr @strerror(i32 noundef %71) %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %72) store i32 1, ptr %1, align 4 br label %104 74: ; preds = %59 %75 = load ptr, ptr %3, align 8 %76 = load i8, ptr %75, align 1 %77 = sext i8 %76 to i32 %78 = icmp eq i32 %77, 97 br i1 %78, label %79, label %81 79: ; preds = %74 %80 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) store i32 1, ptr %1, align 4 br label %104 81: ; preds = %74 %82 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) store i32 0, ptr %1, align 4 br label %104 83: ; preds = %55 %84 = load i32, ptr @errno, align 4 %85 = call ptr @strerror(i32 noundef %84) %86 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %85) store i32 2, ptr %1, align 4 br label %104 87: ; preds = %55 %88 = load i32, ptr %6, align 4 %89 = load i32, ptr @WUNTRACED, align 4 %90 = call i32 @waitpid(i32 noundef %88, ptr noundef %7, i32 noundef %89) %91 = load i32, ptr %5, align 4 %92 = call i32 @close(i32 noundef %91) %93 = load ptr, ptr %3, align 8 %94 = load i64, ptr %4, align 8 %95 = call i32 @munmap(ptr noundef %93, i64 noundef %94) %96 = load i32, ptr %7, align 4 %97 = call i32 @WIFEXITED(i32 noundef %96) %98 = icmp ne i32 %97, 0 br i1 %98, label %99, label %102 99: ; preds = %87 %100 = load i32, ptr %7, align 4 %101 = call i32 @WEXITSTATUS(i32 noundef %100) store i32 %101, ptr %1, align 4 br label %104 102: ; preds = %87 %103 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) store i32 2, ptr %1, align 4 br label %104 104: ; preds = %102, %99, %83, %81, %79, %70, %51, %36, %25 %105 = load i32, ptr %1, align 4 ret i32 %105 } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @getpid(...) #1 declare i32 @shm_unlink(ptr noundef) #1 declare i32 @shm_open(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @strerror(i32 noundef) #1 declare i32 @ftruncate(i32 noundef, i64 noundef) #1 declare ptr @mmap(ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @fork(...) #1 declare i32 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @munmap(ptr noundef, i64 noundef) #1 declare i32 @WIFEXITED(i32 noundef) #1 declare i32 @WEXITSTATUS(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/tmpqbvkczhi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"pts_mmap_7_3_%d\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 @O_EXCL = dso_local global i32 0, align 4 @S_IRUSR = dso_local global i32 0, align 4 @S_IWUSR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [25 x i8] c"Error at shm_open(): %s\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [26 x i8] c"Error at ftruncate(): %s\0A\00", align 1 @PROT_READ = dso_local global i32 0, align 4 @PROT_WRITE = dso_local global i32 0, align 4 @MAP_PRIVATE = dso_local global i32 0, align 4 @MAP_FAILED = dso_local global ptr null, align 8 @.str.3 = private unnamed_addr constant [21 x i8] c"Error at mmap(): %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [90 x i8] c"Set flag as MAP_PRIVATE, write reference will change the underlying shared memory object\0A\00", align 1 @.str.5 = private unnamed_addr constant [106 x i8] c"Set flag as MAP_PRIVATE, write reference will not change the underlying shared memory object\0ATest PASSED\0A\00", align 1 @.str.6 = private unnamed_addr constant [21 x i8] c"Error at fork(): %s\0A\00", align 1 @WUNTRACED = dso_local global i32 0, align 4 @.str.7 = private unnamed_addr constant [29 x i8] c"Child has not exit properly\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [256 x i8], align 16 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i64 1024, ptr %4, align 8 %8 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %9 = call i32 (...) @getpid() %10 = call i32 @snprintf(ptr noundef %8, i32 noundef 256, ptr noundef @.str, i32 noundef %9) %11 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %12 = call i32 @shm_unlink(ptr noundef %11) %13 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %14 = load i32, ptr @O_RDWR, align 4 %15 = load i32, ptr @O_CREAT, align 4 %16 = or i32 %14, %15 %17 = load i32, ptr @O_EXCL, align 4 %18 = or i32 %16, %17 %19 = load i32, ptr @S_IRUSR, align 4 %20 = load i32, ptr @S_IWUSR, align 4 %21 = or i32 %19, %20 %22 = call i32 @shm_open(ptr noundef %13, i32 noundef %18, i32 noundef %21) store i32 %22, ptr %5, align 4 %23 = load i32, ptr %5, align 4 %24 = icmp eq i32 %23, -1 br i1 %24, label %25, label %29 25: ; preds = %0 %26 = load i32, ptr @errno, align 4 %27 = call ptr @strerror(i32 noundef %26) %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %27) store i32 2, ptr %1, align 4 br label %104 29: ; preds = %0 %30 = getelementptr inbounds [256 x i8], ptr %2, i64 0, i64 0 %31 = call i32 @shm_unlink(ptr noundef %30) %32 = load i32, ptr %5, align 4 %33 = load i64, ptr %4, align 8 %34 = call i32 @ftruncate(i32 noundef %32, i64 noundef %33) %35 = icmp eq i32 %34, -1 br i1 %35, label %36, label %40 36: ; preds = %29 %37 = load i32, ptr @errno, align 4 %38 = call ptr @strerror(i32 noundef %37) %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %38) store i32 2, ptr %1, align 4 br label %104 40: ; preds = %29 %41 = load i64, ptr %4, align 8 %42 = load i32, ptr @PROT_READ, align 4 %43 = load i32, ptr @PROT_WRITE, align 4 %44 = or i32 %42, %43 %45 = load i32, ptr @MAP_PRIVATE, align 4 %46 = load i32, ptr %5, align 4 %47 = call ptr @mmap(ptr noundef null, i64 noundef %41, i32 noundef %44, i32 noundef %45, i32 noundef %46, i32 noundef 0) store ptr %47, ptr %3, align 8 %48 = load ptr, ptr %3, align 8 %49 = load ptr, ptr @MAP_FAILED, align 8 %50 = icmp eq ptr %48, %49 br i1 %50, label %51, label %55 51: ; preds = %40 %52 = load i32, ptr @errno, align 4 %53 = call ptr @strerror(i32 noundef %52) %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %53) store i32 1, ptr %1, align 4 br label %104 55: ; preds = %40 %56 = load ptr, ptr %3, align 8 store i8 97, ptr %56, align 1 %57 = call i32 (...) @fork() store i32 %57, ptr %6, align 4 %58 = load i32, ptr %6, align 4 switch i32 %58, label %87 [ i32 0, label %59 i32 -1, label %83 ] 59: ; preds = %55 %60 = load i64, ptr %4, align 8 %61 = load i32, ptr @PROT_READ, align 4 %62 = load i32, ptr @PROT_WRITE, align 4 %63 = or i32 %61, %62 %64 = load i32, ptr @MAP_PRIVATE, align 4 %65 = load i32, ptr %5, align 4 %66 = call ptr @mmap(ptr noundef null, i64 noundef %60, i32 noundef %63, i32 noundef %64, i32 noundef %65, i32 noundef 0) store ptr %66, ptr %3, align 8 %67 = load ptr, ptr %3, align 8 %68 = load ptr, ptr @MAP_FAILED, align 8 %69 = icmp eq ptr %67, %68 br i1 %69, label %70, label %74 70: ; preds = %59 %71 = load i32, ptr @errno, align 4 %72 = call ptr @strerror(i32 noundef %71) %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %72) store i32 1, ptr %1, align 4 br label %104 74: ; preds = %59 %75 = load ptr, ptr %3, align 8 %76 = load i8, ptr %75, align 1 %77 = sext i8 %76 to i32 %78 = icmp eq i32 %77, 97 br i1 %78, label %79, label %81 79: ; preds = %74 %80 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) store i32 1, ptr %1, align 4 br label %104 81: ; preds = %74 %82 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) store i32 0, ptr %1, align 4 br label %104 83: ; preds = %55 %84 = load i32, ptr @errno, align 4 %85 = call ptr @strerror(i32 noundef %84) %86 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %85) store i32 2, ptr %1, align 4 br label %104 87: ; preds = %55 %88 = load i32, ptr %6, align 4 %89 = load i32, ptr @WUNTRACED, align 4 %90 = call i32 @waitpid(i32 noundef %88, ptr noundef %7, i32 noundef %89) %91 = load i32, ptr %5, align 4 %92 = call i32 @close(i32 noundef %91) %93 = load ptr, ptr %3, align 8 %94 = load i64, ptr %4, align 8 %95 = call i32 @munmap(ptr noundef %93, i64 noundef %94) %96 = load i32, ptr %7, align 4 %97 = call i32 @WIFEXITED(i32 noundef %96) %98 = icmp ne i32 %97, 0 br i1 %98, label %99, label %102 99: ; preds = %87 %100 = load i32, ptr %7, align 4 %101 = call i32 @WEXITSTATUS(i32 noundef %100) store i32 %101, ptr %1, align 4 br label %104 102: ; preds = %87 %103 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) store i32 2, ptr %1, align 4 br label %104 104: ; preds = %102, %99, %83, %81, %79, %70, %51, %36, %25 %105 = load i32, ptr %1, align 4 ret i32 %105 } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @getpid(...) #1 declare i32 @shm_unlink(ptr noundef) #1 declare i32 @shm_open(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @strerror(i32 noundef) #1 declare i32 @ftruncate(i32 noundef, i64 noundef) #1 declare ptr @mmap(ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @fork(...) #1 declare i32 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @munmap(ptr noundef, i64 noundef) #1 declare i32 @WIFEXITED(i32 noundef) #1 declare i32 @WEXITSTATUS(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/tmpyo_jgkv8.c' source_filename = "/tmp/tmpyo_jgkv8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @BUS_USB = dso_local global i16 0, align 2 @ID_BUS = dso_local global i64 0, align 8 @ID_PRODUCT = dso_local global i64 0, align 8 @ID_VENDOR = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyo_jgkv8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @BUS_USB = dso_local global i16 0, align 2 @ID_BUS = dso_local global i64 0, align 8 @ID_PRODUCT = dso_local global i64 0, align 8 @ID_VENDOR = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkcal_7wv.c' source_filename = "/tmp/tmpkcal_7wv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @FileUtil_countToLine(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca [1024 x i8], align 16 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 %11 = load ptr, ptr %6, align 8 %12 = call i32 @strlen(ptr noundef %11) store i32 %12, ptr %10, align 4 %13 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %14 = load ptr, ptr %4, align 8 %15 = call i32 @fgets(ptr noundef %13, i32 noundef 1024, ptr noundef %14) br label %16 16: ; preds = %40, %3 %17 = load ptr, ptr %4, align 8 %18 = call i32 @feof(ptr noundef %17) %19 = icmp ne i32 %18, 0 br i1 %19, label %24, label %20 20: ; preds = %16 %21 = load i32, ptr %9, align 4 %22 = icmp ne i32 %21, 0 %23 = xor i1 %22, true br label %24 24: ; preds = %20, %16 %25 = phi i1 [ false, %16 ], [ %23, %20 ] br i1 %25, label %26, label %44 26: ; preds = %24 %27 = load i32, ptr %8, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %8, align 4 %29 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %30 = call i32 @StrUtil_rmEndSpaces(ptr noundef %29) %31 = load i32, ptr %10, align 4 %32 = icmp ne i32 %31, 0 br i1 %32, label %33, label %40 33: ; preds = %26 %34 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %35 = load ptr, ptr %6, align 8 %36 = load i32, ptr %10, align 4 %37 = call i32 @strncmp(ptr noundef %34, ptr noundef %35, i32 noundef %36) %38 = icmp ne i32 %37, 0 br i1 %38, label %40, label %39 39: ; preds = %33 store i32 1, ptr %9, align 4 br label %40 40: ; preds = %39, %33, %26 %41 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %42 = load ptr, ptr %4, align 8 %43 = call i32 @fgets(ptr noundef %41, i32 noundef 1024, ptr noundef %42) br label %16, !llvm.loop !6 44: ; preds = %24 %45 = load i32, ptr %8, align 4 %46 = load ptr, ptr %5, align 8 store i32 %45, ptr %46, align 4 ret i32 1 } declare i32 @strlen(ptr noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @feof(ptr noundef) #1 declare i32 @StrUtil_rmEndSpaces(ptr noundef) #1 declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkcal_7wv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @FileUtil_countToLine(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca [1024 x i8], align 16 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 %11 = load ptr, ptr %6, align 8 %12 = call i32 @strlen(ptr noundef %11) store i32 %12, ptr %10, align 4 %13 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %14 = load ptr, ptr %4, align 8 %15 = call i32 @fgets(ptr noundef %13, i32 noundef 1024, ptr noundef %14) br label %16 16: ; preds = %40, %3 %17 = load ptr, ptr %4, align 8 %18 = call i32 @feof(ptr noundef %17) %19 = icmp ne i32 %18, 0 br i1 %19, label %24, label %20 20: ; preds = %16 %21 = load i32, ptr %9, align 4 %22 = icmp ne i32 %21, 0 %23 = xor i1 %22, true br label %24 24: ; preds = %20, %16 %25 = phi i1 [ false, %16 ], [ %23, %20 ] br i1 %25, label %26, label %44 26: ; preds = %24 %27 = load i32, ptr %8, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %8, align 4 %29 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %30 = call i32 @StrUtil_rmEndSpaces(ptr noundef %29) %31 = load i32, ptr %10, align 4 %32 = icmp ne i32 %31, 0 br i1 %32, label %33, label %40 33: ; preds = %26 %34 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %35 = load ptr, ptr %6, align 8 %36 = load i32, ptr %10, align 4 %37 = call i32 @strncmp(ptr noundef %34, ptr noundef %35, i32 noundef %36) %38 = icmp ne i32 %37, 0 br i1 %38, label %40, label %39 39: ; preds = %33 store i32 1, ptr %9, align 4 br label %40 40: ; preds = %39, %33, %26 %41 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %42 = load ptr, ptr %4, align 8 %43 = call i32 @fgets(ptr noundef %41, i32 noundef 1024, ptr noundef %42) br label %16, !llvm.loop !6 44: ; preds = %24 %45 = load i32, ptr %8, align 4 %46 = load ptr, ptr %5, align 8 store i32 %45, ptr %46, align 4 ret i32 1 } declare i32 @strlen(ptr noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @feof(ptr noundef) #1 declare i32 @StrUtil_rmEndSpaces(ptr noundef) #1 declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpokns9fi_.c' source_filename = "/tmp/tmpokns9fi_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"\0A%s\0A\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [18 x i8] c" Basic options:\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [55 x i8] c" -n, --name #name - specify name of the server\0A\00", align 1 @.str.3 = private unnamed_addr constant [64 x i8] c" -p, --port #port - specify port server is listening on\0A\00", align 1 @.str.4 = private unnamed_addr constant [57 x i8] c" -d, --debug - Increase debug level details\0A\00", align 1 @.str.5 = private unnamed_addr constant [75 x i8] c" Note: add multiple d's (-ddd) for more details\0A\00", align 1 @.str.6 = private unnamed_addr constant [52 x i8] c" -h, --help - print this help message\0A\00", align 1 @.str.7 = private unnamed_addr constant [59 x i8] c" -l, --msglvl - increase message level details\0A\00", align 1 @.str.8 = private unnamed_addr constant [77 x i8] c" --web100variables - print the information about each Web100 variable\0A\00", align 1 @.str.9 = private unnamed_addr constant [50 x i8] c" -v, --version - print version number\0A\0A\00", align 1 @.str.10 = private unnamed_addr constant [18 x i8] c" Configuration:\0A\0A\00", align 1 @.str.11 = private unnamed_addr constant [61 x i8] c" -b, --buffer #size - set send/receive buffer to value\0A\00", align 1 @.str.12 = private unnamed_addr constant [55 x i8] c" --disablemid - disable the Middlebox test\0A\00", align 1 @.str.13 = private unnamed_addr constant [60 x i8] c" --disablec2s - disable the C2S throughput test\0A\00", align 1 @.str.14 = private unnamed_addr constant [60 x i8] c" --disables2c - disable the S2C throughput test\0A\00", align 1 @.str.15 = private unnamed_addr constant [62 x i8] c" --disablesfw - disable the Simple firewall test\0A\0A\00", align 1 @.str.16 = private unnamed_addr constant [85 x i8] c" -u, --protolog_dir DIR - specify the base directory for protocol validation logs \0A\00", align 1 @.str.17 = private unnamed_addr constant [54 x i8] c" --enableprotolog - enable protocol logging \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @clt_long_usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = icmp ne ptr %3, null %5 = zext i1 %4 to i32 %6 = call i32 @assert(i32 noundef %5) %7 = load ptr, ptr %2, align 8 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %7) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.14) %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.15) %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.16) %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.17) %26 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @assert(i32 noundef) #1 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/tmpokns9fi_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"\0A%s\0A\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [18 x i8] c" Basic options:\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [55 x i8] c" -n, --name #name - specify name of the server\0A\00", align 1 @.str.3 = private unnamed_addr constant [64 x i8] c" -p, --port #port - specify port server is listening on\0A\00", align 1 @.str.4 = private unnamed_addr constant [57 x i8] c" -d, --debug - Increase debug level details\0A\00", align 1 @.str.5 = private unnamed_addr constant [75 x i8] c" Note: add multiple d's (-ddd) for more details\0A\00", align 1 @.str.6 = private unnamed_addr constant [52 x i8] c" -h, --help - print this help message\0A\00", align 1 @.str.7 = private unnamed_addr constant [59 x i8] c" -l, --msglvl - increase message level details\0A\00", align 1 @.str.8 = private unnamed_addr constant [77 x i8] c" --web100variables - print the information about each Web100 variable\0A\00", align 1 @.str.9 = private unnamed_addr constant [50 x i8] c" -v, --version - print version number\0A\0A\00", align 1 @.str.10 = private unnamed_addr constant [18 x i8] c" Configuration:\0A\0A\00", align 1 @.str.11 = private unnamed_addr constant [61 x i8] c" -b, --buffer #size - set send/receive buffer to value\0A\00", align 1 @.str.12 = private unnamed_addr constant [55 x i8] c" --disablemid - disable the Middlebox test\0A\00", align 1 @.str.13 = private unnamed_addr constant [60 x i8] c" --disablec2s - disable the C2S throughput test\0A\00", align 1 @.str.14 = private unnamed_addr constant [60 x i8] c" --disables2c - disable the S2C throughput test\0A\00", align 1 @.str.15 = private unnamed_addr constant [62 x i8] c" --disablesfw - disable the Simple firewall test\0A\0A\00", align 1 @.str.16 = private unnamed_addr constant [85 x i8] c" -u, --protolog_dir DIR - specify the base directory for protocol validation logs \0A\00", align 1 @.str.17 = private unnamed_addr constant [54 x i8] c" --enableprotolog - enable protocol logging \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @clt_long_usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = icmp ne ptr %3, null %5 = zext i1 %4 to i32 %6 = call i32 @assert(i32 noundef %5) %7 = load ptr, ptr %2, align 8 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %7) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.14) %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.15) %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.16) %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.17) %26 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @assert(i32 noundef) #1 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/tmpnqedkk8l.c' source_filename = "/tmp/tmpnqedkk8l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_invalid_clause() #0 { %1 = alloca i32, align 4 %2 = call i32 (...) @foo() ret void } declare i32 @foo(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnqedkk8l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_invalid_clause() #0 { %1 = alloca i32, align 4 %2 = call i32 (...) @foo() ret void } declare i32 @foo(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpoccinf6m.c' source_filename = "/tmp/tmpoccinf6m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_assert_eq_int_fail() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 3, ptr %1, align 4 store i32 6, ptr %2, align 4 %3 = load i32, ptr %1, align 4 %4 = load i32, ptr %2, align 4 %5 = sdiv i32 %4, 3 %6 = call i32 @assert_eq(i32 noundef %3, i32 noundef %5) ret void } declare i32 @assert_eq(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/tmpoccinf6m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_assert_eq_int_fail() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 3, ptr %1, align 4 store i32 6, ptr %2, align 4 %3 = load i32, ptr %1, align 4 %4 = load i32, ptr %2, align 4 %5 = sdiv i32 %4, 3 %6 = call i32 @assert_eq(i32 noundef %3, i32 noundef %5) ret void } declare i32 @assert_eq(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/tmp3n0mzw1r.c' source_filename = "/tmp/tmp3n0mzw1r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"Durumu giriniz: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"Hatali giris:\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"Gecenlerin sayisi: %d\00", align 1 @.str.4 = private unnamed_addr constant [22 x i8] c"Kalanlarin sayisi: %d\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"pause\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 br label %5 5: ; preds = %26, %0 %6 = load i32, ptr %1, align 4 %7 = icmp slt i32 %6, 10 br i1 %7, label %8, label %29 8: ; preds = %5 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) %10 = call i32 @scanf_s(ptr noundef @.str.1, ptr noundef %2) %11 = load i32, ptr %2, align 4 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %8 %14 = load i32, ptr %4, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %4, align 4 br label %16 16: ; preds = %13, %8 %17 = load i32, ptr %2, align 4 %18 = icmp eq i32 %17, 1 br i1 %18, label %19, label %22 19: ; preds = %16 %20 = load i32, ptr %3, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %3, align 4 br label %26 22: ; preds = %16 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %24 = load i32, ptr %1, align 4 %25 = add nsw i32 %24, -1 store i32 %25, ptr %1, align 4 br label %26 26: ; preds = %22, %19 %27 = load i32, ptr %1, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %1, align 4 br label %5, !llvm.loop !6 29: ; preds = %5 %30 = load i32, ptr %3, align 4 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %30) %32 = load i32, ptr %4, align 4 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %32) %34 = call i32 @system(ptr noundef @.str.5) ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf_s(ptr noundef, ptr noundef) #1 declare i32 @system(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3n0mzw1r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"Durumu giriniz: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"Hatali giris:\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"Gecenlerin sayisi: %d\00", align 1 @.str.4 = private unnamed_addr constant [22 x i8] c"Kalanlarin sayisi: %d\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"pause\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 %5 = load i32, ptr %1, align 4 %6 = icmp slt i32 %5, 10 br i1 %6, label %.lr.ph, label %30 .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %25 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) %9 = call i32 @scanf_s(ptr noundef @.str.1, ptr noundef %2) %10 = load i32, ptr %2, align 4 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %15 12: ; preds = %7 %13 = load i32, ptr %4, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %4, align 4 br label %15 15: ; preds = %12, %7 %16 = load i32, ptr %2, align 4 %17 = icmp eq i32 %16, 1 br i1 %17, label %18, label %21 18: ; preds = %15 %19 = load i32, ptr %3, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %3, align 4 br label %25 21: ; preds = %15 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %23 = load i32, ptr %1, align 4 %24 = add nsw i32 %23, -1 store i32 %24, ptr %1, align 4 br label %25 25: ; preds = %21, %18 %26 = load i32, ptr %1, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %1, align 4 %28 = load i32, ptr %1, align 4 %29 = icmp slt i32 %28, 10 br i1 %29, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %30 30: ; preds = %._crit_edge, %0 %31 = load i32, ptr %3, align 4 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %31) %33 = load i32, ptr %4, align 4 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %33) %35 = call i32 @system(ptr noundef @.str.5) ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf_s(ptr noundef, ptr noundef) #1 declare i32 @system(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpxtwpnze4.c' source_filename = "/tmp/tmpxtwpnze4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @eval_expr(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i8, align 1 store ptr %0, ptr %2, align 8 store i8 43, ptr %5, align 1 %6 = load ptr, ptr %2, align 8 %7 = call signext i8 @ev_peekc(ptr noundef %6) %8 = sext i8 %7 to i32 %9 = icmp eq i32 %8, 43 br i1 %9, label %15, label %10 10: ; preds = %1 %11 = load ptr, ptr %2, align 8 %12 = call signext i8 @ev_peekc(ptr noundef %11) %13 = sext i8 %12 to i32 %14 = icmp eq i32 %13, 45 br i1 %14, label %15, label %18 15: ; preds = %10, %1 %16 = load ptr, ptr %2, align 8 %17 = call signext i8 @ev_getc(ptr noundef %16) store i8 %17, ptr %5, align 1 br label %18 18: ; preds = %15, %10 %19 = load ptr, ptr %2, align 8 %20 = call i32 @eval_term(ptr noundef %19) store i32 %20, ptr %3, align 4 %21 = load i8, ptr %5, align 1 %22 = sext i8 %21 to i32 %23 = icmp eq i32 %22, 45 br i1 %23, label %24, label %27 24: ; preds = %18 %25 = load i32, ptr %3, align 4 %26 = sub nsw i32 0, %25 store i32 %26, ptr %3, align 4 br label %27 27: ; preds = %24, %18 br label %28 28: ; preds = %56, %27 %29 = load ptr, ptr %2, align 8 %30 = call signext i8 @ev_peekc(ptr noundef %29) %31 = sext i8 %30 to i32 %32 = icmp eq i32 %31, 43 br i1 %32, label %38, label %33 33: ; preds = %28 %34 = load ptr, ptr %2, align 8 %35 = call signext i8 @ev_peekc(ptr noundef %34) %36 = sext i8 %35 to i32 %37 = icmp eq i32 %36, 45 br label %38 38: ; preds = %33, %28 %39 = phi i1 [ true, %28 ], [ %37, %33 ] br i1 %39, label %40, label %57 40: ; preds = %38 %41 = load ptr, ptr %2, align 8 %42 = call signext i8 @ev_getc(ptr noundef %41) store i8 %42, ptr %5, align 1 %43 = load ptr, ptr %2, align 8 %44 = call i32 @eval_term(ptr noundef %43) store i32 %44, ptr %4, align 4 %45 = load i8, ptr %5, align 1 %46 = sext i8 %45 to i32 %47 = icmp eq i32 %46, 45 br i1 %47, label %48, label %52 48: ; preds = %40 %49 = load i32, ptr %3, align 4 %50 = load i32, ptr %4, align 4 %51 = sub nsw i32 %49, %50 store i32 %51, ptr %3, align 4 br label %56 52: ; preds = %40 %53 = load i32, ptr %3, align 4 %54 = load i32, ptr %4, align 4 %55 = add nsw i32 %53, %54 store i32 %55, ptr %3, align 4 br label %56 56: ; preds = %52, %48 br label %28, !llvm.loop !6 57: ; preds = %38 %58 = load i32, ptr %3, align 4 ret i32 %58 } declare signext i8 @ev_peekc(ptr noundef) #1 declare signext i8 @ev_getc(ptr noundef) #1 declare i32 @eval_term(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/tmpxtwpnze4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @eval_expr(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i8, align 1 store ptr %0, ptr %2, align 8 store i8 43, ptr %5, align 1 %6 = load ptr, ptr %2, align 8 %7 = call signext i8 @ev_peekc(ptr noundef %6) %8 = sext i8 %7 to i32 %9 = icmp eq i32 %8, 43 br i1 %9, label %15, label %10 10: ; preds = %1 %11 = load ptr, ptr %2, align 8 %12 = call signext i8 @ev_peekc(ptr noundef %11) %13 = sext i8 %12 to i32 %14 = icmp eq i32 %13, 45 br i1 %14, label %15, label %18 15: ; preds = %10, %1 %16 = load ptr, ptr %2, align 8 %17 = call signext i8 @ev_getc(ptr noundef %16) store i8 %17, ptr %5, align 1 br label %18 18: ; preds = %15, %10 %19 = load ptr, ptr %2, align 8 %20 = call i32 @eval_term(ptr noundef %19) store i32 %20, ptr %3, align 4 %21 = load i8, ptr %5, align 1 %22 = sext i8 %21 to i32 %23 = icmp eq i32 %22, 45 br i1 %23, label %24, label %27 24: ; preds = %18 %25 = load i32, ptr %3, align 4 %26 = sub nsw i32 0, %25 store i32 %26, ptr %3, align 4 br label %27 27: ; preds = %24, %18 br label %28 28: ; preds = %56, %27 %29 = load ptr, ptr %2, align 8 %30 = call signext i8 @ev_peekc(ptr noundef %29) %31 = sext i8 %30 to i32 %32 = icmp eq i32 %31, 43 br i1 %32, label %38, label %33 33: ; preds = %28 %34 = load ptr, ptr %2, align 8 %35 = call signext i8 @ev_peekc(ptr noundef %34) %36 = sext i8 %35 to i32 %37 = icmp eq i32 %36, 45 br label %38 38: ; preds = %33, %28 %39 = phi i1 [ true, %28 ], [ %37, %33 ] br i1 %39, label %40, label %57 40: ; preds = %38 %41 = load ptr, ptr %2, align 8 %42 = call signext i8 @ev_getc(ptr noundef %41) store i8 %42, ptr %5, align 1 %43 = load ptr, ptr %2, align 8 %44 = call i32 @eval_term(ptr noundef %43) store i32 %44, ptr %4, align 4 %45 = load i8, ptr %5, align 1 %46 = sext i8 %45 to i32 %47 = icmp eq i32 %46, 45 br i1 %47, label %48, label %52 48: ; preds = %40 %49 = load i32, ptr %3, align 4 %50 = load i32, ptr %4, align 4 %51 = sub nsw i32 %49, %50 store i32 %51, ptr %3, align 4 br label %56 52: ; preds = %40 %53 = load i32, ptr %3, align 4 %54 = load i32, ptr %4, align 4 %55 = add nsw i32 %53, %54 store i32 %55, ptr %3, align 4 br label %56 56: ; preds = %52, %48 br label %28, !llvm.loop !6 57: ; preds = %38 %58 = load i32, ptr %3, align 4 ret i32 %58 } declare signext i8 @ev_peekc(ptr noundef) #1 declare signext i8 @ev_getc(ptr noundef) #1 declare i32 @eval_term(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/tmppqwoj0f_.c' source_filename = "/tmp/tmppqwoj0f_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @OutputName(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i64 @strlen(ptr noundef %4) %6 = trunc i64 %5 to i8 %7 = call i32 @OutputByte(i8 noundef zeroext %6) store i32 0, ptr %3, align 4 br label %8 8: ; preds = %25, %1 %9 = load ptr, ptr %2, align 8 %10 = load i32, ptr %3, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds i8, ptr %9, i64 %11 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %28 16: ; preds = %8 %17 = load ptr, ptr %2, align 8 %18 = load i32, ptr %3, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 %21 = load i8, ptr %20, align 1 %22 = call i64 @toupper(i8 noundef signext %21) %23 = trunc i64 %22 to i8 %24 = call i32 @OutputByte(i8 noundef zeroext %23) br label %25 25: ; preds = %16 %26 = load i32, ptr %3, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %3, align 4 br label %8, !llvm.loop !6 28: ; preds = %8 ret void } declare i32 @OutputByte(i8 noundef zeroext) #1 declare i64 @strlen(ptr noundef) #1 declare i64 @toupper(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/tmppqwoj0f_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @OutputName(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i64 @strlen(ptr noundef %4) %6 = trunc i64 %5 to i8 %7 = call i32 @OutputByte(i8 noundef zeroext %6) store i32 0, ptr %3, align 4 %8 = load ptr, ptr %2, align 8 %9 = load i32, ptr %3, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds i8, ptr %8, i64 %10 %12 = load i8, ptr %11, align 1 %13 = sext i8 %12 to i32 %14 = icmp ne i32 %13, 0 br i1 %14, label %.lr.ph, label %34 .lr.ph: ; preds = %1 br label %15 15: ; preds = %.lr.ph, %24 %16 = load ptr, ptr %2, align 8 %17 = load i32, ptr %3, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %16, i64 %18 %20 = load i8, ptr %19, align 1 %21 = call i64 @toupper(i8 noundef signext %20) %22 = trunc i64 %21 to i8 %23 = call i32 @OutputByte(i8 noundef zeroext %22) br label %24 24: ; preds = %15 %25 = load i32, ptr %3, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %3, align 4 %27 = load ptr, ptr %2, align 8 %28 = load i32, ptr %3, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %27, i64 %29 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = icmp ne i32 %32, 0 br i1 %33, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %34 34: ; preds = %._crit_edge, %1 ret void } declare i32 @OutputByte(i8 noundef zeroext) #1 declare i64 @strlen(ptr noundef) #1 declare i64 @toupper(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/tmpdzitohaa.c' source_filename = "/tmp/tmpdzitohaa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong willreturn memory(none) uwtable define dso_local float @fmaxf(float noundef %0, float noundef %1) #0 { %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca float, align 4 store float %0, ptr %4, align 4 store float %1, ptr %5, align 4 %6 = load float, ptr %4, align 4 %7 = call i64 @isnan(float noundef %6) %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %2 %10 = load float, ptr %5, align 4 store float %10, ptr %3, align 4 br label %43 11: ; preds = %2 %12 = load float, ptr %5, align 4 %13 = call i64 @isnan(float noundef %12) %14 = icmp ne i64 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %11 %16 = load float, ptr %4, align 4 store float %16, ptr %3, align 4 br label %43 17: ; preds = %11 %18 = load float, ptr %4, align 4 %19 = call i64 @signbit(float noundef %18) %20 = load float, ptr %5, align 4 %21 = call i64 @signbit(float noundef %20) %22 = icmp ne i64 %19, %21 br i1 %22, label %23, label %33 23: ; preds = %17 %24 = load float, ptr %4, align 4 %25 = call i64 @signbit(float noundef %24) %26 = icmp ne i64 %25, 0 br i1 %26, label %27, label %29 27: ; preds = %23 %28 = load float, ptr %5, align 4 br label %31 29: ; preds = %23 %30 = load float, ptr %4, align 4 br label %31 31: ; preds = %29, %27 %32 = phi float [ %28, %27 ], [ %30, %29 ] store float %32, ptr %3, align 4 br label %43 33: ; preds = %17 %34 = load float, ptr %4, align 4 %35 = load float, ptr %5, align 4 %36 = fcmp olt float %34, %35 br i1 %36, label %37, label %39 37: ; preds = %33 %38 = load float, ptr %5, align 4 br label %41 39: ; preds = %33 %40 = load float, ptr %4, align 4 br label %41 41: ; preds = %39, %37 %42 = phi float [ %38, %37 ], [ %40, %39 ] store float %42, ptr %3, align 4 br label %43 43: ; preds = %41, %31, %15, %9 %44 = load float, ptr %3, align 4 ret float %44 } declare i64 @isnan(float noundef) #1 declare i64 @signbit(float noundef) #1 attributes #0 = { noinline nounwind sspstrong willreturn memory(none) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdzitohaa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong willreturn memory(none) uwtable define dso_local float @fmaxf(float noundef %0, float noundef %1) #0 { %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca float, align 4 store float %0, ptr %4, align 4 store float %1, ptr %5, align 4 %6 = load float, ptr %4, align 4 %7 = call i64 @isnan(float noundef %6) %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %2 %10 = load float, ptr %5, align 4 store float %10, ptr %3, align 4 br label %43 11: ; preds = %2 %12 = load float, ptr %5, align 4 %13 = call i64 @isnan(float noundef %12) %14 = icmp ne i64 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %11 %16 = load float, ptr %4, align 4 store float %16, ptr %3, align 4 br label %43 17: ; preds = %11 %18 = load float, ptr %4, align 4 %19 = call i64 @signbit(float noundef %18) %20 = load float, ptr %5, align 4 %21 = call i64 @signbit(float noundef %20) %22 = icmp ne i64 %19, %21 br i1 %22, label %23, label %33 23: ; preds = %17 %24 = load float, ptr %4, align 4 %25 = call i64 @signbit(float noundef %24) %26 = icmp ne i64 %25, 0 br i1 %26, label %27, label %29 27: ; preds = %23 %28 = load float, ptr %5, align 4 br label %31 29: ; preds = %23 %30 = load float, ptr %4, align 4 br label %31 31: ; preds = %29, %27 %32 = phi float [ %28, %27 ], [ %30, %29 ] store float %32, ptr %3, align 4 br label %43 33: ; preds = %17 %34 = load float, ptr %4, align 4 %35 = load float, ptr %5, align 4 %36 = fcmp olt float %34, %35 br i1 %36, label %37, label %39 37: ; preds = %33 %38 = load float, ptr %5, align 4 br label %41 39: ; preds = %33 %40 = load float, ptr %4, align 4 br label %41 41: ; preds = %39, %37 %42 = phi float [ %38, %37 ], [ %40, %39 ] store float %42, ptr %3, align 4 br label %43 43: ; preds = %41, %31, %15, %9 %44 = load float, ptr %3, align 4 ret float %44 } declare i64 @isnan(float noundef) #1 declare i64 @signbit(float noundef) #1 attributes #0 = { noinline nounwind sspstrong willreturn memory(none) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp83k6yhbk.c' source_filename = "/tmp/tmp83k6yhbk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MSort(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %10 = load i32, ptr %7, align 4 %11 = load i32, ptr %8, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %13, label %35 13: ; preds = %4 %14 = load i32, ptr %7, align 4 %15 = load i32, ptr %8, align 4 %16 = add nsw i32 %14, %15 %17 = sdiv i32 %16, 2 store i32 %17, ptr %9, align 4 %18 = load ptr, ptr %5, align 8 %19 = load ptr, ptr %6, align 8 %20 = load i32, ptr %7, align 4 %21 = load i32, ptr %9, align 4 call void @MSort(ptr noundef %18, ptr noundef %19, i32 noundef %20, i32 noundef %21) %22 = load ptr, ptr %5, align 8 %23 = load ptr, ptr %6, align 8 %24 = load i32, ptr %9, align 4 %25 = add nsw i32 %24, 1 %26 = load i32, ptr %8, align 4 call void @MSort(ptr noundef %22, ptr noundef %23, i32 noundef %25, i32 noundef %26) %27 = load ptr, ptr %5, align 8 %28 = load ptr, ptr %6, align 8 %29 = load i32, ptr %7, align 4 %30 = load i32, ptr %9, align 4 %31 = load i32, ptr %9, align 4 %32 = add nsw i32 %31, 1 %33 = load i32, ptr %8, align 4 %34 = call i32 @merge(ptr noundef %27, ptr noundef %28, i32 noundef %29, i32 noundef %30, i32 noundef %32, i32 noundef %33) br label %35 35: ; preds = %13, %4 ret void } declare i32 @merge(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/tmp83k6yhbk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MSort(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %10 = load i32, ptr %7, align 4 %11 = load i32, ptr %8, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %13, label %35 13: ; preds = %4 %14 = load i32, ptr %7, align 4 %15 = load i32, ptr %8, align 4 %16 = add nsw i32 %14, %15 %17 = sdiv i32 %16, 2 store i32 %17, ptr %9, align 4 %18 = load ptr, ptr %5, align 8 %19 = load ptr, ptr %6, align 8 %20 = load i32, ptr %7, align 4 %21 = load i32, ptr %9, align 4 call void @MSort(ptr noundef %18, ptr noundef %19, i32 noundef %20, i32 noundef %21) %22 = load ptr, ptr %5, align 8 %23 = load ptr, ptr %6, align 8 %24 = load i32, ptr %9, align 4 %25 = add nsw i32 %24, 1 %26 = load i32, ptr %8, align 4 call void @MSort(ptr noundef %22, ptr noundef %23, i32 noundef %25, i32 noundef %26) %27 = load ptr, ptr %5, align 8 %28 = load ptr, ptr %6, align 8 %29 = load i32, ptr %7, align 4 %30 = load i32, ptr %9, align 4 %31 = load i32, ptr %9, align 4 %32 = add nsw i32 %31, 1 %33 = load i32, ptr %8, align 4 %34 = call i32 @merge(ptr noundef %27, ptr noundef %28, i32 noundef %29, i32 noundef %30, i32 noundef %32, i32 noundef %33) br label %35 35: ; preds = %13, %4 ret void } declare i32 @merge(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/tmp0jjoeijs.c' source_filename = "/tmp/tmp0jjoeijs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"Dame el numero para analizar \0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"PAUSE\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1) %4 = load i32, ptr %1, align 4 %5 = call i32 @factorial(i32 noundef %4) %6 = call i32 @system(ptr noundef @.str.2) ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @factorial(i32 noundef) #1 declare i32 @system(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0jjoeijs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"Dame el numero para analizar \0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"PAUSE\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1) %4 = load i32, ptr %1, align 4 %5 = call i32 @factorial(i32 noundef %4) %6 = call i32 @system(ptr noundef @.str.2) ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @factorial(i32 noundef) #1 declare i32 @system(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpc_rsky8i.c' source_filename = "/tmp/tmpc_rsky8i.c" target datalayout = "e-m:e-p270: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/tmpc_rsky8i.c" target datalayout = "e-m:e-p270: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/tmp6mjd27gi.c' source_filename = "/tmp/tmp6mjd27gi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c".history\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [6 x i8] c"%d %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @psh_history() #0 { %1 = alloca i32, align 4 %2 = alloca [1025 x i8], align 16 %3 = alloca ptr, align 8 store i32 1, ptr %1, align 4 %4 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %4, ptr %3, align 8 br label %5 5: ; preds = %10, %0 %6 = getelementptr inbounds [1025 x i8], ptr %2, i64 0, i64 0 %7 = load ptr, ptr %3, align 8 %8 = call ptr @fgets(ptr noundef %6, i32 noundef 1025, ptr noundef %7) %9 = icmp ne ptr %8, null br i1 %9, label %10, label %17 10: ; preds = %5 %11 = load i32, ptr @stdout, align 4 %12 = load i32, ptr %1, align 4 %13 = getelementptr inbounds [1025 x i8], ptr %2, i64 0, i64 0 %14 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str.2, i32 noundef %12, ptr noundef %13) %15 = load i32, ptr %1, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %1, align 4 br label %5, !llvm.loop !6 17: ; preds = %5 %18 = load ptr, ptr %3, align 8 %19 = call i32 @fclose(ptr noundef %18) ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6mjd27gi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c".history\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [6 x i8] c"%d %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @psh_history() #0 { %1 = alloca i32, align 4 %2 = alloca [1025 x i8], align 16 %3 = alloca ptr, align 8 store i32 1, ptr %1, align 4 %4 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %4, ptr %3, align 8 %5 = getelementptr inbounds [1025 x i8], ptr %2, i64 0, i64 0 %6 = load ptr, ptr %3, align 8 %7 = call ptr @fgets(ptr noundef %5, i32 noundef 1025, ptr noundef %6) %8 = icmp ne ptr %7, null br i1 %8, label %.lr.ph, label %19 .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %9 %10 = load i32, ptr @stdout, align 4 %11 = load i32, ptr %1, align 4 %12 = getelementptr inbounds [1025 x i8], ptr %2, i64 0, i64 0 %13 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str.2, i32 noundef %11, ptr noundef %12) %14 = load i32, ptr %1, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %1, align 4 %16 = load ptr, ptr %3, align 8 %17 = call ptr @fgets(ptr noundef %5, i32 noundef 1025, ptr noundef %16) %18 = icmp ne ptr %17, null br i1 %18, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %9 br label %19 19: ; preds = %._crit_edge, %0 %20 = load ptr, ptr %3, align 8 %21 = call i32 @fclose(ptr noundef %20) ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpowwz6hah.c' source_filename = "/tmp/tmpowwz6hah.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @set_eos2(ptr noundef %0, i8 noundef signext %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i8, align 1 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i8 %1, ptr %5, align 1 store ptr null, ptr %6, align 8 %9 = load ptr, ptr %4, align 8 %10 = load i8, ptr %5, align 1 %11 = call ptr @strchr(ptr noundef %9, i8 noundef signext %10) store ptr %11, ptr %7, align 8 %12 = load ptr, ptr %7, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %16, label %14 14: ; preds = %2 %15 = load ptr, ptr %4, align 8 store ptr %15, ptr %3, align 8 br label %46 16: ; preds = %2 %17 = load ptr, ptr %7, align 8 %18 = load ptr, ptr %4, align 8 %19 = ptrtoint ptr %17 to i64 %20 = ptrtoint ptr %18 to i64 %21 = sub i64 %19, %20 %22 = add nsw i64 %21, 1 %23 = trunc i64 %22 to i32 store i32 %23, ptr %8, align 4 %24 = load i32, ptr %8, align 4 %25 = icmp ne i32 %24, 0 br i1 %25, label %26, label %44 26: ; preds = %16 %27 = load i32, ptr %8, align 4 %28 = sext i32 %27 to i64 %29 = mul i64 1, %28 %30 = add i64 %29, 1 %31 = trunc i64 %30 to i32 %32 = call i64 @allocate(i32 noundef %31) %33 = inttoptr i64 %32 to ptr store ptr %33, ptr %6, align 8 %34 = load ptr, ptr %6, align 8 %35 = load ptr, ptr %4, align 8 %36 = load i32, ptr %8, align 4 %37 = sub nsw i32 %36, 1 %38 = call i32 @strncpy(ptr noundef %34, ptr noundef %35, i32 noundef %37) %39 = load ptr, ptr %6, align 8 %40 = load i32, ptr %8, align 4 %41 = sub nsw i32 %40, 1 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i8, ptr %39, i64 %42 store i8 0, ptr %43, align 1 br label %44 44: ; preds = %26, %16 %45 = load ptr, ptr %6, align 8 store ptr %45, ptr %3, align 8 br label %46 46: ; preds = %44, %14 %47 = load ptr, ptr %3, align 8 ret ptr %47 } declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i64 @allocate(i32 noundef) #1 declare i32 @strncpy(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/tmpowwz6hah.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @set_eos2(ptr noundef %0, i8 noundef signext %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i8, align 1 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i8 %1, ptr %5, align 1 store ptr null, ptr %6, align 8 %9 = load ptr, ptr %4, align 8 %10 = load i8, ptr %5, align 1 %11 = call ptr @strchr(ptr noundef %9, i8 noundef signext %10) store ptr %11, ptr %7, align 8 %12 = load ptr, ptr %7, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %16, label %14 14: ; preds = %2 %15 = load ptr, ptr %4, align 8 store ptr %15, ptr %3, align 8 br label %46 16: ; preds = %2 %17 = load ptr, ptr %7, align 8 %18 = load ptr, ptr %4, align 8 %19 = ptrtoint ptr %17 to i64 %20 = ptrtoint ptr %18 to i64 %21 = sub i64 %19, %20 %22 = add nsw i64 %21, 1 %23 = trunc i64 %22 to i32 store i32 %23, ptr %8, align 4 %24 = load i32, ptr %8, align 4 %25 = icmp ne i32 %24, 0 br i1 %25, label %26, label %44 26: ; preds = %16 %27 = load i32, ptr %8, align 4 %28 = sext i32 %27 to i64 %29 = mul i64 1, %28 %30 = add i64 %29, 1 %31 = trunc i64 %30 to i32 %32 = call i64 @allocate(i32 noundef %31) %33 = inttoptr i64 %32 to ptr store ptr %33, ptr %6, align 8 %34 = load ptr, ptr %6, align 8 %35 = load ptr, ptr %4, align 8 %36 = load i32, ptr %8, align 4 %37 = sub nsw i32 %36, 1 %38 = call i32 @strncpy(ptr noundef %34, ptr noundef %35, i32 noundef %37) %39 = load ptr, ptr %6, align 8 %40 = load i32, ptr %8, align 4 %41 = sub nsw i32 %40, 1 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i8, ptr %39, i64 %42 store i8 0, ptr %43, align 1 br label %44 44: ; preds = %26, %16 %45 = load ptr, ptr %6, align 8 store ptr %45, ptr %3, align 8 br label %46 46: ; preds = %44, %14 %47 = load ptr, ptr %3, align 8 ret ptr %47 } declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i64 @allocate(i32 noundef) #1 declare i32 @strncpy(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/tmpktmngb7q.c' source_filename = "/tmp/tmpktmngb7q.c" target datalayout = "e-m:e-p270: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/tmpktmngb7q.c" target datalayout = "e-m:e-p270: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/tmp7qtx_p4x.c' source_filename = "/tmp/tmp7qtx_p4x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @fooinc(i32 noundef 0) %3 = icmp ne i32 %2, 1026 br i1 %3, label %4, label %6 4: ; preds = %0 %5 = call i32 (...) @abort() #3 unreachable 6: ; preds = %0 %7 = call i32 @fooinc(i32 noundef 1) %8 = icmp ne i32 %7, 1025 br i1 %8, label %9, label %11 9: ; preds = %6 %10 = call i32 (...) @abort() #3 unreachable 11: ; preds = %6 %12 = call i32 @fooinc2(i32 noundef 0) %13 = icmp ne i32 %12, 1025 br i1 %13, label %14, label %16 14: ; preds = %11 %15 = call i32 (...) @abort() #3 unreachable 16: ; preds = %11 %17 = call i32 @fooinc2(i32 noundef 1) %18 = icmp ne i32 %17, 1026 br i1 %18, label %19, label %21 19: ; preds = %16 %20 = call i32 (...) @abort() #3 unreachable 21: ; preds = %16 ret i32 0 } declare i32 @fooinc(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 declare i32 @fooinc2(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/tmp7qtx_p4x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @fooinc(i32 noundef 0) %3 = icmp ne i32 %2, 1026 br i1 %3, label %4, label %6 4: ; preds = %0 %5 = call i32 (...) @abort() #3 unreachable 6: ; preds = %0 %7 = call i32 @fooinc(i32 noundef 1) %8 = icmp ne i32 %7, 1025 br i1 %8, label %9, label %11 9: ; preds = %6 %10 = call i32 (...) @abort() #3 unreachable 11: ; preds = %6 %12 = call i32 @fooinc2(i32 noundef 0) %13 = icmp ne i32 %12, 1025 br i1 %13, label %14, label %16 14: ; preds = %11 %15 = call i32 (...) @abort() #3 unreachable 16: ; preds = %11 %17 = call i32 @fooinc2(i32 noundef 1) %18 = icmp ne i32 %17, 1026 br i1 %18, label %19, label %21 19: ; preds = %16 %20 = call i32 (...) @abort() #3 unreachable 21: ; preds = %16 ret i32 0 } declare i32 @fooinc(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 declare i32 @fooinc2(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/tmpjcbi3l2u.c' source_filename = "/tmp/tmpjcbi3l2u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [44 x i8] c"\0AThis is the parent, about to fork. pid=%d\0A\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [51 x i8] c"\0AThis is the parent, after the fork. Child pid=%d\0A\00", align 1 @.str.2 = private unnamed_addr constant [43 x i8] c"\0AThis is the parent waking up and exiting\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [44 x i8] c"\0AThis is the child, after the fork. pid=%d\0A\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"fork\00", align 1 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i32 (...) @getpid() %8 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %7) %9 = load i32, ptr @stdout, align 4 %10 = call i32 @fflush(i32 noundef %9) %11 = call i64 (...) @fork() store i64 %11, ptr %6, align 8 %12 = load i64, ptr %6, align 8 %13 = icmp sgt i64 %12, 0 br i1 %13, label %14, label %21 14: ; preds = %2 %15 = load i64, ptr %6, align 8 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef %15) %17 = call i32 @sleep(i32 noundef 10) %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %19 = load i32, ptr @EXIT_SUCCESS, align 4 %20 = call i32 @exit(i32 noundef %19) #3 unreachable 21: ; preds = %2 %22 = load i64, ptr %6, align 8 %23 = icmp eq i64 %22, 0 br i1 %23, label %24, label %29 24: ; preds = %21 %25 = call i32 (...) @getpid() %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %25) %27 = load i32, ptr @EXIT_SUCCESS, align 4 %28 = call i32 @exit(i32 noundef %27) #3 unreachable 29: ; preds = %21 %30 = call i32 @perror(ptr noundef @.str.4) %31 = load i32, ptr @errno, align 4 %32 = call i32 @exit(i32 noundef %31) #3 unreachable } declare i32 @printf(ptr noundef, ...) #1 declare i32 @getpid(...) #1 declare i32 @fflush(i32 noundef) #1 declare i64 @fork(...) #1 declare i32 @sleep(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 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" } 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/tmpjcbi3l2u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [44 x i8] c"\0AThis is the parent, about to fork. pid=%d\0A\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [51 x i8] c"\0AThis is the parent, after the fork. Child pid=%d\0A\00", align 1 @.str.2 = private unnamed_addr constant [43 x i8] c"\0AThis is the parent waking up and exiting\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [44 x i8] c"\0AThis is the child, after the fork. pid=%d\0A\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"fork\00", align 1 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i32 (...) @getpid() %8 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %7) %9 = load i32, ptr @stdout, align 4 %10 = call i32 @fflush(i32 noundef %9) %11 = call i64 (...) @fork() store i64 %11, ptr %6, align 8 %12 = load i64, ptr %6, align 8 %13 = icmp sgt i64 %12, 0 br i1 %13, label %14, label %21 14: ; preds = %2 %15 = load i64, ptr %6, align 8 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef %15) %17 = call i32 @sleep(i32 noundef 10) %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %19 = load i32, ptr @EXIT_SUCCESS, align 4 %20 = call i32 @exit(i32 noundef %19) #3 unreachable 21: ; preds = %2 %22 = load i64, ptr %6, align 8 %23 = icmp eq i64 %22, 0 br i1 %23, label %24, label %29 24: ; preds = %21 %25 = call i32 (...) @getpid() %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %25) %27 = load i32, ptr @EXIT_SUCCESS, align 4 %28 = call i32 @exit(i32 noundef %27) #3 unreachable 29: ; preds = %21 %30 = call i32 @perror(ptr noundef @.str.4) %31 = load i32, ptr @errno, align 4 %32 = call i32 @exit(i32 noundef %31) #3 unreachable } declare i32 @printf(ptr noundef, ...) #1 declare i32 @getpid(...) #1 declare i32 @fflush(i32 noundef) #1 declare i64 @fork(...) #1 declare i32 @sleep(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 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" } 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/tmpvtou9m5y.c' source_filename = "/tmp/tmpvtou9m5y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvtou9m5y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkf_0bhfu.c' source_filename = "/tmp/tmpkf_0bhfu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @_IOFBF = dso_local global i32 0, align 4 @_IONBF = dso_local global i32 0, align 4 @BUFSIZ = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @setbuf(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %11 9: ; preds = %2 %10 = load i32, ptr @_IOFBF, align 4 br label %13 11: ; preds = %2 %12 = load i32, ptr @_IONBF, align 4 br label %13 13: ; preds = %11, %9 %14 = phi i32 [ %10, %9 ], [ %12, %11 ] %15 = load i32, ptr @BUFSIZ, align 4 %16 = call i32 @setvbuf(ptr noundef %5, ptr noundef %6, i32 noundef %14, i32 noundef %15) ret void } declare i32 @setvbuf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkf_0bhfu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @_IOFBF = dso_local global i32 0, align 4 @_IONBF = dso_local global i32 0, align 4 @BUFSIZ = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @setbuf(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %11 9: ; preds = %2 %10 = load i32, ptr @_IOFBF, align 4 br label %13 11: ; preds = %2 %12 = load i32, ptr @_IONBF, align 4 br label %13 13: ; preds = %11, %9 %14 = phi i32 [ %10, %9 ], [ %12, %11 ] %15 = load i32, ptr @BUFSIZ, align 4 %16 = call i32 @setvbuf(ptr noundef %5, ptr noundef %6, i32 noundef %14, i32 noundef %15) ret void } declare i32 @setvbuf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyhvg1fvd.c' source_filename = "/tmp/tmpyhvg1fvd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @HeapFree(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @free(ptr noundef %3) 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/tmpyhvg1fvd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @HeapFree(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @free(ptr noundef %3) 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/tmpf6lahrw9.c' source_filename = "/tmp/tmpf6lahrw9.c" target datalayout = "e-m:e-p270: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"%f\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca i32, align 4 %4 = alloca float, align 4 store i32 0, ptr %1, align 4 store float 6.400000e+01, ptr %2, align 4 store i32 0, ptr %3, align 4 store float 0.000000e+00, ptr %4, align 4 store i32 0, ptr %3, align 4 br label %5 5: ; preds = %36, %0 %6 = load i32, ptr %3, align 4 %7 = icmp slt i32 %6, 10000 br i1 %7, label %8, label %39 8: ; preds = %5 %9 = load float, ptr %4, align 4 %10 = fpext float %9 to double %11 = fadd double %10, 1.000000e-03 %12 = fptrunc double %11 to float store float %12, ptr %4, align 4 %13 = load float, ptr %4, align 4 %14 = load float, ptr %4, align 4 %15 = fmul float %13, %14 %16 = fpext float %15 to double %17 = load float, ptr %2, align 4 %18 = fpext float %17 to double %19 = fsub double %18, 1.000000e-01 %20 = fcmp ogt double %16, %19 br i1 %20, label %21, label %35 21: ; preds = %8 %22 = load float, ptr %4, align 4 %23 = load float, ptr %4, align 4 %24 = fmul float %22, %23 %25 = fpext float %24 to double %26 = load float, ptr %2, align 4 %27 = fpext float %26 to double %28 = fadd double %27, 1.000000e-01 %29 = fcmp olt double %25, %28 br i1 %29, label %30, label %35 30: ; preds = %21 %31 = load float, ptr %4, align 4 %32 = fpext float %31 to double %33 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %32) %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %35 35: ; preds = %30, %21, %8 br label %36 36: ; preds = %35 %37 = load i32, ptr %3, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %3, align 4 br label %5, !llvm.loop !6 39: ; preds = %5 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpf6lahrw9.c" target datalayout = "e-m:e-p270: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"%f\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca i32, align 4 %4 = alloca float, align 4 store i32 0, ptr %1, align 4 store float 6.400000e+01, ptr %2, align 4 store i32 0, ptr %3, align 4 store float 0.000000e+00, ptr %4, align 4 store i32 0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 10000 br i1 %6, label %.lr.ph, label %40 .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %35 %8 = load float, ptr %4, align 4 %9 = fpext float %8 to double %10 = fadd double %9, 1.000000e-03 %11 = fptrunc double %10 to float store float %11, ptr %4, align 4 %12 = load float, ptr %4, align 4 %13 = load float, ptr %4, align 4 %14 = fmul float %12, %13 %15 = fpext float %14 to double %16 = load float, ptr %2, align 4 %17 = fpext float %16 to double %18 = fsub double %17, 1.000000e-01 %19 = fcmp ogt double %15, %18 br i1 %19, label %20, label %34 20: ; preds = %7 %21 = load float, ptr %4, align 4 %22 = load float, ptr %4, align 4 %23 = fmul float %21, %22 %24 = fpext float %23 to double %25 = load float, ptr %2, align 4 %26 = fpext float %25 to double %27 = fadd double %26, 1.000000e-01 %28 = fcmp olt double %24, %27 br i1 %28, label %29, label %34 29: ; preds = %20 %30 = load float, ptr %4, align 4 %31 = fpext float %30 to double %32 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %31) %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %34 34: ; preds = %29, %20, %7 br label %35 35: ; preds = %34 %36 = load i32, ptr %3, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %3, align 4 %38 = load i32, ptr %3, align 4 %39 = icmp slt i32 %38, 10000 br i1 %39, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %35 br label %40 40: ; preds = %._crit_edge, %0 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp8gzh5c4f.c' source_filename = "/tmp/tmp8gzh5c4f.c" target datalayout = "e-m:e-p270: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"%3.0f %6.1f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 store i32 300, ptr %5, align 4 store i32 20, ptr %6, align 4 %7 = load i32, ptr %4, align 4 %8 = sitofp i32 %7 to float store float %8, ptr %2, align 4 br label %9 9: ; preds = %14, %0 %10 = load float, ptr %2, align 4 %11 = load i32, ptr %5, align 4 %12 = sitofp i32 %11 to float %13 = fcmp ole float %10, %12 br i1 %13, label %14, label %24 14: ; preds = %9 %15 = load float, ptr %2, align 4 %16 = call float @fahr_to_celsius(float noundef %15) store float %16, ptr %3, align 4 %17 = load float, ptr %2, align 4 %18 = load float, ptr %3, align 4 %19 = call i32 @printf(ptr noundef @.str, float noundef %17, float noundef %18) %20 = load float, ptr %2, align 4 %21 = load i32, ptr %6, align 4 %22 = sitofp i32 %21 to float %23 = fadd float %20, %22 store float %23, ptr %2, align 4 br label %9, !llvm.loop !6 24: ; preds = %9 %25 = load i32, ptr %1, align 4 ret i32 %25 } declare float @fahr_to_celsius(float noundef) #1 declare i32 @printf(ptr noundef, float noundef, 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8gzh5c4f.c" target datalayout = "e-m:e-p270: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"%3.0f %6.1f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 store i32 300, ptr %5, align 4 store i32 20, ptr %6, align 4 %7 = load i32, ptr %4, align 4 %8 = sitofp i32 %7 to float store float %8, ptr %2, align 4 %9 = load float, ptr %2, align 4 %10 = load i32, ptr %5, align 4 %11 = sitofp i32 %10 to float %12 = fcmp ole float %9, %11 br i1 %12, label %.lr.ph, label %27 .lr.ph: ; preds = %0 br label %13 13: ; preds = %.lr.ph, %13 %14 = load float, ptr %2, align 4 %15 = call float @fahr_to_celsius(float noundef %14) store float %15, ptr %3, align 4 %16 = load float, ptr %2, align 4 %17 = load float, ptr %3, align 4 %18 = call i32 @printf(ptr noundef @.str, float noundef %16, float noundef %17) %19 = load float, ptr %2, align 4 %20 = load i32, ptr %6, align 4 %21 = sitofp i32 %20 to float %22 = fadd float %19, %21 store float %22, ptr %2, align 4 %23 = load float, ptr %2, align 4 %24 = load i32, ptr %5, align 4 %25 = sitofp i32 %24 to float %26 = fcmp ole float %23, %25 br i1 %26, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %27 27: ; preds = %._crit_edge, %0 %28 = load i32, ptr %1, align 4 ret i32 %28 } declare float @fahr_to_celsius(float noundef) #1 declare i32 @printf(ptr noundef, float noundef, 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpnsvy4j26.c' source_filename = "/tmp/tmpnsvy4j26.c" target datalayout = "e-m:e-p270: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"%dn\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 ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %6, ptr %7, align 8 store i32 512, ptr %6, align 4 %8 = load ptr, ptr %7, align 8 %9 = getelementptr inbounds i8, ptr %8, i64 0 store i8 1, ptr %9, align 1 %10 = load ptr, ptr %7, align 8 %11 = getelementptr inbounds i8, ptr %10, i64 1 store i8 2, ptr %11, align 1 %12 = load i32, ptr %6, align 4 %13 = call i32 @printf(ptr noundef @.str, i32 noundef %12) 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/tmpnsvy4j26.c" target datalayout = "e-m:e-p270: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"%dn\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 ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %6, ptr %7, align 8 store i32 512, ptr %6, align 4 %8 = load ptr, ptr %7, align 8 %9 = getelementptr inbounds i8, ptr %8, i64 0 store i8 1, ptr %9, align 1 %10 = load ptr, ptr %7, align 8 %11 = getelementptr inbounds i8, ptr %10, i64 1 store i8 2, ptr %11, align 1 %12 = load i32, ptr %6, align 4 %13 = call i32 @printf(ptr noundef @.str, i32 noundef %12) 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/tmp6ip3jr1g.c' source_filename = "/tmp/tmp6ip3jr1g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [48 x i8] c"SailFish -> Ultra-Light, Ultra-Fast Web Server\0A\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"Usage: sailfish port\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_usage() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) 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/tmp6ip3jr1g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [48 x i8] c"SailFish -> Ultra-Light, Ultra-Fast Web Server\0A\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"Usage: sailfish port\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_usage() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) 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/tmplh1cmvb1.c' source_filename = "/tmp/tmplh1cmvb1.c" target datalayout = "e-m:e-p270: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"Enter first fraction: \00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%d/%d\00", align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"Enter second fraction: \00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"The sum is %d/%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) %9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4, ptr noundef %5) %12 = load i32, ptr %2, align 4 %13 = load i32, ptr %5, align 4 %14 = mul nsw i32 %12, %13 %15 = load i32, ptr %4, align 4 %16 = load i32, ptr %3, align 4 %17 = mul nsw i32 %15, %16 %18 = add nsw i32 %14, %17 store i32 %18, ptr %6, align 4 %19 = load i32, ptr %3, align 4 %20 = load i32, ptr %5, align 4 %21 = mul nsw i32 %19, %20 store i32 %21, ptr %7, align 4 %22 = load i32, ptr %6, align 4 %23 = load i32, ptr %7, align 4 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %22, i32 noundef %23) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplh1cmvb1.c" target datalayout = "e-m:e-p270: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"Enter first fraction: \00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%d/%d\00", align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"Enter second fraction: \00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"The sum is %d/%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) %9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4, ptr noundef %5) %12 = load i32, ptr %2, align 4 %13 = load i32, ptr %5, align 4 %14 = mul nsw i32 %12, %13 %15 = load i32, ptr %4, align 4 %16 = load i32, ptr %3, align 4 %17 = mul nsw i32 %15, %16 %18 = add nsw i32 %14, %17 store i32 %18, ptr %6, align 4 %19 = load i32, ptr %3, align 4 %20 = load i32, ptr %5, align 4 %21 = mul nsw i32 %19, %20 store i32 %21, ptr %7, align 4 %22 = load i32, ptr %6, align 4 %23 = load i32, ptr %7, align 4 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %22, i32 noundef %23) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpli_bayxo.c' source_filename = "/tmp/tmpli_bayxo.c" target datalayout = "e-m:e-p270: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 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %6 = load i32, ptr %2, align 4 %7 = sext i32 %6 to i64 %8 = mul i64 %7, 4 %9 = trunc i64 %8 to i32 %10 = call ptr @malloc(i32 noundef %9) store ptr %10, ptr %4, align 8 store i32 0, ptr %3, align 4 br label %11 11: ; preds = %21, %0 %12 = load i32, ptr %3, align 4 %13 = load i32, ptr %2, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %15, label %24 15: ; preds = %11 %16 = load ptr, ptr %4, align 8 %17 = load i32, ptr %3, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i32, ptr %16, i64 %18 %20 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %19) br label %21 21: ; preds = %15 %22 = load i32, ptr %3, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %3, align 4 br label %11, !llvm.loop !6 24: ; preds = %11 %25 = load i32, ptr %2, align 4 %26 = sub nsw i32 %25, 1 store i32 %26, ptr %3, align 4 br label %27 27: ; preds = %37, %24 %28 = load i32, ptr %3, align 4 %29 = icmp sge i32 %28, 0 br i1 %29, label %30, label %40 30: ; preds = %27 %31 = load ptr, ptr %4, align 8 %32 = load i32, ptr %3, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i32, ptr %31, i64 %33 %35 = load i32, ptr %34, align 4 %36 = call i32 @printf(ptr noundef @.str.2, i32 noundef %35) br label %37 37: ; preds = %30 %38 = load i32, ptr %3, align 4 %39 = add nsw i32 %38, -1 store i32 %39, ptr %3, align 4 br label %27, !llvm.loop !8 40: ; preds = %27 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare ptr @malloc(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpli_bayxo.c" target datalayout = "e-m:e-p270: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 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %6 = load i32, ptr %2, align 4 %7 = sext i32 %6 to i64 %8 = mul i64 %7, 4 %9 = trunc i64 %8 to i32 %10 = call ptr @malloc(i32 noundef %9) store ptr %10, ptr %4, align 8 store i32 0, ptr %3, align 4 %11 = load i32, ptr %3, align 4 %12 = load i32, ptr %2, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %.lr.ph, label %26 .lr.ph: ; preds = %0 br label %14 14: ; preds = %.lr.ph, %20 %15 = load ptr, ptr %4, align 8 %16 = load i32, ptr %3, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i32, ptr %15, i64 %17 %19 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %18) br label %20 20: ; preds = %14 %21 = load i32, ptr %3, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %3, align 4 %23 = load i32, ptr %3, align 4 %24 = load i32, ptr %2, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %26 26: ; preds = %._crit_edge, %0 %27 = load i32, ptr %2, align 4 %28 = sub nsw i32 %27, 1 store i32 %28, ptr %3, align 4 %29 = load i32, ptr %3, align 4 %30 = icmp sge i32 %29, 0 br i1 %30, label %.lr.ph2, label %43 .lr.ph2: ; preds = %26 br label %31 31: ; preds = %.lr.ph2, %38 %32 = load ptr, ptr %4, align 8 %33 = load i32, ptr %3, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i32, ptr %32, i64 %34 %36 = load i32, ptr %35, align 4 %37 = call i32 @printf(ptr noundef @.str.2, i32 noundef %36) br label %38 38: ; preds = %31 %39 = load i32, ptr %3, align 4 %40 = add nsw i32 %39, -1 store i32 %40, ptr %3, align 4 %41 = load i32, ptr %3, align 4 %42 = icmp sge i32 %41, 0 br i1 %42, label %31, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %38 br label %43 43: ; preds = %._crit_edge3, %26 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare ptr @malloc(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpkd2ddqxq.c' source_filename = "/tmp/tmpkd2ddqxq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define weak dso_local void @PIN_INT5_IRQHandler() #0 { %1 = call i32 (...) @PIN_INT5_DriverIRQHandler() ret void } declare i32 @PIN_INT5_DriverIRQHandler(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkd2ddqxq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define weak dso_local void @PIN_INT5_IRQHandler() #0 { %1 = call i32 (...) @PIN_INT5_DriverIRQHandler() ret void } declare i32 @PIN_INT5_DriverIRQHandler(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0nymsh5h.c' source_filename = "/tmp/tmp0nymsh5h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cryptonite_sha3_finalize(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @cryptonite_sha3_finalize_with_pad_byte(ptr noundef %7, i32 noundef 6) %9 = load ptr, ptr %4, align 8 %10 = load ptr, ptr %6, align 8 %11 = load i32, ptr %5, align 4 %12 = sdiv i32 %11, 8 %13 = call i32 @cryptonite_sha3_output(ptr noundef %9, ptr noundef %10, i32 noundef %12) ret void } declare i32 @cryptonite_sha3_finalize_with_pad_byte(ptr noundef, i32 noundef) #1 declare i32 @cryptonite_sha3_output(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/tmp0nymsh5h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cryptonite_sha3_finalize(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @cryptonite_sha3_finalize_with_pad_byte(ptr noundef %7, i32 noundef 6) %9 = load ptr, ptr %4, align 8 %10 = load ptr, ptr %6, align 8 %11 = load i32, ptr %5, align 4 %12 = sdiv i32 %11, 8 %13 = call i32 @cryptonite_sha3_output(ptr noundef %9, ptr noundef %10, i32 noundef %12) ret void } declare i32 @cryptonite_sha3_finalize_with_pad_byte(ptr noundef, i32 noundef) #1 declare i32 @cryptonite_sha3_output(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/tmpb5zky4kj.c' source_filename = "/tmp/tmpb5zky4kj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @_SC_GETGR_R_SIZE_MAX = dso_local global i32 0, align 4 @errno = dso_local global i64 0, align 8 @ERANGE = dso_local global i64 0, align 8 @ULONG_MAX = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_group_entry(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 store i32 %0, ptr %2, align 4 %6 = call ptr @malloc(i64 noundef 4) #3 store ptr %6, ptr %3, align 8 %7 = load i32, ptr @_SC_GETGR_R_SIZE_MAX, align 4 %8 = call i64 @sysconf(i32 noundef %7) store i64 %8, ptr %5, align 8 %9 = load i64, ptr %5, align 8 %10 = icmp eq i64 %9, -1 br i1 %10, label %11, label %12 11: ; preds = %1 store i64 1024, ptr %5, align 8 br label %12 12: ; preds = %11, %1 %13 = load i64, ptr %5, align 8 %14 = call ptr @malloc(i64 noundef %13) #3 store ptr %14, ptr %4, align 8 br label %15 15: ; preds = %12, %38 %16 = load i32, ptr %2, align 4 %17 = load ptr, ptr %3, align 8 %18 = load ptr, ptr %4, align 8 %19 = load i64, ptr %5, align 8 %20 = call i32 @getgrgid_r(i32 noundef %16, ptr noundef %17, ptr noundef %18, i64 noundef %19, ptr noundef %3) %21 = load i64, ptr @errno, align 8 %22 = load i64, ptr @ERANGE, align 8 %23 = icmp eq i64 %21, %22 br i1 %23, label %24, label %37 24: ; preds = %15 %25 = load i64, ptr %5, align 8 %26 = load i64, ptr @ULONG_MAX, align 8 %27 = icmp ne i64 %25, %26 br i1 %27, label %28, label %37 28: ; preds = %24 %29 = load i64, ptr %5, align 8 %30 = load i64, ptr %5, align 8 %31 = mul i64 %30, 2 %32 = load i64, ptr @ULONG_MAX, align 8 %33 = call i64 @get_max_value(i64 noundef %29, i64 noundef %31, i64 noundef %32) store i64 %33, ptr %5, align 8 %34 = load ptr, ptr %4, align 8 %35 = load i64, ptr %5, align 8 %36 = call ptr @realloc(ptr noundef %34, i64 noundef %35) store ptr %36, ptr %4, align 8 br label %38 37: ; preds = %24, %15 br label %39 38: ; preds = %28 br label %15 39: ; preds = %37 %40 = load ptr, ptr %3, align 8 ret ptr %40 } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 declare i64 @sysconf(i32 noundef) #2 declare i32 @getgrgid_r(i32 noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef) #2 declare i64 @get_max_value(i64 noundef, i64 noundef, i64 noundef) #2 declare ptr @realloc(ptr noundef, i64 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 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-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 = { allocsize(0) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb5zky4kj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @_SC_GETGR_R_SIZE_MAX = dso_local global i32 0, align 4 @errno = dso_local global i64 0, align 8 @ERANGE = dso_local global i64 0, align 8 @ULONG_MAX = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_group_entry(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 store i32 %0, ptr %2, align 4 %6 = call ptr @malloc(i64 noundef 4) #3 store ptr %6, ptr %3, align 8 %7 = load i32, ptr @_SC_GETGR_R_SIZE_MAX, align 4 %8 = call i64 @sysconf(i32 noundef %7) store i64 %8, ptr %5, align 8 %9 = load i64, ptr %5, align 8 %10 = icmp eq i64 %9, -1 br i1 %10, label %11, label %12 11: ; preds = %1 store i64 1024, ptr %5, align 8 br label %12 12: ; preds = %11, %1 %13 = load i64, ptr %5, align 8 %14 = call ptr @malloc(i64 noundef %13) #3 store ptr %14, ptr %4, align 8 %15 = load i32, ptr %2, align 4 %16 = load ptr, ptr %3, align 8 %17 = load ptr, ptr %4, align 8 %18 = load i64, ptr %5, align 8 %19 = call i32 @getgrgid_r(i32 noundef %15, ptr noundef %16, ptr noundef %17, i64 noundef %18, ptr noundef %3) %20 = load i64, ptr @errno, align 8 %21 = load i64, ptr @ERANGE, align 8 %22 = icmp eq i64 %20, %21 br i1 %22, label %.lr.ph, label %36 .lr.ph: ; preds = %12 br label %23 23: ; preds = %.lr.ph, %37 %24 = load i64, ptr %5, align 8 %25 = load i64, ptr @ULONG_MAX, align 8 %26 = icmp ne i64 %24, %25 br i1 %26, label %27, label %._crit_edge 27: ; preds = %23 %28 = load i64, ptr %5, align 8 %29 = load i64, ptr %5, align 8 %30 = mul i64 %29, 2 %31 = load i64, ptr @ULONG_MAX, align 8 %32 = call i64 @get_max_value(i64 noundef %28, i64 noundef %30, i64 noundef %31) store i64 %32, ptr %5, align 8 %33 = load ptr, ptr %4, align 8 %34 = load i64, ptr %5, align 8 %35 = call ptr @realloc(ptr noundef %33, i64 noundef %34) store ptr %35, ptr %4, align 8 br label %37 ._crit_edge: ; preds = %23 br label %36 ._crit_edge1: ; preds = %37 br label %36 36: ; preds = %._crit_edge1, %._crit_edge, %12 br label %46 37: ; preds = %27 %38 = load i32, ptr %2, align 4 %39 = load ptr, ptr %3, align 8 %40 = load ptr, ptr %4, align 8 %41 = load i64, ptr %5, align 8 %42 = call i32 @getgrgid_r(i32 noundef %38, ptr noundef %39, ptr noundef %40, i64 noundef %41, ptr noundef %3) %43 = load i64, ptr @errno, align 8 %44 = load i64, ptr @ERANGE, align 8 %45 = icmp eq i64 %43, %44 br i1 %45, label %23, label %._crit_edge1 46: ; preds = %36 %47 = load ptr, ptr %3, align 8 ret ptr %47 } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 declare i64 @sysconf(i32 noundef) #2 declare i32 @getgrgid_r(i32 noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef) #2 declare i64 @get_max_value(i64 noundef, i64 noundef, i64 noundef) #2 declare ptr @realloc(ptr noundef, i64 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 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-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 = { allocsize(0) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp45qsu3ga.c' source_filename = "/tmp/tmp45qsu3ga.c" target datalayout = "e-m:e-p270: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"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_easter(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 store i32 %0, ptr %7, align 4 store i32 %1, ptr %8, align 4 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 %16 = load i32, ptr %11, align 4 %17 = sub nsw i32 0, %16 store i32 %17, ptr %15, align 4 br label %18 18: ; preds = %89, %6 %19 = load i32, ptr %15, align 4 %20 = load i32, ptr %12, align 4 %21 = add nsw i32 %20, 1 %22 = icmp slt i32 %19, %21 br i1 %22, label %23, label %92 23: ; preds = %18 %24 = load i32, ptr %7, align 4 %25 = icmp ne i32 %24, 0 br i1 %25, label %26, label %37 26: ; preds = %23 %27 = load i32, ptr %10, align 4 %28 = load i32, ptr %15, align 4 %29 = add nsw i32 %27, %28 %30 = call i32 @easterj(i32 noundef %29, ptr noundef %13, ptr noundef %14) %31 = load i32, ptr %10, align 4 %32 = load i32, ptr %15, align 4 %33 = add nsw i32 %31, %32 %34 = load i32, ptr %13, align 4 %35 = load i32, ptr %14, align 4 %36 = call i32 @print_date(i32 noundef %33, i32 noundef %34, i32 noundef %35) br label %37 37: ; preds = %26, %23 %38 = load i32, ptr %8, align 4 %39 = icmp ne i32 %38, 0 br i1 %39, label %40, label %62 40: ; preds = %37 %41 = load i32, ptr %10, align 4 %42 = load i32, ptr %15, align 4 %43 = add nsw i32 %41, %42 %44 = icmp slt i32 %43, 1583 br i1 %44, label %45, label %50 45: ; preds = %40 %46 = load i32, ptr %10, align 4 %47 = load i32, ptr %15, align 4 %48 = add nsw i32 %46, %47 %49 = call i32 @easterj(i32 noundef %48, ptr noundef %13, ptr noundef %14) br label %55 50: ; preds = %40 %51 = load i32, ptr %10, align 4 %52 = load i32, ptr %15, align 4 %53 = add nsw i32 %51, %52 %54 = call i32 @easterg(i32 noundef %53, ptr noundef %13, ptr noundef %14) br label %55 55: ; preds = %50, %45 %56 = load i32, ptr %10, align 4 %57 = load i32, ptr %15, align 4 %58 = add nsw i32 %56, %57 %59 = load i32, ptr %13, align 4 %60 = load i32, ptr %14, align 4 %61 = call i32 @print_date(i32 noundef %58, i32 noundef %59, i32 noundef %60) br label %62 62: ; preds = %55, %37 %63 = load i32, ptr %9, align 4 %64 = icmp ne i32 %63, 0 br i1 %64, label %65, label %87 65: ; preds = %62 %66 = load i32, ptr %10, align 4 %67 = load i32, ptr %15, align 4 %68 = add nsw i32 %66, %67 %69 = icmp slt i32 %68, 1583 br i1 %69, label %70, label %75 70: ; preds = %65 %71 = load i32, ptr %10, align 4 %72 = load i32, ptr %15, align 4 %73 = add nsw i32 %71, %72 %74 = call i32 @easterj(i32 noundef %73, ptr noundef %13, ptr noundef %14) br label %80 75: ; preds = %65 %76 = load i32, ptr %10, align 4 %77 = load i32, ptr %15, align 4 %78 = add nsw i32 %76, %77 %79 = call i32 @eastero(i32 noundef %78, ptr noundef %13, ptr noundef %14) br label %80 80: ; preds = %75, %70 %81 = load i32, ptr %10, align 4 %82 = load i32, ptr %15, align 4 %83 = add nsw i32 %81, %82 %84 = load i32, ptr %13, align 4 %85 = load i32, ptr %14, align 4 %86 = call i32 @print_date(i32 noundef %83, i32 noundef %84, i32 noundef %85) br label %87 87: ; preds = %80, %62 %88 = call i32 @printf(ptr noundef @.str) br label %89 89: ; preds = %87 %90 = load i32, ptr %15, align 4 %91 = add nsw i32 %90, 1 store i32 %91, ptr %15, align 4 br label %18, !llvm.loop !6 92: ; preds = %18 ret void } declare i32 @easterj(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @print_date(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @easterg(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @eastero(i32 noundef, 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp45qsu3ga.c" target datalayout = "e-m:e-p270: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"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_easter(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 store i32 %0, ptr %7, align 4 store i32 %1, ptr %8, align 4 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 %16 = load i32, ptr %11, align 4 %17 = sub nsw i32 0, %16 store i32 %17, ptr %15, align 4 %18 = load i32, ptr %15, align 4 %19 = load i32, ptr %12, align 4 %20 = add nsw i32 %19, 1 %21 = icmp slt i32 %18, %20 br i1 %21, label %.lr.ph, label %95 .lr.ph: ; preds = %6 br label %22 22: ; preds = %.lr.ph, %88 %23 = load i32, ptr %7, align 4 %24 = icmp ne i32 %23, 0 br i1 %24, label %25, label %36 25: ; preds = %22 %26 = load i32, ptr %10, align 4 %27 = load i32, ptr %15, align 4 %28 = add nsw i32 %26, %27 %29 = call i32 @easterj(i32 noundef %28, ptr noundef %13, ptr noundef %14) %30 = load i32, ptr %10, align 4 %31 = load i32, ptr %15, align 4 %32 = add nsw i32 %30, %31 %33 = load i32, ptr %13, align 4 %34 = load i32, ptr %14, align 4 %35 = call i32 @print_date(i32 noundef %32, i32 noundef %33, i32 noundef %34) br label %36 36: ; preds = %25, %22 %37 = load i32, ptr %8, align 4 %38 = icmp ne i32 %37, 0 br i1 %38, label %39, label %61 39: ; preds = %36 %40 = load i32, ptr %10, align 4 %41 = load i32, ptr %15, align 4 %42 = add nsw i32 %40, %41 %43 = icmp slt i32 %42, 1583 br i1 %43, label %44, label %49 44: ; preds = %39 %45 = load i32, ptr %10, align 4 %46 = load i32, ptr %15, align 4 %47 = add nsw i32 %45, %46 %48 = call i32 @easterj(i32 noundef %47, ptr noundef %13, ptr noundef %14) br label %54 49: ; preds = %39 %50 = load i32, ptr %10, align 4 %51 = load i32, ptr %15, align 4 %52 = add nsw i32 %50, %51 %53 = call i32 @easterg(i32 noundef %52, ptr noundef %13, ptr noundef %14) br label %54 54: ; preds = %49, %44 %55 = load i32, ptr %10, align 4 %56 = load i32, ptr %15, align 4 %57 = add nsw i32 %55, %56 %58 = load i32, ptr %13, align 4 %59 = load i32, ptr %14, align 4 %60 = call i32 @print_date(i32 noundef %57, i32 noundef %58, i32 noundef %59) br label %61 61: ; preds = %54, %36 %62 = load i32, ptr %9, align 4 %63 = icmp ne i32 %62, 0 br i1 %63, label %64, label %86 64: ; preds = %61 %65 = load i32, ptr %10, align 4 %66 = load i32, ptr %15, align 4 %67 = add nsw i32 %65, %66 %68 = icmp slt i32 %67, 1583 br i1 %68, label %69, label %74 69: ; preds = %64 %70 = load i32, ptr %10, align 4 %71 = load i32, ptr %15, align 4 %72 = add nsw i32 %70, %71 %73 = call i32 @easterj(i32 noundef %72, ptr noundef %13, ptr noundef %14) br label %79 74: ; preds = %64 %75 = load i32, ptr %10, align 4 %76 = load i32, ptr %15, align 4 %77 = add nsw i32 %75, %76 %78 = call i32 @eastero(i32 noundef %77, ptr noundef %13, ptr noundef %14) br label %79 79: ; preds = %74, %69 %80 = load i32, ptr %10, align 4 %81 = load i32, ptr %15, align 4 %82 = add nsw i32 %80, %81 %83 = load i32, ptr %13, align 4 %84 = load i32, ptr %14, align 4 %85 = call i32 @print_date(i32 noundef %82, i32 noundef %83, i32 noundef %84) br label %86 86: ; preds = %79, %61 %87 = call i32 @printf(ptr noundef @.str) br label %88 88: ; preds = %86 %89 = load i32, ptr %15, align 4 %90 = add nsw i32 %89, 1 store i32 %90, ptr %15, align 4 %91 = load i32, ptr %15, align 4 %92 = load i32, ptr %12, align 4 %93 = add nsw i32 %92, 1 %94 = icmp slt i32 %91, %93 br i1 %94, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %88 br label %95 95: ; preds = %._crit_edge, %6 ret void } declare i32 @easterj(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @print_date(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @easterg(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @eastero(i32 noundef, 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpulyoy_u4.c' source_filename = "/tmp/tmpulyoy_u4.c" target datalayout = "e-m:e-p270: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/tmpulyoy_u4.c" target datalayout = "e-m:e-p270: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/tmp7r7hgbgl.c' source_filename = "/tmp/tmp7r7hgbgl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @UINT64_MAX = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7r7hgbgl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @UINT64_MAX = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpf6ffktqi.c' source_filename = "/tmp/tmpf6ffktqi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @unpack_from_be16(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @memcpy(ptr noundef %3, ptr noundef %4, i32 noundef 4) %6 = load i32, ptr %3, align 4 %7 = call i32 @be16toh(i32 noundef %6) ret i32 %7 } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @be16toh(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/tmpf6ffktqi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @unpack_from_be16(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @memcpy(ptr noundef %3, ptr noundef %4, i32 noundef 4) %6 = load i32, ptr %3, align 4 %7 = call i32 @be16toh(i32 noundef %6) ret i32 %7 } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @be16toh(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/tmp53ksvyos.c' source_filename = "/tmp/tmp53ksvyos.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fgets(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load i32, ptr %5, align 4 %9 = call i32 @cgets(ptr noundef %7, i32 noundef %8) %10 = load ptr, ptr %4, align 8 ret ptr %10 } declare i32 @cgets(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/tmp53ksvyos.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fgets(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load i32, ptr %5, align 4 %9 = call i32 @cgets(ptr noundef %7, i32 noundef %8) %10 = load ptr, ptr %4, align 8 ret ptr %10 } declare i32 @cgets(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/tmp6wsm8w7z.c' source_filename = "/tmp/tmp6wsm8w7z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 @stdin = dso_local global i32 0, align 4 @stdout = 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/tmp6wsm8w7z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 @stdin = dso_local global i32 0, align 4 @stdout = 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/tmpo_acieoj.c' source_filename = "/tmp/tmpo_acieoj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gfunc_call(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 @o16(i32 noundef 4619) %4 = call i32 @o16(i32 noundef 0) ret void } declare i32 @o16(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/tmpo_acieoj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gfunc_call(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 @o16(i32 noundef 4619) %4 = call i32 @o16(i32 noundef 0) ret void } declare i32 @o16(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/tmpv1yo9fv7.c' source_filename = "/tmp/tmpv1yo9fv7.c" target datalayout = "e-m:e-p270: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/tmpv1yo9fv7.c" target datalayout = "e-m:e-p270: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/tmppvjz7s8p.c' source_filename = "/tmp/tmppvjz7s8p.c" target datalayout = "e-m:e-p270: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, i32, i32, i32 } @.str = private unnamed_addr constant [24 x i8] c"%s: Unable to open PTY\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [32 x i8] c"Simulator running on device %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [30 x i8] c"Unable to get attributes, %s\0A\00", align 1 @IGNBRK = dso_local global i32 0, align 4 @BRKINT = dso_local global i32 0, align 4 @ISTRIP = dso_local global i32 0, align 4 @INLCR = dso_local global i32 0, align 4 @IGNCR = dso_local global i32 0, align 4 @ICRNL = dso_local global i32 0, align 4 @OPOST = dso_local global i32 0, align 4 @ICANON = dso_local global i32 0, align 4 @ECHO = dso_local global i32 0, align 4 @ISIG = dso_local global i32 0, align 4 @IEXTEN = dso_local global i32 0, align 4 @CLOCAL = dso_local global i32 0, align 4 @CREAD = dso_local global i32 0, align 4 @B115200 = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [24 x i8] c"Unable to set baud, %s\0A\00", align 1 @CS8 = dso_local global i32 0, align 4 @PARENB = dso_local global i32 0, align 4 @PARODD = dso_local global i32 0, align 4 @IGNPAR = dso_local global i32 0, align 4 @PARMRK = dso_local global i32 0, align 4 @INPCK = dso_local global i32 0, align 4 @CSTOPB = dso_local global i32 0, align 4 @CRTSCTS = dso_local global i32 0, align 4 @TCSANOW = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [30 x i8] c"Unable to set parameters, %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pty_setup() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [256 x i8], align 16 %5 = alloca %struct.termios, align 4 %6 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0 %7 = call i32 @openpty(ptr noundef %2, ptr noundef %3, ptr noundef %6, i32 noundef 0, i32 noundef 0) %8 = icmp eq i32 %7, -1 br i1 %8, label %9, label %13 9: ; preds = %0 %10 = load i32, ptr @errno, align 4 %11 = call ptr @strerror(i32 noundef %10) %12 = call i32 @printf(ptr noundef @.str, ptr noundef %11) store i32 -1, ptr %1, align 4 br label %124 13: ; preds = %0 %14 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0 %15 = call i32 @printf(ptr noundef @.str.1, ptr noundef %14) %16 = call i32 @memset(ptr noundef %5, i32 noundef 0, i32 noundef 16) %17 = load i32, ptr %2, align 4 %18 = call i64 @tcgetattr(i32 noundef %17, ptr noundef %5) %19 = icmp ne i64 %18, 0 br i1 %19, label %20, label %26 20: ; preds = %13 %21 = load i32, ptr @errno, align 4 %22 = call ptr @strerror(i32 noundef %21) %23 = call i32 @printf(ptr noundef @.str.2, ptr noundef %22) %24 = load i32, ptr %2, align 4 %25 = call i32 @close(i32 noundef %24) store i32 -1, ptr %1, align 4 br label %124 26: ; preds = %13 %27 = load i32, ptr @IGNBRK, align 4 %28 = load i32, ptr @BRKINT, align 4 %29 = or i32 %27, %28 %30 = load i32, ptr @ISTRIP, align 4 %31 = or i32 %29, %30 %32 = load i32, ptr @INLCR, align 4 %33 = or i32 %31, %32 %34 = load i32, ptr @IGNCR, align 4 %35 = or i32 %33, %34 %36 = load i32, ptr @ICRNL, align 4 %37 = or i32 %35, %36 %38 = xor i32 %37, -1 %39 = getelementptr inbounds %struct.termios, ptr %5, i32 0, i32 0 %40 = load i32, ptr %39, align 4 %41 = and i32 %40, %38 store i32 %41, ptr %39, align 4 %42 = load i32, ptr @OPOST, align 4 %43 = xor i32 %42, -1 %44 = getelementptr inbounds %struct.termios, ptr %5, i32 0, i32 3 %45 = load i32, ptr %44, align 4 %46 = and i32 %45, %43 store i32 %46, ptr %44, align 4 %47 = load i32, ptr @ICANON, align 4 %48 = load i32, ptr @ECHO, align 4 %49 = or i32 %47, %48 %50 = load i32, ptr @ISIG, align 4 %51 = or i32 %49, %50 %52 = load i32, ptr @IEXTEN, align 4 %53 = or i32 %51, %52 %54 = xor i32 %53, -1 %55 = getelementptr inbounds %struct.termios, ptr %5, i32 0, i32 1 %56 = load i32, ptr %55, align 4 %57 = and i32 %56, %54 store i32 %57, ptr %55, align 4 %58 = load i32, ptr @CLOCAL, align 4 %59 = load i32, ptr @CREAD, align 4 %60 = or i32 %58, %59 %61 = getelementptr inbounds %struct.termios, ptr %5, i32 0, i32 2 %62 = load i32, ptr %61, align 4 %63 = or i32 %62, %60 store i32 %63, ptr %61, align 4 %64 = load i32, ptr @B115200, align 4 %65 = call i64 @cfsetispeed(ptr noundef %5, i32 noundef %64) %66 = icmp ne i64 %65, 0 br i1 %66, label %71, label %67 67: ; preds = %26 %68 = load i32, ptr @B115200, align 4 %69 = call i64 @cfsetospeed(ptr noundef %5, i32 noundef %68) %70 = icmp ne i64 %69, 0 br i1 %70, label %71, label %77 71: ; preds = %67, %26 %72 = load i32, ptr @errno, align 4 %73 = call ptr @strerror(i32 noundef %72) %74 = call i32 @printf(ptr noundef @.str.3, ptr noundef %73) %75 = load i32, ptr %2, align 4 %76 = call i32 @close(i32 noundef %75) store i32 -1, ptr %1, align 4 br label %124 77: ; preds = %67 %78 = load i32, ptr @CS8, align 4 %79 = getelementptr inbounds %struct.termios, ptr %5, i32 0, i32 2 %80 = load i32, ptr %79, align 4 %81 = or i32 %80, %78 store i32 %81, ptr %79, align 4 %82 = load i32, ptr @PARENB, align 4 %83 = load i32, ptr @PARODD, align 4 %84 = or i32 %82, %83 %85 = xor i32 %84, -1 %86 = getelementptr inbounds %struct.termios, ptr %5, i32 0, i32 2 %87 = load i32, ptr %86, align 4 %88 = and i32 %87, %85 store i32 %88, ptr %86, align 4 %89 = load i32, ptr @IGNPAR, align 4 %90 = load i32, ptr @PARMRK, align 4 %91 = or i32 %89, %90 %92 = load i32, ptr @INPCK, align 4 %93 = or i32 %91, %92 %94 = xor i32 %93, -1 %95 = getelementptr inbounds %struct.termios, ptr %5, i32 0, i32 0 %96 = load i32, ptr %95, align 4 %97 = and i32 %96, %94 store i32 %97, ptr %95, align 4 %98 = load i32, ptr @IGNPAR, align 4 %99 = getelementptr inbounds %struct.termios, ptr %5, i32 0, i32 0 %100 = load i32, ptr %99, align 4 %101 = or i32 %100, %98 store i32 %101, ptr %99, align 4 %102 = load i32, ptr @CSTOPB, align 4 %103 = xor i32 %102, -1 %104 = getelementptr inbounds %struct.termios, ptr %5, i32 0, i32 2 %105 = load i32, ptr %104, align 4 %106 = and i32 %105, %103 store i32 %106, ptr %104, align 4 %107 = load i32, ptr @CRTSCTS, align 4 %108 = xor i32 %107, -1 %109 = getelementptr inbounds %struct.termios, ptr %5, i32 0, i32 2 %110 = load i32, ptr %109, align 4 %111 = and i32 %110, %108 store i32 %111, ptr %109, align 4 %112 = load i32, ptr %2, align 4 %113 = load i32, ptr @TCSANOW, align 4 %114 = call i64 @tcsetattr(i32 noundef %112, i32 noundef %113, ptr noundef %5) %115 = icmp ne i64 %114, 0 br i1 %115, label %116, label %122 116: ; preds = %77 %117 = load i32, ptr @errno, align 4 %118 = call ptr @strerror(i32 noundef %117) %119 = call i32 @printf(ptr noundef @.str.4, ptr noundef %118) %120 = load i32, ptr %2, align 4 %121 = call i32 @close(i32 noundef %120) store i32 -1, ptr %1, align 4 br label %124 122: ; preds = %77 %123 = load i32, ptr %2, align 4 store i32 %123, ptr %1, align 4 br label %124 124: ; preds = %122, %116, %71, %20, %9 %125 = load i32, ptr %1, align 4 ret i32 %125 } declare i32 @openpty(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @tcgetattr(i32 noundef, ptr noundef) #1 declare i32 @close(i32 noundef) #1 declare i64 @cfsetispeed(ptr noundef, i32 noundef) #1 declare i64 @cfsetospeed(ptr noundef, i32 noundef) #1 declare i64 @tcsetattr(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppvjz7s8p.c" target datalayout = "e-m:e-p270: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, i32, i32, i32 } @.str = private unnamed_addr constant [24 x i8] c"%s: Unable to open PTY\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [32 x i8] c"Simulator running on device %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [30 x i8] c"Unable to get attributes, %s\0A\00", align 1 @IGNBRK = dso_local global i32 0, align 4 @BRKINT = dso_local global i32 0, align 4 @ISTRIP = dso_local global i32 0, align 4 @INLCR = dso_local global i32 0, align 4 @IGNCR = dso_local global i32 0, align 4 @ICRNL = dso_local global i32 0, align 4 @OPOST = dso_local global i32 0, align 4 @ICANON = dso_local global i32 0, align 4 @ECHO = dso_local global i32 0, align 4 @ISIG = dso_local global i32 0, align 4 @IEXTEN = dso_local global i32 0, align 4 @CLOCAL = dso_local global i32 0, align 4 @CREAD = dso_local global i32 0, align 4 @B115200 = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [24 x i8] c"Unable to set baud, %s\0A\00", align 1 @CS8 = dso_local global i32 0, align 4 @PARENB = dso_local global i32 0, align 4 @PARODD = dso_local global i32 0, align 4 @IGNPAR = dso_local global i32 0, align 4 @PARMRK = dso_local global i32 0, align 4 @INPCK = dso_local global i32 0, align 4 @CSTOPB = dso_local global i32 0, align 4 @CRTSCTS = dso_local global i32 0, align 4 @TCSANOW = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [30 x i8] c"Unable to set parameters, %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pty_setup() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [256 x i8], align 16 %5 = alloca %struct.termios, align 4 %6 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0 %7 = call i32 @openpty(ptr noundef %2, ptr noundef %3, ptr noundef %6, i32 noundef 0, i32 noundef 0) %8 = icmp eq i32 %7, -1 br i1 %8, label %9, label %13 9: ; preds = %0 %10 = load i32, ptr @errno, align 4 %11 = call ptr @strerror(i32 noundef %10) %12 = call i32 @printf(ptr noundef @.str, ptr noundef %11) store i32 -1, ptr %1, align 4 br label %124 13: ; preds = %0 %14 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0 %15 = call i32 @printf(ptr noundef @.str.1, ptr noundef %14) %16 = call i32 @memset(ptr noundef %5, i32 noundef 0, i32 noundef 16) %17 = load i32, ptr %2, align 4 %18 = call i64 @tcgetattr(i32 noundef %17, ptr noundef %5) %19 = icmp ne i64 %18, 0 br i1 %19, label %20, label %26 20: ; preds = %13 %21 = load i32, ptr @errno, align 4 %22 = call ptr @strerror(i32 noundef %21) %23 = call i32 @printf(ptr noundef @.str.2, ptr noundef %22) %24 = load i32, ptr %2, align 4 %25 = call i32 @close(i32 noundef %24) store i32 -1, ptr %1, align 4 br label %124 26: ; preds = %13 %27 = load i32, ptr @IGNBRK, align 4 %28 = load i32, ptr @BRKINT, align 4 %29 = or i32 %27, %28 %30 = load i32, ptr @ISTRIP, align 4 %31 = or i32 %29, %30 %32 = load i32, ptr @INLCR, align 4 %33 = or i32 %31, %32 %34 = load i32, ptr @IGNCR, align 4 %35 = or i32 %33, %34 %36 = load i32, ptr @ICRNL, align 4 %37 = or i32 %35, %36 %38 = xor i32 %37, -1 %39 = getelementptr inbounds %struct.termios, ptr %5, i32 0, i32 0 %40 = load i32, ptr %39, align 4 %41 = and i32 %40, %38 store i32 %41, ptr %39, align 4 %42 = load i32, ptr @OPOST, align 4 %43 = xor i32 %42, -1 %44 = getelementptr inbounds %struct.termios, ptr %5, i32 0, i32 3 %45 = load i32, ptr %44, align 4 %46 = and i32 %45, %43 store i32 %46, ptr %44, align 4 %47 = load i32, ptr @ICANON, align 4 %48 = load i32, ptr @ECHO, align 4 %49 = or i32 %47, %48 %50 = load i32, ptr @ISIG, align 4 %51 = or i32 %49, %50 %52 = load i32, ptr @IEXTEN, align 4 %53 = or i32 %51, %52 %54 = xor i32 %53, -1 %55 = getelementptr inbounds %struct.termios, ptr %5, i32 0, i32 1 %56 = load i32, ptr %55, align 4 %57 = and i32 %56, %54 store i32 %57, ptr %55, align 4 %58 = load i32, ptr @CLOCAL, align 4 %59 = load i32, ptr @CREAD, align 4 %60 = or i32 %58, %59 %61 = getelementptr inbounds %struct.termios, ptr %5, i32 0, i32 2 %62 = load i32, ptr %61, align 4 %63 = or i32 %62, %60 store i32 %63, ptr %61, align 4 %64 = load i32, ptr @B115200, align 4 %65 = call i64 @cfsetispeed(ptr noundef %5, i32 noundef %64) %66 = icmp ne i64 %65, 0 br i1 %66, label %71, label %67 67: ; preds = %26 %68 = load i32, ptr @B115200, align 4 %69 = call i64 @cfsetospeed(ptr noundef %5, i32 noundef %68) %70 = icmp ne i64 %69, 0 br i1 %70, label %71, label %77 71: ; preds = %67, %26 %72 = load i32, ptr @errno, align 4 %73 = call ptr @strerror(i32 noundef %72) %74 = call i32 @printf(ptr noundef @.str.3, ptr noundef %73) %75 = load i32, ptr %2, align 4 %76 = call i32 @close(i32 noundef %75) store i32 -1, ptr %1, align 4 br label %124 77: ; preds = %67 %78 = load i32, ptr @CS8, align 4 %79 = getelementptr inbounds %struct.termios, ptr %5, i32 0, i32 2 %80 = load i32, ptr %79, align 4 %81 = or i32 %80, %78 store i32 %81, ptr %79, align 4 %82 = load i32, ptr @PARENB, align 4 %83 = load i32, ptr @PARODD, align 4 %84 = or i32 %82, %83 %85 = xor i32 %84, -1 %86 = getelementptr inbounds %struct.termios, ptr %5, i32 0, i32 2 %87 = load i32, ptr %86, align 4 %88 = and i32 %87, %85 store i32 %88, ptr %86, align 4 %89 = load i32, ptr @IGNPAR, align 4 %90 = load i32, ptr @PARMRK, align 4 %91 = or i32 %89, %90 %92 = load i32, ptr @INPCK, align 4 %93 = or i32 %91, %92 %94 = xor i32 %93, -1 %95 = getelementptr inbounds %struct.termios, ptr %5, i32 0, i32 0 %96 = load i32, ptr %95, align 4 %97 = and i32 %96, %94 store i32 %97, ptr %95, align 4 %98 = load i32, ptr @IGNPAR, align 4 %99 = getelementptr inbounds %struct.termios, ptr %5, i32 0, i32 0 %100 = load i32, ptr %99, align 4 %101 = or i32 %100, %98 store i32 %101, ptr %99, align 4 %102 = load i32, ptr @CSTOPB, align 4 %103 = xor i32 %102, -1 %104 = getelementptr inbounds %struct.termios, ptr %5, i32 0, i32 2 %105 = load i32, ptr %104, align 4 %106 = and i32 %105, %103 store i32 %106, ptr %104, align 4 %107 = load i32, ptr @CRTSCTS, align 4 %108 = xor i32 %107, -1 %109 = getelementptr inbounds %struct.termios, ptr %5, i32 0, i32 2 %110 = load i32, ptr %109, align 4 %111 = and i32 %110, %108 store i32 %111, ptr %109, align 4 %112 = load i32, ptr %2, align 4 %113 = load i32, ptr @TCSANOW, align 4 %114 = call i64 @tcsetattr(i32 noundef %112, i32 noundef %113, ptr noundef %5) %115 = icmp ne i64 %114, 0 br i1 %115, label %116, label %122 116: ; preds = %77 %117 = load i32, ptr @errno, align 4 %118 = call ptr @strerror(i32 noundef %117) %119 = call i32 @printf(ptr noundef @.str.4, ptr noundef %118) %120 = load i32, ptr %2, align 4 %121 = call i32 @close(i32 noundef %120) store i32 -1, ptr %1, align 4 br label %124 122: ; preds = %77 %123 = load i32, ptr %2, align 4 store i32 %123, ptr %1, align 4 br label %124 124: ; preds = %122, %116, %71, %20, %9 %125 = load i32, ptr %1, align 4 ret i32 %125 } declare i32 @openpty(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @tcgetattr(i32 noundef, ptr noundef) #1 declare i32 @close(i32 noundef) #1 declare i64 @cfsetispeed(ptr noundef, i32 noundef) #1 declare i64 @cfsetospeed(ptr noundef, i32 noundef) #1 declare i64 @tcsetattr(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpo9dywpre.c' source_filename = "/tmp/tmpo9dywpre.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @test_base64length() ret i32 0 } declare i32 @test_base64length(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo9dywpre.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @test_base64length() ret i32 0 } declare i32 @test_base64length(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpng1wxvvp.c' source_filename = "/tmp/tmpng1wxvvp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"%f %f\0A\00", align 1 @.str.1 = private unnamed_addr constant [56 x i8] c"The area of (%.4f,%.4f), (%.4f,0) and (0,%.4f) is %.4f.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 store i32 0, ptr %1, align 4 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3) %6 = load float, ptr %2, align 4 %7 = fpext float %6 to double %8 = fmul double 5.000000e-01, %7 %9 = load float, ptr %3, align 4 %10 = fpext float %9 to double %11 = fmul double %8, %10 %12 = fptrunc double %11 to float store float %12, ptr %4, align 4 %13 = load float, ptr %2, align 4 %14 = load float, ptr %3, align 4 %15 = load float, ptr %2, align 4 %16 = load float, ptr %3, align 4 %17 = load float, ptr %4, align 4 %18 = call i32 @printf(ptr noundef @.str.1, float noundef %13, float noundef %14, float noundef %15, float noundef %16, float noundef %17) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, float noundef, float noundef, float noundef, float noundef, 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/tmpng1wxvvp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"%f %f\0A\00", align 1 @.str.1 = private unnamed_addr constant [56 x i8] c"The area of (%.4f,%.4f), (%.4f,0) and (0,%.4f) is %.4f.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 store i32 0, ptr %1, align 4 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3) %6 = load float, ptr %2, align 4 %7 = fpext float %6 to double %8 = fmul double 5.000000e-01, %7 %9 = load float, ptr %3, align 4 %10 = fpext float %9 to double %11 = fmul double %8, %10 %12 = fptrunc double %11 to float store float %12, ptr %4, align 4 %13 = load float, ptr %2, align 4 %14 = load float, ptr %3, align 4 %15 = load float, ptr %2, align 4 %16 = load float, ptr %3, align 4 %17 = load float, ptr %4, align 4 %18 = call i32 @printf(ptr noundef @.str.1, float noundef %13, float noundef %14, float noundef %15, float noundef %16, float noundef %17) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, float noundef, float noundef, float noundef, float noundef, 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/tmpda2d4m9r.c' source_filename = "/tmp/tmpda2d4m9r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.input_event = type { i32, i32, i32 } @EV_KEY = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @uinput_key(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca %struct.input_event, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %8 = call i32 @memset(ptr noundef %7, i32 noundef 0, i32 noundef 12) %9 = load i32, ptr @EV_KEY, align 4 %10 = getelementptr inbounds %struct.input_event, ptr %7, i32 0, i32 2 store i32 %9, ptr %10, align 4 %11 = load i32, ptr %5, align 4 %12 = getelementptr inbounds %struct.input_event, ptr %7, i32 0, i32 1 store i32 %11, ptr %12, align 4 %13 = load i32, ptr %6, align 4 %14 = getelementptr inbounds %struct.input_event, ptr %7, i32 0, i32 0 store i32 %13, ptr %14, align 4 %15 = load i32, ptr %4, align 4 %16 = call i32 @write(i32 noundef %15, ptr noundef %7, i32 noundef 12) ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpda2d4m9r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.input_event = type { i32, i32, i32 } @EV_KEY = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @uinput_key(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca %struct.input_event, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %8 = call i32 @memset(ptr noundef %7, i32 noundef 0, i32 noundef 12) %9 = load i32, ptr @EV_KEY, align 4 %10 = getelementptr inbounds %struct.input_event, ptr %7, i32 0, i32 2 store i32 %9, ptr %10, align 4 %11 = load i32, ptr %5, align 4 %12 = getelementptr inbounds %struct.input_event, ptr %7, i32 0, i32 1 store i32 %11, ptr %12, align 4 %13 = load i32, ptr %6, align 4 %14 = getelementptr inbounds %struct.input_event, ptr %7, i32 0, i32 0 store i32 %13, ptr %14, align 4 %15 = load i32, ptr %4, align 4 %16 = call i32 @write(i32 noundef %15, ptr noundef %7, i32 noundef 12) ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpc33pm3yk.c' source_filename = "/tmp/tmpc33pm3yk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @platform_getch() #0 { %1 = call i32 (...) @platform_linux_getch() ret i32 %1 } declare i32 @platform_linux_getch(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpc33pm3yk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @platform_getch() #0 { %1 = call i32 (...) @platform_linux_getch() ret i32 %1 } declare i32 @platform_linux_getch(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp458sfhz5.c' source_filename = "/tmp/tmp458sfhz5.c" target datalayout = "e-m:e-p270: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"%lf\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%.0f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 store i32 0, ptr %1, align 4 %3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %4 = load double, ptr %2, align 8 %5 = load double, ptr %2, align 8 %6 = fsub double %5, 3.000000e+00 %7 = fmul double %4, %6 %8 = fdiv double %7, 2.000000e+00 %9 = call i32 @printf(ptr noundef @.str.1, double noundef %8) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr 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/tmp458sfhz5.c" target datalayout = "e-m:e-p270: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"%lf\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%.0f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 store i32 0, ptr %1, align 4 %3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %4 = load double, ptr %2, align 8 %5 = load double, ptr %2, align 8 %6 = fsub double %5, 3.000000e+00 %7 = fmul double %4, %6 %8 = fdiv double %7, 2.000000e+00 %9 = call i32 @printf(ptr noundef @.str.1, double noundef %8) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr 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/tmp_yk5o5gp.c' source_filename = "/tmp/tmp_yk5o5gp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ccnl_iottlv_peekType(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = icmp slt i32 %7, 1 br i1 %8, label %9, label %10 9: ; preds = %2 store i32 -1, ptr %3, align 4 br label %29 10: ; preds = %2 %11 = load ptr, ptr %4, align 8 %12 = load i8, ptr %11, align 1 %13 = icmp ne i8 %12, 0 br i1 %13, label %14, label %19 14: ; preds = %10 %15 = load ptr, ptr %4, align 8 %16 = load i8, ptr %15, align 1 %17 = zext i8 %16 to i32 %18 = ashr i32 %17, 6 store i32 %18, ptr %3, align 4 br label %29 19: ; preds = %10 %20 = load ptr, ptr %4, align 8 %21 = getelementptr inbounds i8, ptr %20, i32 1 store ptr %21, ptr %4, align 8 %22 = load i32, ptr %5, align 4 %23 = add nsw i32 %22, -1 store i32 %23, ptr %5, align 4 %24 = call i64 @ccnl_iottlv_varlenint(ptr noundef %4, ptr noundef %5, ptr noundef %6) %25 = icmp slt i64 %24, 0 br i1 %25, label %26, label %27 26: ; preds = %19 store i32 -1, ptr %3, align 4 br label %29 27: ; preds = %19 %28 = load i32, ptr %6, align 4 store i32 %28, ptr %3, align 4 br label %29 29: ; preds = %27, %26, %14, %9 %30 = load i32, ptr %3, align 4 ret i32 %30 } declare i64 @ccnl_iottlv_varlenint(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_yk5o5gp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ccnl_iottlv_peekType(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = icmp slt i32 %7, 1 br i1 %8, label %9, label %10 9: ; preds = %2 store i32 -1, ptr %3, align 4 br label %29 10: ; preds = %2 %11 = load ptr, ptr %4, align 8 %12 = load i8, ptr %11, align 1 %13 = icmp ne i8 %12, 0 br i1 %13, label %14, label %19 14: ; preds = %10 %15 = load ptr, ptr %4, align 8 %16 = load i8, ptr %15, align 1 %17 = zext i8 %16 to i32 %18 = ashr i32 %17, 6 store i32 %18, ptr %3, align 4 br label %29 19: ; preds = %10 %20 = load ptr, ptr %4, align 8 %21 = getelementptr inbounds i8, ptr %20, i32 1 store ptr %21, ptr %4, align 8 %22 = load i32, ptr %5, align 4 %23 = add nsw i32 %22, -1 store i32 %23, ptr %5, align 4 %24 = call i64 @ccnl_iottlv_varlenint(ptr noundef %4, ptr noundef %5, ptr noundef %6) %25 = icmp slt i64 %24, 0 br i1 %25, label %26, label %27 26: ; preds = %19 store i32 -1, ptr %3, align 4 br label %29 27: ; preds = %19 %28 = load i32, ptr %6, align 4 store i32 %28, ptr %3, align 4 br label %29 29: ; preds = %27, %26, %14, %9 %30 = load i32, ptr %3, align 4 ret i32 %30 } declare i64 @ccnl_iottlv_varlenint(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpv3wvhlxr.c' source_filename = "/tmp/tmpv3wvhlxr.c" target datalayout = "e-m:e-p270: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 [55 x i8] c"Usage: test_array test1|test2|test3|test4|test5|test6\0A\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"Running %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"test1\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"test2\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"test3\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"test4\00", align 1 @.str.6 = private unnamed_addr constant [6 x i8] c"test5\00", align 1 @.str.7 = private unnamed_addr constant [6 x i8] c"test6\00", align 1 @.str.8 = private unnamed_addr constant [18 x i8] c"Test not found!!n\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %7, 2 br i1 %8, label %9, label %12 9: ; preds = %2 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str) %11 = call i32 @exit(i32 noundef 1) #3 unreachable 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 1 %15 = load ptr, ptr %14, align 8 store ptr %15, ptr %6, align 8 %16 = load ptr, ptr %6, align 8 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %16) %18 = load ptr, ptr %6, align 8 %19 = call i64 @strcmp(ptr noundef %18, ptr noundef @.str.2) %20 = icmp eq i64 %19, 0 br i1 %20, label %21, label %23 21: ; preds = %12 %22 = call i32 (...) @test1() br label %61 23: ; preds = %12 %24 = load ptr, ptr %6, align 8 %25 = call i64 @strcmp(ptr noundef %24, ptr noundef @.str.3) %26 = icmp eq i64 %25, 0 br i1 %26, label %27, label %29 27: ; preds = %23 %28 = call i32 (...) @test2() br label %60 29: ; preds = %23 %30 = load ptr, ptr %6, align 8 %31 = call i64 @strcmp(ptr noundef %30, ptr noundef @.str.4) %32 = icmp eq i64 %31, 0 br i1 %32, label %33, label %35 33: ; preds = %29 %34 = call i32 (...) @test3() br label %59 35: ; preds = %29 %36 = load ptr, ptr %6, align 8 %37 = call i64 @strcmp(ptr noundef %36, ptr noundef @.str.5) %38 = icmp eq i64 %37, 0 br i1 %38, label %39, label %41 39: ; preds = %35 %40 = call i32 (...) @test4() br label %58 41: ; preds = %35 %42 = load ptr, ptr %6, align 8 %43 = call i64 @strcmp(ptr noundef %42, ptr noundef @.str.6) %44 = icmp eq i64 %43, 0 br i1 %44, label %45, label %47 45: ; preds = %41 %46 = call i32 (...) @test5() br label %57 47: ; preds = %41 %48 = load ptr, ptr %6, align 8 %49 = call i64 @strcmp(ptr noundef %48, ptr noundef @.str.7) %50 = icmp eq i64 %49, 0 br i1 %50, label %51, label %53 51: ; preds = %47 %52 = call i32 (...) @test6() br label %56 53: ; preds = %47 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %55 = call i32 @exit(i32 noundef 1) #3 unreachable 56: ; preds = %51 br label %57 57: ; preds = %56, %45 br label %58 58: ; preds = %57, %39 br label %59 59: ; preds = %58, %33 br label %60 60: ; preds = %59, %27 br label %61 61: ; preds = %60, %21 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @test1(...) #1 declare i32 @test2(...) #1 declare i32 @test3(...) #1 declare i32 @test4(...) #1 declare i32 @test5(...) #1 declare i32 @test6(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpv3wvhlxr.c" target datalayout = "e-m:e-p270: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 [55 x i8] c"Usage: test_array test1|test2|test3|test4|test5|test6\0A\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"Running %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"test1\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"test2\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"test3\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"test4\00", align 1 @.str.6 = private unnamed_addr constant [6 x i8] c"test5\00", align 1 @.str.7 = private unnamed_addr constant [6 x i8] c"test6\00", align 1 @.str.8 = private unnamed_addr constant [18 x i8] c"Test not found!!n\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %7, 2 br i1 %8, label %9, label %12 9: ; preds = %2 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str) %11 = call i32 @exit(i32 noundef 1) #3 unreachable 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 1 %15 = load ptr, ptr %14, align 8 store ptr %15, ptr %6, align 8 %16 = load ptr, ptr %6, align 8 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %16) %18 = load ptr, ptr %6, align 8 %19 = call i64 @strcmp(ptr noundef %18, ptr noundef @.str.2) %20 = icmp eq i64 %19, 0 br i1 %20, label %21, label %23 21: ; preds = %12 %22 = call i32 (...) @test1() br label %61 23: ; preds = %12 %24 = load ptr, ptr %6, align 8 %25 = call i64 @strcmp(ptr noundef %24, ptr noundef @.str.3) %26 = icmp eq i64 %25, 0 br i1 %26, label %27, label %29 27: ; preds = %23 %28 = call i32 (...) @test2() br label %60 29: ; preds = %23 %30 = load ptr, ptr %6, align 8 %31 = call i64 @strcmp(ptr noundef %30, ptr noundef @.str.4) %32 = icmp eq i64 %31, 0 br i1 %32, label %33, label %35 33: ; preds = %29 %34 = call i32 (...) @test3() br label %59 35: ; preds = %29 %36 = load ptr, ptr %6, align 8 %37 = call i64 @strcmp(ptr noundef %36, ptr noundef @.str.5) %38 = icmp eq i64 %37, 0 br i1 %38, label %39, label %41 39: ; preds = %35 %40 = call i32 (...) @test4() br label %58 41: ; preds = %35 %42 = load ptr, ptr %6, align 8 %43 = call i64 @strcmp(ptr noundef %42, ptr noundef @.str.6) %44 = icmp eq i64 %43, 0 br i1 %44, label %45, label %47 45: ; preds = %41 %46 = call i32 (...) @test5() br label %57 47: ; preds = %41 %48 = load ptr, ptr %6, align 8 %49 = call i64 @strcmp(ptr noundef %48, ptr noundef @.str.7) %50 = icmp eq i64 %49, 0 br i1 %50, label %51, label %53 51: ; preds = %47 %52 = call i32 (...) @test6() br label %56 53: ; preds = %47 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %55 = call i32 @exit(i32 noundef 1) #3 unreachable 56: ; preds = %51 br label %57 57: ; preds = %56, %45 br label %58 58: ; preds = %57, %39 br label %59 59: ; preds = %58, %33 br label %60 60: ; preds = %59, %27 br label %61 61: ; preds = %60, %21 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @test1(...) #1 declare i32 @test2(...) #1 declare i32 @test3(...) #1 declare i32 @test4(...) #1 declare i32 @test5(...) #1 declare i32 @test6(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpg8_3ijai.c' source_filename = "/tmp/tmpg8_3ijai.c" target datalayout = "e-m:e-p270: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 [29 x i8] c"%s: Fallimento della fork()\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [43 x i8] c"PID %ld: Figlio partito, il padre \C3\A8: %ld\0A\00", align 1 @.str.2 = private unnamed_addr constant [36 x i8] c"PID %ld: Il figlio partito PID %ld\0A\00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"%s: wait()\0A\00", align 1 @.str.4 = private unnamed_addr constant [39 x i8] c"PID figlio %ld stato di uscita 0x%04X\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = call i32 (...) @fork() store i32 %9, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = icmp eq i32 %10, -1 br i1 %11, label %12, label %18 12: ; preds = %2 %13 = load i32, ptr @stderr, align 4 %14 = load i32, ptr @errno, align 4 %15 = call ptr @strerror(i32 noundef %14) %16 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str, ptr noundef %15) %17 = call i32 @exit(i32 noundef 13) #3 unreachable 18: ; preds = %2 %19 = load i32, ptr %6, align 4 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %26 21: ; preds = %18 %22 = call i64 (...) @getpid() %23 = call i64 (...) @getppid() %24 = trunc i64 %23 to i32 %25 = call i32 @printf(ptr noundef @.str.1, i64 noundef %22, i32 noundef %24) br label %52 26: ; preds = %18 %27 = call i64 (...) @getpid() %28 = load i32, ptr %6, align 4 %29 = sext i32 %28 to i64 %30 = trunc i64 %29 to i32 %31 = call i32 @printf(ptr noundef @.str.2, i64 noundef %27, i32 noundef %30) %32 = call i32 @wait(ptr noundef %8) store i32 %32, ptr %7, align 4 %33 = load i32, ptr %7, align 4 %34 = icmp eq i32 %33, -1 br i1 %34, label %35, label %40 35: ; preds = %26 %36 = load i32, ptr @stderr, align 4 %37 = load i32, ptr @errno, align 4 %38 = call ptr @strerror(i32 noundef %37) %39 = call i32 @fprintf(i32 noundef %36, ptr noundef @.str.3, ptr noundef %38) store i32 1, ptr %3, align 4 br label %55 40: ; preds = %26 %41 = load i32, ptr %7, align 4 %42 = load i32, ptr %6, align 4 %43 = icmp ne i32 %41, %42 br i1 %43, label %44, label %46 44: ; preds = %40 %45 = call i32 (...) @abort() #3 unreachable 46: ; preds = %40 %47 = load i32, ptr %6, align 4 %48 = sext i32 %47 to i64 %49 = load i32, ptr %8, align 4 %50 = call i32 @printf(ptr noundef @.str.4, i64 noundef %48, i32 noundef %49) br label %51 51: ; preds = %46 br label %52 52: ; preds = %51, %21 %53 = call i32 @sleep(i32 noundef 5) %54 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %54, ptr %3, align 4 br label %55 55: ; preds = %52, %35 %56 = load i32, ptr %3, align 4 ret i32 %56 } declare i32 @fork(...) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @printf(ptr noundef, i64 noundef, i32 noundef) #1 declare i64 @getpid(...) #1 declare i64 @getppid(...) #1 declare i32 @wait(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 declare i32 @sleep(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/tmpg8_3ijai.c" target datalayout = "e-m:e-p270: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 [29 x i8] c"%s: Fallimento della fork()\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [43 x i8] c"PID %ld: Figlio partito, il padre \C3\A8: %ld\0A\00", align 1 @.str.2 = private unnamed_addr constant [36 x i8] c"PID %ld: Il figlio partito PID %ld\0A\00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"%s: wait()\0A\00", align 1 @.str.4 = private unnamed_addr constant [39 x i8] c"PID figlio %ld stato di uscita 0x%04X\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = call i32 (...) @fork() store i32 %9, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = icmp eq i32 %10, -1 br i1 %11, label %12, label %18 12: ; preds = %2 %13 = load i32, ptr @stderr, align 4 %14 = load i32, ptr @errno, align 4 %15 = call ptr @strerror(i32 noundef %14) %16 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str, ptr noundef %15) %17 = call i32 @exit(i32 noundef 13) #3 unreachable 18: ; preds = %2 %19 = load i32, ptr %6, align 4 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %26 21: ; preds = %18 %22 = call i64 (...) @getpid() %23 = call i64 (...) @getppid() %24 = trunc i64 %23 to i32 %25 = call i32 @printf(ptr noundef @.str.1, i64 noundef %22, i32 noundef %24) br label %52 26: ; preds = %18 %27 = call i64 (...) @getpid() %28 = load i32, ptr %6, align 4 %29 = sext i32 %28 to i64 %30 = trunc i64 %29 to i32 %31 = call i32 @printf(ptr noundef @.str.2, i64 noundef %27, i32 noundef %30) %32 = call i32 @wait(ptr noundef %8) store i32 %32, ptr %7, align 4 %33 = load i32, ptr %7, align 4 %34 = icmp eq i32 %33, -1 br i1 %34, label %35, label %40 35: ; preds = %26 %36 = load i32, ptr @stderr, align 4 %37 = load i32, ptr @errno, align 4 %38 = call ptr @strerror(i32 noundef %37) %39 = call i32 @fprintf(i32 noundef %36, ptr noundef @.str.3, ptr noundef %38) store i32 1, ptr %3, align 4 br label %55 40: ; preds = %26 %41 = load i32, ptr %7, align 4 %42 = load i32, ptr %6, align 4 %43 = icmp ne i32 %41, %42 br i1 %43, label %44, label %46 44: ; preds = %40 %45 = call i32 (...) @abort() #3 unreachable 46: ; preds = %40 %47 = load i32, ptr %6, align 4 %48 = sext i32 %47 to i64 %49 = load i32, ptr %8, align 4 %50 = call i32 @printf(ptr noundef @.str.4, i64 noundef %48, i32 noundef %49) br label %51 51: ; preds = %46 br label %52 52: ; preds = %51, %21 %53 = call i32 @sleep(i32 noundef 5) %54 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %54, ptr %3, align 4 br label %55 55: ; preds = %52, %35 %56 = load i32, ptr %3, align 4 ret i32 %56 } declare i32 @fork(...) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @strerror(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @printf(ptr noundef, i64 noundef, i32 noundef) #1 declare i64 @getpid(...) #1 declare i64 @getppid(...) #1 declare i32 @wait(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 declare i32 @sleep(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/tmp6yd8o5t6.c' source_filename = "/tmp/tmp6yd8o5t6.c" target datalayout = "e-m:e-p270: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/tmp6yd8o5t6.c" target datalayout = "e-m:e-p270: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/tmple27ks24.c' source_filename = "/tmp/tmple27ks24.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @atof(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call double @strtod(ptr noundef %3, ptr noundef null) ret double %4 } declare double @strtod(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/tmple27ks24.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @atof(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call double @strtod(ptr noundef %3, ptr noundef null) ret double %4 } declare double @strtod(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/tmpr8pskfhb.c' source_filename = "/tmp/tmpr8pskfhb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vp8_variance16x8_c(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 store ptr %4, ptr %10, align 8 %13 = load ptr, ptr %6, align 8 %14 = load i32, ptr %7, align 4 %15 = load ptr, ptr %8, align 8 %16 = load i32, ptr %9, align 4 %17 = call i32 @vp8_variance(ptr noundef %13, i32 noundef %14, ptr noundef %15, i32 noundef %16, i32 noundef 16, i32 noundef 8, ptr noundef %11, ptr noundef %12) %18 = load i32, ptr %11, align 4 %19 = load ptr, ptr %10, align 8 store i32 %18, ptr %19, align 4 %20 = load i32, ptr %11, align 4 %21 = load i32, ptr %12, align 4 %22 = load i32, ptr %12, align 4 %23 = mul nsw i32 %21, %22 %24 = ashr i32 %23, 7 %25 = sub i32 %20, %24 ret i32 %25 } declare i32 @vp8_variance(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, 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/tmpr8pskfhb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vp8_variance16x8_c(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 store ptr %4, ptr %10, align 8 %13 = load ptr, ptr %6, align 8 %14 = load i32, ptr %7, align 4 %15 = load ptr, ptr %8, align 8 %16 = load i32, ptr %9, align 4 %17 = call i32 @vp8_variance(ptr noundef %13, i32 noundef %14, ptr noundef %15, i32 noundef %16, i32 noundef 16, i32 noundef 8, ptr noundef %11, ptr noundef %12) %18 = load i32, ptr %11, align 4 %19 = load ptr, ptr %10, align 8 store i32 %18, ptr %19, align 4 %20 = load i32, ptr %11, align 4 %21 = load i32, ptr %12, align 4 %22 = load i32, ptr %12, align 4 %23 = mul nsw i32 %21, %22 %24 = ashr i32 %23, 7 %25 = sub i32 %20, %24 ret i32 %25 } declare i32 @vp8_variance(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, 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/tmpy_mujuwd.c' source_filename = "/tmp/tmpy_mujuwd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @sd_bus_release_name(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 i32, ptr @EINVAL, align 4 %6 = sub nsw i32 0, %5 ret i32 %6 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy_mujuwd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @sd_bus_release_name(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 i32, ptr @EINVAL, align 4 %6 = sub nsw i32 0, %5 ret i32 %6 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpl10dx2ig.c' source_filename = "/tmp/tmpl10dx2ig.c" target datalayout = "e-m:e-p270: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/tmpl10dx2ig.c" target datalayout = "e-m:e-p270: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/tmp0qk8pftv.c' source_filename = "/tmp/tmp0qk8pftv.c" target datalayout = "e-m:e-p270: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"+6\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"+10\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @f_set_percentile(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 { %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca ptr, align 8 store i32 %0, ptr %9, align 4 store ptr %1, ptr %10, align 8 store ptr %2, ptr %11, align 8 store i32 %3, ptr %12, align 4 store ptr %4, ptr %13, align 8 store ptr %5, ptr %14, align 8 store ptr %6, ptr %15, align 8 %19 = load i32, ptr %9, align 4 %20 = icmp slt i32 %19, 0 br i1 %20, label %21, label %22 21: ; preds = %7 store i32 0, ptr %8, align 4 br label %60 22: ; preds = %7 %23 = load ptr, ptr %10, align 8 %24 = call i32 @code_table_4_0(ptr noundef %23) store i32 %24, ptr %16, align 4 %25 = load ptr, ptr %15, align 8 %26 = call i32 @atoi(ptr noundef %25) store i32 %26, ptr %17, align 4 %27 = load i32, ptr %17, align 4 %28 = icmp slt i32 %27, 0 br i1 %28, label %29, label %30 29: ; preds = %22 store i32 0, ptr %17, align 4 br label %30 30: ; preds = %29, %22 %31 = load i32, ptr %17, align 4 %32 = icmp sgt i32 %31, 100 br i1 %32, label %33, label %34 33: ; preds = %30 store i32 100, ptr %17, align 4 br label %34 34: ; preds = %33, %30 %35 = load i32, ptr %16, align 4 switch i32 %35, label %50 [ i32 0, label %36 i32 1, label %36 i32 2, label %36 i32 4, label %36 i32 5, label %36 i32 8, label %43 i32 9, label %43 i32 11, label %43 i32 12, label %43 i32 13, label %43 i32 14, label %43 i32 15, label %43 ] 36: ; preds = %34, %34, %34, %34, %34 %37 = load i32, ptr %9, align 4 %38 = load ptr, ptr %10, align 8 %39 = load ptr, ptr %11, align 8 %40 = load i32, ptr %12, align 4 %41 = load ptr, ptr %13, align 8 %42 = call i32 @f_set_pdt(i32 noundef %37, ptr noundef %38, ptr noundef %39, i32 noundef %40, ptr noundef %41, ptr noundef null, ptr noundef @.str) br label %50 43: ; preds = %34, %34, %34, %34, %34, %34, %34 %44 = load i32, ptr %9, align 4 %45 = load ptr, ptr %10, align 8 %46 = load ptr, ptr %11, align 8 %47 = load i32, ptr %12, align 4 %48 = load ptr, ptr %13, align 8 %49 = call i32 @f_set_pdt(i32 noundef %44, ptr noundef %45, ptr noundef %46, i32 noundef %47, ptr noundef %48, ptr noundef null, ptr noundef @.str.1) br label %50 50: ; preds = %34, %43, %36 %51 = load ptr, ptr %10, align 8 %52 = call ptr @percentile_value_location(ptr noundef %51) store ptr %52, ptr %18, align 8 %53 = load ptr, ptr %18, align 8 %54 = icmp ne ptr %53, null br i1 %54, label %55, label %59 55: ; preds = %50 %56 = load i32, ptr %17, align 4 %57 = trunc i32 %56 to i8 %58 = load ptr, ptr %18, align 8 store i8 %57, ptr %58, align 1 br label %59 59: ; preds = %55, %50 store i32 0, ptr %8, align 4 br label %60 60: ; preds = %59, %21 %61 = load i32, ptr %8, align 4 ret i32 %61 } declare i32 @code_table_4_0(ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @f_set_pdt(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @percentile_value_location(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/tmp0qk8pftv.c" target datalayout = "e-m:e-p270: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"+6\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"+10\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @f_set_percentile(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 { %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca ptr, align 8 store i32 %0, ptr %9, align 4 store ptr %1, ptr %10, align 8 store ptr %2, ptr %11, align 8 store i32 %3, ptr %12, align 4 store ptr %4, ptr %13, align 8 store ptr %5, ptr %14, align 8 store ptr %6, ptr %15, align 8 %19 = load i32, ptr %9, align 4 %20 = icmp slt i32 %19, 0 br i1 %20, label %21, label %22 21: ; preds = %7 store i32 0, ptr %8, align 4 br label %60 22: ; preds = %7 %23 = load ptr, ptr %10, align 8 %24 = call i32 @code_table_4_0(ptr noundef %23) store i32 %24, ptr %16, align 4 %25 = load ptr, ptr %15, align 8 %26 = call i32 @atoi(ptr noundef %25) store i32 %26, ptr %17, align 4 %27 = load i32, ptr %17, align 4 %28 = icmp slt i32 %27, 0 br i1 %28, label %29, label %30 29: ; preds = %22 store i32 0, ptr %17, align 4 br label %30 30: ; preds = %29, %22 %31 = load i32, ptr %17, align 4 %32 = icmp sgt i32 %31, 100 br i1 %32, label %33, label %34 33: ; preds = %30 store i32 100, ptr %17, align 4 br label %34 34: ; preds = %33, %30 %35 = load i32, ptr %16, align 4 switch i32 %35, label %50 [ i32 0, label %36 i32 1, label %36 i32 2, label %36 i32 4, label %36 i32 5, label %36 i32 8, label %43 i32 9, label %43 i32 11, label %43 i32 12, label %43 i32 13, label %43 i32 14, label %43 i32 15, label %43 ] 36: ; preds = %34, %34, %34, %34, %34 %37 = load i32, ptr %9, align 4 %38 = load ptr, ptr %10, align 8 %39 = load ptr, ptr %11, align 8 %40 = load i32, ptr %12, align 4 %41 = load ptr, ptr %13, align 8 %42 = call i32 @f_set_pdt(i32 noundef %37, ptr noundef %38, ptr noundef %39, i32 noundef %40, ptr noundef %41, ptr noundef null, ptr noundef @.str) br label %50 43: ; preds = %34, %34, %34, %34, %34, %34, %34 %44 = load i32, ptr %9, align 4 %45 = load ptr, ptr %10, align 8 %46 = load ptr, ptr %11, align 8 %47 = load i32, ptr %12, align 4 %48 = load ptr, ptr %13, align 8 %49 = call i32 @f_set_pdt(i32 noundef %44, ptr noundef %45, ptr noundef %46, i32 noundef %47, ptr noundef %48, ptr noundef null, ptr noundef @.str.1) br label %50 50: ; preds = %43, %36, %34 %51 = load ptr, ptr %10, align 8 %52 = call ptr @percentile_value_location(ptr noundef %51) store ptr %52, ptr %18, align 8 %53 = load ptr, ptr %18, align 8 %54 = icmp ne ptr %53, null br i1 %54, label %55, label %59 55: ; preds = %50 %56 = load i32, ptr %17, align 4 %57 = trunc i32 %56 to i8 %58 = load ptr, ptr %18, align 8 store i8 %57, ptr %58, align 1 br label %59 59: ; preds = %55, %50 store i32 0, ptr %8, align 4 br label %60 60: ; preds = %59, %21 %61 = load i32, ptr %8, align 4 ret i32 %61 } declare i32 @code_table_4_0(ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @f_set_pdt(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @percentile_value_location(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/tmpx1ojz2e1.c' source_filename = "/tmp/tmpx1ojz2e1.c" target datalayout = "e-m:e-p270: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 @.str = private unnamed_addr constant [31 x i8] c"can't store metadata - exiting\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @meta_dostoreall() #0 { %1 = call i32 (...) @changelog_rotate() %2 = call i64 @meta_storeall(i32 noundef 1) %3 = icmp sle i64 %2, 0 br i1 %3, label %4, label %8 4: ; preds = %0 %5 = load i32, ptr @LOG_ERR, align 4 %6 = call i32 @syslog(i32 noundef %5, ptr noundef @.str) %7 = call i32 (...) @main_exit() br label %8 8: ; preds = %4, %0 ret void } declare i32 @changelog_rotate(...) #1 declare i64 @meta_storeall(i32 noundef) #1 declare i32 @syslog(i32 noundef, ptr noundef) #1 declare i32 @main_exit(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpx1ojz2e1.c" target datalayout = "e-m:e-p270: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 @.str = private unnamed_addr constant [31 x i8] c"can't store metadata - exiting\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @meta_dostoreall() #0 { %1 = call i32 (...) @changelog_rotate() %2 = call i64 @meta_storeall(i32 noundef 1) %3 = icmp sle i64 %2, 0 br i1 %3, label %4, label %8 4: ; preds = %0 %5 = load i32, ptr @LOG_ERR, align 4 %6 = call i32 @syslog(i32 noundef %5, ptr noundef @.str) %7 = call i32 (...) @main_exit() br label %8 8: ; preds = %4, %0 ret void } declare i32 @changelog_rotate(...) #1 declare i64 @meta_storeall(i32 noundef) #1 declare i32 @syslog(i32 noundef, ptr noundef) #1 declare i32 @main_exit(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp07klqb25.c' source_filename = "/tmp/tmp07klqb25.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @crypt_encrypt_aes256cbc(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store i64 %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %13 = load ptr, ptr %7, align 8 %14 = load ptr, ptr %8, align 8 %15 = load ptr, ptr %9, align 8 %16 = load i64, ptr %10, align 8 %17 = load ptr, ptr %11, align 8 %18 = load ptr, ptr %12, align 8 %19 = call ptr @aes256cbc_encrypt(ptr noundef %13, ptr noundef %14, ptr noundef %15, i64 noundef %16, ptr noundef %17, ptr noundef %18) ret ptr %19 } declare ptr @aes256cbc_encrypt(ptr noundef, ptr noundef, 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/tmp07klqb25.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @crypt_encrypt_aes256cbc(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store i64 %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %13 = load ptr, ptr %7, align 8 %14 = load ptr, ptr %8, align 8 %15 = load ptr, ptr %9, align 8 %16 = load i64, ptr %10, align 8 %17 = load ptr, ptr %11, align 8 %18 = load ptr, ptr %12, align 8 %19 = call ptr @aes256cbc_encrypt(ptr noundef %13, ptr noundef %14, ptr noundef %15, i64 noundef %16, ptr noundef %17, ptr noundef %18) ret ptr %19 } declare ptr @aes256cbc_encrypt(ptr noundef, ptr noundef, 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/tmpryoppl9m.c' source_filename = "/tmp/tmpryoppl9m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [3 x [3 x i32]], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 36, i1 false) %5 = getelementptr inbounds [3 x [3 x i32]], ptr %2, i32 0, i32 1 %6 = getelementptr inbounds [3 x i32], ptr %5, i32 0, i32 0 store i32 1, ptr %6, align 4 %7 = getelementptr inbounds [3 x i32], ptr %5, i32 0, i32 1 store i32 1, ptr %7, align 4 %8 = getelementptr inbounds [3 x i32], ptr %5, i32 0, i32 2 store i32 1, ptr %8, align 4 %9 = getelementptr inbounds [3 x [3 x i32]], ptr %2, i32 0, i32 2 %10 = getelementptr inbounds [3 x i32], ptr %9, i32 0, i32 0 store i32 2, ptr %10, align 8 %11 = getelementptr inbounds [3 x i32], ptr %9, i32 0, i32 1 store i32 2, ptr %11, align 4 %12 = getelementptr inbounds [3 x i32], ptr %9, i32 0, i32 2 store i32 2, ptr %12, align 8 %13 = call i32 (...) @nondet_uint() store i32 %13, ptr %3, align 4 %14 = call i32 (...) @nondet_uint() store i32 %14, ptr %4, align 4 %15 = load i32, ptr %3, align 4 %16 = icmp ult i32 %15, 3 br i1 %16, label %17, label %20 17: ; preds = %0 %18 = load i32, ptr %4, align 4 %19 = icmp ult i32 %18, 3 br label %20 20: ; preds = %17, %0 %21 = phi i1 [ false, %0 ], [ %19, %17 ] %22 = zext i1 %21 to i32 %23 = call i32 @__CPROVER_assume(i32 noundef %22) %24 = load i32, ptr %4, align 4 %25 = zext i32 %24 to i64 %26 = getelementptr inbounds [3 x [3 x i32]], ptr %2, i64 0, i64 %25 %27 = load i32, ptr %4, align 4 %28 = zext i32 %27 to i64 %29 = getelementptr inbounds [3 x i32], ptr %26, i64 0, i64 %28 %30 = load i32, ptr %29, align 4 %31 = load i32, ptr %3, align 4 %32 = zext i32 %31 to i64 %33 = getelementptr inbounds [3 x [3 x i32]], ptr %2, i64 0, i64 %32 %34 = load i32, ptr %3, align 4 %35 = zext i32 %34 to i64 %36 = getelementptr inbounds [3 x i32], ptr %33, i64 0, i64 %35 store i32 %30, ptr %36, align 4 %37 = load i32, ptr %4, align 4 %38 = zext i32 %37 to i64 %39 = getelementptr inbounds [3 x [3 x i32]], ptr %2, i64 0, i64 %38 %40 = load i32, ptr %4, align 4 %41 = zext i32 %40 to i64 %42 = getelementptr inbounds [3 x i32], ptr %39, i64 0, i64 %41 %43 = load i32, ptr %42, align 4 %44 = load i32, ptr %3, align 4 %45 = zext i32 %44 to i64 %46 = getelementptr inbounds [3 x [3 x i32]], ptr %2, i64 0, i64 %45 %47 = load i32, ptr %3, align 4 %48 = zext i32 %47 to i64 %49 = getelementptr inbounds [3 x i32], ptr %46, i64 0, i64 %48 store i32 %43, ptr %49, align 4 %50 = load i32, ptr %3, align 4 %51 = zext i32 %50 to i64 %52 = getelementptr inbounds [3 x [3 x i32]], ptr %2, i64 0, i64 %51 %53 = load i32, ptr %3, align 4 %54 = zext i32 %53 to i64 %55 = getelementptr inbounds [3 x i32], ptr %52, i64 0, i64 %54 %56 = load i32, ptr %55, align 4 %57 = icmp sge i32 %56, 0 %58 = zext i1 %57 to i32 %59 = call i32 @assert(i32 noundef %58) %60 = load i32, ptr %1, align 4 ret i32 %60 } ; 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 @nondet_uint(...) #2 declare i32 @__CPROVER_assume(i32 noundef) #2 declare i32 @assert(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 = { 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpryoppl9m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [3 x [3 x i32]], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 36, i1 false) %5 = getelementptr inbounds [3 x [3 x i32]], ptr %2, i32 0, i32 1 %6 = getelementptr inbounds [3 x i32], ptr %5, i32 0, i32 0 store i32 1, ptr %6, align 4 %7 = getelementptr inbounds [3 x i32], ptr %5, i32 0, i32 1 store i32 1, ptr %7, align 4 %8 = getelementptr inbounds [3 x i32], ptr %5, i32 0, i32 2 store i32 1, ptr %8, align 4 %9 = getelementptr inbounds [3 x [3 x i32]], ptr %2, i32 0, i32 2 %10 = getelementptr inbounds [3 x i32], ptr %9, i32 0, i32 0 store i32 2, ptr %10, align 8 %11 = getelementptr inbounds [3 x i32], ptr %9, i32 0, i32 1 store i32 2, ptr %11, align 4 %12 = getelementptr inbounds [3 x i32], ptr %9, i32 0, i32 2 store i32 2, ptr %12, align 8 %13 = call i32 (...) @nondet_uint() store i32 %13, ptr %3, align 4 %14 = call i32 (...) @nondet_uint() store i32 %14, ptr %4, align 4 %15 = load i32, ptr %3, align 4 %16 = icmp ult i32 %15, 3 br i1 %16, label %17, label %20 17: ; preds = %0 %18 = load i32, ptr %4, align 4 %19 = icmp ult i32 %18, 3 br label %20 20: ; preds = %17, %0 %21 = phi i1 [ false, %0 ], [ %19, %17 ] %22 = zext i1 %21 to i32 %23 = call i32 @__CPROVER_assume(i32 noundef %22) %24 = load i32, ptr %4, align 4 %25 = zext i32 %24 to i64 %26 = getelementptr inbounds [3 x [3 x i32]], ptr %2, i64 0, i64 %25 %27 = load i32, ptr %4, align 4 %28 = zext i32 %27 to i64 %29 = getelementptr inbounds [3 x i32], ptr %26, i64 0, i64 %28 %30 = load i32, ptr %29, align 4 %31 = load i32, ptr %3, align 4 %32 = zext i32 %31 to i64 %33 = getelementptr inbounds [3 x [3 x i32]], ptr %2, i64 0, i64 %32 %34 = load i32, ptr %3, align 4 %35 = zext i32 %34 to i64 %36 = getelementptr inbounds [3 x i32], ptr %33, i64 0, i64 %35 store i32 %30, ptr %36, align 4 %37 = load i32, ptr %4, align 4 %38 = zext i32 %37 to i64 %39 = getelementptr inbounds [3 x [3 x i32]], ptr %2, i64 0, i64 %38 %40 = load i32, ptr %4, align 4 %41 = zext i32 %40 to i64 %42 = getelementptr inbounds [3 x i32], ptr %39, i64 0, i64 %41 %43 = load i32, ptr %42, align 4 %44 = load i32, ptr %3, align 4 %45 = zext i32 %44 to i64 %46 = getelementptr inbounds [3 x [3 x i32]], ptr %2, i64 0, i64 %45 %47 = load i32, ptr %3, align 4 %48 = zext i32 %47 to i64 %49 = getelementptr inbounds [3 x i32], ptr %46, i64 0, i64 %48 store i32 %43, ptr %49, align 4 %50 = load i32, ptr %3, align 4 %51 = zext i32 %50 to i64 %52 = getelementptr inbounds [3 x [3 x i32]], ptr %2, i64 0, i64 %51 %53 = load i32, ptr %3, align 4 %54 = zext i32 %53 to i64 %55 = getelementptr inbounds [3 x i32], ptr %52, i64 0, i64 %54 %56 = load i32, ptr %55, align 4 %57 = icmp sge i32 %56, 0 %58 = zext i1 %57 to i32 %59 = call i32 @assert(i32 noundef %58) %60 = load i32, ptr %1, align 4 ret i32 %60 } ; 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 @nondet_uint(...) #2 declare i32 @__CPROVER_assume(i32 noundef) #2 declare i32 @assert(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 = { 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"}
; ModuleID = '/tmp/tmp9udkdb3u.c' source_filename = "/tmp/tmp9udkdb3u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sqcoef(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 40, ptr %6, align 4 store double 5.000000e-06, ptr %10, align 8 store double 0.000000e+00, ptr %14, align 8 store double 0.000000e+00, ptr %15, align 8 store i32 1, ptr %8, align 4 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds double, ptr %16, i64 6 %18 = load double, ptr %17, align 8 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds double, ptr %19, i64 4 %21 = load double, ptr %20, align 8 %22 = call double @llvm.fmuladd.f64(double 8.000000e+00, double %21, double 1.000000e+00) %23 = fcmp oge double %18, %22 br i1 %23, label %24, label %60 24: ; preds = %2 store i32 0, ptr %8, align 4 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds double, ptr %25, i64 14 %27 = load double, ptr %26, align 8 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds double, ptr %28, i64 15 store double %27, ptr %29, align 8 %30 = load ptr, ptr %5, align 8 %31 = getelementptr inbounds double, ptr %30, i64 4 %32 = load double, ptr %31, align 8 %33 = load ptr, ptr %5, align 8 %34 = getelementptr inbounds double, ptr %33, i64 16 store double %32, ptr %34, align 8 store i32 1, ptr %7, align 4 %35 = load i32, ptr %7, align 4 %36 = load i32, ptr %4, align 4 %37 = load ptr, ptr %5, align 8 %38 = call i32 @sqfun(i32 noundef %35, i32 noundef %36, ptr noundef %37) store i32 %38, ptr %4, align 4 %39 = load ptr, ptr %5, align 8 %40 = getelementptr inbounds double, ptr %39, i64 15 %41 = load double, ptr %40, align 8 %42 = load ptr, ptr %5, align 8 %43 = getelementptr inbounds double, ptr %42, i64 14 store double %41, ptr %43, align 8 %44 = load ptr, ptr %5, align 8 %45 = getelementptr inbounds double, ptr %44, i64 16 %46 = load double, ptr %45, align 8 %47 = load ptr, ptr %5, align 8 %48 = getelementptr inbounds double, ptr %47, i64 4 store double %46, ptr %48, align 8 %49 = load i32, ptr %4, align 4 %50 = sitofp i32 %49 to double %51 = fcmp olt double %50, 0.000000e+00 br i1 %51, label %57, label %52 52: ; preds = %24 %53 = load ptr, ptr %5, align 8 %54 = getelementptr inbounds double, ptr %53, i64 14 %55 = load double, ptr %54, align 8 %56 = fcmp oge double %55, 0.000000e+00 br i1 %56, label %57, label %59 57: ; preds = %52, %24 %58 = load i32, ptr %4, align 4 store i32 %58, ptr %3, align 4 br label %242 59: ; preds = %52 br label %60 60: ; preds = %59, %2 %61 = load ptr, ptr %5, align 8 %62 = getelementptr inbounds double, ptr %61, i64 4 %63 = load double, ptr %62, align 8 %64 = call double @llvm.minnum.f64(double %63, double 2.000000e-01) %65 = load ptr, ptr %5, align 8 %66 = getelementptr inbounds double, ptr %65, i64 10 store double %64, ptr %66, align 8 %67 = load i32, ptr %8, align 4 %68 = icmp ne i32 %67, 1 br i1 %68, label %74, label %69 69: ; preds = %60 %70 = load ptr, ptr %5, align 8 %71 = getelementptr inbounds double, ptr %70, i64 9 %72 = load double, ptr %71, align 8 %73 = fcmp oge double %72, 1.500000e-01 br i1 %73, label %74, label %207 74: ; preds = %69, %60 store i32 0, ptr %9, align 4 br label %75 75: ; preds = %168, %74 %76 = load i32, ptr %9, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %9, align 4 %78 = load i32, ptr %9, align 4 %79 = load i32, ptr %6, align 4 %80 = icmp sgt i32 %78, %79 br i1 %80, label %81, label %83 81: ; preds = %75 store i32 -1, ptr %4, align 4 %82 = load i32, ptr %4, align 4 store i32 %82, ptr %3, align 4 br label %242 83: ; preds = %75 %84 = load ptr, ptr %5, align 8 %85 = getelementptr inbounds double, ptr %84, i64 10 %86 = load double, ptr %85, align 8 %87 = fcmp ole double %86, 0.000000e+00 br i1 %87, label %88, label %97 88: ; preds = %83 %89 = load ptr, ptr %5, align 8 %90 = getelementptr inbounds double, ptr %89, i64 4 %91 = load double, ptr %90, align 8 %92 = load i32, ptr %9, align 4 %93 = sitofp i32 %92 to double %94 = fdiv double %91, %93 %95 = load ptr, ptr %5, align 8 %96 = getelementptr inbounds double, ptr %95, i64 10 store double %94, ptr %96, align 8 br label %97 97: ; preds = %88, %83 %98 = load ptr, ptr %5, align 8 %99 = getelementptr inbounds double, ptr %98, i64 10 %100 = load double, ptr %99, align 8 %101 = fcmp ogt double %100, 6.000000e-01 br i1 %101, label %102, label %108 102: ; preds = %97 %103 = load i32, ptr %9, align 4 %104 = sitofp i32 %103 to double %105 = fdiv double 3.500000e-01, %104 %106 = load ptr, ptr %5, align 8 %107 = getelementptr inbounds double, ptr %106, i64 10 store double %105, ptr %107, align 8 br label %108 108: ; preds = %102, %97 %109 = load ptr, ptr %5, align 8 %110 = getelementptr inbounds double, ptr %109, i64 10 %111 = load double, ptr %110, align 8 store double %111, ptr %12, align 8 %112 = load double, ptr %14, align 8 %113 = load ptr, ptr %5, align 8 %114 = getelementptr inbounds double, ptr %113, i64 15 store double %112, ptr %114, align 8 %115 = load double, ptr %12, align 8 %116 = load ptr, ptr %5, align 8 %117 = getelementptr inbounds double, ptr %116, i64 16 store double %115, ptr %117, align 8 store i32 2, ptr %7, align 4 %118 = load i32, ptr %7, align 4 %119 = load i32, ptr %4, align 4 %120 = load ptr, ptr %5, align 8 %121 = call i32 @sqfun(i32 noundef %118, i32 noundef %119, ptr noundef %120) store i32 %121, ptr %4, align 4 %122 = load ptr, ptr %5, align 8 %123 = getelementptr inbounds double, ptr %122, i64 15 %124 = load double, ptr %123, align 8 store double %124, ptr %14, align 8 %125 = load ptr, ptr %5, align 8 %126 = getelementptr inbounds double, ptr %125, i64 16 %127 = load double, ptr %126, align 8 store double %127, ptr %12, align 8 %128 = load ptr, ptr %5, align 8 %129 = getelementptr inbounds double, ptr %128, i64 10 %130 = load double, ptr %129, align 8 %131 = fmul double %130, 1.010000e+00 store double %131, ptr %13, align 8 %132 = load double, ptr %15, align 8 %133 = load ptr, ptr %5, align 8 %134 = getelementptr inbounds double, ptr %133, i64 15 store double %132, ptr %134, align 8 %135 = load double, ptr %13, align 8 %136 = load ptr, ptr %5, align 8 %137 = getelementptr inbounds double, ptr %136, i64 16 store double %135, ptr %137, align 8 store i32 2, ptr %7, align 4 %138 = load i32, ptr %7, align 4 %139 = load i32, ptr %4, align 4 %140 = load ptr, ptr %5, align 8 %141 = call i32 @sqfun(i32 noundef %138, i32 noundef %139, ptr noundef %140) store i32 %141, ptr %4, align 4 %142 = load ptr, ptr %5, align 8 %143 = getelementptr inbounds double, ptr %142, i64 15 %144 = load double, ptr %143, align 8 store double %144, ptr %15, align 8 %145 = load ptr, ptr %5, align 8 %146 = getelementptr inbounds double, ptr %145, i64 16 %147 = load double, ptr %146, align 8 store double %147, ptr %13, align 8 %148 = load double, ptr %12, align 8 %149 = load double, ptr %13, align 8 %150 = load double, ptr %12, align 8 %151 = fsub double %149, %150 %152 = load double, ptr %14, align 8 %153 = fmul double %151, %152 %154 = load double, ptr %15, align 8 %155 = load double, ptr %14, align 8 %156 = fsub double %154, %155 %157 = fdiv double %153, %156 %158 = fsub double %148, %157 store double %158, ptr %13, align 8 %159 = load double, ptr %13, align 8 %160 = load ptr, ptr %5, align 8 %161 = getelementptr inbounds double, ptr %160, i64 10 store double %159, ptr %161, align 8 %162 = load double, ptr %13, align 8 %163 = load double, ptr %12, align 8 %164 = fsub double %162, %163 %165 = load double, ptr %12, align 8 %166 = fdiv double %164, %165 %167 = call double @llvm.fabs.f64(double %166) store double %167, ptr %11, align 8 br label %168 168: ; preds = %108 %169 = load double, ptr %11, align 8 %170 = load double, ptr %10, align 8 %171 = fcmp ogt double %169, %170 br i1 %171, label %75, label %172, !llvm.loop !6 172: ; preds = %168 %173 = load ptr, ptr %5, align 8 %174 = getelementptr inbounds double, ptr %173, i64 14 %175 = load double, ptr %174, align 8 %176 = load ptr, ptr %5, align 8 %177 = getelementptr inbounds double, ptr %176, i64 15 store double %175, ptr %177, align 8 %178 = load double, ptr %13, align 8 %179 = load ptr, ptr %5, align 8 %180 = getelementptr inbounds double, ptr %179, i64 16 store double %178, ptr %180, align 8 store i32 4, ptr %7, align 4 %181 = load i32, ptr %7, align 4 %182 = load i32, ptr %4, align 4 %183 = load ptr, ptr %5, align 8 %184 = call i32 @sqfun(i32 noundef %181, i32 noundef %182, ptr noundef %183) store i32 %184, ptr %4, align 4 %185 = load ptr, ptr %5, align 8 %186 = getelementptr inbounds double, ptr %185, i64 15 %187 = load double, ptr %186, align 8 %188 = load ptr, ptr %5, align 8 %189 = getelementptr inbounds double, ptr %188, i64 14 store double %187, ptr %189, align 8 %190 = load ptr, ptr %5, align 8 %191 = getelementptr inbounds double, ptr %190, i64 16 %192 = load double, ptr %191, align 8 store double %192, ptr %13, align 8 %193 = load i32, ptr %9, align 4 store i32 %193, ptr %4, align 4 %194 = load i32, ptr %8, align 4 %195 = icmp ne i32 %194, 1 br i1 %195, label %204, label %196 196: ; preds = %172 %197 = load ptr, ptr %5, align 8 %198 = getelementptr inbounds double, ptr %197, i64 10 %199 = load double, ptr %198, align 8 %200 = load ptr, ptr %5, align 8 %201 = getelementptr inbounds double, ptr %200, i64 4 %202 = load double, ptr %201, align 8 %203 = fcmp oge double %199, %202 br i1 %203, label %204, label %206 204: ; preds = %196, %172 %205 = load i32, ptr %4, align 4 store i32 %205, ptr %3, align 4 br label %242 206: ; preds = %196 br label %207 207: ; preds = %206, %69 %208 = load ptr, ptr %5, align 8 %209 = getelementptr inbounds double, ptr %208, i64 14 %210 = load double, ptr %209, align 8 %211 = load ptr, ptr %5, align 8 %212 = getelementptr inbounds double, ptr %211, i64 15 store double %210, ptr %212, align 8 %213 = load ptr, ptr %5, align 8 %214 = getelementptr inbounds double, ptr %213, i64 4 %215 = load double, ptr %214, align 8 %216 = load ptr, ptr %5, align 8 %217 = getelementptr inbounds double, ptr %216, i64 16 store double %215, ptr %217, align 8 store i32 3, ptr %7, align 4 %218 = load i32, ptr %7, align 4 %219 = load i32, ptr %4, align 4 %220 = load ptr, ptr %5, align 8 %221 = call i32 @sqfun(i32 noundef %218, i32 noundef %219, ptr noundef %220) store i32 %221, ptr %4, align 4 %222 = load ptr, ptr %5, align 8 %223 = getelementptr inbounds double, ptr %222, i64 15 %224 = load double, ptr %223, align 8 %225 = load ptr, ptr %5, align 8 %226 = getelementptr inbounds double, ptr %225, i64 14 store double %224, ptr %226, align 8 %227 = load ptr, ptr %5, align 8 %228 = getelementptr inbounds double, ptr %227, i64 16 %229 = load double, ptr %228, align 8 %230 = load ptr, ptr %5, align 8 %231 = getelementptr inbounds double, ptr %230, i64 4 store double %229, ptr %231, align 8 %232 = load i32, ptr %4, align 4 %233 = icmp sge i32 %232, 0 br i1 %233, label %234, label %240 234: ; preds = %207 %235 = load ptr, ptr %5, align 8 %236 = getelementptr inbounds double, ptr %235, i64 14 %237 = load double, ptr %236, align 8 %238 = fcmp olt double %237, 0.000000e+00 br i1 %238, label %239, label %240 239: ; preds = %234 store i32 -3, ptr %4, align 4 br label %240 240: ; preds = %239, %234, %207 %241 = load i32, ptr %4, align 4 store i32 %241, ptr %3, align 4 br label %242 242: ; preds = %240, %204, %81, %57 %243 = load i32, ptr %3, align 4 ret i32 %243 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 declare i32 @sqfun(i32 noundef, i32 noundef, ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.minnum.f64(double, double) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9udkdb3u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sqcoef(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 40, ptr %6, align 4 store double 5.000000e-06, ptr %10, align 8 store double 0.000000e+00, ptr %14, align 8 store double 0.000000e+00, ptr %15, align 8 store i32 1, ptr %8, align 4 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds double, ptr %16, i64 6 %18 = load double, ptr %17, align 8 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds double, ptr %19, i64 4 %21 = load double, ptr %20, align 8 %22 = call double @llvm.fmuladd.f64(double 8.000000e+00, double %21, double 1.000000e+00) %23 = fcmp oge double %18, %22 br i1 %23, label %24, label %60 24: ; preds = %2 store i32 0, ptr %8, align 4 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds double, ptr %25, i64 14 %27 = load double, ptr %26, align 8 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds double, ptr %28, i64 15 store double %27, ptr %29, align 8 %30 = load ptr, ptr %5, align 8 %31 = getelementptr inbounds double, ptr %30, i64 4 %32 = load double, ptr %31, align 8 %33 = load ptr, ptr %5, align 8 %34 = getelementptr inbounds double, ptr %33, i64 16 store double %32, ptr %34, align 8 store i32 1, ptr %7, align 4 %35 = load i32, ptr %7, align 4 %36 = load i32, ptr %4, align 4 %37 = load ptr, ptr %5, align 8 %38 = call i32 @sqfun(i32 noundef %35, i32 noundef %36, ptr noundef %37) store i32 %38, ptr %4, align 4 %39 = load ptr, ptr %5, align 8 %40 = getelementptr inbounds double, ptr %39, i64 15 %41 = load double, ptr %40, align 8 %42 = load ptr, ptr %5, align 8 %43 = getelementptr inbounds double, ptr %42, i64 14 store double %41, ptr %43, align 8 %44 = load ptr, ptr %5, align 8 %45 = getelementptr inbounds double, ptr %44, i64 16 %46 = load double, ptr %45, align 8 %47 = load ptr, ptr %5, align 8 %48 = getelementptr inbounds double, ptr %47, i64 4 store double %46, ptr %48, align 8 %49 = load i32, ptr %4, align 4 %50 = sitofp i32 %49 to double %51 = fcmp olt double %50, 0.000000e+00 br i1 %51, label %57, label %52 52: ; preds = %24 %53 = load ptr, ptr %5, align 8 %54 = getelementptr inbounds double, ptr %53, i64 14 %55 = load double, ptr %54, align 8 %56 = fcmp oge double %55, 0.000000e+00 br i1 %56, label %57, label %59 57: ; preds = %52, %24 %58 = load i32, ptr %4, align 4 store i32 %58, ptr %3, align 4 br label %242 59: ; preds = %52 br label %60 60: ; preds = %59, %2 %61 = load ptr, ptr %5, align 8 %62 = getelementptr inbounds double, ptr %61, i64 4 %63 = load double, ptr %62, align 8 %64 = call double @llvm.minnum.f64(double %63, double 2.000000e-01) %65 = load ptr, ptr %5, align 8 %66 = getelementptr inbounds double, ptr %65, i64 10 store double %64, ptr %66, align 8 %67 = load i32, ptr %8, align 4 %68 = icmp ne i32 %67, 1 br i1 %68, label %74, label %69 69: ; preds = %60 %70 = load ptr, ptr %5, align 8 %71 = getelementptr inbounds double, ptr %70, i64 9 %72 = load double, ptr %71, align 8 %73 = fcmp oge double %72, 1.500000e-01 br i1 %73, label %74, label %207 74: ; preds = %69, %60 store i32 0, ptr %9, align 4 br label %75 75: ; preds = %168, %74 %76 = load i32, ptr %9, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %9, align 4 %78 = load i32, ptr %9, align 4 %79 = load i32, ptr %6, align 4 %80 = icmp sgt i32 %78, %79 br i1 %80, label %81, label %83 81: ; preds = %75 store i32 -1, ptr %4, align 4 %82 = load i32, ptr %4, align 4 store i32 %82, ptr %3, align 4 br label %242 83: ; preds = %75 %84 = load ptr, ptr %5, align 8 %85 = getelementptr inbounds double, ptr %84, i64 10 %86 = load double, ptr %85, align 8 %87 = fcmp ole double %86, 0.000000e+00 br i1 %87, label %88, label %97 88: ; preds = %83 %89 = load ptr, ptr %5, align 8 %90 = getelementptr inbounds double, ptr %89, i64 4 %91 = load double, ptr %90, align 8 %92 = load i32, ptr %9, align 4 %93 = sitofp i32 %92 to double %94 = fdiv double %91, %93 %95 = load ptr, ptr %5, align 8 %96 = getelementptr inbounds double, ptr %95, i64 10 store double %94, ptr %96, align 8 br label %97 97: ; preds = %88, %83 %98 = load ptr, ptr %5, align 8 %99 = getelementptr inbounds double, ptr %98, i64 10 %100 = load double, ptr %99, align 8 %101 = fcmp ogt double %100, 6.000000e-01 br i1 %101, label %102, label %108 102: ; preds = %97 %103 = load i32, ptr %9, align 4 %104 = sitofp i32 %103 to double %105 = fdiv double 3.500000e-01, %104 %106 = load ptr, ptr %5, align 8 %107 = getelementptr inbounds double, ptr %106, i64 10 store double %105, ptr %107, align 8 br label %108 108: ; preds = %102, %97 %109 = load ptr, ptr %5, align 8 %110 = getelementptr inbounds double, ptr %109, i64 10 %111 = load double, ptr %110, align 8 store double %111, ptr %12, align 8 %112 = load double, ptr %14, align 8 %113 = load ptr, ptr %5, align 8 %114 = getelementptr inbounds double, ptr %113, i64 15 store double %112, ptr %114, align 8 %115 = load double, ptr %12, align 8 %116 = load ptr, ptr %5, align 8 %117 = getelementptr inbounds double, ptr %116, i64 16 store double %115, ptr %117, align 8 store i32 2, ptr %7, align 4 %118 = load i32, ptr %7, align 4 %119 = load i32, ptr %4, align 4 %120 = load ptr, ptr %5, align 8 %121 = call i32 @sqfun(i32 noundef %118, i32 noundef %119, ptr noundef %120) store i32 %121, ptr %4, align 4 %122 = load ptr, ptr %5, align 8 %123 = getelementptr inbounds double, ptr %122, i64 15 %124 = load double, ptr %123, align 8 store double %124, ptr %14, align 8 %125 = load ptr, ptr %5, align 8 %126 = getelementptr inbounds double, ptr %125, i64 16 %127 = load double, ptr %126, align 8 store double %127, ptr %12, align 8 %128 = load ptr, ptr %5, align 8 %129 = getelementptr inbounds double, ptr %128, i64 10 %130 = load double, ptr %129, align 8 %131 = fmul double %130, 1.010000e+00 store double %131, ptr %13, align 8 %132 = load double, ptr %15, align 8 %133 = load ptr, ptr %5, align 8 %134 = getelementptr inbounds double, ptr %133, i64 15 store double %132, ptr %134, align 8 %135 = load double, ptr %13, align 8 %136 = load ptr, ptr %5, align 8 %137 = getelementptr inbounds double, ptr %136, i64 16 store double %135, ptr %137, align 8 store i32 2, ptr %7, align 4 %138 = load i32, ptr %7, align 4 %139 = load i32, ptr %4, align 4 %140 = load ptr, ptr %5, align 8 %141 = call i32 @sqfun(i32 noundef %138, i32 noundef %139, ptr noundef %140) store i32 %141, ptr %4, align 4 %142 = load ptr, ptr %5, align 8 %143 = getelementptr inbounds double, ptr %142, i64 15 %144 = load double, ptr %143, align 8 store double %144, ptr %15, align 8 %145 = load ptr, ptr %5, align 8 %146 = getelementptr inbounds double, ptr %145, i64 16 %147 = load double, ptr %146, align 8 store double %147, ptr %13, align 8 %148 = load double, ptr %12, align 8 %149 = load double, ptr %13, align 8 %150 = load double, ptr %12, align 8 %151 = fsub double %149, %150 %152 = load double, ptr %14, align 8 %153 = fmul double %151, %152 %154 = load double, ptr %15, align 8 %155 = load double, ptr %14, align 8 %156 = fsub double %154, %155 %157 = fdiv double %153, %156 %158 = fsub double %148, %157 store double %158, ptr %13, align 8 %159 = load double, ptr %13, align 8 %160 = load ptr, ptr %5, align 8 %161 = getelementptr inbounds double, ptr %160, i64 10 store double %159, ptr %161, align 8 %162 = load double, ptr %13, align 8 %163 = load double, ptr %12, align 8 %164 = fsub double %162, %163 %165 = load double, ptr %12, align 8 %166 = fdiv double %164, %165 %167 = call double @llvm.fabs.f64(double %166) store double %167, ptr %11, align 8 br label %168 168: ; preds = %108 %169 = load double, ptr %11, align 8 %170 = load double, ptr %10, align 8 %171 = fcmp ogt double %169, %170 br i1 %171, label %75, label %172, !llvm.loop !6 172: ; preds = %168 %173 = load ptr, ptr %5, align 8 %174 = getelementptr inbounds double, ptr %173, i64 14 %175 = load double, ptr %174, align 8 %176 = load ptr, ptr %5, align 8 %177 = getelementptr inbounds double, ptr %176, i64 15 store double %175, ptr %177, align 8 %178 = load double, ptr %13, align 8 %179 = load ptr, ptr %5, align 8 %180 = getelementptr inbounds double, ptr %179, i64 16 store double %178, ptr %180, align 8 store i32 4, ptr %7, align 4 %181 = load i32, ptr %7, align 4 %182 = load i32, ptr %4, align 4 %183 = load ptr, ptr %5, align 8 %184 = call i32 @sqfun(i32 noundef %181, i32 noundef %182, ptr noundef %183) store i32 %184, ptr %4, align 4 %185 = load ptr, ptr %5, align 8 %186 = getelementptr inbounds double, ptr %185, i64 15 %187 = load double, ptr %186, align 8 %188 = load ptr, ptr %5, align 8 %189 = getelementptr inbounds double, ptr %188, i64 14 store double %187, ptr %189, align 8 %190 = load ptr, ptr %5, align 8 %191 = getelementptr inbounds double, ptr %190, i64 16 %192 = load double, ptr %191, align 8 store double %192, ptr %13, align 8 %193 = load i32, ptr %9, align 4 store i32 %193, ptr %4, align 4 %194 = load i32, ptr %8, align 4 %195 = icmp ne i32 %194, 1 br i1 %195, label %204, label %196 196: ; preds = %172 %197 = load ptr, ptr %5, align 8 %198 = getelementptr inbounds double, ptr %197, i64 10 %199 = load double, ptr %198, align 8 %200 = load ptr, ptr %5, align 8 %201 = getelementptr inbounds double, ptr %200, i64 4 %202 = load double, ptr %201, align 8 %203 = fcmp oge double %199, %202 br i1 %203, label %204, label %206 204: ; preds = %196, %172 %205 = load i32, ptr %4, align 4 store i32 %205, ptr %3, align 4 br label %242 206: ; preds = %196 br label %207 207: ; preds = %206, %69 %208 = load ptr, ptr %5, align 8 %209 = getelementptr inbounds double, ptr %208, i64 14 %210 = load double, ptr %209, align 8 %211 = load ptr, ptr %5, align 8 %212 = getelementptr inbounds double, ptr %211, i64 15 store double %210, ptr %212, align 8 %213 = load ptr, ptr %5, align 8 %214 = getelementptr inbounds double, ptr %213, i64 4 %215 = load double, ptr %214, align 8 %216 = load ptr, ptr %5, align 8 %217 = getelementptr inbounds double, ptr %216, i64 16 store double %215, ptr %217, align 8 store i32 3, ptr %7, align 4 %218 = load i32, ptr %7, align 4 %219 = load i32, ptr %4, align 4 %220 = load ptr, ptr %5, align 8 %221 = call i32 @sqfun(i32 noundef %218, i32 noundef %219, ptr noundef %220) store i32 %221, ptr %4, align 4 %222 = load ptr, ptr %5, align 8 %223 = getelementptr inbounds double, ptr %222, i64 15 %224 = load double, ptr %223, align 8 %225 = load ptr, ptr %5, align 8 %226 = getelementptr inbounds double, ptr %225, i64 14 store double %224, ptr %226, align 8 %227 = load ptr, ptr %5, align 8 %228 = getelementptr inbounds double, ptr %227, i64 16 %229 = load double, ptr %228, align 8 %230 = load ptr, ptr %5, align 8 %231 = getelementptr inbounds double, ptr %230, i64 4 store double %229, ptr %231, align 8 %232 = load i32, ptr %4, align 4 %233 = icmp sge i32 %232, 0 br i1 %233, label %234, label %240 234: ; preds = %207 %235 = load ptr, ptr %5, align 8 %236 = getelementptr inbounds double, ptr %235, i64 14 %237 = load double, ptr %236, align 8 %238 = fcmp olt double %237, 0.000000e+00 br i1 %238, label %239, label %240 239: ; preds = %234 store i32 -3, ptr %4, align 4 br label %240 240: ; preds = %239, %234, %207 %241 = load i32, ptr %4, align 4 store i32 %241, ptr %3, align 4 br label %242 242: ; preds = %240, %204, %81, %57 %243 = load i32, ptr %3, align 4 ret i32 %243 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 declare i32 @sqfun(i32 noundef, i32 noundef, ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.minnum.f64(double, double) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp5_uomvkx.c' source_filename = "/tmp/tmp5_uomvkx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Tfa98xx_ConvertBytes2Data(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %11 = load i32, ptr %4, align 4 %12 = sdiv i32 %11, 3 store i32 %12, ptr %10, align 4 %13 = load i32, ptr %4, align 4 %14 = srem i32 %13, 3 %15 = icmp eq i32 %14, 0 %16 = zext i1 %15 to i32 %17 = call i32 @assert(i32 noundef %16) store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 br label %18 18: ; preds = %73, %3 %19 = load i32, ptr %7, align 4 %20 = load i32, ptr %10, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %22, label %78 22: ; preds = %18 %23 = load ptr, ptr %5, 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 = zext i8 %27 to i32 %29 = shl i32 %28, 16 %30 = load ptr, ptr %5, align 8 %31 = load i32, ptr %8, align 4 %32 = add nsw i32 %31, 1 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i8, ptr %30, i64 %33 %35 = load i8, ptr %34, align 1 %36 = zext i8 %35 to i32 %37 = shl i32 %36, 8 %38 = or i32 %29, %37 %39 = load ptr, ptr %5, align 8 %40 = load i32, ptr %8, align 4 %41 = add nsw i32 %40, 2 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i8, ptr %39, i64 %42 %44 = load i8, ptr %43, align 1 %45 = zext i8 %44 to i32 %46 = or i32 %38, %45 store i32 %46, ptr %9, align 4 %47 = load i32, ptr %9, align 4 %48 = icmp sge i32 %47, 0 %49 = zext i1 %48 to i32 %50 = call i32 @assert(i32 noundef %49) %51 = load i32, ptr %9, align 4 %52 = icmp slt i32 %51, 16777216 %53 = zext i1 %52 to i32 %54 = call i32 @assert(i32 noundef %53) %55 = load ptr, ptr %5, align 8 %56 = load i32, ptr %8, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds i8, ptr %55, i64 %57 %59 = load i8, ptr %58, align 1 %60 = zext i8 %59 to i32 %61 = and i32 %60, 128 %62 = icmp ne i32 %61, 0 br i1 %62, label %63, label %67 63: ; preds = %22 %64 = load i32, ptr %9, align 4 %65 = sub nsw i32 16777216, %64 %66 = sub nsw i32 0, %65 store i32 %66, ptr %9, align 4 br label %67 67: ; preds = %63, %22 %68 = load i32, ptr %9, align 4 %69 = load ptr, ptr %6, align 8 %70 = load i32, ptr %7, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds i32, ptr %69, i64 %71 store i32 %68, ptr %72, align 4 br label %73 73: ; preds = %67 %74 = load i32, ptr %7, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %7, align 4 %76 = load i32, ptr %8, align 4 %77 = add nsw i32 %76, 3 store i32 %77, ptr %8, align 4 br label %18, !llvm.loop !6 78: ; preds = %18 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/tmp5_uomvkx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Tfa98xx_ConvertBytes2Data(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %11 = load i32, ptr %4, align 4 %12 = sdiv i32 %11, 3 store i32 %12, ptr %10, align 4 %13 = load i32, ptr %4, align 4 %14 = srem i32 %13, 3 %15 = icmp eq i32 %14, 0 %16 = zext i1 %15 to i32 %17 = call i32 @assert(i32 noundef %16) store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 %18 = load i32, ptr %7, align 4 %19 = load i32, ptr %10, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %.lr.ph, label %80 .lr.ph: ; preds = %3 br label %21 21: ; preds = %.lr.ph, %72 %22 = load ptr, ptr %5, 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 = zext i8 %26 to i32 %28 = shl i32 %27, 16 %29 = load ptr, ptr %5, align 8 %30 = load i32, ptr %8, align 4 %31 = add nsw i32 %30, 1 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i8, ptr %29, i64 %32 %34 = load i8, ptr %33, align 1 %35 = zext i8 %34 to i32 %36 = shl i32 %35, 8 %37 = or i32 %28, %36 %38 = load ptr, ptr %5, align 8 %39 = load i32, ptr %8, align 4 %40 = add nsw i32 %39, 2 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i8, ptr %38, i64 %41 %43 = load i8, ptr %42, align 1 %44 = zext i8 %43 to i32 %45 = or i32 %37, %44 store i32 %45, ptr %9, align 4 %46 = load i32, ptr %9, align 4 %47 = icmp sge i32 %46, 0 %48 = zext i1 %47 to i32 %49 = call i32 @assert(i32 noundef %48) %50 = load i32, ptr %9, align 4 %51 = icmp slt i32 %50, 16777216 %52 = zext i1 %51 to i32 %53 = call i32 @assert(i32 noundef %52) %54 = load ptr, ptr %5, align 8 %55 = load i32, ptr %8, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds i8, ptr %54, i64 %56 %58 = load i8, ptr %57, align 1 %59 = zext i8 %58 to i32 %60 = and i32 %59, 128 %61 = icmp ne i32 %60, 0 br i1 %61, label %62, label %66 62: ; preds = %21 %63 = load i32, ptr %9, align 4 %64 = sub nsw i32 16777216, %63 %65 = sub nsw i32 0, %64 store i32 %65, ptr %9, align 4 br label %66 66: ; preds = %62, %21 %67 = load i32, ptr %9, align 4 %68 = load ptr, ptr %6, align 8 %69 = load i32, ptr %7, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds i32, ptr %68, i64 %70 store i32 %67, ptr %71, align 4 br label %72 72: ; preds = %66 %73 = load i32, ptr %7, align 4 %74 = add nsw i32 %73, 1 store i32 %74, ptr %7, align 4 %75 = load i32, ptr %8, align 4 %76 = add nsw i32 %75, 3 store i32 %76, ptr %8, align 4 %77 = load i32, ptr %7, align 4 %78 = load i32, ptr %10, align 4 %79 = icmp slt i32 %77, %78 br i1 %79, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %72 br label %80 80: ; preds = %._crit_edge, %3 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/tmp9myyioim.c' source_filename = "/tmp/tmp9myyioim.c" target datalayout = "e-m:e-p270: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/tmp9myyioim.c" target datalayout = "e-m:e-p270: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"}