llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpzc8h4zv5.c' source_filename = "/tmp/tmpzc8h4zv5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"-regex '.*\\.\\(\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c":\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"\\|\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"\\)'\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_regex(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %6 = call i64 @malloc(i32 noundef 64) %7 = inttoptr i64 %6 to ptr store ptr %7, ptr %3, align 8 store i32 0, ptr %5, align 4 %8 = load ptr, ptr %3, align 8 %9 = getelementptr inbounds i8, ptr %8, i64 0 store i8 0, ptr %9, align 1 %10 = load ptr, ptr %3, align 8 %11 = call i32 @strcat(ptr noundef %10, ptr noundef @.str) %12 = load ptr, ptr %2, align 8 %13 = call ptr @strtok(ptr noundef %12, ptr noundef @.str.1) store ptr %13, ptr %4, align 8 %14 = load ptr, ptr %3, align 8 %15 = load ptr, ptr %4, align 8 %16 = call i32 @strcat(ptr noundef %14, ptr noundef %15) br label %17 17: ; preds = %31, %1 %18 = call ptr @strtok(ptr noundef null, ptr noundef @.str.1) store ptr %18, ptr %4, align 8 %19 = icmp ne ptr %18, null br i1 %19, label %20, label %32 20: ; preds = %17 %21 = load ptr, ptr %3, align 8 %22 = call i32 @strcat(ptr noundef %21, ptr noundef @.str.2) %23 = load ptr, ptr %3, align 8 %24 = load ptr, ptr %4, align 8 %25 = call i32 @strcat(ptr noundef %23, ptr noundef %24) %26 = load i32, ptr %5, align 4 %27 = add i32 %26, 1 store i32 %27, ptr %5, align 4 %28 = load i32, ptr %5, align 4 %29 = icmp eq i32 %28, 20 br i1 %29, label %30, label %31 30: ; preds = %20 br label %32 31: ; preds = %20 br label %17, !llvm.loop !6 32: ; preds = %30, %17 %33 = load ptr, ptr %3, align 8 %34 = call i32 @strcat(ptr noundef %33, ptr noundef @.str.3) %35 = load ptr, ptr %3, align 8 ret ptr %35 } declare i64 @malloc(i32 noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare ptr @strtok(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/tmpzc8h4zv5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"-regex '.*\\.\\(\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c":\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"\\|\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"\\)'\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_regex(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %6 = call i64 @malloc(i32 noundef 64) %7 = inttoptr i64 %6 to ptr store ptr %7, ptr %3, align 8 store i32 0, ptr %5, align 4 %8 = load ptr, ptr %3, align 8 %9 = getelementptr inbounds i8, ptr %8, i64 0 store i8 0, ptr %9, align 1 %10 = load ptr, ptr %3, align 8 %11 = call i32 @strcat(ptr noundef %10, ptr noundef @.str) %12 = load ptr, ptr %2, align 8 %13 = call ptr @strtok(ptr noundef %12, ptr noundef @.str.1) store ptr %13, ptr %4, align 8 %14 = load ptr, ptr %3, align 8 %15 = load ptr, ptr %4, align 8 %16 = call i32 @strcat(ptr noundef %14, ptr noundef %15) %17 = call ptr @strtok(ptr noundef null, ptr noundef @.str.1) store ptr %17, ptr %4, align 8 %18 = icmp ne ptr %17, null br i1 %18, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %1 br label %22 19: ; preds = %22 %20 = call ptr @strtok(ptr noundef null, ptr noundef @.str.1) store ptr %20, ptr %4, align 8 %21 = icmp ne ptr %20, null br i1 %21, label %22, label %..loopexit_crit_edge, !llvm.loop !6 22: ; preds = %.lr.ph, %19 %23 = load ptr, ptr %3, align 8 %24 = call i32 @strcat(ptr noundef %23, ptr noundef @.str.2) %25 = load ptr, ptr %3, align 8 %26 = load ptr, ptr %4, align 8 %27 = call i32 @strcat(ptr noundef %25, ptr noundef %26) %28 = load i32, ptr %5, align 4 %29 = add i32 %28, 1 store i32 %29, ptr %5, align 4 %30 = load i32, ptr %5, align 4 %31 = icmp eq i32 %30, 20 br i1 %31, label %32, label %19 32: ; preds = %22 br label %33 ..loopexit_crit_edge: ; preds = %19 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %1 br label %33 33: ; preds = %.loopexit, %32 %34 = load ptr, ptr %3, align 8 %35 = call i32 @strcat(ptr noundef %34, ptr noundef @.str.3) %36 = load ptr, ptr %3, align 8 ret ptr %36 } declare i64 @malloc(i32 noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare ptr @strtok(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/tmpgx8hjugq.c' source_filename = "/tmp/tmpgx8hjugq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PT_DYNAMIC = dso_local global i64 0, align 8 @SEEK_SET = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgx8hjugq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PT_DYNAMIC = dso_local global i64 0, align 8 @SEEK_SET = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpphf7qrbm.c' source_filename = "/tmp/tmpphf7qrbm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Sys_MemSet(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %6, align 4 %10 = call i32 @memset(ptr noundef %7, i32 noundef %8, i32 noundef %9) ret void } 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpphf7qrbm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Sys_MemSet(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %6, align 4 %10 = call i32 @memset(ptr noundef %7, i32 noundef %8, i32 noundef %9) ret void } 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"}
; ModuleID = '/tmp/tmpha8zn8hk.c' source_filename = "/tmp/tmpha8zn8hk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"abcdefghijklmnop\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @protected_func() #0 { %1 = alloca [8 x i8], align 1 %2 = getelementptr inbounds [8 x i8], ptr %1, i64 0, i64 0 %3 = call i32 @strncpy(ptr noundef %2, ptr noundef @.str, i32 noundef 17) ret void } 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/tmpha8zn8hk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"abcdefghijklmnop\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @protected_func() #0 { %1 = alloca [8 x i8], align 1 %2 = getelementptr inbounds [8 x i8], ptr %1, i64 0, i64 0 %3 = call i32 @strncpy(ptr noundef %2, ptr noundef @.str, i32 noundef 17) ret void } 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/tmpd0uk259d.c' source_filename = "/tmp/tmpd0uk259d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"should not return NaN\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @benchmark(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca double, align 8 %8 = alloca i64, align 8 %9 = alloca float, align 4 %10 = alloca double, align 8 %11 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %12 = load i32, ptr %4, align 4 %13 = zext i32 %12 to i64 %14 = call ptr @llvm.stacksave() store ptr %14, ptr %5, align 8 %15 = alloca i8, i64 %13, align 16 store i64 %13, ptr %6, align 8 %16 = load i32, ptr %4, align 4 %17 = zext i32 %16 to i64 %18 = alloca float, i64 %17, align 16 store i64 %17, ptr %8, align 8 store i32 0, ptr %11, align 4 br label %19 19: ; preds = %40, %2 %20 = load i32, ptr %11, align 4 %21 = load i32, ptr %4, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %23, label %43 23: ; preds = %19 %24 = call float (...) @rand_float() %25 = fcmp olt float %24, 0x3FC99999A0000000 br i1 %25, label %26, label %30 26: ; preds = %23 %27 = load i32, ptr %11, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %15, i64 %28 store i8 1, ptr %29, align 1 br label %34 30: ; preds = %23 %31 = load i32, ptr %11, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i8, ptr %15, i64 %32 store i8 0, ptr %33, align 1 br label %34 34: ; preds = %30, %26 %35 = call float (...) @rand_float() %36 = call float @llvm.fmuladd.f32(float %35, float 2.000000e+04, float -1.000000e+04) %37 = load i32, ptr %11, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds float, ptr %18, i64 %38 store float %36, ptr %39, align 4 br label %40 40: ; preds = %34 %41 = load i32, ptr %11, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %11, align 4 br label %19, !llvm.loop !6 43: ; preds = %19 store float 0.000000e+00, ptr %9, align 4 %44 = call double (...) @tic() store double %44, ptr %10, align 8 store i32 0, ptr %11, align 4 br label %45 45: ; preds = %58, %43 %46 = load i32, ptr %11, align 4 %47 = load i32, ptr %3, align 4 %48 = icmp slt i32 %46, %47 br i1 %48, label %49, label %61 49: ; preds = %45 %50 = load i32, ptr %4, align 4 %51 = call float @stdlib_strided_snanmskmin(i32 noundef %50, ptr noundef %18, i32 noundef 1, ptr noundef %15, i32 noundef 1) store float %51, ptr %9, align 4 %52 = load float, ptr %9, align 4 %53 = load float, ptr %9, align 4 %54 = fcmp une float %52, %53 br i1 %54, label %55, label %57 55: ; preds = %49 %56 = call i32 @printf(ptr noundef @.str) br label %61 57: ; preds = %49 br label %58 58: ; preds = %57 %59 = load i32, ptr %11, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %11, align 4 br label %45, !llvm.loop !8 61: ; preds = %55, %45 %62 = call double (...) @tic() %63 = load double, ptr %10, align 8 %64 = fsub double %62, %63 store double %64, ptr %7, align 8 %65 = load float, ptr %9, align 4 %66 = load float, ptr %9, align 4 %67 = fcmp une float %65, %66 br i1 %67, label %68, label %70 68: ; preds = %61 %69 = call i32 @printf(ptr noundef @.str) br label %70 70: ; preds = %68, %61 %71 = load double, ptr %7, align 8 %72 = load ptr, ptr %5, align 8 call void @llvm.stackrestore(ptr %72) ret double %71 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare float @rand_float(...) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #3 declare double @tic(...) #2 declare float @stdlib_strided_snanmskmin(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @printf(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" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpd0uk259d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"should not return NaN\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @benchmark(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca double, align 8 %8 = alloca i64, align 8 %9 = alloca float, align 4 %10 = alloca double, align 8 %11 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %12 = load i32, ptr %4, align 4 %13 = zext i32 %12 to i64 %14 = call ptr @llvm.stacksave() store ptr %14, ptr %5, align 8 %15 = alloca i8, i64 %13, align 16 store i64 %13, ptr %6, align 8 %16 = load i32, ptr %4, align 4 %17 = zext i32 %16 to i64 %18 = alloca float, i64 %17, align 16 store i64 %17, ptr %8, align 8 store i32 0, ptr %11, align 4 %19 = load i32, ptr %11, align 4 %20 = load i32, ptr %4, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %.lr.ph, label %45 .lr.ph: ; preds = %2 br label %22 22: ; preds = %.lr.ph, %39 %23 = call float (...) @rand_float() %24 = fcmp olt float %23, 0x3FC99999A0000000 br i1 %24, label %25, label %29 25: ; preds = %22 %26 = load i32, ptr %11, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i8, ptr %15, i64 %27 store i8 1, ptr %28, align 1 br label %33 29: ; preds = %22 %30 = load i32, ptr %11, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %15, i64 %31 store i8 0, ptr %32, align 1 br label %33 33: ; preds = %29, %25 %34 = call float (...) @rand_float() %35 = call float @llvm.fmuladd.f32(float %34, float 2.000000e+04, float -1.000000e+04) %36 = load i32, ptr %11, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds float, ptr %18, i64 %37 store float %35, ptr %38, align 4 br label %39 39: ; preds = %33 %40 = load i32, ptr %11, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %11, align 4 %42 = load i32, ptr %11, align 4 %43 = load i32, ptr %4, align 4 %44 = icmp slt i32 %42, %43 br i1 %44, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %39 br label %45 45: ; preds = %._crit_edge, %2 store float 0.000000e+00, ptr %9, align 4 %46 = call double (...) @tic() store double %46, ptr %10, align 8 store i32 0, ptr %11, align 4 %47 = load i32, ptr %11, align 4 %48 = load i32, ptr %3, align 4 %49 = icmp slt i32 %47, %48 br i1 %49, label %.lr.ph2, label %.loopexit .lr.ph2: ; preds = %45 br label %50 50: ; preds = %.lr.ph2, %59 %51 = load i32, ptr %4, align 4 %52 = call float @stdlib_strided_snanmskmin(i32 noundef %51, ptr noundef %18, i32 noundef 1, ptr noundef %15, i32 noundef 1) store float %52, ptr %9, align 4 %53 = load float, ptr %9, align 4 %54 = load float, ptr %9, align 4 %55 = fcmp une float %53, %54 br i1 %55, label %56, label %58 56: ; preds = %50 %57 = call i32 @printf(ptr noundef @.str) br label %65 58: ; preds = %50 br label %59 59: ; preds = %58 %60 = load i32, ptr %11, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %11, align 4 %62 = load i32, ptr %11, align 4 %63 = load i32, ptr %3, align 4 %64 = icmp slt i32 %62, %63 br i1 %64, label %50, label %..loopexit_crit_edge, !llvm.loop !8 ..loopexit_crit_edge: ; preds = %59 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %45 br label %65 65: ; preds = %.loopexit, %56 %66 = call double (...) @tic() %67 = load double, ptr %10, align 8 %68 = fsub double %66, %67 store double %68, ptr %7, align 8 %69 = load float, ptr %9, align 4 %70 = load float, ptr %9, align 4 %71 = fcmp une float %69, %70 br i1 %71, label %72, label %74 72: ; preds = %65 %73 = call i32 @printf(ptr noundef @.str) br label %74 74: ; preds = %72, %65 %75 = load double, ptr %7, align 8 %76 = load ptr, ptr %5, align 8 call void @llvm.stackrestore(ptr %76) ret double %75 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare float @rand_float(...) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #3 declare double @tic(...) #2 declare float @stdlib_strided_snanmskmin(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @printf(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" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmprgkap08w.c' source_filename = "/tmp/tmprgkap08w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [101 x i8] c"usage: gpnetbench -p PORT -H HOST [-l SECONDS] [-t EXPERIMENT] [-f UNITS] [-P HEADERS] [-b KB] [-h]\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"where\0A\00", align 1 @.str.2 = private unnamed_addr constant [54 x i8] c" PORT is the port to connect to for the server\0A\00", align 1 @.str.3 = private unnamed_addr constant [58 x i8] c" HOST is the hostname to connect to for the server\0A\00", align 1 @.str.4 = private unnamed_addr constant [88 x i8] c" SECONDS is the number of seconds to sample the network, where the default is 60\0A\00", align 1 @.str.5 = private unnamed_addr constant [82 x i8] c" EXPERIMENT is the experiment name to run, where the default is TCP_STREAM\0A\00", align 1 @.str.6 = private unnamed_addr constant [68 x i8] c" UNITS is the output units, where the default is M megabytes\0A\00", align 1 @.str.7 = private unnamed_addr constant [69 x i8] c" HEADERS is 0 (don't) or 1 (do) display headers in the output\0A\00", align 1 @.str.8 = private unnamed_addr constant [80 x i8] c" KB is the size of the send buffer in kilobytes, where the default is 32\0A\00", align 1 @.str.9 = private unnamed_addr constant [35 x i8] c" -h shows this help message\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = load i32, ptr @stdout, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = load i32, ptr @stdout, align 4 %4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.1) %5 = load i32, ptr @stdout, align 4 %6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str.2) %7 = load i32, ptr @stdout, align 4 %8 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str.3) %9 = load i32, ptr @stdout, align 4 %10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str.4) %11 = load i32, ptr @stdout, align 4 %12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str.5) %13 = load i32, ptr @stdout, align 4 %14 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str.6) %15 = load i32, ptr @stdout, align 4 %16 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str.7) %17 = load i32, ptr @stdout, align 4 %18 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str.8) %19 = load i32, ptr @stdout, align 4 %20 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str.9) ret void } declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprgkap08w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [101 x i8] c"usage: gpnetbench -p PORT -H HOST [-l SECONDS] [-t EXPERIMENT] [-f UNITS] [-P HEADERS] [-b KB] [-h]\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"where\0A\00", align 1 @.str.2 = private unnamed_addr constant [54 x i8] c" PORT is the port to connect to for the server\0A\00", align 1 @.str.3 = private unnamed_addr constant [58 x i8] c" HOST is the hostname to connect to for the server\0A\00", align 1 @.str.4 = private unnamed_addr constant [88 x i8] c" SECONDS is the number of seconds to sample the network, where the default is 60\0A\00", align 1 @.str.5 = private unnamed_addr constant [82 x i8] c" EXPERIMENT is the experiment name to run, where the default is TCP_STREAM\0A\00", align 1 @.str.6 = private unnamed_addr constant [68 x i8] c" UNITS is the output units, where the default is M megabytes\0A\00", align 1 @.str.7 = private unnamed_addr constant [69 x i8] c" HEADERS is 0 (don't) or 1 (do) display headers in the output\0A\00", align 1 @.str.8 = private unnamed_addr constant [80 x i8] c" KB is the size of the send buffer in kilobytes, where the default is 32\0A\00", align 1 @.str.9 = private unnamed_addr constant [35 x i8] c" -h shows this help message\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = load i32, ptr @stdout, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = load i32, ptr @stdout, align 4 %4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.1) %5 = load i32, ptr @stdout, align 4 %6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str.2) %7 = load i32, ptr @stdout, align 4 %8 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str.3) %9 = load i32, ptr @stdout, align 4 %10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str.4) %11 = load i32, ptr @stdout, align 4 %12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str.5) %13 = load i32, ptr @stdout, align 4 %14 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str.6) %15 = load i32, ptr @stdout, align 4 %16 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str.7) %17 = load i32, ptr @stdout, align 4 %18 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str.8) %19 = load i32, ptr @stdout, align 4 %20 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str.9) ret void } declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8h03_mvd.c' source_filename = "/tmp/tmp8h03_mvd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @custom_getline(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i8, align 1 %7 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %8 = load ptr, ptr %3, align 8 store ptr %8, ptr %7, align 8 br label %9 9: ; preds = %13, %2 %10 = call signext i8 (...) @getchar() store i8 %10, ptr %6, align 1 %11 = sext i8 %10 to i32 %12 = icmp ne i32 %11, 10 br i1 %12, label %13, label %17 13: ; preds = %9 %14 = load i8, ptr %6, align 1 %15 = load ptr, ptr %3, align 8 %16 = getelementptr inbounds i8, ptr %15, i32 1 store ptr %16, ptr %3, align 8 store i8 %14, ptr %15, align 1 br label %9, !llvm.loop !6 17: ; preds = %9 %18 = load ptr, ptr %3, align 8 store i8 0, ptr %18, align 1 %19 = load ptr, ptr %3, align 8 %20 = load ptr, ptr %7, align 8 %21 = ptrtoint ptr %19 to i64 %22 = ptrtoint ptr %20 to i64 %23 = sub i64 %21, %22 %24 = trunc i64 %23 to i32 ret i32 %24 } declare signext i8 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp8h03_mvd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @custom_getline(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i8, align 1 %7 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %8 = load ptr, ptr %3, align 8 store ptr %8, ptr %7, align 8 %9 = call signext i8 (...) @getchar() store i8 %9, ptr %6, align 1 %10 = sext i8 %9 to i32 %11 = icmp ne i32 %10, 10 br i1 %11, label %.lr.ph, label %19 .lr.ph: ; preds = %2 br label %12 12: ; preds = %.lr.ph, %12 %13 = load i8, ptr %6, align 1 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds i8, ptr %14, i32 1 store ptr %15, ptr %3, align 8 store i8 %13, ptr %14, align 1 %16 = call signext i8 (...) @getchar() store i8 %16, ptr %6, align 1 %17 = sext i8 %16 to i32 %18 = icmp ne i32 %17, 10 br i1 %18, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %19 19: ; preds = %._crit_edge, %2 %20 = load ptr, ptr %3, align 8 store i8 0, ptr %20, align 1 %21 = load ptr, ptr %3, align 8 %22 = load ptr, ptr %7, 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 ret i32 %26 } declare signext i8 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp8474djwp.c' source_filename = "/tmp/tmp8474djwp.c" target datalayout = "e-m:e-p270: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/tmp8474djwp.c" target datalayout = "e-m:e-p270: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/tmp61wxveq1.c' source_filename = "/tmp/tmp61wxveq1.c" target datalayout = "e-m:e-p270: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/tmp61wxveq1.c" target datalayout = "e-m:e-p270: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/tmpdlndnr9n.c' source_filename = "/tmp/tmpdlndnr9n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.rlimit = type { i32, i32 } @__const.main.rlim_unlimited = private unnamed_addr constant %struct.rlimit { i32 -1, i32 -1 }, align 4 @.str = private unnamed_addr constant [11 x i8] c"util_panic\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [33 x i8] c"Disable core files: ulimit -c 0\0A\00", align 1 @RLIMIT_CORE = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [17 x i8] c"util_panic_errno\00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"util_assert\00", align 1 @.str.4 = private unnamed_addr constant [40 x i8] c"Enable core files: ulimit -c unlimited\0A\00", align 1 @.str.5 = private unnamed_addr constant [51 x i8] c"Usage: %s util_panic|util_panic_errno|util_assert\0A\00", align 1 @EXIT_FAILURE = 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 %struct.rlimit, align 4 %7 = alloca %struct.rlimit, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %6, ptr align 4 @__const.main.rlim_unlimited, i64 8, i1 false) call void @llvm.memset.p0.i64(ptr align 4 %7, i8 0, i64 8, i1 false) %8 = load i32, ptr %4, align 4 %9 = icmp ne i32 %8, 2 br i1 %9, label %10, label %11 10: ; preds = %2 br label %48 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 1 %14 = load ptr, ptr %13, align 8 %15 = call i64 @strcmp(ptr noundef %14, ptr noundef @.str) %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %23 17: ; preds = %11 %18 = load i32, ptr @stderr, align 4 %19 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str.1) %20 = load i32, ptr @RLIMIT_CORE, align 4 %21 = call i32 @setrlimit(i32 noundef %20, ptr noundef %7) %22 = call i32 (...) @panic_test_func() br label %47 23: ; preds = %11 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 1 %26 = load ptr, ptr %25, align 8 %27 = call i64 @strcmp(ptr noundef %26, ptr noundef @.str.2) %28 = icmp eq i64 %27, 0 br i1 %28, label %29, label %33 29: ; preds = %23 %30 = load i32, ptr @RLIMIT_CORE, align 4 %31 = call i32 @setrlimit(i32 noundef %30, ptr noundef %6) %32 = call i32 (...) @panic_errno_test_func() br label %46 33: ; preds = %23 %34 = load ptr, ptr %5, align 8 %35 = getelementptr inbounds ptr, ptr %34, i64 1 %36 = load ptr, ptr %35, align 8 %37 = call i64 @strcmp(ptr noundef %36, ptr noundef @.str.3) %38 = icmp eq i64 %37, 0 br i1 %38, label %39, label %45 39: ; preds = %33 %40 = load i32, ptr @stderr, align 4 %41 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %40, ptr noundef @.str.4) %42 = load i32, ptr @RLIMIT_CORE, align 4 %43 = call i32 @setrlimit(i32 noundef %42, ptr noundef %6) %44 = call i32 (...) @assert_test_func() br label %45 45: ; preds = %39, %33 br label %46 46: ; preds = %45, %29 br label %47 47: ; preds = %46, %17 br label %48 48: ; preds = %47, %10 %49 = load i32, ptr @stderr, align 4 %50 = load ptr, ptr %5, align 8 %51 = getelementptr inbounds ptr, ptr %50, i64 0 %52 = load ptr, ptr %51, align 8 %53 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %49, ptr noundef @.str.5, ptr noundef %52) %54 = load i32, ptr @EXIT_FAILURE, align 4 ret i32 %54 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i64 @strcmp(ptr noundef, ptr noundef) #3 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #3 declare i32 @setrlimit(i32 noundef, ptr noundef) #3 declare i32 @panic_test_func(...) #3 declare i32 @panic_errno_test_func(...) #3 declare i32 @assert_test_func(...) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdlndnr9n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.rlimit = type { i32, i32 } @__const.main.rlim_unlimited = private unnamed_addr constant %struct.rlimit { i32 -1, i32 -1 }, align 4 @.str = private unnamed_addr constant [11 x i8] c"util_panic\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [33 x i8] c"Disable core files: ulimit -c 0\0A\00", align 1 @RLIMIT_CORE = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [17 x i8] c"util_panic_errno\00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"util_assert\00", align 1 @.str.4 = private unnamed_addr constant [40 x i8] c"Enable core files: ulimit -c unlimited\0A\00", align 1 @.str.5 = private unnamed_addr constant [51 x i8] c"Usage: %s util_panic|util_panic_errno|util_assert\0A\00", align 1 @EXIT_FAILURE = 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 %struct.rlimit, align 4 %7 = alloca %struct.rlimit, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %6, ptr align 4 @__const.main.rlim_unlimited, i64 8, i1 false) call void @llvm.memset.p0.i64(ptr align 4 %7, i8 0, i64 8, i1 false) %8 = load i32, ptr %4, align 4 %9 = icmp ne i32 %8, 2 br i1 %9, label %10, label %11 10: ; preds = %2 br label %48 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 1 %14 = load ptr, ptr %13, align 8 %15 = call i64 @strcmp(ptr noundef %14, ptr noundef @.str) %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %23 17: ; preds = %11 %18 = load i32, ptr @stderr, align 4 %19 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str.1) %20 = load i32, ptr @RLIMIT_CORE, align 4 %21 = call i32 @setrlimit(i32 noundef %20, ptr noundef %7) %22 = call i32 (...) @panic_test_func() br label %47 23: ; preds = %11 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 1 %26 = load ptr, ptr %25, align 8 %27 = call i64 @strcmp(ptr noundef %26, ptr noundef @.str.2) %28 = icmp eq i64 %27, 0 br i1 %28, label %29, label %33 29: ; preds = %23 %30 = load i32, ptr @RLIMIT_CORE, align 4 %31 = call i32 @setrlimit(i32 noundef %30, ptr noundef %6) %32 = call i32 (...) @panic_errno_test_func() br label %46 33: ; preds = %23 %34 = load ptr, ptr %5, align 8 %35 = getelementptr inbounds ptr, ptr %34, i64 1 %36 = load ptr, ptr %35, align 8 %37 = call i64 @strcmp(ptr noundef %36, ptr noundef @.str.3) %38 = icmp eq i64 %37, 0 br i1 %38, label %39, label %45 39: ; preds = %33 %40 = load i32, ptr @stderr, align 4 %41 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %40, ptr noundef @.str.4) %42 = load i32, ptr @RLIMIT_CORE, align 4 %43 = call i32 @setrlimit(i32 noundef %42, ptr noundef %6) %44 = call i32 (...) @assert_test_func() br label %45 45: ; preds = %39, %33 br label %46 46: ; preds = %45, %29 br label %47 47: ; preds = %46, %17 br label %48 48: ; preds = %47, %10 %49 = load i32, ptr @stderr, align 4 %50 = load ptr, ptr %5, align 8 %51 = getelementptr inbounds ptr, ptr %50, i64 0 %52 = load ptr, ptr %51, align 8 %53 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %49, ptr noundef @.str.5, ptr noundef %52) %54 = load i32, ptr @EXIT_FAILURE, align 4 ret i32 %54 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i64 @strcmp(ptr noundef, ptr noundef) #3 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #3 declare i32 @setrlimit(i32 noundef, ptr noundef) #3 declare i32 @panic_test_func(...) #3 declare i32 @panic_errno_test_func(...) #3 declare i32 @assert_test_func(...) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4pfmhz3o.c' source_filename = "/tmp/tmp4pfmhz3o.c" target datalayout = "e-m:e-p270: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 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4pfmhz3o.c" target datalayout = "e-m:e-p270: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 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6uxe0y8o.c' source_filename = "/tmp/tmp6uxe0y8o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.first_string = private unnamed_addr constant [12 x i8] c"Hello World\00", align 1 @.str = private unnamed_addr constant [10 x i8] c"%2d - %c\0A\00", align 1 @__const.main.date = private unnamed_addr constant [8 x i8] c"June 14\00", align 1 @__const.main.new_date = private unnamed_addr constant [9 x i8] c"March 31\00", align 1 @.str.1 = private unnamed_addr constant [31 x i8] c"len date: %d\0Alen new_date: %d\0A\00", align 1 @__const.main.vett = private unnamed_addr constant [10 x i8] c"Carl Mark\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"Unknow\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%s\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 [12 x i8], align 1 %10 = alloca [8 x i8], align 1 %11 = alloca [9 x i8], align 1 %12 = alloca [10 x i8], align 1 %13 = alloca ptr, align 8 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 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %9, ptr align 1 @__const.main.first_string, i64 12, i1 false) store i32 0, ptr %8, align 4 br label %14 14: ; preds = %25, %3 %15 = load i32, ptr %8, align 4 %16 = icmp slt i32 %15, 11 br i1 %16, label %17, label %28 17: ; preds = %14 %18 = load i32, ptr %8, align 4 %19 = load i32, ptr %8, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds [12 x i8], ptr %9, i64 0, i64 %20 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %18, i32 noundef %23) br label %25 25: ; preds = %17 %26 = load i32, ptr %8, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %8, align 4 br label %14, !llvm.loop !6 28: ; preds = %14 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %10, ptr align 1 @__const.main.date, i64 8, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %11, ptr align 1 @__const.main.new_date, i64 9, i1 false) %29 = getelementptr inbounds [8 x i8], ptr %10, i64 0, i64 0 %30 = call i32 @strlen(ptr noundef %29) %31 = getelementptr inbounds [9 x i8], ptr %11, i64 0, i64 0 %32 = call i32 @strlen(ptr noundef %31) %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %30, i32 noundef %32) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %12, ptr align 1 @__const.main.vett, i64 10, i1 false) store ptr @.str.2, ptr %13, align 8 %34 = getelementptr inbounds [10 x i8], ptr %12, i64 0, i64 0 store ptr %34, ptr %13, align 8 %35 = getelementptr inbounds [10 x i8], ptr %12, i64 0, i64 8 store i8 120, ptr %35, align 1 %36 = getelementptr inbounds [10 x i8], ptr %12, i64 0, i64 0 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %36) %38 = load ptr, ptr %13, align 8 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %38) %40 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %40 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ...) #2 declare i32 @strlen(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6uxe0y8o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.first_string = private unnamed_addr constant [12 x i8] c"Hello World\00", align 1 @.str = private unnamed_addr constant [10 x i8] c"%2d - %c\0A\00", align 1 @__const.main.date = private unnamed_addr constant [8 x i8] c"June 14\00", align 1 @__const.main.new_date = private unnamed_addr constant [9 x i8] c"March 31\00", align 1 @.str.1 = private unnamed_addr constant [31 x i8] c"len date: %d\0Alen new_date: %d\0A\00", align 1 @__const.main.vett = private unnamed_addr constant [10 x i8] c"Carl Mark\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"Unknow\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%s\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 [12 x i8], align 1 %10 = alloca [8 x i8], align 1 %11 = alloca [9 x i8], align 1 %12 = alloca [10 x i8], align 1 %13 = alloca ptr, align 8 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 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %9, ptr align 1 @__const.main.first_string, i64 12, i1 false) store i32 0, ptr %8, align 4 %14 = load i32, ptr %8, align 4 %15 = icmp slt i32 %14, 11 br i1 %15, label %.lr.ph, label %29 .lr.ph: ; preds = %3 br label %16 16: ; preds = %.lr.ph, %24 %17 = load i32, ptr %8, align 4 %18 = load i32, ptr %8, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds [12 x i8], ptr %9, i64 0, i64 %19 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %17, i32 noundef %22) br label %24 24: ; preds = %16 %25 = load i32, ptr %8, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %8, align 4 %27 = load i32, ptr %8, align 4 %28 = icmp slt i32 %27, 11 br i1 %28, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %29 29: ; preds = %._crit_edge, %3 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %10, ptr align 1 @__const.main.date, i64 8, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %11, ptr align 1 @__const.main.new_date, i64 9, i1 false) %30 = getelementptr inbounds [8 x i8], ptr %10, i64 0, i64 0 %31 = call i32 @strlen(ptr noundef %30) %32 = getelementptr inbounds [9 x i8], ptr %11, i64 0, i64 0 %33 = call i32 @strlen(ptr noundef %32) %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %31, i32 noundef %33) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %12, ptr align 1 @__const.main.vett, i64 10, i1 false) store ptr @.str.2, ptr %13, align 8 %35 = getelementptr inbounds [10 x i8], ptr %12, i64 0, i64 0 store ptr %35, ptr %13, align 8 %36 = getelementptr inbounds [10 x i8], ptr %12, i64 0, i64 8 store i8 120, ptr %36, align 1 %37 = getelementptr inbounds [10 x i8], ptr %12, i64 0, i64 0 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %37) %39 = load ptr, ptr %13, align 8 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %39) %41 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %41 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ...) #2 declare i32 @strlen(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpvl09vxmy.c' source_filename = "/tmp/tmpvl09vxmy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_char(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %44 9: ; preds = %2 %10 = load ptr, ptr %5, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %44 12: ; preds = %9 br label %13 13: ; preds = %40, %12 %14 = load ptr, ptr %4, align 8 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp ne i32 %16, 0 br i1 %17, label %18, label %43 18: ; preds = %13 %19 = load ptr, ptr %5, align 8 store ptr %19, ptr %6, align 8 br label %20 20: ; preds = %36, %18 %21 = load ptr, ptr %6, align 8 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = icmp ne i32 %23, 0 br i1 %24, label %25, label %39 25: ; preds = %20 %26 = load ptr, ptr %4, align 8 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = load ptr, ptr %6, align 8 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = icmp eq i32 %28, %31 br i1 %32, label %33, label %35 33: ; preds = %25 %34 = load ptr, ptr %4, align 8 store ptr %34, ptr %3, align 8 br label %45 35: ; preds = %25 br label %36 36: ; preds = %35 %37 = load ptr, ptr %6, align 8 %38 = getelementptr inbounds i8, ptr %37, i32 1 store ptr %38, ptr %6, align 8 br label %20, !llvm.loop !6 39: ; preds = %20 br label %40 40: ; preds = %39 %41 = load ptr, ptr %4, align 8 %42 = getelementptr inbounds i8, ptr %41, i32 1 store ptr %42, ptr %4, align 8 br label %13, !llvm.loop !8 43: ; preds = %13 br label %44 44: ; preds = %43, %9, %2 store ptr null, ptr %3, align 8 br label %45 45: ; preds = %44, %33 %46 = load ptr, ptr %3, align 8 ret ptr %46 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpvl09vxmy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_char(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %50 9: ; preds = %2 %10 = load ptr, ptr %5, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %50 12: ; preds = %9 %13 = load ptr, ptr %4, align 8 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp ne i32 %15, 0 br i1 %16, label %.lr.ph2, label %49 .lr.ph2: ; preds = %12 br label %17 17: ; preds = %.lr.ph2, %42 %18 = load ptr, ptr %5, align 8 store ptr %18, ptr %6, align 8 %19 = load ptr, ptr %6, align 8 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = icmp ne i32 %21, 0 br i1 %22, label %.lr.ph, label %41 .lr.ph: ; preds = %17 br label %23 23: ; preds = %.lr.ph, %34 %24 = load ptr, ptr %4, align 8 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = load ptr, ptr %6, align 8 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = icmp eq i32 %26, %29 br i1 %30, label %31, label %33 31: ; preds = %23 %32 = load ptr, ptr %4, align 8 store ptr %32, ptr %3, align 8 br label %51 33: ; preds = %23 br label %34 34: ; preds = %33 %35 = load ptr, ptr %6, align 8 %36 = getelementptr inbounds i8, ptr %35, i32 1 store ptr %36, ptr %6, align 8 %37 = load ptr, ptr %6, align 8 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = icmp ne i32 %39, 0 br i1 %40, label %23, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %34 br label %41 41: ; preds = %._crit_edge, %17 br label %42 42: ; preds = %41 %43 = load ptr, ptr %4, align 8 %44 = getelementptr inbounds i8, ptr %43, i32 1 store ptr %44, ptr %4, align 8 %45 = load ptr, ptr %4, align 8 %46 = load i8, ptr %45, align 1 %47 = sext i8 %46 to i32 %48 = icmp ne i32 %47, 0 br i1 %48, label %17, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %42 br label %49 49: ; preds = %._crit_edge3, %12 br label %50 50: ; preds = %49, %9, %2 store ptr null, ptr %3, align 8 br label %51 51: ; preds = %50, %31 %52 = load ptr, ptr %3, align 8 ret ptr %52 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpkk6xc5n6.c' source_filename = "/tmp/tmpkk6xc5n6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @encodeGenomes(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = call i32 @createGeneAdjMatrix(ptr noundef %7, i32 noundef %8) %10 = load ptr, ptr %7, align 8 %11 = load ptr, ptr %4, align 8 %12 = load i32, ptr %5, align 4 %13 = load i32, ptr %6, align 4 %14 = call i32 @fillGeneAdjMatrix(ptr noundef %10, ptr noundef %11, i32 noundef %12, i32 noundef %13) %15 = load ptr, ptr %7, align 8 %16 = load ptr, ptr %4, align 8 %17 = load i32, ptr %5, align 4 %18 = load i32, ptr %6, align 4 %19 = call i32 @encodeAdjGenomes(ptr noundef %15, ptr noundef %16, i32 noundef %17, i32 noundef %18) %20 = load ptr, ptr %7, align 8 %21 = load i32, ptr %6, align 4 %22 = call i32 @destroyGeneAdjMatrix(ptr noundef %20, i32 noundef %21) ret void } declare i32 @createGeneAdjMatrix(ptr noundef, i32 noundef) #1 declare i32 @fillGeneAdjMatrix(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @encodeAdjGenomes(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @destroyGeneAdjMatrix(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/tmpkk6xc5n6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @encodeGenomes(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = call i32 @createGeneAdjMatrix(ptr noundef %7, i32 noundef %8) %10 = load ptr, ptr %7, align 8 %11 = load ptr, ptr %4, align 8 %12 = load i32, ptr %5, align 4 %13 = load i32, ptr %6, align 4 %14 = call i32 @fillGeneAdjMatrix(ptr noundef %10, ptr noundef %11, i32 noundef %12, i32 noundef %13) %15 = load ptr, ptr %7, align 8 %16 = load ptr, ptr %4, align 8 %17 = load i32, ptr %5, align 4 %18 = load i32, ptr %6, align 4 %19 = call i32 @encodeAdjGenomes(ptr noundef %15, ptr noundef %16, i32 noundef %17, i32 noundef %18) %20 = load ptr, ptr %7, align 8 %21 = load i32, ptr %6, align 4 %22 = call i32 @destroyGeneAdjMatrix(ptr noundef %20, i32 noundef %21) ret void } declare i32 @createGeneAdjMatrix(ptr noundef, i32 noundef) #1 declare i32 @fillGeneAdjMatrix(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @encodeAdjGenomes(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @destroyGeneAdjMatrix(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/tmp0h0mhqnf.c' source_filename = "/tmp/tmp0h0mhqnf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_2__ = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_XSizeHints_base_width(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0 store i32 %5, ptr %7, 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/tmp0h0mhqnf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_2__ = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_XSizeHints_base_width(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0 store i32 %5, ptr %7, 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/tmpgf_bzj03.c' source_filename = "/tmp/tmpgf_bzj03.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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: linu_writev file times mode\0A\00", align 1 @O_WRONLY = dso_local global i32 0, align 4 @O_TRUNC = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [26 x i8] c"open %s failed, errno %d\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [26 x i8] c"test over, %s %d K total\0A\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"writev\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"write\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca [100 x i8], align 16 %11 = alloca [200 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %12 = load i32, ptr %4, align 4 %13 = icmp slt i32 %12, 4 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str) %16 = call i32 @exit(i32 noundef 0) #4 unreachable 17: ; preds = %2 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 1 %20 = load ptr, ptr %19, align 8 %21 = load i32, ptr @O_WRONLY, align 4 %22 = load i32, ptr @O_TRUNC, align 4 %23 = or i32 %21, %22 %24 = load i32, ptr @O_CREAT, align 4 %25 = or i32 %23, %24 %26 = call i32 @open(ptr noundef %20, i32 noundef %25) store i32 %26, ptr %6, align 4 %27 = load i32, ptr %6, align 4 %28 = icmp eq i32 %27, -1 br i1 %28, label %29, label %36 29: ; preds = %17 %30 = load ptr, ptr %5, align 8 %31 = getelementptr inbounds ptr, ptr %30, i64 1 %32 = load ptr, ptr %31, align 8 %33 = load i32, ptr @errno, align 4 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %32, i32 noundef %33) %35 = call i32 @exit(i32 noundef 0) #4 unreachable 36: ; preds = %17 %37 = load ptr, ptr %5, align 8 %38 = getelementptr inbounds ptr, ptr %37, i64 2 %39 = load ptr, ptr %38, align 8 %40 = call i32 @atoi(ptr noundef %39) store i32 %40, ptr %8, align 4 %41 = load ptr, ptr %5, align 8 %42 = getelementptr inbounds ptr, ptr %41, i64 3 %43 = load ptr, ptr %42, align 8 %44 = call i32 @atoi(ptr noundef %43) store i32 %44, ptr %9, align 4 call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 100, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 200, i1 false) store i32 0, ptr %7, align 4 br label %45 45: ; preds = %63, %36 %46 = load i32, ptr %7, align 4 %47 = load i32, ptr %8, align 4 %48 = icmp slt i32 %46, %47 br i1 %48, label %49, label %66 49: ; preds = %45 %50 = load i32, ptr %9, align 4 %51 = icmp ne i32 %50, 0 br i1 %51, label %52, label %57 52: ; preds = %49 %53 = load i32, ptr %6, align 4 %54 = getelementptr inbounds [100 x i8], ptr %10, i64 0, i64 0 %55 = getelementptr inbounds [200 x i8], ptr %11, i64 0, i64 0 %56 = call i32 @test_writev(i32 noundef %53, ptr noundef %54, i32 noundef 100, ptr noundef %55, i32 noundef 200) br label %62 57: ; preds = %49 %58 = load i32, ptr %6, align 4 %59 = getelementptr inbounds [100 x i8], ptr %10, i64 0, i64 0 %60 = getelementptr inbounds [200 x i8], ptr %11, i64 0, i64 0 %61 = call i32 @test_write(i32 noundef %58, ptr noundef %59, i32 noundef 100, ptr noundef %60, i32 noundef 200) br label %62 62: ; preds = %57, %52 br label %63 63: ; preds = %62 %64 = load i32, ptr %7, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %7, align 4 br label %45, !llvm.loop !6 66: ; preds = %45 %67 = load i32, ptr %6, align 4 %68 = call i32 @close(i32 noundef %67) %69 = load i32, ptr %9, align 4 %70 = icmp ne i32 %69, 0 %71 = zext i1 %70 to i64 %72 = select i1 %70, ptr @.str.3, ptr @.str.4 %73 = load i32, ptr %8, align 4 %74 = mul nsw i32 %73, 300 %75 = sdiv i32 %74, 1024 %76 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %72, i32 noundef %75) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3 declare i32 @test_writev(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @test_write(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgf_bzj03.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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: linu_writev file times mode\0A\00", align 1 @O_WRONLY = dso_local global i32 0, align 4 @O_TRUNC = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [26 x i8] c"open %s failed, errno %d\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [26 x i8] c"test over, %s %d K total\0A\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"writev\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"write\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca [100 x i8], align 16 %11 = alloca [200 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %12 = load i32, ptr %4, align 4 %13 = icmp slt i32 %12, 4 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str) %16 = call i32 @exit(i32 noundef 0) #4 unreachable 17: ; preds = %2 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 1 %20 = load ptr, ptr %19, align 8 %21 = load i32, ptr @O_WRONLY, align 4 %22 = load i32, ptr @O_TRUNC, align 4 %23 = or i32 %21, %22 %24 = load i32, ptr @O_CREAT, align 4 %25 = or i32 %23, %24 %26 = call i32 @open(ptr noundef %20, i32 noundef %25) store i32 %26, ptr %6, align 4 %27 = load i32, ptr %6, align 4 %28 = icmp eq i32 %27, -1 br i1 %28, label %29, label %36 29: ; preds = %17 %30 = load ptr, ptr %5, align 8 %31 = getelementptr inbounds ptr, ptr %30, i64 1 %32 = load ptr, ptr %31, align 8 %33 = load i32, ptr @errno, align 4 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %32, i32 noundef %33) %35 = call i32 @exit(i32 noundef 0) #4 unreachable 36: ; preds = %17 %37 = load ptr, ptr %5, align 8 %38 = getelementptr inbounds ptr, ptr %37, i64 2 %39 = load ptr, ptr %38, align 8 %40 = call i32 @atoi(ptr noundef %39) store i32 %40, ptr %8, align 4 %41 = load ptr, ptr %5, align 8 %42 = getelementptr inbounds ptr, ptr %41, i64 3 %43 = load ptr, ptr %42, align 8 %44 = call i32 @atoi(ptr noundef %43) store i32 %44, ptr %9, align 4 call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 100, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 200, i1 false) store i32 0, ptr %7, align 4 %45 = load i32, ptr %7, align 4 %46 = load i32, ptr %8, align 4 %47 = icmp slt i32 %45, %46 br i1 %47, label %.lr.ph, label %68 .lr.ph: ; preds = %36 br label %48 48: ; preds = %.lr.ph, %62 %49 = load i32, ptr %9, align 4 %50 = icmp ne i32 %49, 0 br i1 %50, label %51, label %56 51: ; preds = %48 %52 = load i32, ptr %6, align 4 %53 = getelementptr inbounds [100 x i8], ptr %10, i64 0, i64 0 %54 = getelementptr inbounds [200 x i8], ptr %11, i64 0, i64 0 %55 = call i32 @test_writev(i32 noundef %52, ptr noundef %53, i32 noundef 100, ptr noundef %54, i32 noundef 200) br label %61 56: ; preds = %48 %57 = load i32, ptr %6, align 4 %58 = getelementptr inbounds [100 x i8], ptr %10, i64 0, i64 0 %59 = getelementptr inbounds [200 x i8], ptr %11, i64 0, i64 0 %60 = call i32 @test_write(i32 noundef %57, ptr noundef %58, i32 noundef 100, ptr noundef %59, i32 noundef 200) br label %61 61: ; preds = %56, %51 br label %62 62: ; preds = %61 %63 = load i32, ptr %7, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %7, align 4 %65 = load i32, ptr %7, align 4 %66 = load i32, ptr %8, align 4 %67 = icmp slt i32 %65, %66 br i1 %67, label %48, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %62 br label %68 68: ; preds = %._crit_edge, %36 %69 = load i32, ptr %6, align 4 %70 = call i32 @close(i32 noundef %69) %71 = load i32, ptr %9, align 4 %72 = icmp ne i32 %71, 0 %73 = zext i1 %72 to i64 %74 = select i1 %72, ptr @.str.3, ptr @.str.4 %75 = load i32, ptr %8, align 4 %76 = mul nsw i32 %75, 300 %77 = sdiv i32 %76, 1024 %78 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %74, i32 noundef %77) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3 declare i32 @test_writev(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @test_write(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp35rv2hc7.c' source_filename = "/tmp/tmp35rv2hc7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @dircmp(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @basecmp(ptr noundef %5, ptr noundef %6, i32 noundef 1, i32 noundef 1) ret i32 %7 } declare i32 @basecmp(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/tmp35rv2hc7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @dircmp(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @basecmp(ptr noundef %5, ptr noundef %6, i32 noundef 1, i32 noundef 1) ret i32 %7 } declare i32 @basecmp(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/tmpb_98d492.c' source_filename = "/tmp/tmpb_98d492.c" target datalayout = "e-m:e-p270: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/tmpb_98d492.c" target datalayout = "e-m:e-p270: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/tmpo58elu0s.c' source_filename = "/tmp/tmpo58elu0s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"/proc/self/mem\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"/proc/%d/mem\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ignotum_mem_read(i32 noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca [32 x i8], align 16 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %13 = load i32, ptr %5, align 4 %14 = icmp ne i32 %13, 0 br i1 %14, label %16, label %15 15: ; preds = %4 store ptr @.str, ptr %10, align 8 br label %21 16: ; preds = %4 %17 = getelementptr inbounds [32 x i8], ptr %9, i64 0, i64 0 store ptr %17, ptr %10, align 8 %18 = getelementptr inbounds [32 x i8], ptr %9, i64 0, i64 0 %19 = load i32, ptr %5, align 4 %20 = call i32 @sprintf(ptr noundef %18, ptr noundef @.str.1, i32 noundef %19) br label %21 21: ; preds = %16, %15 %22 = load ptr, ptr %10, align 8 %23 = load i32, ptr @O_RDONLY, align 4 %24 = call i32 @open(ptr noundef %22, i32 noundef %23) store i32 %24, ptr %12, align 4 %25 = load i32, ptr %12, align 4 %26 = icmp eq i32 %25, -1 br i1 %26, label %27, label %28 27: ; preds = %21 store i32 -1, ptr %11, align 4 br label %36 28: ; preds = %21 %29 = load i32, ptr %12, align 4 %30 = load ptr, ptr %6, align 8 %31 = load i64, ptr %7, align 8 %32 = load i32, ptr %8, align 4 %33 = call i32 @pread(i32 noundef %29, ptr noundef %30, i64 noundef %31, i32 noundef %32) store i32 %33, ptr %11, align 4 %34 = load i32, ptr %12, align 4 %35 = call i32 @close(i32 noundef %34) br label %36 36: ; preds = %28, %27 %37 = load i32, ptr %11, align 4 ret i32 %37 } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @pread(i32 noundef, ptr noundef, i64 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/tmpo58elu0s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"/proc/self/mem\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"/proc/%d/mem\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ignotum_mem_read(i32 noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca [32 x i8], align 16 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %13 = load i32, ptr %5, align 4 %14 = icmp ne i32 %13, 0 br i1 %14, label %16, label %15 15: ; preds = %4 store ptr @.str, ptr %10, align 8 br label %21 16: ; preds = %4 %17 = getelementptr inbounds [32 x i8], ptr %9, i64 0, i64 0 store ptr %17, ptr %10, align 8 %18 = getelementptr inbounds [32 x i8], ptr %9, i64 0, i64 0 %19 = load i32, ptr %5, align 4 %20 = call i32 @sprintf(ptr noundef %18, ptr noundef @.str.1, i32 noundef %19) br label %21 21: ; preds = %16, %15 %22 = load ptr, ptr %10, align 8 %23 = load i32, ptr @O_RDONLY, align 4 %24 = call i32 @open(ptr noundef %22, i32 noundef %23) store i32 %24, ptr %12, align 4 %25 = load i32, ptr %12, align 4 %26 = icmp eq i32 %25, -1 br i1 %26, label %27, label %28 27: ; preds = %21 store i32 -1, ptr %11, align 4 br label %36 28: ; preds = %21 %29 = load i32, ptr %12, align 4 %30 = load ptr, ptr %6, align 8 %31 = load i64, ptr %7, align 8 %32 = load i32, ptr %8, align 4 %33 = call i32 @pread(i32 noundef %29, ptr noundef %30, i64 noundef %31, i32 noundef %32) store i32 %33, ptr %11, align 4 %34 = load i32, ptr %12, align 4 %35 = call i32 @close(i32 noundef %34) br label %36 36: ; preds = %28, %27 %37 = load i32, ptr %11, align 4 ret i32 %37 } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @pread(i32 noundef, ptr noundef, i64 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/tmpv3lc65f0.c' source_filename = "/tmp/tmpv3lc65f0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @basis_matrix_bezier() #0 { %1 = alloca ptr, align 8 %2 = call i64 @malloc(i32 noundef 128) %3 = inttoptr i64 %2 to ptr store ptr %3, ptr %1, align 8 %4 = load ptr, ptr %1, align 8 %5 = getelementptr inbounds double, ptr %4, i64 0 store double -1.000000e+00, ptr %5, align 8 %6 = load ptr, ptr %1, align 8 %7 = getelementptr inbounds double, ptr %6, i64 4 store double 3.000000e+00, ptr %7, align 8 %8 = load ptr, ptr %1, align 8 %9 = getelementptr inbounds double, ptr %8, i64 8 store double -3.000000e+00, ptr %9, align 8 %10 = load ptr, ptr %1, align 8 %11 = getelementptr inbounds double, ptr %10, i64 12 store double 1.000000e+00, ptr %11, align 8 %12 = load ptr, ptr %1, align 8 %13 = getelementptr inbounds double, ptr %12, i64 1 store double 3.000000e+00, ptr %13, align 8 %14 = load ptr, ptr %1, align 8 %15 = getelementptr inbounds double, ptr %14, i64 5 store double -6.000000e+00, ptr %15, align 8 %16 = load ptr, ptr %1, align 8 %17 = getelementptr inbounds double, ptr %16, i64 9 store double 3.000000e+00, ptr %17, align 8 %18 = load ptr, ptr %1, align 8 %19 = getelementptr inbounds double, ptr %18, i64 13 store double 0.000000e+00, ptr %19, align 8 %20 = load ptr, ptr %1, align 8 %21 = getelementptr inbounds double, ptr %20, i64 2 store double -3.000000e+00, ptr %21, align 8 %22 = load ptr, ptr %1, align 8 %23 = getelementptr inbounds double, ptr %22, i64 6 store double 3.000000e+00, ptr %23, align 8 %24 = load ptr, ptr %1, align 8 %25 = getelementptr inbounds double, ptr %24, i64 10 store double 0.000000e+00, ptr %25, align 8 %26 = load ptr, ptr %1, align 8 %27 = getelementptr inbounds double, ptr %26, i64 14 store double 0.000000e+00, ptr %27, align 8 %28 = load ptr, ptr %1, align 8 %29 = getelementptr inbounds double, ptr %28, i64 3 store double 1.000000e+00, ptr %29, align 8 %30 = load ptr, ptr %1, align 8 %31 = getelementptr inbounds double, ptr %30, i64 7 store double 0.000000e+00, ptr %31, align 8 %32 = load ptr, ptr %1, align 8 %33 = getelementptr inbounds double, ptr %32, i64 11 store double 0.000000e+00, ptr %33, align 8 %34 = load ptr, ptr %1, align 8 %35 = getelementptr inbounds double, ptr %34, i64 15 store double 0.000000e+00, ptr %35, align 8 %36 = load ptr, ptr %1, align 8 ret ptr %36 } declare i64 @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpv3lc65f0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @basis_matrix_bezier() #0 { %1 = alloca ptr, align 8 %2 = call i64 @malloc(i32 noundef 128) %3 = inttoptr i64 %2 to ptr store ptr %3, ptr %1, align 8 %4 = load ptr, ptr %1, align 8 %5 = getelementptr inbounds double, ptr %4, i64 0 store double -1.000000e+00, ptr %5, align 8 %6 = load ptr, ptr %1, align 8 %7 = getelementptr inbounds double, ptr %6, i64 4 store double 3.000000e+00, ptr %7, align 8 %8 = load ptr, ptr %1, align 8 %9 = getelementptr inbounds double, ptr %8, i64 8 store double -3.000000e+00, ptr %9, align 8 %10 = load ptr, ptr %1, align 8 %11 = getelementptr inbounds double, ptr %10, i64 12 store double 1.000000e+00, ptr %11, align 8 %12 = load ptr, ptr %1, align 8 %13 = getelementptr inbounds double, ptr %12, i64 1 store double 3.000000e+00, ptr %13, align 8 %14 = load ptr, ptr %1, align 8 %15 = getelementptr inbounds double, ptr %14, i64 5 store double -6.000000e+00, ptr %15, align 8 %16 = load ptr, ptr %1, align 8 %17 = getelementptr inbounds double, ptr %16, i64 9 store double 3.000000e+00, ptr %17, align 8 %18 = load ptr, ptr %1, align 8 %19 = getelementptr inbounds double, ptr %18, i64 13 store double 0.000000e+00, ptr %19, align 8 %20 = load ptr, ptr %1, align 8 %21 = getelementptr inbounds double, ptr %20, i64 2 store double -3.000000e+00, ptr %21, align 8 %22 = load ptr, ptr %1, align 8 %23 = getelementptr inbounds double, ptr %22, i64 6 store double 3.000000e+00, ptr %23, align 8 %24 = load ptr, ptr %1, align 8 %25 = getelementptr inbounds double, ptr %24, i64 10 store double 0.000000e+00, ptr %25, align 8 %26 = load ptr, ptr %1, align 8 %27 = getelementptr inbounds double, ptr %26, i64 14 store double 0.000000e+00, ptr %27, align 8 %28 = load ptr, ptr %1, align 8 %29 = getelementptr inbounds double, ptr %28, i64 3 store double 1.000000e+00, ptr %29, align 8 %30 = load ptr, ptr %1, align 8 %31 = getelementptr inbounds double, ptr %30, i64 7 store double 0.000000e+00, ptr %31, align 8 %32 = load ptr, ptr %1, align 8 %33 = getelementptr inbounds double, ptr %32, i64 11 store double 0.000000e+00, ptr %33, align 8 %34 = load ptr, ptr %1, align 8 %35 = getelementptr inbounds double, ptr %34, i64 15 store double 0.000000e+00, ptr %35, align 8 %36 = load ptr, ptr %1, align 8 ret ptr %36 } declare i64 @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpe4hbmb7h.c' source_filename = "/tmp/tmpe4hbmb7h.c" target datalayout = "e-m:e-p270: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/tmpe4hbmb7h.c" target datalayout = "e-m:e-p270: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/tmpfts7vl_y.c' source_filename = "/tmp/tmpfts7vl_y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @gcd_three(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds i32, ptr %3, i64 0 %5 = load i32, ptr %4, align 4 %6 = load ptr, ptr %2, align 8 %7 = getelementptr inbounds i32, ptr %6, i64 1 %8 = load i32, ptr %7, align 4 %9 = load ptr, ptr %2, align 8 %10 = getelementptr inbounds i32, ptr %9, i64 2 %11 = load i32, ptr %10, align 4 %12 = call i32 @_gcd(i32 noundef %8, i32 noundef %11) %13 = call i32 @_gcd(i32 noundef %5, i32 noundef %12) ret i32 %13 } declare i32 @_gcd(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/tmpfts7vl_y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @gcd_three(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds i32, ptr %3, i64 0 %5 = load i32, ptr %4, align 4 %6 = load ptr, ptr %2, align 8 %7 = getelementptr inbounds i32, ptr %6, i64 1 %8 = load i32, ptr %7, align 4 %9 = load ptr, ptr %2, align 8 %10 = getelementptr inbounds i32, ptr %9, i64 2 %11 = load i32, ptr %10, align 4 %12 = call i32 @_gcd(i32 noundef %8, i32 noundef %11) %13 = call i32 @_gcd(i32 noundef %5, i32 noundef %12) ret i32 %13 } declare i32 @_gcd(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/tmpj2tc2f_j.c' source_filename = "/tmp/tmpj2tc2f_j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @read_ancestrymap(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca [512 x i8], align 16 %14 = alloca [512 x i8], align 16 %15 = alloca i32, align 4 %16 = alloca ptr, align 8 %17 = alloca i64, align 8 %18 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 store ptr null, ptr %9, align 8 call void @llvm.memset.p0.i64(ptr align 16 %13, i8 0, i64 512, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %14, i8 0, i64 512, i1 false) store i32 1000, ptr %15, align 4 %19 = load i32, ptr %15, align 4 %20 = zext i32 %19 to i64 %21 = call ptr @llvm.stacksave() store ptr %21, ptr %16, align 8 %22 = alloca i8, i64 %20, align 16 store i64 %20, ptr %17, align 8 store i32 0, ptr %18, align 4 %23 = load ptr, ptr %5, align 8 %24 = call ptr @fopen_read(ptr noundef %23) store ptr %24, ptr %9, align 8 store i32 0, ptr %11, align 4 store i32 0, ptr %10, align 4 br label %25 25: ; preds = %85, %4 %26 = load i32, ptr %15, align 4 %27 = load ptr, ptr %9, align 8 %28 = call i64 @fgets(ptr noundef %22, i32 noundef %26, ptr noundef %27) %29 = icmp ne i64 %28, 0 br i1 %29, label %30, label %48 30: ; preds = %25 %31 = load i32, ptr %11, align 4 %32 = load i32, ptr %7, align 4 %33 = sub nsw i32 %32, 1 %34 = icmp slt i32 %31, %33 br i1 %34, label %46, label %35 35: ; preds = %30 %36 = load i32, ptr %11, align 4 %37 = load i32, ptr %7, align 4 %38 = sub nsw i32 %37, 1 %39 = icmp eq i32 %36, %38 br i1 %39, label %40, label %44 40: ; preds = %35 %41 = load i32, ptr %10, align 4 %42 = load i32, ptr %6, align 4 %43 = icmp slt i32 %41, %42 br label %44 44: ; preds = %40, %35 %45 = phi i1 [ false, %35 ], [ %43, %40 ] br label %46 46: ; preds = %44, %30 %47 = phi i1 [ true, %30 ], [ %45, %44 ] br label %48 48: ; preds = %46, %25 %49 = phi i1 [ false, %25 ], [ %47, %46 ] br i1 %49, label %50, label %97 50: ; preds = %48 %51 = getelementptr inbounds [512 x i8], ptr %13, i64 0, i64 0 %52 = load i32, ptr %10, align 4 %53 = add nsw i32 %52, 1 %54 = load i32, ptr %11, align 4 %55 = add nsw i32 %54, 1 %56 = load ptr, ptr %5, align 8 %57 = call i32 @read_line_ancestrymap(ptr noundef %22, ptr noundef %12, ptr noundef %51, i32 noundef %53, i32 noundef %55, ptr noundef %56, ptr noundef %18) %58 = load i32, ptr %11, align 4 %59 = icmp eq i32 %58, 0 br i1 %59, label %60, label %67 60: ; preds = %50 %61 = load i32, ptr %10, align 4 %62 = icmp eq i32 %61, 0 br i1 %62, label %63, label %67 63: ; preds = %60 %64 = getelementptr inbounds [512 x i8], ptr %14, i64 0, i64 0 %65 = getelementptr inbounds [512 x i8], ptr %13, i64 0, i64 0 %66 = call i32 @strcpy(ptr noundef %64, ptr noundef %65) br label %67 67: ; preds = %63, %60, %50 %68 = getelementptr inbounds [512 x i8], ptr %14, i64 0, i64 0 %69 = getelementptr inbounds [512 x i8], ptr %13, i64 0, i64 0 %70 = call i64 @strcmp(ptr noundef %68, ptr noundef %69) %71 = icmp ne i64 %70, 0 br i1 %71, label %72, label %85 72: ; preds = %67 %73 = load ptr, ptr %5, align 8 %74 = load ptr, ptr %9, align 8 %75 = load i32, ptr %10, align 4 %76 = load i32, ptr %11, align 4 %77 = add nsw i32 %76, 1 %78 = load i32, ptr %6, align 4 %79 = call i32 @test_column(ptr noundef %73, ptr noundef %74, i32 noundef %75, i32 noundef %77, i32 noundef %78, ptr noundef null) store i32 0, ptr %10, align 4 %80 = load i32, ptr %11, align 4 %81 = add nsw i32 %80, 1 store i32 %81, ptr %11, align 4 %82 = getelementptr inbounds [512 x i8], ptr %14, i64 0, i64 0 %83 = getelementptr inbounds [512 x i8], ptr %13, i64 0, i64 0 %84 = call i32 @strcpy(ptr noundef %82, ptr noundef %83) br label %85 85: ; preds = %72, %67 %86 = load i32, ptr %12, align 4 %87 = load ptr, ptr %8, align 8 %88 = load i32, ptr %10, align 4 %89 = load i32, ptr %7, align 4 %90 = mul nsw i32 %88, %89 %91 = load i32, ptr %11, align 4 %92 = add nsw i32 %90, %91 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds i32, ptr %87, i64 %93 store i32 %86, ptr %94, align 4 %95 = load i32, ptr %10, align 4 %96 = add nsw i32 %95, 1 store i32 %96, ptr %10, align 4 br label %25, !llvm.loop !6 97: ; preds = %48 %98 = load ptr, ptr %5, align 8 %99 = load ptr, ptr %9, align 8 %100 = load i32, ptr %10, align 4 %101 = load i32, ptr %11, align 4 %102 = add nsw i32 %101, 1 %103 = load i32, ptr %6, align 4 %104 = call i32 @test_column(ptr noundef %98, ptr noundef %99, i32 noundef %100, i32 noundef %102, i32 noundef %103, ptr noundef null) %105 = load ptr, ptr %5, align 8 %106 = load ptr, ptr %9, align 8 %107 = load i32, ptr %11, align 4 %108 = add nsw i32 %107, 1 %109 = load i32, ptr %7, align 4 %110 = call i32 @test_line(ptr noundef %105, ptr noundef %106, i32 noundef %108, i32 noundef %109) %111 = load ptr, ptr %9, align 8 %112 = call i32 @fclose(ptr noundef %111) %113 = load ptr, ptr %16, align 8 call void @llvm.stackrestore(ptr %113) ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare ptr @fopen_read(ptr noundef) #3 declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #3 declare i32 @read_line_ancestrymap(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #3 declare i32 @strcpy(ptr noundef, ptr noundef) #3 declare i64 @strcmp(ptr noundef, ptr noundef) #3 declare i32 @test_column(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #3 declare i32 @test_line(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #3 declare i32 @fclose(ptr noundef) #3 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { nocallback nofree nosync nounwind willreturn } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpj2tc2f_j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @read_ancestrymap(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca [512 x i8], align 16 %14 = alloca [512 x i8], align 16 %15 = alloca i32, align 4 %16 = alloca ptr, align 8 %17 = alloca i64, align 8 %18 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 store ptr null, ptr %9, align 8 call void @llvm.memset.p0.i64(ptr align 16 %13, i8 0, i64 512, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %14, i8 0, i64 512, i1 false) store i32 1000, ptr %15, align 4 %19 = load i32, ptr %15, align 4 %20 = zext i32 %19 to i64 %21 = call ptr @llvm.stacksave() store ptr %21, ptr %16, align 8 %22 = alloca i8, i64 %20, align 16 store i64 %20, ptr %17, align 8 store i32 0, ptr %18, align 4 %23 = load ptr, ptr %5, align 8 %24 = call ptr @fopen_read(ptr noundef %23) store ptr %24, ptr %9, align 8 store i32 0, ptr %11, align 4 store i32 0, ptr %10, align 4 br label %25 25: ; preds = %85, %4 %26 = load i32, ptr %15, align 4 %27 = load ptr, ptr %9, align 8 %28 = call i64 @fgets(ptr noundef %22, i32 noundef %26, ptr noundef %27) %29 = icmp ne i64 %28, 0 br i1 %29, label %30, label %48 30: ; preds = %25 %31 = load i32, ptr %11, align 4 %32 = load i32, ptr %7, align 4 %33 = sub nsw i32 %32, 1 %34 = icmp slt i32 %31, %33 br i1 %34, label %46, label %35 35: ; preds = %30 %36 = load i32, ptr %11, align 4 %37 = load i32, ptr %7, align 4 %38 = sub nsw i32 %37, 1 %39 = icmp eq i32 %36, %38 br i1 %39, label %40, label %44 40: ; preds = %35 %41 = load i32, ptr %10, align 4 %42 = load i32, ptr %6, align 4 %43 = icmp slt i32 %41, %42 br label %44 44: ; preds = %40, %35 %45 = phi i1 [ false, %35 ], [ %43, %40 ] br label %46 46: ; preds = %44, %30 %47 = phi i1 [ true, %30 ], [ %45, %44 ] br label %48 48: ; preds = %46, %25 %49 = phi i1 [ false, %25 ], [ %47, %46 ] br i1 %49, label %50, label %97 50: ; preds = %48 %51 = getelementptr inbounds [512 x i8], ptr %13, i64 0, i64 0 %52 = load i32, ptr %10, align 4 %53 = add nsw i32 %52, 1 %54 = load i32, ptr %11, align 4 %55 = add nsw i32 %54, 1 %56 = load ptr, ptr %5, align 8 %57 = call i32 @read_line_ancestrymap(ptr noundef %22, ptr noundef %12, ptr noundef %51, i32 noundef %53, i32 noundef %55, ptr noundef %56, ptr noundef %18) %58 = load i32, ptr %11, align 4 %59 = icmp eq i32 %58, 0 br i1 %59, label %60, label %67 60: ; preds = %50 %61 = load i32, ptr %10, align 4 %62 = icmp eq i32 %61, 0 br i1 %62, label %63, label %67 63: ; preds = %60 %64 = getelementptr inbounds [512 x i8], ptr %14, i64 0, i64 0 %65 = getelementptr inbounds [512 x i8], ptr %13, i64 0, i64 0 %66 = call i32 @strcpy(ptr noundef %64, ptr noundef %65) br label %67 67: ; preds = %63, %60, %50 %68 = getelementptr inbounds [512 x i8], ptr %14, i64 0, i64 0 %69 = getelementptr inbounds [512 x i8], ptr %13, i64 0, i64 0 %70 = call i64 @strcmp(ptr noundef %68, ptr noundef %69) %71 = icmp ne i64 %70, 0 br i1 %71, label %72, label %85 72: ; preds = %67 %73 = load ptr, ptr %5, align 8 %74 = load ptr, ptr %9, align 8 %75 = load i32, ptr %10, align 4 %76 = load i32, ptr %11, align 4 %77 = add nsw i32 %76, 1 %78 = load i32, ptr %6, align 4 %79 = call i32 @test_column(ptr noundef %73, ptr noundef %74, i32 noundef %75, i32 noundef %77, i32 noundef %78, ptr noundef null) store i32 0, ptr %10, align 4 %80 = load i32, ptr %11, align 4 %81 = add nsw i32 %80, 1 store i32 %81, ptr %11, align 4 %82 = getelementptr inbounds [512 x i8], ptr %14, i64 0, i64 0 %83 = getelementptr inbounds [512 x i8], ptr %13, i64 0, i64 0 %84 = call i32 @strcpy(ptr noundef %82, ptr noundef %83) br label %85 85: ; preds = %72, %67 %86 = load i32, ptr %12, align 4 %87 = load ptr, ptr %8, align 8 %88 = load i32, ptr %10, align 4 %89 = load i32, ptr %7, align 4 %90 = mul nsw i32 %88, %89 %91 = load i32, ptr %11, align 4 %92 = add nsw i32 %90, %91 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds i32, ptr %87, i64 %93 store i32 %86, ptr %94, align 4 %95 = load i32, ptr %10, align 4 %96 = add nsw i32 %95, 1 store i32 %96, ptr %10, align 4 br label %25, !llvm.loop !6 97: ; preds = %48 %98 = load ptr, ptr %5, align 8 %99 = load ptr, ptr %9, align 8 %100 = load i32, ptr %10, align 4 %101 = load i32, ptr %11, align 4 %102 = add nsw i32 %101, 1 %103 = load i32, ptr %6, align 4 %104 = call i32 @test_column(ptr noundef %98, ptr noundef %99, i32 noundef %100, i32 noundef %102, i32 noundef %103, ptr noundef null) %105 = load ptr, ptr %5, align 8 %106 = load ptr, ptr %9, align 8 %107 = load i32, ptr %11, align 4 %108 = add nsw i32 %107, 1 %109 = load i32, ptr %7, align 4 %110 = call i32 @test_line(ptr noundef %105, ptr noundef %106, i32 noundef %108, i32 noundef %109) %111 = load ptr, ptr %9, align 8 %112 = call i32 @fclose(ptr noundef %111) %113 = load ptr, ptr %16, align 8 call void @llvm.stackrestore(ptr %113) ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare ptr @fopen_read(ptr noundef) #3 declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #3 declare i32 @read_line_ancestrymap(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #3 declare i32 @strcpy(ptr noundef, ptr noundef) #3 declare i64 @strcmp(ptr noundef, ptr noundef) #3 declare i32 @test_column(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #3 declare i32 @test_line(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #3 declare i32 @fclose(ptr noundef) #3 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { nocallback nofree nosync nounwind willreturn } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpww1w84lt.c' source_filename = "/tmp/tmpww1w84lt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [29 x i8] c"The sum of %i and %i is %#X\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 store i32 0, ptr %1, align 4 store i32 10, ptr %2, align 4 store i32 20, ptr %3, align 4 %5 = load i32, ptr %2, align 4 %6 = load i32, ptr %3, align 4 %7 = add nsw i32 %5, %6 store i32 %7, ptr %4, align 4 %8 = load i32, ptr %2, align 4 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %4, align 4 %11 = call i32 @printf(ptr noundef @.str, i32 noundef %8, i32 noundef %9, i32 noundef %10) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpww1w84lt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [29 x i8] c"The sum of %i and %i is %#X\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 store i32 0, ptr %1, align 4 store i32 10, ptr %2, align 4 store i32 20, ptr %3, align 4 %5 = load i32, ptr %2, align 4 %6 = load i32, ptr %3, align 4 %7 = add nsw i32 %5, %6 store i32 %7, ptr %4, align 4 %8 = load i32, ptr %2, align 4 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %4, align 4 %11 = call i32 @printf(ptr noundef @.str, i32 noundef %8, i32 noundef %9, i32 noundef %10) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqswr5czf.c' source_filename = "/tmp/tmpqswr5czf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"Input a 4-digit number:\00", align 1 @stdin = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [43 x i8] c"Something's got wrong, I'd better quit...\0A\00", align 1 @EOF = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [17 x i8] c"Input too long!\0A\00", align 1 @.str.3 = private unnamed_addr constant [41 x i8] c"Must be a number between 1000 and 9999!\0A\00", align 1 @.str.4 = private unnamed_addr constant [29 x i8] c"Four digits must be unique.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @enter_number() #0 { %1 = alloca [5 x i8], align 1 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [4 x i32], align 16 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 call void @llvm.memset.p0.i64(ptr align 1 %1, i8 0, i64 5, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 16, i1 false) br label %8 8: ; preds = %122, %0 store i32 0, ptr %5, align 4 %9 = call i32 @printf(ptr noundef @.str) %10 = getelementptr inbounds [5 x i8], ptr %1, i64 0, i64 0 %11 = load i32, ptr @stdin, align 4 %12 = call ptr @fgets(ptr noundef %10, i32 noundef 5, i32 noundef %11) %13 = icmp eq ptr %12, null br i1 %13, label %14, label %16 14: ; preds = %8 %15 = call i32 @err_msg(ptr noundef @.str.1) br label %16 16: ; preds = %14, %8 store i32 0, ptr %6, align 4 %17 = getelementptr inbounds [5 x i8], ptr %1, i64 0, i64 0 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp ne i32 %19, 10 br i1 %20, label %21, label %48 21: ; preds = %16 %22 = getelementptr inbounds [5 x i8], ptr %1, i64 0, i64 1 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = icmp ne i32 %24, 10 br i1 %25, label %26, label %48 26: ; preds = %21 %27 = getelementptr inbounds [5 x i8], ptr %1, i64 0, i64 2 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = icmp ne i32 %29, 10 br i1 %30, label %31, label %48 31: ; preds = %26 %32 = getelementptr inbounds [5 x i8], ptr %1, i64 0, i64 3 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp ne i32 %34, 10 br i1 %35, label %36, label %48 36: ; preds = %31 br label %37 37: ; preds = %46, %36 %38 = call i32 (...) @getchar() store i32 %38, ptr %2, align 4 %39 = icmp ne i32 %38, 10 br i1 %39, label %40, label %44 40: ; preds = %37 %41 = load i32, ptr %2, align 4 %42 = load i32, ptr @EOF, align 4 %43 = icmp ne i32 %41, %42 br label %44 44: ; preds = %40, %37 %45 = phi i1 [ false, %37 ], [ %43, %40 ] br i1 %45, label %46, label %47 46: ; preds = %44 store i32 1, ptr %6, align 4 br label %37, !llvm.loop !6 47: ; preds = %44 br label %48 48: ; preds = %47, %31, %26, %21, %16 %49 = load i32, ptr %6, align 4 %50 = icmp eq i32 %49, 1 br i1 %50, label %51, label %54 51: ; preds = %48 %52 = load i32, ptr @stderr, align 4 %53 = call i32 @fprintf(i32 noundef %52, ptr noundef @.str.2) store i32 1, ptr %5, align 4 br label %122 54: ; preds = %48 %55 = getelementptr inbounds [5 x i8], ptr %1, i64 0, i64 0 %56 = call i32 @atoi(ptr noundef %55) store i32 %56, ptr %3, align 4 %57 = load i32, ptr %3, align 4 %58 = icmp slt i32 %57, 1000 br i1 %58, label %62, label %59 59: ; preds = %54 %60 = load i32, ptr %3, align 4 %61 = icmp sgt i32 %60, 9999 br i1 %61, label %62, label %65 62: ; preds = %59, %54 %63 = load i32, ptr @stderr, align 4 %64 = call i32 @fprintf(i32 noundef %63, ptr noundef @.str.3) store i32 1, ptr %5, align 4 br label %122 65: ; preds = %59 store i32 0, ptr %7, align 4 br label %66 66: ; preds = %79, %65 %67 = load i32, ptr %7, align 4 %68 = icmp slt i32 %67, 4 br i1 %68, label %69, label %82 69: ; preds = %66 %70 = load i32, ptr %3, align 4 %71 = load i32, ptr %7, align 4 %72 = sub nsw i32 3, %71 %73 = call i32 @tenpow(i32 noundef %72) %74 = sdiv i32 %70, %73 %75 = srem i32 %74, 10 %76 = load i32, ptr %7, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %77 store i32 %75, ptr %78, align 4 br label %79 79: ; preds = %69 %80 = load i32, ptr %7, align 4 %81 = add nsw i32 %80, 1 store i32 %81, ptr %7, align 4 br label %66, !llvm.loop !8 82: ; preds = %66 %83 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 0 %84 = load i32, ptr %83, align 16 %85 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 1 %86 = load i32, ptr %85, align 4 %87 = icmp eq i32 %84, %86 br i1 %87, label %118, label %88 88: ; preds = %82 %89 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 1 %90 = load i32, ptr %89, align 4 %91 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 2 %92 = load i32, ptr %91, align 8 %93 = icmp eq i32 %90, %92 br i1 %93, label %118, label %94 94: ; preds = %88 %95 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 2 %96 = load i32, ptr %95, align 8 %97 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 3 %98 = load i32, ptr %97, align 4 %99 = icmp eq i32 %96, %98 br i1 %99, label %118, label %100 100: ; preds = %94 %101 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 0 %102 = load i32, ptr %101, align 16 %103 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 2 %104 = load i32, ptr %103, align 8 %105 = icmp eq i32 %102, %104 br i1 %105, label %118, label %106 106: ; preds = %100 %107 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 0 %108 = load i32, ptr %107, align 16 %109 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 3 %110 = load i32, ptr %109, align 4 %111 = icmp eq i32 %108, %110 br i1 %111, label %118, label %112 112: ; preds = %106 %113 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 1 %114 = load i32, ptr %113, align 4 %115 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 3 %116 = load i32, ptr %115, align 4 %117 = icmp eq i32 %114, %116 br i1 %117, label %118, label %121 118: ; preds = %112, %106, %100, %94, %88, %82 %119 = load i32, ptr @stderr, align 4 %120 = call i32 @fprintf(i32 noundef %119, ptr noundef @.str.4) store i32 1, ptr %5, align 4 br label %122 121: ; preds = %112 br label %122 122: ; preds = %121, %118, %62, %51 %123 = load i32, ptr %5, align 4 %124 = icmp ne i32 %123, 0 br i1 %124, label %8, label %125, !llvm.loop !9 125: ; preds = %122 %126 = load i32, ptr %3, align 4 ret i32 %126 } ; 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 @printf(ptr noundef) #2 declare ptr @fgets(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @err_msg(ptr noundef) #2 declare i32 @getchar(...) #2 declare i32 @fprintf(i32 noundef, ptr noundef) #2 declare i32 @atoi(ptr noundef) #2 declare i32 @tenpow(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqswr5czf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"Input a 4-digit number:\00", align 1 @stdin = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [43 x i8] c"Something's got wrong, I'd better quit...\0A\00", align 1 @EOF = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [17 x i8] c"Input too long!\0A\00", align 1 @.str.3 = private unnamed_addr constant [41 x i8] c"Must be a number between 1000 and 9999!\0A\00", align 1 @.str.4 = private unnamed_addr constant [29 x i8] c"Four digits must be unique.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @enter_number() #0 { %1 = alloca [5 x i8], align 1 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [4 x i32], align 16 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 call void @llvm.memset.p0.i64(ptr align 1 %1, i8 0, i64 5, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 16, i1 false) br label %8 8: ; preds = %123, %0 store i32 0, ptr %5, align 4 %9 = call i32 @printf(ptr noundef @.str) %10 = getelementptr inbounds [5 x i8], ptr %1, i64 0, i64 0 %11 = load i32, ptr @stdin, align 4 %12 = call ptr @fgets(ptr noundef %10, i32 noundef 5, i32 noundef %11) %13 = icmp eq ptr %12, null br i1 %13, label %14, label %16 14: ; preds = %8 %15 = call i32 @err_msg(ptr noundef @.str.1) br label %16 16: ; preds = %14, %8 store i32 0, ptr %6, align 4 %17 = getelementptr inbounds [5 x i8], ptr %1, i64 0, i64 0 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp ne i32 %19, 10 br i1 %20, label %21, label %48 21: ; preds = %16 %22 = getelementptr inbounds [5 x i8], ptr %1, i64 0, i64 1 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = icmp ne i32 %24, 10 br i1 %25, label %26, label %48 26: ; preds = %21 %27 = getelementptr inbounds [5 x i8], ptr %1, i64 0, i64 2 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = icmp ne i32 %29, 10 br i1 %30, label %31, label %48 31: ; preds = %26 %32 = getelementptr inbounds [5 x i8], ptr %1, i64 0, i64 3 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp ne i32 %34, 10 br i1 %35, label %36, label %48 36: ; preds = %31 br label %37 37: ; preds = %46, %36 %38 = call i32 (...) @getchar() store i32 %38, ptr %2, align 4 %39 = icmp ne i32 %38, 10 br i1 %39, label %40, label %44 40: ; preds = %37 %41 = load i32, ptr %2, align 4 %42 = load i32, ptr @EOF, align 4 %43 = icmp ne i32 %41, %42 br label %44 44: ; preds = %40, %37 %45 = phi i1 [ false, %37 ], [ %43, %40 ] br i1 %45, label %46, label %47 46: ; preds = %44 store i32 1, ptr %6, align 4 br label %37, !llvm.loop !6 47: ; preds = %44 br label %48 48: ; preds = %47, %31, %26, %21, %16 %49 = load i32, ptr %6, align 4 %50 = icmp eq i32 %49, 1 br i1 %50, label %51, label %54 51: ; preds = %48 %52 = load i32, ptr @stderr, align 4 %53 = call i32 @fprintf(i32 noundef %52, ptr noundef @.str.2) store i32 1, ptr %5, align 4 br label %123 54: ; preds = %48 %55 = getelementptr inbounds [5 x i8], ptr %1, i64 0, i64 0 %56 = call i32 @atoi(ptr noundef %55) store i32 %56, ptr %3, align 4 %57 = load i32, ptr %3, align 4 %58 = icmp slt i32 %57, 1000 br i1 %58, label %62, label %59 59: ; preds = %54 %60 = load i32, ptr %3, align 4 %61 = icmp sgt i32 %60, 9999 br i1 %61, label %62, label %65 62: ; preds = %59, %54 %63 = load i32, ptr @stderr, align 4 %64 = call i32 @fprintf(i32 noundef %63, ptr noundef @.str.3) store i32 1, ptr %5, align 4 br label %123 65: ; preds = %59 store i32 0, ptr %7, align 4 %66 = load i32, ptr %7, align 4 %67 = icmp slt i32 %66, 4 br i1 %67, label %.lr.ph, label %83 .lr.ph: ; preds = %65 br label %68 68: ; preds = %.lr.ph, %78 %69 = load i32, ptr %3, align 4 %70 = load i32, ptr %7, align 4 %71 = sub nsw i32 3, %70 %72 = call i32 @tenpow(i32 noundef %71) %73 = sdiv i32 %69, %72 %74 = srem i32 %73, 10 %75 = load i32, ptr %7, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %76 store i32 %74, ptr %77, align 4 br label %78 78: ; preds = %68 %79 = load i32, ptr %7, align 4 %80 = add nsw i32 %79, 1 store i32 %80, ptr %7, align 4 %81 = load i32, ptr %7, align 4 %82 = icmp slt i32 %81, 4 br i1 %82, label %68, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %78 br label %83 83: ; preds = %._crit_edge, %65 %84 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 0 %85 = load i32, ptr %84, align 16 %86 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 1 %87 = load i32, ptr %86, align 4 %88 = icmp eq i32 %85, %87 br i1 %88, label %119, label %89 89: ; preds = %83 %90 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 1 %91 = load i32, ptr %90, align 4 %92 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 2 %93 = load i32, ptr %92, align 8 %94 = icmp eq i32 %91, %93 br i1 %94, label %119, label %95 95: ; preds = %89 %96 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 2 %97 = load i32, ptr %96, align 8 %98 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 3 %99 = load i32, ptr %98, align 4 %100 = icmp eq i32 %97, %99 br i1 %100, label %119, label %101 101: ; preds = %95 %102 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 0 %103 = load i32, ptr %102, align 16 %104 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 2 %105 = load i32, ptr %104, align 8 %106 = icmp eq i32 %103, %105 br i1 %106, label %119, label %107 107: ; preds = %101 %108 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 0 %109 = load i32, ptr %108, align 16 %110 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 3 %111 = load i32, ptr %110, align 4 %112 = icmp eq i32 %109, %111 br i1 %112, label %119, label %113 113: ; preds = %107 %114 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 1 %115 = load i32, ptr %114, align 4 %116 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 3 %117 = load i32, ptr %116, align 4 %118 = icmp eq i32 %115, %117 br i1 %118, label %119, label %122 119: ; preds = %113, %107, %101, %95, %89, %83 %120 = load i32, ptr @stderr, align 4 %121 = call i32 @fprintf(i32 noundef %120, ptr noundef @.str.4) store i32 1, ptr %5, align 4 br label %123 122: ; preds = %113 br label %123 123: ; preds = %122, %119, %62, %51 %124 = load i32, ptr %5, align 4 %125 = icmp ne i32 %124, 0 br i1 %125, label %8, label %126, !llvm.loop !9 126: ; preds = %123 %127 = load i32, ptr %3, align 4 ret i32 %127 } ; 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 @printf(ptr noundef) #2 declare ptr @fgets(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @err_msg(ptr noundef) #2 declare i32 @getchar(...) #2 declare i32 @fprintf(i32 noundef, ptr noundef) #2 declare i32 @atoi(ptr noundef) #2 declare i32 @tenpow(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpshjzwq_w.c' source_filename = "/tmp/tmpshjzwq_w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @f2(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load i64, ptr %3, align 8 %7 = load i64, ptr %4, align 8 %8 = sub i64 %6, %7 store i64 %8, ptr %5, align 8 %9 = load i64, ptr %5, align 8 %10 = load i64, ptr %3, align 8 %11 = icmp ult i64 %9, %10 br i1 %11, label %12, label %14 12: ; preds = %2 %13 = call i32 @foo(i32 noundef 0) br label %14 14: ; preds = %12, %2 %15 = load i64, ptr %5, align 8 ret i64 %15 } declare i32 @foo(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/tmpshjzwq_w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @f2(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load i64, ptr %3, align 8 %7 = load i64, ptr %4, align 8 %8 = sub i64 %6, %7 store i64 %8, ptr %5, align 8 %9 = load i64, ptr %5, align 8 %10 = load i64, ptr %3, align 8 %11 = icmp ult i64 %9, %10 br i1 %11, label %12, label %14 12: ; preds = %2 %13 = call i32 @foo(i32 noundef 0) br label %14 14: ; preds = %12, %2 %15 = load i64, ptr %5, align 8 ret i64 %15 } declare i32 @foo(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/tmpbldd2jq4.c' source_filename = "/tmp/tmpbldd2jq4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = load i32, ptr %4, align 4 store volatile i32 %7, ptr %6, align 4 %8 = load volatile i32, ptr %6, align 4 %9 = call i32 @func1(i32 noundef %8) store volatile i32 %9, ptr %6, align 4 %10 = load volatile i32, ptr %6, align 4 %11 = call i32 @func2(i32 noundef %10) store volatile i32 %11, ptr %6, align 4 %12 = load volatile i32, ptr %6, align 4 %13 = call i32 @func3a(i32 noundef %12) store volatile i32 %13, ptr %6, align 4 %14 = load volatile i32, ptr %6, align 4 %15 = call i32 @func4a(i32 noundef %14) store volatile i32 %15, ptr %6, align 4 %16 = load volatile i32, ptr %6, align 4 %17 = call i32 @func5a(i32 noundef %16) store volatile i32 %17, ptr %6, align 4 %18 = load volatile i32, ptr %6, align 4 %19 = call i32 @func6a(i32 noundef %18) store volatile i32 %19, ptr %6, align 4 %20 = load volatile i32, ptr %6, align 4 %21 = call i32 @func7a(i32 noundef %20) %22 = load volatile i32, ptr %6, align 4 %23 = call i32 @func7b(i32 noundef %22) %24 = add nsw i32 %21, %23 store volatile i32 %24, ptr %6, align 4 %25 = load volatile i32, ptr %6, align 4 %26 = call i32 @func8a(i32 noundef %25) %27 = load volatile i32, ptr %6, align 4 %28 = call i32 @func8b(i32 noundef %27) %29 = add nsw i32 %26, %28 store volatile i32 %29, ptr %6, align 4 %30 = call i32 @not_inline_func3(i32 noundef -21) store volatile i32 %30, ptr %6, align 4 %31 = call i32 @func_extern_caller(i32 noundef 1) %32 = load volatile i32, ptr %6, align 4 ret i32 %32 } declare i32 @func1(i32 noundef) #1 declare i32 @func2(i32 noundef) #1 declare i32 @func3a(i32 noundef) #1 declare i32 @func4a(i32 noundef) #1 declare i32 @func5a(i32 noundef) #1 declare i32 @func6a(i32 noundef) #1 declare i32 @func7a(i32 noundef) #1 declare i32 @func7b(i32 noundef) #1 declare i32 @func8a(i32 noundef) #1 declare i32 @func8b(i32 noundef) #1 declare i32 @not_inline_func3(i32 noundef) #1 declare i32 @func_extern_caller(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/tmpbldd2jq4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = load i32, ptr %4, align 4 store volatile i32 %7, ptr %6, align 4 %8 = load volatile i32, ptr %6, align 4 %9 = call i32 @func1(i32 noundef %8) store volatile i32 %9, ptr %6, align 4 %10 = load volatile i32, ptr %6, align 4 %11 = call i32 @func2(i32 noundef %10) store volatile i32 %11, ptr %6, align 4 %12 = load volatile i32, ptr %6, align 4 %13 = call i32 @func3a(i32 noundef %12) store volatile i32 %13, ptr %6, align 4 %14 = load volatile i32, ptr %6, align 4 %15 = call i32 @func4a(i32 noundef %14) store volatile i32 %15, ptr %6, align 4 %16 = load volatile i32, ptr %6, align 4 %17 = call i32 @func5a(i32 noundef %16) store volatile i32 %17, ptr %6, align 4 %18 = load volatile i32, ptr %6, align 4 %19 = call i32 @func6a(i32 noundef %18) store volatile i32 %19, ptr %6, align 4 %20 = load volatile i32, ptr %6, align 4 %21 = call i32 @func7a(i32 noundef %20) %22 = load volatile i32, ptr %6, align 4 %23 = call i32 @func7b(i32 noundef %22) %24 = add nsw i32 %21, %23 store volatile i32 %24, ptr %6, align 4 %25 = load volatile i32, ptr %6, align 4 %26 = call i32 @func8a(i32 noundef %25) %27 = load volatile i32, ptr %6, align 4 %28 = call i32 @func8b(i32 noundef %27) %29 = add nsw i32 %26, %28 store volatile i32 %29, ptr %6, align 4 %30 = call i32 @not_inline_func3(i32 noundef -21) store volatile i32 %30, ptr %6, align 4 %31 = call i32 @func_extern_caller(i32 noundef 1) %32 = load volatile i32, ptr %6, align 4 ret i32 %32 } declare i32 @func1(i32 noundef) #1 declare i32 @func2(i32 noundef) #1 declare i32 @func3a(i32 noundef) #1 declare i32 @func4a(i32 noundef) #1 declare i32 @func5a(i32 noundef) #1 declare i32 @func6a(i32 noundef) #1 declare i32 @func7a(i32 noundef) #1 declare i32 @func7b(i32 noundef) #1 declare i32 @func8a(i32 noundef) #1 declare i32 @func8b(i32 noundef) #1 declare i32 @not_inline_func3(i32 noundef) #1 declare i32 @func_extern_caller(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/tmpug7qoy7n.c' source_filename = "/tmp/tmpug7qoy7n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @init_terminal_bcircle(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 = call i32 (...) @initscr() %6 = call i32 @curs_set(i32 noundef 0) %7 = call i32 @timeout(i32 noundef 0) %8 = call i32 (...) @noecho() %9 = call i32 (...) @start_color() %10 = call i32 (...) @use_default_colors() %11 = load i32, ptr %3, align 4 %12 = load i32, ptr %4, align 4 %13 = call i32 @init_pair(i32 noundef 1, i32 noundef %11, i32 noundef %12) %14 = load i32, ptr %4, align 4 %15 = icmp ne i32 %14, -1 br i1 %15, label %16, label %19 16: ; preds = %2 %17 = call i32 @COLOR_PAIR(i32 noundef 1) %18 = call i32 @bkgd(i32 noundef %17) br label %19 19: ; preds = %16, %2 %20 = call i32 @COLOR_PAIR(i32 noundef 1) %21 = call i32 @attron(i32 noundef %20) ret i32 0 } declare i32 @initscr(...) #1 declare i32 @curs_set(i32 noundef) #1 declare i32 @timeout(i32 noundef) #1 declare i32 @noecho(...) #1 declare i32 @start_color(...) #1 declare i32 @use_default_colors(...) #1 declare i32 @init_pair(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @bkgd(i32 noundef) #1 declare i32 @COLOR_PAIR(i32 noundef) #1 declare i32 @attron(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/tmpug7qoy7n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @init_terminal_bcircle(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 = call i32 (...) @initscr() %6 = call i32 @curs_set(i32 noundef 0) %7 = call i32 @timeout(i32 noundef 0) %8 = call i32 (...) @noecho() %9 = call i32 (...) @start_color() %10 = call i32 (...) @use_default_colors() %11 = load i32, ptr %3, align 4 %12 = load i32, ptr %4, align 4 %13 = call i32 @init_pair(i32 noundef 1, i32 noundef %11, i32 noundef %12) %14 = load i32, ptr %4, align 4 %15 = icmp ne i32 %14, -1 br i1 %15, label %16, label %19 16: ; preds = %2 %17 = call i32 @COLOR_PAIR(i32 noundef 1) %18 = call i32 @bkgd(i32 noundef %17) br label %19 19: ; preds = %16, %2 %20 = call i32 @COLOR_PAIR(i32 noundef 1) %21 = call i32 @attron(i32 noundef %20) ret i32 0 } declare i32 @initscr(...) #1 declare i32 @curs_set(i32 noundef) #1 declare i32 @timeout(i32 noundef) #1 declare i32 @noecho(...) #1 declare i32 @start_color(...) #1 declare i32 @use_default_colors(...) #1 declare i32 @init_pair(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @bkgd(i32 noundef) #1 declare i32 @COLOR_PAIR(i32 noundef) #1 declare i32 @attron(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/tmpdxv65v9_.c' source_filename = "/tmp/tmpdxv65v9_.c" target datalayout = "e-m:e-p270: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/tmpdxv65v9_.c" target datalayout = "e-m:e-p270: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/tmp5w945qt8.c' source_filename = "/tmp/tmp5w945qt8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"panic: gnuplot\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @bail_to_command_line() #0 { %1 = call i32 @croak(ptr noundef @.str) ret void } declare i32 @croak(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5w945qt8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"panic: gnuplot\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @bail_to_command_line() #0 { %1 = call i32 @croak(ptr noundef @.str) ret void } declare i32 @croak(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsnkx762j.c' source_filename = "/tmp/tmpsnkx762j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @array_op(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %10 = load i32, ptr %8, align 4 %11 = icmp sgt i32 %10, 0 %12 = zext i1 %11 to i32 %13 = call i32 @assert(i32 noundef %12) store i32 0, ptr %9, align 4 br label %14 14: ; preds = %41, %4 %15 = load i32, ptr %9, align 4 %16 = load i32, ptr %8, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %18, label %44 18: ; preds = %14 %19 = load ptr, ptr %5, align 8 %20 = load i32, ptr %9, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i32, ptr %19, i64 %21 %23 = load i32, ptr %22, align 4 %24 = load ptr, ptr %6, align 8 %25 = load i32, ptr %9, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i32, ptr %24, i64 %26 %28 = load i32, ptr %27, align 4 %29 = sub nsw i32 %23, %28 %30 = call i32 @abs(i32 noundef %29) #3 %31 = load ptr, ptr %7, align 8 %32 = load i32, ptr %9, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i32, ptr %31, i64 %33 store i32 %30, ptr %34, align 4 %35 = load ptr, ptr %7, align 8 %36 = load i32, ptr %9, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i32, ptr %35, i64 %37 %39 = load i32, ptr %38, align 4 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %39) br label %41 41: ; preds = %18 %42 = load i32, ptr %9, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %9, align 4 br label %14, !llvm.loop !6 44: ; preds = %14 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret void } declare i32 @assert(i32 noundef) #1 ; Function Attrs: nounwind willreturn memory(none) declare i32 @abs(i32 noundef) #2 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" } attributes #2 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-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 willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsnkx762j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @array_op(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %10 = load i32, ptr %8, align 4 %11 = icmp sgt i32 %10, 0 %12 = zext i1 %11 to i32 %13 = call i32 @assert(i32 noundef %12) store i32 0, ptr %9, align 4 %14 = load i32, ptr %9, align 4 %15 = load i32, ptr %8, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %.lr.ph, label %46 .lr.ph: ; preds = %4 br label %17 17: ; preds = %.lr.ph, %40 %18 = load ptr, ptr %5, align 8 %19 = load i32, ptr %9, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i32, ptr %18, i64 %20 %22 = load i32, ptr %21, align 4 %23 = load ptr, ptr %6, align 8 %24 = load i32, ptr %9, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i32, ptr %23, i64 %25 %27 = load i32, ptr %26, align 4 %28 = sub nsw i32 %22, %27 %29 = call i32 @abs(i32 noundef %28) #3 %30 = load ptr, ptr %7, align 8 %31 = load i32, ptr %9, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i32, ptr %30, i64 %32 store i32 %29, ptr %33, align 4 %34 = load ptr, ptr %7, align 8 %35 = load i32, ptr %9, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i32, ptr %34, i64 %36 %38 = load i32, ptr %37, align 4 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %38) br label %40 40: ; preds = %17 %41 = load i32, ptr %9, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %9, align 4 %43 = load i32, ptr %9, align 4 %44 = load i32, ptr %8, align 4 %45 = icmp slt i32 %43, %44 br i1 %45, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %40 br label %46 46: ; preds = %._crit_edge, %4 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret void } declare i32 @assert(i32 noundef) #1 ; Function Attrs: nounwind willreturn memory(none) declare i32 @abs(i32 noundef) #2 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" } attributes #2 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-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 willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpy8107ph_.c' source_filename = "/tmp/tmpy8107ph_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @preprocess() #0 { %1 = alloca i8, align 1 %2 = alloca [127 x i8], align 16 %3 = alloca i32, align 4 %4 = call i32 (...) @ifline() ret void } declare i32 @ifline(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy8107ph_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @preprocess() #0 { %1 = alloca i8, align 1 %2 = alloca [127 x i8], align 16 %3 = alloca i32, align 4 %4 = call i32 (...) @ifline() ret void } declare i32 @ifline(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpx1y520vn.c' source_filename = "/tmp/tmpx1y520vn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @cosf(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = call i64 @cos(float noundef %3) %5 = sitofp i64 %4 to float ret float %5 } declare i64 @cos(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/tmpx1y520vn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @cosf(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = call i64 @cos(float noundef %3) %5 = sitofp i64 %4 to float ret float %5 } declare i64 @cos(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/tmpwub6h9i4.c' source_filename = "/tmp/tmpwub6h9i4.c" target datalayout = "e-m:e-p270: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/tmpwub6h9i4.c" target datalayout = "e-m:e-p270: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/tmpbvxr2emt.c' source_filename = "/tmp/tmpbvxr2emt.c" target datalayout = "e-m:e-p270: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 [469 x i8] c" \0AUsage: %s [OPTIONS] < input > output \0A \0A -k <int> Window size (sw) to filter QS, \0A -w <int> Minimum average QS with k-sw. \0A -m <int> Minimum quality score ascii (33). \0A \0AIt works for Reverse chain (Paired End reads). \0A \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @PrintArgs(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbvxr2emt.c" target datalayout = "e-m:e-p270: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 [469 x i8] c" \0AUsage: %s [OPTIONS] < input > output \0A \0A -k <int> Window size (sw) to filter QS, \0A -w <int> Minimum average QS with k-sw. \0A -m <int> Minimum quality score ascii (33). \0A \0AIt works for Reverse chain (Paired End reads). \0A \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @PrintArgs(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpk3c_dyq2.c' source_filename = "/tmp/tmpk3c_dyq2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stdlib_ndarray_function_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = icmp eq ptr %3, null br i1 %4, label %5, label %6 5: ; preds = %1 br label %9 6: ; preds = %1 %7 = load ptr, ptr %2, align 8 %8 = call i32 @free(ptr noundef %7) br label %9 9: ; preds = %6, %5 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/tmpk3c_dyq2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stdlib_ndarray_function_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = icmp eq ptr %3, null br i1 %4, label %5, label %6 5: ; preds = %1 br label %9 6: ; preds = %1 %7 = load ptr, ptr %2, align 8 %8 = call i32 @free(ptr noundef %7) br label %9 9: ; preds = %6, %5 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/tmpmbizmzb2.c' source_filename = "/tmp/tmpmbizmzb2.c" target datalayout = "e-m:e-p270: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/tmpmbizmzb2.c" target datalayout = "e-m:e-p270: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/tmpuy7ps37f.c' source_filename = "/tmp/tmpuy7ps37f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @ANTweenProgressTimingFunctionCubicIn(float noundef %0, float noundef %1) #0 { %3 = alloca float, align 4 %4 = alloca float, align 4 store float %0, ptr %3, align 4 store float %1, ptr %4, align 4 %5 = load float, ptr %3, align 4 %6 = load float, ptr %4, align 4 %7 = call float @ANTweenTimingFunctionCubicIn(float noundef %5, i32 noundef 0, i32 noundef 1, float noundef %6) ret float %7 } declare float @ANTweenTimingFunctionCubicIn(float noundef, i32 noundef, i32 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/tmpuy7ps37f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @ANTweenProgressTimingFunctionCubicIn(float noundef %0, float noundef %1) #0 { %3 = alloca float, align 4 %4 = alloca float, align 4 store float %0, ptr %3, align 4 store float %1, ptr %4, align 4 %5 = load float, ptr %3, align 4 %6 = load float, ptr %4, align 4 %7 = call float @ANTweenTimingFunctionCubicIn(float noundef %5, i32 noundef 0, i32 noundef 1, float noundef %6) ret float %7 } declare float @ANTweenTimingFunctionCubicIn(float noundef, i32 noundef, i32 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/tmphrw1u3s2.c' source_filename = "/tmp/tmphrw1u3s2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @str_rm(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = call ptr @strstr(ptr noundef %7, ptr noundef %8) store ptr %9, ptr %6, align 8 %10 = load ptr, ptr %6, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %13, label %12 12: ; preds = %2 store i32 0, ptr %3, align 4 br label %21 13: ; preds = %2 %14 = load ptr, ptr %6, align 8 %15 = load ptr, ptr %6, align 8 %16 = load ptr, ptr %5, align 8 %17 = call i32 @strlen(ptr noundef %16) %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %15, i64 %18 %20 = call i32 @strcpy(ptr noundef %14, ptr noundef %19) store i32 1, ptr %3, align 4 br label %21 21: ; preds = %13, %12 %22 = load i32, ptr %3, align 4 ret i32 %22 } declare ptr @strstr(ptr noundef, ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphrw1u3s2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @str_rm(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = call ptr @strstr(ptr noundef %7, ptr noundef %8) store ptr %9, ptr %6, align 8 %10 = load ptr, ptr %6, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %13, label %12 12: ; preds = %2 store i32 0, ptr %3, align 4 br label %21 13: ; preds = %2 %14 = load ptr, ptr %6, align 8 %15 = load ptr, ptr %6, align 8 %16 = load ptr, ptr %5, align 8 %17 = call i32 @strlen(ptr noundef %16) %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %15, i64 %18 %20 = call i32 @strcpy(ptr noundef %14, ptr noundef %19) store i32 1, ptr %3, align 4 br label %21 21: ; preds = %13, %12 %22 = load i32, ptr %3, align 4 ret i32 %22 } declare ptr @strstr(ptr noundef, ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_6_nas5o.c' source_filename = "/tmp/tmp_6_nas5o.c" target datalayout = "e-m:e-p270: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_6_nas5o.c" target datalayout = "e-m:e-p270: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/tmpysgy_ljw.c' source_filename = "/tmp/tmpysgy_ljw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @verify_checksum(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i8, align 1 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 store ptr %7, ptr %3, align 8 store i8 0, ptr %4, align 1 %8 = load ptr, ptr %2, align 8 %9 = call i32 @strlen(ptr noundef %8) store i32 %9, ptr %5, align 4 store i32 0, ptr %6, align 4 br label %10 10: ; preds = %25, %1 %11 = load i32, ptr %6, align 4 %12 = load i32, ptr %5, align 4 %13 = sub nsw i32 %12, 1 %14 = icmp slt i32 %11, %13 br i1 %14, label %15, label %28 15: ; preds = %10 %16 = load i8, ptr %4, align 1 %17 = sext i8 %16 to i32 %18 = load ptr, ptr %3, align 8 %19 = load i8, ptr %18, align 1 %20 = zext i8 %19 to i32 %21 = xor i32 %17, %20 %22 = trunc i32 %21 to i8 store i8 %22, ptr %4, align 1 %23 = load ptr, ptr %3, align 8 %24 = getelementptr inbounds i8, ptr %23, i32 1 store ptr %24, ptr %3, align 8 br label %25 25: ; preds = %15 %26 = load i32, ptr %6, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %6, align 4 br label %10, !llvm.loop !6 28: ; preds = %10 %29 = load i8, ptr %4, align 1 %30 = sext i8 %29 to i32 %31 = icmp eq i32 %30, 10 br i1 %31, label %32, label %37 32: ; preds = %28 %33 = load i8, ptr %4, align 1 %34 = sext i8 %33 to i32 %35 = add nsw i32 %34, 1 %36 = trunc i32 %35 to i8 store i8 %36, ptr %4, align 1 br label %37 37: ; preds = %32, %28 %38 = load i8, ptr %4, align 1 %39 = sext i8 %38 to i32 %40 = load ptr, ptr %3, align 8 %41 = load i8, ptr %40, align 1 %42 = zext i8 %41 to i32 %43 = xor i32 %39, %42 %44 = trunc i32 %43 to i8 store i8 %44, ptr %4, align 1 %45 = load i8, ptr %4, align 1 ret i8 %45 } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpysgy_ljw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @verify_checksum(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i8, align 1 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 store ptr %7, ptr %3, align 8 store i8 0, ptr %4, align 1 %8 = load ptr, ptr %2, align 8 %9 = call i32 @strlen(ptr noundef %8) store i32 %9, ptr %5, align 4 store i32 0, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = load i32, ptr %5, align 4 %12 = sub nsw i32 %11, 1 %13 = icmp slt i32 %10, %12 br i1 %13, label %.lr.ph, label %31 .lr.ph: ; preds = %1 br label %14 14: ; preds = %.lr.ph, %24 %15 = load i8, ptr %4, align 1 %16 = sext i8 %15 to i32 %17 = load ptr, ptr %3, align 8 %18 = load i8, ptr %17, align 1 %19 = zext i8 %18 to i32 %20 = xor i32 %16, %19 %21 = trunc i32 %20 to i8 store i8 %21, ptr %4, align 1 %22 = load ptr, ptr %3, align 8 %23 = getelementptr inbounds i8, ptr %22, i32 1 store ptr %23, ptr %3, align 8 br label %24 24: ; preds = %14 %25 = load i32, ptr %6, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %6, align 4 %27 = load i32, ptr %6, align 4 %28 = load i32, ptr %5, align 4 %29 = sub nsw i32 %28, 1 %30 = icmp slt i32 %27, %29 br i1 %30, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %31 31: ; preds = %._crit_edge, %1 %32 = load i8, ptr %4, align 1 %33 = sext i8 %32 to i32 %34 = icmp eq i32 %33, 10 br i1 %34, label %35, label %40 35: ; preds = %31 %36 = load i8, ptr %4, align 1 %37 = sext i8 %36 to i32 %38 = add nsw i32 %37, 1 %39 = trunc i32 %38 to i8 store i8 %39, ptr %4, align 1 br label %40 40: ; preds = %35, %31 %41 = load i8, ptr %4, align 1 %42 = sext i8 %41 to i32 %43 = load ptr, ptr %3, align 8 %44 = load i8, ptr %43, align 1 %45 = zext i8 %44 to i32 %46 = xor i32 %42, %45 %47 = trunc i32 %46 to i8 store i8 %47, ptr %4, align 1 %48 = load i8, ptr %4, align 1 ret i8 %48 } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpml5ek4ym.c' source_filename = "/tmp/tmpml5ek4ym.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fits_get_dms(ptr 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 ptr, align 8 %8 = alloca [80 x i8], align 16 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %10 = load ptr, ptr %5, align 8 %11 = load ptr, ptr %6, align 8 %12 = getelementptr inbounds [80 x i8], ptr %8, i64 0, i64 0 %13 = call i32 @fits_get_string(ptr noundef %10, ptr noundef %11, ptr noundef %12, i32 noundef 79) store i32 %13, ptr %9, align 4 %14 = load i32, ptr %9, align 4 %15 = icmp sle i32 %14, 0 br i1 %15, label %16, label %18 16: ; preds = %3 %17 = load i32, ptr %9, align 4 store i32 %17, ptr %4, align 4 br label %25 18: ; preds = %3 %19 = getelementptr inbounds [80 x i8], ptr %8, i64 0, i64 0 %20 = load ptr, ptr %7, align 8 %21 = call i64 @dms_to_degrees(ptr noundef %19, ptr noundef %20) %22 = icmp ne i64 %21, 0 br i1 %22, label %23, label %24 23: ; preds = %18 store i32 -1, ptr %4, align 4 br label %25 24: ; preds = %18 store i32 1, ptr %4, align 4 br label %25 25: ; preds = %24, %23, %16 %26 = load i32, ptr %4, align 4 ret i32 %26 } declare i32 @fits_get_string(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @dms_to_degrees(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/tmpml5ek4ym.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fits_get_dms(ptr 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 ptr, align 8 %8 = alloca [80 x i8], align 16 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %10 = load ptr, ptr %5, align 8 %11 = load ptr, ptr %6, align 8 %12 = getelementptr inbounds [80 x i8], ptr %8, i64 0, i64 0 %13 = call i32 @fits_get_string(ptr noundef %10, ptr noundef %11, ptr noundef %12, i32 noundef 79) store i32 %13, ptr %9, align 4 %14 = load i32, ptr %9, align 4 %15 = icmp sle i32 %14, 0 br i1 %15, label %16, label %18 16: ; preds = %3 %17 = load i32, ptr %9, align 4 store i32 %17, ptr %4, align 4 br label %25 18: ; preds = %3 %19 = getelementptr inbounds [80 x i8], ptr %8, i64 0, i64 0 %20 = load ptr, ptr %7, align 8 %21 = call i64 @dms_to_degrees(ptr noundef %19, ptr noundef %20) %22 = icmp ne i64 %21, 0 br i1 %22, label %23, label %24 23: ; preds = %18 store i32 -1, ptr %4, align 4 br label %25 24: ; preds = %18 store i32 1, ptr %4, align 4 br label %25 25: ; preds = %24, %23, %16 %26 = load i32, ptr %4, align 4 ret i32 %26 } declare i32 @fits_get_string(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @dms_to_degrees(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/tmpq6rrvedk.c' source_filename = "/tmp/tmpq6rrvedk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @not_buggy(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %6 = call i32 (...) @rand() %7 = srem i32 %6, 10 store i32 %7, ptr %5, align 4 %8 = load i32, ptr %5, align 4 %9 = icmp eq i32 %8, 5 br i1 %9, label %10, label %13 10: ; preds = %2 %11 = load ptr, ptr %4, align 8 %12 = call i32 @free(ptr noundef %11) store ptr null, ptr %4, align 8 br label %13 13: ; preds = %10, %2 %14 = load ptr, ptr %4, align 8 %15 = call i32 @populate(i32 noundef 20, ptr noundef %14) %16 = load ptr, ptr %4, align 8 %17 = call i32 @print_it(i32 noundef 20, ptr noundef %16) ret void } declare i32 @rand(...) #1 declare i32 @free(ptr noundef) #1 declare i32 @populate(i32 noundef, ptr noundef) #1 declare i32 @print_it(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/tmpq6rrvedk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @not_buggy(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %6 = call i32 (...) @rand() %7 = srem i32 %6, 10 store i32 %7, ptr %5, align 4 %8 = load i32, ptr %5, align 4 %9 = icmp eq i32 %8, 5 br i1 %9, label %10, label %13 10: ; preds = %2 %11 = load ptr, ptr %4, align 8 %12 = call i32 @free(ptr noundef %11) store ptr null, ptr %4, align 8 br label %13 13: ; preds = %10, %2 %14 = load ptr, ptr %4, align 8 %15 = call i32 @populate(i32 noundef 20, ptr noundef %14) %16 = load ptr, ptr %4, align 8 %17 = call i32 @print_it(i32 noundef 20, ptr noundef %16) ret void } declare i32 @rand(...) #1 declare i32 @free(ptr noundef) #1 declare i32 @populate(i32 noundef, ptr noundef) #1 declare i32 @print_it(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/tmpnwrdt5_0.c' source_filename = "/tmp/tmpnwrdt5_0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"hello world test\00", align 1 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_substr_replace_lenchange() #0 { %1 = alloca ptr, align 8 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = call ptr @strdup(ptr noundef @.str) store ptr %4, ptr %1, align 8 %5 = load ptr, ptr %1, align 8 %6 = call i32 @strlen(ptr noundef %5) store i32 %6, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = add nsw i32 %7, 1 store i32 %8, ptr %3, align 4 %9 = load i32, ptr %2, align 4 %10 = icmp eq i32 %9, 16 %11 = zext i1 %10 to i32 %12 = call i32 @CU_ASSERT(i32 noundef %11) %13 = load i32, ptr %2, align 4 %14 = call i32 @substr_replace(ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef 5, i32 noundef %13, ptr noundef @.str.1, i32 noundef 0) %15 = load i32, ptr %2, align 4 %16 = icmp eq i32 %15, 5 %17 = zext i1 %16 to i32 %18 = call i32 @CU_ASSERT(i32 noundef %17) ret void } declare ptr @strdup(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @CU_ASSERT(i32 noundef) #1 declare i32 @substr_replace(ptr noundef, ptr noundef, ptr noundef, i32 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/tmpnwrdt5_0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"hello world test\00", align 1 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_substr_replace_lenchange() #0 { %1 = alloca ptr, align 8 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = call ptr @strdup(ptr noundef @.str) store ptr %4, ptr %1, align 8 %5 = load ptr, ptr %1, align 8 %6 = call i32 @strlen(ptr noundef %5) store i32 %6, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = add nsw i32 %7, 1 store i32 %8, ptr %3, align 4 %9 = load i32, ptr %2, align 4 %10 = icmp eq i32 %9, 16 %11 = zext i1 %10 to i32 %12 = call i32 @CU_ASSERT(i32 noundef %11) %13 = load i32, ptr %2, align 4 %14 = call i32 @substr_replace(ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef 5, i32 noundef %13, ptr noundef @.str.1, i32 noundef 0) %15 = load i32, ptr %2, align 4 %16 = icmp eq i32 %15, 5 %17 = zext i1 %16 to i32 %18 = call i32 @CU_ASSERT(i32 noundef %17) ret void } declare ptr @strdup(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @CU_ASSERT(i32 noundef) #1 declare i32 @substr_replace(ptr noundef, ptr noundef, ptr noundef, i32 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/tmpme4f9r4n.c' source_filename = "/tmp/tmpme4f9r4n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @np_random(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 @time(ptr noundef null) %4 = call i32 @srand(i32 noundef %3) %5 = call i32 (...) @rand() %6 = load i32, ptr %2, align 4 %7 = srem i32 %5, %6 ret i32 %7 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpme4f9r4n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @np_random(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 @time(ptr noundef null) %4 = call i32 @srand(i32 noundef %3) %5 = call i32 (...) @rand() %6 = load i32, ptr %2, align 4 %7 = srem i32 %5, %6 ret i32 %7 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpr6g4qzin.c' source_filename = "/tmp/tmpr6g4qzin.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"rc\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @file_rc() #0 { %1 = call ptr @file_generic(ptr noundef @.str) ret ptr %1 } declare ptr @file_generic(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr6g4qzin.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"rc\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @file_rc() #0 { %1 = call ptr @file_generic(ptr noundef @.str) ret ptr %1 } declare ptr @file_generic(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpoo7bovnl.c' source_filename = "/tmp/tmpoo7bovnl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca double, align 8 %4 = alloca float, align 4 %5 = alloca i16, align 2 %6 = alloca i32, align 4 %7 = alloca i8, align 1 store i32 0, ptr %1, align 4 %8 = call i32 @printf(ptr noundef @.str, i32 noundef 4) %9 = call i32 @printf(ptr noundef @.str, i32 noundef 8) %10 = call i32 @printf(ptr noundef @.str, i32 noundef 4) %11 = call i32 @printf(ptr noundef @.str, i32 noundef 2) %12 = call i32 @printf(ptr noundef @.str, i32 noundef 4) %13 = call i32 @printf(ptr noundef @.str, i32 noundef 1) 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/tmpoo7bovnl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca double, align 8 %4 = alloca float, align 4 %5 = alloca i16, align 2 %6 = alloca i32, align 4 %7 = alloca i8, align 1 store i32 0, ptr %1, align 4 %8 = call i32 @printf(ptr noundef @.str, i32 noundef 4) %9 = call i32 @printf(ptr noundef @.str, i32 noundef 8) %10 = call i32 @printf(ptr noundef @.str, i32 noundef 4) %11 = call i32 @printf(ptr noundef @.str, i32 noundef 2) %12 = call i32 @printf(ptr noundef @.str, i32 noundef 4) %13 = call i32 @printf(ptr noundef @.str, i32 noundef 1) 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/tmpuxx5mwxv.c' source_filename = "/tmp/tmpuxx5mwxv.c" target datalayout = "e-m:e-p270: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/tmpuxx5mwxv.c" target datalayout = "e-m:e-p270: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/tmpz9ctm4px.c' source_filename = "/tmp/tmpz9ctm4px.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"--help\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"-h\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"--hamming\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"-l\00", align 1 @.str.5 = private unnamed_addr constant [14 x i8] c"--levenshtein\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp eq i32 %6, 1 br i1 %7, label %8, label %10 8: ; preds = %2 %9 = call i32 (...) @help() store i32 0, ptr %3, align 4 br label %66 10: ; preds = %2 %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds ptr, ptr %11, i64 1 %13 = load ptr, ptr %12, align 8 %14 = call i64 @strcmp(ptr noundef %13, ptr noundef @.str) %15 = icmp eq i64 %14, 0 br i1 %15, label %16, label %18 16: ; preds = %10 %17 = call i32 (...) @help() br label %18 18: ; preds = %16, %10 %19 = load i32, ptr %4, align 4 %20 = icmp ne i32 %19, 4 br i1 %20, label %21, label %23 21: ; preds = %18 %22 = call i32 (...) @usage() store i32 -1, ptr %3, align 4 br label %66 23: ; preds = %18 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 1 %26 = load ptr, ptr %25, align 8 %27 = call i64 @strcmp(ptr noundef %26, ptr noundef @.str.1) %28 = icmp eq i64 %27, 0 br i1 %28, label %35, label %29 29: ; preds = %23 %30 = load ptr, ptr %5, align 8 %31 = getelementptr inbounds ptr, ptr %30, i64 1 %32 = load ptr, ptr %31, align 8 %33 = call i64 @strcmp(ptr noundef %32, ptr noundef @.str.2) %34 = icmp eq i64 %33, 0 br i1 %34, label %35, label %44 35: ; preds = %29, %23 %36 = load ptr, ptr %5, align 8 %37 = getelementptr inbounds ptr, ptr %36, i64 2 %38 = load ptr, ptr %37, align 8 %39 = load ptr, ptr %5, align 8 %40 = getelementptr inbounds ptr, ptr %39, i64 3 %41 = load ptr, ptr %40, align 8 %42 = call i32 @hamming_dist(ptr noundef %38, ptr noundef %41) %43 = call i32 @printf(ptr noundef @.str.3, i32 noundef %42) br label %44 44: ; preds = %35, %29 %45 = load ptr, ptr %5, align 8 %46 = getelementptr inbounds ptr, ptr %45, i64 1 %47 = load ptr, ptr %46, align 8 %48 = call i64 @strcmp(ptr noundef %47, ptr noundef @.str.4) %49 = icmp eq i64 %48, 0 br i1 %49, label %56, label %50 50: ; preds = %44 %51 = load ptr, ptr %5, align 8 %52 = getelementptr inbounds ptr, ptr %51, i64 1 %53 = load ptr, ptr %52, align 8 %54 = call i64 @strcmp(ptr noundef %53, ptr noundef @.str.5) %55 = icmp eq i64 %54, 0 br i1 %55, label %56, label %65 56: ; preds = %50, %44 %57 = load ptr, ptr %5, align 8 %58 = getelementptr inbounds ptr, ptr %57, i64 2 %59 = load ptr, ptr %58, align 8 %60 = load ptr, ptr %5, align 8 %61 = getelementptr inbounds ptr, ptr %60, i64 3 %62 = load ptr, ptr %61, align 8 %63 = call i32 @levenshtein_dist(ptr noundef %59, ptr noundef %62) %64 = call i32 @printf(ptr noundef @.str.3, i32 noundef %63) br label %65 65: ; preds = %56, %50 store i32 0, ptr %3, align 4 br label %66 66: ; preds = %65, %21, %8 %67 = load i32, ptr %3, align 4 ret i32 %67 } declare i32 @help(...) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @usage(...) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @hamming_dist(ptr noundef, ptr noundef) #1 declare i32 @levenshtein_dist(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/tmpz9ctm4px.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"--help\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"-h\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"--hamming\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"-l\00", align 1 @.str.5 = private unnamed_addr constant [14 x i8] c"--levenshtein\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp eq i32 %6, 1 br i1 %7, label %8, label %10 8: ; preds = %2 %9 = call i32 (...) @help() store i32 0, ptr %3, align 4 br label %66 10: ; preds = %2 %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds ptr, ptr %11, i64 1 %13 = load ptr, ptr %12, align 8 %14 = call i64 @strcmp(ptr noundef %13, ptr noundef @.str) %15 = icmp eq i64 %14, 0 br i1 %15, label %16, label %18 16: ; preds = %10 %17 = call i32 (...) @help() br label %18 18: ; preds = %16, %10 %19 = load i32, ptr %4, align 4 %20 = icmp ne i32 %19, 4 br i1 %20, label %21, label %23 21: ; preds = %18 %22 = call i32 (...) @usage() store i32 -1, ptr %3, align 4 br label %66 23: ; preds = %18 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 1 %26 = load ptr, ptr %25, align 8 %27 = call i64 @strcmp(ptr noundef %26, ptr noundef @.str.1) %28 = icmp eq i64 %27, 0 br i1 %28, label %35, label %29 29: ; preds = %23 %30 = load ptr, ptr %5, align 8 %31 = getelementptr inbounds ptr, ptr %30, i64 1 %32 = load ptr, ptr %31, align 8 %33 = call i64 @strcmp(ptr noundef %32, ptr noundef @.str.2) %34 = icmp eq i64 %33, 0 br i1 %34, label %35, label %44 35: ; preds = %29, %23 %36 = load ptr, ptr %5, align 8 %37 = getelementptr inbounds ptr, ptr %36, i64 2 %38 = load ptr, ptr %37, align 8 %39 = load ptr, ptr %5, align 8 %40 = getelementptr inbounds ptr, ptr %39, i64 3 %41 = load ptr, ptr %40, align 8 %42 = call i32 @hamming_dist(ptr noundef %38, ptr noundef %41) %43 = call i32 @printf(ptr noundef @.str.3, i32 noundef %42) br label %44 44: ; preds = %35, %29 %45 = load ptr, ptr %5, align 8 %46 = getelementptr inbounds ptr, ptr %45, i64 1 %47 = load ptr, ptr %46, align 8 %48 = call i64 @strcmp(ptr noundef %47, ptr noundef @.str.4) %49 = icmp eq i64 %48, 0 br i1 %49, label %56, label %50 50: ; preds = %44 %51 = load ptr, ptr %5, align 8 %52 = getelementptr inbounds ptr, ptr %51, i64 1 %53 = load ptr, ptr %52, align 8 %54 = call i64 @strcmp(ptr noundef %53, ptr noundef @.str.5) %55 = icmp eq i64 %54, 0 br i1 %55, label %56, label %65 56: ; preds = %50, %44 %57 = load ptr, ptr %5, align 8 %58 = getelementptr inbounds ptr, ptr %57, i64 2 %59 = load ptr, ptr %58, align 8 %60 = load ptr, ptr %5, align 8 %61 = getelementptr inbounds ptr, ptr %60, i64 3 %62 = load ptr, ptr %61, align 8 %63 = call i32 @levenshtein_dist(ptr noundef %59, ptr noundef %62) %64 = call i32 @printf(ptr noundef @.str.3, i32 noundef %63) br label %65 65: ; preds = %56, %50 store i32 0, ptr %3, align 4 br label %66 66: ; preds = %65, %21, %8 %67 = load i32, ptr %3, align 4 ret i32 %67 } declare i32 @help(...) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @usage(...) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @hamming_dist(ptr noundef, ptr noundef) #1 declare i32 @levenshtein_dist(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/tmppx56wi8w.c' source_filename = "/tmp/tmppx56wi8w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @list_pop_front(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 ptr @list_delete(ptr noundef %3, i32 noundef 0) ret ptr %4 } declare ptr @list_delete(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/tmppx56wi8w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @list_pop_front(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 ptr @list_delete(ptr noundef %3, i32 noundef 0) ret ptr %4 } declare ptr @list_delete(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/tmph0iem2m7.c' source_filename = "/tmp/tmph0iem2m7.c" target datalayout = "e-m:e-p270: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/tmph0iem2m7.c" target datalayout = "e-m:e-p270: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/tmp853nh_0i.c' source_filename = "/tmp/tmp853nh_0i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: alwaysinline nounwind sspstrong uwtable define weak dso_local i32 @softboundcets_getpid() #0 { %1 = call i32 (...) @getpid() ret i32 %1 } declare i32 @getpid(...) #1 attributes #0 = { alwaysinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp853nh_0i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: alwaysinline nounwind sspstrong uwtable define weak dso_local i32 @softboundcets_getpid() #0 { %1 = call i32 (...) @getpid() ret i32 %1 } declare i32 @getpid(...) #1 attributes #0 = { alwaysinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpz9wr0r0x.c' source_filename = "/tmp/tmpz9wr0r0x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SN_md5 = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [9 x i8] c"ssl2-md5\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"ssl3-md5\00", align 1 @SN_sha1 = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [10 x i8] c"ssl3-sha1\00", align 1 @SN_sha1WithRSAEncryption = dso_local global i32 0, align 4 @SN_sha1WithRSA = dso_local global ptr null, align 8 @SN_dsaWithSHA1 = dso_local global i32 0, align 4 @SN_dsaWithSHA1_2 = dso_local global ptr null, align 8 @.str.3 = private unnamed_addr constant [5 x i8] c"DSS1\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"dss1\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @SSL_library_init() #0 { %1 = call i32 (...) @EVP_des_cbc() %2 = call i32 @EVP_add_cipher(i32 noundef %1) %3 = call i32 (...) @EVP_des_ede3_cbc() %4 = call i32 @EVP_add_cipher(i32 noundef %3) %5 = call i32 (...) @EVP_idea_cbc() %6 = call i32 @EVP_add_cipher(i32 noundef %5) %7 = call i32 (...) @EVP_rc4() %8 = call i32 @EVP_add_cipher(i32 noundef %7) %9 = call i32 (...) @EVP_rc2_cbc() %10 = call i32 @EVP_add_cipher(i32 noundef %9) %11 = call i32 (...) @EVP_rc2_40_cbc() %12 = call i32 @EVP_add_cipher(i32 noundef %11) %13 = call i32 (...) @EVP_aes_128_cbc() %14 = call i32 @EVP_add_cipher(i32 noundef %13) %15 = call i32 (...) @EVP_aes_192_cbc() %16 = call i32 @EVP_add_cipher(i32 noundef %15) %17 = call i32 (...) @EVP_aes_256_cbc() %18 = call i32 @EVP_add_cipher(i32 noundef %17) %19 = call i32 (...) @EVP_camellia_128_cbc() %20 = call i32 @EVP_add_cipher(i32 noundef %19) %21 = call i32 (...) @EVP_camellia_256_cbc() %22 = call i32 @EVP_add_cipher(i32 noundef %21) %23 = call i32 (...) @EVP_seed_cbc() %24 = call i32 @EVP_add_cipher(i32 noundef %23) %25 = call i32 (...) @EVP_md5() %26 = call i32 @EVP_add_digest(i32 noundef %25) %27 = load i32, ptr @SN_md5, align 4 %28 = call i32 @EVP_add_digest_alias(i32 noundef %27, ptr noundef @.str) %29 = load i32, ptr @SN_md5, align 4 %30 = call i32 @EVP_add_digest_alias(i32 noundef %29, ptr noundef @.str.1) %31 = call i32 (...) @EVP_sha1() %32 = call i32 @EVP_add_digest(i32 noundef %31) %33 = load i32, ptr @SN_sha1, align 4 %34 = call i32 @EVP_add_digest_alias(i32 noundef %33, ptr noundef @.str.2) %35 = load i32, ptr @SN_sha1WithRSAEncryption, align 4 %36 = load ptr, ptr @SN_sha1WithRSA, align 8 %37 = call i32 @EVP_add_digest_alias(i32 noundef %35, ptr noundef %36) %38 = call i32 (...) @EVP_sha224() %39 = call i32 @EVP_add_digest(i32 noundef %38) %40 = call i32 (...) @EVP_sha256() %41 = call i32 @EVP_add_digest(i32 noundef %40) %42 = call i32 (...) @EVP_sha384() %43 = call i32 @EVP_add_digest(i32 noundef %42) %44 = call i32 (...) @EVP_sha512() %45 = call i32 @EVP_add_digest(i32 noundef %44) %46 = call i32 (...) @EVP_dss1() %47 = call i32 @EVP_add_digest(i32 noundef %46) %48 = load i32, ptr @SN_dsaWithSHA1, align 4 %49 = load ptr, ptr @SN_dsaWithSHA1_2, align 8 %50 = call i32 @EVP_add_digest_alias(i32 noundef %48, ptr noundef %49) %51 = load i32, ptr @SN_dsaWithSHA1, align 4 %52 = call i32 @EVP_add_digest_alias(i32 noundef %51, ptr noundef @.str.3) %53 = load i32, ptr @SN_dsaWithSHA1, align 4 %54 = call i32 @EVP_add_digest_alias(i32 noundef %53, ptr noundef @.str.4) %55 = call i32 (...) @EVP_ecdsa() %56 = call i32 @EVP_add_digest(i32 noundef %55) %57 = call i32 (...) @SSL_COMP_get_compression_methods() %58 = call i32 (...) @ssl_load_ciphers() ret i32 1 } declare i32 @EVP_add_cipher(i32 noundef) #1 declare i32 @EVP_des_cbc(...) #1 declare i32 @EVP_des_ede3_cbc(...) #1 declare i32 @EVP_idea_cbc(...) #1 declare i32 @EVP_rc4(...) #1 declare i32 @EVP_rc2_cbc(...) #1 declare i32 @EVP_rc2_40_cbc(...) #1 declare i32 @EVP_aes_128_cbc(...) #1 declare i32 @EVP_aes_192_cbc(...) #1 declare i32 @EVP_aes_256_cbc(...) #1 declare i32 @EVP_camellia_128_cbc(...) #1 declare i32 @EVP_camellia_256_cbc(...) #1 declare i32 @EVP_seed_cbc(...) #1 declare i32 @EVP_add_digest(i32 noundef) #1 declare i32 @EVP_md5(...) #1 declare i32 @EVP_add_digest_alias(i32 noundef, ptr noundef) #1 declare i32 @EVP_sha1(...) #1 declare i32 @EVP_sha224(...) #1 declare i32 @EVP_sha256(...) #1 declare i32 @EVP_sha384(...) #1 declare i32 @EVP_sha512(...) #1 declare i32 @EVP_dss1(...) #1 declare i32 @EVP_ecdsa(...) #1 declare i32 @SSL_COMP_get_compression_methods(...) #1 declare i32 @ssl_load_ciphers(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz9wr0r0x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SN_md5 = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [9 x i8] c"ssl2-md5\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"ssl3-md5\00", align 1 @SN_sha1 = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [10 x i8] c"ssl3-sha1\00", align 1 @SN_sha1WithRSAEncryption = dso_local global i32 0, align 4 @SN_sha1WithRSA = dso_local global ptr null, align 8 @SN_dsaWithSHA1 = dso_local global i32 0, align 4 @SN_dsaWithSHA1_2 = dso_local global ptr null, align 8 @.str.3 = private unnamed_addr constant [5 x i8] c"DSS1\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"dss1\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @SSL_library_init() #0 { %1 = call i32 (...) @EVP_des_cbc() %2 = call i32 @EVP_add_cipher(i32 noundef %1) %3 = call i32 (...) @EVP_des_ede3_cbc() %4 = call i32 @EVP_add_cipher(i32 noundef %3) %5 = call i32 (...) @EVP_idea_cbc() %6 = call i32 @EVP_add_cipher(i32 noundef %5) %7 = call i32 (...) @EVP_rc4() %8 = call i32 @EVP_add_cipher(i32 noundef %7) %9 = call i32 (...) @EVP_rc2_cbc() %10 = call i32 @EVP_add_cipher(i32 noundef %9) %11 = call i32 (...) @EVP_rc2_40_cbc() %12 = call i32 @EVP_add_cipher(i32 noundef %11) %13 = call i32 (...) @EVP_aes_128_cbc() %14 = call i32 @EVP_add_cipher(i32 noundef %13) %15 = call i32 (...) @EVP_aes_192_cbc() %16 = call i32 @EVP_add_cipher(i32 noundef %15) %17 = call i32 (...) @EVP_aes_256_cbc() %18 = call i32 @EVP_add_cipher(i32 noundef %17) %19 = call i32 (...) @EVP_camellia_128_cbc() %20 = call i32 @EVP_add_cipher(i32 noundef %19) %21 = call i32 (...) @EVP_camellia_256_cbc() %22 = call i32 @EVP_add_cipher(i32 noundef %21) %23 = call i32 (...) @EVP_seed_cbc() %24 = call i32 @EVP_add_cipher(i32 noundef %23) %25 = call i32 (...) @EVP_md5() %26 = call i32 @EVP_add_digest(i32 noundef %25) %27 = load i32, ptr @SN_md5, align 4 %28 = call i32 @EVP_add_digest_alias(i32 noundef %27, ptr noundef @.str) %29 = load i32, ptr @SN_md5, align 4 %30 = call i32 @EVP_add_digest_alias(i32 noundef %29, ptr noundef @.str.1) %31 = call i32 (...) @EVP_sha1() %32 = call i32 @EVP_add_digest(i32 noundef %31) %33 = load i32, ptr @SN_sha1, align 4 %34 = call i32 @EVP_add_digest_alias(i32 noundef %33, ptr noundef @.str.2) %35 = load i32, ptr @SN_sha1WithRSAEncryption, align 4 %36 = load ptr, ptr @SN_sha1WithRSA, align 8 %37 = call i32 @EVP_add_digest_alias(i32 noundef %35, ptr noundef %36) %38 = call i32 (...) @EVP_sha224() %39 = call i32 @EVP_add_digest(i32 noundef %38) %40 = call i32 (...) @EVP_sha256() %41 = call i32 @EVP_add_digest(i32 noundef %40) %42 = call i32 (...) @EVP_sha384() %43 = call i32 @EVP_add_digest(i32 noundef %42) %44 = call i32 (...) @EVP_sha512() %45 = call i32 @EVP_add_digest(i32 noundef %44) %46 = call i32 (...) @EVP_dss1() %47 = call i32 @EVP_add_digest(i32 noundef %46) %48 = load i32, ptr @SN_dsaWithSHA1, align 4 %49 = load ptr, ptr @SN_dsaWithSHA1_2, align 8 %50 = call i32 @EVP_add_digest_alias(i32 noundef %48, ptr noundef %49) %51 = load i32, ptr @SN_dsaWithSHA1, align 4 %52 = call i32 @EVP_add_digest_alias(i32 noundef %51, ptr noundef @.str.3) %53 = load i32, ptr @SN_dsaWithSHA1, align 4 %54 = call i32 @EVP_add_digest_alias(i32 noundef %53, ptr noundef @.str.4) %55 = call i32 (...) @EVP_ecdsa() %56 = call i32 @EVP_add_digest(i32 noundef %55) %57 = call i32 (...) @SSL_COMP_get_compression_methods() %58 = call i32 (...) @ssl_load_ciphers() ret i32 1 } declare i32 @EVP_add_cipher(i32 noundef) #1 declare i32 @EVP_des_cbc(...) #1 declare i32 @EVP_des_ede3_cbc(...) #1 declare i32 @EVP_idea_cbc(...) #1 declare i32 @EVP_rc4(...) #1 declare i32 @EVP_rc2_cbc(...) #1 declare i32 @EVP_rc2_40_cbc(...) #1 declare i32 @EVP_aes_128_cbc(...) #1 declare i32 @EVP_aes_192_cbc(...) #1 declare i32 @EVP_aes_256_cbc(...) #1 declare i32 @EVP_camellia_128_cbc(...) #1 declare i32 @EVP_camellia_256_cbc(...) #1 declare i32 @EVP_seed_cbc(...) #1 declare i32 @EVP_add_digest(i32 noundef) #1 declare i32 @EVP_md5(...) #1 declare i32 @EVP_add_digest_alias(i32 noundef, ptr noundef) #1 declare i32 @EVP_sha1(...) #1 declare i32 @EVP_sha224(...) #1 declare i32 @EVP_sha256(...) #1 declare i32 @EVP_sha384(...) #1 declare i32 @EVP_sha512(...) #1 declare i32 @EVP_dss1(...) #1 declare i32 @EVP_ecdsa(...) #1 declare i32 @SSL_COMP_get_compression_methods(...) #1 declare i32 @ssl_load_ciphers(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5qfo8aap.c' source_filename = "/tmp/tmp5qfo8aap.c" target datalayout = "e-m:e-p270: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/tmp5qfo8aap.c" target datalayout = "e-m:e-p270: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/tmp8bpnc6lw.c' source_filename = "/tmp/tmp8bpnc6lw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @powermod(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i64 %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 store i64 %4, ptr %10, align 8 store i64 1, ptr %11, align 8 br label %14 14: ; preds = %44, %5 %15 = load i64, ptr %11, align 8 %16 = load i64, ptr %8, align 8 %17 = icmp sle i64 %15, %16 br i1 %17, label %18, label %47 18: ; preds = %14 store i64 1, ptr %12, align 8 br label %19 19: ; preds = %40, %18 %20 = load i64, ptr %12, align 8 %21 = load i64, ptr %8, align 8 %22 = icmp sle i64 %20, %21 br i1 %22, label %23, label %43 23: ; preds = %19 %24 = load i64, ptr %11, align 8 %25 = load i64, ptr %12, align 8 %26 = icmp eq i64 %24, %25 br i1 %26, label %27, label %33 27: ; preds = %23 %28 = load ptr, ptr %7, align 8 %29 = load i64, ptr %11, align 8 %30 = getelementptr inbounds [100 x i64], ptr %28, i64 %29 %31 = load i64, ptr %12, align 8 %32 = getelementptr inbounds [100 x i64], ptr %30, i64 0, i64 %31 store i64 1, ptr %32, align 8 br label %39 33: ; preds = %23 %34 = load ptr, ptr %7, align 8 %35 = load i64, ptr %11, align 8 %36 = getelementptr inbounds [100 x i64], ptr %34, i64 %35 %37 = load i64, ptr %12, align 8 %38 = getelementptr inbounds [100 x i64], ptr %36, i64 0, i64 %37 store i64 0, ptr %38, align 8 br label %39 39: ; preds = %33, %27 br label %40 40: ; preds = %39 %41 = load i64, ptr %12, align 8 %42 = add nsw i64 %41, 1 store i64 %42, ptr %12, align 8 br label %19, !llvm.loop !6 43: ; preds = %19 br label %44 44: ; preds = %43 %45 = load i64, ptr %11, align 8 %46 = add nsw i64 %45, 1 store i64 %46, ptr %11, align 8 br label %14, !llvm.loop !8 47: ; preds = %14 %48 = load i64, ptr %9, align 8 %49 = icmp eq i64 %48, 1 br i1 %49, label %50, label %82 50: ; preds = %47 store i64 1, ptr %11, align 8 br label %51 51: ; preds = %78, %50 %52 = load i64, ptr %11, align 8 %53 = load i64, ptr %8, align 8 %54 = icmp sle i64 %52, %53 br i1 %54, label %55, label %81 55: ; preds = %51 store i64 1, ptr %12, align 8 br label %56 56: ; preds = %74, %55 %57 = load i64, ptr %12, align 8 %58 = load i64, ptr %8, align 8 %59 = icmp sle i64 %57, %58 br i1 %59, label %60, label %77 60: ; preds = %56 %61 = load ptr, ptr %6, align 8 %62 = load i64, ptr %11, align 8 %63 = getelementptr inbounds [100 x i64], ptr %61, i64 %62 %64 = load i64, ptr %12, align 8 %65 = getelementptr inbounds [100 x i64], ptr %63, i64 0, i64 %64 %66 = load i64, ptr %65, align 8 %67 = load i64, ptr %10, align 8 %68 = srem i64 %66, %67 %69 = load ptr, ptr %6, align 8 %70 = load i64, ptr %11, align 8 %71 = getelementptr inbounds [100 x i64], ptr %69, i64 %70 %72 = load i64, ptr %12, align 8 %73 = getelementptr inbounds [100 x i64], ptr %71, i64 0, i64 %72 store i64 %68, ptr %73, align 8 br label %74 74: ; preds = %60 %75 = load i64, ptr %12, align 8 %76 = add nsw i64 %75, 1 store i64 %76, ptr %12, align 8 br label %56, !llvm.loop !9 77: ; preds = %56 br label %78 78: ; preds = %77 %79 = load i64, ptr %11, align 8 %80 = add nsw i64 %79, 1 store i64 %80, ptr %11, align 8 br label %51, !llvm.loop !10 81: ; preds = %51 br label %107 82: ; preds = %47 br label %83 83: ; preds = %97, %82 %84 = load i64, ptr %9, align 8 %85 = icmp sgt i64 %84, 0 br i1 %85, label %86, label %106 86: ; preds = %83 %87 = load i64, ptr %9, align 8 %88 = srem i64 %87, 2 %89 = icmp eq i64 %88, 1 br i1 %89, label %90, label %97 90: ; preds = %86 %91 = load ptr, ptr %7, align 8 %92 = load ptr, ptr %6, align 8 %93 = load ptr, ptr %7, align 8 %94 = load i64, ptr %8, align 8 %95 = load i64, ptr %10, align 8 %96 = call i32 @matrix_mult(ptr noundef %91, ptr noundef %92, ptr noundef %93, i64 noundef %94, i64 noundef %95) br label %97 97: ; preds = %90, %86 %98 = load ptr, ptr %6, align 8 %99 = load ptr, ptr %6, align 8 %100 = load ptr, ptr %6, align 8 %101 = load i64, ptr %8, align 8 %102 = load i64, ptr %10, align 8 %103 = call i32 @matrix_mult(ptr noundef %98, ptr noundef %99, ptr noundef %100, i64 noundef %101, i64 noundef %102) %104 = load i64, ptr %9, align 8 %105 = sdiv i64 %104, 2 store i64 %105, ptr %9, align 8 br label %83, !llvm.loop !11 106: ; preds = %83 br label %107 107: ; preds = %106, %81 ret void } declare i32 @matrix_mult(ptr noundef, ptr noundef, ptr noundef, i64 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8bpnc6lw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @powermod(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 %13 = alloca i64, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i64 %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 store i64 %4, ptr %10, align 8 store i64 1, ptr %11, align 8 %14 = load i64, ptr %11, align 8 %15 = load i64, ptr %8, align 8 %16 = icmp sle i64 %14, %15 br i1 %16, label %.lr.ph2, label %51 .lr.ph2: ; preds = %5 br label %17 17: ; preds = %.lr.ph2, %45 store i64 1, ptr %12, align 8 %18 = load i64, ptr %12, align 8 %19 = load i64, ptr %8, align 8 %20 = icmp sle i64 %18, %19 br i1 %20, label %.lr.ph, label %44 .lr.ph: ; preds = %17 br label %21 21: ; preds = %.lr.ph, %38 %22 = load i64, ptr %11, align 8 %23 = load i64, ptr %12, align 8 %24 = icmp eq i64 %22, %23 br i1 %24, label %25, label %31 25: ; preds = %21 %26 = load ptr, ptr %7, align 8 %27 = load i64, ptr %11, align 8 %28 = getelementptr inbounds [100 x i64], ptr %26, i64 %27 %29 = load i64, ptr %12, align 8 %30 = getelementptr inbounds [100 x i64], ptr %28, i64 0, i64 %29 store i64 1, ptr %30, align 8 br label %37 31: ; preds = %21 %32 = load ptr, ptr %7, align 8 %33 = load i64, ptr %11, align 8 %34 = getelementptr inbounds [100 x i64], ptr %32, i64 %33 %35 = load i64, ptr %12, align 8 %36 = getelementptr inbounds [100 x i64], ptr %34, i64 0, i64 %35 store i64 0, ptr %36, align 8 br label %37 37: ; preds = %31, %25 br label %38 38: ; preds = %37 %39 = load i64, ptr %12, align 8 %40 = add nsw i64 %39, 1 store i64 %40, ptr %12, align 8 %41 = load i64, ptr %12, align 8 %42 = load i64, ptr %8, align 8 %43 = icmp sle i64 %41, %42 br i1 %43, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %38 br label %44 44: ; preds = %._crit_edge, %17 br label %45 45: ; preds = %44 %46 = load i64, ptr %11, align 8 %47 = add nsw i64 %46, 1 store i64 %47, ptr %11, align 8 %48 = load i64, ptr %11, align 8 %49 = load i64, ptr %8, align 8 %50 = icmp sle i64 %48, %49 br i1 %50, label %17, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %45 br label %51 51: ; preds = %._crit_edge3, %5 %52 = load i64, ptr %9, align 8 %53 = icmp eq i64 %52, 1 br i1 %53, label %54, label %90 54: ; preds = %51 store i64 1, ptr %11, align 8 %55 = load i64, ptr %11, align 8 %56 = load i64, ptr %8, align 8 %57 = icmp sle i64 %55, %56 br i1 %57, label %.lr.ph11, label %89 .lr.ph11: ; preds = %54 br label %58 58: ; preds = %.lr.ph11, %83 store i64 1, ptr %12, align 8 %59 = load i64, ptr %12, align 8 %60 = load i64, ptr %8, align 8 %61 = icmp sle i64 %59, %60 br i1 %61, label %.lr.ph8, label %82 .lr.ph8: ; preds = %58 br label %62 62: ; preds = %.lr.ph8, %76 %63 = load ptr, ptr %6, align 8 %64 = load i64, ptr %11, align 8 %65 = getelementptr inbounds [100 x i64], ptr %63, i64 %64 %66 = load i64, ptr %12, align 8 %67 = getelementptr inbounds [100 x i64], ptr %65, i64 0, i64 %66 %68 = load i64, ptr %67, align 8 %69 = load i64, ptr %10, align 8 %70 = srem i64 %68, %69 %71 = load ptr, ptr %6, align 8 %72 = load i64, ptr %11, align 8 %73 = getelementptr inbounds [100 x i64], ptr %71, i64 %72 %74 = load i64, ptr %12, align 8 %75 = getelementptr inbounds [100 x i64], ptr %73, i64 0, i64 %74 store i64 %70, ptr %75, align 8 br label %76 76: ; preds = %62 %77 = load i64, ptr %12, align 8 %78 = add nsw i64 %77, 1 store i64 %78, ptr %12, align 8 %79 = load i64, ptr %12, align 8 %80 = load i64, ptr %8, align 8 %81 = icmp sle i64 %79, %80 br i1 %81, label %62, label %._crit_edge9, !llvm.loop !9 ._crit_edge9: ; preds = %76 br label %82 82: ; preds = %._crit_edge9, %58 br label %83 83: ; preds = %82 %84 = load i64, ptr %11, align 8 %85 = add nsw i64 %84, 1 store i64 %85, ptr %11, align 8 %86 = load i64, ptr %11, align 8 %87 = load i64, ptr %8, align 8 %88 = icmp sle i64 %86, %87 br i1 %88, label %58, label %._crit_edge12, !llvm.loop !10 ._crit_edge12: ; preds = %83 br label %89 89: ; preds = %._crit_edge12, %54 br label %116 90: ; preds = %51 %91 = load i64, ptr %9, align 8 %92 = icmp sgt i64 %91, 0 br i1 %92, label %.lr.ph5, label %115 .lr.ph5: ; preds = %90 br label %93 93: ; preds = %.lr.ph5, %104 %94 = load i64, ptr %9, align 8 %95 = srem i64 %94, 2 %96 = icmp eq i64 %95, 1 br i1 %96, label %97, label %104 97: ; preds = %93 %98 = load ptr, ptr %7, align 8 %99 = load ptr, ptr %6, align 8 %100 = load ptr, ptr %7, align 8 %101 = load i64, ptr %8, align 8 %102 = load i64, ptr %10, align 8 %103 = call i32 @matrix_mult(ptr noundef %98, ptr noundef %99, ptr noundef %100, i64 noundef %101, i64 noundef %102) br label %104 104: ; preds = %97, %93 %105 = load ptr, ptr %6, align 8 %106 = load ptr, ptr %6, align 8 %107 = load ptr, ptr %6, align 8 %108 = load i64, ptr %8, align 8 %109 = load i64, ptr %10, align 8 %110 = call i32 @matrix_mult(ptr noundef %105, ptr noundef %106, ptr noundef %107, i64 noundef %108, i64 noundef %109) %111 = load i64, ptr %9, align 8 %112 = sdiv i64 %111, 2 store i64 %112, ptr %9, align 8 %113 = load i64, ptr %9, align 8 %114 = icmp sgt i64 %113, 0 br i1 %114, label %93, label %._crit_edge6, !llvm.loop !11 ._crit_edge6: ; preds = %104 br label %115 115: ; preds = %._crit_edge6, %90 br label %116 116: ; preds = %115, %89 ret void } declare i32 @matrix_mult(ptr noundef, ptr noundef, ptr noundef, i64 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmp92o6yqr9.c' source_filename = "/tmp/tmp92o6yqr9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 ptr, align 8 store i32 0, ptr %1, align 4 %3 = call i32 (...) @mtrace() %4 = call ptr @malloc(i32 noundef 42) store ptr %4, ptr %2, align 8 ret i32 0 } declare i32 @mtrace(...) #1 declare ptr @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp92o6yqr9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 ptr, align 8 store i32 0, ptr %1, align 4 %3 = call i32 (...) @mtrace() %4 = call ptr @malloc(i32 noundef 42) store ptr %4, ptr %2, align 8 ret i32 0 } declare i32 @mtrace(...) #1 declare ptr @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvekux2q0.c' source_filename = "/tmp/tmpvekux2q0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @file_exists(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca %struct.stat, align 4 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i32 @stat(ptr noundef %5, ptr noundef %4) %7 = icmp eq i32 %6, -1 br i1 %7, label %8, label %9 8: ; preds = %1 store i32 0, ptr %2, align 4 br label %10 9: ; preds = %1 store i32 1, ptr %2, align 4 br label %10 10: ; preds = %9, %8 %11 = load i32, ptr %2, align 4 ret i32 %11 } declare i32 @stat(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/tmpvekux2q0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @file_exists(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca %struct.stat, align 4 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i32 @stat(ptr noundef %5, ptr noundef %4) %7 = icmp eq i32 %6, -1 br i1 %7, label %8, label %9 8: ; preds = %1 store i32 0, ptr %2, align 4 br label %10 9: ; preds = %1 store i32 1, ptr %2, align 4 br label %10 10: ; preds = %9, %8 %11 = load i32, ptr %2, align 4 ret i32 %11 } declare i32 @stat(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/tmp8hz8c076.c' source_filename = "/tmp/tmp8hz8c076.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @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 = private unnamed_addr constant [4 x i8] c"%hu\00", align 1 @CHAR_BIT = dso_local global i16 0, align 2 ; 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 i16, align 2 %8 = alloca [2 x i8], align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = load i32, ptr %4, align 4 %10 = icmp ne i32 %9, 2 br i1 %10, label %11, label %12 11: ; preds = %2 store i32 1, ptr %3, align 4 br label %42 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 %16 = load i32, ptr @O_WRONLY, align 4 %17 = load i32, ptr @O_CREAT, align 4 %18 = or i32 %16, %17 %19 = load i32, ptr @O_TRUNC, align 4 %20 = or i32 %18, %19 %21 = call i32 @open(ptr noundef %15, i32 noundef %20, i32 noundef 384) store i32 %21, ptr %6, align 4 br label %22 22: ; preds = %25, %12 %23 = call i64 @scanf(ptr noundef @.str, ptr noundef %7) %24 = icmp sgt i64 %23, 0 br i1 %24, label %25, label %39 25: ; preds = %22 %26 = load i16, ptr %7, align 2 %27 = trunc i16 %26 to i8 %28 = getelementptr inbounds [2 x i8], ptr %8, i64 0, i64 1 store i8 %27, ptr %28, align 1 %29 = load i16, ptr %7, align 2 %30 = zext i16 %29 to i32 %31 = load i16, ptr @CHAR_BIT, align 2 %32 = zext i16 %31 to i32 %33 = ashr i32 %30, %32 %34 = trunc i32 %33 to i8 %35 = getelementptr inbounds [2 x i8], ptr %8, i64 0, i64 0 store i8 %34, ptr %35, align 1 %36 = load i32, ptr %6, align 4 %37 = getelementptr inbounds [2 x i8], ptr %8, i64 0, i64 0 %38 = call i32 @write(i32 noundef %36, ptr noundef %37, i32 noundef 2) br label %22, !llvm.loop !6 39: ; preds = %22 %40 = load i32, ptr %6, align 4 %41 = call i32 @close(i32 noundef %40) store i32 0, ptr %3, align 4 br label %42 42: ; preds = %39, %11 %43 = load i32, ptr %3, align 4 ret i32 %43 } declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @scanf(ptr noundef, ptr 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8hz8c076.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @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 = private unnamed_addr constant [4 x i8] c"%hu\00", align 1 @CHAR_BIT = dso_local global i16 0, align 2 ; 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 i16, align 2 %8 = alloca [2 x i8], align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = load i32, ptr %4, align 4 %10 = icmp ne i32 %9, 2 br i1 %10, label %11, label %12 11: ; preds = %2 store i32 1, ptr %3, align 4 br label %43 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 %16 = load i32, ptr @O_WRONLY, align 4 %17 = load i32, ptr @O_CREAT, align 4 %18 = or i32 %16, %17 %19 = load i32, ptr @O_TRUNC, align 4 %20 = or i32 %18, %19 %21 = call i32 @open(ptr noundef %15, i32 noundef %20, i32 noundef 384) store i32 %21, ptr %6, align 4 %22 = call i64 @scanf(ptr noundef @.str, ptr noundef %7) %23 = icmp sgt i64 %22, 0 br i1 %23, label %.lr.ph, label %40 .lr.ph: ; preds = %12 br label %24 24: ; preds = %.lr.ph, %24 %25 = load i16, ptr %7, align 2 %26 = trunc i16 %25 to i8 %27 = getelementptr inbounds [2 x i8], ptr %8, i64 0, i64 1 store i8 %26, ptr %27, align 1 %28 = load i16, ptr %7, align 2 %29 = zext i16 %28 to i32 %30 = load i16, ptr @CHAR_BIT, align 2 %31 = zext i16 %30 to i32 %32 = ashr i32 %29, %31 %33 = trunc i32 %32 to i8 %34 = getelementptr inbounds [2 x i8], ptr %8, i64 0, i64 0 store i8 %33, ptr %34, align 1 %35 = load i32, ptr %6, align 4 %36 = getelementptr inbounds [2 x i8], ptr %8, i64 0, i64 0 %37 = call i32 @write(i32 noundef %35, ptr noundef %36, i32 noundef 2) %38 = call i64 @scanf(ptr noundef @.str, ptr noundef %7) %39 = icmp sgt i64 %38, 0 br i1 %39, label %24, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %40 40: ; preds = %._crit_edge, %12 %41 = load i32, ptr %6, align 4 %42 = call i32 @close(i32 noundef %41) store i32 0, ptr %3, align 4 br label %43 43: ; preds = %40, %11 %44 = load i32, ptr %3, align 4 ret i32 %44 } declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @scanf(ptr noundef, ptr 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpicixwhrs.c' source_filename = "/tmp/tmpicixwhrs.c" target datalayout = "e-m:e-p270: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/tmpicixwhrs.c" target datalayout = "e-m:e-p270: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/tmp13f9b5jf.c' source_filename = "/tmp/tmp13f9b5jf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ZhuiYingQuan_Buff_Start(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 %4, align 8 %6 = call i32 @BuffList_Apply_Speed(ptr noundef %5, i32 noundef 100, i32 noundef 1) ret void } declare i32 @BuffList_Apply_Speed(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/tmp13f9b5jf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ZhuiYingQuan_Buff_Start(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 %4, align 8 %6 = call i32 @BuffList_Apply_Speed(ptr noundef %5, i32 noundef 100, i32 noundef 1) ret void } declare i32 @BuffList_Apply_Speed(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/tmpyblwdpv5.c' source_filename = "/tmp/tmpyblwdpv5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bitWrite(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 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %6, align 4 %8 = icmp ne i32 %7, 0 br i1 %8, label %9, label %13 9: ; preds = %3 %10 = load i32, ptr %4, align 4 %11 = load i32, ptr %5, align 4 %12 = call i32 @bitSet(i32 noundef %10, i32 noundef %11) br label %17 13: ; preds = %3 %14 = load i32, ptr %4, align 4 %15 = load i32, ptr %5, align 4 %16 = call i32 @bitClear(i32 noundef %14, i32 noundef %15) br label %17 17: ; preds = %13, %9 %18 = phi i32 [ %12, %9 ], [ %16, %13 ] ret i32 %18 } declare i32 @bitSet(i32 noundef, i32 noundef) #1 declare i32 @bitClear(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/tmpyblwdpv5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bitWrite(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 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %6, align 4 %8 = icmp ne i32 %7, 0 br i1 %8, label %9, label %13 9: ; preds = %3 %10 = load i32, ptr %4, align 4 %11 = load i32, ptr %5, align 4 %12 = call i32 @bitSet(i32 noundef %10, i32 noundef %11) br label %17 13: ; preds = %3 %14 = load i32, ptr %4, align 4 %15 = load i32, ptr %5, align 4 %16 = call i32 @bitClear(i32 noundef %14, i32 noundef %15) br label %17 17: ; preds = %13, %9 %18 = phi i32 [ %12, %9 ], [ %16, %13 ] ret i32 %18 } declare i32 @bitSet(i32 noundef, i32 noundef) #1 declare i32 @bitClear(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/tmpkot10v1z.c' source_filename = "/tmp/tmpkot10v1z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fn77\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @fn77() #0 { %1 = alloca ptr, align 8 %2 = call i32 (...) @rand() %3 = srem i32 %2, 20 %4 = add nsw i32 20, %3 %5 = call ptr @malloc(i32 noundef %4) store ptr %5, ptr %1, align 8 %6 = load ptr, ptr %1, align 8 %7 = call i32 (...) @rand() %8 = srem i32 %7, 20 %9 = add nsw i32 30, %8 %10 = call ptr @realloc(ptr noundef %6, i32 noundef %9) store ptr %10, ptr %1, align 8 %11 = load ptr, ptr %1, align 8 %12 = call i32 @strcpy(ptr noundef %11, ptr noundef @.str) %13 = load ptr, ptr %1, align 8 ret ptr %13 } declare ptr @malloc(i32 noundef) #1 declare i32 @rand(...) #1 declare ptr @realloc(ptr noundef, i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkot10v1z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fn77\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @fn77() #0 { %1 = alloca ptr, align 8 %2 = call i32 (...) @rand() %3 = srem i32 %2, 20 %4 = add nsw i32 20, %3 %5 = call ptr @malloc(i32 noundef %4) store ptr %5, ptr %1, align 8 %6 = load ptr, ptr %1, align 8 %7 = call i32 (...) @rand() %8 = srem i32 %7, 20 %9 = add nsw i32 30, %8 %10 = call ptr @realloc(ptr noundef %6, i32 noundef %9) store ptr %10, ptr %1, align 8 %11 = load ptr, ptr %1, align 8 %12 = call i32 @strcpy(ptr noundef %11, ptr noundef @.str) %13 = load ptr, ptr %1, align 8 ret ptr %13 } declare ptr @malloc(i32 noundef) #1 declare i32 @rand(...) #1 declare ptr @realloc(ptr noundef, i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpt55r03g6.c' source_filename = "/tmp/tmpt55r03g6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @two() #0 { %1 = call i32 (...) @three() ret void } declare i32 @three(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpt55r03g6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @two() #0 { %1 = call i32 (...) @three() ret void } declare i32 @three(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpejkemryn.c' source_filename = "/tmp/tmpejkemryn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @airNormalRand(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 br label %8 8: ; preds = %23, %2 %9 = call i32 (...) @airDrandMT() %10 = mul nsw i32 2, %9 %11 = sub nsw i32 %10, 1 %12 = sitofp i32 %11 to double store double %12, ptr %6, align 8 %13 = call i32 (...) @airDrandMT() %14 = mul nsw i32 2, %13 %15 = sub nsw i32 %14, 1 %16 = sitofp i32 %15 to double store double %16, ptr %7, align 8 %17 = load double, ptr %6, align 8 %18 = load double, ptr %6, align 8 %19 = load double, ptr %7, align 8 %20 = load double, ptr %7, align 8 %21 = fmul double %19, %20 %22 = call double @llvm.fmuladd.f64(double %17, double %18, double %21) store double %22, ptr %5, align 8 br label %23 23: ; preds = %8 %24 = load double, ptr %5, align 8 %25 = fcmp oge double %24, 1.000000e+00 br i1 %25, label %8, label %26, !llvm.loop !6 26: ; preds = %23 %27 = load double, ptr %5, align 8 %28 = call i32 @log(double noundef %27) %29 = mul nsw i32 -2, %28 %30 = sitofp i32 %29 to double %31 = load double, ptr %5, align 8 %32 = fdiv double %30, %31 %33 = fptosi double %32 to i32 %34 = call double @sqrt(i32 noundef %33) store double %34, ptr %5, align 8 %35 = load ptr, ptr %3, align 8 %36 = icmp ne ptr %35, null br i1 %36, label %37, label %42 37: ; preds = %26 %38 = load double, ptr %6, align 8 %39 = load double, ptr %5, align 8 %40 = fmul double %38, %39 %41 = load ptr, ptr %3, align 8 store double %40, ptr %41, align 8 br label %42 42: ; preds = %37, %26 %43 = load ptr, ptr %4, align 8 %44 = icmp ne ptr %43, null br i1 %44, label %45, label %50 45: ; preds = %42 %46 = load double, ptr %7, align 8 %47 = load double, ptr %5, align 8 %48 = fmul double %46, %47 %49 = load ptr, ptr %4, align 8 store double %48, ptr %49, align 8 br label %50 50: ; preds = %45, %42 ret void } declare i32 @airDrandMT(...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare double @sqrt(i32 noundef) #1 declare i32 @log(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpejkemryn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @airNormalRand(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 br label %8 8: ; preds = %23, %2 %9 = call i32 (...) @airDrandMT() %10 = mul nsw i32 2, %9 %11 = sub nsw i32 %10, 1 %12 = sitofp i32 %11 to double store double %12, ptr %6, align 8 %13 = call i32 (...) @airDrandMT() %14 = mul nsw i32 2, %13 %15 = sub nsw i32 %14, 1 %16 = sitofp i32 %15 to double store double %16, ptr %7, align 8 %17 = load double, ptr %6, align 8 %18 = load double, ptr %6, align 8 %19 = load double, ptr %7, align 8 %20 = load double, ptr %7, align 8 %21 = fmul double %19, %20 %22 = call double @llvm.fmuladd.f64(double %17, double %18, double %21) store double %22, ptr %5, align 8 br label %23 23: ; preds = %8 %24 = load double, ptr %5, align 8 %25 = fcmp oge double %24, 1.000000e+00 br i1 %25, label %8, label %26, !llvm.loop !6 26: ; preds = %23 %27 = load double, ptr %5, align 8 %28 = call i32 @log(double noundef %27) %29 = mul nsw i32 -2, %28 %30 = sitofp i32 %29 to double %31 = load double, ptr %5, align 8 %32 = fdiv double %30, %31 %33 = fptosi double %32 to i32 %34 = call double @sqrt(i32 noundef %33) store double %34, ptr %5, align 8 %35 = load ptr, ptr %3, align 8 %36 = icmp ne ptr %35, null br i1 %36, label %37, label %42 37: ; preds = %26 %38 = load double, ptr %6, align 8 %39 = load double, ptr %5, align 8 %40 = fmul double %38, %39 %41 = load ptr, ptr %3, align 8 store double %40, ptr %41, align 8 br label %42 42: ; preds = %37, %26 %43 = load ptr, ptr %4, align 8 %44 = icmp ne ptr %43, null br i1 %44, label %45, label %50 45: ; preds = %42 %46 = load double, ptr %7, align 8 %47 = load double, ptr %5, align 8 %48 = fmul double %46, %47 %49 = load ptr, ptr %4, align 8 store double %48, ptr %49, align 8 br label %50 50: ; preds = %45, %42 ret void } declare i32 @airDrandMT(...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare double @sqrt(i32 noundef) #1 declare i32 @log(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpe53hcuwg.c' source_filename = "/tmp/tmpe53hcuwg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @ispunct(i8 noundef zeroext %0) #0 { %2 = alloca i8, align 1 %3 = alloca i8, align 1 store i8 %0, ptr %3, align 1 %4 = load i8, ptr %3, align 1 %5 = call i64 @isprint(i8 noundef zeroext %4) %6 = icmp ne i64 %5, 0 br i1 %6, label %7, label %24 7: ; preds = %1 %8 = load i8, ptr %3, align 1 %9 = call i32 @islower(i8 noundef zeroext %8) %10 = icmp ne i32 %9, 0 br i1 %10, label %24, label %11 11: ; preds = %7 %12 = load i8, ptr %3, align 1 %13 = call i32 @isupper(i8 noundef zeroext %12) %14 = icmp ne i32 %13, 0 br i1 %14, label %24, label %15 15: ; preds = %11 %16 = load i8, ptr %3, align 1 %17 = call i32 @isspace(i8 noundef zeroext %16) %18 = icmp ne i32 %17, 0 br i1 %18, label %24, label %19 19: ; preds = %15 %20 = load i8, ptr %3, align 1 %21 = call i32 @isdigit(i8 noundef zeroext %20) %22 = icmp ne i32 %21, 0 br i1 %22, label %24, label %23 23: ; preds = %19 store i8 1, ptr %2, align 1 br label %25 24: ; preds = %19, %15, %11, %7, %1 store i8 0, ptr %2, align 1 br label %25 25: ; preds = %24, %23 %26 = load i8, ptr %2, align 1 ret i8 %26 } declare i64 @isprint(i8 noundef zeroext) #1 declare i32 @islower(i8 noundef zeroext) #1 declare i32 @isupper(i8 noundef zeroext) #1 declare i32 @isspace(i8 noundef zeroext) #1 declare i32 @isdigit(i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpe53hcuwg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @ispunct(i8 noundef zeroext %0) #0 { %2 = alloca i8, align 1 %3 = alloca i8, align 1 store i8 %0, ptr %3, align 1 %4 = load i8, ptr %3, align 1 %5 = call i64 @isprint(i8 noundef zeroext %4) %6 = icmp ne i64 %5, 0 br i1 %6, label %7, label %24 7: ; preds = %1 %8 = load i8, ptr %3, align 1 %9 = call i32 @islower(i8 noundef zeroext %8) %10 = icmp ne i32 %9, 0 br i1 %10, label %24, label %11 11: ; preds = %7 %12 = load i8, ptr %3, align 1 %13 = call i32 @isupper(i8 noundef zeroext %12) %14 = icmp ne i32 %13, 0 br i1 %14, label %24, label %15 15: ; preds = %11 %16 = load i8, ptr %3, align 1 %17 = call i32 @isspace(i8 noundef zeroext %16) %18 = icmp ne i32 %17, 0 br i1 %18, label %24, label %19 19: ; preds = %15 %20 = load i8, ptr %3, align 1 %21 = call i32 @isdigit(i8 noundef zeroext %20) %22 = icmp ne i32 %21, 0 br i1 %22, label %24, label %23 23: ; preds = %19 store i8 1, ptr %2, align 1 br label %25 24: ; preds = %19, %15, %11, %7, %1 store i8 0, ptr %2, align 1 br label %25 25: ; preds = %24, %23 %26 = load i8, ptr %2, align 1 ret i8 %26 } declare i64 @isprint(i8 noundef zeroext) #1 declare i32 @islower(i8 noundef zeroext) #1 declare i32 @isupper(i8 noundef zeroext) #1 declare i32 @isspace(i8 noundef zeroext) #1 declare i32 @isdigit(i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpz0zbw2b0.c' source_filename = "/tmp/tmpz0zbw2b0.c" target datalayout = "e-m:e-p270: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 [62 x i8] c" WARNING: Name \22%s\22 has invalid format. Skipping it. Reason: \00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"name is too long.\0A\00", align 1 @.str.2 = private unnamed_addr constant [58 x i8] c"first name character of sprite is not an allowed letter.\0A\00", align 1 @.str.3 = private unnamed_addr constant [42 x i8] c"some characters in name are not allowed.\0A\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"unknown.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @check_name(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %8 = load ptr, ptr %3, align 8 %9 = call i32 @strlen(ptr noundef %8) store i32 %9, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = icmp sgt i32 %10, 50 br i1 %11, label %12, label %13 12: ; preds = %2 store i32 1, ptr %5, align 4 br label %13 13: ; preds = %12, %2 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds i8, ptr %14, i64 0 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = icmp sge i32 %17, 97 br i1 %18, label %19, label %25 19: ; preds = %13 %20 = load ptr, ptr %3, align 8 %21 = getelementptr inbounds i8, ptr %20, i64 0 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = icmp sle i32 %23, 122 br i1 %24, label %41, label %25 25: ; preds = %19, %13 %26 = load ptr, ptr %3, align 8 %27 = getelementptr inbounds i8, ptr %26, i64 0 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = icmp sge i32 %29, 65 br i1 %30, label %31, label %37 31: ; preds = %25 %32 = load ptr, ptr %3, align 8 %33 = getelementptr inbounds i8, ptr %32, i64 0 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = icmp sle i32 %35, 90 br i1 %36, label %41, label %37 37: ; preds = %31, %25 %38 = load i32, ptr %4, align 4 %39 = icmp eq i32 %38, 1 br i1 %39, label %40, label %41 40: ; preds = %37 store i32 2, ptr %5, align 4 br label %41 41: ; preds = %40, %37, %31, %19 store i32 1, ptr %7, align 4 br label %42 42: ; preds = %104, %41 %43 = load i32, ptr %7, align 4 %44 = load i32, ptr %6, align 4 %45 = icmp slt i32 %43, %44 br i1 %45, label %46, label %107 46: ; preds = %42 %47 = load ptr, ptr %3, align 8 %48 = load i32, ptr %7, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i8, ptr %47, i64 %49 %51 = load i8, ptr %50, align 1 %52 = sext i8 %51 to i32 %53 = icmp sge i32 %52, 97 br i1 %53, label %54, label %62 54: ; preds = %46 %55 = load ptr, ptr %3, align 8 %56 = load i32, ptr %7, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds i8, ptr %55, i64 %57 %59 = load i8, ptr %58, align 1 %60 = sext i8 %59 to i32 %61 = icmp sle i32 %60, 122 br i1 %61, label %103, label %62 62: ; preds = %54, %46 %63 = load ptr, ptr %3, align 8 %64 = load i32, ptr %7, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds i8, ptr %63, i64 %65 %67 = load i8, ptr %66, align 1 %68 = sext i8 %67 to i32 %69 = icmp sge i32 %68, 65 br i1 %69, label %70, label %78 70: ; preds = %62 %71 = load ptr, ptr %3, align 8 %72 = load i32, ptr %7, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds i8, ptr %71, i64 %73 %75 = load i8, ptr %74, align 1 %76 = sext i8 %75 to i32 %77 = icmp sle i32 %76, 90 br i1 %77, label %103, label %78 78: ; preds = %70, %62 %79 = load ptr, ptr %3, align 8 %80 = load i32, ptr %7, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds i8, ptr %79, i64 %81 %83 = load i8, ptr %82, align 1 %84 = sext i8 %83 to i32 %85 = icmp sge i32 %84, 48 br i1 %85, label %86, label %94 86: ; preds = %78 %87 = load ptr, ptr %3, align 8 %88 = load i32, ptr %7, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds i8, ptr %87, i64 %89 %91 = load i8, ptr %90, align 1 %92 = sext i8 %91 to i32 %93 = icmp sle i32 %92, 57 br i1 %93, label %103, label %94 94: ; preds = %86, %78 %95 = load ptr, ptr %3, align 8 %96 = load i32, ptr %7, 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 = icmp sge i32 %100, 95 br i1 %101, label %103, label %102 102: ; preds = %94 store i32 3, ptr %5, align 4 br label %107 103: ; preds = %94, %86, %70, %54 br label %104 104: ; preds = %103 %105 = load i32, ptr %7, align 4 %106 = add nsw i32 %105, 1 store i32 %106, ptr %7, align 4 br label %42, !llvm.loop !6 107: ; preds = %102, %42 %108 = load i32, ptr %5, align 4 %109 = icmp ne i32 %108, 0 br i1 %109, label %110, label %128 110: ; preds = %107 %111 = load i32, ptr @stderr, align 4 %112 = load ptr, ptr %3, align 8 %113 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %111, ptr noundef @.str, ptr noundef %112) %114 = load i32, ptr %5, align 4 switch i32 %114, label %124 [ i32 1, label %115 i32 2, label %118 i32 3, label %121 ] 115: ; preds = %110 %116 = load i32, ptr @stderr, align 4 %117 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %116, ptr noundef @.str.1) br label %127 118: ; preds = %110 %119 = load i32, ptr @stderr, align 4 %120 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %119, ptr noundef @.str.2) br label %127 121: ; preds = %110 %122 = load i32, ptr @stderr, align 4 %123 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %122, ptr noundef @.str.3) br label %127 124: ; preds = %110 %125 = load i32, ptr @stderr, align 4 %126 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %125, ptr noundef @.str.4) br label %127 127: ; preds = %124, %121, %118, %115 br label %128 128: ; preds = %127, %107 %129 = load i32, ptr %5, align 4 ret i32 %129 } declare i32 @strlen(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz0zbw2b0.c" target datalayout = "e-m:e-p270: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 [62 x i8] c" WARNING: Name \22%s\22 has invalid format. Skipping it. Reason: \00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"name is too long.\0A\00", align 1 @.str.2 = private unnamed_addr constant [58 x i8] c"first name character of sprite is not an allowed letter.\0A\00", align 1 @.str.3 = private unnamed_addr constant [42 x i8] c"some characters in name are not allowed.\0A\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"unknown.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @check_name(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %8 = load ptr, ptr %3, align 8 %9 = call i32 @strlen(ptr noundef %8) store i32 %9, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = icmp sgt i32 %10, 50 br i1 %11, label %12, label %13 12: ; preds = %2 store i32 1, ptr %5, align 4 br label %13 13: ; preds = %12, %2 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds i8, ptr %14, i64 0 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = icmp sge i32 %17, 97 br i1 %18, label %19, label %25 19: ; preds = %13 %20 = load ptr, ptr %3, align 8 %21 = getelementptr inbounds i8, ptr %20, i64 0 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = icmp sle i32 %23, 122 br i1 %24, label %41, label %25 25: ; preds = %19, %13 %26 = load ptr, ptr %3, align 8 %27 = getelementptr inbounds i8, ptr %26, i64 0 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = icmp sge i32 %29, 65 br i1 %30, label %31, label %37 31: ; preds = %25 %32 = load ptr, ptr %3, align 8 %33 = getelementptr inbounds i8, ptr %32, i64 0 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = icmp sle i32 %35, 90 br i1 %36, label %41, label %37 37: ; preds = %31, %25 %38 = load i32, ptr %4, align 4 %39 = icmp eq i32 %38, 1 br i1 %39, label %40, label %41 40: ; preds = %37 store i32 2, ptr %5, align 4 br label %41 41: ; preds = %40, %37, %31, %19 store i32 1, ptr %7, align 4 %42 = load i32, ptr %7, align 4 %43 = load i32, ptr %6, align 4 %44 = icmp slt i32 %42, %43 br i1 %44, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %41 br label %45 45: ; preds = %.lr.ph, %103 %46 = load ptr, ptr %3, align 8 %47 = load i32, ptr %7, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i8, ptr %46, i64 %48 %50 = load i8, ptr %49, align 1 %51 = sext i8 %50 to i32 %52 = icmp sge i32 %51, 97 br i1 %52, label %53, label %61 53: ; preds = %45 %54 = load ptr, ptr %3, align 8 %55 = load i32, ptr %7, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds i8, ptr %54, i64 %56 %58 = load i8, ptr %57, align 1 %59 = sext i8 %58 to i32 %60 = icmp sle i32 %59, 122 br i1 %60, label %102, label %61 61: ; preds = %53, %45 %62 = load ptr, ptr %3, align 8 %63 = load i32, ptr %7, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds i8, ptr %62, i64 %64 %66 = load i8, ptr %65, align 1 %67 = sext i8 %66 to i32 %68 = icmp sge i32 %67, 65 br i1 %68, label %69, label %77 69: ; preds = %61 %70 = load ptr, ptr %3, align 8 %71 = load i32, ptr %7, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds i8, ptr %70, i64 %72 %74 = load i8, ptr %73, align 1 %75 = sext i8 %74 to i32 %76 = icmp sle i32 %75, 90 br i1 %76, label %102, label %77 77: ; preds = %69, %61 %78 = load ptr, ptr %3, align 8 %79 = load i32, ptr %7, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds i8, ptr %78, i64 %80 %82 = load i8, ptr %81, align 1 %83 = sext i8 %82 to i32 %84 = icmp sge i32 %83, 48 br i1 %84, label %85, label %93 85: ; preds = %77 %86 = load ptr, ptr %3, align 8 %87 = load i32, ptr %7, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds i8, ptr %86, i64 %88 %90 = load i8, ptr %89, align 1 %91 = sext i8 %90 to i32 %92 = icmp sle i32 %91, 57 br i1 %92, label %102, label %93 93: ; preds = %85, %77 %94 = load ptr, ptr %3, align 8 %95 = load i32, ptr %7, align 4 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds i8, ptr %94, i64 %96 %98 = load i8, ptr %97, align 1 %99 = sext i8 %98 to i32 %100 = icmp sge i32 %99, 95 br i1 %100, label %102, label %101 101: ; preds = %93 store i32 3, ptr %5, align 4 br label %109 102: ; preds = %93, %85, %69, %53 br label %103 103: ; preds = %102 %104 = load i32, ptr %7, align 4 %105 = add nsw i32 %104, 1 store i32 %105, ptr %7, align 4 %106 = load i32, ptr %7, align 4 %107 = load i32, ptr %6, align 4 %108 = icmp slt i32 %106, %107 br i1 %108, label %45, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %103 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %41 br label %109 109: ; preds = %.loopexit, %101 %110 = load i32, ptr %5, align 4 %111 = icmp ne i32 %110, 0 br i1 %111, label %112, label %130 112: ; preds = %109 %113 = load i32, ptr @stderr, align 4 %114 = load ptr, ptr %3, align 8 %115 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %113, ptr noundef @.str, ptr noundef %114) %116 = load i32, ptr %5, align 4 switch i32 %116, label %126 [ i32 1, label %117 i32 2, label %120 i32 3, label %123 ] 117: ; preds = %112 %118 = load i32, ptr @stderr, align 4 %119 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %118, ptr noundef @.str.1) br label %129 120: ; preds = %112 %121 = load i32, ptr @stderr, align 4 %122 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %121, ptr noundef @.str.2) br label %129 123: ; preds = %112 %124 = load i32, ptr @stderr, align 4 %125 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %124, ptr noundef @.str.3) br label %129 126: ; preds = %112 %127 = load i32, ptr @stderr, align 4 %128 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %127, ptr noundef @.str.4) br label %129 129: ; preds = %126, %123, %120, %117 br label %130 130: ; preds = %129, %109 %131 = load i32, ptr %5, align 4 ret i32 %131 } declare i32 @strlen(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpimq_ayf2.c' source_filename = "/tmp/tmpimq_ayf2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @symm(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 %7 = load double, ptr %3, align 8 %8 = call double @fmod(double noundef %7, double noundef 0x401921FB54442D18) #3 store double %8, ptr %5, align 8 %9 = load double, ptr %5, align 8 %10 = fsub double %9, 0x400921FB54442D18 store double %10, ptr %6, align 8 %11 = load double, ptr %6, align 8 %12 = call double @llvm.fabs.f64(double %11) %13 = load double, ptr %4, align 8 %14 = fsub double 1.000000e+00, %13 %15 = fmul double %14, 0x3FF921FB54442D18 %16 = fcmp olt double %12, %15 br i1 %16, label %17, label %22 17: ; preds = %2 %18 = load double, ptr %4, align 8 %19 = fsub double 1.000000e+00, %18 %20 = load double, ptr %6, align 8 %21 = fdiv double %20, %19 store double %21, ptr %6, align 8 br label %44 22: ; preds = %2 %23 = load double, ptr %6, align 8 %24 = fcmp ogt double %23, 0.000000e+00 br i1 %24, label %25, label %32 25: ; preds = %22 %26 = load double, ptr %6, align 8 %27 = fsub double 0x400921FB54442D18, %26 %28 = load double, ptr %4, align 8 %29 = fadd double %28, 1.000000e+00 %30 = fdiv double %27, %29 %31 = fsub double 0x400921FB54442D18, %30 store double %31, ptr %6, align 8 br label %43 32: ; preds = %22 %33 = load double, ptr %6, align 8 %34 = fcmp olt double %33, 0.000000e+00 br i1 %34, label %35, label %42 35: ; preds = %32 %36 = load double, ptr %6, align 8 %37 = fadd double 0x400921FB54442D18, %36 %38 = load double, ptr %4, align 8 %39 = fadd double %38, 1.000000e+00 %40 = fdiv double %37, %39 %41 = fadd double 0x400921FB54442D18, %40 store double %41, ptr %6, align 8 br label %42 42: ; preds = %35, %32 br label %43 43: ; preds = %42, %25 br label %44 44: ; preds = %43, %17 %45 = load double, ptr %6, align 8 %46 = fadd double %45, 0x400921FB54442D18 store double %46, ptr %6, align 8 %47 = load double, ptr %3, align 8 %48 = load double, ptr %5, align 8 %49 = fsub double %47, %48 %50 = load double, ptr %6, align 8 %51 = fadd double %49, %50 ret double %51 } ; Function Attrs: nounwind declare double @fmod(double noundef, double noundef) #1 ; 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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { 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/tmpimq_ayf2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @symm(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 %7 = load double, ptr %3, align 8 %8 = call double @fmod(double noundef %7, double noundef 0x401921FB54442D18) #3 store double %8, ptr %5, align 8 %9 = load double, ptr %5, align 8 %10 = fsub double %9, 0x400921FB54442D18 store double %10, ptr %6, align 8 %11 = load double, ptr %6, align 8 %12 = call double @llvm.fabs.f64(double %11) %13 = load double, ptr %4, align 8 %14 = fsub double 1.000000e+00, %13 %15 = fmul double %14, 0x3FF921FB54442D18 %16 = fcmp olt double %12, %15 br i1 %16, label %17, label %22 17: ; preds = %2 %18 = load double, ptr %4, align 8 %19 = fsub double 1.000000e+00, %18 %20 = load double, ptr %6, align 8 %21 = fdiv double %20, %19 store double %21, ptr %6, align 8 br label %44 22: ; preds = %2 %23 = load double, ptr %6, align 8 %24 = fcmp ogt double %23, 0.000000e+00 br i1 %24, label %25, label %32 25: ; preds = %22 %26 = load double, ptr %6, align 8 %27 = fsub double 0x400921FB54442D18, %26 %28 = load double, ptr %4, align 8 %29 = fadd double %28, 1.000000e+00 %30 = fdiv double %27, %29 %31 = fsub double 0x400921FB54442D18, %30 store double %31, ptr %6, align 8 br label %43 32: ; preds = %22 %33 = load double, ptr %6, align 8 %34 = fcmp olt double %33, 0.000000e+00 br i1 %34, label %35, label %42 35: ; preds = %32 %36 = load double, ptr %6, align 8 %37 = fadd double 0x400921FB54442D18, %36 %38 = load double, ptr %4, align 8 %39 = fadd double %38, 1.000000e+00 %40 = fdiv double %37, %39 %41 = fadd double 0x400921FB54442D18, %40 store double %41, ptr %6, align 8 br label %42 42: ; preds = %35, %32 br label %43 43: ; preds = %42, %25 br label %44 44: ; preds = %43, %17 %45 = load double, ptr %6, align 8 %46 = fadd double %45, 0x400921FB54442D18 store double %46, ptr %6, align 8 %47 = load double, ptr %3, align 8 %48 = load double, ptr %5, align 8 %49 = fsub double %47, %48 %50 = load double, ptr %6, align 8 %51 = fadd double %49, %50 ret double %51 } ; Function Attrs: nounwind declare double @fmod(double noundef, double noundef) #1 ; 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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { 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/tmpigatefks.c' source_filename = "/tmp/tmpigatefks.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"memory allocation rejected!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @MYmalloc(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 store i64 %0, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = call ptr @malloc(i64 noundef %4) #3 store ptr %5, ptr %3, align 8 %6 = icmp ne ptr %5, null br i1 %6, label %9, label %7 7: ; preds = %1 %8 = call i32 @nc_error(ptr noundef @.str) br label %9 9: ; preds = %7, %1 %10 = load ptr, ptr %3, align 8 ret ptr %10 } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 declare i32 @nc_error(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 = { 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/tmpigatefks.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"memory allocation rejected!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @MYmalloc(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 store i64 %0, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = call ptr @malloc(i64 noundef %4) #3 store ptr %5, ptr %3, align 8 %6 = icmp ne ptr %5, null br i1 %6, label %9, label %7 7: ; preds = %1 %8 = call i32 @nc_error(ptr noundef @.str) br label %9 9: ; preds = %7, %1 %10 = load ptr, ptr %3, align 8 ret ptr %10 } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 declare i32 @nc_error(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 = { 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/tmp5ofl3beq.c' source_filename = "/tmp/tmp5ofl3beq.c" target datalayout = "e-m:e-p270: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 [48 x i8] c"Usage: ./make_threads <no_threads> <sum_up_to>\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) ret void } declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5ofl3beq.c" target datalayout = "e-m:e-p270: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 [48 x i8] c"Usage: ./make_threads <no_threads> <sum_up_to>\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) ret void } declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpoyt7afeh.c' source_filename = "/tmp/tmpoyt7afeh.c" target datalayout = "e-m:e-p270: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/tmpoyt7afeh.c" target datalayout = "e-m:e-p270: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/tmplw4qxfp3.c' source_filename = "/tmp/tmplw4qxfp3.c" target datalayout = "e-m:e-p270: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/tmplw4qxfp3.c" target datalayout = "e-m:e-p270: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/tmp385rq35y.c' source_filename = "/tmp/tmp385rq35y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isCiaFile(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i32 @strlen(ptr noundef %6) store i32 %7, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %8, 4 br i1 %9, label %10, label %11 10: ; preds = %1 store i32 0, ptr %2, align 4 br label %60 11: ; preds = %1 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %4, align 4 %14 = sub nsw i32 %13, 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %12, i64 %15 store ptr %16, ptr %5, align 8 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds i8, ptr %17, i64 0 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp eq i32 %20, 46 br i1 %21, label %22, label %59 22: ; preds = %11 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds i8, ptr %23, i64 1 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp eq i32 %26, 99 br i1 %27, label %34, label %28 28: ; preds = %22 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds i8, ptr %29, i64 1 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = icmp eq i32 %32, 67 br i1 %33, label %34, label %59 34: ; preds = %28, %22 %35 = load ptr, ptr %5, align 8 %36 = getelementptr inbounds i8, ptr %35, i64 2 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = icmp eq i32 %38, 105 br i1 %39, label %46, label %40 40: ; preds = %34 %41 = load ptr, ptr %5, align 8 %42 = getelementptr inbounds i8, ptr %41, i64 2 %43 = load i8, ptr %42, align 1 %44 = sext i8 %43 to i32 %45 = icmp eq i32 %44, 73 br i1 %45, label %46, label %59 46: ; preds = %40, %34 %47 = load ptr, ptr %5, align 8 %48 = getelementptr inbounds i8, ptr %47, i64 3 %49 = load i8, ptr %48, align 1 %50 = sext i8 %49 to i32 %51 = icmp eq i32 %50, 97 br i1 %51, label %58, label %52 52: ; preds = %46 %53 = load ptr, ptr %5, align 8 %54 = getelementptr inbounds i8, ptr %53, i64 3 %55 = load i8, ptr %54, align 1 %56 = sext i8 %55 to i32 %57 = icmp eq i32 %56, 65 br i1 %57, label %58, label %59 58: ; preds = %52, %46 store i32 1, ptr %2, align 4 br label %60 59: ; preds = %52, %40, %28, %11 store i32 0, ptr %2, align 4 br label %60 60: ; preds = %59, %58, %10 %61 = load i32, ptr %2, align 4 ret i32 %61 } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp385rq35y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isCiaFile(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i32 @strlen(ptr noundef %6) store i32 %7, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %8, 4 br i1 %9, label %10, label %11 10: ; preds = %1 store i32 0, ptr %2, align 4 br label %60 11: ; preds = %1 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %4, align 4 %14 = sub nsw i32 %13, 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %12, i64 %15 store ptr %16, ptr %5, align 8 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds i8, ptr %17, i64 0 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp eq i32 %20, 46 br i1 %21, label %22, label %59 22: ; preds = %11 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds i8, ptr %23, i64 1 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp eq i32 %26, 99 br i1 %27, label %34, label %28 28: ; preds = %22 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds i8, ptr %29, i64 1 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = icmp eq i32 %32, 67 br i1 %33, label %34, label %59 34: ; preds = %28, %22 %35 = load ptr, ptr %5, align 8 %36 = getelementptr inbounds i8, ptr %35, i64 2 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = icmp eq i32 %38, 105 br i1 %39, label %46, label %40 40: ; preds = %34 %41 = load ptr, ptr %5, align 8 %42 = getelementptr inbounds i8, ptr %41, i64 2 %43 = load i8, ptr %42, align 1 %44 = sext i8 %43 to i32 %45 = icmp eq i32 %44, 73 br i1 %45, label %46, label %59 46: ; preds = %40, %34 %47 = load ptr, ptr %5, align 8 %48 = getelementptr inbounds i8, ptr %47, i64 3 %49 = load i8, ptr %48, align 1 %50 = sext i8 %49 to i32 %51 = icmp eq i32 %50, 97 br i1 %51, label %58, label %52 52: ; preds = %46 %53 = load ptr, ptr %5, align 8 %54 = getelementptr inbounds i8, ptr %53, i64 3 %55 = load i8, ptr %54, align 1 %56 = sext i8 %55 to i32 %57 = icmp eq i32 %56, 65 br i1 %57, label %58, label %59 58: ; preds = %52, %46 store i32 1, ptr %2, align 4 br label %60 59: ; preds = %52, %40, %28, %11 store i32 0, ptr %2, align 4 br label %60 60: ; preds = %59, %58, %10 %61 = load i32, ptr %2, align 4 ret i32 %61 } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpl_9ome_u.c' source_filename = "/tmp/tmpl_9ome_u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpl_9ome_u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphytbh5_9.c' source_filename = "/tmp/tmphytbh5_9.c" target datalayout = "e-m:e-p270: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"USAGE: %s filename [trixel]\0A\00", align 1 @.str.1 = private unnamed_addr constant [51 x i8] c"Designed for use only with KStars star data files\0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.3 = private unnamed_addr constant [48 x i8] c"ERROR: Could not open file %s for binary read.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 -500, ptr %8, align 4 store ptr null, ptr %7, align 8 %9 = load i32, ptr %4, align 4 %10 = icmp sle i32 %9, 1 br i1 %10, label %11, label %19 11: ; preds = %2 %12 = load i32, ptr @stderr, align 4 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 0 %15 = load ptr, ptr %14, align 8 %16 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str, ptr noundef %15) %17 = load i32, ptr @stderr, align 4 %18 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %17, ptr noundef @.str.1) store i32 1, ptr %3, align 4 br label %60 19: ; preds = %2 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 1 %22 = load ptr, ptr %21, align 8 %23 = call ptr @fopen(ptr noundef %22, ptr noundef @.str.2) store ptr %23, ptr %6, align 8 %24 = load ptr, ptr %6, align 8 %25 = icmp eq ptr %24, null br i1 %25, label %26, label %32 26: ; preds = %19 %27 = load i32, ptr @stderr, align 4 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds ptr, ptr %28, i64 1 %30 = load ptr, ptr %29, align 8 %31 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %27, ptr noundef @.str.3, ptr noundef %30) store i32 1, ptr %3, align 4 br label %60 32: ; preds = %19 %33 = load ptr, ptr %6, align 8 %34 = call i32 @readFileHeader(ptr noundef %33) %35 = load ptr, ptr %6, align 8 %36 = call i32 @verifyIndexValidity(ptr noundef %35) %37 = load ptr, ptr %6, align 8 %38 = call i32 @verifyStarData(ptr noundef %37) %39 = load i32, ptr %4, align 4 %40 = icmp sgt i32 %39, 2 br i1 %40, label %41, label %51 41: ; preds = %32 %42 = load ptr, ptr %6, align 8 %43 = call i32 @rewind(ptr noundef %42) %44 = load ptr, ptr %6, align 8 %45 = load ptr, ptr %5, align 8 %46 = getelementptr inbounds ptr, ptr %45, i64 2 %47 = load ptr, ptr %46, align 8 %48 = call i32 @atoi(ptr noundef %47) %49 = load ptr, ptr %7, align 8 %50 = call i32 @readStarList(ptr noundef %44, i32 noundef %48, ptr noundef %49) br label %51 51: ; preds = %41, %32 %52 = load ptr, ptr %6, align 8 %53 = call i32 @fclose(ptr noundef %52) %54 = load ptr, ptr %7, align 8 %55 = icmp ne ptr %54, null br i1 %55, label %56, label %59 56: ; preds = %51 %57 = load ptr, ptr %7, align 8 %58 = call i32 @fclose(ptr noundef %57) br label %59 59: ; preds = %56, %51 store i32 0, ptr %3, align 4 br label %60 60: ; preds = %59, %26, %11 %61 = load i32, ptr %3, align 4 ret i32 %61 } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @readFileHeader(ptr noundef) #1 declare i32 @verifyIndexValidity(ptr noundef) #1 declare i32 @verifyStarData(ptr noundef) #1 declare i32 @rewind(ptr noundef) #1 declare i32 @readStarList(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphytbh5_9.c" target datalayout = "e-m:e-p270: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"USAGE: %s filename [trixel]\0A\00", align 1 @.str.1 = private unnamed_addr constant [51 x i8] c"Designed for use only with KStars star data files\0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.3 = private unnamed_addr constant [48 x i8] c"ERROR: Could not open file %s for binary read.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 -500, ptr %8, align 4 store ptr null, ptr %7, align 8 %9 = load i32, ptr %4, align 4 %10 = icmp sle i32 %9, 1 br i1 %10, label %11, label %19 11: ; preds = %2 %12 = load i32, ptr @stderr, align 4 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 0 %15 = load ptr, ptr %14, align 8 %16 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str, ptr noundef %15) %17 = load i32, ptr @stderr, align 4 %18 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %17, ptr noundef @.str.1) store i32 1, ptr %3, align 4 br label %60 19: ; preds = %2 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 1 %22 = load ptr, ptr %21, align 8 %23 = call ptr @fopen(ptr noundef %22, ptr noundef @.str.2) store ptr %23, ptr %6, align 8 %24 = load ptr, ptr %6, align 8 %25 = icmp eq ptr %24, null br i1 %25, label %26, label %32 26: ; preds = %19 %27 = load i32, ptr @stderr, align 4 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds ptr, ptr %28, i64 1 %30 = load ptr, ptr %29, align 8 %31 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %27, ptr noundef @.str.3, ptr noundef %30) store i32 1, ptr %3, align 4 br label %60 32: ; preds = %19 %33 = load ptr, ptr %6, align 8 %34 = call i32 @readFileHeader(ptr noundef %33) %35 = load ptr, ptr %6, align 8 %36 = call i32 @verifyIndexValidity(ptr noundef %35) %37 = load ptr, ptr %6, align 8 %38 = call i32 @verifyStarData(ptr noundef %37) %39 = load i32, ptr %4, align 4 %40 = icmp sgt i32 %39, 2 br i1 %40, label %41, label %51 41: ; preds = %32 %42 = load ptr, ptr %6, align 8 %43 = call i32 @rewind(ptr noundef %42) %44 = load ptr, ptr %6, align 8 %45 = load ptr, ptr %5, align 8 %46 = getelementptr inbounds ptr, ptr %45, i64 2 %47 = load ptr, ptr %46, align 8 %48 = call i32 @atoi(ptr noundef %47) %49 = load ptr, ptr %7, align 8 %50 = call i32 @readStarList(ptr noundef %44, i32 noundef %48, ptr noundef %49) br label %51 51: ; preds = %41, %32 %52 = load ptr, ptr %6, align 8 %53 = call i32 @fclose(ptr noundef %52) %54 = load ptr, ptr %7, align 8 %55 = icmp ne ptr %54, null br i1 %55, label %56, label %59 56: ; preds = %51 %57 = load ptr, ptr %7, align 8 %58 = call i32 @fclose(ptr noundef %57) br label %59 59: ; preds = %56, %51 store i32 0, ptr %3, align 4 br label %60 60: ; preds = %59, %26, %11 %61 = load i32, ptr %3, align 4 ret i32 %61 } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @readFileHeader(ptr noundef) #1 declare i32 @verifyIndexValidity(ptr noundef) #1 declare i32 @verifyStarData(ptr noundef) #1 declare i32 @rewind(ptr noundef) #1 declare i32 @readStarList(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpz9wsov_8.c' source_filename = "/tmp/tmpz9wsov_8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 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_isalnum.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isalnum should be 0 for 0xcc\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isalnum_0xcc() #0 { %1 = call i64 @isalnum(i32 noundef 204) %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 1025, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isalnum(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/tmpz9wsov_8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 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_isalnum.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isalnum should be 0 for 0xcc\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isalnum_0xcc() #0 { %1 = call i64 @isalnum(i32 noundef 204) %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 1025, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isalnum(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/tmpeltykyht.c' source_filename = "/tmp/tmpeltykyht.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"27 C a F = %f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str, i32 noundef 80) 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/tmpeltykyht.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"27 C a F = %f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str, i32 noundef 80) 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/tmpx27q0jah.c' source_filename = "/tmp/tmpx27q0jah.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dict_iter_free(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/tmpx27q0jah.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dict_iter_free(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/tmpssolp7be.c' source_filename = "/tmp/tmpssolp7be.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @bufwrite_a.buffer = internal global [1024 x i8] zeroinitializer, align 16 @bufwrite_a.bufptr = internal global ptr @bufwrite_a.buffer, align 8 @.str = private unnamed_addr constant [11 x i8] c"buffer:%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @bufwrite_a(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 br label %7 7: ; preds = %27, %2 %8 = load i32, ptr %4, align 4 %9 = icmp sgt i32 %8, 0 br i1 %9, label %10, label %44 10: ; preds = %7 %11 = load ptr, ptr @bufwrite_a.bufptr, align 8 %12 = icmp eq ptr %11, getelementptr inbounds ([1024 x i8], ptr @bufwrite_a.buffer, i64 1, i64 0) br i1 %12, label %13, label %14 13: ; preds = %10 br label %14 14: ; preds = %13, %10 %15 = load ptr, ptr @bufwrite_a.bufptr, align 8 %16 = ptrtoint ptr %15 to i64 %17 = sub i64 %16, ptrtoint (ptr @bufwrite_a.buffer to i64) %18 = sub nsw i64 1024, %17 %19 = trunc i64 %18 to i32 store i32 %19, ptr %6, align 4 %20 = load i32, ptr %4, align 4 %21 = load i32, ptr %6, align 4 %22 = icmp sgt i32 %20, %21 br i1 %22, label %23, label %25 23: ; preds = %14 %24 = load i32, ptr %6, align 4 br label %27 25: ; preds = %14 %26 = load i32, ptr %4, align 4 br label %27 27: ; preds = %25, %23 %28 = phi i32 [ %24, %23 ], [ %26, %25 ] store i32 %28, ptr %5, align 4 %29 = load ptr, ptr @bufwrite_a.bufptr, align 8 %30 = load ptr, ptr %3, align 8 %31 = load i32, ptr %5, align 4 %32 = call i32 @memcpy_a(ptr noundef %29, ptr noundef %30, i32 noundef %31) %33 = load i32, ptr %5, align 4 %34 = load ptr, ptr @bufwrite_a.bufptr, align 8 %35 = sext i32 %33 to i64 %36 = getelementptr inbounds i8, ptr %34, i64 %35 store ptr %36, ptr @bufwrite_a.bufptr, align 8 %37 = load i32, ptr %5, align 4 %38 = load ptr, ptr %3, align 8 %39 = sext i32 %37 to i64 %40 = getelementptr inbounds i8, ptr %38, i64 %39 store ptr %40, ptr %3, align 8 %41 = load i32, ptr %5, align 4 %42 = load i32, ptr %4, align 4 %43 = sub nsw i32 %42, %41 store i32 %43, ptr %4, align 4 br label %7, !llvm.loop !6 44: ; preds = %7 %45 = call i32 @printf(ptr noundef @.str, ptr noundef @bufwrite_a.buffer) ret void } declare i32 @memcpy_a(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpssolp7be.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @bufwrite_a.buffer = internal global [1024 x i8] zeroinitializer, align 16 @bufwrite_a.bufptr = internal global ptr @bufwrite_a.buffer, align 8 @.str = private unnamed_addr constant [11 x i8] c"buffer:%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @bufwrite_a(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp sgt i32 %7, 0 br i1 %8, label %.lr.ph, label %45 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %26 %10 = load ptr, ptr @bufwrite_a.bufptr, align 8 %11 = icmp eq ptr %10, getelementptr inbounds ([1024 x i8], ptr @bufwrite_a.buffer, i64 1, i64 0) br i1 %11, label %12, label %13 12: ; preds = %9 br label %13 13: ; preds = %12, %9 %14 = load ptr, ptr @bufwrite_a.bufptr, align 8 %15 = ptrtoint ptr %14 to i64 %16 = sub i64 %15, ptrtoint (ptr @bufwrite_a.buffer to i64) %17 = sub nsw i64 1024, %16 %18 = trunc i64 %17 to i32 store i32 %18, ptr %6, align 4 %19 = load i32, ptr %4, align 4 %20 = load i32, ptr %6, align 4 %21 = icmp sgt i32 %19, %20 br i1 %21, label %22, label %24 22: ; preds = %13 %23 = load i32, ptr %6, align 4 br label %26 24: ; preds = %13 %25 = load i32, ptr %4, align 4 br label %26 26: ; preds = %24, %22 %27 = phi i32 [ %23, %22 ], [ %25, %24 ] store i32 %27, ptr %5, align 4 %28 = load ptr, ptr @bufwrite_a.bufptr, align 8 %29 = load ptr, ptr %3, align 8 %30 = load i32, ptr %5, align 4 %31 = call i32 @memcpy_a(ptr noundef %28, ptr noundef %29, i32 noundef %30) %32 = load i32, ptr %5, align 4 %33 = load ptr, ptr @bufwrite_a.bufptr, align 8 %34 = sext i32 %32 to i64 %35 = getelementptr inbounds i8, ptr %33, i64 %34 store ptr %35, ptr @bufwrite_a.bufptr, align 8 %36 = load i32, ptr %5, align 4 %37 = load ptr, ptr %3, align 8 %38 = sext i32 %36 to i64 %39 = getelementptr inbounds i8, ptr %37, i64 %38 store ptr %39, ptr %3, align 8 %40 = load i32, ptr %5, align 4 %41 = load i32, ptr %4, align 4 %42 = sub nsw i32 %41, %40 store i32 %42, ptr %4, align 4 %43 = load i32, ptr %4, align 4 %44 = icmp sgt i32 %43, 0 br i1 %44, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %45 45: ; preds = %._crit_edge, %2 %46 = call i32 @printf(ptr noundef @.str, ptr noundef @bufwrite_a.buffer) ret void } declare i32 @memcpy_a(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpr8sp8x48.c' source_filename = "/tmp/tmpr8sp8x48.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"good.in\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"%d %d %d %d\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"It's all good\0A\00", align 1 @.str.5 = private unnamed_addr constant [21 x i8] c"We need to fix this\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 %9 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %9, ptr %2, align 8 %10 = load ptr, ptr %2, align 8 %11 = call i32 (ptr, ptr, ptr, ...) @fscanf(ptr noundef %10, ptr noundef @.str.2, ptr noundef %3) store i32 0, ptr %4, align 4 br label %12 12: ; preds = %31, %0 %13 = load i32, ptr %4, align 4 %14 = load i32, ptr %3, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %34 16: ; preds = %12 %17 = load ptr, ptr %2, align 8 %18 = call i32 (ptr, ptr, ptr, ...) @fscanf(ptr noundef %17, ptr noundef @.str.3, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) %19 = load i32, ptr %5, align 4 %20 = load i32, ptr %7, align 4 %21 = icmp eq i32 %19, %20 br i1 %21, label %26, label %22 22: ; preds = %16 %23 = load i32, ptr %6, align 4 %24 = load i32, ptr %8, align 4 %25 = icmp eq i32 %23, %24 br i1 %25, label %26, label %28 26: ; preds = %22, %16 %27 = call i32 @printf(ptr noundef @.str.4) br label %30 28: ; preds = %22 %29 = call i32 @printf(ptr noundef @.str.5) br label %30 30: ; preds = %28, %26 br label %31 31: ; preds = %30 %32 = load i32, ptr %4, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %4, align 4 br label %12, !llvm.loop !6 34: ; preds = %12 %35 = load i32, ptr %1, align 4 ret i32 %35 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fscanf(ptr 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/tmpr8sp8x48.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"good.in\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"%d %d %d %d\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"It's all good\0A\00", align 1 @.str.5 = private unnamed_addr constant [21 x i8] c"We need to fix this\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 %9 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %9, ptr %2, align 8 %10 = load ptr, ptr %2, align 8 %11 = call i32 (ptr, ptr, ptr, ...) @fscanf(ptr noundef %10, ptr noundef @.str.2, ptr noundef %3) store i32 0, ptr %4, align 4 %12 = load i32, ptr %4, align 4 %13 = load i32, ptr %3, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %.lr.ph, label %36 .lr.ph: ; preds = %0 br label %15 15: ; preds = %.lr.ph, %30 %16 = load ptr, ptr %2, align 8 %17 = call i32 (ptr, ptr, ptr, ...) @fscanf(ptr noundef %16, ptr noundef @.str.3, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) %18 = load i32, ptr %5, align 4 %19 = load i32, ptr %7, align 4 %20 = icmp eq i32 %18, %19 br i1 %20, label %25, label %21 21: ; preds = %15 %22 = load i32, ptr %6, align 4 %23 = load i32, ptr %8, align 4 %24 = icmp eq i32 %22, %23 br i1 %24, label %25, label %27 25: ; preds = %21, %15 %26 = call i32 @printf(ptr noundef @.str.4) br label %29 27: ; preds = %21 %28 = call i32 @printf(ptr noundef @.str.5) br label %29 29: ; preds = %27, %25 br label %30 30: ; preds = %29 %31 = load i32, ptr %4, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %4, align 4 %33 = load i32, ptr %4, align 4 %34 = load i32, ptr %3, align 4 %35 = icmp slt i32 %33, %34 br i1 %35, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %30 br label %36 36: ; preds = %._crit_edge, %0 %37 = load i32, ptr %1, align 4 ret i32 %37 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fscanf(ptr 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/tmp_rzgit6k.c' source_filename = "/tmp/tmp_rzgit6k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @base(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 store ptr null, ptr %3, align 8 %5 = load ptr, ptr %2, align 8 store ptr %5, ptr %4, align 8 br label %6 6: ; preds = %20, %1 %7 = load ptr, ptr %4, align 8 %8 = load i8, ptr %7, align 1 %9 = sext i8 %8 to i32 %10 = icmp ne i32 %9, 0 br i1 %10, label %11, label %23 11: ; preds = %6 %12 = load ptr, ptr %4, align 8 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp eq i32 %14, 47 br i1 %15, label %16, label %19 16: ; preds = %11 %17 = load ptr, ptr %4, align 8 %18 = getelementptr inbounds i8, ptr %17, i64 1 store ptr %18, ptr %3, align 8 br label %19 19: ; preds = %16, %11 br label %20 20: ; preds = %19 %21 = load ptr, ptr %4, align 8 %22 = getelementptr inbounds i8, ptr %21, i32 1 store ptr %22, ptr %4, align 8 br label %6, !llvm.loop !6 23: ; preds = %6 %24 = load ptr, ptr %3, align 8 %25 = icmp ne ptr %24, null br i1 %25, label %26, label %28 26: ; preds = %23 %27 = load ptr, ptr %3, align 8 br label %30 28: ; preds = %23 %29 = load ptr, ptr %2, align 8 br label %30 30: ; preds = %28, %26 %31 = phi ptr [ %27, %26 ], [ %29, %28 ] ret ptr %31 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_rzgit6k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @base(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 store ptr null, ptr %3, align 8 %5 = load ptr, ptr %2, align 8 store ptr %5, ptr %4, align 8 %6 = load ptr, ptr %4, align 8 %7 = load i8, ptr %6, align 1 %8 = sext i8 %7 to i32 %9 = icmp ne i32 %8, 0 br i1 %9, label %.lr.ph, label %26 .lr.ph: ; preds = %1 br label %10 10: ; preds = %.lr.ph, %19 %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, 47 br i1 %14, label %15, label %18 15: ; preds = %10 %16 = load ptr, ptr %4, align 8 %17 = getelementptr inbounds i8, ptr %16, i64 1 store ptr %17, ptr %3, align 8 br label %18 18: ; preds = %15, %10 br label %19 19: ; preds = %18 %20 = load ptr, ptr %4, align 8 %21 = getelementptr inbounds i8, ptr %20, i32 1 store ptr %21, ptr %4, align 8 %22 = load ptr, ptr %4, align 8 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = icmp ne i32 %24, 0 br i1 %25, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %26 26: ; preds = %._crit_edge, %1 %27 = load ptr, ptr %3, align 8 %28 = icmp ne ptr %27, null br i1 %28, label %29, label %31 29: ; preds = %26 %30 = load ptr, ptr %3, align 8 br label %33 31: ; preds = %26 %32 = load ptr, ptr %2, align 8 br label %33 33: ; preds = %31, %29 %34 = phi ptr [ %30, %29 ], [ %32, %31 ] ret ptr %34 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp1wtp0c1e.c' source_filename = "/tmp/tmp1wtp0c1e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__wrap___divdi3(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 %3, align 8 %6 = load i64, ptr %4, align 8 %7 = call i64 @__real___divdi3(i64 noundef %5, i64 noundef %6) ret i64 %7 } declare i64 @__real___divdi3(i64 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1wtp0c1e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__wrap___divdi3(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 %3, align 8 %6 = load i64, ptr %4, align 8 %7 = call i64 @__real___divdi3(i64 noundef %5, i64 noundef %6) ret i64 %7 } declare i64 @__real___divdi3(i64 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxegmcgoj.c' source_filename = "/tmp/tmpxegmcgoj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @TCSBRK = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @tcsendbreak(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr @TCSBRK, align 4 %7 = call i32 @ioctl(i32 noundef %5, i32 noundef %6, ptr noundef %4) ret i32 %7 } declare i32 @ioctl(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/tmpxegmcgoj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @TCSBRK = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @tcsendbreak(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr @TCSBRK, align 4 %7 = call i32 @ioctl(i32 noundef %5, i32 noundef %6, ptr noundef %4) ret i32 %7 } declare i32 @ioctl(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/tmpo0b13r9n.c' source_filename = "/tmp/tmpo0b13r9n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INT_MAX = dso_local global i64 0, align 8 @INT_MIN = dso_local global i64 0, align 8 @errno = 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/tmpo0b13r9n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INT_MAX = dso_local global i64 0, align 8 @INT_MIN = dso_local global i64 0, align 8 @errno = 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/tmpwvgt_y3r.c' source_filename = "/tmp/tmpwvgt_y3r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ehnlc_strnlen(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %11, label %10 10: ; preds = %2 store i64 0, ptr %3, align 8 br label %36 11: ; preds = %2 store i64 0, ptr %7, align 8 %12 = load ptr, ptr %4, align 8 store ptr %12, ptr %6, align 8 br label %13 13: ; preds = %25, %11 %14 = load i64, ptr %7, align 8 %15 = load i64, ptr %5, align 8 %16 = icmp ult i64 %14, %15 br i1 %16, label %17, label %22 17: ; preds = %13 %18 = load ptr, ptr %6, align 8 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp ne i32 %20, 0 br label %22 22: ; preds = %17, %13 %23 = phi i1 [ false, %13 ], [ %21, %17 ] br i1 %23, label %24, label %30 24: ; preds = %22 br label %25 25: ; preds = %24 %26 = load i64, ptr %7, align 8 %27 = add i64 %26, 1 store i64 %27, ptr %7, align 8 %28 = load ptr, ptr %6, align 8 %29 = getelementptr inbounds i8, ptr %28, i32 1 store ptr %29, ptr %6, align 8 br label %13, !llvm.loop !6 30: ; preds = %22 %31 = load ptr, ptr %6, align 8 %32 = load ptr, ptr %4, align 8 %33 = ptrtoint ptr %31 to i64 %34 = ptrtoint ptr %32 to i64 %35 = sub i64 %33, %34 store i64 %35, ptr %3, align 8 br label %36 36: ; preds = %30, %10 %37 = load i64, ptr %3, align 8 ret i64 %37 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpwvgt_y3r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ehnlc_strnlen(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %11, label %10 10: ; preds = %2 store i64 0, ptr %3, align 8 br label %36 11: ; preds = %2 store i64 0, ptr %7, align 8 %12 = load ptr, ptr %4, align 8 store ptr %12, ptr %6, align 8 br label %13 13: ; preds = %25, %11 %14 = load i64, ptr %7, align 8 %15 = load i64, ptr %5, align 8 %16 = icmp ult i64 %14, %15 br i1 %16, label %17, label %22 17: ; preds = %13 %18 = load ptr, ptr %6, align 8 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp ne i32 %20, 0 br label %22 22: ; preds = %17, %13 %23 = phi i1 [ false, %13 ], [ %21, %17 ] br i1 %23, label %24, label %30 24: ; preds = %22 br label %25 25: ; preds = %24 %26 = load i64, ptr %7, align 8 %27 = add i64 %26, 1 store i64 %27, ptr %7, align 8 %28 = load ptr, ptr %6, align 8 %29 = getelementptr inbounds i8, ptr %28, i32 1 store ptr %29, ptr %6, align 8 br label %13, !llvm.loop !6 30: ; preds = %22 %31 = load ptr, ptr %6, align 8 %32 = load ptr, ptr %4, align 8 %33 = ptrtoint ptr %31 to i64 %34 = ptrtoint ptr %32 to i64 %35 = sub i64 %33, %34 store i64 %35, ptr %3, align 8 br label %36 36: ; preds = %30, %10 %37 = load i64, ptr %3, align 8 ret i64 %37 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpfj2wn62_.c' source_filename = "/tmp/tmpfj2wn62_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gintplus(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 = load i32, ptr %3, align 4 %7 = add nsw i32 %6, %5 store i32 %7, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = icmp ne i32 %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 i32, ptr %3, align 4 ret i32 %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/tmpfj2wn62_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gintplus(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 = load i32, ptr %3, align 4 %7 = add nsw i32 %6, %5 store i32 %7, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = icmp ne i32 %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 i32, ptr %3, align 4 ret i32 %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/tmpnubf6r8y.c' source_filename = "/tmp/tmpnubf6r8y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @evaluateU(double noundef %0, double noundef %1, double noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, i32 noundef %10) #0 { %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 %22 = alloca i32, align 4 %23 = alloca double, align 8 %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 %30 = alloca double, align 8 %31 = alloca double, align 8 %32 = alloca double, align 8 store double %0, ptr %12, align 8 store double %1, ptr %13, align 8 store double %2, ptr %14, align 8 store ptr %3, ptr %15, align 8 store ptr %4, ptr %16, align 8 store ptr %5, ptr %17, align 8 store ptr %6, ptr %18, align 8 store ptr %7, ptr %19, align 8 store ptr %8, ptr %20, align 8 store ptr %9, ptr %21, align 8 store i32 %10, ptr %22, align 4 store double 0.000000e+00, ptr %23, align 8 %33 = load i32, ptr %22, align 4 %34 = icmp ne i32 %33, 0 br i1 %34, label %35, label %36 35: ; preds = %11 store double 0xBFA1111111111111, ptr %23, align 8 br label %36 36: ; preds = %35, %11 %37 = load double, ptr %12, align 8 %38 = call double @pow(double noundef %37, i32 noundef 4) %39 = load double, ptr %12, align 8 %40 = call double @pow(double noundef %39, i32 noundef 3) %41 = fmul double 2.000000e+00, %40 %42 = fneg double %41 %43 = call double @llvm.fmuladd.f64(double 1.000000e+00, double %38, double %42) %44 = load double, ptr %12, align 8 %45 = call double @pow(double noundef %44, i32 noundef 2) %46 = call double @llvm.fmuladd.f64(double 1.000000e+00, double %45, double %43) %47 = load double, ptr %23, align 8 %48 = fadd double %46, %47 store double %48, ptr %24, align 8 %49 = load double, ptr %13, align 8 %50 = call double @pow(double noundef %49, i32 noundef 4) %51 = load double, ptr %13, align 8 %52 = call double @pow(double noundef %51, i32 noundef 3) %53 = fmul double 2.000000e+00, %52 %54 = fneg double %53 %55 = call double @llvm.fmuladd.f64(double 1.000000e+00, double %50, double %54) %56 = load double, ptr %13, align 8 %57 = call double @pow(double noundef %56, i32 noundef 2) %58 = call double @llvm.fmuladd.f64(double 1.000000e+00, double %57, double %55) %59 = load double, ptr %23, align 8 %60 = fadd double %58, %59 store double %60, ptr %25, align 8 %61 = load double, ptr %14, align 8 %62 = call double @pow(double noundef %61, i32 noundef 4) %63 = load double, ptr %14, align 8 %64 = call double @pow(double noundef %63, i32 noundef 3) %65 = fmul double 2.000000e+00, %64 %66 = fneg double %65 %67 = call double @llvm.fmuladd.f64(double 1.000000e+00, double %62, double %66) %68 = load double, ptr %14, align 8 %69 = call double @pow(double noundef %68, i32 noundef 2) %70 = call double @llvm.fmuladd.f64(double 1.000000e+00, double %69, double %67) %71 = load double, ptr %23, align 8 %72 = fadd double %70, %71 store double %72, ptr %26, align 8 %73 = load double, ptr %12, align 8 %74 = call double @pow(double noundef %73, i32 noundef 3) %75 = load double, ptr %12, align 8 %76 = call double @pow(double noundef %75, i32 noundef 2) %77 = fmul double 6.000000e+00, %76 %78 = fneg double %77 %79 = call double @llvm.fmuladd.f64(double 4.000000e+00, double %74, double %78) %80 = load double, ptr %12, align 8 %81 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %80, double %79) store double %81, ptr %27, align 8 %82 = load double, ptr %13, align 8 %83 = call double @pow(double noundef %82, i32 noundef 3) %84 = load double, ptr %13, align 8 %85 = call double @pow(double noundef %84, i32 noundef 2) %86 = fmul double 6.000000e+00, %85 %87 = fneg double %86 %88 = call double @llvm.fmuladd.f64(double 4.000000e+00, double %83, double %87) %89 = load double, ptr %13, align 8 %90 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %89, double %88) store double %90, ptr %28, align 8 %91 = load double, ptr %14, align 8 %92 = call double @pow(double noundef %91, i32 noundef 3) %93 = load double, ptr %14, align 8 %94 = call double @pow(double noundef %93, i32 noundef 2) %95 = fmul double 6.000000e+00, %94 %96 = fneg double %95 %97 = call double @llvm.fmuladd.f64(double 4.000000e+00, double %92, double %96) %98 = load double, ptr %14, align 8 %99 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %98, double %97) store double %99, ptr %29, align 8 %100 = load double, ptr %12, align 8 %101 = call double @pow(double noundef %100, i32 noundef 2) %102 = load double, ptr %12, align 8 %103 = fmul double 1.200000e+01, %102 %104 = fneg double %103 %105 = call double @llvm.fmuladd.f64(double 1.200000e+01, double %101, double %104) %106 = fadd double %105, 2.000000e+00 store double %106, ptr %30, align 8 %107 = load double, ptr %13, align 8 %108 = call double @pow(double noundef %107, i32 noundef 2) %109 = load double, ptr %13, align 8 %110 = fmul double 1.200000e+01, %109 %111 = fneg double %110 %112 = call double @llvm.fmuladd.f64(double 1.200000e+01, double %108, double %111) %113 = fadd double %112, 2.000000e+00 store double %113, ptr %31, align 8 %114 = load double, ptr %14, align 8 %115 = call double @pow(double noundef %114, i32 noundef 2) %116 = load double, ptr %14, align 8 %117 = fmul double 1.200000e+01, %116 %118 = fneg double %117 %119 = call double @llvm.fmuladd.f64(double 1.200000e+01, double %115, double %118) %120 = fadd double %119, 2.000000e+00 store double %120, ptr %32, align 8 %121 = load double, ptr %24, align 8 %122 = load double, ptr %25, align 8 %123 = fmul double %121, %122 %124 = load double, ptr %26, align 8 %125 = fmul double %123, %124 %126 = load ptr, ptr %15, align 8 store double %125, ptr %126, align 8 %127 = load double, ptr %27, align 8 %128 = load double, ptr %25, align 8 %129 = fmul double %127, %128 %130 = load double, ptr %26, align 8 %131 = fmul double %129, %130 %132 = load ptr, ptr %16, align 8 store double %131, ptr %132, align 8 %133 = load double, ptr %24, align 8 %134 = load double, ptr %28, align 8 %135 = fmul double %133, %134 %136 = load double, ptr %26, align 8 %137 = fmul double %135, %136 %138 = load ptr, ptr %17, align 8 store double %137, ptr %138, align 8 %139 = load double, ptr %24, align 8 %140 = load double, ptr %25, align 8 %141 = fmul double %139, %140 %142 = load double, ptr %29, align 8 %143 = fmul double %141, %142 %144 = load ptr, ptr %18, align 8 store double %143, ptr %144, align 8 %145 = load double, ptr %30, align 8 %146 = load double, ptr %25, align 8 %147 = fmul double %145, %146 %148 = load double, ptr %26, align 8 %149 = fmul double %147, %148 %150 = load ptr, ptr %19, align 8 store double %149, ptr %150, align 8 %151 = load double, ptr %24, align 8 %152 = load double, ptr %31, align 8 %153 = fmul double %151, %152 %154 = load double, ptr %26, align 8 %155 = fmul double %153, %154 %156 = load ptr, ptr %20, align 8 store double %155, ptr %156, align 8 %157 = load double, ptr %24, align 8 %158 = load double, ptr %25, align 8 %159 = fmul double %157, %158 %160 = load double, ptr %32, align 8 %161 = fmul double %159, %160 %162 = load ptr, ptr %21, align 8 store double %161, ptr %162, align 8 ret void } declare double @pow(double noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnubf6r8y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @evaluateU(double noundef %0, double noundef %1, double noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, i32 noundef %10) #0 { %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 %22 = alloca i32, align 4 %23 = alloca double, align 8 %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 %30 = alloca double, align 8 %31 = alloca double, align 8 %32 = alloca double, align 8 store double %0, ptr %12, align 8 store double %1, ptr %13, align 8 store double %2, ptr %14, align 8 store ptr %3, ptr %15, align 8 store ptr %4, ptr %16, align 8 store ptr %5, ptr %17, align 8 store ptr %6, ptr %18, align 8 store ptr %7, ptr %19, align 8 store ptr %8, ptr %20, align 8 store ptr %9, ptr %21, align 8 store i32 %10, ptr %22, align 4 store double 0.000000e+00, ptr %23, align 8 %33 = load i32, ptr %22, align 4 %34 = icmp ne i32 %33, 0 br i1 %34, label %35, label %36 35: ; preds = %11 store double 0xBFA1111111111111, ptr %23, align 8 br label %36 36: ; preds = %35, %11 %37 = load double, ptr %12, align 8 %38 = call double @pow(double noundef %37, i32 noundef 4) %39 = load double, ptr %12, align 8 %40 = call double @pow(double noundef %39, i32 noundef 3) %41 = fmul double 2.000000e+00, %40 %42 = fneg double %41 %43 = call double @llvm.fmuladd.f64(double 1.000000e+00, double %38, double %42) %44 = load double, ptr %12, align 8 %45 = call double @pow(double noundef %44, i32 noundef 2) %46 = call double @llvm.fmuladd.f64(double 1.000000e+00, double %45, double %43) %47 = load double, ptr %23, align 8 %48 = fadd double %46, %47 store double %48, ptr %24, align 8 %49 = load double, ptr %13, align 8 %50 = call double @pow(double noundef %49, i32 noundef 4) %51 = load double, ptr %13, align 8 %52 = call double @pow(double noundef %51, i32 noundef 3) %53 = fmul double 2.000000e+00, %52 %54 = fneg double %53 %55 = call double @llvm.fmuladd.f64(double 1.000000e+00, double %50, double %54) %56 = load double, ptr %13, align 8 %57 = call double @pow(double noundef %56, i32 noundef 2) %58 = call double @llvm.fmuladd.f64(double 1.000000e+00, double %57, double %55) %59 = load double, ptr %23, align 8 %60 = fadd double %58, %59 store double %60, ptr %25, align 8 %61 = load double, ptr %14, align 8 %62 = call double @pow(double noundef %61, i32 noundef 4) %63 = load double, ptr %14, align 8 %64 = call double @pow(double noundef %63, i32 noundef 3) %65 = fmul double 2.000000e+00, %64 %66 = fneg double %65 %67 = call double @llvm.fmuladd.f64(double 1.000000e+00, double %62, double %66) %68 = load double, ptr %14, align 8 %69 = call double @pow(double noundef %68, i32 noundef 2) %70 = call double @llvm.fmuladd.f64(double 1.000000e+00, double %69, double %67) %71 = load double, ptr %23, align 8 %72 = fadd double %70, %71 store double %72, ptr %26, align 8 %73 = load double, ptr %12, align 8 %74 = call double @pow(double noundef %73, i32 noundef 3) %75 = load double, ptr %12, align 8 %76 = call double @pow(double noundef %75, i32 noundef 2) %77 = fmul double 6.000000e+00, %76 %78 = fneg double %77 %79 = call double @llvm.fmuladd.f64(double 4.000000e+00, double %74, double %78) %80 = load double, ptr %12, align 8 %81 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %80, double %79) store double %81, ptr %27, align 8 %82 = load double, ptr %13, align 8 %83 = call double @pow(double noundef %82, i32 noundef 3) %84 = load double, ptr %13, align 8 %85 = call double @pow(double noundef %84, i32 noundef 2) %86 = fmul double 6.000000e+00, %85 %87 = fneg double %86 %88 = call double @llvm.fmuladd.f64(double 4.000000e+00, double %83, double %87) %89 = load double, ptr %13, align 8 %90 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %89, double %88) store double %90, ptr %28, align 8 %91 = load double, ptr %14, align 8 %92 = call double @pow(double noundef %91, i32 noundef 3) %93 = load double, ptr %14, align 8 %94 = call double @pow(double noundef %93, i32 noundef 2) %95 = fmul double 6.000000e+00, %94 %96 = fneg double %95 %97 = call double @llvm.fmuladd.f64(double 4.000000e+00, double %92, double %96) %98 = load double, ptr %14, align 8 %99 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %98, double %97) store double %99, ptr %29, align 8 %100 = load double, ptr %12, align 8 %101 = call double @pow(double noundef %100, i32 noundef 2) %102 = load double, ptr %12, align 8 %103 = fmul double 1.200000e+01, %102 %104 = fneg double %103 %105 = call double @llvm.fmuladd.f64(double 1.200000e+01, double %101, double %104) %106 = fadd double %105, 2.000000e+00 store double %106, ptr %30, align 8 %107 = load double, ptr %13, align 8 %108 = call double @pow(double noundef %107, i32 noundef 2) %109 = load double, ptr %13, align 8 %110 = fmul double 1.200000e+01, %109 %111 = fneg double %110 %112 = call double @llvm.fmuladd.f64(double 1.200000e+01, double %108, double %111) %113 = fadd double %112, 2.000000e+00 store double %113, ptr %31, align 8 %114 = load double, ptr %14, align 8 %115 = call double @pow(double noundef %114, i32 noundef 2) %116 = load double, ptr %14, align 8 %117 = fmul double 1.200000e+01, %116 %118 = fneg double %117 %119 = call double @llvm.fmuladd.f64(double 1.200000e+01, double %115, double %118) %120 = fadd double %119, 2.000000e+00 store double %120, ptr %32, align 8 %121 = load double, ptr %24, align 8 %122 = load double, ptr %25, align 8 %123 = fmul double %121, %122 %124 = load double, ptr %26, align 8 %125 = fmul double %123, %124 %126 = load ptr, ptr %15, align 8 store double %125, ptr %126, align 8 %127 = load double, ptr %27, align 8 %128 = load double, ptr %25, align 8 %129 = fmul double %127, %128 %130 = load double, ptr %26, align 8 %131 = fmul double %129, %130 %132 = load ptr, ptr %16, align 8 store double %131, ptr %132, align 8 %133 = load double, ptr %24, align 8 %134 = load double, ptr %28, align 8 %135 = fmul double %133, %134 %136 = load double, ptr %26, align 8 %137 = fmul double %135, %136 %138 = load ptr, ptr %17, align 8 store double %137, ptr %138, align 8 %139 = load double, ptr %24, align 8 %140 = load double, ptr %25, align 8 %141 = fmul double %139, %140 %142 = load double, ptr %29, align 8 %143 = fmul double %141, %142 %144 = load ptr, ptr %18, align 8 store double %143, ptr %144, align 8 %145 = load double, ptr %30, align 8 %146 = load double, ptr %25, align 8 %147 = fmul double %145, %146 %148 = load double, ptr %26, align 8 %149 = fmul double %147, %148 %150 = load ptr, ptr %19, align 8 store double %149, ptr %150, align 8 %151 = load double, ptr %24, align 8 %152 = load double, ptr %31, align 8 %153 = fmul double %151, %152 %154 = load double, ptr %26, align 8 %155 = fmul double %153, %154 %156 = load ptr, ptr %20, align 8 store double %155, ptr %156, align 8 %157 = load double, ptr %24, align 8 %158 = load double, ptr %25, align 8 %159 = fmul double %157, %158 %160 = load double, ptr %32, align 8 %161 = fmul double %159, %160 %162 = load ptr, ptr %21, align 8 store double %161, ptr %162, align 8 ret void } declare double @pow(double noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0n_thmh7.c' source_filename = "/tmp/tmp0n_thmh7.c" target datalayout = "e-m:e-p270: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/tmp0n_thmh7.c" target datalayout = "e-m:e-p270: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/tmpksk8_tzz.c' source_filename = "/tmp/tmpksk8_tzz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @b() #0 { %1 = call i32 (...) @c() %2 = call i32 (...) @d() ret void } declare i32 @c(...) #1 declare i32 @d(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpksk8_tzz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @b() #0 { %1 = call i32 (...) @c() %2 = call i32 (...) @d() ret void } declare i32 @c(...) #1 declare i32 @d(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpv0ng2thb.c' source_filename = "/tmp/tmpv0ng2thb.c" target datalayout = "e-m:e-p270: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/tmpv0ng2thb.c" target datalayout = "e-m:e-p270: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/tmpnqfft8_m.c' source_filename = "/tmp/tmpnqfft8_m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"add 1 %08x %08x %08x %08x %08x\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_add1(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 i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %9 = load i32, ptr %4, align 4 %10 = load i32, ptr %5, align 4 %11 = call i32 @get_add1(i32 noundef %9, i32 noundef %10, ptr noundef %8) store i32 %11, ptr %7, align 4 %12 = load i32, ptr %6, align 4 %13 = load i32, ptr %7, align 4 %14 = and i32 %13, %12 store i32 %14, ptr %7, align 4 %15 = load i32, ptr %4, align 4 %16 = load i32, ptr %5, align 4 %17 = load i32, ptr %8, align 4 %18 = load i32, ptr %7, align 4 %19 = load i32, ptr %6, align 4 %20 = call i32 @printf(ptr noundef @.str, i32 noundef %15, i32 noundef %16, i32 noundef %17, i32 noundef %18, i32 noundef %19) ret void } declare i32 @get_add1(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnqfft8_m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"add 1 %08x %08x %08x %08x %08x\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_add1(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 i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %9 = load i32, ptr %4, align 4 %10 = load i32, ptr %5, align 4 %11 = call i32 @get_add1(i32 noundef %9, i32 noundef %10, ptr noundef %8) store i32 %11, ptr %7, align 4 %12 = load i32, ptr %6, align 4 %13 = load i32, ptr %7, align 4 %14 = and i32 %13, %12 store i32 %14, ptr %7, align 4 %15 = load i32, ptr %4, align 4 %16 = load i32, ptr %5, align 4 %17 = load i32, ptr %8, align 4 %18 = load i32, ptr %7, align 4 %19 = load i32, ptr %6, align 4 %20 = call i32 @printf(ptr noundef @.str, i32 noundef %15, i32 noundef %16, i32 noundef %17, i32 noundef %18, i32 noundef %19) ret void } declare i32 @get_add1(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp89dkqjy0.c' source_filename = "/tmp/tmp89dkqjy0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wcsdup(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @wcslen(ptr noundef %5) %7 = add nsw i32 %6, 1 %8 = sext i32 %7 to i64 store i64 %8, ptr %3, align 8 %9 = load i64, ptr %3, align 8 %10 = mul i64 %9, 1 %11 = call ptr @malloc(i64 noundef %10) store ptr %11, ptr %4, align 8 %12 = load ptr, ptr %4, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %15 14: ; preds = %1 br label %20 15: ; preds = %1 %16 = load ptr, ptr %4, align 8 %17 = load ptr, ptr %2, align 8 %18 = load i64, ptr %3, align 8 %19 = call ptr @wmemcpy(ptr noundef %16, ptr noundef %17, i64 noundef %18) br label %20 20: ; preds = %15, %14 %21 = phi ptr [ null, %14 ], [ %19, %15 ] ret ptr %21 } declare i32 @wcslen(ptr noundef) #1 declare ptr @malloc(i64 noundef) #1 declare ptr @wmemcpy(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp89dkqjy0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wcsdup(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @wcslen(ptr noundef %5) %7 = add nsw i32 %6, 1 %8 = sext i32 %7 to i64 store i64 %8, ptr %3, align 8 %9 = load i64, ptr %3, align 8 %10 = mul i64 %9, 1 %11 = call ptr @malloc(i64 noundef %10) store ptr %11, ptr %4, align 8 %12 = load ptr, ptr %4, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %15 14: ; preds = %1 br label %20 15: ; preds = %1 %16 = load ptr, ptr %4, align 8 %17 = load ptr, ptr %2, align 8 %18 = load i64, ptr %3, align 8 %19 = call ptr @wmemcpy(ptr noundef %16, ptr noundef %17, i64 noundef %18) br label %20 20: ; preds = %15, %14 %21 = phi ptr [ null, %14 ], [ %19, %15 ] ret ptr %21 } declare i32 @wcslen(ptr noundef) #1 declare ptr @malloc(i64 noundef) #1 declare ptr @wmemcpy(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp358i56qr.c' source_filename = "/tmp/tmp358i56qr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @EOF = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [7 x i8] c"%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 %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 ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %16 = call i64 @malloc(i32 noundef 4000004) %17 = inttoptr i64 %16 to ptr store ptr %17, ptr %13, align 8 %18 = call i64 @malloc(i32 noundef 4000004) %19 = inttoptr i64 %18 to ptr store ptr %19, ptr %14, align 8 %20 = call i64 @malloc(i32 noundef 4000004) %21 = inttoptr i64 %20 to ptr store ptr %21, ptr %15, align 8 %22 = load ptr, ptr %13, align 8 %23 = call i32 @memset(ptr noundef %22, i32 noundef 0, i32 noundef 8) %24 = load ptr, ptr %14, align 8 %25 = call i32 @memset(ptr noundef %24, i32 noundef 0, i32 noundef 8) %26 = load ptr, ptr %15, align 8 %27 = call i32 @memset(ptr noundef %26, i32 noundef 0, i32 noundef 8) store i32 0, ptr %3, align 4 br label %28 28: ; preds = %36, %0 %29 = load i32, ptr %3, align 4 %30 = icmp slt i32 %29, 1000001 br i1 %30, label %31, label %39 31: ; preds = %28 %32 = load ptr, ptr %15, align 8 %33 = load i32, ptr %3, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i32, ptr %32, i64 %34 store i32 1000001, ptr %35, align 4 br label %36 36: ; preds = %31 %37 = load i32, ptr %3, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %3, align 4 br label %28, !llvm.loop !6 39: ; preds = %28 store i32 1, ptr %4, align 4 br label %40 40: ; preds = %142, %39 %41 = load i32, ptr %4, align 4 %42 = icmp slt i32 %41, 1000 br i1 %42, label %43, label %145 43: ; preds = %40 %44 = load i32, ptr %4, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %3, align 4 br label %46 46: ; preds = %138, %43 %47 = load i32, ptr %4, align 4 %48 = load i32, ptr %3, align 4 %49 = call i32 @gcd(i32 noundef %47, i32 noundef %48) %50 = icmp ne i32 %49, 1 br i1 %50, label %51, label %52 51: ; preds = %46 br label %138 52: ; preds = %46 %53 = load i32, ptr %4, align 4 %54 = load i32, ptr %4, align 4 %55 = mul nsw i32 %53, %54 store i32 %55, ptr %6, align 4 %56 = load i32, ptr %3, align 4 %57 = load i32, ptr %3, align 4 %58 = mul nsw i32 %56, %57 store i32 %58, ptr %5, align 4 %59 = load i32, ptr %6, align 4 %60 = load i32, ptr %5, align 4 %61 = add nsw i32 %59, %60 store i32 %61, ptr %9, align 4 %62 = load i32, ptr %9, align 4 %63 = icmp sge i32 %62, 1000001 br i1 %63, label %64, label %65 64: ; preds = %52 br label %141 65: ; preds = %52 %66 = load i32, ptr %5, align 4 %67 = load i32, ptr %6, align 4 %68 = sub nsw i32 %66, %67 store i32 %68, ptr %7, align 4 %69 = load i32, ptr %4, align 4 %70 = mul nsw i32 2, %69 %71 = load i32, ptr %3, align 4 %72 = mul nsw i32 %70, %71 store i32 %72, ptr %8, align 4 %73 = load ptr, ptr %13, align 8 %74 = load i32, ptr %9, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds i32, ptr %73, i64 %75 %77 = load i32, ptr %76, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %76, align 4 %79 = load i32, ptr %7, align 4 store i32 %79, ptr %10, align 4 %80 = load i32, ptr %8, align 4 store i32 %80, ptr %11, align 4 %81 = load i32, ptr %9, align 4 store i32 %81, ptr %12, align 4 br label %82 82: ; preds = %127, %65 %83 = load i32, ptr %12, align 4 %84 = icmp slt i32 %83, 1000001 br i1 %84, label %85, label %137 85: ; preds = %82 %86 = load i32, ptr %12, align 4 %87 = load ptr, ptr %15, align 8 %88 = load i32, ptr %10, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds i32, ptr %87, i64 %89 %91 = load i32, ptr %90, align 4 %92 = icmp slt i32 %86, %91 br i1 %92, label %93, label %99 93: ; preds = %85 %94 = load i32, ptr %12, align 4 %95 = load ptr, ptr %15, align 8 %96 = load i32, ptr %10, align 4 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds i32, ptr %95, i64 %97 store i32 %94, ptr %98, align 4 br label %99 99: ; preds = %93, %85 %100 = load i32, ptr %12, align 4 %101 = load ptr, ptr %15, align 8 %102 = load i32, ptr %11, align 4 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds i32, ptr %101, i64 %103 %105 = load i32, ptr %104, align 4 %106 = icmp slt i32 %100, %105 br i1 %106, label %107, label %113 107: ; preds = %99 %108 = load i32, ptr %12, align 4 %109 = load ptr, ptr %15, align 8 %110 = load i32, ptr %11, align 4 %111 = sext i32 %110 to i64 %112 = getelementptr inbounds i32, ptr %109, i64 %111 store i32 %108, ptr %112, align 4 br label %113 113: ; preds = %107, %99 %114 = load i32, ptr %12, align 4 %115 = load ptr, ptr %15, align 8 %116 = load i32, ptr %12, align 4 %117 = sext i32 %116 to i64 %118 = getelementptr inbounds i32, ptr %115, i64 %117 %119 = load i32, ptr %118, align 4 %120 = icmp slt i32 %114, %119 br i1 %120, label %121, label %127 121: ; preds = %113 %122 = load i32, ptr %12, align 4 %123 = load ptr, ptr %15, align 8 %124 = load i32, ptr %12, align 4 %125 = sext i32 %124 to i64 %126 = getelementptr inbounds i32, ptr %123, i64 %125 store i32 %122, ptr %126, align 4 br label %127 127: ; preds = %121, %113 %128 = load i32, ptr %7, align 4 %129 = load i32, ptr %10, align 4 %130 = add nsw i32 %129, %128 store i32 %130, ptr %10, align 4 %131 = load i32, ptr %8, align 4 %132 = load i32, ptr %11, align 4 %133 = add nsw i32 %132, %131 store i32 %133, ptr %11, align 4 %134 = load i32, ptr %9, align 4 %135 = load i32, ptr %12, align 4 %136 = add nsw i32 %135, %134 store i32 %136, ptr %12, align 4 br label %82, !llvm.loop !8 137: ; preds = %82 br label %138 138: ; preds = %137, %51 %139 = load i32, ptr %3, align 4 %140 = add nsw i32 %139, 2 store i32 %140, ptr %3, align 4 br label %46 141: ; preds = %64 br label %142 142: ; preds = %141 %143 = load i32, ptr %4, align 4 %144 = add nsw i32 %143, 1 store i32 %144, ptr %4, align 4 br label %40, !llvm.loop !9 145: ; preds = %40 store i32 1, ptr %3, align 4 br label %146 146: ; preds = %193, %145 %147 = load i32, ptr %3, align 4 %148 = icmp slt i32 %147, 1000001 br i1 %148, label %149, label %196 149: ; preds = %146 %150 = load ptr, ptr %13, align 8 %151 = load i32, ptr %3, align 4 %152 = sub nsw i32 %151, 1 %153 = sext i32 %152 to i64 %154 = getelementptr inbounds i32, ptr %150, i64 %153 %155 = load i32, ptr %154, align 4 %156 = load ptr, ptr %13, align 8 %157 = load i32, ptr %3, align 4 %158 = sext i32 %157 to i64 %159 = getelementptr inbounds i32, ptr %156, i64 %158 %160 = load i32, ptr %159, align 4 %161 = add nsw i32 %160, %155 store i32 %161, ptr %159, align 4 %162 = load ptr, ptr %14, align 8 %163 = load i32, ptr %3, align 4 %164 = sub nsw i32 %163, 1 %165 = sext i32 %164 to i64 %166 = getelementptr inbounds i32, ptr %162, i64 %165 %167 = load i32, ptr %166, align 4 %168 = add nsw i32 %167, 1 %169 = load ptr, ptr %14, align 8 %170 = load i32, ptr %3, align 4 %171 = sext i32 %170 to i64 %172 = getelementptr inbounds i32, ptr %169, i64 %171 %173 = load i32, ptr %172, align 4 %174 = add nsw i32 %173, %168 store i32 %174, ptr %172, align 4 %175 = load ptr, ptr %15, align 8 %176 = load i32, ptr %3, align 4 %177 = sext i32 %176 to i64 %178 = getelementptr inbounds i32, ptr %175, i64 %177 %179 = load i32, ptr %178, align 4 %180 = icmp ne i32 %179, 1000001 br i1 %180, label %181, label %192 181: ; preds = %149 %182 = load ptr, ptr %14, align 8 %183 = load ptr, ptr %15, align 8 %184 = load i32, ptr %3, align 4 %185 = sext i32 %184 to i64 %186 = getelementptr inbounds i32, ptr %183, i64 %185 %187 = load i32, ptr %186, align 4 %188 = sext i32 %187 to i64 %189 = getelementptr inbounds i32, ptr %182, i64 %188 %190 = load i32, ptr %189, align 4 %191 = add nsw i32 %190, -1 store i32 %191, ptr %189, align 4 br label %192 192: ; preds = %181, %149 br label %193 193: ; preds = %192 %194 = load i32, ptr %3, align 4 %195 = add nsw i32 %194, 1 store i32 %195, ptr %3, align 4 br label %146, !llvm.loop !10 196: ; preds = %146 br label %197 197: ; preds = %201, %196 %198 = call i64 @scanf(ptr noundef @.str, ptr noundef %3) %199 = load i64, ptr @EOF, align 8 %200 = icmp ne i64 %198, %199 br i1 %200, label %201, label %213 201: ; preds = %197 %202 = load ptr, ptr %13, align 8 %203 = load i32, ptr %3, align 4 %204 = sext i32 %203 to i64 %205 = getelementptr inbounds i32, ptr %202, i64 %204 %206 = load i32, ptr %205, align 4 %207 = load ptr, ptr %14, align 8 %208 = load i32, ptr %3, align 4 %209 = sext i32 %208 to i64 %210 = getelementptr inbounds i32, ptr %207, i64 %209 %211 = load i32, ptr %210, align 4 %212 = call i32 @printf(ptr noundef @.str.1, i32 noundef %206, i32 noundef %211) br label %197, !llvm.loop !11 213: ; preds = %197 %214 = load ptr, ptr %13, align 8 %215 = call i32 @free(ptr noundef %214) %216 = load ptr, ptr %14, align 8 %217 = call i32 @free(ptr noundef %216) %218 = load ptr, ptr %15, align 8 %219 = call i32 @free(ptr noundef %218) ret i32 0 } declare i64 @malloc(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @gcd(i32 noundef, i32 noundef) #1 declare i64 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp358i56qr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @EOF = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [7 x i8] c"%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 %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 ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %16 = call i64 @malloc(i32 noundef 4000004) %17 = inttoptr i64 %16 to ptr store ptr %17, ptr %13, align 8 %18 = call i64 @malloc(i32 noundef 4000004) %19 = inttoptr i64 %18 to ptr store ptr %19, ptr %14, align 8 %20 = call i64 @malloc(i32 noundef 4000004) %21 = inttoptr i64 %20 to ptr store ptr %21, ptr %15, align 8 %22 = load ptr, ptr %13, align 8 %23 = call i32 @memset(ptr noundef %22, i32 noundef 0, i32 noundef 8) %24 = load ptr, ptr %14, align 8 %25 = call i32 @memset(ptr noundef %24, i32 noundef 0, i32 noundef 8) %26 = load ptr, ptr %15, align 8 %27 = call i32 @memset(ptr noundef %26, i32 noundef 0, i32 noundef 8) store i32 0, ptr %3, align 4 %28 = load i32, ptr %3, align 4 %29 = icmp slt i32 %28, 1000001 br i1 %29, label %.lr.ph, label %40 .lr.ph: ; preds = %0 br label %30 30: ; preds = %.lr.ph, %35 %31 = load ptr, ptr %15, align 8 %32 = load i32, ptr %3, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i32, ptr %31, i64 %33 store i32 1000001, ptr %34, align 4 br label %35 35: ; preds = %30 %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, 1000001 br i1 %39, label %30, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %35 br label %40 40: ; preds = %._crit_edge, %0 store i32 1, ptr %4, align 4 %41 = load i32, ptr %4, align 4 %42 = icmp slt i32 %41, 1000 br i1 %42, label %.lr.ph5, label %148 .lr.ph5: ; preds = %40 br label %43 43: ; preds = %.lr.ph5, %143 %44 = load i32, ptr %4, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %3, align 4 br label %46 46: ; preds = %139, %43 %47 = load i32, ptr %4, align 4 %48 = load i32, ptr %3, align 4 %49 = call i32 @gcd(i32 noundef %47, i32 noundef %48) %50 = icmp ne i32 %49, 1 br i1 %50, label %51, label %52 51: ; preds = %46 br label %139 52: ; preds = %46 %53 = load i32, ptr %4, align 4 %54 = load i32, ptr %4, align 4 %55 = mul nsw i32 %53, %54 store i32 %55, ptr %6, align 4 %56 = load i32, ptr %3, align 4 %57 = load i32, ptr %3, align 4 %58 = mul nsw i32 %56, %57 store i32 %58, ptr %5, align 4 %59 = load i32, ptr %6, align 4 %60 = load i32, ptr %5, align 4 %61 = add nsw i32 %59, %60 store i32 %61, ptr %9, align 4 %62 = load i32, ptr %9, align 4 %63 = icmp sge i32 %62, 1000001 br i1 %63, label %64, label %65 64: ; preds = %52 br label %142 65: ; preds = %52 %66 = load i32, ptr %5, align 4 %67 = load i32, ptr %6, align 4 %68 = sub nsw i32 %66, %67 store i32 %68, ptr %7, align 4 %69 = load i32, ptr %4, align 4 %70 = mul nsw i32 2, %69 %71 = load i32, ptr %3, align 4 %72 = mul nsw i32 %70, %71 store i32 %72, ptr %8, align 4 %73 = load ptr, ptr %13, align 8 %74 = load i32, ptr %9, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds i32, ptr %73, i64 %75 %77 = load i32, ptr %76, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %76, align 4 %79 = load i32, ptr %7, align 4 store i32 %79, ptr %10, align 4 %80 = load i32, ptr %8, align 4 store i32 %80, ptr %11, align 4 %81 = load i32, ptr %9, align 4 store i32 %81, ptr %12, align 4 %82 = load i32, ptr %12, align 4 %83 = icmp slt i32 %82, 1000001 br i1 %83, label %.lr.ph2, label %138 .lr.ph2: ; preds = %65 br label %84 84: ; preds = %.lr.ph2, %126 %85 = load i32, ptr %12, align 4 %86 = load ptr, ptr %15, align 8 %87 = load i32, ptr %10, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds i32, ptr %86, i64 %88 %90 = load i32, ptr %89, align 4 %91 = icmp slt i32 %85, %90 br i1 %91, label %92, label %98 92: ; preds = %84 %93 = load i32, ptr %12, align 4 %94 = load ptr, ptr %15, align 8 %95 = load i32, ptr %10, align 4 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds i32, ptr %94, i64 %96 store i32 %93, ptr %97, align 4 br label %98 98: ; preds = %92, %84 %99 = load i32, ptr %12, align 4 %100 = load ptr, ptr %15, align 8 %101 = load i32, ptr %11, align 4 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds i32, ptr %100, i64 %102 %104 = load i32, ptr %103, align 4 %105 = icmp slt i32 %99, %104 br i1 %105, label %106, label %112 106: ; preds = %98 %107 = load i32, ptr %12, align 4 %108 = load ptr, ptr %15, align 8 %109 = load i32, ptr %11, align 4 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds i32, ptr %108, i64 %110 store i32 %107, ptr %111, align 4 br label %112 112: ; preds = %106, %98 %113 = load i32, ptr %12, align 4 %114 = load ptr, ptr %15, align 8 %115 = load i32, ptr %12, align 4 %116 = sext i32 %115 to i64 %117 = getelementptr inbounds i32, ptr %114, i64 %116 %118 = load i32, ptr %117, align 4 %119 = icmp slt i32 %113, %118 br i1 %119, label %120, label %126 120: ; preds = %112 %121 = load i32, ptr %12, align 4 %122 = load ptr, ptr %15, align 8 %123 = load i32, ptr %12, align 4 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds i32, ptr %122, i64 %124 store i32 %121, ptr %125, align 4 br label %126 126: ; preds = %120, %112 %127 = load i32, ptr %7, align 4 %128 = load i32, ptr %10, align 4 %129 = add nsw i32 %128, %127 store i32 %129, ptr %10, align 4 %130 = load i32, ptr %8, align 4 %131 = load i32, ptr %11, align 4 %132 = add nsw i32 %131, %130 store i32 %132, ptr %11, align 4 %133 = load i32, ptr %9, align 4 %134 = load i32, ptr %12, align 4 %135 = add nsw i32 %134, %133 store i32 %135, ptr %12, align 4 %136 = load i32, ptr %12, align 4 %137 = icmp slt i32 %136, 1000001 br i1 %137, label %84, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %126 br label %138 138: ; preds = %._crit_edge3, %65 br label %139 139: ; preds = %138, %51 %140 = load i32, ptr %3, align 4 %141 = add nsw i32 %140, 2 store i32 %141, ptr %3, align 4 br label %46 142: ; preds = %64 br label %143 143: ; preds = %142 %144 = load i32, ptr %4, align 4 %145 = add nsw i32 %144, 1 store i32 %145, ptr %4, align 4 %146 = load i32, ptr %4, align 4 %147 = icmp slt i32 %146, 1000 br i1 %147, label %43, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %143 br label %148 148: ; preds = %._crit_edge6, %40 store i32 1, ptr %3, align 4 %149 = load i32, ptr %3, align 4 %150 = icmp slt i32 %149, 1000001 br i1 %150, label %.lr.ph8, label %200 .lr.ph8: ; preds = %148 br label %151 151: ; preds = %.lr.ph8, %195 %152 = load ptr, ptr %13, align 8 %153 = load i32, ptr %3, align 4 %154 = sub nsw i32 %153, 1 %155 = sext i32 %154 to i64 %156 = getelementptr inbounds i32, ptr %152, i64 %155 %157 = load i32, ptr %156, align 4 %158 = load ptr, ptr %13, align 8 %159 = load i32, ptr %3, align 4 %160 = sext i32 %159 to i64 %161 = getelementptr inbounds i32, ptr %158, i64 %160 %162 = load i32, ptr %161, align 4 %163 = add nsw i32 %162, %157 store i32 %163, ptr %161, align 4 %164 = load ptr, ptr %14, align 8 %165 = load i32, ptr %3, align 4 %166 = sub nsw i32 %165, 1 %167 = sext i32 %166 to i64 %168 = getelementptr inbounds i32, ptr %164, i64 %167 %169 = load i32, ptr %168, align 4 %170 = add nsw i32 %169, 1 %171 = load ptr, ptr %14, align 8 %172 = load i32, ptr %3, align 4 %173 = sext i32 %172 to i64 %174 = getelementptr inbounds i32, ptr %171, i64 %173 %175 = load i32, ptr %174, align 4 %176 = add nsw i32 %175, %170 store i32 %176, ptr %174, align 4 %177 = load ptr, ptr %15, align 8 %178 = load i32, ptr %3, align 4 %179 = sext i32 %178 to i64 %180 = getelementptr inbounds i32, ptr %177, i64 %179 %181 = load i32, ptr %180, align 4 %182 = icmp ne i32 %181, 1000001 br i1 %182, label %183, label %194 183: ; preds = %151 %184 = load ptr, ptr %14, align 8 %185 = load ptr, ptr %15, align 8 %186 = load i32, ptr %3, align 4 %187 = sext i32 %186 to i64 %188 = getelementptr inbounds i32, ptr %185, i64 %187 %189 = load i32, ptr %188, align 4 %190 = sext i32 %189 to i64 %191 = getelementptr inbounds i32, ptr %184, i64 %190 %192 = load i32, ptr %191, align 4 %193 = add nsw i32 %192, -1 store i32 %193, ptr %191, align 4 br label %194 194: ; preds = %183, %151 br label %195 195: ; preds = %194 %196 = load i32, ptr %3, align 4 %197 = add nsw i32 %196, 1 store i32 %197, ptr %3, align 4 %198 = load i32, ptr %3, align 4 %199 = icmp slt i32 %198, 1000001 br i1 %199, label %151, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %195 br label %200 200: ; preds = %._crit_edge9, %148 %201 = call i64 @scanf(ptr noundef @.str, ptr noundef %3) %202 = load i64, ptr @EOF, align 8 %203 = icmp ne i64 %201, %202 br i1 %203, label %.lr.ph11, label %219 .lr.ph11: ; preds = %200 br label %204 204: ; preds = %.lr.ph11, %204 %205 = load ptr, ptr %13, align 8 %206 = load i32, ptr %3, align 4 %207 = sext i32 %206 to i64 %208 = getelementptr inbounds i32, ptr %205, i64 %207 %209 = load i32, ptr %208, align 4 %210 = load ptr, ptr %14, align 8 %211 = load i32, ptr %3, align 4 %212 = sext i32 %211 to i64 %213 = getelementptr inbounds i32, ptr %210, i64 %212 %214 = load i32, ptr %213, align 4 %215 = call i32 @printf(ptr noundef @.str.1, i32 noundef %209, i32 noundef %214) %216 = call i64 @scanf(ptr noundef @.str, ptr noundef %3) %217 = load i64, ptr @EOF, align 8 %218 = icmp ne i64 %216, %217 br i1 %218, label %204, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %204 br label %219 219: ; preds = %._crit_edge12, %200 %220 = load ptr, ptr %13, align 8 %221 = call i32 @free(ptr noundef %220) %222 = load ptr, ptr %14, align 8 %223 = call i32 @free(ptr noundef %222) %224 = load ptr, ptr %15, align 8 %225 = call i32 @free(ptr noundef %224) ret i32 0 } declare i64 @malloc(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @gcd(i32 noundef, i32 noundef) #1 declare i64 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmpxmtmekgv.c' source_filename = "/tmp/tmpxmtmekgv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @findWords(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %12 = load ptr, ptr %6, align 8 store i32 0, ptr %12, align 4 %13 = load i32, ptr %5, align 4 %14 = sext i32 %13 to i64 %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 %7, align 8 store i32 0, ptr %9, align 4 br label %19 19: ; preds = %92, %3 %20 = load i32, ptr %9, align 4 %21 = load i32, ptr %5, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %23, label %95 23: ; preds = %19 %24 = load ptr, ptr %4, align 8 %25 = load i32, ptr %9, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds ptr, ptr %24, i64 %26 %28 = load ptr, ptr %27, align 8 %29 = call i32 @strlen(ptr noundef %28) store i32 %29, ptr %11, align 4 %30 = load ptr, ptr %4, align 8 %31 = load i32, ptr %9, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds ptr, ptr %30, i64 %32 %34 = load ptr, ptr %33, align 8 %35 = getelementptr inbounds i8, ptr %34, i64 0 %36 = load i8, ptr %35, align 1 %37 = call i32 @whichRow(i8 noundef signext %36) store i32 %37, ptr %8, align 4 store i32 1, ptr %10, align 4 br label %38 38: ; preds = %57, %23 %39 = load i32, ptr %10, align 4 %40 = load i32, ptr %11, align 4 %41 = icmp slt i32 %39, %40 br i1 %41, label %42, label %60 42: ; preds = %38 %43 = load ptr, ptr %4, align 8 %44 = load i32, ptr %9, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds ptr, ptr %43, i64 %45 %47 = load ptr, ptr %46, align 8 %48 = load i32, ptr %10, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i8, ptr %47, i64 %49 %51 = load i8, ptr %50, align 1 %52 = call i32 @whichRow(i8 noundef signext %51) %53 = load i32, ptr %8, align 4 %54 = icmp ne i32 %52, %53 br i1 %54, label %55, label %56 55: ; preds = %42 store i32 -1, ptr %8, align 4 br label %60 56: ; preds = %42 br label %57 57: ; preds = %56 %58 = load i32, ptr %10, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %10, align 4 br label %38, !llvm.loop !6 60: ; preds = %55, %38 %61 = load i32, ptr %8, align 4 %62 = icmp ne i32 %61, -1 br i1 %62, label %63, label %91 63: ; preds = %60 %64 = load i32, ptr %11, align 4 %65 = add nsw i32 %64, 1 %66 = sext i32 %65 to i64 %67 = mul i64 1, %66 %68 = trunc i64 %67 to i32 %69 = call i64 @malloc(i32 noundef %68) %70 = inttoptr i64 %69 to ptr %71 = load ptr, ptr %7, align 8 %72 = load ptr, ptr %6, align 8 %73 = load i32, ptr %72, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds ptr, ptr %71, i64 %74 store ptr %70, ptr %75, align 8 %76 = load ptr, ptr %7, align 8 %77 = load ptr, ptr %6, align 8 %78 = load i32, ptr %77, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds ptr, ptr %76, i64 %79 %81 = load ptr, ptr %80, align 8 %82 = load ptr, ptr %4, align 8 %83 = load i32, ptr %9, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds ptr, ptr %82, i64 %84 %86 = load ptr, ptr %85, align 8 %87 = call i32 @strcpy(ptr noundef %81, ptr noundef %86) %88 = load ptr, ptr %6, align 8 %89 = load i32, ptr %88, align 4 %90 = add nsw i32 %89, 1 store i32 %90, ptr %88, align 4 br label %91 91: ; preds = %63, %60 br label %92 92: ; preds = %91 %93 = load i32, ptr %9, align 4 %94 = add nsw i32 %93, 1 store i32 %94, ptr %9, align 4 br label %19, !llvm.loop !8 95: ; preds = %19 %96 = load ptr, ptr %7, align 8 ret ptr %96 } declare i64 @malloc(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @whichRow(i8 noundef signext) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxmtmekgv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @findWords(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %12 = load ptr, ptr %6, align 8 store i32 0, ptr %12, align 4 %13 = load i32, ptr %5, align 4 %14 = sext i32 %13 to i64 %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 %7, align 8 store i32 0, ptr %9, align 4 %19 = load i32, ptr %9, align 4 %20 = load i32, ptr %5, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %.lr.ph1, label %99 .lr.ph1: ; preds = %3 br label %22 22: ; preds = %.lr.ph1, %93 %23 = load ptr, ptr %4, align 8 %24 = load i32, ptr %9, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds ptr, ptr %23, i64 %25 %27 = load ptr, ptr %26, align 8 %28 = call i32 @strlen(ptr noundef %27) store i32 %28, ptr %11, align 4 %29 = load ptr, ptr %4, align 8 %30 = load i32, ptr %9, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds ptr, ptr %29, i64 %31 %33 = load ptr, ptr %32, align 8 %34 = getelementptr inbounds i8, ptr %33, i64 0 %35 = load i8, ptr %34, align 1 %36 = call i32 @whichRow(i8 noundef signext %35) store i32 %36, ptr %8, align 4 store i32 1, ptr %10, align 4 %37 = load i32, ptr %10, align 4 %38 = load i32, ptr %11, align 4 %39 = icmp slt i32 %37, %38 br i1 %39, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %22 br label %40 40: ; preds = %.lr.ph, %55 %41 = load ptr, ptr %4, align 8 %42 = load i32, ptr %9, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds ptr, ptr %41, i64 %43 %45 = load ptr, ptr %44, align 8 %46 = load i32, ptr %10, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i8, ptr %45, i64 %47 %49 = load i8, ptr %48, align 1 %50 = call i32 @whichRow(i8 noundef signext %49) %51 = load i32, ptr %8, align 4 %52 = icmp ne i32 %50, %51 br i1 %52, label %53, label %54 53: ; preds = %40 store i32 -1, ptr %8, align 4 br label %61 54: ; preds = %40 br label %55 55: ; preds = %54 %56 = load i32, ptr %10, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %10, align 4 %58 = load i32, ptr %10, align 4 %59 = load i32, ptr %11, align 4 %60 = icmp slt i32 %58, %59 br i1 %60, label %40, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %55 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %22 br label %61 61: ; preds = %.loopexit, %53 %62 = load i32, ptr %8, align 4 %63 = icmp ne i32 %62, -1 br i1 %63, label %64, label %92 64: ; preds = %61 %65 = load i32, ptr %11, align 4 %66 = add nsw i32 %65, 1 %67 = sext i32 %66 to i64 %68 = mul i64 1, %67 %69 = trunc i64 %68 to i32 %70 = call i64 @malloc(i32 noundef %69) %71 = inttoptr i64 %70 to ptr %72 = load ptr, ptr %7, align 8 %73 = load ptr, ptr %6, align 8 %74 = load i32, ptr %73, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds ptr, ptr %72, i64 %75 store ptr %71, ptr %76, align 8 %77 = load ptr, ptr %7, align 8 %78 = load ptr, ptr %6, align 8 %79 = load i32, ptr %78, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds ptr, ptr %77, i64 %80 %82 = load ptr, ptr %81, align 8 %83 = load ptr, ptr %4, align 8 %84 = load i32, ptr %9, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds ptr, ptr %83, i64 %85 %87 = load ptr, ptr %86, align 8 %88 = call i32 @strcpy(ptr noundef %82, ptr noundef %87) %89 = load ptr, ptr %6, align 8 %90 = load i32, ptr %89, align 4 %91 = add nsw i32 %90, 1 store i32 %91, ptr %89, align 4 br label %92 92: ; preds = %64, %61 br label %93 93: ; preds = %92 %94 = load i32, ptr %9, align 4 %95 = add nsw i32 %94, 1 store i32 %95, ptr %9, align 4 %96 = load i32, ptr %9, align 4 %97 = load i32, ptr %5, align 4 %98 = icmp slt i32 %96, %97 br i1 %98, label %22, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %93 br label %99 99: ; preds = %._crit_edge, %3 %100 = load ptr, ptr %7, align 8 ret ptr %100 } declare i64 @malloc(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @whichRow(i8 noundef signext) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpu6srl9uy.c' source_filename = "/tmp/tmpu6srl9uy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ssds_find_field(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 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 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %6, align 8 %11 = load i32, ptr %7, align 4 %12 = load i32, ptr %8, align 4 %13 = call ptr @ssds_find_field_new(ptr noundef %9, ptr noundef %10, i32 noundef %11, i32 noundef %12, ptr noundef null) ret ptr %13 } declare ptr @ssds_find_field_new(ptr noundef, 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/tmpu6srl9uy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ssds_find_field(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 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 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %6, align 8 %11 = load i32, ptr %7, align 4 %12 = load i32, ptr %8, align 4 %13 = call ptr @ssds_find_field_new(ptr noundef %9, ptr noundef %10, i32 noundef %11, i32 noundef %12, ptr noundef null) ret ptr %13 } declare ptr @ssds_find_field_new(ptr noundef, 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/tmpdacltlea.c' source_filename = "/tmp/tmpdacltlea.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%ld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca i32, align 4 %13 = 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 br label %14 14: ; preds = %2, %47 %15 = call i32 @scanf(ptr noundef @.str, ptr noundef %7) store i32 %15, ptr %9, align 4 %16 = icmp ne i32 %15, 1 br i1 %16, label %17, label %18 17: ; preds = %14 store i32 0, ptr %3, align 4 br label %48 18: ; preds = %14 %19 = load i32, ptr %7, align 4 %20 = zext i32 %19 to i64 %21 = call ptr @llvm.stacksave() store ptr %21, ptr %10, align 8 %22 = alloca i32, i64 %20, align 16 store i64 %20, ptr %11, align 8 store i32 0, ptr %6, align 4 br label %23 23: ; preds = %36, %18 %24 = load i32, ptr %6, align 4 %25 = load i32, ptr %7, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %27, label %39 27: ; preds = %23 %28 = call i32 @scanf(ptr noundef @.str, ptr noundef %8) store i32 %28, ptr %9, align 4 %29 = icmp ne i32 %28, 1 br i1 %29, label %30, label %31 30: ; preds = %27 store i32 1, ptr %3, align 4 store i32 1, ptr %12, align 4 br label %44 31: ; preds = %27 %32 = load i32, ptr %8, align 4 %33 = load i32, ptr %6, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i32, ptr %22, i64 %34 store i32 %32, ptr %35, align 4 br label %36 36: ; preds = %31 %37 = load i32, ptr %6, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %6, align 4 br label %23, !llvm.loop !6 39: ; preds = %23 %40 = load i32, ptr %7, align 4 %41 = call i32 @split_and_count(ptr noundef %22, i32 noundef %40, ptr noundef %13) %42 = load i64, ptr %13, align 8 %43 = call i32 @printf(ptr noundef @.str.1, i64 noundef %42) store i32 0, ptr %12, align 4 br label %44 44: ; preds = %39, %30 %45 = load ptr, ptr %10, align 8 call void @llvm.stackrestore(ptr %45) %46 = load i32, ptr %12, align 4 switch i32 %46, label %50 [ i32 0, label %47 i32 1, label %48 ] 47: ; preds = %44 br label %14 48: ; preds = %44, %17 %49 = load i32, ptr %3, align 4 ret i32 %49 50: ; preds = %44 unreachable } declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @split_and_count(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdacltlea.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%ld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca i32, align 4 %13 = 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 %14 = call i32 @scanf(ptr noundef @.str, ptr noundef %7) store i32 %14, ptr %9, align 4 %15 = icmp ne i32 %14, 1 br i1 %15, label %16, label %.lr.ph2 .lr.ph2: ; preds = %2 br label %17 ._crit_edge3: ; preds = %48 br label %16 16: ; preds = %._crit_edge3, %2 store i32 0, ptr %3, align 4 br label %51 17: ; preds = %.lr.ph2, %48 %18 = load i32, ptr %7, align 4 %19 = zext i32 %18 to i64 %20 = call ptr @llvm.stacksave() store ptr %20, ptr %10, align 8 %21 = alloca i32, i64 %19, align 16 store i64 %19, ptr %11, align 8 store i32 0, ptr %6, align 4 %22 = load i32, ptr %6, align 4 %23 = load i32, ptr %7, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %.lr.ph, label %40 .lr.ph: ; preds = %17 br label %25 25: ; preds = %.lr.ph, %34 %26 = call i32 @scanf(ptr noundef @.str, ptr noundef %8) store i32 %26, ptr %9, align 4 %27 = icmp ne i32 %26, 1 br i1 %27, label %28, label %29 28: ; preds = %25 store i32 1, ptr %3, align 4 store i32 1, ptr %12, align 4 br label %45 29: ; preds = %25 %30 = load i32, ptr %8, align 4 %31 = load i32, ptr %6, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i32, ptr %21, i64 %32 store i32 %30, ptr %33, align 4 br label %34 34: ; preds = %29 %35 = load i32, ptr %6, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %6, align 4 %37 = load i32, ptr %6, align 4 %38 = load i32, ptr %7, align 4 %39 = icmp slt i32 %37, %38 br i1 %39, label %25, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %34 br label %40 40: ; preds = %._crit_edge, %17 %41 = load i32, ptr %7, align 4 %42 = call i32 @split_and_count(ptr noundef %21, i32 noundef %41, ptr noundef %13) %43 = load i64, ptr %13, align 8 %44 = call i32 @printf(ptr noundef @.str.1, i64 noundef %43) store i32 0, ptr %12, align 4 br label %45 45: ; preds = %40, %28 %46 = load ptr, ptr %10, align 8 call void @llvm.stackrestore(ptr %46) %47 = load i32, ptr %12, align 4 switch i32 %47, label %53 [ i32 0, label %48 i32 1, label %.loopexit ] 48: ; preds = %45 %49 = call i32 @scanf(ptr noundef @.str, ptr noundef %7) store i32 %49, ptr %9, align 4 %50 = icmp ne i32 %49, 1 br i1 %50, label %._crit_edge3, label %17 .loopexit: ; preds = %45 br label %51 51: ; preds = %.loopexit, %16 %52 = load i32, ptr %3, align 4 ret i32 %52 53: ; preds = %45 unreachable } declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @split_and_count(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpxly6hrbr.c' source_filename = "/tmp/tmpxly6hrbr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @zopenssl_create_SSL_CTX_client() #0 { %1 = call i32 (...) @SSLv23_client_method() %2 = call ptr @SSL_CTX_new(i32 noundef %1) ret ptr %2 } declare ptr @SSL_CTX_new(i32 noundef) #1 declare i32 @SSLv23_client_method(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxly6hrbr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @zopenssl_create_SSL_CTX_client() #0 { %1 = call i32 (...) @SSLv23_client_method() %2 = call ptr @SSL_CTX_new(i32 noundef %1) ret ptr %2 } declare ptr @SSL_CTX_new(i32 noundef) #1 declare i32 @SSLv23_client_method(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpl32r83d9.c' source_filename = "/tmp/tmpl32r83d9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"missing FastA header line\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c" \09\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c" \09\0A\00\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c" \09>|\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @fasta_name(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %11, label %9 9: ; preds = %1 %10 = call ptr @copy_string(ptr noundef @.str) store ptr %10, ptr %2, align 8 br label %76 11: ; preds = %1 %12 = load ptr, ptr %3, align 8 %13 = call i64 @strlen(ptr noundef %12) %14 = icmp eq i64 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %11 %16 = call ptr @copy_string(ptr noundef @.str) store ptr %16, ptr %2, align 8 br label %76 17: ; preds = %11 %18 = load ptr, ptr %3, align 8 %19 = getelementptr inbounds i8, ptr %18, i64 0 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = icmp ne i32 %21, 62 br i1 %22, label %23, label %25 23: ; preds = %17 %24 = call i32 @fatal(ptr noundef @.str.1) br label %25 25: ; preds = %23, %17 %26 = load ptr, ptr %3, align 8 %27 = call ptr @copy_string(ptr noundef %26) store ptr %27, ptr %4, align 8 %28 = load ptr, ptr %4, align 8 %29 = getelementptr inbounds i8, ptr %28, i64 1 store ptr %29, ptr %5, align 8 br label %30 30: ; preds = %35, %25 %31 = load ptr, ptr %5, align 8 %32 = load i8, ptr %31, align 1 %33 = call i64 @strchr(ptr noundef @.str.2, i8 noundef signext %32) %34 = icmp ne i64 %33, 0 br i1 %34, label %35, label %38 35: ; preds = %30 %36 = load ptr, ptr %5, align 8 %37 = getelementptr inbounds i8, ptr %36, i32 1 store ptr %37, ptr %5, align 8 br label %30, !llvm.loop !6 38: ; preds = %30 br label %39 39: ; preds = %45, %38 %40 = load ptr, ptr %5, align 8 %41 = load i8, ptr %40, align 1 %42 = call i64 @strchr(ptr noundef @.str.3, i8 noundef signext %41) %43 = icmp ne i64 %42, 0 %44 = xor i1 %43, true br i1 %44, label %45, label %48 45: ; preds = %39 %46 = load ptr, ptr %5, align 8 %47 = getelementptr inbounds i8, ptr %46, i32 1 store ptr %47, ptr %5, align 8 br label %39, !llvm.loop !8 48: ; preds = %39 %49 = load ptr, ptr %5, align 8 store i8 0, ptr %49, align 1 br label %50 50: ; preds = %56, %48 %51 = load ptr, ptr %5, align 8 %52 = getelementptr inbounds i8, ptr %51, i64 -1 %53 = load i8, ptr %52, align 1 %54 = sext i8 %53 to i32 %55 = icmp eq i32 %54, 124 br i1 %55, label %56, label %59 56: ; preds = %50 %57 = load ptr, ptr %5, align 8 %58 = getelementptr inbounds i8, ptr %57, i32 -1 store ptr %58, ptr %5, align 8 store i8 0, ptr %58, align 1 br label %50, !llvm.loop !9 59: ; preds = %50 br label %60 60: ; preds = %67, %59 %61 = load ptr, ptr %5, align 8 %62 = getelementptr inbounds i8, ptr %61, i64 -1 %63 = load i8, ptr %62, align 1 %64 = call i64 @strchr(ptr noundef @.str.4, i8 noundef signext %63) %65 = icmp ne i64 %64, 0 %66 = xor i1 %65, true br i1 %66, label %67, label %70 67: ; preds = %60 %68 = load ptr, ptr %5, align 8 %69 = getelementptr inbounds i8, ptr %68, i32 -1 store ptr %69, ptr %5, align 8 br label %60, !llvm.loop !10 70: ; preds = %60 %71 = load ptr, ptr %5, align 8 %72 = call ptr @copy_string(ptr noundef %71) store ptr %72, ptr %6, align 8 %73 = load ptr, ptr %4, align 8 %74 = call i32 @free(ptr noundef %73) %75 = load ptr, ptr %6, align 8 store ptr %75, ptr %2, align 8 br label %76 76: ; preds = %70, %15, %9 %77 = load ptr, ptr %2, align 8 ret ptr %77 } declare ptr @copy_string(ptr noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @fatal(ptr noundef) #1 declare i64 @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpl32r83d9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"missing FastA header line\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c" \09\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c" \09\0A\00\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c" \09>|\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @fasta_name(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %11, label %9 9: ; preds = %1 %10 = call ptr @copy_string(ptr noundef @.str) store ptr %10, ptr %2, align 8 br label %92 11: ; preds = %1 %12 = load ptr, ptr %3, align 8 %13 = call i64 @strlen(ptr noundef %12) %14 = icmp eq i64 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %11 %16 = call ptr @copy_string(ptr noundef @.str) store ptr %16, ptr %2, align 8 br label %92 17: ; preds = %11 %18 = load ptr, ptr %3, align 8 %19 = getelementptr inbounds i8, ptr %18, i64 0 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = icmp ne i32 %21, 62 br i1 %22, label %23, label %25 23: ; preds = %17 %24 = call i32 @fatal(ptr noundef @.str.1) br label %25 25: ; preds = %23, %17 %26 = load ptr, ptr %3, align 8 %27 = call ptr @copy_string(ptr noundef %26) store ptr %27, ptr %4, align 8 %28 = load ptr, ptr %4, align 8 %29 = getelementptr inbounds i8, ptr %28, i64 1 store ptr %29, ptr %5, align 8 %30 = load ptr, ptr %5, align 8 %31 = load i8, ptr %30, align 1 %32 = call i64 @strchr(ptr noundef @.str.2, i8 noundef signext %31) %33 = icmp ne i64 %32, 0 br i1 %33, label %.lr.ph, label %41 .lr.ph: ; preds = %25 br label %34 34: ; preds = %.lr.ph, %34 %35 = load ptr, ptr %5, align 8 %36 = getelementptr inbounds i8, ptr %35, i32 1 store ptr %36, ptr %5, align 8 %37 = load ptr, ptr %5, align 8 %38 = load i8, ptr %37, align 1 %39 = call i64 @strchr(ptr noundef @.str.2, i8 noundef signext %38) %40 = icmp ne i64 %39, 0 br i1 %40, label %34, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %34 br label %41 41: ; preds = %._crit_edge, %25 %42 = load ptr, ptr %5, align 8 %43 = load i8, ptr %42, align 1 %44 = call i64 @strchr(ptr noundef @.str.3, i8 noundef signext %43) %45 = icmp ne i64 %44, 0 %46 = xor i1 %45, true br i1 %46, label %.lr.ph2, label %55 .lr.ph2: ; preds = %41 br label %47 47: ; preds = %.lr.ph2, %47 %48 = load ptr, ptr %5, align 8 %49 = getelementptr inbounds i8, ptr %48, i32 1 store ptr %49, ptr %5, align 8 %50 = load ptr, ptr %5, align 8 %51 = load i8, ptr %50, align 1 %52 = call i64 @strchr(ptr noundef @.str.3, i8 noundef signext %51) %53 = icmp ne i64 %52, 0 %54 = xor i1 %53, true br i1 %54, label %47, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %47 br label %55 55: ; preds = %._crit_edge3, %41 %56 = load ptr, ptr %5, align 8 store i8 0, ptr %56, align 1 %57 = load ptr, ptr %5, align 8 %58 = getelementptr inbounds i8, ptr %57, i64 -1 %59 = load i8, ptr %58, align 1 %60 = sext i8 %59 to i32 %61 = icmp eq i32 %60, 124 br i1 %61, label %.lr.ph5, label %70 .lr.ph5: ; preds = %55 br label %62 62: ; preds = %.lr.ph5, %62 %63 = load ptr, ptr %5, align 8 %64 = getelementptr inbounds i8, ptr %63, i32 -1 store ptr %64, ptr %5, align 8 store i8 0, ptr %64, align 1 %65 = load ptr, ptr %5, align 8 %66 = getelementptr inbounds i8, ptr %65, i64 -1 %67 = load i8, ptr %66, align 1 %68 = sext i8 %67 to i32 %69 = icmp eq i32 %68, 124 br i1 %69, label %62, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %62 br label %70 70: ; preds = %._crit_edge6, %55 %71 = load ptr, ptr %5, align 8 %72 = getelementptr inbounds i8, ptr %71, i64 -1 %73 = load i8, ptr %72, align 1 %74 = call i64 @strchr(ptr noundef @.str.4, i8 noundef signext %73) %75 = icmp ne i64 %74, 0 %76 = xor i1 %75, true br i1 %76, label %.lr.ph8, label %86 .lr.ph8: ; preds = %70 br label %77 77: ; preds = %.lr.ph8, %77 %78 = load ptr, ptr %5, align 8 %79 = getelementptr inbounds i8, ptr %78, i32 -1 store ptr %79, ptr %5, align 8 %80 = load ptr, ptr %5, align 8 %81 = getelementptr inbounds i8, ptr %80, i64 -1 %82 = load i8, ptr %81, align 1 %83 = call i64 @strchr(ptr noundef @.str.4, i8 noundef signext %82) %84 = icmp ne i64 %83, 0 %85 = xor i1 %84, true br i1 %85, label %77, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %77 br label %86 86: ; preds = %._crit_edge9, %70 %87 = load ptr, ptr %5, align 8 %88 = call ptr @copy_string(ptr noundef %87) store ptr %88, ptr %6, align 8 %89 = load ptr, ptr %4, align 8 %90 = call i32 @free(ptr noundef %89) %91 = load ptr, ptr %6, align 8 store ptr %91, ptr %2, align 8 br label %92 92: ; preds = %86, %15, %9 %93 = load ptr, ptr %2, align 8 ret ptr %93 } declare ptr @copy_string(ptr noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @fatal(ptr noundef) #1 declare i64 @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmprnrlm6cz.c' source_filename = "/tmp/tmprnrlm6cz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"/\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"wb\00", align 1 @.str.2 = private unnamed_addr constant [37 x i8] c"SDLengine error: file not found %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @file_unzip(ptr 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 ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %13 = load ptr, ptr %6, align 8 %14 = call i64 @strlen(ptr noundef %13) %15 = load ptr, ptr %7, align 8 %16 = call i64 @strlen(ptr noundef %15) %17 = add i64 %14, %16 %18 = add i64 %17, 2 %19 = call i64 @malloc(i64 noundef %18) %20 = inttoptr i64 %19 to ptr store ptr %20, ptr %10, align 8 %21 = load ptr, ptr %10, align 8 %22 = load ptr, ptr %7, align 8 %23 = call i32 @strcpy(ptr noundef %21, ptr noundef %22) %24 = load ptr, ptr %10, align 8 %25 = call i32 @strcat(ptr noundef %24, ptr noundef @.str) %26 = load ptr, ptr %10, align 8 %27 = load ptr, ptr %6, align 8 %28 = call i32 @strcat(ptr noundef %26, ptr noundef %27) %29 = load ptr, ptr %10, align 8 %30 = load ptr, ptr %10, align 8 %31 = call i64 @strlen(ptr noundef %30) %32 = getelementptr inbounds i8, ptr %29, i64 %31 store i8 0, ptr %32, align 1 %33 = load ptr, ptr %5, align 8 %34 = load ptr, ptr %6, align 8 %35 = call i64 @load_zipped_file(ptr noundef %33, ptr noundef %34, ptr noundef %9, ptr noundef %11) %36 = icmp eq i64 %35, 0 br i1 %36, label %37, label %58 37: ; preds = %3 %38 = load ptr, ptr %10, align 8 %39 = call ptr @fopen(ptr noundef %38, ptr noundef @.str.1) store ptr %39, ptr %8, align 8 store i32 0, ptr %12, align 4 br label %40 40: ; preds = %52, %37 %41 = load i32, ptr %12, align 4 %42 = load i32, ptr %11, align 4 %43 = icmp slt i32 %41, %42 br i1 %43, label %44, label %55 44: ; preds = %40 %45 = load ptr, ptr %9, align 8 %46 = load i32, ptr %12, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i8, ptr %45, i64 %47 %49 = load i8, ptr %48, align 1 %50 = load ptr, ptr %8, align 8 %51 = call i32 @fputc(i8 noundef zeroext %49, ptr noundef %50) br label %52 52: ; preds = %44 %53 = load i32, ptr %12, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %12, align 4 br label %40, !llvm.loop !6 55: ; preds = %40 %56 = load ptr, ptr %8, align 8 %57 = call i32 @fclose(ptr noundef %56) store i32 0, ptr %4, align 4 br label %61 58: ; preds = %3 %59 = load ptr, ptr %6, align 8 %60 = call i32 @printf(ptr noundef @.str.2, ptr noundef %59) store i32 -1, ptr %4, align 4 br label %61 61: ; preds = %58, %55 %62 = load i32, ptr %4, align 4 ret i32 %62 } declare i64 @malloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i64 @load_zipped_file(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fputc(i8 noundef zeroext, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprnrlm6cz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"/\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"wb\00", align 1 @.str.2 = private unnamed_addr constant [37 x i8] c"SDLengine error: file not found %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @file_unzip(ptr 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 ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %13 = load ptr, ptr %6, align 8 %14 = call i64 @strlen(ptr noundef %13) %15 = load ptr, ptr %7, align 8 %16 = call i64 @strlen(ptr noundef %15) %17 = add i64 %14, %16 %18 = add i64 %17, 2 %19 = call i64 @malloc(i64 noundef %18) %20 = inttoptr i64 %19 to ptr store ptr %20, ptr %10, align 8 %21 = load ptr, ptr %10, align 8 %22 = load ptr, ptr %7, align 8 %23 = call i32 @strcpy(ptr noundef %21, ptr noundef %22) %24 = load ptr, ptr %10, align 8 %25 = call i32 @strcat(ptr noundef %24, ptr noundef @.str) %26 = load ptr, ptr %10, align 8 %27 = load ptr, ptr %6, align 8 %28 = call i32 @strcat(ptr noundef %26, ptr noundef %27) %29 = load ptr, ptr %10, align 8 %30 = load ptr, ptr %10, align 8 %31 = call i64 @strlen(ptr noundef %30) %32 = getelementptr inbounds i8, ptr %29, i64 %31 store i8 0, ptr %32, align 1 %33 = load ptr, ptr %5, align 8 %34 = load ptr, ptr %6, align 8 %35 = call i64 @load_zipped_file(ptr noundef %33, ptr noundef %34, ptr noundef %9, ptr noundef %11) %36 = icmp eq i64 %35, 0 br i1 %36, label %37, label %60 37: ; preds = %3 %38 = load ptr, ptr %10, align 8 %39 = call ptr @fopen(ptr noundef %38, ptr noundef @.str.1) store ptr %39, ptr %8, align 8 store i32 0, ptr %12, align 4 %40 = load i32, ptr %12, align 4 %41 = load i32, ptr %11, align 4 %42 = icmp slt i32 %40, %41 br i1 %42, label %.lr.ph, label %57 .lr.ph: ; preds = %37 br label %43 43: ; preds = %.lr.ph, %51 %44 = load ptr, ptr %9, align 8 %45 = load i32, ptr %12, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i8, ptr %44, i64 %46 %48 = load i8, ptr %47, align 1 %49 = load ptr, ptr %8, align 8 %50 = call i32 @fputc(i8 noundef zeroext %48, ptr noundef %49) br label %51 51: ; preds = %43 %52 = load i32, ptr %12, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %12, align 4 %54 = load i32, ptr %12, align 4 %55 = load i32, ptr %11, align 4 %56 = icmp slt i32 %54, %55 br i1 %56, label %43, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %51 br label %57 57: ; preds = %._crit_edge, %37 %58 = load ptr, ptr %8, align 8 %59 = call i32 @fclose(ptr noundef %58) store i32 0, ptr %4, align 4 br label %63 60: ; preds = %3 %61 = load ptr, ptr %6, align 8 %62 = call i32 @printf(ptr noundef @.str.2, ptr noundef %61) store i32 -1, ptr %4, align 4 br label %63 63: ; preds = %60, %57 %64 = load i32, ptr %4, align 4 ret i32 %64 } declare i64 @malloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i64 @load_zipped_file(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fputc(i8 noundef zeroext, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpdk7uljhm.c' source_filename = "/tmp/tmpdk7uljhm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.parseLSystem.fsub = private unnamed_addr constant [19 x i8] c"F[RF][LF]F[LF][RF]\00", align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @parseLSystem(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [19 x i8], align 16 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %2, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.parseLSystem.fsub, i64 19, i1 false) store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 %7 = load ptr, ptr %2, align 8 %8 = call i32 @strlen(ptr noundef %7) %9 = getelementptr inbounds [19 x i8], ptr %3, i64 0, i64 0 %10 = call i32 @strlen(ptr noundef %9) %11 = mul nsw i32 %8, %10 %12 = call i64 @malloc(i32 noundef %11) %13 = inttoptr i64 %12 to ptr store ptr %13, ptr %4, align 8 br label %14 14: ; preds = %66, %1 %15 = load ptr, ptr %2, align 8 %16 = load i32, ptr %6, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %15, i64 %17 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp ne i32 %20, 0 br i1 %21, label %22, label %30 22: ; preds = %14 %23 = load i32, ptr %5, align 4 %24 = load ptr, ptr %2, align 8 %25 = call i32 @strlen(ptr noundef %24) %26 = getelementptr inbounds [19 x i8], ptr %3, i64 0, i64 0 %27 = call i32 @strlen(ptr noundef %26) %28 = mul nsw i32 %25, %27 %29 = icmp slt i32 %23, %28 br label %30 30: ; preds = %22, %14 %31 = phi i1 [ false, %14 ], [ %29, %22 ] br i1 %31, label %32, label %67 32: ; preds = %30 %33 = load ptr, ptr %2, align 8 %34 = load i32, ptr %6, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i8, ptr %33, i64 %35 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = icmp eq i32 %38, 70 br i1 %39, label %40, label %54 40: ; preds = %32 %41 = call i32 (...) @random() %42 = srem i32 %41, 4 %43 = icmp ne i32 %42, 3 br i1 %43, label %44, label %54 44: ; preds = %40 %45 = load ptr, ptr %4, align 8 %46 = getelementptr inbounds [19 x i8], ptr %3, i64 0, i64 0 %47 = call i32 @strcat(ptr noundef %45, ptr noundef %46) %48 = getelementptr inbounds [19 x i8], ptr %3, i64 0, i64 0 %49 = call i32 @strlen(ptr noundef %48) %50 = load i32, ptr %5, align 4 %51 = add nsw i32 %50, %49 store i32 %51, ptr %5, align 4 %52 = load i32, ptr %6, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %6, align 4 br label %66 54: ; preds = %40, %32 %55 = load ptr, ptr %2, align 8 %56 = load i32, ptr %6, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %6, align 4 %58 = sext i32 %56 to i64 %59 = getelementptr inbounds i8, ptr %55, i64 %58 %60 = load i8, ptr %59, align 1 %61 = load ptr, ptr %4, align 8 %62 = load i32, ptr %5, align 4 %63 = add nsw i32 %62, 1 store i32 %63, ptr %5, align 4 %64 = sext i32 %62 to i64 %65 = getelementptr inbounds i8, ptr %61, i64 %64 store i8 %60, ptr %65, align 1 br label %66 66: ; preds = %54, %44 br label %14, !llvm.loop !6 67: ; preds = %30 %68 = load ptr, ptr %4, align 8 %69 = load i32, ptr %5, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds i8, ptr %68, i64 %70 store i8 0, ptr %71, align 1 %72 = load ptr, ptr %4, align 8 ret ptr %72 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i64 @malloc(i32 noundef) #2 declare i32 @strlen(ptr noundef) #2 declare i32 @random(...) #2 declare i32 @strcat(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdk7uljhm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.parseLSystem.fsub = private unnamed_addr constant [19 x i8] c"F[RF][LF]F[LF][RF]\00", align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @parseLSystem(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [19 x i8], align 16 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %2, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.parseLSystem.fsub, i64 19, i1 false) store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 %7 = load ptr, ptr %2, align 8 %8 = call i32 @strlen(ptr noundef %7) %9 = getelementptr inbounds [19 x i8], ptr %3, i64 0, i64 0 %10 = call i32 @strlen(ptr noundef %9) %11 = mul nsw i32 %8, %10 %12 = call i64 @malloc(i32 noundef %11) %13 = inttoptr i64 %12 to ptr store ptr %13, ptr %4, align 8 br label %14 14: ; preds = %66, %1 %15 = load ptr, ptr %2, align 8 %16 = load i32, ptr %6, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %15, i64 %17 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp ne i32 %20, 0 br i1 %21, label %22, label %30 22: ; preds = %14 %23 = load i32, ptr %5, align 4 %24 = load ptr, ptr %2, align 8 %25 = call i32 @strlen(ptr noundef %24) %26 = getelementptr inbounds [19 x i8], ptr %3, i64 0, i64 0 %27 = call i32 @strlen(ptr noundef %26) %28 = mul nsw i32 %25, %27 %29 = icmp slt i32 %23, %28 br label %30 30: ; preds = %22, %14 %31 = phi i1 [ false, %14 ], [ %29, %22 ] br i1 %31, label %32, label %67 32: ; preds = %30 %33 = load ptr, ptr %2, align 8 %34 = load i32, ptr %6, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i8, ptr %33, i64 %35 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = icmp eq i32 %38, 70 br i1 %39, label %40, label %54 40: ; preds = %32 %41 = call i32 (...) @random() %42 = srem i32 %41, 4 %43 = icmp ne i32 %42, 3 br i1 %43, label %44, label %54 44: ; preds = %40 %45 = load ptr, ptr %4, align 8 %46 = getelementptr inbounds [19 x i8], ptr %3, i64 0, i64 0 %47 = call i32 @strcat(ptr noundef %45, ptr noundef %46) %48 = getelementptr inbounds [19 x i8], ptr %3, i64 0, i64 0 %49 = call i32 @strlen(ptr noundef %48) %50 = load i32, ptr %5, align 4 %51 = add nsw i32 %50, %49 store i32 %51, ptr %5, align 4 %52 = load i32, ptr %6, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %6, align 4 br label %66 54: ; preds = %40, %32 %55 = load ptr, ptr %2, align 8 %56 = load i32, ptr %6, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %6, align 4 %58 = sext i32 %56 to i64 %59 = getelementptr inbounds i8, ptr %55, i64 %58 %60 = load i8, ptr %59, align 1 %61 = load ptr, ptr %4, align 8 %62 = load i32, ptr %5, align 4 %63 = add nsw i32 %62, 1 store i32 %63, ptr %5, align 4 %64 = sext i32 %62 to i64 %65 = getelementptr inbounds i8, ptr %61, i64 %64 store i8 %60, ptr %65, align 1 br label %66 66: ; preds = %54, %44 br label %14, !llvm.loop !6 67: ; preds = %30 %68 = load ptr, ptr %4, align 8 %69 = load i32, ptr %5, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds i8, ptr %68, i64 %70 store i8 0, ptr %71, align 1 %72 = load ptr, ptr %4, align 8 ret ptr %72 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i64 @malloc(i32 noundef) #2 declare i32 @strlen(ptr noundef) #2 declare i32 @random(...) #2 declare i32 @strcat(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmppsc2h88j.c' source_filename = "/tmp/tmppsc2h88j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"WrongSharedMemory.c\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c"impossible de creer un fils\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"Salut, je suis le fils %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [50 x i8] c"Je commence par m'attacher le segment de memoire\0A\00", align 1 @.str.4 = private unnamed_addr constant [23 x i8] c"attachement impossible\00", align 1 @.str.5 = private unnamed_addr constant [48 x i8] c"je vais ecrire un message que papa va afficher\0A\00", align 1 @.str.6 = private unnamed_addr constant [17 x i8] c"La vie est belle\00", align 1 @.str.7 = private unnamed_addr constant [52 x i8] c"Bon, c'est pas tout ca mais il est temps de mourir\0A\00", align 1 @.str.8 = private unnamed_addr constant [41 x i8] c"avant tout detachons le segment partage\0A\00", align 1 @.str.9 = private unnamed_addr constant [23 x i8] c"detachement impossible\00", align 1 @.str.10 = private unnamed_addr constant [36 x i8] c"maintenant que c'est fait, bye bye\0A\00", align 1 @.str.11 = private unnamed_addr constant [20 x i8] c"Le fils se suicide\0A\00", align 1 @.str.12 = private unnamed_addr constant [17 x i8] c"Je suis le pere\0A\00", align 1 @.str.13 = private unnamed_addr constant [50 x i8] c"je vais afficher un message que mon fils a ecrit\0A\00", align 1 @.str.14 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.15 = private unnamed_addr constant [28 x i8] c"Sacre plaisantin ce fiston\0A\00", align 1 @.str.16 = private unnamed_addr constant [40 x i8] c"avant tout detachons le segment partage\00", align 1 @.str.17 = private unnamed_addr constant [36 x i8] c"Le pere attend la mort de son fils\0A\00", align 1 @.str.18 = private unnamed_addr constant [58 x i8] c"Bon, faisons le menage et supprimons le segment partagee\0A\00", align 1 @.str.19 = private unnamed_addr constant [20 x i8] c"Le pere se suicide\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 ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store i32 0, ptr %5, align 4 store ptr @.str, ptr %6, align 8 %7 = load ptr, ptr %6, align 8 %8 = call i32 @creerSegment(i32 noundef 100, ptr noundef %7, i32 noundef 1) store i32 %8, ptr %4, align 4 %9 = call i32 (...) @fork() store i32 %9, ptr %2, align 4 switch i32 %9, label %39 [ i32 -1, label %10 i32 0, label %12 ] 10: ; preds = %0 %11 = call i32 @perror(ptr noundef @.str.1) store i32 -1, ptr %1, align 4 br label %71 12: ; preds = %0 %13 = call i32 (...) @getpid() %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %13) %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %16 = load i32, ptr %4, align 4 %17 = load i32, ptr %5, align 4 %18 = call ptr @shmat(i32 noundef %16, i32 noundef 0, i32 noundef %17) store ptr %18, ptr %3, align 8 %19 = load ptr, ptr %3, align 8 %20 = icmp eq ptr %19, inttoptr (i64 -1 to ptr) br i1 %20, label %21, label %24 21: ; preds = %12 %22 = call i32 @perror(ptr noundef @.str.4) %23 = call i32 @exit(i32 noundef 1) #3 unreachable 24: ; preds = %12 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %26 = load ptr, ptr %3, align 8 %27 = call i32 @strcpy(ptr noundef %26, ptr noundef @.str.6) %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %30 = load ptr, ptr %3, align 8 %31 = call i32 @shmdt(ptr noundef %30) %32 = icmp eq i32 %31, -1 br i1 %32, label %33, label %36 33: ; preds = %24 %34 = call i32 @perror(ptr noundef @.str.9) %35 = call i32 @exit(i32 noundef 1) #3 unreachable 36: ; preds = %24 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) store i32 1, ptr %1, align 4 br label %71 39: ; preds = %0 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %42 = load i32, ptr %4, align 4 %43 = load i32, ptr %5, align 4 %44 = call ptr @shmat(i32 noundef %42, i32 noundef 0, i32 noundef %43) store ptr %44, ptr %3, align 8 %45 = load ptr, ptr %3, align 8 %46 = icmp eq ptr %45, inttoptr (i64 -1 to ptr) br i1 %46, label %47, label %50 47: ; preds = %39 %48 = call i32 @perror(ptr noundef @.str.4) %49 = call i32 @exit(i32 noundef 1) #3 unreachable 50: ; preds = %39 %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) %52 = load ptr, ptr %3, align 8 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, ptr noundef %52) %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.15) %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.16) %57 = load ptr, ptr %3, align 8 %58 = call i32 @shmdt(ptr noundef %57) %59 = icmp eq i32 %58, -1 br i1 %59, label %60, label %63 60: ; preds = %50 %61 = call i32 @perror(ptr noundef @.str.9) %62 = call i32 @exit(i32 noundef 1) #3 unreachable 63: ; preds = %50 br label %64 64: ; preds = %63 %65 = call i32 (ptr, ...) @printf(ptr noundef @.str.17) %66 = call i32 @wait(i32 noundef 0) %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.18) %68 = load i32, ptr %4, align 4 %69 = call i32 @detruitSegment(i32 noundef %68) %70 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) store i32 1, ptr %1, align 4 br label %71 71: ; preds = %64, %36, %10 %72 = load i32, ptr %1, align 4 ret i32 %72 } declare i32 @creerSegment(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @fork(...) #1 declare i32 @perror(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @getpid(...) #1 declare ptr @shmat(i32 noundef, i32 noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @shmdt(ptr noundef) #1 declare i32 @wait(i32 noundef) #1 declare i32 @detruitSegment(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/tmppsc2h88j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"WrongSharedMemory.c\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c"impossible de creer un fils\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"Salut, je suis le fils %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [50 x i8] c"Je commence par m'attacher le segment de memoire\0A\00", align 1 @.str.4 = private unnamed_addr constant [23 x i8] c"attachement impossible\00", align 1 @.str.5 = private unnamed_addr constant [48 x i8] c"je vais ecrire un message que papa va afficher\0A\00", align 1 @.str.6 = private unnamed_addr constant [17 x i8] c"La vie est belle\00", align 1 @.str.7 = private unnamed_addr constant [52 x i8] c"Bon, c'est pas tout ca mais il est temps de mourir\0A\00", align 1 @.str.8 = private unnamed_addr constant [41 x i8] c"avant tout detachons le segment partage\0A\00", align 1 @.str.9 = private unnamed_addr constant [23 x i8] c"detachement impossible\00", align 1 @.str.10 = private unnamed_addr constant [36 x i8] c"maintenant que c'est fait, bye bye\0A\00", align 1 @.str.11 = private unnamed_addr constant [20 x i8] c"Le fils se suicide\0A\00", align 1 @.str.12 = private unnamed_addr constant [17 x i8] c"Je suis le pere\0A\00", align 1 @.str.13 = private unnamed_addr constant [50 x i8] c"je vais afficher un message que mon fils a ecrit\0A\00", align 1 @.str.14 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.15 = private unnamed_addr constant [28 x i8] c"Sacre plaisantin ce fiston\0A\00", align 1 @.str.16 = private unnamed_addr constant [40 x i8] c"avant tout detachons le segment partage\00", align 1 @.str.17 = private unnamed_addr constant [36 x i8] c"Le pere attend la mort de son fils\0A\00", align 1 @.str.18 = private unnamed_addr constant [58 x i8] c"Bon, faisons le menage et supprimons le segment partagee\0A\00", align 1 @.str.19 = private unnamed_addr constant [20 x i8] c"Le pere se suicide\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 ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store i32 0, ptr %5, align 4 store ptr @.str, ptr %6, align 8 %7 = load ptr, ptr %6, align 8 %8 = call i32 @creerSegment(i32 noundef 100, ptr noundef %7, i32 noundef 1) store i32 %8, ptr %4, align 4 %9 = call i32 (...) @fork() store i32 %9, ptr %2, align 4 switch i32 %9, label %39 [ i32 -1, label %10 i32 0, label %12 ] 10: ; preds = %0 %11 = call i32 @perror(ptr noundef @.str.1) store i32 -1, ptr %1, align 4 br label %71 12: ; preds = %0 %13 = call i32 (...) @getpid() %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %13) %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %16 = load i32, ptr %4, align 4 %17 = load i32, ptr %5, align 4 %18 = call ptr @shmat(i32 noundef %16, i32 noundef 0, i32 noundef %17) store ptr %18, ptr %3, align 8 %19 = load ptr, ptr %3, align 8 %20 = icmp eq ptr %19, inttoptr (i64 -1 to ptr) br i1 %20, label %21, label %24 21: ; preds = %12 %22 = call i32 @perror(ptr noundef @.str.4) %23 = call i32 @exit(i32 noundef 1) #3 unreachable 24: ; preds = %12 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %26 = load ptr, ptr %3, align 8 %27 = call i32 @strcpy(ptr noundef %26, ptr noundef @.str.6) %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %30 = load ptr, ptr %3, align 8 %31 = call i32 @shmdt(ptr noundef %30) %32 = icmp eq i32 %31, -1 br i1 %32, label %33, label %36 33: ; preds = %24 %34 = call i32 @perror(ptr noundef @.str.9) %35 = call i32 @exit(i32 noundef 1) #3 unreachable 36: ; preds = %24 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) store i32 1, ptr %1, align 4 br label %71 39: ; preds = %0 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %42 = load i32, ptr %4, align 4 %43 = load i32, ptr %5, align 4 %44 = call ptr @shmat(i32 noundef %42, i32 noundef 0, i32 noundef %43) store ptr %44, ptr %3, align 8 %45 = load ptr, ptr %3, align 8 %46 = icmp eq ptr %45, inttoptr (i64 -1 to ptr) br i1 %46, label %47, label %50 47: ; preds = %39 %48 = call i32 @perror(ptr noundef @.str.4) %49 = call i32 @exit(i32 noundef 1) #3 unreachable 50: ; preds = %39 %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) %52 = load ptr, ptr %3, align 8 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, ptr noundef %52) %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.15) %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.16) %57 = load ptr, ptr %3, align 8 %58 = call i32 @shmdt(ptr noundef %57) %59 = icmp eq i32 %58, -1 br i1 %59, label %60, label %63 60: ; preds = %50 %61 = call i32 @perror(ptr noundef @.str.9) %62 = call i32 @exit(i32 noundef 1) #3 unreachable 63: ; preds = %50 br label %64 64: ; preds = %63 %65 = call i32 (ptr, ...) @printf(ptr noundef @.str.17) %66 = call i32 @wait(i32 noundef 0) %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.18) %68 = load i32, ptr %4, align 4 %69 = call i32 @detruitSegment(i32 noundef %68) %70 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) store i32 1, ptr %1, align 4 br label %71 71: ; preds = %64, %36, %10 %72 = load i32, ptr %1, align 4 ret i32 %72 } declare i32 @creerSegment(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @fork(...) #1 declare i32 @perror(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @getpid(...) #1 declare ptr @shmat(i32 noundef, i32 noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @shmdt(ptr noundef) #1 declare i32 @wait(i32 noundef) #1 declare i32 @detruitSegment(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"}