llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpao37wjz2.c' source_filename = "/tmp/tmpao37wjz2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"abfnrtv'\22\\\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"\07\08\0C\0A\0D\09\0B'\22\\\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @replace_special_characters(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 i32, align 4 store ptr %0, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 store ptr %7, ptr %4, align 8 %8 = load ptr, ptr %3, align 8 store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %3, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %12 11: ; preds = %1 store ptr null, ptr %2, align 8 br label %62 12: ; preds = %1 %13 = load ptr, ptr %3, align 8 store ptr %13, ptr %5, align 8 br label %14 14: ; preds = %54, %12 %15 = load ptr, ptr %4, align 8 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = icmp ne i32 %17, 0 br i1 %18, label %19, label %59 19: ; preds = %14 %20 = load ptr, ptr %4, align 8 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp eq i32 %22, 92 br i1 %23, label %24, label %44 24: ; preds = %19 %25 = load ptr, ptr %4, align 8 %26 = getelementptr inbounds i8, ptr %25, i64 1 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = icmp ne i32 %28, 0 br i1 %29, label %30, label %44 30: ; preds = %24 %31 = load ptr, ptr %4, align 8 %32 = getelementptr inbounds i8, ptr %31, i64 1 %33 = load i8, ptr %32, align 1 %34 = call i32 @int_index(ptr noundef @.str, i8 noundef signext %33) store i32 %34, ptr %6, align 4 %35 = icmp ne i32 %34, -1 br i1 %35, label %36, label %44 36: ; preds = %30 %37 = load i32, ptr %6, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds [11 x i8], ptr @.str.1, i64 0, i64 %38 %40 = load i8, ptr %39, align 1 %41 = load ptr, ptr %5, align 8 store i8 %40, ptr %41, align 1 %42 = load ptr, ptr %4, align 8 %43 = getelementptr inbounds i8, ptr %42, i32 1 store ptr %43, ptr %4, align 8 br label %53 44: ; preds = %30, %24, %19 %45 = load ptr, ptr %4, align 8 %46 = load ptr, ptr %5, align 8 %47 = icmp ne ptr %45, %46 br i1 %47, label %48, label %52 48: ; preds = %44 %49 = load ptr, ptr %4, align 8 %50 = load i8, ptr %49, align 1 %51 = load ptr, ptr %5, align 8 store i8 %50, ptr %51, align 1 br label %52 52: ; preds = %48, %44 br label %53 53: ; preds = %52, %36 br label %54 54: ; preds = %53 %55 = load ptr, ptr %4, align 8 %56 = getelementptr inbounds i8, ptr %55, i32 1 store ptr %56, ptr %4, align 8 %57 = load ptr, ptr %5, align 8 %58 = getelementptr inbounds i8, ptr %57, i32 1 store ptr %58, ptr %5, align 8 br label %14, !llvm.loop !6 59: ; preds = %14 %60 = load ptr, ptr %5, align 8 store i8 0, ptr %60, align 1 %61 = load ptr, ptr %3, align 8 store ptr %61, ptr %2, align 8 br label %62 62: ; preds = %59, %11 %63 = load ptr, ptr %2, align 8 ret ptr %63 } declare i32 @int_index(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpao37wjz2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"abfnrtv'\22\\\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"\07\08\0C\0A\0D\09\0B'\22\\\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @replace_special_characters(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 i32, align 4 store ptr %0, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 store ptr %7, ptr %4, align 8 %8 = load ptr, ptr %3, align 8 store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %3, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %12 11: ; preds = %1 store ptr null, ptr %2, align 8 br label %65 12: ; preds = %1 %13 = load ptr, ptr %3, align 8 store ptr %13, ptr %5, align 8 %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 %.lr.ph, label %62 .lr.ph: ; preds = %12 br label %18 18: ; preds = %.lr.ph, %53 %19 = load ptr, ptr %4, align 8 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = icmp eq i32 %21, 92 br i1 %22, label %23, label %43 23: ; preds = %18 %24 = load ptr, ptr %4, align 8 %25 = getelementptr inbounds i8, ptr %24, i64 1 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp ne i32 %27, 0 br i1 %28, label %29, label %43 29: ; preds = %23 %30 = load ptr, ptr %4, align 8 %31 = getelementptr inbounds i8, ptr %30, i64 1 %32 = load i8, ptr %31, align 1 %33 = call i32 @int_index(ptr noundef @.str, i8 noundef signext %32) store i32 %33, ptr %6, align 4 %34 = icmp ne i32 %33, -1 br i1 %34, label %35, label %43 35: ; preds = %29 %36 = load i32, ptr %6, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [11 x i8], ptr @.str.1, i64 0, i64 %37 %39 = load i8, ptr %38, align 1 %40 = load ptr, ptr %5, align 8 store i8 %39, ptr %40, align 1 %41 = load ptr, ptr %4, align 8 %42 = getelementptr inbounds i8, ptr %41, i32 1 store ptr %42, ptr %4, align 8 br label %52 43: ; preds = %29, %23, %18 %44 = load ptr, ptr %4, align 8 %45 = load ptr, ptr %5, align 8 %46 = icmp ne ptr %44, %45 br i1 %46, label %47, label %51 47: ; preds = %43 %48 = load ptr, ptr %4, align 8 %49 = load i8, ptr %48, align 1 %50 = load ptr, ptr %5, align 8 store i8 %49, ptr %50, align 1 br label %51 51: ; preds = %47, %43 br label %52 52: ; preds = %51, %35 br label %53 53: ; preds = %52 %54 = load ptr, ptr %4, align 8 %55 = getelementptr inbounds i8, ptr %54, i32 1 store ptr %55, ptr %4, align 8 %56 = load ptr, ptr %5, align 8 %57 = getelementptr inbounds i8, ptr %56, i32 1 store ptr %57, ptr %5, align 8 %58 = load ptr, ptr %4, align 8 %59 = load i8, ptr %58, align 1 %60 = sext i8 %59 to i32 %61 = icmp ne i32 %60, 0 br i1 %61, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %53 br label %62 62: ; preds = %._crit_edge, %12 %63 = load ptr, ptr %5, align 8 store i8 0, ptr %63, align 1 %64 = load ptr, ptr %3, align 8 store ptr %64, ptr %2, align 8 br label %65 65: ; preds = %62, %11 %66 = load ptr, ptr %2, align 8 ret ptr %66 } declare i32 @int_index(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpsx_772_7.c' source_filename = "/tmp/tmpsx_772_7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsx_772_7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp94lylypa.c' source_filename = "/tmp/tmp94lylypa.c" target datalayout = "e-m:e-p270: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"Couldn't unlink %s: %s (%d)\0A\00", align 1 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @remove_pid_file(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 i64 @unlink(ptr noundef %3) %5 = icmp slt i64 %4, 0 br i1 %5, label %6, label %13 6: ; preds = %1 %7 = load i32, ptr @stderr, align 4 %8 = load ptr, ptr %2, align 8 %9 = load i32, ptr @errno, align 4 %10 = call ptr @strerror(i32 noundef %9) %11 = load i32, ptr @errno, align 4 %12 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str, ptr noundef %8, ptr noundef %10, i32 noundef %11) br label %13 13: ; preds = %6, %1 ret void } declare i64 @unlink(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @strerror(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/tmp94lylypa.c" target datalayout = "e-m:e-p270: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"Couldn't unlink %s: %s (%d)\0A\00", align 1 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @remove_pid_file(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 i64 @unlink(ptr noundef %3) %5 = icmp slt i64 %4, 0 br i1 %5, label %6, label %13 6: ; preds = %1 %7 = load i32, ptr @stderr, align 4 %8 = load ptr, ptr %2, align 8 %9 = load i32, ptr @errno, align 4 %10 = call ptr @strerror(i32 noundef %9) %11 = load i32, ptr @errno, align 4 %12 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str, ptr noundef %8, ptr noundef %10, i32 noundef %11) br label %13 13: ; preds = %6, %1 ret void } declare i64 @unlink(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @strerror(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/tmp90thg0sx.c' source_filename = "/tmp/tmp90thg0sx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @numprog_is_empty(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 1, ptr %4, align 4 %5 = load ptr, ptr %2, align 8 %6 = icmp ne ptr %5, null br i1 %6, label %7, label %27 7: ; preds = %1 %8 = load ptr, ptr %2, align 8 store ptr %8, ptr %3, align 8 br label %9 9: ; preds = %21, %7 %10 = load ptr, ptr %3, align 8 %11 = load i8, ptr %10, align 1 %12 = icmp ne i8 %11, 0 br i1 %12, label %13, label %26 13: ; preds = %9 %14 = load i32, ptr %4, align 4 %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %21 16: ; preds = %13 %17 = load ptr, ptr %3, align 8 %18 = load i8, ptr %17, align 1 %19 = call i64 @isspace(i8 noundef signext %18) %20 = icmp ne i64 %19, 0 br label %21 21: ; preds = %16, %13 %22 = phi i1 [ false, %13 ], [ %20, %16 ] %23 = zext i1 %22 to i32 store i32 %23, ptr %4, align 4 %24 = load ptr, ptr %3, align 8 %25 = getelementptr inbounds i8, ptr %24, i32 1 store ptr %25, ptr %3, align 8 br label %9, !llvm.loop !6 26: ; preds = %9 br label %27 27: ; preds = %26, %1 %28 = load i32, ptr %4, align 4 ret i32 %28 } declare i64 @isspace(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp90thg0sx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @numprog_is_empty(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 1, ptr %4, align 4 %5 = load ptr, ptr %2, align 8 %6 = icmp ne ptr %5, null br i1 %6, label %7, label %29 7: ; preds = %1 %8 = load ptr, ptr %2, align 8 store ptr %8, ptr %3, align 8 %9 = load ptr, ptr %3, align 8 %10 = load i8, ptr %9, align 1 %11 = icmp ne i8 %10, 0 br i1 %11, label %.lr.ph, label %28 .lr.ph: ; preds = %7 br label %12 12: ; preds = %.lr.ph, %20 %13 = load i32, ptr %4, align 4 %14 = icmp ne i32 %13, 0 br i1 %14, label %15, label %20 15: ; preds = %12 %16 = load ptr, ptr %3, align 8 %17 = load i8, ptr %16, align 1 %18 = call i64 @isspace(i8 noundef signext %17) %19 = icmp ne i64 %18, 0 br label %20 20: ; preds = %15, %12 %21 = phi i1 [ false, %12 ], [ %19, %15 ] %22 = zext i1 %21 to i32 store i32 %22, ptr %4, align 4 %23 = load ptr, ptr %3, align 8 %24 = getelementptr inbounds i8, ptr %23, i32 1 store ptr %24, ptr %3, align 8 %25 = load ptr, ptr %3, align 8 %26 = load i8, ptr %25, align 1 %27 = icmp ne i8 %26, 0 br i1 %27, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %28 28: ; preds = %._crit_edge, %7 br label %29 29: ; preds = %28, %1 %30 = load i32, ptr %4, align 4 ret i32 %30 } declare i64 @isspace(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpithpj4m2.c' source_filename = "/tmp/tmpithpj4m2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @M_PI = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @myfun_vec(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store i32 0, ptr %9, align 4 br label %10 10: ; preds = %28, %4 %11 = load i32, ptr %9, align 4 %12 = load i32, ptr %6, align 4 %13 = icmp ult i32 %11, %12 br i1 %13, label %14, label %31 14: ; preds = %10 %15 = load double, ptr @M_PI, align 8 %16 = fmul double 4.000000e+00, %15 %17 = load ptr, ptr %5, align 8 %18 = load i32, ptr %9, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds double, ptr %17, i64 %19 %21 = load double, ptr %20, align 8 %22 = call double @llvm.fmuladd.f64(double %16, double %21, double 1.000000e+00) %23 = call double @sin(double noundef %22) #3 %24 = load ptr, ptr %7, align 8 %25 = load i32, ptr %9, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds double, ptr %24, i64 %26 store double %23, ptr %27, align 8 br label %28 28: ; preds = %14 %29 = load i32, ptr %9, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %9, align 4 br label %10, !llvm.loop !6 31: ; preds = %10 ret i32 0 } ; Function Attrs: nounwind declare double @sin(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpithpj4m2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @M_PI = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @myfun_vec(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store i32 0, ptr %9, align 4 %10 = load i32, ptr %9, align 4 %11 = load i32, ptr %6, align 4 %12 = icmp ult i32 %10, %11 br i1 %12, label %.lr.ph, label %33 .lr.ph: ; preds = %4 br label %13 13: ; preds = %.lr.ph, %27 %14 = load double, ptr @M_PI, align 8 %15 = fmul double 4.000000e+00, %14 %16 = load ptr, ptr %5, align 8 %17 = load i32, ptr %9, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds double, ptr %16, i64 %18 %20 = load double, ptr %19, align 8 %21 = call double @llvm.fmuladd.f64(double %15, double %20, double 1.000000e+00) %22 = call double @sin(double noundef %21) #3 %23 = load ptr, ptr %7, align 8 %24 = load i32, ptr %9, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds double, ptr %23, i64 %25 store double %22, ptr %26, align 8 br label %27 27: ; preds = %13 %28 = load i32, ptr %9, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %9, align 4 %30 = load i32, ptr %9, align 4 %31 = load i32, ptr %6, align 4 %32 = icmp ult i32 %30, %31 br i1 %32, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %33 33: ; preds = %._crit_edge, %4 ret i32 0 } ; Function Attrs: nounwind declare double @sin(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpra2u_ub4.c' source_filename = "/tmp/tmpra2u_ub4.c" target datalayout = "e-m:e-p270: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/tmpra2u_ub4.c" target datalayout = "e-m:e-p270: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/tmp6lw9tybk.c' source_filename = "/tmp/tmp6lw9tybk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CHAR_BIT = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @unpack_char(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = load i32, ptr @CHAR_BIT, align 4 %9 = mul nsw i32 %7, %8 store i32 %9, ptr %5, align 4 store i32 255, ptr %6, align 4 %10 = load i32, ptr %5, align 4 %11 = load i32, ptr %6, align 4 %12 = shl i32 %11, %10 store i32 %12, ptr %6, align 4 %13 = load i32, ptr %3, align 4 %14 = load i32, ptr %6, align 4 %15 = and i32 %13, %14 %16 = load i32, ptr %5, align 4 %17 = lshr i32 %15, %16 %18 = trunc i32 %17 to i8 ret i8 %18 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6lw9tybk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CHAR_BIT = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @unpack_char(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = load i32, ptr @CHAR_BIT, align 4 %9 = mul nsw i32 %7, %8 store i32 %9, ptr %5, align 4 store i32 255, ptr %6, align 4 %10 = load i32, ptr %5, align 4 %11 = load i32, ptr %6, align 4 %12 = shl i32 %11, %10 store i32 %12, ptr %6, align 4 %13 = load i32, ptr %3, align 4 %14 = load i32, ptr %6, align 4 %15 = and i32 %13, %14 %16 = load i32, ptr %5, align 4 %17 = lshr i32 %15, %16 %18 = trunc i32 %17 to i8 ret i8 %18 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkaunpgqh.c' source_filename = "/tmp/tmpkaunpgqh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ASN1_F_ASN1_D2I_EX_PRIMITIVE = dso_local global i32 0, align 4 @ASN1_ITYPE_MSTRING = dso_local global i64 0, align 8 @ASN1_R_ILLEGAL_NULL = dso_local global i32 0, align 4 @ASN1_R_ILLEGAL_OPTIONAL_ANY = dso_local global i32 0, align 4 @ASN1_R_ILLEGAL_TAGGED_ANY = dso_local global i32 0, align 4 @ASN1_R_TYPE_NOT_CONSTRUCTED = dso_local global i32 0, align 4 @ASN1_R_TYPE_NOT_PRIMITIVE = dso_local global i32 0, align 4 @ERR_R_MALLOC_FAILURE = dso_local global i32 0, align 4 @ERR_R_NESTED_ASN1_ERROR = dso_local global i32 0, align 4 @V_ASN1_ANY = dso_local global i32 0, align 4 @V_ASN1_BOOLEAN = dso_local global i32 0, align 4 @V_ASN1_ENUMERATED = dso_local global i32 0, align 4 @V_ASN1_INTEGER = dso_local global i32 0, align 4 @V_ASN1_NULL = dso_local global i32 0, align 4 @V_ASN1_OBJECT = dso_local global i32 0, align 4 @V_ASN1_OTHER = dso_local global i32 0, align 4 @V_ASN1_SEQUENCE = dso_local global i32 0, align 4 @V_ASN1_SET = dso_local global i32 0, align 4 @V_ASN1_UNIVERSAL = dso_local global i8 0, align 1 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkaunpgqh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ASN1_F_ASN1_D2I_EX_PRIMITIVE = dso_local global i32 0, align 4 @ASN1_ITYPE_MSTRING = dso_local global i64 0, align 8 @ASN1_R_ILLEGAL_NULL = dso_local global i32 0, align 4 @ASN1_R_ILLEGAL_OPTIONAL_ANY = dso_local global i32 0, align 4 @ASN1_R_ILLEGAL_TAGGED_ANY = dso_local global i32 0, align 4 @ASN1_R_TYPE_NOT_CONSTRUCTED = dso_local global i32 0, align 4 @ASN1_R_TYPE_NOT_PRIMITIVE = dso_local global i32 0, align 4 @ERR_R_MALLOC_FAILURE = dso_local global i32 0, align 4 @ERR_R_NESTED_ASN1_ERROR = dso_local global i32 0, align 4 @V_ASN1_ANY = dso_local global i32 0, align 4 @V_ASN1_BOOLEAN = dso_local global i32 0, align 4 @V_ASN1_ENUMERATED = dso_local global i32 0, align 4 @V_ASN1_INTEGER = dso_local global i32 0, align 4 @V_ASN1_NULL = dso_local global i32 0, align 4 @V_ASN1_OBJECT = dso_local global i32 0, align 4 @V_ASN1_OTHER = dso_local global i32 0, align 4 @V_ASN1_SEQUENCE = dso_local global i32 0, align 4 @V_ASN1_SET = dso_local global i32 0, align 4 @V_ASN1_UNIVERSAL = dso_local global i8 0, align 1 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpo_skw0lf.c' source_filename = "/tmp/tmpo_skw0lf.c" target datalayout = "e-m:e-p270: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.infile = private unnamed_addr constant [128 x i8] c"./infile\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16 @__const.main.outpipe = private unnamed_addr constant [128 x i8] c"./outpipe\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16 @INT_MAX = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [34 x i8] c"Input file: %s, Output pipe: %s\0A\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [11 x i8] c"open fd_in\00", align 1 @errno = dso_local global i32 0, align 4 @O_WRONLY = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [12 x i8] c"open fd_out\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"splice\00", align 1 @.str.4 = private unnamed_addr constant [23 x i8] c"Transferred %8d bytes\0A\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"done\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [128 x i8], align 16 %7 = alloca [128 x i8], align 16 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.infile, i64 128, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.outpipe, i64 128, i1 false) %12 = load i32, ptr @INT_MAX, align 4 store i32 %12, ptr %11, align 4 %13 = load i32, ptr %4, align 4 %14 = icmp sgt i32 %13, 1 br i1 %14, label %15, label %21 15: ; preds = %2 %16 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 1 %19 = load ptr, ptr %18, align 8 %20 = call i32 @strcpy(ptr noundef %16, ptr noundef %19) br label %21 21: ; preds = %15, %2 %22 = load i32, ptr %4, align 4 %23 = icmp sgt i32 %22, 2 br i1 %23, label %24, label %30 24: ; preds = %21 %25 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds ptr, ptr %26, i64 2 %28 = load ptr, ptr %27, align 8 %29 = call i32 @strcpy(ptr noundef %25, ptr noundef %28) br label %30 30: ; preds = %24, %21 %31 = load i32, ptr %4, align 4 %32 = icmp sgt i32 %31, 3 br i1 %32, label %33, label %38 33: ; preds = %30 %34 = load ptr, ptr %5, align 8 %35 = getelementptr inbounds ptr, ptr %34, i64 3 %36 = load ptr, ptr %35, align 8 %37 = call i32 @atoi(ptr noundef %36) store i32 %37, ptr %11, align 4 br label %38 38: ; preds = %33, %30 %39 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 %40 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %39, ptr noundef %40) %42 = call i32 @fflush(ptr noundef null) %43 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 %44 = load i32, ptr @O_RDONLY, align 4 %45 = call i32 @open(ptr noundef %43, i32 noundef %44) store i32 %45, ptr %9, align 4 %46 = icmp slt i32 %45, 0 br i1 %46, label %47, label %51 47: ; preds = %38 %48 = call i32 @perror(ptr noundef @.str.1) %49 = load i32, ptr @errno, align 4 %50 = call i32 @exit(i32 noundef %49) #4 unreachable 51: ; preds = %38 %52 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0 %53 = load i32, ptr @O_WRONLY, align 4 %54 = call i32 @open(ptr noundef %52, i32 noundef %53) store i32 %54, ptr %10, align 4 %55 = icmp slt i32 %54, 0 br i1 %55, label %56, label %60 56: ; preds = %51 %57 = call i32 @perror(ptr noundef @.str.2) %58 = load i32, ptr @errno, align 4 %59 = call i32 @exit(i32 noundef %58) #4 unreachable 60: ; preds = %51 br label %61 61: ; preds = %74, %60 %62 = load i32, ptr %9, align 4 %63 = load i32, ptr %10, align 4 %64 = load i32, ptr %11, align 4 %65 = call i32 @splice(i32 noundef %62, ptr noundef null, i32 noundef %63, ptr noundef null, i32 noundef %64, i32 noundef 0) store i32 %65, ptr %8, align 4 %66 = icmp slt i32 %65, 0 br i1 %66, label %67, label %71 67: ; preds = %61 %68 = call i32 @perror(ptr noundef @.str.3) %69 = load i32, ptr @errno, align 4 %70 = call i32 @exit(i32 noundef %69) #4 unreachable 71: ; preds = %61 %72 = load i32, ptr %8, align 4 %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %72) br label %74 74: ; preds = %71 %75 = load i32, ptr %8, align 4 %76 = icmp sgt i32 %75, 0 br i1 %76, label %61, label %77, !llvm.loop !6 77: ; preds = %74 %78 = load i32, ptr %9, align 4 %79 = call i32 @close(i32 noundef %78) %80 = load i32, ptr %10, align 4 %81 = call i32 @close(i32 noundef %80) %82 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %83 = load i32, ptr @EXIT_SUCCESS, align 4 %84 = call i32 @exit(i32 noundef %83) #4 unreachable } ; 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 @strcpy(ptr noundef, ptr noundef) #2 declare i32 @atoi(ptr noundef) #2 declare i32 @printf(ptr noundef, ...) #2 declare i32 @fflush(ptr noundef) #2 declare i32 @open(ptr noundef, i32 noundef) #2 declare i32 @perror(ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @splice(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @close(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: 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" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { 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/tmpo_skw0lf.c" target datalayout = "e-m:e-p270: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.infile = private unnamed_addr constant [128 x i8] c"./infile\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16 @__const.main.outpipe = private unnamed_addr constant [128 x i8] c"./outpipe\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16 @INT_MAX = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [34 x i8] c"Input file: %s, Output pipe: %s\0A\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [11 x i8] c"open fd_in\00", align 1 @errno = dso_local global i32 0, align 4 @O_WRONLY = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [12 x i8] c"open fd_out\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"splice\00", align 1 @.str.4 = private unnamed_addr constant [23 x i8] c"Transferred %8d bytes\0A\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"done\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [128 x i8], align 16 %7 = alloca [128 x i8], align 16 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.infile, i64 128, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.outpipe, i64 128, i1 false) %12 = load i32, ptr @INT_MAX, align 4 store i32 %12, ptr %11, align 4 %13 = load i32, ptr %4, align 4 %14 = icmp sgt i32 %13, 1 br i1 %14, label %15, label %21 15: ; preds = %2 %16 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 1 %19 = load ptr, ptr %18, align 8 %20 = call i32 @strcpy(ptr noundef %16, ptr noundef %19) br label %21 21: ; preds = %15, %2 %22 = load i32, ptr %4, align 4 %23 = icmp sgt i32 %22, 2 br i1 %23, label %24, label %30 24: ; preds = %21 %25 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds ptr, ptr %26, i64 2 %28 = load ptr, ptr %27, align 8 %29 = call i32 @strcpy(ptr noundef %25, ptr noundef %28) br label %30 30: ; preds = %24, %21 %31 = load i32, ptr %4, align 4 %32 = icmp sgt i32 %31, 3 br i1 %32, label %33, label %38 33: ; preds = %30 %34 = load ptr, ptr %5, align 8 %35 = getelementptr inbounds ptr, ptr %34, i64 3 %36 = load ptr, ptr %35, align 8 %37 = call i32 @atoi(ptr noundef %36) store i32 %37, ptr %11, align 4 br label %38 38: ; preds = %33, %30 %39 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 %40 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %39, ptr noundef %40) %42 = call i32 @fflush(ptr noundef null) %43 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0 %44 = load i32, ptr @O_RDONLY, align 4 %45 = call i32 @open(ptr noundef %43, i32 noundef %44) store i32 %45, ptr %9, align 4 %46 = icmp slt i32 %45, 0 br i1 %46, label %47, label %51 47: ; preds = %38 %48 = call i32 @perror(ptr noundef @.str.1) %49 = load i32, ptr @errno, align 4 %50 = call i32 @exit(i32 noundef %49) #4 unreachable 51: ; preds = %38 %52 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0 %53 = load i32, ptr @O_WRONLY, align 4 %54 = call i32 @open(ptr noundef %52, i32 noundef %53) store i32 %54, ptr %10, align 4 %55 = icmp slt i32 %54, 0 br i1 %55, label %56, label %60 56: ; preds = %51 %57 = call i32 @perror(ptr noundef @.str.2) %58 = load i32, ptr @errno, align 4 %59 = call i32 @exit(i32 noundef %58) #4 unreachable 60: ; preds = %51 br label %61 61: ; preds = %74, %60 %62 = load i32, ptr %9, align 4 %63 = load i32, ptr %10, align 4 %64 = load i32, ptr %11, align 4 %65 = call i32 @splice(i32 noundef %62, ptr noundef null, i32 noundef %63, ptr noundef null, i32 noundef %64, i32 noundef 0) store i32 %65, ptr %8, align 4 %66 = icmp slt i32 %65, 0 br i1 %66, label %67, label %71 67: ; preds = %61 %68 = call i32 @perror(ptr noundef @.str.3) %69 = load i32, ptr @errno, align 4 %70 = call i32 @exit(i32 noundef %69) #4 unreachable 71: ; preds = %61 %72 = load i32, ptr %8, align 4 %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %72) br label %74 74: ; preds = %71 %75 = load i32, ptr %8, align 4 %76 = icmp sgt i32 %75, 0 br i1 %76, label %61, label %77, !llvm.loop !6 77: ; preds = %74 %78 = load i32, ptr %9, align 4 %79 = call i32 @close(i32 noundef %78) %80 = load i32, ptr %10, align 4 %81 = call i32 @close(i32 noundef %80) %82 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %83 = load i32, ptr @EXIT_SUCCESS, align 4 %84 = call i32 @exit(i32 noundef %83) #4 unreachable } ; 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 @strcpy(ptr noundef, ptr noundef) #2 declare i32 @atoi(ptr noundef) #2 declare i32 @printf(ptr noundef, ...) #2 declare i32 @fflush(ptr noundef) #2 declare i32 @open(ptr noundef, i32 noundef) #2 declare i32 @perror(ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @splice(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @close(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: 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" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { 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/tmp71q6i_hc.c' source_filename = "/tmp/tmp71q6i_hc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGWINCH = 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/tmp71q6i_hc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGWINCH = 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/tmpb3kruz1_.c' source_filename = "/tmp/tmpb3kruz1_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo(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 = call i32 @bar(i32 noundef %5) %7 = load i32, ptr %4, align 4 %8 = sub nsw i32 %6, %7 ret i32 %8 } declare i32 @bar(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/tmpb3kruz1_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo(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 = call i32 @bar(i32 noundef %5) %7 = load i32, ptr %4, align 4 %8 = sub nsw i32 %6, %7 ret i32 %8 } declare i32 @bar(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/tmp9qq5mgp1.c' source_filename = "/tmp/tmp9qq5mgp1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in6 = type { i32 } %struct.sockaddr_storage = type { i32 } @AF_INET6 = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @aeron_ipv6_addr_resolver(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 %5, align 8 store ptr %7, ptr %6, align 8 %8 = load i32, ptr @AF_INET6, align 4 %9 = load ptr, ptr %4, align 8 %10 = load ptr, ptr %6, align 8 %11 = getelementptr inbounds %struct.sockaddr_in6, ptr %10, i32 0, i32 0 %12 = call i64 @inet_pton(i32 noundef %8, ptr noundef %9, ptr noundef %11) %13 = icmp ne i64 %12, 0 br i1 %13, label %14, label %18 14: ; preds = %2 %15 = load i32, ptr @AF_INET6, align 4 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds %struct.sockaddr_storage, ptr %16, i32 0, i32 0 store i32 %15, ptr %17, align 4 store i32 0, ptr %3, align 4 br label %23 18: ; preds = %2 %19 = load ptr, ptr %4, align 8 %20 = load ptr, ptr %5, align 8 %21 = load i32, ptr @AF_INET6, align 4 %22 = call i32 @aeron_ip_addr_resolver(ptr noundef %19, ptr noundef %20, i32 noundef %21) store i32 %22, ptr %3, align 4 br label %23 23: ; preds = %18, %14 %24 = load i32, ptr %3, align 4 ret i32 %24 } declare i64 @inet_pton(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @aeron_ip_addr_resolver(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/tmp9qq5mgp1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in6 = type { i32 } %struct.sockaddr_storage = type { i32 } @AF_INET6 = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @aeron_ipv6_addr_resolver(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 %5, align 8 store ptr %7, ptr %6, align 8 %8 = load i32, ptr @AF_INET6, align 4 %9 = load ptr, ptr %4, align 8 %10 = load ptr, ptr %6, align 8 %11 = getelementptr inbounds %struct.sockaddr_in6, ptr %10, i32 0, i32 0 %12 = call i64 @inet_pton(i32 noundef %8, ptr noundef %9, ptr noundef %11) %13 = icmp ne i64 %12, 0 br i1 %13, label %14, label %18 14: ; preds = %2 %15 = load i32, ptr @AF_INET6, align 4 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds %struct.sockaddr_storage, ptr %16, i32 0, i32 0 store i32 %15, ptr %17, align 4 store i32 0, ptr %3, align 4 br label %23 18: ; preds = %2 %19 = load ptr, ptr %4, align 8 %20 = load ptr, ptr %5, align 8 %21 = load i32, ptr @AF_INET6, align 4 %22 = call i32 @aeron_ip_addr_resolver(ptr noundef %19, ptr noundef %20, i32 noundef %21) store i32 %22, ptr %3, align 4 br label %23 23: ; preds = %18, %14 %24 = load i32, ptr %3, align 4 ret i32 %24 } declare i64 @inet_pton(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @aeron_ip_addr_resolver(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/tmpyq2rs5vg.c' source_filename = "/tmp/tmpyq2rs5vg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @combine_string(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [100 x ptr], align 16 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca [100 x i8], align 16 %9 = alloca [100 x i8], align 16 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 %15 = getelementptr inbounds [100 x i8], ptr %8, i64 0, i64 0 %16 = load ptr, ptr %3, align 8 %17 = call i32 @strcpy(ptr noundef %15, ptr noundef %16) %18 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0 %19 = load ptr, ptr %4, align 8 %20 = call i32 @strcpy(ptr noundef %18, ptr noundef %19) store ptr @.str, ptr %10, align 8 %21 = getelementptr inbounds [100 x i8], ptr %8, i64 0, i64 0 %22 = load ptr, ptr %10, align 8 %23 = call ptr @strtok_r(ptr noundef %21, ptr noundef %22, ptr noundef %13) store ptr %23, ptr %11, align 8 %24 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0 %25 = load ptr, ptr %10, align 8 %26 = call ptr @strtok_r(ptr noundef %24, ptr noundef %25, ptr noundef %14) store ptr %26, ptr %12, align 8 br label %27 27: ; preds = %54, %2 %28 = load ptr, ptr %11, align 8 %29 = icmp ne ptr %28, null br i1 %29, label %33, label %30 30: ; preds = %27 %31 = load ptr, ptr %12, align 8 %32 = icmp ne ptr %31, null br label %33 33: ; preds = %30, %27 %34 = phi i1 [ true, %27 ], [ %32, %30 ] br i1 %34, label %35, label %59 35: ; preds = %33 %36 = load ptr, ptr %11, align 8 %37 = icmp ne ptr %36, null br i1 %37, label %38, label %44 38: ; preds = %35 %39 = load ptr, ptr %11, align 8 %40 = load i32, ptr %6, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %6, align 4 %42 = sext i32 %40 to i64 %43 = getelementptr inbounds [100 x ptr], ptr %5, i64 0, i64 %42 store ptr %39, ptr %43, align 8 br label %44 44: ; preds = %38, %35 %45 = load ptr, ptr %12, align 8 %46 = icmp ne ptr %45, null br i1 %46, label %47, label %53 47: ; preds = %44 %48 = load ptr, ptr %12, align 8 %49 = load i32, ptr %6, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %6, align 4 %51 = sext i32 %49 to i64 %52 = getelementptr inbounds [100 x ptr], ptr %5, i64 0, i64 %51 store ptr %48, ptr %52, align 8 br label %53 53: ; preds = %47, %44 br label %54 54: ; preds = %53 %55 = load ptr, ptr %10, align 8 %56 = call ptr @strtok_r(ptr noundef null, ptr noundef %55, ptr noundef %13) store ptr %56, ptr %11, align 8 %57 = load ptr, ptr %10, align 8 %58 = call ptr @strtok_r(ptr noundef null, ptr noundef %57, ptr noundef %14) store ptr %58, ptr %12, align 8 br label %27, !llvm.loop !6 59: ; preds = %33 store i32 0, ptr %6, align 4 br label %60 60: ; preds = %69, %59 %61 = load i32, ptr %6, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds [100 x ptr], ptr %5, i64 0, i64 %62 %64 = load ptr, ptr %63, align 8 %65 = icmp ne ptr %64, null br i1 %65, label %66, label %72 66: ; preds = %60 %67 = load i32, ptr %7, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %7, align 4 br label %69 69: ; preds = %66 %70 = load i32, ptr %6, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %6, align 4 br label %60, !llvm.loop !8 72: ; preds = %60 store i32 0, ptr %6, align 4 br label %73 73: ; preds = %85, %72 %74 = load i32, ptr %6, align 4 %75 = load i32, ptr %7, align 4 %76 = sub nsw i32 %75, 1 %77 = icmp slt i32 %74, %76 br i1 %77, label %78, label %88 78: ; preds = %73 %79 = load i32, ptr %6, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds [100 x ptr], ptr %5, i64 0, i64 %80 %82 = load ptr, ptr %81, align 8 %83 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %82) %84 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %85 85: ; preds = %78 %86 = load i32, ptr %6, align 4 %87 = add nsw i32 %86, 1 store i32 %87, ptr %6, align 4 br label %73, !llvm.loop !9 88: ; preds = %73 %89 = load i32, ptr %6, align 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds [100 x ptr], ptr %5, i64 0, i64 %90 %92 = load ptr, ptr %91, align 8 %93 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %92) ret void } declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare ptr @strtok_r(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"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyq2rs5vg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @combine_string(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [100 x ptr], align 16 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca [100 x i8], align 16 %9 = alloca [100 x i8], align 16 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 %15 = getelementptr inbounds [100 x i8], ptr %8, i64 0, i64 0 %16 = load ptr, ptr %3, align 8 %17 = call i32 @strcpy(ptr noundef %15, ptr noundef %16) %18 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0 %19 = load ptr, ptr %4, align 8 %20 = call i32 @strcpy(ptr noundef %18, ptr noundef %19) store ptr @.str, ptr %10, align 8 %21 = getelementptr inbounds [100 x i8], ptr %8, i64 0, i64 0 %22 = load ptr, ptr %10, align 8 %23 = call ptr @strtok_r(ptr noundef %21, ptr noundef %22, ptr noundef %13) store ptr %23, ptr %11, align 8 %24 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0 %25 = load ptr, ptr %10, align 8 %26 = call ptr @strtok_r(ptr noundef %24, ptr noundef %25, ptr noundef %14) store ptr %26, ptr %12, align 8 br label %27 27: ; preds = %54, %2 %28 = load ptr, ptr %11, align 8 %29 = icmp ne ptr %28, null br i1 %29, label %33, label %30 30: ; preds = %27 %31 = load ptr, ptr %12, align 8 %32 = icmp ne ptr %31, null br label %33 33: ; preds = %30, %27 %34 = phi i1 [ true, %27 ], [ %32, %30 ] br i1 %34, label %35, label %59 35: ; preds = %33 %36 = load ptr, ptr %11, align 8 %37 = icmp ne ptr %36, null br i1 %37, label %38, label %44 38: ; preds = %35 %39 = load ptr, ptr %11, align 8 %40 = load i32, ptr %6, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %6, align 4 %42 = sext i32 %40 to i64 %43 = getelementptr inbounds [100 x ptr], ptr %5, i64 0, i64 %42 store ptr %39, ptr %43, align 8 br label %44 44: ; preds = %38, %35 %45 = load ptr, ptr %12, align 8 %46 = icmp ne ptr %45, null br i1 %46, label %47, label %53 47: ; preds = %44 %48 = load ptr, ptr %12, align 8 %49 = load i32, ptr %6, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %6, align 4 %51 = sext i32 %49 to i64 %52 = getelementptr inbounds [100 x ptr], ptr %5, i64 0, i64 %51 store ptr %48, ptr %52, align 8 br label %53 53: ; preds = %47, %44 br label %54 54: ; preds = %53 %55 = load ptr, ptr %10, align 8 %56 = call ptr @strtok_r(ptr noundef null, ptr noundef %55, ptr noundef %13) store ptr %56, ptr %11, align 8 %57 = load ptr, ptr %10, align 8 %58 = call ptr @strtok_r(ptr noundef null, ptr noundef %57, ptr noundef %14) store ptr %58, ptr %12, align 8 br label %27, !llvm.loop !6 59: ; preds = %33 store i32 0, ptr %6, align 4 %60 = load i32, ptr %6, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds [100 x ptr], ptr %5, i64 0, i64 %61 %63 = load ptr, ptr %62, align 8 %64 = icmp ne ptr %63, null br i1 %64, label %.lr.ph, label %76 .lr.ph: ; preds = %59 br label %65 65: ; preds = %.lr.ph, %68 %66 = load i32, ptr %7, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %7, align 4 br label %68 68: ; preds = %65 %69 = load i32, ptr %6, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %6, align 4 %71 = load i32, ptr %6, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds [100 x ptr], ptr %5, i64 0, i64 %72 %74 = load ptr, ptr %73, align 8 %75 = icmp ne ptr %74, null br i1 %75, label %65, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %68 br label %76 76: ; preds = %._crit_edge, %59 store i32 0, ptr %6, align 4 %77 = load i32, ptr %6, align 4 %78 = load i32, ptr %7, align 4 %79 = sub nsw i32 %78, 1 %80 = icmp slt i32 %77, %79 br i1 %80, label %.lr.ph2, label %95 .lr.ph2: ; preds = %76 br label %81 81: ; preds = %.lr.ph2, %88 %82 = load i32, ptr %6, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds [100 x ptr], ptr %5, i64 0, i64 %83 %85 = load ptr, ptr %84, align 8 %86 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %85) %87 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %88 88: ; preds = %81 %89 = load i32, ptr %6, align 4 %90 = add nsw i32 %89, 1 store i32 %90, ptr %6, align 4 %91 = load i32, ptr %6, align 4 %92 = load i32, ptr %7, align 4 %93 = sub nsw i32 %92, 1 %94 = icmp slt i32 %91, %93 br i1 %94, label %81, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %88 br label %95 95: ; preds = %._crit_edge3, %76 %96 = load i32, ptr %6, align 4 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds [100 x ptr], ptr %5, i64 0, i64 %97 %99 = load ptr, ptr %98, align 8 %100 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %99) ret void } declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare ptr @strtok_r(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"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmphs0c2hab.c' source_filename = "/tmp/tmphs0c2hab.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_5__ = type { %struct.TYPE_4__ } %struct.TYPE_4__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pthread_mutex_unlock_noassert(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 br label %3 3: ; preds = %1 %4 = load ptr, ptr %2, align 8 %5 = getelementptr inbounds %struct.TYPE_5__, ptr %4, i32 0, i32 0 %6 = getelementptr inbounds %struct.TYPE_4__, ptr %5, i32 0, i32 0 store i64 0, ptr %6, align 8 ret i32 0 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphs0c2hab.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_5__ = type { %struct.TYPE_4__ } %struct.TYPE_4__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pthread_mutex_unlock_noassert(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 br label %3 3: ; preds = %1 %4 = load ptr, ptr %2, align 8 %5 = getelementptr inbounds %struct.TYPE_5__, ptr %4, i32 0, i32 0 %6 = getelementptr inbounds %struct.TYPE_4__, ptr %5, i32 0, i32 0 store i64 0, ptr %6, align 8 ret i32 0 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9ez7r8na.c' source_filename = "/tmp/tmp9ez7r8na.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"Rilevatore di temperatura\0A\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"Inserisci la temperatura: \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"Fa molto caldo\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"Fa caldo\00", align 1 @.str.5 = private unnamed_addr constant [19 x i8] c"Temperatura ideale\00", align 1 @.str.6 = private unnamed_addr constant [10 x i8] c"Fa freddo\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 @printf(ptr noundef @.str.1) %5 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2) %6 = load i32, ptr %2, align 4 %7 = icmp sge i32 %6, 30 br i1 %7, label %8, label %10 8: ; preds = %0 %9 = call i32 @printf(ptr noundef @.str.3) br label %34 10: ; preds = %0 %11 = load i32, ptr %2, align 4 %12 = icmp sge i32 %11, 20 br i1 %12, label %13, label %18 13: ; preds = %10 %14 = load i32, ptr %2, align 4 %15 = icmp slt i32 %14, 30 br i1 %15, label %16, label %18 16: ; preds = %13 %17 = call i32 @printf(ptr noundef @.str.4) br label %33 18: ; preds = %13, %10 %19 = load i32, ptr %2, align 4 %20 = icmp sge i32 %19, 10 br i1 %20, label %21, label %26 21: ; preds = %18 %22 = load i32, ptr %2, align 4 %23 = icmp slt i32 %22, 20 br i1 %23, label %24, label %26 24: ; preds = %21 %25 = call i32 @printf(ptr noundef @.str.5) br label %32 26: ; preds = %21, %18 %27 = load i32, ptr %2, align 4 %28 = icmp slt i32 %27, 10 br i1 %28, label %29, label %31 29: ; preds = %26 %30 = call i32 @printf(ptr noundef @.str.6) br label %31 31: ; preds = %29, %26 br label %32 32: ; preds = %31, %24 br label %33 33: ; preds = %32, %16 br label %34 34: ; preds = %33, %8 ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9ez7r8na.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"Rilevatore di temperatura\0A\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"Inserisci la temperatura: \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"Fa molto caldo\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"Fa caldo\00", align 1 @.str.5 = private unnamed_addr constant [19 x i8] c"Temperatura ideale\00", align 1 @.str.6 = private unnamed_addr constant [10 x i8] c"Fa freddo\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 @printf(ptr noundef @.str.1) %5 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2) %6 = load i32, ptr %2, align 4 %7 = icmp sge i32 %6, 30 br i1 %7, label %8, label %10 8: ; preds = %0 %9 = call i32 @printf(ptr noundef @.str.3) br label %34 10: ; preds = %0 %11 = load i32, ptr %2, align 4 %12 = icmp sge i32 %11, 20 br i1 %12, label %13, label %18 13: ; preds = %10 %14 = load i32, ptr %2, align 4 %15 = icmp slt i32 %14, 30 br i1 %15, label %16, label %18 16: ; preds = %13 %17 = call i32 @printf(ptr noundef @.str.4) br label %33 18: ; preds = %13, %10 %19 = load i32, ptr %2, align 4 %20 = icmp sge i32 %19, 10 br i1 %20, label %21, label %26 21: ; preds = %18 %22 = load i32, ptr %2, align 4 %23 = icmp slt i32 %22, 20 br i1 %23, label %24, label %26 24: ; preds = %21 %25 = call i32 @printf(ptr noundef @.str.5) br label %32 26: ; preds = %21, %18 %27 = load i32, ptr %2, align 4 %28 = icmp slt i32 %27, 10 br i1 %28, label %29, label %31 29: ; preds = %26 %30 = call i32 @printf(ptr noundef @.str.6) br label %31 31: ; preds = %29, %26 br label %32 32: ; preds = %31, %24 br label %33 33: ; preds = %32, %16 br label %34 34: ; preds = %33, %8 ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqsugb8gu.c' source_filename = "/tmp/tmpqsugb8gu.c" target datalayout = "e-m:e-p270: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/tmpqsugb8gu.c" target datalayout = "e-m:e-p270: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/tmpuvif_tz1.c' source_filename = "/tmp/tmpuvif_tz1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @unfrobstr(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @strlen(ptr noundef %5) %7 = sdiv i32 %6, 2 store i32 %7, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = add nsw i32 %8, 1 %10 = call i64 @malloc(i32 noundef %9) %11 = inttoptr i64 %10 to ptr store ptr %11, ptr %4, align 8 %12 = load ptr, ptr %4, align 8 %13 = load ptr, ptr %2, align 8 %14 = call i32 @hex2str(ptr noundef %12, ptr noundef %13, i32 noundef 0) %15 = load ptr, ptr %4, align 8 %16 = load i32, ptr %3, align 4 %17 = call i32 @memfrob(ptr noundef %15, i32 noundef %16) %18 = load ptr, ptr %4, align 8 ret ptr %18 } declare i32 @strlen(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @hex2str(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @memfrob(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/tmpuvif_tz1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @unfrobstr(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @strlen(ptr noundef %5) %7 = sdiv i32 %6, 2 store i32 %7, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = add nsw i32 %8, 1 %10 = call i64 @malloc(i32 noundef %9) %11 = inttoptr i64 %10 to ptr store ptr %11, ptr %4, align 8 %12 = load ptr, ptr %4, align 8 %13 = load ptr, ptr %2, align 8 %14 = call i32 @hex2str(ptr noundef %12, ptr noundef %13, i32 noundef 0) %15 = load ptr, ptr %4, align 8 %16 = load i32, ptr %3, align 4 %17 = call i32 @memfrob(ptr noundef %15, i32 noundef %16) %18 = load ptr, ptr %4, align 8 ret ptr %18 } declare i32 @strlen(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @hex2str(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @memfrob(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/tmpz_qy52p9.c' source_filename = "/tmp/tmpz_qy52p9.c" target datalayout = "e-m:e-p270: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.tm = type { i32, i32, i32, i32, i32, i32, i64 } @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @isotime(ptr noundef %0) #0 { %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 %9 = alloca [5 x i8], align 1 %10 = alloca [3 x i8], align 1 %11 = alloca [3 x i8], align 1 %12 = alloca [3 x i8], align 1 %13 = alloca [3 x i8], align 1 %14 = alloca [3 x i8], align 1 %15 = alloca %struct.tm, align 8 %16 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %17 = getelementptr inbounds [5 x i8], ptr %9, i64 0, i64 0 %18 = load ptr, ptr %2, align 8 %19 = call i32 @strncpy(ptr noundef %17, ptr noundef %18, i32 noundef 4) %20 = getelementptr inbounds [3 x i8], ptr %10, i64 0, i64 0 %21 = load ptr, ptr %2, align 8 %22 = getelementptr inbounds i8, ptr %21, i64 5 %23 = call i32 @strncpy(ptr noundef %20, ptr noundef %22, i32 noundef 2) %24 = getelementptr inbounds [3 x i8], ptr %11, i64 0, i64 0 %25 = load ptr, ptr %2, align 8 %26 = getelementptr inbounds i8, ptr %25, i64 8 %27 = call i32 @strncpy(ptr noundef %24, ptr noundef %26, i32 noundef 2) %28 = getelementptr inbounds [3 x i8], ptr %12, i64 0, i64 0 %29 = load ptr, ptr %2, align 8 %30 = getelementptr inbounds i8, ptr %29, i64 11 %31 = call i32 @strncpy(ptr noundef %28, ptr noundef %30, i32 noundef 2) %32 = getelementptr inbounds [3 x i8], ptr %13, i64 0, i64 0 %33 = load ptr, ptr %2, align 8 %34 = getelementptr inbounds i8, ptr %33, i64 14 %35 = call i32 @strncpy(ptr noundef %32, ptr noundef %34, i32 noundef 2) %36 = getelementptr inbounds [3 x i8], ptr %14, i64 0, i64 0 %37 = load ptr, ptr %2, align 8 %38 = getelementptr inbounds i8, ptr %37, i64 17 %39 = call i32 @strncpy(ptr noundef %36, ptr noundef %38, i32 noundef 2) %40 = getelementptr inbounds [5 x i8], ptr %9, i64 0, i64 4 store i8 0, ptr %40, align 1 %41 = getelementptr inbounds [3 x i8], ptr %10, i64 0, i64 2 store i8 0, ptr %41, align 1 %42 = getelementptr inbounds [3 x i8], ptr %11, i64 0, i64 2 store i8 0, ptr %42, align 1 %43 = getelementptr inbounds [3 x i8], ptr %12, i64 0, i64 2 store i8 0, ptr %43, align 1 %44 = getelementptr inbounds [3 x i8], ptr %13, i64 0, i64 2 store i8 0, ptr %44, align 1 %45 = getelementptr inbounds [3 x i8], ptr %14, i64 0, i64 2 store i8 0, ptr %45, align 1 %46 = getelementptr inbounds [5 x i8], ptr %9, i64 0, i64 0 %47 = call i32 @sscanf(ptr noundef %46, ptr noundef @.str, ptr noundef %3) %48 = getelementptr inbounds [3 x i8], ptr %10, i64 0, i64 0 %49 = call i32 @sscanf(ptr noundef %48, ptr noundef @.str, ptr noundef %4) %50 = getelementptr inbounds [3 x i8], ptr %11, i64 0, i64 0 %51 = call i32 @sscanf(ptr noundef %50, ptr noundef @.str, ptr noundef %5) %52 = getelementptr inbounds [3 x i8], ptr %12, i64 0, i64 0 %53 = call i32 @sscanf(ptr noundef %52, ptr noundef @.str, ptr noundef %6) %54 = getelementptr inbounds [3 x i8], ptr %13, i64 0, i64 0 %55 = call i32 @sscanf(ptr noundef %54, ptr noundef @.str, ptr noundef %7) %56 = getelementptr inbounds [3 x i8], ptr %14, i64 0, i64 0 %57 = call i32 @sscanf(ptr noundef %56, ptr noundef @.str, ptr noundef %8) %58 = load i32, ptr %3, align 4 %59 = sub nsw i32 %58, 1900 %60 = getelementptr inbounds %struct.tm, ptr %15, i32 0, i32 0 store i32 %59, ptr %60, align 8 %61 = load i32, ptr %4, align 4 %62 = sub nsw i32 %61, 1 %63 = getelementptr inbounds %struct.tm, ptr %15, i32 0, i32 1 store i32 %62, ptr %63, align 4 %64 = load i32, ptr %5, align 4 %65 = getelementptr inbounds %struct.tm, ptr %15, i32 0, i32 2 store i32 %64, ptr %65, align 8 %66 = load i32, ptr %6, align 4 %67 = getelementptr inbounds %struct.tm, ptr %15, i32 0, i32 3 store i32 %66, ptr %67, align 4 %68 = load i32, ptr %7, align 4 %69 = getelementptr inbounds %struct.tm, ptr %15, i32 0, i32 4 store i32 %68, ptr %69, align 8 %70 = load i32, ptr %8, align 4 %71 = getelementptr inbounds %struct.tm, ptr %15, i32 0, i32 5 store i32 %70, ptr %71, align 4 %72 = getelementptr inbounds %struct.tm, ptr %15, i32 0, i32 6 store i64 0, ptr %72, align 8 %73 = call i64 @mktime(ptr noundef %15) store i64 %73, ptr %16, align 8 %74 = load i64, ptr %16, align 8 ret i64 %74 } declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @mktime(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz_qy52p9.c" target datalayout = "e-m:e-p270: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.tm = type { i32, i32, i32, i32, i32, i32, i64 } @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @isotime(ptr noundef %0) #0 { %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 %9 = alloca [5 x i8], align 1 %10 = alloca [3 x i8], align 1 %11 = alloca [3 x i8], align 1 %12 = alloca [3 x i8], align 1 %13 = alloca [3 x i8], align 1 %14 = alloca [3 x i8], align 1 %15 = alloca %struct.tm, align 8 %16 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %17 = getelementptr inbounds [5 x i8], ptr %9, i64 0, i64 0 %18 = load ptr, ptr %2, align 8 %19 = call i32 @strncpy(ptr noundef %17, ptr noundef %18, i32 noundef 4) %20 = getelementptr inbounds [3 x i8], ptr %10, i64 0, i64 0 %21 = load ptr, ptr %2, align 8 %22 = getelementptr inbounds i8, ptr %21, i64 5 %23 = call i32 @strncpy(ptr noundef %20, ptr noundef %22, i32 noundef 2) %24 = getelementptr inbounds [3 x i8], ptr %11, i64 0, i64 0 %25 = load ptr, ptr %2, align 8 %26 = getelementptr inbounds i8, ptr %25, i64 8 %27 = call i32 @strncpy(ptr noundef %24, ptr noundef %26, i32 noundef 2) %28 = getelementptr inbounds [3 x i8], ptr %12, i64 0, i64 0 %29 = load ptr, ptr %2, align 8 %30 = getelementptr inbounds i8, ptr %29, i64 11 %31 = call i32 @strncpy(ptr noundef %28, ptr noundef %30, i32 noundef 2) %32 = getelementptr inbounds [3 x i8], ptr %13, i64 0, i64 0 %33 = load ptr, ptr %2, align 8 %34 = getelementptr inbounds i8, ptr %33, i64 14 %35 = call i32 @strncpy(ptr noundef %32, ptr noundef %34, i32 noundef 2) %36 = getelementptr inbounds [3 x i8], ptr %14, i64 0, i64 0 %37 = load ptr, ptr %2, align 8 %38 = getelementptr inbounds i8, ptr %37, i64 17 %39 = call i32 @strncpy(ptr noundef %36, ptr noundef %38, i32 noundef 2) %40 = getelementptr inbounds [5 x i8], ptr %9, i64 0, i64 4 store i8 0, ptr %40, align 1 %41 = getelementptr inbounds [3 x i8], ptr %10, i64 0, i64 2 store i8 0, ptr %41, align 1 %42 = getelementptr inbounds [3 x i8], ptr %11, i64 0, i64 2 store i8 0, ptr %42, align 1 %43 = getelementptr inbounds [3 x i8], ptr %12, i64 0, i64 2 store i8 0, ptr %43, align 1 %44 = getelementptr inbounds [3 x i8], ptr %13, i64 0, i64 2 store i8 0, ptr %44, align 1 %45 = getelementptr inbounds [3 x i8], ptr %14, i64 0, i64 2 store i8 0, ptr %45, align 1 %46 = getelementptr inbounds [5 x i8], ptr %9, i64 0, i64 0 %47 = call i32 @sscanf(ptr noundef %46, ptr noundef @.str, ptr noundef %3) %48 = getelementptr inbounds [3 x i8], ptr %10, i64 0, i64 0 %49 = call i32 @sscanf(ptr noundef %48, ptr noundef @.str, ptr noundef %4) %50 = getelementptr inbounds [3 x i8], ptr %11, i64 0, i64 0 %51 = call i32 @sscanf(ptr noundef %50, ptr noundef @.str, ptr noundef %5) %52 = getelementptr inbounds [3 x i8], ptr %12, i64 0, i64 0 %53 = call i32 @sscanf(ptr noundef %52, ptr noundef @.str, ptr noundef %6) %54 = getelementptr inbounds [3 x i8], ptr %13, i64 0, i64 0 %55 = call i32 @sscanf(ptr noundef %54, ptr noundef @.str, ptr noundef %7) %56 = getelementptr inbounds [3 x i8], ptr %14, i64 0, i64 0 %57 = call i32 @sscanf(ptr noundef %56, ptr noundef @.str, ptr noundef %8) %58 = load i32, ptr %3, align 4 %59 = sub nsw i32 %58, 1900 %60 = getelementptr inbounds %struct.tm, ptr %15, i32 0, i32 0 store i32 %59, ptr %60, align 8 %61 = load i32, ptr %4, align 4 %62 = sub nsw i32 %61, 1 %63 = getelementptr inbounds %struct.tm, ptr %15, i32 0, i32 1 store i32 %62, ptr %63, align 4 %64 = load i32, ptr %5, align 4 %65 = getelementptr inbounds %struct.tm, ptr %15, i32 0, i32 2 store i32 %64, ptr %65, align 8 %66 = load i32, ptr %6, align 4 %67 = getelementptr inbounds %struct.tm, ptr %15, i32 0, i32 3 store i32 %66, ptr %67, align 4 %68 = load i32, ptr %7, align 4 %69 = getelementptr inbounds %struct.tm, ptr %15, i32 0, i32 4 store i32 %68, ptr %69, align 8 %70 = load i32, ptr %8, align 4 %71 = getelementptr inbounds %struct.tm, ptr %15, i32 0, i32 5 store i32 %70, ptr %71, align 4 %72 = getelementptr inbounds %struct.tm, ptr %15, i32 0, i32 6 store i64 0, ptr %72, align 8 %73 = call i64 @mktime(ptr noundef %15) store i64 %73, ptr %16, align 8 %74 = load i64, ptr %16, align 8 ret i64 %74 } declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @mktime(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsoffktfq.c' source_filename = "/tmp/tmpsoffktfq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printchar(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load i8, ptr %3, align 1 %5 = call i32 @printf(ptr noundef @.str, i8 noundef zeroext %4) ret void } declare i32 @printf(ptr noundef, 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/tmpsoffktfq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printchar(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load i8, ptr %3, align 1 %5 = call i32 @printf(ptr noundef @.str, i8 noundef zeroext %4) ret void } declare i32 @printf(ptr noundef, 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/tmp97mnoxgc.c' source_filename = "/tmp/tmp97mnoxgc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @keyboard_irq.extended_key = internal global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @keyboard_irq() #0 { %1 = alloca i8, align 1 %2 = call zeroext i8 @inb(i32 noundef 96) store i8 %2, ptr %1, align 1 %3 = load i8, ptr %1, align 1 %4 = zext i8 %3 to i32 %5 = icmp eq i32 %4, 224 br i1 %5, label %6, label %7 6: ; preds = %0 store i32 128, ptr @keyboard_irq.extended_key, align 4 br label %21 7: ; preds = %0 %8 = load i8, ptr %1, align 1 %9 = zext i8 %8 to i32 %10 = and i32 %9, 128 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %19 12: ; preds = %7 %13 = load i8, ptr %1, align 1 %14 = zext i8 %13 to i32 %15 = load i32, ptr @keyboard_irq.extended_key, align 4 %16 = or i32 %14, %15 %17 = trunc i32 %16 to i8 %18 = call i32 @circular_queue_push(i8 noundef zeroext %17) br label %19 19: ; preds = %12, %7 br label %20 20: ; preds = %19 store i32 0, ptr @keyboard_irq.extended_key, align 4 br label %21 21: ; preds = %20, %6 ret void } declare zeroext i8 @inb(i32 noundef) #1 declare i32 @circular_queue_push(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/tmp97mnoxgc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @keyboard_irq.extended_key = internal global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @keyboard_irq() #0 { %1 = alloca i8, align 1 %2 = call zeroext i8 @inb(i32 noundef 96) store i8 %2, ptr %1, align 1 %3 = load i8, ptr %1, align 1 %4 = zext i8 %3 to i32 %5 = icmp eq i32 %4, 224 br i1 %5, label %6, label %7 6: ; preds = %0 store i32 128, ptr @keyboard_irq.extended_key, align 4 br label %21 7: ; preds = %0 %8 = load i8, ptr %1, align 1 %9 = zext i8 %8 to i32 %10 = and i32 %9, 128 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %19 12: ; preds = %7 %13 = load i8, ptr %1, align 1 %14 = zext i8 %13 to i32 %15 = load i32, ptr @keyboard_irq.extended_key, align 4 %16 = or i32 %14, %15 %17 = trunc i32 %16 to i8 %18 = call i32 @circular_queue_push(i8 noundef zeroext %17) br label %19 19: ; preds = %12, %7 br label %20 20: ; preds = %19 store i32 0, ptr @keyboard_irq.extended_key, align 4 br label %21 21: ; preds = %20, %6 ret void } declare zeroext i8 @inb(i32 noundef) #1 declare i32 @circular_queue_push(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/tmp8v1g72tv.c' source_filename = "/tmp/tmp8v1g72tv.c" target datalayout = "e-m:e-p270: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.shmid_ds = type { i32 } @.str = private unnamed_addr constant [6 x i8] c"k:-n:\00", align 1 @optarg = dso_local global i32 0, align 4 @IPC_CREAT = dso_local global i32 0, align 4 @IPC_STAT = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @IPC_SET = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [4 x i8] c" %d\00", align 1 @SHM_LOCK = dso_local global i32 0, align 4 @IPC_RMID = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca 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 %struct.shmid_ds, 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 1, ptr %7, align 4 store i32 34952, ptr %8, align 4 br label %12 12: ; preds = %27, %2 %13 = load i32, ptr %4, align 4 %14 = load ptr, ptr %5, align 8 %15 = call i32 @getopt(i32 noundef %13, ptr noundef %14, ptr noundef @.str) store i32 %15, ptr %6, align 4 %16 = icmp ne i32 %15, -1 br i1 %16, label %17, label %28 17: ; preds = %12 %18 = load i32, ptr %6, align 4 %19 = trunc i32 %18 to i8 %20 = sext i8 %19 to i32 switch i32 %20, label %27 [ i32 107, label %21 i32 110, label %24 ] 21: ; preds = %17 %22 = load i32, ptr @optarg, align 4 %23 = call i32 @atoi(i32 noundef %22) store i32 %23, ptr %8, align 4 br label %27 24: ; preds = %17 %25 = load i32, ptr @optarg, align 4 %26 = call i32 @atoi(i32 noundef %25) store i32 %26, ptr %7, align 4 br label %27 27: ; preds = %17, %24, %21 br label %12, !llvm.loop !6 28: ; preds = %12 %29 = load i32, ptr %8, align 4 %30 = load i32, ptr @IPC_CREAT, align 4 %31 = or i32 %30, 511 %32 = call i32 @shmget(i32 noundef %29, i32 noundef 2048, i32 noundef %31) store i32 %32, ptr %9, align 4 %33 = load i32, ptr %9, align 4 %34 = icmp eq i32 %33, -1 br i1 %34, label %35, label %36 35: ; preds = %28 store i32 1, ptr %3, align 4 br label %58 36: ; preds = %28 %37 = load i32, ptr %9, align 4 %38 = load i32, ptr @IPC_STAT, align 4 %39 = call i32 @shmctl(i32 noundef %37, i32 noundef %38, ptr noundef %11) store i32 %39, ptr %10, align 4 %40 = load i32, ptr %10, align 4 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %40) %42 = load i32, ptr %9, align 4 %43 = load i32, ptr @IPC_SET, align 4 %44 = call i32 @shmctl(i32 noundef %42, i32 noundef %43, ptr noundef %11) store i32 %44, ptr %10, align 4 %45 = load i32, ptr %10, align 4 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %45) %47 = load i32, ptr %9, align 4 %48 = load i32, ptr @SHM_LOCK, align 4 %49 = call i32 @shmctl(i32 noundef %47, i32 noundef %48, ptr noundef null) store i32 %49, ptr %10, align 4 %50 = load i32, ptr %10, align 4 %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %50) %52 = load i32, ptr %9, align 4 %53 = load i32, ptr @IPC_RMID, align 4 %54 = call i32 @shmctl(i32 noundef %52, i32 noundef %53, ptr noundef null) store i32 %54, ptr %10, align 4 %55 = load i32, ptr %10, align 4 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %55) %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 0, ptr %3, align 4 br label %58 58: ; preds = %36, %35 %59 = load i32, ptr %3, align 4 ret i32 %59 } declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @atoi(i32 noundef) #1 declare i32 @shmget(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @shmctl(i32 noundef, i32 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/tmp8v1g72tv.c" target datalayout = "e-m:e-p270: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.shmid_ds = type { i32 } @.str = private unnamed_addr constant [6 x i8] c"k:-n:\00", align 1 @optarg = dso_local global i32 0, align 4 @IPC_CREAT = dso_local global i32 0, align 4 @IPC_STAT = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @IPC_SET = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [4 x i8] c" %d\00", align 1 @SHM_LOCK = dso_local global i32 0, align 4 @IPC_RMID = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca 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 %struct.shmid_ds, 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 1, ptr %7, align 4 store i32 34952, ptr %8, align 4 %12 = load i32, ptr %4, align 4 %13 = load ptr, ptr %5, align 8 %14 = call i32 @getopt(i32 noundef %12, ptr noundef %13, ptr noundef @.str) store i32 %14, ptr %6, align 4 %15 = icmp ne i32 %14, -1 br i1 %15, label %.lr.ph, label %31 .lr.ph: ; preds = %2 br label %16 16: ; preds = %.lr.ph, %26 %17 = load i32, ptr %6, align 4 %18 = trunc i32 %17 to i8 %19 = sext i8 %18 to i32 switch i32 %19, label %26 [ i32 107, label %20 i32 110, label %23 ] 20: ; preds = %16 %21 = load i32, ptr @optarg, align 4 %22 = call i32 @atoi(i32 noundef %21) store i32 %22, ptr %8, align 4 br label %26 23: ; preds = %16 %24 = load i32, ptr @optarg, align 4 %25 = call i32 @atoi(i32 noundef %24) store i32 %25, ptr %7, align 4 br label %26 26: ; preds = %23, %20, %16 %27 = load i32, ptr %4, align 4 %28 = load ptr, ptr %5, align 8 %29 = call i32 @getopt(i32 noundef %27, ptr noundef %28, ptr noundef @.str) store i32 %29, ptr %6, align 4 %30 = icmp ne i32 %29, -1 br i1 %30, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %31 31: ; preds = %._crit_edge, %2 %32 = load i32, ptr %8, align 4 %33 = load i32, ptr @IPC_CREAT, align 4 %34 = or i32 %33, 511 %35 = call i32 @shmget(i32 noundef %32, i32 noundef 2048, i32 noundef %34) store i32 %35, ptr %9, align 4 %36 = load i32, ptr %9, align 4 %37 = icmp eq i32 %36, -1 br i1 %37, label %38, label %39 38: ; preds = %31 store i32 1, ptr %3, align 4 br label %61 39: ; preds = %31 %40 = load i32, ptr %9, align 4 %41 = load i32, ptr @IPC_STAT, align 4 %42 = call i32 @shmctl(i32 noundef %40, i32 noundef %41, ptr noundef %11) store i32 %42, ptr %10, align 4 %43 = load i32, ptr %10, align 4 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %43) %45 = load i32, ptr %9, align 4 %46 = load i32, ptr @IPC_SET, align 4 %47 = call i32 @shmctl(i32 noundef %45, i32 noundef %46, ptr noundef %11) store i32 %47, ptr %10, align 4 %48 = load i32, ptr %10, align 4 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %48) %50 = load i32, ptr %9, align 4 %51 = load i32, ptr @SHM_LOCK, align 4 %52 = call i32 @shmctl(i32 noundef %50, i32 noundef %51, ptr noundef null) store i32 %52, ptr %10, align 4 %53 = load i32, ptr %10, align 4 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %53) %55 = load i32, ptr %9, align 4 %56 = load i32, ptr @IPC_RMID, align 4 %57 = call i32 @shmctl(i32 noundef %55, i32 noundef %56, ptr noundef null) store i32 %57, ptr %10, align 4 %58 = load i32, ptr %10, align 4 %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %58) %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 0, ptr %3, align 4 br label %61 61: ; preds = %39, %38 %62 = load i32, ptr %3, align 4 ret i32 %62 } declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @atoi(i32 noundef) #1 declare i32 @shmget(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @shmctl(i32 noundef, i32 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/tmpdy5ordc5.c' source_filename = "/tmp/tmpdy5ordc5.c" target datalayout = "e-m:e-p270:32:32-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 @softboundmpx_symlinkat(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load i32, ptr %5, align 4 %9 = load ptr, ptr %6, align 8 %10 = call i32 @symlinkat(ptr noundef %7, i32 noundef %8, ptr noundef %9) ret i32 %10 } declare i32 @symlinkat(ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { alwaysinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdy5ordc5.c" target datalayout = "e-m:e-p270:32:32-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 @softboundmpx_symlinkat(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load i32, ptr %5, align 4 %9 = load ptr, ptr %6, align 8 %10 = call i32 @symlinkat(ptr noundef %7, i32 noundef %8, ptr noundef %9) ret i32 %10 } declare i32 @symlinkat(ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { alwaysinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7n5sbjan.c' source_filename = "/tmp/tmp7n5sbjan.c" target datalayout = "e-m:e-p270: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/tmp7n5sbjan.c" target datalayout = "e-m:e-p270: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/tmp3l5t3t1y.c' source_filename = "/tmp/tmp3l5t3t1y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"matched\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"not matched\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [32 x i8], align 16 %3 = alloca [32 x i8], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [32 x [32 x i8]], align 16 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 %9 = getelementptr inbounds [32 x i8], ptr %2, i64 0, i64 0 %10 = getelementptr inbounds i8, ptr %9, i64 1 %11 = call i32 @gets(ptr noundef %10) %12 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0 %13 = getelementptr inbounds i8, ptr %12, i64 1 %14 = call i32 @gets(ptr noundef %13) %15 = getelementptr inbounds [32 x i8], ptr %2, i64 0, i64 0 %16 = getelementptr inbounds i8, ptr %15, i64 1 %17 = call i32 @strlen(ptr noundef %16) store i32 %17, ptr %4, align 4 %18 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0 %19 = getelementptr inbounds i8, ptr %18, i64 1 %20 = call i32 @strlen(ptr noundef %19) store i32 %20, ptr %5, align 4 call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 1024, i1 false) %21 = getelementptr inbounds [32 x [32 x i8]], ptr %6, i64 0, i64 0 %22 = getelementptr inbounds [32 x i8], ptr %21, i64 0, i64 0 store i8 1, ptr %22, align 16 store i32 1, ptr %7, align 4 br label %23 23: ; preds = %35, %0 %24 = load i32, ptr %7, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds [32 x i8], ptr %2, i64 0, i64 %25 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = icmp eq i32 %28, 42 br i1 %29, label %30, label %38 30: ; preds = %23 %31 = load i32, ptr %7, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [32 x [32 x i8]], ptr %6, i64 0, i64 %32 %34 = getelementptr inbounds [32 x i8], ptr %33, i64 0, i64 0 store i8 1, ptr %34, align 16 br label %35 35: ; preds = %30 %36 = load i32, ptr %7, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %7, align 4 br label %23, !llvm.loop !6 38: ; preds = %23 store i32 1, ptr %7, align 4 br label %39 39: ; preds = %152, %38 %40 = load i32, ptr %7, align 4 %41 = load i32, ptr %4, align 4 %42 = icmp sle i32 %40, %41 br i1 %42, label %43, label %155 43: ; preds = %39 store i32 1, ptr %8, align 4 br label %44 44: ; preds = %148, %43 %45 = load i32, ptr %8, align 4 %46 = load i32, ptr %5, align 4 %47 = icmp sle i32 %45, %46 br i1 %47, label %48, label %151 48: ; preds = %44 %49 = load i32, ptr %7, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds [32 x i8], ptr %2, i64 0, i64 %50 %52 = load i8, ptr %51, align 1 %53 = sext i8 %52 to i32 %54 = icmp eq i32 %53, 42 br i1 %54, label %55, label %87 55: ; preds = %48 %56 = load i32, ptr %7, align 4 %57 = sub nsw i32 %56, 1 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds [32 x [32 x i8]], ptr %6, i64 0, i64 %58 %60 = load i32, ptr %8, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds [32 x i8], ptr %59, i64 0, i64 %61 %63 = load i8, ptr %62, align 1 %64 = zext i8 %63 to i32 %65 = icmp ne i32 %64, 0 br i1 %65, label %77, label %66 66: ; preds = %55 %67 = load i32, ptr %7, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds [32 x [32 x i8]], ptr %6, i64 0, i64 %68 %70 = load i32, ptr %8, align 4 %71 = sub nsw i32 %70, 1 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds [32 x i8], ptr %69, i64 0, i64 %72 %74 = load i8, ptr %73, align 1 %75 = zext i8 %74 to i32 %76 = icmp ne i32 %75, 0 br label %77 77: ; preds = %66, %55 %78 = phi i1 [ true, %55 ], [ %76, %66 ] %79 = zext i1 %78 to i32 %80 = trunc i32 %79 to i8 %81 = load i32, ptr %7, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds [32 x [32 x i8]], ptr %6, i64 0, i64 %82 %84 = load i32, ptr %8, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds [32 x i8], ptr %83, i64 0, i64 %85 store i8 %80, ptr %86, align 1 br label %147 87: ; preds = %48 %88 = load i32, ptr %7, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds [32 x i8], ptr %2, i64 0, i64 %89 %91 = load i8, ptr %90, align 1 %92 = sext i8 %91 to i32 %93 = icmp eq i32 %92, 63 br i1 %93, label %94, label %110 94: ; preds = %87 %95 = load i32, ptr %7, align 4 %96 = sub nsw i32 %95, 1 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds [32 x [32 x i8]], ptr %6, i64 0, i64 %97 %99 = load i32, ptr %8, align 4 %100 = sub nsw i32 %99, 1 %101 = sext i32 %100 to i64 %102 = getelementptr inbounds [32 x i8], ptr %98, i64 0, i64 %101 %103 = load i8, ptr %102, align 1 %104 = load i32, ptr %7, align 4 %105 = sext i32 %104 to i64 %106 = getelementptr inbounds [32 x [32 x i8]], ptr %6, i64 0, i64 %105 %107 = load i32, ptr %8, align 4 %108 = sext i32 %107 to i64 %109 = getelementptr inbounds [32 x i8], ptr %106, i64 0, i64 %108 store i8 %103, ptr %109, align 1 br label %146 110: ; preds = %87 %111 = load i32, ptr %7, align 4 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds [32 x i8], ptr %2, i64 0, i64 %112 %114 = load i8, ptr %113, align 1 %115 = sext i8 %114 to i32 %116 = load i32, ptr %8, align 4 %117 = sext i32 %116 to i64 %118 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 %117 %119 = load i8, ptr %118, align 1 %120 = sext i8 %119 to i32 %121 = icmp eq i32 %115, %120 br i1 %121, label %122, label %138 122: ; preds = %110 %123 = load i32, ptr %7, align 4 %124 = sub nsw i32 %123, 1 %125 = sext i32 %124 to i64 %126 = getelementptr inbounds [32 x [32 x i8]], ptr %6, i64 0, i64 %125 %127 = load i32, ptr %8, align 4 %128 = sub nsw i32 %127, 1 %129 = sext i32 %128 to i64 %130 = getelementptr inbounds [32 x i8], ptr %126, i64 0, i64 %129 %131 = load i8, ptr %130, align 1 %132 = load i32, ptr %7, align 4 %133 = sext i32 %132 to i64 %134 = getelementptr inbounds [32 x [32 x i8]], ptr %6, i64 0, i64 %133 %135 = load i32, ptr %8, align 4 %136 = sext i32 %135 to i64 %137 = getelementptr inbounds [32 x i8], ptr %134, i64 0, i64 %136 store i8 %131, ptr %137, align 1 br label %145 138: ; preds = %110 %139 = load i32, ptr %7, align 4 %140 = sext i32 %139 to i64 %141 = getelementptr inbounds [32 x [32 x i8]], ptr %6, i64 0, i64 %140 %142 = load i32, ptr %8, align 4 %143 = sext i32 %142 to i64 %144 = getelementptr inbounds [32 x i8], ptr %141, i64 0, i64 %143 store i8 0, ptr %144, align 1 br label %145 145: ; preds = %138, %122 br label %146 146: ; preds = %145, %94 br label %147 147: ; preds = %146, %77 br label %148 148: ; preds = %147 %149 = load i32, ptr %8, align 4 %150 = add nsw i32 %149, 1 store i32 %150, ptr %8, align 4 br label %44, !llvm.loop !8 151: ; preds = %44 br label %152 152: ; preds = %151 %153 = load i32, ptr %7, align 4 %154 = add nsw i32 %153, 1 store i32 %154, ptr %7, align 4 br label %39, !llvm.loop !9 155: ; preds = %39 %156 = load i32, ptr %4, align 4 %157 = sext i32 %156 to i64 %158 = getelementptr inbounds [32 x [32 x i8]], ptr %6, i64 0, i64 %157 %159 = load i32, ptr %5, align 4 %160 = sext i32 %159 to i64 %161 = getelementptr inbounds [32 x i8], ptr %158, i64 0, i64 %160 %162 = load i8, ptr %161, align 1 %163 = zext i8 %162 to i32 %164 = icmp ne i32 %163, 0 %165 = zext i1 %164 to i64 %166 = select i1 %164, ptr @.str, ptr @.str.1 %167 = call i32 @puts(ptr noundef %166) ret i32 0 } declare i32 @gets(ptr noundef) #1 declare i32 @strlen(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) #2 declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp3l5t3t1y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"matched\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"not matched\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [32 x i8], align 16 %3 = alloca [32 x i8], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [32 x [32 x i8]], align 16 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 %9 = getelementptr inbounds [32 x i8], ptr %2, i64 0, i64 0 %10 = getelementptr inbounds i8, ptr %9, i64 1 %11 = call i32 @gets(ptr noundef %10) %12 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0 %13 = getelementptr inbounds i8, ptr %12, i64 1 %14 = call i32 @gets(ptr noundef %13) %15 = getelementptr inbounds [32 x i8], ptr %2, i64 0, i64 0 %16 = getelementptr inbounds i8, ptr %15, i64 1 %17 = call i32 @strlen(ptr noundef %16) store i32 %17, ptr %4, align 4 %18 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0 %19 = getelementptr inbounds i8, ptr %18, i64 1 %20 = call i32 @strlen(ptr noundef %19) store i32 %20, ptr %5, align 4 call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 1024, i1 false) %21 = getelementptr inbounds [32 x [32 x i8]], ptr %6, i64 0, i64 0 %22 = getelementptr inbounds [32 x i8], ptr %21, i64 0, i64 0 store i8 1, ptr %22, align 16 store i32 1, ptr %7, align 4 %23 = load i32, ptr %7, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [32 x i8], ptr %2, i64 0, i64 %24 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp eq i32 %27, 42 br i1 %28, label %.lr.ph, label %43 .lr.ph: ; preds = %0 br label %29 29: ; preds = %.lr.ph, %34 %30 = load i32, ptr %7, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [32 x [32 x i8]], ptr %6, i64 0, i64 %31 %33 = getelementptr inbounds [32 x i8], ptr %32, i64 0, i64 0 store i8 1, ptr %33, align 16 br label %34 34: ; preds = %29 %35 = load i32, ptr %7, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %7, align 4 %37 = load i32, ptr %7, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds [32 x i8], ptr %2, i64 0, i64 %38 %40 = load i8, ptr %39, align 1 %41 = sext i8 %40 to i32 %42 = icmp eq i32 %41, 42 br i1 %42, label %29, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %34 br label %43 43: ; preds = %._crit_edge, %0 store i32 1, ptr %7, align 4 %44 = load i32, ptr %7, align 4 %45 = load i32, ptr %4, align 4 %46 = icmp sle i32 %44, %45 br i1 %46, label %.lr.ph5, label %164 .lr.ph5: ; preds = %43 br label %47 47: ; preds = %.lr.ph5, %158 store i32 1, ptr %8, align 4 %48 = load i32, ptr %8, align 4 %49 = load i32, ptr %5, align 4 %50 = icmp sle i32 %48, %49 br i1 %50, label %.lr.ph2, label %157 .lr.ph2: ; preds = %47 br label %51 51: ; preds = %.lr.ph2, %151 %52 = load i32, ptr %7, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [32 x i8], ptr %2, i64 0, i64 %53 %55 = load i8, ptr %54, align 1 %56 = sext i8 %55 to i32 %57 = icmp eq i32 %56, 42 br i1 %57, label %58, label %90 58: ; preds = %51 %59 = load i32, ptr %7, align 4 %60 = sub nsw i32 %59, 1 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds [32 x [32 x i8]], ptr %6, i64 0, i64 %61 %63 = load i32, ptr %8, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds [32 x i8], ptr %62, i64 0, i64 %64 %66 = load i8, ptr %65, align 1 %67 = zext i8 %66 to i32 %68 = icmp ne i32 %67, 0 br i1 %68, label %80, label %69 69: ; preds = %58 %70 = load i32, ptr %7, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds [32 x [32 x i8]], ptr %6, i64 0, i64 %71 %73 = load i32, ptr %8, align 4 %74 = sub nsw i32 %73, 1 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds [32 x i8], ptr %72, i64 0, i64 %75 %77 = load i8, ptr %76, align 1 %78 = zext i8 %77 to i32 %79 = icmp ne i32 %78, 0 br label %80 80: ; preds = %69, %58 %81 = phi i1 [ true, %58 ], [ %79, %69 ] %82 = zext i1 %81 to i32 %83 = trunc i32 %82 to i8 %84 = load i32, ptr %7, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds [32 x [32 x i8]], ptr %6, i64 0, i64 %85 %87 = load i32, ptr %8, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds [32 x i8], ptr %86, i64 0, i64 %88 store i8 %83, ptr %89, align 1 br label %150 90: ; preds = %51 %91 = load i32, ptr %7, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds [32 x i8], ptr %2, i64 0, i64 %92 %94 = load i8, ptr %93, align 1 %95 = sext i8 %94 to i32 %96 = icmp eq i32 %95, 63 br i1 %96, label %97, label %113 97: ; preds = %90 %98 = load i32, ptr %7, align 4 %99 = sub nsw i32 %98, 1 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds [32 x [32 x i8]], ptr %6, i64 0, i64 %100 %102 = load i32, ptr %8, align 4 %103 = sub nsw i32 %102, 1 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds [32 x i8], ptr %101, i64 0, i64 %104 %106 = load i8, ptr %105, align 1 %107 = load i32, ptr %7, align 4 %108 = sext i32 %107 to i64 %109 = getelementptr inbounds [32 x [32 x i8]], ptr %6, i64 0, i64 %108 %110 = load i32, ptr %8, align 4 %111 = sext i32 %110 to i64 %112 = getelementptr inbounds [32 x i8], ptr %109, i64 0, i64 %111 store i8 %106, ptr %112, align 1 br label %149 113: ; preds = %90 %114 = load i32, ptr %7, align 4 %115 = sext i32 %114 to i64 %116 = getelementptr inbounds [32 x i8], ptr %2, i64 0, i64 %115 %117 = load i8, ptr %116, align 1 %118 = sext i8 %117 to i32 %119 = load i32, ptr %8, align 4 %120 = sext i32 %119 to i64 %121 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 %120 %122 = load i8, ptr %121, align 1 %123 = sext i8 %122 to i32 %124 = icmp eq i32 %118, %123 br i1 %124, label %125, label %141 125: ; preds = %113 %126 = load i32, ptr %7, align 4 %127 = sub nsw i32 %126, 1 %128 = sext i32 %127 to i64 %129 = getelementptr inbounds [32 x [32 x i8]], ptr %6, i64 0, i64 %128 %130 = load i32, ptr %8, align 4 %131 = sub nsw i32 %130, 1 %132 = sext i32 %131 to i64 %133 = getelementptr inbounds [32 x i8], ptr %129, i64 0, i64 %132 %134 = load i8, ptr %133, align 1 %135 = load i32, ptr %7, align 4 %136 = sext i32 %135 to i64 %137 = getelementptr inbounds [32 x [32 x i8]], ptr %6, i64 0, i64 %136 %138 = load i32, ptr %8, align 4 %139 = sext i32 %138 to i64 %140 = getelementptr inbounds [32 x i8], ptr %137, i64 0, i64 %139 store i8 %134, ptr %140, align 1 br label %148 141: ; preds = %113 %142 = load i32, ptr %7, align 4 %143 = sext i32 %142 to i64 %144 = getelementptr inbounds [32 x [32 x i8]], ptr %6, i64 0, i64 %143 %145 = load i32, ptr %8, align 4 %146 = sext i32 %145 to i64 %147 = getelementptr inbounds [32 x i8], ptr %144, i64 0, i64 %146 store i8 0, ptr %147, align 1 br label %148 148: ; preds = %141, %125 br label %149 149: ; preds = %148, %97 br label %150 150: ; preds = %149, %80 br label %151 151: ; preds = %150 %152 = load i32, ptr %8, align 4 %153 = add nsw i32 %152, 1 store i32 %153, ptr %8, align 4 %154 = load i32, ptr %8, align 4 %155 = load i32, ptr %5, align 4 %156 = icmp sle i32 %154, %155 br i1 %156, label %51, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %151 br label %157 157: ; preds = %._crit_edge3, %47 br label %158 158: ; preds = %157 %159 = load i32, ptr %7, align 4 %160 = add nsw i32 %159, 1 store i32 %160, ptr %7, align 4 %161 = load i32, ptr %7, align 4 %162 = load i32, ptr %4, align 4 %163 = icmp sle i32 %161, %162 br i1 %163, label %47, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %158 br label %164 164: ; preds = %._crit_edge6, %43 %165 = load i32, ptr %4, align 4 %166 = sext i32 %165 to i64 %167 = getelementptr inbounds [32 x [32 x i8]], ptr %6, i64 0, i64 %166 %168 = load i32, ptr %5, align 4 %169 = sext i32 %168 to i64 %170 = getelementptr inbounds [32 x i8], ptr %167, i64 0, i64 %169 %171 = load i8, ptr %170, align 1 %172 = zext i8 %171 to i32 %173 = icmp ne i32 %172, 0 %174 = zext i1 %173 to i64 %175 = select i1 %173, ptr @.str, ptr @.str.1 %176 = call i32 @puts(ptr noundef %175) ret i32 0 } declare i32 @gets(ptr noundef) #1 declare i32 @strlen(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) #2 declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpe2jbqfq9.c' source_filename = "/tmp/tmpe2jbqfq9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @alloc_re(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 %9 = load i32, ptr %7, align 4 %10 = call ptr @_p_alloc(i32 noundef %9) store ptr %10, ptr %8, align 8 %11 = load ptr, ptr %8, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %14, label %13 13: ; preds = %3 store ptr null, ptr %4, align 8 br label %22 14: ; preds = %3 %15 = load ptr, ptr %8, align 8 %16 = load i32, ptr %6, align 4 %17 = load ptr, ptr %5, align 8 %18 = call i32 @b_copyl(ptr noundef %15, i32 noundef %16, ptr noundef %17) %19 = load ptr, ptr %5, align 8 %20 = call i32 @_p_alloc_free(ptr noundef %19) %21 = load ptr, ptr %8, align 8 store ptr %21, ptr %4, align 8 br label %22 22: ; preds = %14, %13 %23 = load ptr, ptr %4, align 8 ret ptr %23 } declare ptr @_p_alloc(i32 noundef) #1 declare i32 @b_copyl(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @_p_alloc_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/tmpe2jbqfq9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @alloc_re(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 %9 = load i32, ptr %7, align 4 %10 = call ptr @_p_alloc(i32 noundef %9) store ptr %10, ptr %8, align 8 %11 = load ptr, ptr %8, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %14, label %13 13: ; preds = %3 store ptr null, ptr %4, align 8 br label %22 14: ; preds = %3 %15 = load ptr, ptr %8, align 8 %16 = load i32, ptr %6, align 4 %17 = load ptr, ptr %5, align 8 %18 = call i32 @b_copyl(ptr noundef %15, i32 noundef %16, ptr noundef %17) %19 = load ptr, ptr %5, align 8 %20 = call i32 @_p_alloc_free(ptr noundef %19) %21 = load ptr, ptr %8, align 8 store ptr %21, ptr %4, align 8 br label %22 22: ; preds = %14, %13 %23 = load ptr, ptr %4, align 8 ret ptr %23 } declare ptr @_p_alloc(i32 noundef) #1 declare i32 @b_copyl(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @_p_alloc_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/tmpfvih77ps.c' source_filename = "/tmp/tmpfvih77ps.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [85 x i8] c"--------------------PROGRAM THAT FINDS A NUMBER IN AN ARRAY--------------------\0A\0A\0A\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"Enter a size for the array: \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [35 x i8] c"\0AEnter the elements of the array: \00", align 1 @.str.4 = private unnamed_addr constant [32 x i8] c"\0AEnter the number to be found: \00", align 1 @.str.5 = private unnamed_addr constant [45 x i8] c"\0A%d is found at location %d in the array.\0A\0A\0A\00", align 1 @.str.6 = private unnamed_addr constant [51 x i8] c"\0AThe number %d could not be found in the array.\0A\0A\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 ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %11 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2) %12 = load i32, ptr %2, align 4 %13 = zext i32 %12 to i64 %14 = call ptr @llvm.stacksave() store ptr %14, ptr %5, align 8 %15 = alloca i32, i64 %13, align 16 store i64 %13, ptr %6, align 8 store ptr %15, ptr %7, align 8 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 0, ptr %3, align 4 br label %17 17: ; preds = %27, %0 %18 = load i32, ptr %3, align 4 %19 = load i32, ptr %2, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %21, label %30 21: ; preds = %17 %22 = load ptr, ptr %7, align 8 %23 = load i32, ptr %3, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i32, ptr %22, i64 %24 %26 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %25) br label %27 27: ; preds = %21 %28 = load i32, ptr %3, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %3, align 4 br label %17, !llvm.loop !6 30: ; preds = %17 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %32 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %8) %33 = load i32, ptr %2, align 4 %34 = load i32, ptr %8, align 4 %35 = call i32 @find(ptr noundef %15, i32 noundef %33, i32 noundef %34) store i32 %35, ptr %4, align 4 %36 = load i32, ptr %4, align 4 %37 = icmp ne i32 %36, -1 br i1 %37, label %38, label %42 38: ; preds = %30 %39 = load i32, ptr %8, align 4 %40 = load i32, ptr %4, align 4 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %39, i32 noundef %40) br label %45 42: ; preds = %30 %43 = load i32, ptr %8, align 4 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %43) br label %45 45: ; preds = %42, %38 store i32 0, ptr %1, align 4 %46 = load ptr, ptr %5, align 8 call void @llvm.stackrestore(ptr %46) %47 = load i32, ptr %1, align 4 ret i32 %47 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @find(ptr noundef, i32 noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfvih77ps.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [85 x i8] c"--------------------PROGRAM THAT FINDS A NUMBER IN AN ARRAY--------------------\0A\0A\0A\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"Enter a size for the array: \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [35 x i8] c"\0AEnter the elements of the array: \00", align 1 @.str.4 = private unnamed_addr constant [32 x i8] c"\0AEnter the number to be found: \00", align 1 @.str.5 = private unnamed_addr constant [45 x i8] c"\0A%d is found at location %d in the array.\0A\0A\0A\00", align 1 @.str.6 = private unnamed_addr constant [51 x i8] c"\0AThe number %d could not be found in the array.\0A\0A\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 ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %11 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2) %12 = load i32, ptr %2, align 4 %13 = zext i32 %12 to i64 %14 = call ptr @llvm.stacksave() store ptr %14, ptr %5, align 8 %15 = alloca i32, i64 %13, align 16 store i64 %13, ptr %6, align 8 store ptr %15, ptr %7, align 8 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 0, ptr %3, align 4 %17 = load i32, ptr %3, align 4 %18 = load i32, ptr %2, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %.lr.ph, label %32 .lr.ph: ; preds = %0 br label %20 20: ; preds = %.lr.ph, %26 %21 = load ptr, ptr %7, align 8 %22 = load i32, ptr %3, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i32, ptr %21, i64 %23 %25 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %24) br label %26 26: ; preds = %20 %27 = load i32, ptr %3, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %3, align 4 %29 = load i32, ptr %3, align 4 %30 = load i32, ptr %2, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %32 32: ; preds = %._crit_edge, %0 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %34 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %8) %35 = load i32, ptr %2, align 4 %36 = load i32, ptr %8, align 4 %37 = call i32 @find(ptr noundef %15, i32 noundef %35, i32 noundef %36) store i32 %37, ptr %4, align 4 %38 = load i32, ptr %4, align 4 %39 = icmp ne i32 %38, -1 br i1 %39, label %40, label %44 40: ; preds = %32 %41 = load i32, ptr %8, align 4 %42 = load i32, ptr %4, align 4 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %41, i32 noundef %42) br label %47 44: ; preds = %32 %45 = load i32, ptr %8, align 4 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %45) br label %47 47: ; preds = %44, %40 store i32 0, ptr %1, align 4 %48 = load ptr, ptr %5, align 8 call void @llvm.stackrestore(ptr %48) %49 = load i32, ptr %1, align 4 ret i32 %49 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @find(ptr noundef, i32 noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpxnvs7ak5.c' source_filename = "/tmp/tmpxnvs7ak5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @solcon_close_solution_output_file() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = load ptr, ptr %1, align 8 %6 = load ptr, ptr %2, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @_ada_use_c2phc(i32 noundef 138, ptr noundef %5, ptr noundef %6, ptr noundef %7) store i32 %8, ptr %3, align 4 %9 = load i32, ptr %3, align 4 ret i32 %9 } declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxnvs7ak5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @solcon_close_solution_output_file() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = load ptr, ptr %1, align 8 %6 = load ptr, ptr %2, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @_ada_use_c2phc(i32 noundef 138, ptr noundef %5, ptr noundef %6, ptr noundef %7) store i32 %8, ptr %3, align 4 %9 = load i32, ptr %3, align 4 ret i32 %9 } declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpol55uyb7.c' source_filename = "/tmp/tmpol55uyb7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 @ST_RDONLY = 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/tmpol55uyb7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 @ST_RDONLY = 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/tmp2ezp23ni.c' source_filename = "/tmp/tmp2ezp23ni.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @LC_ALL = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [4 x i32] [i32 37, i32 99, i32 10, i32 0], align 4 @__const.main.wts = private unnamed_addr constant [4 x i32] [i32 21704, i32 21704, i32 21704, i32 0], align 16 @.str.2 = private unnamed_addr constant [4 x i32] [i32 37, i32 115, i32 10, i32 0], align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [4 x i32], align 16 store i32 0, ptr %1, align 4 %4 = load i32, ptr @LC_ALL, align 4 %5 = call i32 @setlocale(i32 noundef %4, ptr noundef @.str) store i32 24352, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = call i32 (ptr, ...) @wprintf(ptr noundef @.str.1, i32 noundef %6) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.wts, i64 16, i1 false) %8 = getelementptr inbounds [4 x i32], ptr %3, i64 0, i64 0 %9 = call i32 (ptr, ...) @wprintf(ptr noundef @.str.2, ptr noundef %8) ret i32 0 } declare i32 @setlocale(i32 noundef, ptr noundef) #1 declare i32 @wprintf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2ezp23ni.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @LC_ALL = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [4 x i32] [i32 37, i32 99, i32 10, i32 0], align 4 @__const.main.wts = private unnamed_addr constant [4 x i32] [i32 21704, i32 21704, i32 21704, i32 0], align 16 @.str.2 = private unnamed_addr constant [4 x i32] [i32 37, i32 115, i32 10, i32 0], align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [4 x i32], align 16 store i32 0, ptr %1, align 4 %4 = load i32, ptr @LC_ALL, align 4 %5 = call i32 @setlocale(i32 noundef %4, ptr noundef @.str) store i32 24352, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = call i32 (ptr, ...) @wprintf(ptr noundef @.str.1, i32 noundef %6) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.wts, i64 16, i1 false) %8 = getelementptr inbounds [4 x i32], ptr %3, i64 0, i64 0 %9 = call i32 (ptr, ...) @wprintf(ptr noundef @.str.2, ptr noundef %8) ret i32 0 } declare i32 @setlocale(i32 noundef, ptr noundef) #1 declare i32 @wprintf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmps9907gf3.c' source_filename = "/tmp/tmps9907gf3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"PipeWrite Error : len is too long \0A\00", align 1 @.str.1 = private unnamed_addr constant [46 x i8] c"Write Process : Wanna input %d characters \0A\00", align 1 @.str.2 = private unnamed_addr constant [44 x i8] c"Write Process : Wrote in %d characters ...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @PipeWrite(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [100 x i8], align 16 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %7, 100 br i1 %8, label %9, label %12 9: ; preds = %2 %10 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0 %11 = call i32 @InitStr(ptr noundef %10, i32 noundef 70) br label %15 12: ; preds = %2 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str) %14 = call i32 @exit(i32 noundef 1) #3 unreachable 15: ; preds = %9 %16 = load i32, ptr %4, align 4 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %16) %18 = load ptr, ptr %3, align 8 %19 = getelementptr inbounds i32, ptr %18, i64 0 %20 = load i32, ptr %19, align 4 %21 = call i32 @close(i32 noundef %20) %22 = load ptr, ptr %3, align 8 %23 = getelementptr inbounds i32, ptr %22, i64 1 %24 = load i32, ptr %23, align 4 %25 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0 %26 = load i32, ptr %4, align 4 %27 = call i32 @write(i32 noundef %24, ptr noundef %25, i32 noundef %26) store i32 %27, ptr %5, align 4 %28 = load i32, ptr %5, align 4 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %28) ret void } declare i32 @InitStr(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @close(i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmps9907gf3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"PipeWrite Error : len is too long \0A\00", align 1 @.str.1 = private unnamed_addr constant [46 x i8] c"Write Process : Wanna input %d characters \0A\00", align 1 @.str.2 = private unnamed_addr constant [44 x i8] c"Write Process : Wrote in %d characters ...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @PipeWrite(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [100 x i8], align 16 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %7, 100 br i1 %8, label %9, label %12 9: ; preds = %2 %10 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0 %11 = call i32 @InitStr(ptr noundef %10, i32 noundef 70) br label %15 12: ; preds = %2 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str) %14 = call i32 @exit(i32 noundef 1) #3 unreachable 15: ; preds = %9 %16 = load i32, ptr %4, align 4 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %16) %18 = load ptr, ptr %3, align 8 %19 = getelementptr inbounds i32, ptr %18, i64 0 %20 = load i32, ptr %19, align 4 %21 = call i32 @close(i32 noundef %20) %22 = load ptr, ptr %3, align 8 %23 = getelementptr inbounds i32, ptr %22, i64 1 %24 = load i32, ptr %23, align 4 %25 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0 %26 = load i32, ptr %4, align 4 %27 = call i32 @write(i32 noundef %24, ptr noundef %25, i32 noundef %26) store i32 %27, ptr %5, align 4 %28 = load i32, ptr %5, align 4 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %28) ret void } declare i32 @InitStr(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @close(i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpehxk30_d.c' source_filename = "/tmp/tmpehxk30_d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @determ_add_float(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = call i32 @_mm_load_ss(ptr noundef %3) %7 = call i32 @_mm_load_ss(ptr noundef %4) %8 = call i32 @_mm_add_ss(i32 noundef %6, i32 noundef %7) %9 = call i32 @_mm_store_ss(ptr noundef %5, i32 noundef %8) %10 = load i32, ptr %5, align 4 ret i32 %10 } declare i32 @_mm_store_ss(ptr noundef, i32 noundef) #1 declare i32 @_mm_add_ss(i32 noundef, i32 noundef) #1 declare i32 @_mm_load_ss(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpehxk30_d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @determ_add_float(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = call i32 @_mm_load_ss(ptr noundef %3) %7 = call i32 @_mm_load_ss(ptr noundef %4) %8 = call i32 @_mm_add_ss(i32 noundef %6, i32 noundef %7) %9 = call i32 @_mm_store_ss(ptr noundef %5, i32 noundef %8) %10 = load i32, ptr %5, align 4 ret i32 %10 } declare i32 @_mm_store_ss(ptr noundef, i32 noundef) #1 declare i32 @_mm_add_ss(i32 noundef, i32 noundef) #1 declare i32 @_mm_load_ss(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdul5k2xq.c' source_filename = "/tmp/tmpdul5k2xq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @aligned_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/tmpdul5k2xq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @aligned_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/tmp2zeygx6y.c' source_filename = "/tmp/tmp2zeygx6y.c" target datalayout = "e-m:e-p270: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/tmp2zeygx6y.c" target datalayout = "e-m:e-p270: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/tmpf8tqb083.c' source_filename = "/tmp/tmpf8tqb083.c" target datalayout = "e-m:e-p270: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/tmpf8tqb083.c" target datalayout = "e-m:e-p270: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/tmpuq8kfh39.c' source_filename = "/tmp/tmpuq8kfh39.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @F_SETFD = dso_local global i32 0, align 4 @FD_CLOEXEC = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @safe_system(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 3, ptr %3, align 4 br label %4 4: ; preds = %12, %1 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 256 br i1 %6, label %7, label %15 7: ; preds = %4 %8 = load i32, ptr %3, align 4 %9 = load i32, ptr @F_SETFD, align 4 %10 = load i32, ptr @FD_CLOEXEC, align 4 %11 = call i32 @fcntl(i32 noundef %8, i32 noundef %9, i32 noundef %10) br label %12 12: ; preds = %7 %13 = load i32, ptr %3, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %3, align 4 br label %4, !llvm.loop !6 15: ; preds = %4 %16 = load ptr, ptr %2, align 8 %17 = call i32 @system(ptr noundef %16) ret i32 %17 } declare i32 @fcntl(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @system(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuq8kfh39.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @F_SETFD = dso_local global i32 0, align 4 @FD_CLOEXEC = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @safe_system(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 3, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp slt i32 %4, 256 br i1 %5, label %.lr.ph, label %16 .lr.ph: ; preds = %1 br label %6 6: ; preds = %.lr.ph, %11 %7 = load i32, ptr %3, align 4 %8 = load i32, ptr @F_SETFD, align 4 %9 = load i32, ptr @FD_CLOEXEC, align 4 %10 = call i32 @fcntl(i32 noundef %7, i32 noundef %8, i32 noundef %9) br label %11 11: ; preds = %6 %12 = load i32, ptr %3, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %3, align 4 %14 = load i32, ptr %3, align 4 %15 = icmp slt i32 %14, 256 br i1 %15, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %11 br label %16 16: ; preds = %._crit_edge, %1 %17 = load ptr, ptr %2, align 8 %18 = call i32 @system(ptr noundef %17) ret i32 %18 } declare i32 @fcntl(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @system(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpvyp91pue.c' source_filename = "/tmp/tmpvyp91pue.c" target datalayout = "e-m:e-p270: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/tmpvyp91pue.c" target datalayout = "e-m:e-p270: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/tmpg72l24gh.c' source_filename = "/tmp/tmpg72l24gh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @do_next_op(i8 noundef signext %0, double noundef %1, ptr noundef %2) #0 { %4 = alloca i8, align 1 %5 = alloca double, align 8 %6 = alloca ptr, align 8 store i8 %0, ptr %4, align 1 store double %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load i8, ptr %4, align 1 %8 = sext i8 %7 to i32 switch i32 %8, label %39 [ i32 43, label %9 i32 45, label %14 i32 42, label %19 i32 94, label %24 i32 47, label %30 ] 9: ; preds = %3 %10 = load double, ptr %5, align 8 %11 = load ptr, ptr %6, align 8 %12 = load double, ptr %11, align 8 %13 = fadd double %12, %10 store double %13, ptr %11, align 8 br label %39 14: ; preds = %3 %15 = load double, ptr %5, align 8 %16 = load ptr, ptr %6, align 8 %17 = load double, ptr %16, align 8 %18 = fsub double %17, %15 store double %18, ptr %16, align 8 br label %39 19: ; preds = %3 %20 = load double, ptr %5, align 8 %21 = load ptr, ptr %6, align 8 %22 = load double, ptr %21, align 8 %23 = fmul double %22, %20 store double %23, ptr %21, align 8 br label %39 24: ; preds = %3 %25 = load ptr, ptr %6, align 8 %26 = load double, ptr %25, align 8 %27 = load double, ptr %5, align 8 %28 = call double @pow(double noundef %26, double noundef %27) #2 %29 = load ptr, ptr %6, align 8 store double %28, ptr %29, align 8 br label %39 30: ; preds = %3 %31 = load double, ptr %5, align 8 %32 = fcmp une double %31, 0.000000e+00 br i1 %32, label %33, label %38 33: ; preds = %30 %34 = load double, ptr %5, align 8 %35 = load ptr, ptr %6, align 8 %36 = load double, ptr %35, align 8 %37 = fdiv double %36, %34 store double %37, ptr %35, align 8 br label %38 38: ; preds = %33, %30 br label %39 39: ; preds = %3, %38, %24, %19, %14, %9 ret void } ; Function Attrs: nounwind declare double @pow(double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpg72l24gh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @do_next_op(i8 noundef signext %0, double noundef %1, ptr noundef %2) #0 { %4 = alloca i8, align 1 %5 = alloca double, align 8 %6 = alloca ptr, align 8 store i8 %0, ptr %4, align 1 store double %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load i8, ptr %4, align 1 %8 = sext i8 %7 to i32 switch i32 %8, label %39 [ i32 43, label %9 i32 45, label %14 i32 42, label %19 i32 94, label %24 i32 47, label %30 ] 9: ; preds = %3 %10 = load double, ptr %5, align 8 %11 = load ptr, ptr %6, align 8 %12 = load double, ptr %11, align 8 %13 = fadd double %12, %10 store double %13, ptr %11, align 8 br label %39 14: ; preds = %3 %15 = load double, ptr %5, align 8 %16 = load ptr, ptr %6, align 8 %17 = load double, ptr %16, align 8 %18 = fsub double %17, %15 store double %18, ptr %16, align 8 br label %39 19: ; preds = %3 %20 = load double, ptr %5, align 8 %21 = load ptr, ptr %6, align 8 %22 = load double, ptr %21, align 8 %23 = fmul double %22, %20 store double %23, ptr %21, align 8 br label %39 24: ; preds = %3 %25 = load ptr, ptr %6, align 8 %26 = load double, ptr %25, align 8 %27 = load double, ptr %5, align 8 %28 = call double @pow(double noundef %26, double noundef %27) #2 %29 = load ptr, ptr %6, align 8 store double %28, ptr %29, align 8 br label %39 30: ; preds = %3 %31 = load double, ptr %5, align 8 %32 = fcmp une double %31, 0.000000e+00 br i1 %32, label %33, label %38 33: ; preds = %30 %34 = load double, ptr %5, align 8 %35 = load ptr, ptr %6, align 8 %36 = load double, ptr %35, align 8 %37 = fdiv double %36, %34 store double %37, ptr %35, align 8 br label %38 38: ; preds = %33, %30 br label %39 39: ; preds = %38, %24, %19, %14, %9, %3 ret void } ; Function Attrs: nounwind declare double @pow(double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0q6t1ot4.c' source_filename = "/tmp/tmp0q6t1ot4.c" target datalayout = "e-m:e-p270: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/tmp0q6t1ot4.c" target datalayout = "e-m:e-p270: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/tmp2170bm9q.c' source_filename = "/tmp/tmp2170bm9q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %9 = load ptr, ptr %4, align 8 store ptr %9, ptr %7, align 8 %10 = load ptr, ptr %5, align 8 store ptr %10, ptr %8, align 8 br label %11 11: ; preds = %15, %3 %12 = load i64, ptr %6, align 8 %13 = add i64 %12, -1 store i64 %13, ptr %6, align 8 %14 = icmp ugt i64 %12, 0 br i1 %14, label %15, label %21 15: ; preds = %11 %16 = load ptr, ptr %8, align 8 %17 = getelementptr inbounds i8, ptr %16, i32 1 store ptr %17, ptr %8, align 8 %18 = load i8, ptr %16, align 1 %19 = load ptr, ptr %7, align 8 %20 = getelementptr inbounds i8, ptr %19, i32 1 store ptr %20, ptr %7, align 8 store i8 %18, ptr %19, align 1 br label %11, !llvm.loop !6 21: ; preds = %11 %22 = load ptr, ptr %4, align 8 ret ptr %22 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp2170bm9q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %9 = load ptr, ptr %4, align 8 store ptr %9, ptr %7, align 8 %10 = load ptr, ptr %5, align 8 store ptr %10, ptr %8, align 8 %11 = load i64, ptr %6, align 8 %12 = add i64 %11, -1 store i64 %12, ptr %6, align 8 %13 = icmp ugt i64 %11, 0 br i1 %13, label %.lr.ph, label %23 .lr.ph: ; preds = %3 br label %14 14: ; preds = %.lr.ph, %14 %15 = load ptr, ptr %8, align 8 %16 = getelementptr inbounds i8, ptr %15, i32 1 store ptr %16, ptr %8, align 8 %17 = load i8, ptr %15, align 1 %18 = load ptr, ptr %7, align 8 %19 = getelementptr inbounds i8, ptr %18, i32 1 store ptr %19, ptr %7, align 8 store i8 %17, ptr %18, align 1 %20 = load i64, ptr %6, align 8 %21 = add i64 %20, -1 store i64 %21, ptr %6, align 8 %22 = icmp ugt i64 %20, 0 br i1 %22, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %23 23: ; preds = %._crit_edge, %3 %24 = load ptr, ptr %4, align 8 ret ptr %24 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpo0lnn1u_.c' source_filename = "/tmp/tmpo0lnn1u_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ai_bestcard(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 i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca [3 x i32], align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 store i32 0, ptr %7, align 4 br label %12 12: ; preds = %20, %3 %13 = load i32, ptr %7, align 4 %14 = icmp slt i32 %13, 5 br i1 %14, label %15, label %23 15: ; preds = %12 %16 = load ptr, ptr %6, align 8 %17 = load i32, ptr %7, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i32, ptr %16, i64 %18 store i32 0, ptr %19, align 4 br label %20 20: ; preds = %15 %21 = load i32, ptr %7, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %7, align 4 br label %12, !llvm.loop !6 23: ; preds = %12 store i32 0, ptr %7, align 4 br label %24 24: ; preds = %114, %23 %25 = load ptr, ptr %4, align 8 %26 = load i32, ptr %7, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i32, ptr %25, i64 %27 %29 = load i32, ptr %28, align 4 %30 = icmp ne i32 %29, -1 br i1 %30, label %31, label %34 31: ; preds = %24 %32 = load i32, ptr %7, align 4 %33 = icmp slt i32 %32, 7 br label %34 34: ; preds = %31, %24 %35 = phi i1 [ false, %24 ], [ %33, %31 ] br i1 %35, label %36, label %117 36: ; preds = %34 %37 = getelementptr inbounds [3 x i32], ptr %11, i64 0, i64 2 store i32 0, ptr %37, align 4 %38 = getelementptr inbounds [3 x i32], ptr %11, i64 0, i64 1 store i32 0, ptr %38, align 4 %39 = getelementptr inbounds [3 x i32], ptr %11, i64 0, i64 0 store i32 0, ptr %39, align 4 %40 = call i32 (...) @data_getera() %41 = load ptr, ptr %4, align 8 %42 = load i32, ptr %7, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i32, ptr %41, i64 %43 %45 = load i32, ptr %44, align 4 %46 = load i32, ptr %5, align 4 %47 = call i32 @weight_buildcard(i32 noundef %40, i32 noundef %45, i32 noundef %46) store i32 %47, ptr %8, align 4 %48 = load i32, ptr %5, align 4 %49 = call i32 (...) @data_getera() %50 = load ptr, ptr %4, align 8 %51 = load i32, ptr %7, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i32, ptr %50, i64 %52 %54 = load i32, ptr %53, align 4 %55 = call i64 @data_hasbuiltname(i32 noundef %48, i32 noundef %49, i32 noundef %54) %56 = icmp ne i64 %55, 0 br i1 %56, label %57, label %58 57: ; preds = %36 store i32 0, ptr %8, align 4 br label %90 58: ; preds = %36 %59 = load i32, ptr %5, align 4 %60 = call i32 (...) @data_getera() %61 = load ptr, ptr %4, align 8 %62 = load i32, ptr %7, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i32, ptr %61, i64 %63 %65 = load i32, ptr %64, align 4 %66 = call i32 @data_canafford(i32 noundef %59, i32 noundef %60, i32 noundef %65) %67 = icmp ne i32 %66, 1 br i1 %67, label %68, label %89 68: ; preds = %58 %69 = load i32, ptr %5, align 4 %70 = call i32 (...) @data_getera() %71 = load ptr, ptr %4, align 8 %72 = load i32, ptr %7, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds i32, ptr %71, i64 %73 %75 = load i32, ptr %74, align 4 %76 = getelementptr inbounds [3 x i32], ptr %11, i64 0, i64 0 %77 = call i32 @ai_trade(i32 noundef %69, i32 noundef %70, i32 noundef %75, ptr noundef %76) %78 = getelementptr inbounds [3 x i32], ptr %11, i64 0, i64 2 %79 = load i32, ptr %78, align 4 %80 = icmp ne i32 %79, 0 br i1 %80, label %81, label %87 81: ; preds = %68 %82 = getelementptr inbounds [3 x i32], ptr %11, i64 0, i64 2 %83 = load i32, ptr %82, align 4 %84 = sdiv i32 %83, 3 %85 = load i32, ptr %8, align 4 %86 = sub nsw i32 %85, %84 store i32 %86, ptr %8, align 4 br label %88 87: ; preds = %68 store i32 0, ptr %8, align 4 br label %88 88: ; preds = %87, %81 br label %89 89: ; preds = %88, %58 br label %90 90: ; preds = %89, %57 %91 = load i32, ptr %8, align 4 %92 = load i32, ptr %9, align 4 %93 = icmp sgt i32 %91, %92 br i1 %93, label %94, label %113 94: ; preds = %90 %95 = load i32, ptr %8, align 4 store i32 %95, ptr %9, align 4 %96 = load ptr, ptr %4, align 8 %97 = load i32, ptr %7, align 4 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds i32, ptr %96, i64 %98 %100 = load i32, ptr %99, align 4 store i32 %100, ptr %10, align 4 %101 = getelementptr inbounds [3 x i32], ptr %11, i64 0, i64 0 %102 = load i32, ptr %101, align 4 %103 = load ptr, ptr %6, align 8 %104 = getelementptr inbounds i32, ptr %103, i64 2 store i32 %102, ptr %104, align 4 %105 = getelementptr inbounds [3 x i32], ptr %11, i64 0, i64 1 %106 = load i32, ptr %105, align 4 %107 = load ptr, ptr %6, align 8 %108 = getelementptr inbounds i32, ptr %107, i64 3 store i32 %106, ptr %108, align 4 %109 = getelementptr inbounds [3 x i32], ptr %11, i64 0, i64 2 %110 = load i32, ptr %109, align 4 %111 = load ptr, ptr %6, align 8 %112 = getelementptr inbounds i32, ptr %111, i64 4 store i32 %110, ptr %112, align 4 br label %113 113: ; preds = %94, %90 br label %114 114: ; preds = %113 %115 = load i32, ptr %7, align 4 %116 = add nsw i32 %115, 1 store i32 %116, ptr %7, align 4 br label %24, !llvm.loop !8 117: ; preds = %34 %118 = load i32, ptr %9, align 4 %119 = load ptr, ptr %6, align 8 %120 = getelementptr inbounds i32, ptr %119, i64 0 store i32 %118, ptr %120, align 4 %121 = load i32, ptr %10, align 4 %122 = load ptr, ptr %6, align 8 %123 = getelementptr inbounds i32, ptr %122, i64 1 store i32 %121, ptr %123, align 4 ret void } declare i32 @weight_buildcard(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @data_getera(...) #1 declare i64 @data_hasbuiltname(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @data_canafford(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @ai_trade(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo0lnn1u_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ai_bestcard(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 i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca [3 x i32], align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 store i32 0, ptr %7, align 4 %12 = load i32, ptr %7, align 4 %13 = icmp slt i32 %12, 5 br i1 %13, label %.lr.ph, label %24 .lr.ph: ; preds = %3 br label %14 14: ; preds = %.lr.ph, %19 %15 = load ptr, ptr %6, align 8 %16 = load i32, ptr %7, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i32, ptr %15, i64 %17 store i32 0, ptr %18, align 4 br label %19 19: ; preds = %14 %20 = load i32, ptr %7, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %7, align 4 %22 = load i32, ptr %7, align 4 %23 = icmp slt i32 %22, 5 br i1 %23, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %24 24: ; preds = %._crit_edge, %3 store i32 0, ptr %7, align 4 br label %25 25: ; preds = %115, %24 %26 = load ptr, ptr %4, align 8 %27 = load i32, ptr %7, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i32, ptr %26, i64 %28 %30 = load i32, ptr %29, align 4 %31 = icmp ne i32 %30, -1 br i1 %31, label %32, label %35 32: ; preds = %25 %33 = load i32, ptr %7, align 4 %34 = icmp slt i32 %33, 7 br label %35 35: ; preds = %32, %25 %36 = phi i1 [ false, %25 ], [ %34, %32 ] br i1 %36, label %37, label %118 37: ; preds = %35 %38 = getelementptr inbounds [3 x i32], ptr %11, i64 0, i64 2 store i32 0, ptr %38, align 4 %39 = getelementptr inbounds [3 x i32], ptr %11, i64 0, i64 1 store i32 0, ptr %39, align 4 %40 = getelementptr inbounds [3 x i32], ptr %11, i64 0, i64 0 store i32 0, ptr %40, align 4 %41 = call i32 (...) @data_getera() %42 = load ptr, ptr %4, align 8 %43 = load i32, ptr %7, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i32, ptr %42, i64 %44 %46 = load i32, ptr %45, align 4 %47 = load i32, ptr %5, align 4 %48 = call i32 @weight_buildcard(i32 noundef %41, i32 noundef %46, i32 noundef %47) store i32 %48, ptr %8, align 4 %49 = load i32, ptr %5, align 4 %50 = call i32 (...) @data_getera() %51 = load ptr, ptr %4, align 8 %52 = load i32, ptr %7, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i32, ptr %51, i64 %53 %55 = load i32, ptr %54, align 4 %56 = call i64 @data_hasbuiltname(i32 noundef %49, i32 noundef %50, i32 noundef %55) %57 = icmp ne i64 %56, 0 br i1 %57, label %58, label %59 58: ; preds = %37 store i32 0, ptr %8, align 4 br label %91 59: ; preds = %37 %60 = load i32, ptr %5, align 4 %61 = call i32 (...) @data_getera() %62 = load ptr, ptr %4, align 8 %63 = load i32, ptr %7, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds i32, ptr %62, i64 %64 %66 = load i32, ptr %65, align 4 %67 = call i32 @data_canafford(i32 noundef %60, i32 noundef %61, i32 noundef %66) %68 = icmp ne i32 %67, 1 br i1 %68, label %69, label %90 69: ; preds = %59 %70 = load i32, ptr %5, align 4 %71 = call i32 (...) @data_getera() %72 = load ptr, ptr %4, align 8 %73 = load i32, ptr %7, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds i32, ptr %72, i64 %74 %76 = load i32, ptr %75, align 4 %77 = getelementptr inbounds [3 x i32], ptr %11, i64 0, i64 0 %78 = call i32 @ai_trade(i32 noundef %70, i32 noundef %71, i32 noundef %76, ptr noundef %77) %79 = getelementptr inbounds [3 x i32], ptr %11, i64 0, i64 2 %80 = load i32, ptr %79, align 4 %81 = icmp ne i32 %80, 0 br i1 %81, label %82, label %88 82: ; preds = %69 %83 = getelementptr inbounds [3 x i32], ptr %11, i64 0, i64 2 %84 = load i32, ptr %83, align 4 %85 = sdiv i32 %84, 3 %86 = load i32, ptr %8, align 4 %87 = sub nsw i32 %86, %85 store i32 %87, ptr %8, align 4 br label %89 88: ; preds = %69 store i32 0, ptr %8, align 4 br label %89 89: ; preds = %88, %82 br label %90 90: ; preds = %89, %59 br label %91 91: ; preds = %90, %58 %92 = load i32, ptr %8, align 4 %93 = load i32, ptr %9, align 4 %94 = icmp sgt i32 %92, %93 br i1 %94, label %95, label %114 95: ; preds = %91 %96 = load i32, ptr %8, align 4 store i32 %96, ptr %9, align 4 %97 = load ptr, ptr %4, align 8 %98 = load i32, ptr %7, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds i32, ptr %97, i64 %99 %101 = load i32, ptr %100, align 4 store i32 %101, ptr %10, align 4 %102 = getelementptr inbounds [3 x i32], ptr %11, i64 0, i64 0 %103 = load i32, ptr %102, align 4 %104 = load ptr, ptr %6, align 8 %105 = getelementptr inbounds i32, ptr %104, i64 2 store i32 %103, ptr %105, align 4 %106 = getelementptr inbounds [3 x i32], ptr %11, i64 0, i64 1 %107 = load i32, ptr %106, align 4 %108 = load ptr, ptr %6, align 8 %109 = getelementptr inbounds i32, ptr %108, i64 3 store i32 %107, ptr %109, align 4 %110 = getelementptr inbounds [3 x i32], ptr %11, i64 0, i64 2 %111 = load i32, ptr %110, align 4 %112 = load ptr, ptr %6, align 8 %113 = getelementptr inbounds i32, ptr %112, i64 4 store i32 %111, ptr %113, align 4 br label %114 114: ; preds = %95, %91 br label %115 115: ; preds = %114 %116 = load i32, ptr %7, align 4 %117 = add nsw i32 %116, 1 store i32 %117, ptr %7, align 4 br label %25, !llvm.loop !8 118: ; preds = %35 %119 = load i32, ptr %9, align 4 %120 = load ptr, ptr %6, align 8 %121 = getelementptr inbounds i32, ptr %120, i64 0 store i32 %119, ptr %121, align 4 %122 = load i32, ptr %10, align 4 %123 = load ptr, ptr %6, align 8 %124 = getelementptr inbounds i32, ptr %123, i64 1 store i32 %122, ptr %124, align 4 ret void } declare i32 @weight_buildcard(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @data_getera(...) #1 declare i64 @data_hasbuiltname(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @data_canafford(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @ai_trade(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp9lub3pnl.c' source_filename = "/tmp/tmp9lub3pnl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @des_crypt.buff = internal global [14 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @des_crypt(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call ptr @des_fcrypt(ptr noundef %5, ptr noundef %6, ptr noundef @des_crypt.buff) ret ptr %7 } declare ptr @des_fcrypt(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9lub3pnl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @des_crypt.buff = internal global [14 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @des_crypt(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call ptr @des_fcrypt(ptr noundef %5, ptr noundef %6, ptr noundef @des_crypt.buff) ret ptr %7 } declare ptr @des_fcrypt(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8e_gey2e.c' source_filename = "/tmp/tmp8e_gey2e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @run_tests() #0 { %1 = call i32 (...) @tst_case1() %2 = call i32 (...) @tst_case2() %3 = call i32 (...) @tst_case3() %4 = call i32 (...) @tst_case4() %5 = call i32 (...) @tst_case5() ret void } declare i32 @tst_case1(...) #1 declare i32 @tst_case2(...) #1 declare i32 @tst_case3(...) #1 declare i32 @tst_case4(...) #1 declare i32 @tst_case5(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8e_gey2e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @run_tests() #0 { %1 = call i32 (...) @tst_case1() %2 = call i32 (...) @tst_case2() %3 = call i32 (...) @tst_case3() %4 = call i32 (...) @tst_case4() %5 = call i32 (...) @tst_case5() ret void } declare i32 @tst_case1(...) #1 declare i32 @tst_case2(...) #1 declare i32 @tst_case3(...) #1 declare i32 @tst_case4(...) #1 declare i32 @tst_case5(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmtf2tti8.c' source_filename = "/tmp/tmpmtf2tti8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @bitcount(i32 noundef 6) %3 = call i32 @printf(ptr noundef @.str, i32 noundef %2) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @bitcount(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/tmpmtf2tti8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @bitcount(i32 noundef 6) %3 = call i32 @printf(ptr noundef @.str, i32 noundef %2) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @bitcount(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/tmp314qspr1.c' source_filename = "/tmp/tmp314qspr1.c" target datalayout = "e-m:e-p270: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/tmp314qspr1.c" target datalayout = "e-m:e-p270: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/tmpeexz8okl.c' source_filename = "/tmp/tmpeexz8okl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SetLanguage(i8 noundef zeroext %0, i8 noundef zeroext %1) #0 { %3 = alloca i8, align 1 %4 = alloca i8, align 1 %5 = alloca i8, align 1 store i8 %0, ptr %3, align 1 store i8 %1, ptr %4, align 1 %6 = load i8, ptr %3, align 1 store i8 %6, ptr %5, align 1 %7 = load i8, ptr %4, align 1 %8 = icmp ne i8 %7, 0 br i1 %8, label %9, label %14 9: ; preds = %2 %10 = load i8, ptr %5, align 1 %11 = zext i8 %10 to i32 %12 = or i32 %11, 128 %13 = trunc i32 %12 to i8 store i8 %13, ptr %5, align 1 br label %14 14: ; preds = %9, %2 %15 = call i32 @SendChar(i32 noundef 238) %16 = call i32 @SendChar(i32 noundef 193) %17 = load i8, ptr %5, align 1 %18 = zext i8 %17 to i32 %19 = and i32 %18, 255 %20 = call i32 @SendChar(i32 noundef %19) %21 = load i8, ptr %5, align 1 %22 = zext i8 %21 to i32 %23 = add nsw i32 193, %22 %24 = and i32 %23, 255 %25 = call i32 @SendChar(i32 noundef %24) %26 = call i32 @SendChar(i32 noundef 255) %27 = call i32 @SendChar(i32 noundef 252) %28 = call i32 @SendChar(i32 noundef 255) %29 = call i32 @SendChar(i32 noundef 255) ret void } declare i32 @SendChar(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/tmpeexz8okl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SetLanguage(i8 noundef zeroext %0, i8 noundef zeroext %1) #0 { %3 = alloca i8, align 1 %4 = alloca i8, align 1 %5 = alloca i8, align 1 store i8 %0, ptr %3, align 1 store i8 %1, ptr %4, align 1 %6 = load i8, ptr %3, align 1 store i8 %6, ptr %5, align 1 %7 = load i8, ptr %4, align 1 %8 = icmp ne i8 %7, 0 br i1 %8, label %9, label %14 9: ; preds = %2 %10 = load i8, ptr %5, align 1 %11 = zext i8 %10 to i32 %12 = or i32 %11, 128 %13 = trunc i32 %12 to i8 store i8 %13, ptr %5, align 1 br label %14 14: ; preds = %9, %2 %15 = call i32 @SendChar(i32 noundef 238) %16 = call i32 @SendChar(i32 noundef 193) %17 = load i8, ptr %5, align 1 %18 = zext i8 %17 to i32 %19 = and i32 %18, 255 %20 = call i32 @SendChar(i32 noundef %19) %21 = load i8, ptr %5, align 1 %22 = zext i8 %21 to i32 %23 = add nsw i32 193, %22 %24 = and i32 %23, 255 %25 = call i32 @SendChar(i32 noundef %24) %26 = call i32 @SendChar(i32 noundef 255) %27 = call i32 @SendChar(i32 noundef 252) %28 = call i32 @SendChar(i32 noundef 255) %29 = call i32 @SendChar(i32 noundef 255) ret void } declare i32 @SendChar(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/tmpaxtf8jxv.c' source_filename = "/tmp/tmpaxtf8jxv.c" target datalayout = "e-m:e-p270: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/tmpaxtf8jxv.c" target datalayout = "e-m:e-p270: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/tmp2nz9xf55.c' source_filename = "/tmp/tmp2nz9xf55.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.1 = private unnamed_addr constant [34 x i8] c"Enter a number between 0 and 28: \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [31 x i8] c"\0A%d found in array element %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"\0A%d not found\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fig06_19() #0 { %1 = alloca [15 x i32], align 16 %2 = alloca i64, align 8 %3 = alloca i32, align 4 %4 = alloca i64, align 8 store i64 0, ptr %2, align 8 br label %5 5: ; preds = %14, %0 %6 = load i64, ptr %2, align 8 %7 = icmp ult i64 %6, 15 br i1 %7, label %8, label %17 8: ; preds = %5 %9 = load i64, ptr %2, align 8 %10 = mul i64 2, %9 %11 = trunc i64 %10 to i32 %12 = load i64, ptr %2, align 8 %13 = getelementptr inbounds [15 x i32], ptr %1, i64 0, i64 %12 store i32 %11, ptr %13, align 4 br label %14 14: ; preds = %8 %15 = load i64, ptr %2, align 8 %16 = add i64 %15, 1 store i64 %16, ptr %2, align 8 br label %5, !llvm.loop !6 17: ; preds = %5 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1) %19 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %3) %20 = call i32 (...) @printHeader() %21 = getelementptr inbounds [15 x i32], ptr %1, i64 0, i64 0 %22 = load i32, ptr %3, align 4 %23 = call i64 @binarySearch(ptr noundef %21, i32 noundef %22, i32 noundef 0, i32 noundef 14) store i64 %23, ptr %4, align 8 %24 = load i64, ptr %4, align 8 %25 = icmp ne i64 %24, -1 br i1 %25, label %26, label %30 26: ; preds = %17 %27 = load i32, ptr %3, align 4 %28 = load i64, ptr %4, align 8 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %27, i64 noundef %28) br label %33 30: ; preds = %17 %31 = load i32, ptr %3, align 4 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %31) br label %33 33: ; preds = %30, %26 ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printHeader(...) #1 declare i64 @binarySearch(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2nz9xf55.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.1 = private unnamed_addr constant [34 x i8] c"Enter a number between 0 and 28: \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [31 x i8] c"\0A%d found in array element %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"\0A%d not found\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fig06_19() #0 { %1 = alloca [15 x i32], align 16 %2 = alloca i64, align 8 %3 = alloca i32, align 4 %4 = alloca i64, align 8 store i64 0, ptr %2, align 8 %5 = load i64, ptr %2, align 8 %6 = icmp ult i64 %5, 15 br i1 %6, label %.lr.ph, label %18 .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %13 %8 = load i64, ptr %2, align 8 %9 = mul i64 2, %8 %10 = trunc i64 %9 to i32 %11 = load i64, ptr %2, align 8 %12 = getelementptr inbounds [15 x i32], ptr %1, i64 0, i64 %11 store i32 %10, ptr %12, align 4 br label %13 13: ; preds = %7 %14 = load i64, ptr %2, align 8 %15 = add i64 %14, 1 store i64 %15, ptr %2, align 8 %16 = load i64, ptr %2, align 8 %17 = icmp ult i64 %16, 15 br i1 %17, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %18 18: ; preds = %._crit_edge, %0 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1) %20 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %3) %21 = call i32 (...) @printHeader() %22 = getelementptr inbounds [15 x i32], ptr %1, i64 0, i64 0 %23 = load i32, ptr %3, align 4 %24 = call i64 @binarySearch(ptr noundef %22, i32 noundef %23, i32 noundef 0, i32 noundef 14) store i64 %24, ptr %4, align 8 %25 = load i64, ptr %4, align 8 %26 = icmp ne i64 %25, -1 br i1 %26, label %27, label %31 27: ; preds = %18 %28 = load i32, ptr %3, align 4 %29 = load i64, ptr %4, align 8 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %28, i64 noundef %29) br label %34 31: ; preds = %18 %32 = load i32, ptr %3, align 4 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %32) br label %34 34: ; preds = %31, %27 ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printHeader(...) #1 declare i64 @binarySearch(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpqub5wiyt.c' source_filename = "/tmp/tmpqub5wiyt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s%17s\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"Face\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"Frequency\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"%4d%17d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fig06_09() #0 { %1 = alloca i64, align 8 %2 = alloca i32, align 4 %3 = alloca [7 x i32], align 16 call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 28, i1 false) %4 = call i32 @time(ptr noundef null) %5 = call i32 @srand(i32 noundef %4) store i32 1, ptr %2, align 4 br label %6 6: ; preds = %18, %0 %7 = load i32, ptr %2, align 4 %8 = icmp ule i32 %7, 6000000 br i1 %8, label %9, label %21 9: ; preds = %6 %10 = call i32 (...) @rand() %11 = srem i32 %10, 6 %12 = add nsw i32 1, %11 %13 = sext i32 %12 to i64 store i64 %13, ptr %1, align 8 %14 = load i64, ptr %1, align 8 %15 = getelementptr inbounds [7 x i32], ptr %3, i64 0, i64 %14 %16 = load i32, ptr %15, align 4 %17 = add i32 %16, 1 store i32 %17, ptr %15, align 4 br label %18 18: ; preds = %9 %19 = load i32, ptr %2, align 4 %20 = add i32 %19, 1 store i32 %20, ptr %2, align 4 br label %6, !llvm.loop !6 21: ; preds = %6 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2) store i64 1, ptr %1, align 8 br label %23 23: ; preds = %32, %21 %24 = load i64, ptr %1, align 8 %25 = icmp ult i64 %24, 7 br i1 %25, label %26, label %35 26: ; preds = %23 %27 = load i64, ptr %1, align 8 %28 = load i64, ptr %1, align 8 %29 = getelementptr inbounds [7 x i32], ptr %3, i64 0, i64 %28 %30 = load i32, ptr %29, align 4 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %27, i32 noundef %30) br label %32 32: ; preds = %26 %33 = load i64, ptr %1, align 8 %34 = add i64 %33, 1 store i64 %34, ptr %1, align 8 br label %23, !llvm.loop !8 35: ; preds = %23 ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @srand(i32 noundef) #2 declare i32 @time(ptr noundef) #2 declare i32 @rand(...) #2 declare i32 @printf(ptr noundef, ...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqub5wiyt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s%17s\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"Face\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"Frequency\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"%4d%17d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fig06_09() #0 { %1 = alloca i64, align 8 %2 = alloca i32, align 4 %3 = alloca [7 x i32], align 16 call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 28, i1 false) %4 = call i32 @time(ptr noundef null) %5 = call i32 @srand(i32 noundef %4) store i32 1, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp ule i32 %6, 6000000 br i1 %7, label %.lr.ph, label %22 .lr.ph: ; preds = %0 br label %8 8: ; preds = %.lr.ph, %17 %9 = call i32 (...) @rand() %10 = srem i32 %9, 6 %11 = add nsw i32 1, %10 %12 = sext i32 %11 to i64 store i64 %12, ptr %1, align 8 %13 = load i64, ptr %1, align 8 %14 = getelementptr inbounds [7 x i32], ptr %3, i64 0, i64 %13 %15 = load i32, ptr %14, align 4 %16 = add i32 %15, 1 store i32 %16, ptr %14, align 4 br label %17 17: ; preds = %8 %18 = load i32, ptr %2, align 4 %19 = add i32 %18, 1 store i32 %19, ptr %2, align 4 %20 = load i32, ptr %2, align 4 %21 = icmp ule i32 %20, 6000000 br i1 %21, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %22 22: ; preds = %._crit_edge, %0 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2) store i64 1, ptr %1, align 8 %24 = load i64, ptr %1, align 8 %25 = icmp ult i64 %24, 7 br i1 %25, label %.lr.ph2, label %37 .lr.ph2: ; preds = %22 br label %26 26: ; preds = %.lr.ph2, %32 %27 = load i64, ptr %1, align 8 %28 = load i64, ptr %1, align 8 %29 = getelementptr inbounds [7 x i32], ptr %3, i64 0, i64 %28 %30 = load i32, ptr %29, align 4 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %27, i32 noundef %30) br label %32 32: ; preds = %26 %33 = load i64, ptr %1, align 8 %34 = add i64 %33, 1 store i64 %34, ptr %1, align 8 %35 = load i64, ptr %1, align 8 %36 = icmp ult i64 %35, 7 br i1 %36, label %26, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %32 br label %37 37: ; preds = %._crit_edge3, %22 ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @srand(i32 noundef) #2 declare i32 @time(ptr noundef) #2 declare i32 @rand(...) #2 declare i32 @printf(ptr noundef, ...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpm6wo8pdv.c' source_filename = "/tmp/tmpm6wo8pdv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Choose(float noundef %0, float noundef %1, float noundef %2, float noundef %3, float noundef %4) #0 { %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca float, align 4 %9 = alloca float, align 4 %10 = alloca float, align 4 %11 = alloca float, align 4 %12 = alloca i32, align 4 store float %0, ptr %7, align 4 store float %1, ptr %8, align 4 store float %2, ptr %9, align 4 store float %3, ptr %10, align 4 store float %4, ptr %11, align 4 %13 = call i32 @Rand(i32 noundef 5) store i32 %13, ptr %12, align 4 %14 = load i32, ptr %12, align 4 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %18 16: ; preds = %5 %17 = load float, ptr %7, align 4 store float %17, ptr %6, align 4 br label %35 18: ; preds = %5 %19 = load i32, ptr %12, align 4 %20 = icmp eq i32 %19, 1 br i1 %20, label %21, label %23 21: ; preds = %18 %22 = load float, ptr %8, align 4 store float %22, ptr %6, align 4 br label %35 23: ; preds = %18 %24 = load i32, ptr %12, align 4 %25 = icmp eq i32 %24, 2 br i1 %25, label %26, label %28 26: ; preds = %23 %27 = load float, ptr %9, align 4 store float %27, ptr %6, align 4 br label %35 28: ; preds = %23 %29 = load i32, ptr %12, align 4 %30 = icmp eq i32 %29, 3 br i1 %30, label %31, label %33 31: ; preds = %28 %32 = load float, ptr %10, align 4 store float %32, ptr %6, align 4 br label %35 33: ; preds = %28 %34 = load float, ptr %11, align 4 store float %34, ptr %6, align 4 br label %35 35: ; preds = %33, %31, %26, %21, %16 %36 = load float, ptr %6, align 4 ret float %36 } declare i32 @Rand(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/tmpm6wo8pdv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Choose(float noundef %0, float noundef %1, float noundef %2, float noundef %3, float noundef %4) #0 { %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca float, align 4 %9 = alloca float, align 4 %10 = alloca float, align 4 %11 = alloca float, align 4 %12 = alloca i32, align 4 store float %0, ptr %7, align 4 store float %1, ptr %8, align 4 store float %2, ptr %9, align 4 store float %3, ptr %10, align 4 store float %4, ptr %11, align 4 %13 = call i32 @Rand(i32 noundef 5) store i32 %13, ptr %12, align 4 %14 = load i32, ptr %12, align 4 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %18 16: ; preds = %5 %17 = load float, ptr %7, align 4 store float %17, ptr %6, align 4 br label %35 18: ; preds = %5 %19 = load i32, ptr %12, align 4 %20 = icmp eq i32 %19, 1 br i1 %20, label %21, label %23 21: ; preds = %18 %22 = load float, ptr %8, align 4 store float %22, ptr %6, align 4 br label %35 23: ; preds = %18 %24 = load i32, ptr %12, align 4 %25 = icmp eq i32 %24, 2 br i1 %25, label %26, label %28 26: ; preds = %23 %27 = load float, ptr %9, align 4 store float %27, ptr %6, align 4 br label %35 28: ; preds = %23 %29 = load i32, ptr %12, align 4 %30 = icmp eq i32 %29, 3 br i1 %30, label %31, label %33 31: ; preds = %28 %32 = load float, ptr %10, align 4 store float %32, ptr %6, align 4 br label %35 33: ; preds = %28 %34 = load float, ptr %11, align 4 store float %34, ptr %6, align 4 br label %35 35: ; preds = %33, %31, %26, %21, %16 %36 = load float, ptr %6, align 4 ret float %36 } declare i32 @Rand(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/tmpbt71_c8l.c' source_filename = "/tmp/tmpbt71_c8l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @math__Float__pow(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 = load double, ptr %4, align 8 %9 = call double @pow(double noundef %7, double noundef %8) #2 store double %9, ptr %6, align 8 %10 = load double, ptr %6, align 8 store double %10, ptr %5, align 8 br label %11 11: ; preds = %2 %12 = load double, ptr %5, align 8 ret double %12 } ; Function Attrs: nounwind declare double @pow(double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbt71_c8l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @math__Float__pow(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 = load double, ptr %4, align 8 %9 = call double @pow(double noundef %7, double noundef %8) #2 store double %9, ptr %6, align 8 %10 = load double, ptr %6, align 8 store double %10, ptr %5, align 8 br label %11 11: ; preds = %2 %12 = load double, ptr %5, align 8 ret double %12 } ; Function Attrs: nounwind declare double @pow(double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcb2s4t3t.c' source_filename = "/tmp/tmpcb2s4t3t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ls\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"USER: %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"USER\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca ptr, align 8 store ptr @.str, ptr %1, align 8 %2 = call ptr @getenv(ptr noundef @.str.2) %3 = call i32 @printf(ptr noundef @.str.1, ptr noundef %2) ret i32 0 } declare i32 @printf(ptr noundef, ptr noundef) #1 declare ptr @getenv(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcb2s4t3t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ls\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"USER: %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"USER\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca ptr, align 8 store ptr @.str, ptr %1, align 8 %2 = call ptr @getenv(ptr noundef @.str.2) %3 = call i32 @printf(ptr noundef @.str.1, ptr noundef %2) ret i32 0 } declare i32 @printf(ptr noundef, ptr noundef) #1 declare ptr @getenv(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9nujst70.c' source_filename = "/tmp/tmp9nujst70.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 @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/tmp9nujst70.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 @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/tmpm52nkboc.c' source_filename = "/tmp/tmpm52nkboc.c" target datalayout = "e-m:e-p270: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/tmpm52nkboc.c" target datalayout = "e-m:e-p270: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/tmp8982849t.c' source_filename = "/tmp/tmp8982849t.c" target datalayout = "e-m:e-p270: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/tmp8982849t.c" target datalayout = "e-m:e-p270: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/tmpgno9v90c.c' source_filename = "/tmp/tmpgno9v90c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local x86_fp80 @test8l(x86_fp80 noundef %0, i64 noundef %1) #0 { %3 = alloca x86_fp80, align 16 %4 = alloca i64, align 8 store x86_fp80 %0, ptr %3, align 16 store i64 %1, ptr %4, align 8 %5 = load x86_fp80, ptr %3, align 16 %6 = load i64, ptr %4, align 8 %7 = call x86_fp80 @scalblnl(x86_fp80 noundef %5, i64 noundef %6) #2 ret x86_fp80 %7 } ; Function Attrs: nounwind declare x86_fp80 @scalblnl(x86_fp80 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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgno9v90c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local x86_fp80 @test8l(x86_fp80 noundef %0, i64 noundef %1) #0 { %3 = alloca x86_fp80, align 16 %4 = alloca i64, align 8 store x86_fp80 %0, ptr %3, align 16 store i64 %1, ptr %4, align 8 %5 = load x86_fp80, ptr %3, align 16 %6 = load i64, ptr %4, align 8 %7 = call x86_fp80 @scalblnl(x86_fp80 noundef %5, i64 noundef %6) #2 ret x86_fp80 %7 } ; Function Attrs: nounwind declare x86_fp80 @scalblnl(x86_fp80 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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpv2f7okg4.c' source_filename = "/tmp/tmpv2f7okg4.c" target datalayout = "e-m:e-p270: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/tmpv2f7okg4.c" target datalayout = "e-m:e-p270: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/tmp41nqr_p3.c' source_filename = "/tmp/tmp41nqr_p3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\07Enter your desired monthly salary:\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c" $______\08\08\08\08\08\08\08\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.3 = private unnamed_addr constant [33 x i8] c"\0A\09$%.2f a month is $%.2f a year.\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"\0DGee!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 store i32 0, ptr %1, align 4 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) %4 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %5 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2) %6 = load float, ptr %2, align 4 %7 = fpext float %6 to double %8 = load float, ptr %2, align 4 %9 = fpext float %8 to double %10 = fmul double %9, 1.200000e+01 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %7, double noundef %10) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp41nqr_p3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\07Enter your desired monthly salary:\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c" $______\08\08\08\08\08\08\08\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.3 = private unnamed_addr constant [33 x i8] c"\0A\09$%.2f a month is $%.2f a year.\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"\0DGee!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 store i32 0, ptr %1, align 4 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) %4 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %5 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2) %6 = load float, ptr %2, align 4 %7 = fpext float %6 to double %8 = load float, ptr %2, align 4 %9 = fpext float %8 to double %10 = fmul double %9, 1.200000e+01 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %7, double noundef %10) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprg6ge412.c' source_filename = "/tmp/tmprg6ge412.c" target datalayout = "e-m:e-p270: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 { %struct.TYPE_6__, %struct.TYPE_5__, %struct.TYPE_4__, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 } %struct.TYPE_6__ = type { i32, i32 } %struct.TYPE_5__ = type { i32, i32 } %struct.TYPE_4__ = type { i32, i32 } @.str = private unnamed_addr constant [5 x i8] c"%s:\0A\00", align 1 @.str.1 = private unnamed_addr constant [59 x i8] c" st_dev = %-*lu // ID of device containing file\0A\00", align 1 @.str.2 = private unnamed_addr constant [43 x i8] c" st_ino = %-*lu // inode number\0A\00", align 1 @.str.3 = private unnamed_addr constant [50 x i8] c" st_mode = %-*d \08// file type and mode\0A\00", align 1 @.str.4 = private unnamed_addr constant [51 x i8] c" st_nlink = %-*lu // number of hard links\0A\00", align 1 @.str.5 = private unnamed_addr constant [48 x i8] c" st_uid = %-*d \08// user ID of owner\0A\00", align 1 @.str.6 = private unnamed_addr constant [49 x i8] c" st_gid = %-*d \08// group ID of owner\0A\00", align 1 @.str.7 = private unnamed_addr constant [58 x i8] c" st_rdev = %-*lu // device ID (if special file)\0A\00", align 1 @.str.8 = private unnamed_addr constant [51 x i8] c" st_size = %-*lu // total size, in bytes\0A\00", align 1 @.str.9 = private unnamed_addr constant [59 x i8] c" st_blksize = %-*lu // blocksize for filesystem I/O\0A\00", align 1 @.str.10 = private unnamed_addr constant [62 x i8] c" st_blocks = %-*lu // number of 512B blocks allocated\0A\00", align 1 @.str.11 = private unnamed_addr constant [62 x i8] c" st_atim = %s = (%lus + %ldns) // time of last access\0A\00", align 1 @.str.12 = private unnamed_addr constant [68 x i8] c" st_mtim = %s = (%lus + %ldns) // time of last modification\0A\00", align 1 @.str.13 = private unnamed_addr constant [69 x i8] c" st_ctim = %s = (%lus + %ldns) // time of last status change\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @dump_stat(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca %struct.stat, align 8 %5 = alloca i32, align 4 %6 = alloca [80 x i8], align 16 store ptr %0, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i64 @lstat(ptr noundef %7, ptr noundef %4) %9 = icmp ne i64 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %1 %11 = load ptr, ptr %3, align 8 %12 = call i32 @perror(ptr noundef %11) store i32 1, ptr %2, align 4 br label %114 13: ; preds = %1 %14 = call i64 @longest_len(ptr noundef byval(%struct.stat) align 8 %4, ptr noundef %5) %15 = icmp ne i64 %14, 0 br i1 %15, label %16, label %17 16: ; preds = %13 store i32 1, ptr %2, align 4 br label %114 17: ; preds = %13 %18 = load ptr, ptr %3, align 8 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %18) %20 = load i32, ptr %5, align 4 %21 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 12 %22 = load i32, ptr %21, align 4 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %20, i32 noundef %22) %24 = load i32, ptr %5, align 4 %25 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 11 %26 = load i32, ptr %25, align 4 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %24, i32 noundef %26) %28 = load i32, ptr %5, align 4 %29 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 10 %30 = load i32, ptr %29, align 4 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %28, i32 noundef %30) %32 = load i32, ptr %5, align 4 %33 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 9 %34 = load i32, ptr %33, align 4 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %32, i32 noundef %34) %36 = load i32, ptr %5, align 4 %37 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 8 %38 = load i32, ptr %37, align 4 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %36, i32 noundef %38) %40 = load i32, ptr %5, align 4 %41 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 7 %42 = load i32, ptr %41, align 4 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %40, i32 noundef %42) %44 = load i32, ptr %5, align 4 %45 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 6 %46 = load i32, ptr %45, align 4 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %44, i32 noundef %46) %48 = load i32, ptr %5, align 4 %49 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 5 %50 = load i32, ptr %49, align 4 %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %48, i32 noundef %50) %52 = load i32, ptr %5, align 4 %53 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 4 %54 = load i32, ptr %53, align 4 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %52, i32 noundef %54) %56 = load i32, ptr %5, align 4 %57 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 3 %58 = load i32, ptr %57, align 4 %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %56, i32 noundef %58) %60 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 2 %61 = getelementptr inbounds %struct.TYPE_4__, ptr %60, i32 0, i32 1 %62 = call i32 @gmtime(ptr noundef %61) %63 = getelementptr inbounds [80 x i8], ptr %6, i64 0, i64 0 %64 = call i32 @asctime_r(i32 noundef %62, ptr noundef %63) %65 = getelementptr inbounds [80 x i8], ptr %6, i64 0, i64 0 %66 = call i32 @strlen(ptr noundef %65) %67 = sub nsw i32 %66, 1 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds [80 x i8], ptr %6, i64 0, i64 %68 store i8 0, ptr %69, align 1 %70 = getelementptr inbounds [80 x i8], ptr %6, i64 0, i64 0 %71 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 2 %72 = getelementptr inbounds %struct.TYPE_4__, ptr %71, i32 0, i32 1 %73 = load i32, ptr %72, align 4 %74 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 2 %75 = getelementptr inbounds %struct.TYPE_4__, ptr %74, i32 0, i32 0 %76 = load i32, ptr %75, align 4 %77 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, ptr noundef %70, i32 noundef %73, i32 noundef %76) %78 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 1 %79 = getelementptr inbounds %struct.TYPE_5__, ptr %78, i32 0, i32 1 %80 = call i32 @gmtime(ptr noundef %79) %81 = getelementptr inbounds [80 x i8], ptr %6, i64 0, i64 0 %82 = call i32 @asctime_r(i32 noundef %80, ptr noundef %81) %83 = getelementptr inbounds [80 x i8], ptr %6, i64 0, i64 0 %84 = call i32 @strlen(ptr noundef %83) %85 = sub nsw i32 %84, 1 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds [80 x i8], ptr %6, i64 0, i64 %86 store i8 0, ptr %87, align 1 %88 = getelementptr inbounds [80 x i8], ptr %6, i64 0, i64 0 %89 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 1 %90 = getelementptr inbounds %struct.TYPE_5__, ptr %89, i32 0, i32 1 %91 = load i32, ptr %90, align 4 %92 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 1 %93 = getelementptr inbounds %struct.TYPE_5__, ptr %92, i32 0, i32 0 %94 = load i32, ptr %93, align 4 %95 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, ptr noundef %88, i32 noundef %91, i32 noundef %94) %96 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0 %97 = getelementptr inbounds %struct.TYPE_6__, ptr %96, i32 0, i32 1 %98 = call i32 @gmtime(ptr noundef %97) %99 = getelementptr inbounds [80 x i8], ptr %6, i64 0, i64 0 %100 = call i32 @asctime_r(i32 noundef %98, ptr noundef %99) %101 = getelementptr inbounds [80 x i8], ptr %6, i64 0, i64 0 %102 = call i32 @strlen(ptr noundef %101) %103 = sub nsw i32 %102, 1 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds [80 x i8], ptr %6, i64 0, i64 %104 store i8 0, ptr %105, align 1 %106 = getelementptr inbounds [80 x i8], ptr %6, i64 0, i64 0 %107 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0 %108 = getelementptr inbounds %struct.TYPE_6__, ptr %107, i32 0, i32 1 %109 = load i32, ptr %108, align 4 %110 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0 %111 = getelementptr inbounds %struct.TYPE_6__, ptr %110, i32 0, i32 0 %112 = load i32, ptr %111, align 4 %113 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, ptr noundef %106, i32 noundef %109, i32 noundef %112) store i32 0, ptr %2, align 4 br label %114 114: ; preds = %17, %16, %10 %115 = load i32, ptr %2, align 4 ret i32 %115 } declare i64 @lstat(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i64 @longest_len(ptr noundef byval(%struct.stat) align 8, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @asctime_r(i32 noundef, ptr noundef) #1 declare i32 @gmtime(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/tmprg6ge412.c" target datalayout = "e-m:e-p270: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 { %struct.TYPE_6__, %struct.TYPE_5__, %struct.TYPE_4__, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 } %struct.TYPE_6__ = type { i32, i32 } %struct.TYPE_5__ = type { i32, i32 } %struct.TYPE_4__ = type { i32, i32 } @.str = private unnamed_addr constant [5 x i8] c"%s:\0A\00", align 1 @.str.1 = private unnamed_addr constant [59 x i8] c" st_dev = %-*lu // ID of device containing file\0A\00", align 1 @.str.2 = private unnamed_addr constant [43 x i8] c" st_ino = %-*lu // inode number\0A\00", align 1 @.str.3 = private unnamed_addr constant [50 x i8] c" st_mode = %-*d \08// file type and mode\0A\00", align 1 @.str.4 = private unnamed_addr constant [51 x i8] c" st_nlink = %-*lu // number of hard links\0A\00", align 1 @.str.5 = private unnamed_addr constant [48 x i8] c" st_uid = %-*d \08// user ID of owner\0A\00", align 1 @.str.6 = private unnamed_addr constant [49 x i8] c" st_gid = %-*d \08// group ID of owner\0A\00", align 1 @.str.7 = private unnamed_addr constant [58 x i8] c" st_rdev = %-*lu // device ID (if special file)\0A\00", align 1 @.str.8 = private unnamed_addr constant [51 x i8] c" st_size = %-*lu // total size, in bytes\0A\00", align 1 @.str.9 = private unnamed_addr constant [59 x i8] c" st_blksize = %-*lu // blocksize for filesystem I/O\0A\00", align 1 @.str.10 = private unnamed_addr constant [62 x i8] c" st_blocks = %-*lu // number of 512B blocks allocated\0A\00", align 1 @.str.11 = private unnamed_addr constant [62 x i8] c" st_atim = %s = (%lus + %ldns) // time of last access\0A\00", align 1 @.str.12 = private unnamed_addr constant [68 x i8] c" st_mtim = %s = (%lus + %ldns) // time of last modification\0A\00", align 1 @.str.13 = private unnamed_addr constant [69 x i8] c" st_ctim = %s = (%lus + %ldns) // time of last status change\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @dump_stat(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca %struct.stat, align 8 %5 = alloca i32, align 4 %6 = alloca [80 x i8], align 16 store ptr %0, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i64 @lstat(ptr noundef %7, ptr noundef %4) %9 = icmp ne i64 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %1 %11 = load ptr, ptr %3, align 8 %12 = call i32 @perror(ptr noundef %11) store i32 1, ptr %2, align 4 br label %114 13: ; preds = %1 %14 = call i64 @longest_len(ptr noundef byval(%struct.stat) align 8 %4, ptr noundef %5) %15 = icmp ne i64 %14, 0 br i1 %15, label %16, label %17 16: ; preds = %13 store i32 1, ptr %2, align 4 br label %114 17: ; preds = %13 %18 = load ptr, ptr %3, align 8 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %18) %20 = load i32, ptr %5, align 4 %21 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 12 %22 = load i32, ptr %21, align 4 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %20, i32 noundef %22) %24 = load i32, ptr %5, align 4 %25 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 11 %26 = load i32, ptr %25, align 4 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %24, i32 noundef %26) %28 = load i32, ptr %5, align 4 %29 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 10 %30 = load i32, ptr %29, align 4 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %28, i32 noundef %30) %32 = load i32, ptr %5, align 4 %33 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 9 %34 = load i32, ptr %33, align 4 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %32, i32 noundef %34) %36 = load i32, ptr %5, align 4 %37 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 8 %38 = load i32, ptr %37, align 4 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %36, i32 noundef %38) %40 = load i32, ptr %5, align 4 %41 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 7 %42 = load i32, ptr %41, align 4 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %40, i32 noundef %42) %44 = load i32, ptr %5, align 4 %45 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 6 %46 = load i32, ptr %45, align 4 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %44, i32 noundef %46) %48 = load i32, ptr %5, align 4 %49 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 5 %50 = load i32, ptr %49, align 4 %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %48, i32 noundef %50) %52 = load i32, ptr %5, align 4 %53 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 4 %54 = load i32, ptr %53, align 4 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %52, i32 noundef %54) %56 = load i32, ptr %5, align 4 %57 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 3 %58 = load i32, ptr %57, align 4 %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %56, i32 noundef %58) %60 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 2 %61 = getelementptr inbounds %struct.TYPE_4__, ptr %60, i32 0, i32 1 %62 = call i32 @gmtime(ptr noundef %61) %63 = getelementptr inbounds [80 x i8], ptr %6, i64 0, i64 0 %64 = call i32 @asctime_r(i32 noundef %62, ptr noundef %63) %65 = getelementptr inbounds [80 x i8], ptr %6, i64 0, i64 0 %66 = call i32 @strlen(ptr noundef %65) %67 = sub nsw i32 %66, 1 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds [80 x i8], ptr %6, i64 0, i64 %68 store i8 0, ptr %69, align 1 %70 = getelementptr inbounds [80 x i8], ptr %6, i64 0, i64 0 %71 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 2 %72 = getelementptr inbounds %struct.TYPE_4__, ptr %71, i32 0, i32 1 %73 = load i32, ptr %72, align 4 %74 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 2 %75 = getelementptr inbounds %struct.TYPE_4__, ptr %74, i32 0, i32 0 %76 = load i32, ptr %75, align 4 %77 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, ptr noundef %70, i32 noundef %73, i32 noundef %76) %78 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 1 %79 = getelementptr inbounds %struct.TYPE_5__, ptr %78, i32 0, i32 1 %80 = call i32 @gmtime(ptr noundef %79) %81 = getelementptr inbounds [80 x i8], ptr %6, i64 0, i64 0 %82 = call i32 @asctime_r(i32 noundef %80, ptr noundef %81) %83 = getelementptr inbounds [80 x i8], ptr %6, i64 0, i64 0 %84 = call i32 @strlen(ptr noundef %83) %85 = sub nsw i32 %84, 1 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds [80 x i8], ptr %6, i64 0, i64 %86 store i8 0, ptr %87, align 1 %88 = getelementptr inbounds [80 x i8], ptr %6, i64 0, i64 0 %89 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 1 %90 = getelementptr inbounds %struct.TYPE_5__, ptr %89, i32 0, i32 1 %91 = load i32, ptr %90, align 4 %92 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 1 %93 = getelementptr inbounds %struct.TYPE_5__, ptr %92, i32 0, i32 0 %94 = load i32, ptr %93, align 4 %95 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, ptr noundef %88, i32 noundef %91, i32 noundef %94) %96 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0 %97 = getelementptr inbounds %struct.TYPE_6__, ptr %96, i32 0, i32 1 %98 = call i32 @gmtime(ptr noundef %97) %99 = getelementptr inbounds [80 x i8], ptr %6, i64 0, i64 0 %100 = call i32 @asctime_r(i32 noundef %98, ptr noundef %99) %101 = getelementptr inbounds [80 x i8], ptr %6, i64 0, i64 0 %102 = call i32 @strlen(ptr noundef %101) %103 = sub nsw i32 %102, 1 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds [80 x i8], ptr %6, i64 0, i64 %104 store i8 0, ptr %105, align 1 %106 = getelementptr inbounds [80 x i8], ptr %6, i64 0, i64 0 %107 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0 %108 = getelementptr inbounds %struct.TYPE_6__, ptr %107, i32 0, i32 1 %109 = load i32, ptr %108, align 4 %110 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0 %111 = getelementptr inbounds %struct.TYPE_6__, ptr %110, i32 0, i32 0 %112 = load i32, ptr %111, align 4 %113 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, ptr noundef %106, i32 noundef %109, i32 noundef %112) store i32 0, ptr %2, align 4 br label %114 114: ; preds = %17, %16, %10 %115 = load i32, ptr %2, align 4 ret i32 %115 } declare i64 @lstat(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i64 @longest_len(ptr noundef byval(%struct.stat) align 8, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @asctime_r(i32 noundef, ptr noundef) #1 declare i32 @gmtime(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/tmpw05f1a4a.c' source_filename = "/tmp/tmpw05f1a4a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Init_RubyCrypto() #0 { %1 = call i32 (...) @Init_Crypto() ret void } declare i32 @Init_Crypto(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw05f1a4a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Init_RubyCrypto() #0 { %1 = call i32 (...) @Init_Crypto() ret void } declare i32 @Init_Crypto(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplawphtwy.c' source_filename = "/tmp/tmplawphtwy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Bitte Welt, %n\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @foo(i32 noundef 2) store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @printf(ptr noundef @.str, i32 noundef %4) ret i32 0 } declare i32 @foo(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplawphtwy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Bitte Welt, %n\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @foo(i32 noundef 2) store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @printf(ptr noundef @.str, i32 noundef %4) ret i32 0 } declare i32 @foo(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxbf_vjne.c' source_filename = "/tmp/tmpxbf_vjne.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @e_ora_abs() #0 { %1 = call i32 (...) @e_abs() %2 = call i32 (...) @e_ora() ret void } declare i32 @e_abs(...) #1 declare i32 @e_ora(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxbf_vjne.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @e_ora_abs() #0 { %1 = call i32 (...) @e_abs() %2 = call i32 (...) @e_ora() ret void } declare i32 @e_abs(...) #1 declare i32 @e_ora(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpk_4iqut6.c' source_filename = "/tmp/tmpk_4iqut6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @init_colortab(ptr noundef %0) #0 { %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 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 br label %7 7: ; preds = %66, %1 %8 = load i32, ptr %3, align 4 %9 = icmp slt i32 %8, 2048 br i1 %9, label %10, label %69 10: ; preds = %7 %11 = load i32, ptr %3, align 4 %12 = icmp slt i32 %11, 256 br i1 %12, label %13, label %41 13: ; preds = %10 %14 = load i32, ptr %3, align 4 %15 = mul nsw i32 %14, 3 store i32 %15, ptr %4, align 4 %16 = load i32, ptr %3, align 4 %17 = sitofp i32 %16 to float %18 = fpext float %17 to double %19 = fdiv double %18, 2.560000e+02 %20 = fptrunc double %19 to float %21 = call i32 @pow(float noundef %20, double noundef 1.500000e+00) %22 = sitofp i32 %21 to double %23 = fmul double %22, 1.024000e+03 %24 = fptosi double %23 to i32 store i32 %24, ptr %5, align 4 %25 = load i32, ptr %3, align 4 %26 = load i32, ptr %3, align 4 %27 = mul nsw i32 %25, %26 %28 = sdiv i32 %27, 256 store i32 %28, ptr %6, align 4 %29 = load i32, ptr %4, align 4 %30 = icmp sgt i32 %29, 255 br i1 %30, label %31, label %32 31: ; preds = %13 store i32 255, ptr %4, align 4 br label %32 32: ; preds = %31, %13 %33 = load i32, ptr %5, align 4 %34 = icmp sgt i32 %33, 255 br i1 %34, label %35, label %36 35: ; preds = %32 store i32 255, ptr %5, align 4 br label %36 36: ; preds = %35, %32 %37 = load i32, ptr %6, align 4 %38 = icmp sgt i32 %37, 255 br i1 %38, label %39, label %40 39: ; preds = %36 store i32 255, ptr %6, align 4 br label %40 40: ; preds = %39, %36 br label %42 41: ; preds = %10 store i32 0, ptr %6, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %4, align 4 br label %42 42: ; preds = %41, %40 %43 = load i32, ptr %4, align 4 %44 = trunc i32 %43 to i8 %45 = load ptr, ptr %2, align 8 %46 = load i32, ptr %3, align 4 %47 = mul nsw i32 %46, 3 %48 = add nsw i32 %47, 1 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i8, ptr %45, i64 %49 store i8 %44, ptr %50, align 1 %51 = load i32, ptr %5, align 4 %52 = trunc i32 %51 to i8 %53 = load ptr, ptr %2, align 8 %54 = load i32, ptr %3, align 4 %55 = mul nsw i32 %54, 3 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds i8, ptr %53, i64 %56 store i8 %52, ptr %57, align 1 %58 = load i32, ptr %6, align 4 %59 = trunc i32 %58 to i8 %60 = load ptr, ptr %2, align 8 %61 = load i32, ptr %3, align 4 %62 = mul nsw i32 %61, 3 %63 = add nsw i32 %62, 2 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds i8, ptr %60, i64 %64 store i8 %59, ptr %65, align 1 br label %66 66: ; preds = %42 %67 = load i32, ptr %3, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %3, align 4 br label %7, !llvm.loop !6 69: ; preds = %7 ret void } declare i32 @pow(float noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk_4iqut6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @init_colortab(ptr noundef %0) #0 { %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 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp slt i32 %7, 2048 br i1 %8, label %.lr.ph, label %70 .lr.ph: ; preds = %1 br label %9 9: ; preds = %.lr.ph, %65 %10 = load i32, ptr %3, align 4 %11 = icmp slt i32 %10, 256 br i1 %11, label %12, label %40 12: ; preds = %9 %13 = load i32, ptr %3, align 4 %14 = mul nsw i32 %13, 3 store i32 %14, ptr %4, align 4 %15 = load i32, ptr %3, align 4 %16 = sitofp i32 %15 to float %17 = fpext float %16 to double %18 = fdiv double %17, 2.560000e+02 %19 = fptrunc double %18 to float %20 = call i32 @pow(float noundef %19, double noundef 1.500000e+00) %21 = sitofp i32 %20 to double %22 = fmul double %21, 1.024000e+03 %23 = fptosi double %22 to i32 store i32 %23, ptr %5, align 4 %24 = load i32, ptr %3, align 4 %25 = load i32, ptr %3, align 4 %26 = mul nsw i32 %24, %25 %27 = sdiv i32 %26, 256 store i32 %27, ptr %6, align 4 %28 = load i32, ptr %4, align 4 %29 = icmp sgt i32 %28, 255 br i1 %29, label %30, label %31 30: ; preds = %12 store i32 255, ptr %4, align 4 br label %31 31: ; preds = %30, %12 %32 = load i32, ptr %5, align 4 %33 = icmp sgt i32 %32, 255 br i1 %33, label %34, label %35 34: ; preds = %31 store i32 255, ptr %5, align 4 br label %35 35: ; preds = %34, %31 %36 = load i32, ptr %6, align 4 %37 = icmp sgt i32 %36, 255 br i1 %37, label %38, label %39 38: ; preds = %35 store i32 255, ptr %6, align 4 br label %39 39: ; preds = %38, %35 br label %41 40: ; preds = %9 store i32 0, ptr %6, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %4, align 4 br label %41 41: ; preds = %40, %39 %42 = load i32, ptr %4, align 4 %43 = trunc i32 %42 to i8 %44 = load ptr, ptr %2, align 8 %45 = load i32, ptr %3, align 4 %46 = mul nsw i32 %45, 3 %47 = add nsw i32 %46, 1 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i8, ptr %44, i64 %48 store i8 %43, ptr %49, align 1 %50 = load i32, ptr %5, align 4 %51 = trunc i32 %50 to i8 %52 = load ptr, ptr %2, align 8 %53 = load i32, ptr %3, align 4 %54 = mul nsw i32 %53, 3 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i8, ptr %52, i64 %55 store i8 %51, ptr %56, align 1 %57 = load i32, ptr %6, align 4 %58 = trunc i32 %57 to i8 %59 = load ptr, ptr %2, align 8 %60 = load i32, ptr %3, align 4 %61 = mul nsw i32 %60, 3 %62 = add nsw i32 %61, 2 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i8, ptr %59, i64 %63 store i8 %58, ptr %64, align 1 br label %65 65: ; preds = %41 %66 = load i32, ptr %3, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %3, align 4 %68 = load i32, ptr %3, align 4 %69 = icmp slt i32 %68, 2048 br i1 %69, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %65 br label %70 70: ; preds = %._crit_edge, %1 ret void } declare i32 @pow(float noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpo4k5dwfy.c' source_filename = "/tmp/tmpo4k5dwfy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Active Directory\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @ad_get_name() #0 { %1 = call ptr @strdup(ptr noundef @.str) ret ptr %1 } declare ptr @strdup(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo4k5dwfy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Active Directory\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @ad_get_name() #0 { %1 = call ptr @strdup(ptr noundef @.str) ret ptr %1 } declare ptr @strdup(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpk1kh2vc5.c' source_filename = "/tmp/tmpk1kh2vc5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @json_add_item_reference_to_array(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 @create_reference(ptr noundef %6) %8 = call i32 @json_add_item_to_array(ptr noundef %5, i32 noundef %7) ret void } declare i32 @json_add_item_to_array(ptr noundef, i32 noundef) #1 declare i32 @create_reference(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk1kh2vc5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @json_add_item_reference_to_array(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 @create_reference(ptr noundef %6) %8 = call i32 @json_add_item_to_array(ptr noundef %5, i32 noundef %7) ret void } declare i32 @json_add_item_to_array(ptr noundef, i32 noundef) #1 declare i32 @create_reference(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfoe_gx4d.c' source_filename = "/tmp/tmpfoe_gx4d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ENTERING: wait_for_mam\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"LEAVING: wait_for_mam\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @wait_for_mam() #0 { %1 = call i32 @sniffer_trace(ptr noundef @.str) br label %2 2: ; preds = %6, %0 %3 = call i32 (...) @get_partner_status() %4 = icmp ne i32 %3, 0 %5 = xor i1 %4, true br i1 %5, label %6, label %7 6: ; preds = %2 br label %2, !llvm.loop !6 7: ; preds = %2 %8 = call i32 @sniffer_trace(ptr noundef @.str.1) ret void } declare i32 @sniffer_trace(ptr noundef) #1 declare i32 @get_partner_status(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpfoe_gx4d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ENTERING: wait_for_mam\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"LEAVING: wait_for_mam\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @wait_for_mam() #0 { %1 = call i32 @sniffer_trace(ptr noundef @.str) br label %2 2: ; preds = %2, %0 %3 = call i32 (...) @get_partner_status() %4 = icmp ne i32 %3, 0 %5 = xor i1 %4, true br i1 %5, label %2, label %6, !llvm.loop !6 6: ; preds = %2 %7 = call i32 @sniffer_trace(ptr noundef @.str.1) ret void } declare i32 @sniffer_trace(ptr noundef) #1 declare i32 @get_partner_status(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpl3aiz27c.c' source_filename = "/tmp/tmpl3aiz27c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @strlen(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 store ptr %4, ptr %3, align 8 br label %5 5: ; preds = %11, %1 %6 = load ptr, ptr %3, 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 %10, label %14 10: ; preds = %5 br label %11 11: ; preds = %10 %12 = load ptr, ptr %3, align 8 %13 = getelementptr inbounds i8, ptr %12, i32 1 store ptr %13, ptr %3, align 8 br label %5, !llvm.loop !6 14: ; preds = %5 %15 = load ptr, ptr %3, align 8 %16 = load ptr, ptr %2, align 8 %17 = ptrtoint ptr %15 to i64 %18 = ptrtoint ptr %16 to i64 %19 = sub i64 %17, %18 %20 = trunc i64 %19 to i32 ret i32 %20 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpl3aiz27c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @strlen(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 store ptr %4, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i8, ptr %5, align 1 %7 = sext i8 %6 to i32 %8 = icmp ne i32 %7, 0 br i1 %8, label %.lr.ph, label %17 .lr.ph: ; preds = %1 br label %9 9: ; preds = %.lr.ph, %10 br label %10 10: ; preds = %9 %11 = load ptr, ptr %3, align 8 %12 = getelementptr inbounds i8, ptr %11, i32 1 store ptr %12, ptr %3, align 8 %13 = load ptr, ptr %3, 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 %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %10 br label %17 17: ; preds = %._crit_edge, %1 %18 = load ptr, ptr %3, align 8 %19 = load ptr, ptr %2, align 8 %20 = ptrtoint ptr %18 to i64 %21 = ptrtoint ptr %19 to i64 %22 = sub i64 %20, %21 %23 = trunc i64 %22 to i32 ret i32 %23 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpqhdoez9j.c' source_filename = "/tmp/tmpqhdoez9j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"Ready to download >>\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 (...) @tty_init() %3 = load volatile i16, ptr inttoptr (i64 1074794508 to ptr), align 2 %4 = sext i16 %3 to i32 %5 = or i32 %4, 512 %6 = trunc i32 %5 to i16 store volatile i16 %6, ptr inttoptr (i64 1074794508 to ptr), align 2 %7 = call i32 @tty_puts(i32 noundef 0, ptr noundef @.str) %8 = call i32 (...) @GDB_protocol() ret i32 0 } declare i32 @tty_init(...) #1 declare i32 @tty_puts(i32 noundef, ptr noundef) #1 declare i32 @GDB_protocol(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqhdoez9j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"Ready to download >>\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 (...) @tty_init() %3 = load volatile i16, ptr inttoptr (i64 1074794508 to ptr), align 2 %4 = sext i16 %3 to i32 %5 = or i32 %4, 512 %6 = trunc i32 %5 to i16 store volatile i16 %6, ptr inttoptr (i64 1074794508 to ptr), align 2 %7 = call i32 @tty_puts(i32 noundef 0, ptr noundef @.str) %8 = call i32 (...) @GDB_protocol() ret i32 0 } declare i32 @tty_init(...) #1 declare i32 @tty_puts(i32 noundef, ptr noundef) #1 declare i32 @GDB_protocol(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpoi176vz4.c' source_filename = "/tmp/tmpoi176vz4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isodigit.c\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"isodigit should be 0 for P\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isodigit_0x50() #0 { %1 = call i64 @isodigit(i32 noundef 80) %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 405, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isodigit(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/tmpoi176vz4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isodigit.c\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"isodigit should be 0 for P\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isodigit_0x50() #0 { %1 = call i64 @isodigit(i32 noundef 80) %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 405, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isodigit(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/tmp9yowp_35.c' source_filename = "/tmp/tmp9yowp_35.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"2*3=%d; 2+3=%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @mul(i32 noundef 2, i32 noundef 3) %3 = call i32 @add(i32 noundef 2, i32 noundef 3) %4 = call i32 @printf(ptr noundef @.str, i32 noundef %2, i32 noundef %3) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @mul(i32 noundef, i32 noundef) #1 declare i32 @add(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/tmp9yowp_35.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"2*3=%d; 2+3=%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @mul(i32 noundef 2, i32 noundef 3) %3 = call i32 @add(i32 noundef 2, i32 noundef 3) %4 = call i32 @printf(ptr noundef @.str, i32 noundef %2, i32 noundef %3) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @mul(i32 noundef, i32 noundef) #1 declare i32 @add(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/tmpv_5kd1vv.c' source_filename = "/tmp/tmpv_5kd1vv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @farenheat() ret i32 0 } declare i32 @farenheat(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpv_5kd1vv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @farenheat() ret i32 0 } declare i32 @farenheat(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpe4_hyi_l.c' source_filename = "/tmp/tmpe4_hyi_l.c" target datalayout = "e-m:e-p270: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 @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/tmpe4_hyi_l.c" target datalayout = "e-m:e-p270: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 @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/tmp6kcq2zcx.c' source_filename = "/tmp/tmp6kcq2zcx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CBCDesDecrypt(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca [16 x i8], align 16 %13 = alloca [8 x i8], align 1 %14 = alloca [8 x i8], align 1 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 store ptr %4, ptr %10, align 8 %15 = getelementptr inbounds [8 x i8], ptr %14, i64 0, i64 0 %16 = call i32 @memset(ptr noundef %15, i32 noundef 0, i32 noundef 8) store i32 0, ptr %11, align 4 br label %17 17: ; preds = %61, %5 %18 = load i32, ptr %11, align 4 %19 = load i32, ptr %9, align 4 %20 = sdiv i32 %19, 8 %21 = icmp slt i32 %18, %20 br i1 %21, label %22, label %64 22: ; preds = %17 %23 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0 %24 = load ptr, ptr %8, align 8 %25 = load i32, ptr %11, align 4 %26 = mul nsw i32 8, %25 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i8, ptr %24, i64 %27 %29 = call i32 @memcpy(ptr noundef %23, ptr noundef %28, i32 noundef 8) %30 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0 %31 = getelementptr inbounds [8 x i8], ptr %14, i64 0, i64 0 %32 = getelementptr inbounds [8 x i8], ptr %13, i64 0, i64 0 %33 = call i32 @XOR(ptr noundef %30, ptr noundef %31, ptr noundef %32) %34 = load i32, ptr %7, align 4 %35 = icmp eq i32 %34, 16 br i1 %35, label %36, label %48 36: ; preds = %22 %37 = getelementptr inbounds [8 x i8], ptr %13, i64 0, i64 0 %38 = getelementptr inbounds [8 x i8], ptr %14, i64 0, i64 0 %39 = load ptr, ptr %6, align 8 %40 = call i32 @TriUnDes(ptr noundef %37, ptr noundef %38, ptr noundef %39) %41 = load ptr, ptr %10, align 8 %42 = load i32, ptr %11, align 4 %43 = mul nsw i32 8, %42 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i8, ptr %41, i64 %44 %46 = getelementptr inbounds [8 x i8], ptr %14, i64 0, i64 0 %47 = call i32 @memcpy(ptr noundef %45, ptr noundef %46, i32 noundef 8) br label %60 48: ; preds = %22 %49 = getelementptr inbounds [8 x i8], ptr %13, i64 0, i64 0 %50 = getelementptr inbounds [8 x i8], ptr %14, i64 0, i64 0 %51 = load ptr, ptr %6, align 8 %52 = call i32 @desm1(ptr noundef %49, ptr noundef %50, ptr noundef %51) %53 = load ptr, ptr %10, align 8 %54 = load i32, ptr %11, align 4 %55 = mul nsw i32 8, %54 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds i8, ptr %53, i64 %56 %58 = getelementptr inbounds [8 x i8], ptr %14, i64 0, i64 0 %59 = call i32 @memcpy(ptr noundef %57, ptr noundef %58, i32 noundef 8) br label %60 60: ; preds = %48, %36 br label %61 61: ; preds = %60 %62 = load i32, ptr %11, align 4 %63 = add nsw i32 %62, 1 store i32 %63, ptr %11, align 4 br label %17, !llvm.loop !6 64: ; preds = %17 ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @XOR(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @TriUnDes(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @desm1(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6kcq2zcx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CBCDesDecrypt(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca [16 x i8], align 16 %13 = alloca [8 x i8], align 1 %14 = alloca [8 x i8], align 1 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 store ptr %4, ptr %10, align 8 %15 = getelementptr inbounds [8 x i8], ptr %14, i64 0, i64 0 %16 = call i32 @memset(ptr noundef %15, i32 noundef 0, i32 noundef 8) store i32 0, ptr %11, align 4 %17 = load i32, ptr %11, align 4 %18 = load i32, ptr %9, align 4 %19 = sdiv i32 %18, 8 %20 = icmp slt i32 %17, %19 br i1 %20, label %.lr.ph, label %67 .lr.ph: ; preds = %5 br label %21 21: ; preds = %.lr.ph, %60 %22 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0 %23 = load ptr, ptr %8, align 8 %24 = load i32, ptr %11, align 4 %25 = mul nsw i32 8, %24 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %23, i64 %26 %28 = call i32 @memcpy(ptr noundef %22, ptr noundef %27, i32 noundef 8) %29 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0 %30 = getelementptr inbounds [8 x i8], ptr %14, i64 0, i64 0 %31 = getelementptr inbounds [8 x i8], ptr %13, i64 0, i64 0 %32 = call i32 @XOR(ptr noundef %29, ptr noundef %30, ptr noundef %31) %33 = load i32, ptr %7, align 4 %34 = icmp eq i32 %33, 16 br i1 %34, label %35, label %47 35: ; preds = %21 %36 = getelementptr inbounds [8 x i8], ptr %13, i64 0, i64 0 %37 = getelementptr inbounds [8 x i8], ptr %14, i64 0, i64 0 %38 = load ptr, ptr %6, align 8 %39 = call i32 @TriUnDes(ptr noundef %36, ptr noundef %37, ptr noundef %38) %40 = load ptr, ptr %10, align 8 %41 = load i32, ptr %11, align 4 %42 = mul nsw i32 8, %41 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i8, ptr %40, i64 %43 %45 = getelementptr inbounds [8 x i8], ptr %14, i64 0, i64 0 %46 = call i32 @memcpy(ptr noundef %44, ptr noundef %45, i32 noundef 8) br label %59 47: ; preds = %21 %48 = getelementptr inbounds [8 x i8], ptr %13, i64 0, i64 0 %49 = getelementptr inbounds [8 x i8], ptr %14, i64 0, i64 0 %50 = load ptr, ptr %6, align 8 %51 = call i32 @desm1(ptr noundef %48, ptr noundef %49, ptr noundef %50) %52 = load ptr, ptr %10, align 8 %53 = load i32, ptr %11, align 4 %54 = mul nsw i32 8, %53 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i8, ptr %52, i64 %55 %57 = getelementptr inbounds [8 x i8], ptr %14, i64 0, i64 0 %58 = call i32 @memcpy(ptr noundef %56, ptr noundef %57, i32 noundef 8) br label %59 59: ; preds = %47, %35 br label %60 60: ; preds = %59 %61 = load i32, ptr %11, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %11, align 4 %63 = load i32, ptr %11, align 4 %64 = load i32, ptr %9, align 4 %65 = sdiv i32 %64, 8 %66 = icmp slt i32 %63, %65 br i1 %66, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %60 br label %67 67: ; preds = %._crit_edge, %5 ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @XOR(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @TriUnDes(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @desm1(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpgpdjr2aw.c' source_filename = "/tmp/tmpgpdjr2aw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"Hello, world!\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"world!\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"Hello\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"HHHHHello\00", align 1 @.str.5 = private unnamed_addr constant [1 x i8] zeroinitializer, 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 @strend(ptr noundef @.str.1, ptr noundef @.str.2) %3 = call i32 @printf(ptr noundef @.str, i32 noundef %2) %4 = call i32 @strend(ptr noundef @.str.3, ptr noundef @.str.4) %5 = call i32 @printf(ptr noundef @.str, i32 noundef %4) %6 = call i32 @strend(ptr noundef @.str.5, ptr noundef @.str.3) %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) %8 = call i32 @strend(ptr noundef @.str.3, ptr noundef @.str.5) %9 = call i32 @printf(ptr noundef @.str, i32 noundef %8) %10 = call i32 @strend(ptr noundef @.str.3, ptr noundef @.str.3) %11 = call i32 @printf(ptr noundef @.str, i32 noundef %10) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @strend(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/tmpgpdjr2aw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"Hello, world!\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"world!\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"Hello\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"HHHHHello\00", align 1 @.str.5 = private unnamed_addr constant [1 x i8] zeroinitializer, 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 @strend(ptr noundef @.str.1, ptr noundef @.str.2) %3 = call i32 @printf(ptr noundef @.str, i32 noundef %2) %4 = call i32 @strend(ptr noundef @.str.3, ptr noundef @.str.4) %5 = call i32 @printf(ptr noundef @.str, i32 noundef %4) %6 = call i32 @strend(ptr noundef @.str.5, ptr noundef @.str.3) %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) %8 = call i32 @strend(ptr noundef @.str.3, ptr noundef @.str.5) %9 = call i32 @printf(ptr noundef @.str, i32 noundef %8) %10 = call i32 @strend(ptr noundef @.str.3, ptr noundef @.str.3) %11 = call i32 @printf(ptr noundef @.str, i32 noundef %10) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @strend(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/tmphj0ob620.c' source_filename = "/tmp/tmphj0ob620.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fgauss(double noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 { %6 = alloca double, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 store double %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store i32 %4, ptr %10, align 4 %15 = load ptr, ptr %8, align 8 store double 0.000000e+00, ptr %15, align 8 store i32 1, ptr %11, align 4 br label %16 16: ; preds = %94, %5 %17 = load i32, ptr %11, align 4 %18 = load i32, ptr %10, align 4 %19 = sub nsw i32 %18, 1 %20 = icmp sle i32 %17, %19 br i1 %20, label %21, label %97 21: ; preds = %16 %22 = load double, ptr %6, align 8 %23 = load ptr, ptr %7, align 8 %24 = load i32, ptr %11, align 4 %25 = add nsw i32 %24, 1 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds double, ptr %23, i64 %26 %28 = load double, ptr %27, align 8 %29 = fsub double %22, %28 %30 = load ptr, ptr %7, align 8 %31 = load i32, ptr %11, align 4 %32 = add nsw i32 %31, 2 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds double, ptr %30, i64 %33 %35 = load double, ptr %34, align 8 %36 = fdiv double %29, %35 store double %36, ptr %14, align 8 %37 = load double, ptr %14, align 8 %38 = fneg double %37 %39 = load double, ptr %14, align 8 %40 = fmul double %38, %39 %41 = call double @exp(double noundef %40) #3 store double %41, ptr %13, align 8 %42 = load ptr, ptr %7, align 8 %43 = load i32, ptr %11, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds double, ptr %42, i64 %44 %46 = load double, ptr %45, align 8 %47 = load double, ptr %13, align 8 %48 = fmul double %46, %47 %49 = fmul double %48, 2.000000e+00 %50 = load double, ptr %14, align 8 %51 = fmul double %49, %50 store double %51, ptr %12, align 8 %52 = load ptr, ptr %7, align 8 %53 = load i32, ptr %11, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds double, ptr %52, i64 %54 %56 = load double, ptr %55, align 8 %57 = load double, ptr %13, align 8 %58 = load ptr, ptr %8, align 8 %59 = load double, ptr %58, align 8 %60 = call double @llvm.fmuladd.f64(double %56, double %57, double %59) store double %60, ptr %58, align 8 %61 = load double, ptr %13, align 8 %62 = load ptr, ptr %9, align 8 %63 = load i32, ptr %11, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds double, ptr %62, i64 %64 store double %61, ptr %65, align 8 %66 = load double, ptr %12, align 8 %67 = load ptr, ptr %7, align 8 %68 = load i32, ptr %11, align 4 %69 = add nsw i32 %68, 2 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds double, ptr %67, i64 %70 %72 = load double, ptr %71, align 8 %73 = fdiv double %66, %72 %74 = load ptr, ptr %9, align 8 %75 = load i32, ptr %11, align 4 %76 = add nsw i32 %75, 1 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds double, ptr %74, i64 %77 store double %73, ptr %78, align 8 %79 = load double, ptr %12, align 8 %80 = load double, ptr %14, align 8 %81 = fmul double %79, %80 %82 = load ptr, ptr %7, align 8 %83 = load i32, ptr %11, align 4 %84 = add nsw i32 %83, 2 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds double, ptr %82, i64 %85 %87 = load double, ptr %86, align 8 %88 = fdiv double %81, %87 %89 = load ptr, ptr %9, align 8 %90 = load i32, ptr %11, align 4 %91 = add nsw i32 %90, 2 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds double, ptr %89, i64 %92 store double %88, ptr %93, align 8 br label %94 94: ; preds = %21 %95 = load i32, ptr %11, align 4 %96 = add nsw i32 %95, 3 store i32 %96, ptr %11, align 4 br label %16, !llvm.loop !6 97: ; preds = %16 ret void } ; Function Attrs: nounwind declare double @exp(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphj0ob620.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fgauss(double noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 { %6 = alloca double, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 store double %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store i32 %4, ptr %10, align 4 %15 = load ptr, ptr %8, align 8 store double 0.000000e+00, ptr %15, align 8 store i32 1, ptr %11, align 4 %16 = load i32, ptr %11, align 4 %17 = load i32, ptr %10, align 4 %18 = sub nsw i32 %17, 1 %19 = icmp sle i32 %16, %18 br i1 %19, label %.lr.ph, label %100 .lr.ph: ; preds = %5 br label %20 20: ; preds = %.lr.ph, %93 %21 = load double, ptr %6, align 8 %22 = load ptr, ptr %7, align 8 %23 = load i32, ptr %11, align 4 %24 = add nsw i32 %23, 1 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds double, ptr %22, i64 %25 %27 = load double, ptr %26, align 8 %28 = fsub double %21, %27 %29 = load ptr, ptr %7, align 8 %30 = load i32, ptr %11, align 4 %31 = add nsw i32 %30, 2 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds double, ptr %29, i64 %32 %34 = load double, ptr %33, align 8 %35 = fdiv double %28, %34 store double %35, ptr %14, align 8 %36 = load double, ptr %14, align 8 %37 = fneg double %36 %38 = load double, ptr %14, align 8 %39 = fmul double %37, %38 %40 = call double @exp(double noundef %39) #3 store double %40, ptr %13, align 8 %41 = load ptr, ptr %7, align 8 %42 = load i32, ptr %11, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds double, ptr %41, i64 %43 %45 = load double, ptr %44, align 8 %46 = load double, ptr %13, align 8 %47 = fmul double %45, %46 %48 = fmul double %47, 2.000000e+00 %49 = load double, ptr %14, align 8 %50 = fmul double %48, %49 store double %50, ptr %12, align 8 %51 = load ptr, ptr %7, align 8 %52 = load i32, ptr %11, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds double, ptr %51, i64 %53 %55 = load double, ptr %54, align 8 %56 = load double, ptr %13, align 8 %57 = load ptr, ptr %8, align 8 %58 = load double, ptr %57, align 8 %59 = call double @llvm.fmuladd.f64(double %55, double %56, double %58) store double %59, ptr %57, align 8 %60 = load double, ptr %13, align 8 %61 = load ptr, ptr %9, align 8 %62 = load i32, ptr %11, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds double, ptr %61, i64 %63 store double %60, ptr %64, align 8 %65 = load double, ptr %12, align 8 %66 = load ptr, ptr %7, align 8 %67 = load i32, ptr %11, align 4 %68 = add nsw i32 %67, 2 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds double, ptr %66, i64 %69 %71 = load double, ptr %70, align 8 %72 = fdiv double %65, %71 %73 = load ptr, ptr %9, align 8 %74 = load i32, ptr %11, align 4 %75 = add nsw i32 %74, 1 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds double, ptr %73, i64 %76 store double %72, ptr %77, align 8 %78 = load double, ptr %12, align 8 %79 = load double, ptr %14, align 8 %80 = fmul double %78, %79 %81 = load ptr, ptr %7, align 8 %82 = load i32, ptr %11, align 4 %83 = add nsw i32 %82, 2 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds double, ptr %81, i64 %84 %86 = load double, ptr %85, align 8 %87 = fdiv double %80, %86 %88 = load ptr, ptr %9, align 8 %89 = load i32, ptr %11, align 4 %90 = add nsw i32 %89, 2 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds double, ptr %88, i64 %91 store double %87, ptr %92, align 8 br label %93 93: ; preds = %20 %94 = load i32, ptr %11, align 4 %95 = add nsw i32 %94, 3 store i32 %95, ptr %11, align 4 %96 = load i32, ptr %11, align 4 %97 = load i32, ptr %10, align 4 %98 = sub nsw i32 %97, 1 %99 = icmp sle i32 %96, %98 br i1 %99, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %93 br label %100 100: ; preds = %._crit_edge, %5 ret void } ; Function Attrs: nounwind declare double @exp(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpd9088dyj.c' source_filename = "/tmp/tmpd9088dyj.c" target datalayout = "e-m:e-p270: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 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpd9088dyj.c" target datalayout = "e-m:e-p270: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 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppblw_fcg.c' source_filename = "/tmp/tmppblw_fcg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Please enter the row number\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"please enter again!\0A\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"malloc failed!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 %8 = call i32 @printf(ptr noundef @.str) br label %9 9: ; preds = %19, %0 %10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6) %11 = icmp ne i32 %10, 0 %12 = xor i1 %11, true br i1 %12, label %13, label %21 13: ; preds = %9 br label %14 14: ; preds = %18, %13 %15 = call signext i8 (...) @getchar() %16 = sext i8 %15 to i32 %17 = icmp ne i32 %16, 10 br i1 %17, label %18, label %19 18: ; preds = %14 br label %14, !llvm.loop !6 19: ; preds = %14 %20 = call i32 @printf(ptr noundef @.str.2) br label %9, !llvm.loop !8 21: ; preds = %9 %22 = load i32, ptr %6, align 4 %23 = add nsw i32 %22, 1 %24 = load i32, ptr %6, align 4 %25 = sdiv i32 %24, 2 %26 = mul nsw i32 %23, %25 %27 = sext i32 %26 to i64 %28 = mul i64 %27, 4 %29 = trunc i64 %28 to i32 %30 = call i64 @malloc(i32 noundef %29) %31 = inttoptr i64 %30 to ptr store ptr %31, ptr %7, align 8 %32 = load ptr, ptr %7, align 8 %33 = icmp ne ptr %32, null br i1 %33, label %36, label %34 34: ; preds = %21 %35 = call i32 @printf(ptr noundef @.str.3) store i32 -1, ptr %1, align 4 br label %43 36: ; preds = %21 %37 = load i32, ptr %6, align 4 %38 = load ptr, ptr %7, align 8 %39 = call i32 @buildup(i32 noundef %37, ptr noundef %38) %40 = load i32, ptr %6, align 4 %41 = load ptr, ptr %7, align 8 %42 = call i32 @putout(i32 noundef %40, ptr noundef %41) store i32 0, ptr %1, align 4 br label %43 43: ; preds = %36, %34 %44 = load i32, ptr %1, align 4 ret i32 %44 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare signext i8 @getchar(...) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @buildup(i32 noundef, ptr noundef) #1 declare i32 @putout(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppblw_fcg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Please enter the row number\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"please enter again!\0A\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"malloc failed!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 %8 = call i32 @printf(ptr noundef @.str) %9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6) %10 = icmp ne i32 %9, 0 %11 = xor i1 %10, true br i1 %11, label %.lr.ph, label %22 .lr.ph: ; preds = %0 br label %12 12: ; preds = %.lr.ph, %17 br label %13 13: ; preds = %13, %12 %14 = call signext i8 (...) @getchar() %15 = sext i8 %14 to i32 %16 = icmp ne i32 %15, 10 br i1 %16, label %13, label %17, !llvm.loop !6 17: ; preds = %13 %18 = call i32 @printf(ptr noundef @.str.2) %19 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6) %20 = icmp ne i32 %19, 0 %21 = xor i1 %20, true br i1 %21, label %12, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %17 br label %22 22: ; preds = %._crit_edge, %0 %23 = load i32, ptr %6, align 4 %24 = add nsw i32 %23, 1 %25 = load i32, ptr %6, align 4 %26 = sdiv i32 %25, 2 %27 = mul nsw i32 %24, %26 %28 = sext i32 %27 to i64 %29 = mul i64 %28, 4 %30 = trunc i64 %29 to i32 %31 = call i64 @malloc(i32 noundef %30) %32 = inttoptr i64 %31 to ptr store ptr %32, ptr %7, align 8 %33 = load ptr, ptr %7, align 8 %34 = icmp ne ptr %33, null br i1 %34, label %37, label %35 35: ; preds = %22 %36 = call i32 @printf(ptr noundef @.str.3) store i32 -1, ptr %1, align 4 br label %44 37: ; preds = %22 %38 = load i32, ptr %6, align 4 %39 = load ptr, ptr %7, align 8 %40 = call i32 @buildup(i32 noundef %38, ptr noundef %39) %41 = load i32, ptr %6, align 4 %42 = load ptr, ptr %7, align 8 %43 = call i32 @putout(i32 noundef %41, ptr noundef %42) store i32 0, ptr %1, align 4 br label %44 44: ; preds = %37, %35 %45 = load i32, ptr %1, align 4 ret i32 %45 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare signext i8 @getchar(...) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @buildup(i32 noundef, ptr noundef) #1 declare i32 @putout(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp_ae6usm6.c' source_filename = "/tmp/tmp_ae6usm6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fn96\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @fn96() #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/tmp_ae6usm6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fn96\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @fn96() #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/tmpcok_x5gi.c' source_filename = "/tmp/tmpcok_x5gi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Connect four chips and win!\0A\00", align 1 @.str.1 = private unnamed_addr constant [41 x i8] c"Y are yellow chips and R are red chips.\0A\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"ONLY ENTER IN NUMBERS!!!\0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"The col is full!\0A\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"%c wins\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [9 x [9 x i8]], align 16 %3 = alloca i8, align 1 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i8 89, ptr %3, align 1 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %9 = getelementptr inbounds [9 x [9 x i8]], ptr %2, i64 0, i64 0 %10 = call i32 @clearGrid(ptr noundef %9) %11 = getelementptr inbounds [9 x [9 x i8]], ptr %2, i64 0, i64 0 %12 = call i32 @displayGrid(ptr noundef %11) br label %13 13: ; preds = %32, %0 br label %14 14: ; preds = %28, %13 %15 = load i8, ptr %3, align 1 %16 = call i32 @askUserX(ptr noundef %4, i8 noundef signext %15) %17 = getelementptr inbounds [9 x [9 x i8]], ptr %2, i64 0, i64 0 %18 = load i32, ptr %4, align 4 %19 = load i8, ptr %3, align 1 %20 = call i32 @placeChip(ptr noundef %17, i32 noundef %18, i8 noundef signext %19) store i32 %20, ptr %5, align 4 %21 = getelementptr inbounds [9 x [9 x i8]], ptr %2, i64 0, i64 0 %22 = call i32 @displayGrid(ptr noundef %21) %23 = load i32, ptr %5, align 4 %24 = icmp eq i32 %23, -1 br i1 %24, label %25, label %27 25: ; preds = %14 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %27 27: ; preds = %25, %14 br label %28 28: ; preds = %27 %29 = load i32, ptr %5, align 4 %30 = icmp eq i32 %29, -1 br i1 %30, label %14, label %31, !llvm.loop !6 31: ; preds = %28 br label %32 32: ; preds = %31 %33 = getelementptr inbounds [9 x [9 x i8]], ptr %2, i64 0, i64 0 %34 = load i32, ptr %4, align 4 %35 = load i32, ptr %5, align 4 %36 = call i64 @checkWin(ptr noundef %33, i32 noundef %34, i32 noundef %35, ptr noundef %3) %37 = icmp ne i64 %36, 0 br i1 %37, label %13, label %38, !llvm.loop !8 38: ; preds = %32 %39 = load i8, ptr %3, align 1 %40 = sext i8 %39 to i32 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %40) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @clearGrid(ptr noundef) #1 declare i32 @displayGrid(ptr noundef) #1 declare i32 @askUserX(ptr noundef, i8 noundef signext) #1 declare i32 @placeChip(ptr noundef, i32 noundef, i8 noundef signext) #1 declare i64 @checkWin(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcok_x5gi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Connect four chips and win!\0A\00", align 1 @.str.1 = private unnamed_addr constant [41 x i8] c"Y are yellow chips and R are red chips.\0A\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"ONLY ENTER IN NUMBERS!!!\0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"The col is full!\0A\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"%c wins\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [9 x [9 x i8]], align 16 %3 = alloca i8, align 1 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i8 89, ptr %3, align 1 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %9 = getelementptr inbounds [9 x [9 x i8]], ptr %2, i64 0, i64 0 %10 = call i32 @clearGrid(ptr noundef %9) %11 = getelementptr inbounds [9 x [9 x i8]], ptr %2, i64 0, i64 0 %12 = call i32 @displayGrid(ptr noundef %11) %13 = getelementptr inbounds [9 x [9 x i8]], ptr %2, i64 0, i64 0 br label %14 14: ; preds = %33, %0 br label %15 15: ; preds = %29, %14 %16 = load i8, ptr %3, align 1 %17 = call i32 @askUserX(ptr noundef %4, i8 noundef signext %16) %18 = getelementptr inbounds [9 x [9 x i8]], ptr %2, i64 0, i64 0 %19 = load i32, ptr %4, align 4 %20 = load i8, ptr %3, align 1 %21 = call i32 @placeChip(ptr noundef %18, i32 noundef %19, i8 noundef signext %20) store i32 %21, ptr %5, align 4 %22 = getelementptr inbounds [9 x [9 x i8]], ptr %2, i64 0, i64 0 %23 = call i32 @displayGrid(ptr noundef %22) %24 = load i32, ptr %5, align 4 %25 = icmp eq i32 %24, -1 br i1 %25, label %26, label %28 26: ; preds = %15 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %28 28: ; preds = %26, %15 br label %29 29: ; preds = %28 %30 = load i32, ptr %5, align 4 %31 = icmp eq i32 %30, -1 br i1 %31, label %15, label %32, !llvm.loop !6 32: ; preds = %29 br label %33 33: ; preds = %32 %34 = load i32, ptr %4, align 4 %35 = load i32, ptr %5, align 4 %36 = call i64 @checkWin(ptr noundef %13, i32 noundef %34, i32 noundef %35, ptr noundef %3) %37 = icmp ne i64 %36, 0 br i1 %37, label %14, label %38, !llvm.loop !8 38: ; preds = %33 %39 = load i8, ptr %3, align 1 %40 = sext i8 %39 to i32 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %40) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @clearGrid(ptr noundef) #1 declare i32 @displayGrid(ptr noundef) #1 declare i32 @askUserX(ptr noundef, i8 noundef signext) #1 declare i32 @placeChip(ptr noundef, i32 noundef, i8 noundef signext) #1 declare i64 @checkWin(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpwco78_0n.c' source_filename = "/tmp/tmpwco78_0n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rendermobsword() #0 { %1 = call i32 (...) @zlBeginQuads() %2 = call i32 @zlTexCoord2x(i32 noundef 57344, i32 noundef 24576) %3 = call i32 @zlVertex3x(i32 noundef -8192, i32 noundef 8192, i32 noundef -8192) %4 = call i32 @zlTexCoord2x(i32 noundef 57344, i32 noundef 40960) %5 = call i32 @zlVertex3x(i32 noundef -8192, i32 noundef -73728, i32 noundef -8192) %6 = call i32 @zlTexCoord2x(i32 noundef 61440, i32 noundef 40960) %7 = call i32 @zlVertex3x(i32 noundef -8192, i32 noundef -73728, i32 noundef 8192) %8 = call i32 @zlTexCoord2x(i32 noundef 61440, i32 noundef 24576) %9 = call i32 @zlVertex3x(i32 noundef -8192, i32 noundef 8192, i32 noundef 8192) %10 = call i32 (...) @zlEndQuads() ret void } declare i32 @zlBeginQuads(...) #1 declare i32 @zlTexCoord2x(i32 noundef, i32 noundef) #1 declare i32 @zlVertex3x(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @zlEndQuads(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwco78_0n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rendermobsword() #0 { %1 = call i32 (...) @zlBeginQuads() %2 = call i32 @zlTexCoord2x(i32 noundef 57344, i32 noundef 24576) %3 = call i32 @zlVertex3x(i32 noundef -8192, i32 noundef 8192, i32 noundef -8192) %4 = call i32 @zlTexCoord2x(i32 noundef 57344, i32 noundef 40960) %5 = call i32 @zlVertex3x(i32 noundef -8192, i32 noundef -73728, i32 noundef -8192) %6 = call i32 @zlTexCoord2x(i32 noundef 61440, i32 noundef 40960) %7 = call i32 @zlVertex3x(i32 noundef -8192, i32 noundef -73728, i32 noundef 8192) %8 = call i32 @zlTexCoord2x(i32 noundef 61440, i32 noundef 24576) %9 = call i32 @zlVertex3x(i32 noundef -8192, i32 noundef 8192, i32 noundef 8192) %10 = call i32 (...) @zlEndQuads() ret void } declare i32 @zlBeginQuads(...) #1 declare i32 @zlTexCoord2x(i32 noundef, i32 noundef) #1 declare i32 @zlVertex3x(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @zlEndQuads(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpa64_wlpp.c' source_filename = "/tmp/tmpa64_wlpp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @opcb_3e() #0 { %1 = call i32 (...) @srl_hl() ret void } declare i32 @srl_hl(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa64_wlpp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @opcb_3e() #0 { %1 = call i32 (...) @srl_hl() ret void } declare i32 @srl_hl(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxserg1tv.c' source_filename = "/tmp/tmpxserg1tv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 @hello_world(i32 noundef 5) ret i32 0 } declare i32 @hello_world(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/tmpxserg1tv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 @hello_world(i32 noundef 5) ret i32 0 } declare i32 @hello_world(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/tmppfzjs6xw.c' source_filename = "/tmp/tmppfzjs6xw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Qual o seu nome\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [44 x i8] c"\0ADigite valor para os elementos da matriz\0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"\0AElemento[%d][%d] = \00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c" %d \00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.7 = private unnamed_addr constant [28 x i8] c"Digite a linha e a coluna:\0A\00", align 1 @.str.8 = private unnamed_addr constant [5 x i8] c"%d%d\00", align 1 @.str.9 = private unnamed_addr constant [6 x i8] c"BOMBA\00", align 1 @.str.10 = private unnamed_addr constant [6 x i8] c"\C3\81GUA\00", align 1 @.str.11 = private unnamed_addr constant [33 x i8] c"\0A Deseja continuar? 1=Sim/2=Nao\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 [5 x [5 x i32]], align 16 %5 = alloca i32, align 4 %6 = alloca [50 x i8], align 16 store i32 0, ptr %1, align 4 br label %7 7: ; preds = %92, %0 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) %9 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0 %10 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %9) %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %2, align 4 br label %12 12: ; preds = %36, %7 %13 = load i32, ptr %2, align 4 %14 = icmp slt i32 %13, 5 br i1 %14, label %15, label %39 15: ; preds = %12 store i32 0, ptr %3, align 4 br label %16 16: ; preds = %32, %15 %17 = load i32, ptr %3, align 4 %18 = icmp slt i32 %17, 5 br i1 %18, label %19, label %35 19: ; preds = %16 %20 = load i32, ptr %2, align 4 %21 = add nsw i32 %20, 1 %22 = load i32, ptr %3, align 4 %23 = add nsw i32 %22, 1 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %21, i32 noundef %23) %25 = load i32, ptr %2, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds [5 x [5 x i32]], ptr %4, i64 0, i64 %26 %28 = load i32, ptr %3, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds [5 x i32], ptr %27, i64 0, i64 %29 %31 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %30) br label %32 32: ; preds = %19 %33 = load i32, ptr %3, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %3, align 4 br label %16, !llvm.loop !6 35: ; preds = %16 br label %36 36: ; preds = %35 %37 = load i32, ptr %2, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %2, align 4 br label %12, !llvm.loop !8 39: ; preds = %12 store i32 0, ptr %2, align 4 br label %40 40: ; preds = %61, %39 %41 = load i32, ptr %2, align 4 %42 = icmp slt i32 %41, 5 br i1 %42, label %43, label %64 43: ; preds = %40 store i32 0, ptr %3, align 4 br label %44 44: ; preds = %56, %43 %45 = load i32, ptr %3, align 4 %46 = icmp slt i32 %45, 5 br i1 %46, label %47, label %59 47: ; preds = %44 %48 = load i32, ptr %2, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds [5 x [5 x i32]], ptr %4, i64 0, i64 %49 %51 = load i32, ptr %3, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [5 x i32], ptr %50, i64 0, i64 %52 %54 = load i32, ptr %53, align 4 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %54) br label %56 56: ; preds = %47 %57 = load i32, ptr %3, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %3, align 4 br label %44, !llvm.loop !9 59: ; preds = %44 %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %61 61: ; preds = %59 %62 = load i32, ptr %2, align 4 %63 = add nsw i32 %62, 1 store i32 %63, ptr %2, align 4 br label %40, !llvm.loop !10 64: ; preds = %40 %65 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %66 = call i32 (ptr, ...) @scanf(ptr noundef @.str.8, ptr noundef %2, ptr noundef %3) %67 = load i32, ptr %2, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds [5 x [5 x i32]], ptr %4, i64 0, i64 %68 %70 = load i32, ptr %3, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds [5 x i32], ptr %69, i64 0, i64 %71 %73 = load i32, ptr %72, align 4 %74 = icmp eq i32 %73, 1 br i1 %74, label %75, label %77 75: ; preds = %64 %76 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) br label %89 77: ; preds = %64 %78 = load i32, ptr %2, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds [5 x [5 x i32]], ptr %4, i64 0, i64 %79 %81 = load i32, ptr %3, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds [5 x i32], ptr %80, i64 0, i64 %82 %84 = load i32, ptr %83, align 4 %85 = icmp eq i32 %84, 0 br i1 %85, label %86, label %88 86: ; preds = %77 %87 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) br label %88 88: ; preds = %86, %77 br label %89 89: ; preds = %88, %75 %90 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %91 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %5) br label %92 92: ; preds = %89 %93 = load i32, ptr %5, align 4 %94 = icmp eq i32 %93, 1 br i1 %94, label %7, label %95, !llvm.loop !11 95: ; preds = %92 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmppfzjs6xw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Qual o seu nome\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [44 x i8] c"\0ADigite valor para os elementos da matriz\0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"\0AElemento[%d][%d] = \00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c" %d \00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.7 = private unnamed_addr constant [28 x i8] c"Digite a linha e a coluna:\0A\00", align 1 @.str.8 = private unnamed_addr constant [5 x i8] c"%d%d\00", align 1 @.str.9 = private unnamed_addr constant [6 x i8] c"BOMBA\00", align 1 @.str.10 = private unnamed_addr constant [6 x i8] c"\C3\81GUA\00", align 1 @.str.11 = private unnamed_addr constant [33 x i8] c"\0A Deseja continuar? 1=Sim/2=Nao\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 [5 x [5 x i32]], align 16 %5 = alloca i32, align 4 %6 = alloca [50 x i8], align 16 store i32 0, ptr %1, align 4 br label %7 7: ; preds = %96, %0 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) %9 = getelementptr inbounds [50 x i8], ptr %6, i64 0, i64 0 %10 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %9) %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %2, align 4 %12 = load i32, ptr %2, align 4 %13 = icmp slt i32 %12, 5 br i1 %13, label %.lr.ph2, label %41 .lr.ph2: ; preds = %7 br label %14 14: ; preds = %.lr.ph2, %36 store i32 0, ptr %3, align 4 %15 = load i32, ptr %3, align 4 %16 = icmp slt i32 %15, 5 br i1 %16, label %.lr.ph, label %35 .lr.ph: ; preds = %14 br label %17 17: ; preds = %.lr.ph, %30 %18 = load i32, ptr %2, align 4 %19 = add nsw i32 %18, 1 %20 = load i32, ptr %3, align 4 %21 = add nsw i32 %20, 1 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %19, i32 noundef %21) %23 = load i32, ptr %2, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [5 x [5 x i32]], ptr %4, i64 0, i64 %24 %26 = load i32, ptr %3, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [5 x i32], ptr %25, i64 0, i64 %27 %29 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %28) br label %30 30: ; preds = %17 %31 = load i32, ptr %3, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %3, align 4 %33 = load i32, ptr %3, align 4 %34 = icmp slt i32 %33, 5 br i1 %34, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %30 br label %35 35: ; preds = %._crit_edge, %14 br label %36 36: ; preds = %35 %37 = load i32, ptr %2, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %2, align 4 %39 = load i32, ptr %2, align 4 %40 = icmp slt i32 %39, 5 br i1 %40, label %14, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %36 br label %41 41: ; preds = %._crit_edge3, %7 store i32 0, ptr %2, align 4 %42 = load i32, ptr %2, align 4 %43 = icmp slt i32 %42, 5 br i1 %43, label %.lr.ph8, label %68 .lr.ph8: ; preds = %41 br label %44 44: ; preds = %.lr.ph8, %63 store i32 0, ptr %3, align 4 %45 = load i32, ptr %3, align 4 %46 = icmp slt i32 %45, 5 br i1 %46, label %.lr.ph5, label %61 .lr.ph5: ; preds = %44 br label %47 47: ; preds = %.lr.ph5, %56 %48 = load i32, ptr %2, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds [5 x [5 x i32]], ptr %4, i64 0, i64 %49 %51 = load i32, ptr %3, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [5 x i32], ptr %50, i64 0, i64 %52 %54 = load i32, ptr %53, align 4 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %54) br label %56 56: ; preds = %47 %57 = load i32, ptr %3, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %3, align 4 %59 = load i32, ptr %3, align 4 %60 = icmp slt i32 %59, 5 br i1 %60, label %47, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %56 br label %61 61: ; preds = %._crit_edge6, %44 %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %63 63: ; preds = %61 %64 = load i32, ptr %2, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %2, align 4 %66 = load i32, ptr %2, align 4 %67 = icmp slt i32 %66, 5 br i1 %67, label %44, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %63 br label %68 68: ; preds = %._crit_edge9, %41 %69 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %70 = call i32 (ptr, ...) @scanf(ptr noundef @.str.8, ptr noundef %2, ptr noundef %3) %71 = load i32, ptr %2, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds [5 x [5 x i32]], ptr %4, i64 0, i64 %72 %74 = load i32, ptr %3, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds [5 x i32], ptr %73, i64 0, i64 %75 %77 = load i32, ptr %76, align 4 %78 = icmp eq i32 %77, 1 br i1 %78, label %79, label %81 79: ; preds = %68 %80 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) br label %93 81: ; preds = %68 %82 = load i32, ptr %2, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds [5 x [5 x i32]], ptr %4, i64 0, i64 %83 %85 = load i32, ptr %3, align 4 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds [5 x i32], ptr %84, i64 0, i64 %86 %88 = load i32, ptr %87, align 4 %89 = icmp eq i32 %88, 0 br i1 %89, label %90, label %92 90: ; preds = %81 %91 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) br label %92 92: ; preds = %90, %81 br label %93 93: ; preds = %92, %79 %94 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %95 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %5) br label %96 96: ; preds = %93 %97 = load i32, ptr %5, align 4 %98 = icmp eq i32 %97, 1 br i1 %98, label %7, label %99, !llvm.loop !11 99: ; preds = %96 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpqf5hwvui.c' source_filename = "/tmp/tmpqf5hwvui.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dibujarString(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 store i32 0, ptr %7, align 4 br label %8 8: ; preds = %24, %3 %9 = load i32, ptr %7, align 4 %10 = load ptr, ptr %4, align 8 %11 = call i32 @LEN(ptr noundef %10) %12 = icmp slt i32 %9, %11 br i1 %12, label %13, label %27 13: ; preds = %8 %14 = load ptr, ptr %4, align 8 %15 = load i32, ptr %7, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %14, i64 %16 %18 = load i8, ptr %17, align 1 %19 = load i32, ptr %5, align 4 %20 = load i32, ptr %6, align 4 %21 = load i32, ptr %7, align 4 %22 = add nsw i32 %20, %21 %23 = call i32 @dibujar(i8 noundef signext %18, i32 noundef %19, i32 noundef %22) br label %24 24: ; preds = %13 %25 = load i32, ptr %7, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %7, align 4 br label %8, !llvm.loop !6 27: ; preds = %8 ret void } declare i32 @LEN(ptr noundef) #1 declare i32 @dibujar(i8 noundef signext, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqf5hwvui.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dibujarString(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 store i32 0, ptr %7, align 4 %8 = load i32, ptr %7, align 4 %9 = load ptr, ptr %4, align 8 %10 = call i32 @LEN(ptr noundef %9) %11 = icmp slt i32 %8, %10 br i1 %11, label %.lr.ph, label %30 .lr.ph: ; preds = %3 br label %12 12: ; preds = %.lr.ph, %23 %13 = load ptr, ptr %4, align 8 %14 = load i32, ptr %7, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %13, i64 %15 %17 = load i8, ptr %16, align 1 %18 = load i32, ptr %5, align 4 %19 = load i32, ptr %6, align 4 %20 = load i32, ptr %7, align 4 %21 = add nsw i32 %19, %20 %22 = call i32 @dibujar(i8 noundef signext %17, i32 noundef %18, i32 noundef %21) br label %23 23: ; preds = %12 %24 = load i32, ptr %7, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %7, align 4 %26 = load i32, ptr %7, align 4 %27 = load ptr, ptr %4, align 8 %28 = call i32 @LEN(ptr noundef %27) %29 = icmp slt i32 %26, %28 br i1 %29, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %30 30: ; preds = %._crit_edge, %3 ret void } declare i32 @LEN(ptr noundef) #1 declare i32 @dibujar(i8 noundef signext, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpdhvubmnp.c' source_filename = "/tmp/tmpdhvubmnp.c" target datalayout = "e-m:e-p270: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/tmpdhvubmnp.c" target datalayout = "e-m:e-p270: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/tmp7ksek8jx.c' source_filename = "/tmp/tmp7ksek8jx.c" target datalayout = "e-m:e-p270: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/tmp7ksek8jx.c" target datalayout = "e-m:e-p270: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/tmpu2ofes7r.c' source_filename = "/tmp/tmpu2ofes7r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bnot(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp ne i32 %3, 0 %5 = xor i1 %4, true %6 = zext i1 %5 to i32 ret i32 %6 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu2ofes7r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bnot(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp ne i32 %3, 0 %5 = xor i1 %4, true %6 = zext i1 %5 to i32 ret i32 %6 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3yj7rj2c.c' source_filename = "/tmp/tmp3yj7rj2c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncasecmp2(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = 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 0, ptr %10, align 4 br label %11 11: ; preds = %62, %3 %12 = load ptr, ptr %5, align 8 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %25 16: ; preds = %11 %17 = load ptr, ptr %6, align 8 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %25 21: ; preds = %16 %22 = load i32, ptr %10, align 4 %23 = load i32, ptr %7, align 4 %24 = icmp slt i32 %22, %23 br label %25 25: ; preds = %21, %16, %11 %26 = phi i1 [ false, %16 ], [ false, %11 ], [ %24, %21 ] br i1 %26, label %27, label %69 27: ; preds = %25 %28 = load ptr, ptr %5, align 8 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 store i32 %30, ptr %8, align 4 %31 = load ptr, ptr %6, align 8 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 store i32 %33, ptr %9, align 4 %34 = load i32, ptr %8, align 4 %35 = sub nsw i32 %34, 97 %36 = icmp sge i32 %35, 0 br i1 %36, label %37, label %41 37: ; preds = %27 %38 = load i32, ptr %8, align 4 %39 = sub nsw i32 %38, 122 %40 = icmp sle i32 %39, 0 br i1 %40, label %49, label %41 41: ; preds = %37, %27 %42 = load i32, ptr %8, align 4 %43 = sub nsw i32 %42, 65 %44 = icmp sge i32 %43, 0 br i1 %44, label %45, label %54 45: ; preds = %41 %46 = load i32, ptr %8, align 4 %47 = sub nsw i32 %46, 90 %48 = icmp sle i32 %47, 0 br i1 %48, label %49, label %54 49: ; preds = %45, %37 %50 = load i32, ptr %8, align 4 %51 = call i32 @tolower(i32 noundef %50) #2 store i32 %51, ptr %8, align 4 %52 = load i32, ptr %9, align 4 %53 = call i32 @tolower(i32 noundef %52) #2 store i32 %53, ptr %9, align 4 br label %54 54: ; preds = %49, %45, %41 %55 = load i32, ptr %8, align 4 %56 = load i32, ptr %9, align 4 %57 = icmp ne i32 %55, %56 br i1 %57, label %58, label %62 58: ; preds = %54 %59 = load i32, ptr %8, align 4 %60 = load i32, ptr %9, align 4 %61 = sub nsw i32 %59, %60 store i32 %61, ptr %4, align 4 br label %75 62: ; preds = %54 %63 = load ptr, ptr %5, align 8 %64 = getelementptr inbounds i8, ptr %63, i32 1 store ptr %64, ptr %5, align 8 %65 = load ptr, ptr %6, align 8 %66 = getelementptr inbounds i8, ptr %65, i32 1 store ptr %66, ptr %6, align 8 %67 = load i32, ptr %10, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %10, align 4 br label %11, !llvm.loop !6 69: ; preds = %25 %70 = load i32, ptr %10, align 4 %71 = load i32, ptr %7, align 4 %72 = icmp eq i32 %70, %71 br i1 %72, label %73, label %74 73: ; preds = %69 store i32 0, ptr %4, align 4 br label %75 74: ; preds = %69 store i32 -1, ptr %4, align 4 br label %75 75: ; preds = %74, %73, %58 %76 = load i32, ptr %4, align 4 ret i32 %76 } ; Function Attrs: nounwind willreturn memory(read) declare i32 @tolower(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 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-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(read) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp3yj7rj2c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncasecmp2(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = 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 0, ptr %10, align 4 br label %11 11: ; preds = %62, %3 %12 = load ptr, ptr %5, align 8 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %25 16: ; preds = %11 %17 = load ptr, ptr %6, align 8 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %25 21: ; preds = %16 %22 = load i32, ptr %10, align 4 %23 = load i32, ptr %7, align 4 %24 = icmp slt i32 %22, %23 br label %25 25: ; preds = %21, %16, %11 %26 = phi i1 [ false, %16 ], [ false, %11 ], [ %24, %21 ] br i1 %26, label %27, label %69 27: ; preds = %25 %28 = load ptr, ptr %5, align 8 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 store i32 %30, ptr %8, align 4 %31 = load ptr, ptr %6, align 8 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 store i32 %33, ptr %9, align 4 %34 = load i32, ptr %8, align 4 %35 = sub nsw i32 %34, 97 %36 = icmp sge i32 %35, 0 br i1 %36, label %37, label %41 37: ; preds = %27 %38 = load i32, ptr %8, align 4 %39 = sub nsw i32 %38, 122 %40 = icmp sle i32 %39, 0 br i1 %40, label %49, label %41 41: ; preds = %37, %27 %42 = load i32, ptr %8, align 4 %43 = sub nsw i32 %42, 65 %44 = icmp sge i32 %43, 0 br i1 %44, label %45, label %54 45: ; preds = %41 %46 = load i32, ptr %8, align 4 %47 = sub nsw i32 %46, 90 %48 = icmp sle i32 %47, 0 br i1 %48, label %49, label %54 49: ; preds = %45, %37 %50 = load i32, ptr %8, align 4 %51 = call i32 @tolower(i32 noundef %50) #2 store i32 %51, ptr %8, align 4 %52 = load i32, ptr %9, align 4 %53 = call i32 @tolower(i32 noundef %52) #2 store i32 %53, ptr %9, align 4 br label %54 54: ; preds = %49, %45, %41 %55 = load i32, ptr %8, align 4 %56 = load i32, ptr %9, align 4 %57 = icmp ne i32 %55, %56 br i1 %57, label %58, label %62 58: ; preds = %54 %59 = load i32, ptr %8, align 4 %60 = load i32, ptr %9, align 4 %61 = sub nsw i32 %59, %60 store i32 %61, ptr %4, align 4 br label %75 62: ; preds = %54 %63 = load ptr, ptr %5, align 8 %64 = getelementptr inbounds i8, ptr %63, i32 1 store ptr %64, ptr %5, align 8 %65 = load ptr, ptr %6, align 8 %66 = getelementptr inbounds i8, ptr %65, i32 1 store ptr %66, ptr %6, align 8 %67 = load i32, ptr %10, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %10, align 4 br label %11, !llvm.loop !6 69: ; preds = %25 %70 = load i32, ptr %10, align 4 %71 = load i32, ptr %7, align 4 %72 = icmp eq i32 %70, %71 br i1 %72, label %73, label %74 73: ; preds = %69 store i32 0, ptr %4, align 4 br label %75 74: ; preds = %69 store i32 -1, ptr %4, align 4 br label %75 75: ; preds = %74, %73, %58 %76 = load i32, ptr %4, align 4 ret i32 %76 } ; Function Attrs: nounwind willreturn memory(read) declare i32 @tolower(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 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-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(read) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp0ljbz1_m.c' source_filename = "/tmp/tmp0ljbz1_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 [23 x i8] c"error, stack overflow\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @stack_overflow() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0ljbz1_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 [23 x i8] c"error, stack overflow\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @stack_overflow() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpf47p_19c.c' source_filename = "/tmp/tmpf47p_19c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_2__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_XPointerMovedEvent_root(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load i64, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0 store i64 %5, ptr %7, align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpf47p_19c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_2__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_XPointerMovedEvent_root(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load i64, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0 store i64 %5, ptr %7, align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpy9v_wdwd.c' source_filename = "/tmp/tmpy9v_wdwd.c" target datalayout = "e-m:e-p270: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/tmpy9v_wdwd.c" target datalayout = "e-m:e-p270: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/tmp4muzx_fm.c' source_filename = "/tmp/tmp4muzx_fm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ncg(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = icmp ne i32 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %2 %9 = load i32, ptr %4, align 4 store i32 %9, ptr %3, align 4 br label %15 10: ; preds = %2 %11 = load i32, ptr %4, align 4 %12 = icmp ne i32 %11, 0 %13 = xor i1 %12, true %14 = zext i1 %13 to i32 store i32 %14, ptr %3, align 4 br label %15 15: ; preds = %10, %8 %16 = load i32, ptr %3, align 4 ret i32 %16 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4muzx_fm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ncg(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = icmp ne i32 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %2 %9 = load i32, ptr %4, align 4 store i32 %9, ptr %3, align 4 br label %15 10: ; preds = %2 %11 = load i32, ptr %4, align 4 %12 = icmp ne i32 %11, 0 %13 = xor i1 %12, true %14 = zext i1 %13 to i32 store i32 %14, ptr %3, align 4 br label %15 15: ; preds = %10, %8 %16 = load i32, ptr %3, align 4 ret i32 %16 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpu12ogq5p.c' source_filename = "/tmp/tmpu12ogq5p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i32 13, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = zext i32 %6 to i64 %8 = load i32, ptr %2, align 4 %9 = sub nsw i32 %8, 1 %10 = zext i32 %9 to i64 %11 = call ptr @llvm.stacksave() store ptr %11, ptr %3, align 8 %12 = mul nuw i64 2, %7 %13 = mul nuw i64 %12, %10 %14 = alloca i32, i64 %13, align 16 store i64 %7, ptr %4, align 8 store i64 %10, ptr %5, align 8 %15 = mul nuw i64 %7, %10 %16 = mul nsw i64 0, %15 %17 = getelementptr inbounds i32, ptr %14, i64 %16 %18 = mul nsw i64 0, %10 %19 = getelementptr inbounds i32, ptr %17, i64 %18 %20 = getelementptr inbounds i32, ptr %19, i64 0 store i32 42, ptr %20, align 4 %21 = mul nuw i64 %7, %10 %22 = mul nsw i64 0, %21 %23 = getelementptr inbounds i32, ptr %14, i64 %22 %24 = load i32, ptr %2, align 4 %25 = sub nsw i32 %24, 1 %26 = sext i32 %25 to i64 %27 = mul nsw i64 %26, %10 %28 = getelementptr inbounds i32, ptr %23, i64 %27 %29 = load i32, ptr %2, align 4 %30 = sub nsw i32 %29, 2 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i32, ptr %28, i64 %31 store i32 33, ptr %32, align 4 %33 = load i32, ptr %2, align 4 %34 = sub nsw i32 %33, 1 %35 = call i32 @foo(i32 noundef %34, ptr noundef %14) store i32 %35, ptr %1, align 4 %36 = load ptr, ptr %3, align 8 call void @llvm.stackrestore(ptr %36) %37 = load i32, ptr %1, align 4 ret i32 %37 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @foo(i32 noundef, ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu12ogq5p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i32 13, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = zext i32 %6 to i64 %8 = load i32, ptr %2, align 4 %9 = sub nsw i32 %8, 1 %10 = zext i32 %9 to i64 %11 = call ptr @llvm.stacksave() store ptr %11, ptr %3, align 8 %12 = mul nuw i64 2, %7 %13 = mul nuw i64 %12, %10 %14 = alloca i32, i64 %13, align 16 store i64 %7, ptr %4, align 8 store i64 %10, ptr %5, align 8 %15 = mul nuw i64 %7, %10 %16 = mul nsw i64 0, %15 %17 = getelementptr inbounds i32, ptr %14, i64 %16 %18 = mul nsw i64 0, %10 %19 = getelementptr inbounds i32, ptr %17, i64 %18 %20 = getelementptr inbounds i32, ptr %19, i64 0 store i32 42, ptr %20, align 4 %21 = mul nuw i64 %7, %10 %22 = mul nsw i64 0, %21 %23 = getelementptr inbounds i32, ptr %14, i64 %22 %24 = load i32, ptr %2, align 4 %25 = sub nsw i32 %24, 1 %26 = sext i32 %25 to i64 %27 = mul nsw i64 %26, %10 %28 = getelementptr inbounds i32, ptr %23, i64 %27 %29 = load i32, ptr %2, align 4 %30 = sub nsw i32 %29, 2 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i32, ptr %28, i64 %31 store i32 33, ptr %32, align 4 %33 = load i32, ptr %2, align 4 %34 = sub nsw i32 %33, 1 %35 = call i32 @foo(i32 noundef %34, ptr noundef %14) store i32 %35, ptr %1, align 4 %36 = load ptr, ptr %3, align 8 call void @llvm.stackrestore(ptr %36) %37 = load i32, ptr %1, align 4 ret i32 %37 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @foo(i32 noundef, ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpil4y8bi_.c' source_filename = "/tmp/tmpil4y8bi_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fb_show_cursor() #0 { %1 = call i32 @outb(i32 noundef 980, i32 noundef 10) %2 = call i32 @outb(i32 noundef 981, i32 noundef 0) ret void } declare i32 @outb(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/tmpil4y8bi_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fb_show_cursor() #0 { %1 = call i32 @outb(i32 noundef 980, i32 noundef 10) %2 = call i32 @outb(i32 noundef 981, i32 noundef 0) ret void } declare i32 @outb(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/tmphmg27xf2.c' source_filename = "/tmp/tmphmg27xf2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @HsFreePciDevice(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/tmphmg27xf2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @HsFreePciDevice(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/tmp8_qkoryh.c' source_filename = "/tmp/tmp8_qkoryh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"/\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_amule_path(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 %9 = load ptr, ptr %7, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %14, label %11 11: ; preds = %3 %12 = load ptr, ptr %5, align 8 %13 = call ptr @get_path(ptr noundef %12) store ptr %13, ptr %4, align 8 br label %68 14: ; preds = %3 %15 = load ptr, ptr %7, align 8 %16 = call i32 @strlen(ptr noundef %15) %17 = load ptr, ptr %5, align 8 %18 = call i32 @strlen(ptr noundef %17) %19 = add nsw i32 %16, %18 %20 = add nsw i32 %19, 2 %21 = call ptr @malloc(i32 noundef %20) store ptr %21, ptr %8, align 8 %22 = icmp eq ptr %21, null br i1 %22, label %23, label %24 23: ; preds = %14 store ptr null, ptr %4, align 8 br label %68 24: ; preds = %14 %25 = load ptr, ptr %8, align 8 %26 = load ptr, ptr %7, align 8 %27 = call i32 @strcpy(ptr noundef %25, ptr noundef %26) %28 = load i32, ptr %6, align 4 %29 = icmp ne i32 %28, 0 br i1 %29, label %30, label %49 30: ; preds = %24 %31 = load ptr, ptr %8, align 8 %32 = load ptr, ptr %8, align 8 %33 = call i32 @strlen(ptr noundef %32) %34 = sub nsw i32 %33, 1 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i8, ptr %31, i64 %35 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = load i8, ptr @.str, align 1 %40 = sext i8 %39 to i32 %41 = icmp ne i32 %38, %40 br i1 %41, label %42, label %45 42: ; preds = %30 %43 = load ptr, ptr %8, align 8 %44 = call i32 @strcat(ptr noundef %43, ptr noundef @.str) br label %45 45: ; preds = %42, %30 %46 = load ptr, ptr %8, align 8 %47 = load ptr, ptr %5, align 8 %48 = call i32 @strcat(ptr noundef %46, ptr noundef %47) br label %66 49: ; preds = %24 %50 = load ptr, ptr %8, align 8 %51 = load ptr, ptr %8, align 8 %52 = call i32 @strlen(ptr noundef %51) %53 = sub nsw i32 %52, 1 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i8, ptr %50, i64 %54 %56 = load i8, ptr %55, align 1 %57 = sext i8 %56 to i32 %58 = load i8, ptr @.str, align 1 %59 = sext i8 %58 to i32 %60 = icmp eq i32 %57, %59 br i1 %60, label %61, label %65 61: ; preds = %49 %62 = load ptr, ptr %8, align 8 %63 = load ptr, ptr %5, align 8 %64 = call i32 @strcat(ptr noundef %62, ptr noundef %63) br label %65 65: ; preds = %61, %49 br label %66 66: ; preds = %65, %45 %67 = load ptr, ptr %8, align 8 store ptr %67, ptr %4, align 8 br label %68 68: ; preds = %66, %23, %11 %69 = load ptr, ptr %4, align 8 ret ptr %69 } declare ptr @get_path(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8_qkoryh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"/\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_amule_path(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 %9 = load ptr, ptr %7, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %14, label %11 11: ; preds = %3 %12 = load ptr, ptr %5, align 8 %13 = call ptr @get_path(ptr noundef %12) store ptr %13, ptr %4, align 8 br label %68 14: ; preds = %3 %15 = load ptr, ptr %7, align 8 %16 = call i32 @strlen(ptr noundef %15) %17 = load ptr, ptr %5, align 8 %18 = call i32 @strlen(ptr noundef %17) %19 = add nsw i32 %16, %18 %20 = add nsw i32 %19, 2 %21 = call ptr @malloc(i32 noundef %20) store ptr %21, ptr %8, align 8 %22 = icmp eq ptr %21, null br i1 %22, label %23, label %24 23: ; preds = %14 store ptr null, ptr %4, align 8 br label %68 24: ; preds = %14 %25 = load ptr, ptr %8, align 8 %26 = load ptr, ptr %7, align 8 %27 = call i32 @strcpy(ptr noundef %25, ptr noundef %26) %28 = load i32, ptr %6, align 4 %29 = icmp ne i32 %28, 0 br i1 %29, label %30, label %49 30: ; preds = %24 %31 = load ptr, ptr %8, align 8 %32 = load ptr, ptr %8, align 8 %33 = call i32 @strlen(ptr noundef %32) %34 = sub nsw i32 %33, 1 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i8, ptr %31, i64 %35 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = load i8, ptr @.str, align 1 %40 = sext i8 %39 to i32 %41 = icmp ne i32 %38, %40 br i1 %41, label %42, label %45 42: ; preds = %30 %43 = load ptr, ptr %8, align 8 %44 = call i32 @strcat(ptr noundef %43, ptr noundef @.str) br label %45 45: ; preds = %42, %30 %46 = load ptr, ptr %8, align 8 %47 = load ptr, ptr %5, align 8 %48 = call i32 @strcat(ptr noundef %46, ptr noundef %47) br label %66 49: ; preds = %24 %50 = load ptr, ptr %8, align 8 %51 = load ptr, ptr %8, align 8 %52 = call i32 @strlen(ptr noundef %51) %53 = sub nsw i32 %52, 1 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i8, ptr %50, i64 %54 %56 = load i8, ptr %55, align 1 %57 = sext i8 %56 to i32 %58 = load i8, ptr @.str, align 1 %59 = sext i8 %58 to i32 %60 = icmp eq i32 %57, %59 br i1 %60, label %61, label %65 61: ; preds = %49 %62 = load ptr, ptr %8, align 8 %63 = load ptr, ptr %5, align 8 %64 = call i32 @strcat(ptr noundef %62, ptr noundef %63) br label %65 65: ; preds = %61, %49 br label %66 66: ; preds = %65, %45 %67 = load ptr, ptr %8, align 8 store ptr %67, ptr %4, align 8 br label %68 68: ; preds = %66, %23, %11 %69 = load ptr, ptr %4, align 8 ret ptr %69 } declare ptr @get_path(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjbfygk11.c' source_filename = "/tmp/tmpjbfygk11.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%f\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @extract_perc(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 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %10 = load ptr, ptr %4, align 8 %11 = call ptr @strchr(ptr noundef %10, i8 noundef signext 91) store ptr %11, ptr %6, align 8 %12 = load ptr, ptr %4, align 8 %13 = call ptr @strchr(ptr noundef %12, i8 noundef signext 37) store ptr %13, ptr %7, align 8 %14 = load ptr, ptr %6, align 8 %15 = icmp ne ptr %14, null br i1 %15, label %16, label %37 16: ; preds = %2 %17 = load ptr, ptr %7, align 8 %18 = icmp ne ptr %17, null br i1 %18, label %19, label %37 19: ; preds = %16 %20 = load ptr, ptr %7, align 8 %21 = load ptr, ptr %6, align 8 %22 = icmp ugt ptr %20, %21 br i1 %22, label %23, label %37 23: ; preds = %19 %24 = load ptr, ptr %7, align 8 %25 = load ptr, ptr %6, align 8 %26 = ptrtoint ptr %24 to i64 %27 = ptrtoint ptr %25 to i64 %28 = sub i64 %26, %27 store i64 %28, ptr %9, align 8 %29 = load ptr, ptr %6, align 8 %30 = getelementptr inbounds i8, ptr %29, i64 1 %31 = load i64, ptr %9, align 8 %32 = sub i64 %31, 1 %33 = call ptr @strndup(ptr noundef %30, i64 noundef %32) store ptr %33, ptr %8, align 8 %34 = load ptr, ptr %8, align 8 %35 = load ptr, ptr %5, align 8 %36 = call i32 @sscanf(ptr noundef %34, ptr noundef @.str, ptr noundef %35) store i32 0, ptr %3, align 4 br label %38 37: ; preds = %19, %16, %2 store i32 -1, ptr %3, align 4 br label %38 38: ; preds = %37, %23 %39 = load i32, ptr %3, align 4 ret i32 %39 } declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare ptr @strndup(ptr noundef, i64 noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjbfygk11.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%f\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @extract_perc(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 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %10 = load ptr, ptr %4, align 8 %11 = call ptr @strchr(ptr noundef %10, i8 noundef signext 91) store ptr %11, ptr %6, align 8 %12 = load ptr, ptr %4, align 8 %13 = call ptr @strchr(ptr noundef %12, i8 noundef signext 37) store ptr %13, ptr %7, align 8 %14 = load ptr, ptr %6, align 8 %15 = icmp ne ptr %14, null br i1 %15, label %16, label %37 16: ; preds = %2 %17 = load ptr, ptr %7, align 8 %18 = icmp ne ptr %17, null br i1 %18, label %19, label %37 19: ; preds = %16 %20 = load ptr, ptr %7, align 8 %21 = load ptr, ptr %6, align 8 %22 = icmp ugt ptr %20, %21 br i1 %22, label %23, label %37 23: ; preds = %19 %24 = load ptr, ptr %7, align 8 %25 = load ptr, ptr %6, align 8 %26 = ptrtoint ptr %24 to i64 %27 = ptrtoint ptr %25 to i64 %28 = sub i64 %26, %27 store i64 %28, ptr %9, align 8 %29 = load ptr, ptr %6, align 8 %30 = getelementptr inbounds i8, ptr %29, i64 1 %31 = load i64, ptr %9, align 8 %32 = sub i64 %31, 1 %33 = call ptr @strndup(ptr noundef %30, i64 noundef %32) store ptr %33, ptr %8, align 8 %34 = load ptr, ptr %8, align 8 %35 = load ptr, ptr %5, align 8 %36 = call i32 @sscanf(ptr noundef %34, ptr noundef @.str, ptr noundef %35) store i32 0, ptr %3, align 4 br label %38 37: ; preds = %19, %16, %2 store i32 -1, ptr %3, align 4 br label %38 38: ; preds = %37, %23 %39 = load i32, ptr %3, align 4 ret i32 %39 } declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare ptr @strndup(ptr noundef, i64 noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpiagev00m.c' source_filename = "/tmp/tmpiagev00m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pendfunc() #0 { %1 = call i32 (...) @pendfunc1() ret void } declare i32 @pendfunc1(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpiagev00m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pendfunc() #0 { %1 = call i32 (...) @pendfunc1() ret void } declare i32 @pendfunc1(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpivs7p35h.c' source_filename = "/tmp/tmpivs7p35h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"MIPS Simulator\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sim(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 = call i32 @printf(ptr noundef @.str) %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @initialize(ptr noundef %6, i32 noundef 1, ptr noundef %7) ret void } declare i32 @printf(ptr noundef) #1 declare i32 @initialize(ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpivs7p35h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"MIPS Simulator\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sim(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 = call i32 @printf(ptr noundef @.str) %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @initialize(ptr noundef %6, i32 noundef 1, ptr noundef %7) ret void } declare i32 @printf(ptr noundef) #1 declare i32 @initialize(ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0mjzetgo.c' source_filename = "/tmp/tmp0mjzetgo.c" target datalayout = "e-m:e-p270: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/tmp0mjzetgo.c" target datalayout = "e-m:e-p270: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/tmprqqfc9ia.c' source_filename = "/tmp/tmprqqfc9ia.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_fifo(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i64 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i64, align 8 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 store i64 %4, ptr %10, align 8 %17 = load i32, ptr %8, align 4 %18 = icmp ule i32 %17, 2147483647 %19 = zext i1 %18 to i32 %20 = call i32 @assert(i32 noundef %19) %21 = load i32, ptr %9, align 4 %22 = icmp ule i32 %21, 2147483647 %23 = zext i1 %22 to i32 %24 = call i32 @assert(i32 noundef %23) %25 = load ptr, ptr %6, align 8 %26 = icmp ne ptr %25, null %27 = zext i1 %26 to i32 %28 = call i32 @assert(i32 noundef %27) %29 = load i64, ptr %10, align 8 %30 = icmp ne i64 %29, 0 %31 = zext i1 %30 to i32 %32 = call i32 @assert(i32 noundef %31) store i32 0, ptr %11, align 4 %33 = load ptr, ptr %6, align 8 store ptr %33, ptr %12, align 8 %34 = load ptr, ptr %12, align 8 %35 = getelementptr inbounds i32, ptr %34, i64 1 %36 = load volatile i32, ptr %35, align 4 store i32 %36, ptr %13, align 4 %37 = load ptr, ptr %12, align 8 %38 = getelementptr inbounds i32, ptr %37, i64 0 %39 = load volatile i32, ptr %38, align 4 store i32 %39, ptr %14, align 4 store i32 0, ptr %15, align 4 store ptr null, ptr %16, align 8 br label %40 40: ; preds = %78, %5 %41 = load i32, ptr %14, align 4 %42 = load i32, ptr %13, align 4 %43 = icmp eq i32 %41, %42 br i1 %43, label %76, label %44 44: ; preds = %40 %45 = load i32, ptr %14, align 4 %46 = and i32 %45, -2147483648 %47 = load i32, ptr %13, align 4 %48 = and i32 %47, -2147483648 %49 = icmp eq i32 %46, %48 br i1 %49, label %50, label %65 50: ; preds = %44 %51 = load i32, ptr %14, align 4 %52 = and i32 %51, 2147483647 %53 = load i32, ptr %13, align 4 %54 = and i32 %53, 2147483647 %55 = icmp sge i32 %52, %54 br i1 %55, label %56, label %62 56: ; preds = %50 %57 = load i32, ptr %14, align 4 %58 = and i32 %57, 2147483647 %59 = load i32, ptr %13, align 4 %60 = and i32 %59, 2147483647 %61 = sub nsw i32 %58, %60 br label %63 62: ; preds = %50 br label %63 63: ; preds = %62, %56 %64 = phi i32 [ %61, %56 ], [ 0, %62 ] br label %72 65: ; preds = %44 %66 = load i32, ptr %14, align 4 %67 = and i32 %66, 2147483647 %68 = load i32, ptr %13, align 4 %69 = and i32 %68, 2147483647 %70 = sub nsw i32 %67, %69 %71 = add nsw i32 %70, 2147483647 br label %72 72: ; preds = %65, %63 %73 = phi i32 [ %64, %63 ], [ %71, %65 ] %74 = load i32, ptr %8, align 4 %75 = icmp ult i32 %73, %74 br label %76 76: ; preds = %72, %40 %77 = phi i1 [ true, %40 ], [ %75, %72 ] br i1 %77, label %78, label %84 78: ; preds = %76 %79 = load i64, ptr %10, align 8 %80 = call i32 @nsleep(i32 noundef 0, i64 noundef %79) %81 = load ptr, ptr %12, align 8 %82 = getelementptr inbounds i32, ptr %81, i64 0 %83 = load volatile i32, ptr %82, align 4 store i32 %83, ptr %14, align 4 br label %40, !llvm.loop !6 84: ; preds = %76 %85 = load i32, ptr %13, align 4 %86 = and i32 %85, 2147483647 store i32 %86, ptr %15, align 4 %87 = load ptr, ptr %7, align 8 store ptr %87, ptr %16, align 8 store i32 0, ptr %11, align 4 br label %88 88: ; preds = %105, %84 %89 = load i32, ptr %11, align 4 %90 = load i32, ptr %8, align 4 %91 = icmp ult i32 %89, %90 br i1 %91, label %92, label %108 92: ; preds = %88 %93 = load ptr, ptr %12, align 8 %94 = load i32, ptr %15, align 4 %95 = add nsw i32 %94, 2 %96 = load i32, ptr %11, align 4 %97 = add nsw i32 %95, %96 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds i32, ptr %93, i64 %98 %100 = load volatile i32, ptr %99, align 4 %101 = load ptr, ptr %16, align 8 %102 = load i32, ptr %11, align 4 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds i32, ptr %101, i64 %103 store volatile i32 %100, ptr %104, align 4 br label %105 105: ; preds = %92 %106 = load i32, ptr %11, align 4 %107 = add nsw i32 %106, 1 store i32 %107, ptr %11, align 4 br label %88, !llvm.loop !8 108: ; preds = %88 %109 = load i32, ptr %13, align 4 %110 = and i32 %109, 2147483647 store i32 %110, ptr %15, align 4 %111 = load i32, ptr %8, align 4 %112 = load i32, ptr %13, align 4 %113 = add i32 %112, %111 store i32 %113, ptr %13, align 4 %114 = load i32, ptr %13, align 4 %115 = and i32 %114, 2147483647 %116 = load i32, ptr %9, align 4 %117 = icmp eq i32 %115, %116 br i1 %117, label %123, label %118 118: ; preds = %108 %119 = load i32, ptr %15, align 4 %120 = load i32, ptr %13, align 4 %121 = and i32 %120, 2147483647 %122 = icmp sgt i32 %119, %121 br i1 %122, label %123, label %128 123: ; preds = %118, %108 %124 = load i32, ptr %13, align 4 %125 = and i32 %124, -2147483648 store i32 %125, ptr %13, align 4 %126 = load i32, ptr %13, align 4 %127 = xor i32 %126, -2147483648 store i32 %127, ptr %13, align 4 br label %128 128: ; preds = %123, %118 %129 = load i32, ptr %13, align 4 %130 = load ptr, ptr %12, align 8 %131 = getelementptr inbounds i32, ptr %130, i64 1 store volatile i32 %129, ptr %131, align 4 ret void } declare i32 @assert(i32 noundef) #1 declare i32 @nsleep(i32 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}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprqqfc9ia.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_fifo(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i64 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i64, align 8 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 store i64 %4, ptr %10, align 8 %17 = load i32, ptr %8, align 4 %18 = icmp ule i32 %17, 2147483647 %19 = zext i1 %18 to i32 %20 = call i32 @assert(i32 noundef %19) %21 = load i32, ptr %9, align 4 %22 = icmp ule i32 %21, 2147483647 %23 = zext i1 %22 to i32 %24 = call i32 @assert(i32 noundef %23) %25 = load ptr, ptr %6, align 8 %26 = icmp ne ptr %25, null %27 = zext i1 %26 to i32 %28 = call i32 @assert(i32 noundef %27) %29 = load i64, ptr %10, align 8 %30 = icmp ne i64 %29, 0 %31 = zext i1 %30 to i32 %32 = call i32 @assert(i32 noundef %31) store i32 0, ptr %11, align 4 %33 = load ptr, ptr %6, align 8 store ptr %33, ptr %12, align 8 %34 = load ptr, ptr %12, align 8 %35 = getelementptr inbounds i32, ptr %34, i64 1 %36 = load volatile i32, ptr %35, align 4 store i32 %36, ptr %13, align 4 %37 = load ptr, ptr %12, align 8 %38 = getelementptr inbounds i32, ptr %37, i64 0 %39 = load volatile i32, ptr %38, align 4 store i32 %39, ptr %14, align 4 store i32 0, ptr %15, align 4 store ptr null, ptr %16, align 8 br label %40 40: ; preds = %78, %5 %41 = load i32, ptr %14, align 4 %42 = load i32, ptr %13, align 4 %43 = icmp eq i32 %41, %42 br i1 %43, label %76, label %44 44: ; preds = %40 %45 = load i32, ptr %14, align 4 %46 = and i32 %45, -2147483648 %47 = load i32, ptr %13, align 4 %48 = and i32 %47, -2147483648 %49 = icmp eq i32 %46, %48 br i1 %49, label %50, label %65 50: ; preds = %44 %51 = load i32, ptr %14, align 4 %52 = and i32 %51, 2147483647 %53 = load i32, ptr %13, align 4 %54 = and i32 %53, 2147483647 %55 = icmp sge i32 %52, %54 br i1 %55, label %56, label %62 56: ; preds = %50 %57 = load i32, ptr %14, align 4 %58 = and i32 %57, 2147483647 %59 = load i32, ptr %13, align 4 %60 = and i32 %59, 2147483647 %61 = sub nsw i32 %58, %60 br label %63 62: ; preds = %50 br label %63 63: ; preds = %62, %56 %64 = phi i32 [ %61, %56 ], [ 0, %62 ] br label %72 65: ; preds = %44 %66 = load i32, ptr %14, align 4 %67 = and i32 %66, 2147483647 %68 = load i32, ptr %13, align 4 %69 = and i32 %68, 2147483647 %70 = sub nsw i32 %67, %69 %71 = add nsw i32 %70, 2147483647 br label %72 72: ; preds = %65, %63 %73 = phi i32 [ %64, %63 ], [ %71, %65 ] %74 = load i32, ptr %8, align 4 %75 = icmp ult i32 %73, %74 br label %76 76: ; preds = %72, %40 %77 = phi i1 [ true, %40 ], [ %75, %72 ] br i1 %77, label %78, label %84 78: ; preds = %76 %79 = load i64, ptr %10, align 8 %80 = call i32 @nsleep(i32 noundef 0, i64 noundef %79) %81 = load ptr, ptr %12, align 8 %82 = getelementptr inbounds i32, ptr %81, i64 0 %83 = load volatile i32, ptr %82, align 4 store i32 %83, ptr %14, align 4 br label %40, !llvm.loop !6 84: ; preds = %76 %85 = load i32, ptr %13, align 4 %86 = and i32 %85, 2147483647 store i32 %86, ptr %15, align 4 %87 = load ptr, ptr %7, align 8 store ptr %87, ptr %16, align 8 store i32 0, ptr %11, align 4 %88 = load i32, ptr %11, align 4 %89 = load i32, ptr %8, align 4 %90 = icmp ult i32 %88, %89 br i1 %90, label %.lr.ph, label %110 .lr.ph: ; preds = %84 br label %91 91: ; preds = %.lr.ph, %104 %92 = load ptr, ptr %12, align 8 %93 = load i32, ptr %15, align 4 %94 = add nsw i32 %93, 2 %95 = load i32, ptr %11, align 4 %96 = add nsw i32 %94, %95 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds i32, ptr %92, i64 %97 %99 = load volatile i32, ptr %98, align 4 %100 = load ptr, ptr %16, align 8 %101 = load i32, ptr %11, align 4 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds i32, ptr %100, i64 %102 store volatile i32 %99, ptr %103, align 4 br label %104 104: ; preds = %91 %105 = load i32, ptr %11, align 4 %106 = add nsw i32 %105, 1 store i32 %106, ptr %11, align 4 %107 = load i32, ptr %11, align 4 %108 = load i32, ptr %8, align 4 %109 = icmp ult i32 %107, %108 br i1 %109, label %91, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %104 br label %110 110: ; preds = %._crit_edge, %84 %111 = load i32, ptr %13, align 4 %112 = and i32 %111, 2147483647 store i32 %112, ptr %15, align 4 %113 = load i32, ptr %8, align 4 %114 = load i32, ptr %13, align 4 %115 = add i32 %114, %113 store i32 %115, ptr %13, align 4 %116 = load i32, ptr %13, align 4 %117 = and i32 %116, 2147483647 %118 = load i32, ptr %9, align 4 %119 = icmp eq i32 %117, %118 br i1 %119, label %125, label %120 120: ; preds = %110 %121 = load i32, ptr %15, align 4 %122 = load i32, ptr %13, align 4 %123 = and i32 %122, 2147483647 %124 = icmp sgt i32 %121, %123 br i1 %124, label %125, label %130 125: ; preds = %120, %110 %126 = load i32, ptr %13, align 4 %127 = and i32 %126, -2147483648 store i32 %127, ptr %13, align 4 %128 = load i32, ptr %13, align 4 %129 = xor i32 %128, -2147483648 store i32 %129, ptr %13, align 4 br label %130 130: ; preds = %125, %120 %131 = load i32, ptr %13, align 4 %132 = load ptr, ptr %12, align 8 %133 = getelementptr inbounds i32, ptr %132, i64 1 store volatile i32 %131, ptr %133, align 4 ret void } declare i32 @assert(i32 noundef) #1 declare i32 @nsleep(i32 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}