llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpvgeyhfvo.c' source_filename = "/tmp/tmpvgeyhfvo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @debugint(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = load i32, ptr %3, align 4 %7 = call i32 @printf(ptr noundef @.str, ptr noundef %5, i32 noundef %6) ret void } declare i32 @printf(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvgeyhfvo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @debugint(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = load i32, ptr %3, align 4 %7 = call i32 @printf(ptr noundef @.str, ptr noundef %5, i32 noundef %6) ret void } declare i32 @printf(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvlgn2zbk.c' source_filename = "/tmp/tmpvlgn2zbk.c" target datalayout = "e-m:e-p270: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/tmpvlgn2zbk.c" target datalayout = "e-m:e-p270: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/tmpjrhsycn6.c' source_filename = "/tmp/tmpjrhsycn6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter the size of array : \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"Enter array elements\00", align 1 @.str.3 = private unnamed_addr constant [49 x i8] c"The length of longest alternating subarray is : \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) %10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %11 = load i32, ptr %2, align 4 %12 = zext i32 %11 to i64 %13 = call ptr @llvm.stacksave() store ptr %13, ptr %3, align 8 %14 = alloca i32, i64 %12, align 16 store i64 %12, ptr %4, align 8 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %5, align 4 br label %16 16: ; preds = %25, %0 %17 = load i32, ptr %5, align 4 %18 = load i32, ptr %2, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %20, label %28 20: ; preds = %16 %21 = load i32, ptr %5, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i32, ptr %14, i64 %22 %24 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %23) br label %25 25: ; preds = %20 %26 = load i32, ptr %5, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %5, align 4 br label %16, !llvm.loop !6 28: ; preds = %16 store i32 1, ptr %6, align 4 store i32 1, ptr %7, align 4 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 1, ptr %8, align 4 br label %30 30: ; preds = %57, %28 %31 = load i32, ptr %8, align 4 %32 = load i32, ptr %2, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %34, label %60 34: ; preds = %30 %35 = load i32, ptr %8, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i32, ptr %14, i64 %36 %38 = load i32, ptr %37, align 4 %39 = load i32, ptr %8, align 4 %40 = sub nsw i32 %39, 1 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i32, ptr %14, i64 %41 %43 = load i32, ptr %42, align 4 %44 = mul nsw i32 %38, %43 %45 = icmp slt i32 %44, 0 br i1 %45, label %46, label %55 46: ; preds = %34 %47 = load i32, ptr %7, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %7, align 4 %49 = load i32, ptr %7, align 4 %50 = load i32, ptr %6, align 4 %51 = icmp sgt i32 %49, %50 br i1 %51, label %52, label %54 52: ; preds = %46 %53 = load i32, ptr %7, align 4 store i32 %53, ptr %6, align 4 br label %54 54: ; preds = %52, %46 br label %56 55: ; preds = %34 store i32 1, ptr %7, align 4 br label %56 56: ; preds = %55, %54 br label %57 57: ; preds = %56 %58 = load i32, ptr %8, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %8, align 4 br label %30, !llvm.loop !8 60: ; preds = %30 %61 = load i32, ptr %6, align 4 %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %61) %63 = load ptr, ptr %3, align 8 call void @llvm.stackrestore(ptr %63) %64 = load i32, ptr %1, align 4 ret i32 %64 } 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 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjrhsycn6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter the size of array : \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"Enter array elements\00", align 1 @.str.3 = private unnamed_addr constant [49 x i8] c"The length of longest alternating subarray is : \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) %10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %11 = load i32, ptr %2, align 4 %12 = zext i32 %11 to i64 %13 = call ptr @llvm.stacksave() store ptr %13, ptr %3, align 8 %14 = alloca i32, i64 %12, align 16 store i64 %12, ptr %4, align 8 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %5, align 4 %16 = load i32, ptr %5, align 4 %17 = load i32, ptr %2, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %.lr.ph, label %30 .lr.ph: ; preds = %0 br label %19 19: ; preds = %.lr.ph, %24 %20 = load i32, ptr %5, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i32, ptr %14, i64 %21 %23 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %22) br label %24 24: ; preds = %19 %25 = load i32, ptr %5, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %5, align 4 %27 = load i32, ptr %5, align 4 %28 = load i32, ptr %2, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %30 30: ; preds = %._crit_edge, %0 store i32 1, ptr %6, align 4 store i32 1, ptr %7, align 4 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 1, ptr %8, align 4 %32 = load i32, ptr %8, align 4 %33 = load i32, ptr %2, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %.lr.ph2, label %64 .lr.ph2: ; preds = %30 br label %35 35: ; preds = %.lr.ph2, %58 %36 = load i32, ptr %8, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i32, ptr %14, i64 %37 %39 = load i32, ptr %38, align 4 %40 = load i32, ptr %8, align 4 %41 = sub nsw i32 %40, 1 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i32, ptr %14, i64 %42 %44 = load i32, ptr %43, align 4 %45 = mul nsw i32 %39, %44 %46 = icmp slt i32 %45, 0 br i1 %46, label %47, label %56 47: ; preds = %35 %48 = load i32, ptr %7, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %7, align 4 %50 = load i32, ptr %7, align 4 %51 = load i32, ptr %6, align 4 %52 = icmp sgt i32 %50, %51 br i1 %52, label %53, label %55 53: ; preds = %47 %54 = load i32, ptr %7, align 4 store i32 %54, ptr %6, align 4 br label %55 55: ; preds = %53, %47 br label %57 56: ; preds = %35 store i32 1, ptr %7, align 4 br label %57 57: ; preds = %56, %55 br label %58 58: ; preds = %57 %59 = load i32, ptr %8, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %8, align 4 %61 = load i32, ptr %8, align 4 %62 = load i32, ptr %2, align 4 %63 = icmp slt i32 %61, %62 br i1 %63, label %35, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %58 br label %64 64: ; preds = %._crit_edge3, %30 %65 = load i32, ptr %6, align 4 %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %65) %67 = load ptr, ptr %3, align 8 call void @llvm.stackrestore(ptr %67) %68 = load i32, ptr %1, align 4 ret i32 %68 } 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 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpcdvmrpiv.c' source_filename = "/tmp/tmpcdvmrpiv.c" target datalayout = "e-m:e-p270: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/tmpcdvmrpiv.c" target datalayout = "e-m:e-p270: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/tmpw9939s42.c' source_filename = "/tmp/tmpw9939s42.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [45 x i8] c"Distributor is not enabled in configuration\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_distributor_perf() #0 { %1 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw9939s42.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [45 x i8] c"Distributor is not enabled in configuration\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_distributor_perf() #0 { %1 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpm3p06xpy.c' source_filename = "/tmp/tmpm3p06xpy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 i64 @malloc(i32 noundef 64) %7 = inttoptr i64 %6 to ptr %8 = call i32 @func1(ptr noundef %7) ret i32 0 } declare i32 @func1(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm3p06xpy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 i64 @malloc(i32 noundef 64) %7 = inttoptr i64 %6 to ptr %8 = call i32 @func1(ptr noundef %7) ret i32 0 } declare i32 @func1(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppd2ug6se.c' source_filename = "/tmp/tmppd2ug6se.c" target datalayout = "e-m:e-p270: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/tmppd2ug6se.c" target datalayout = "e-m:e-p270: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/tmplya8j827.c' source_filename = "/tmp/tmplya8j827.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"funca\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @funca() #0 { %1 = call i32 @puts(ptr noundef @.str) ret void } declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplya8j827.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"funca\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @funca() #0 { %1 = call i32 @puts(ptr noundef @.str) ret void } declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0sbyxciy.c' source_filename = "/tmp/tmp0sbyxciy.c" target datalayout = "e-m:e-p270: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/tmp0sbyxciy.c" target datalayout = "e-m:e-p270: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/tmpy49odh_b.c' source_filename = "/tmp/tmpy49odh_b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"================================\0A\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"ARRAYS #1\0A\00", align 1 @__const.main.b = private unnamed_addr constant [8 x i32] [i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7], align 16 @.str.2 = private unnamed_addr constant [35 x i8] c"\0A[1] ----------------------------\0A\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"Non-initialized array:\0A\00", align 1 @.str.4 = private unnamed_addr constant [11 x i8] c"[%i] = %i\0A\00", align 1 @.str.5 = private unnamed_addr constant [35 x i8] c"\0A[2] ----------------------------\0A\00", align 1 @.str.6 = private unnamed_addr constant [20 x i8] c"Initialized array:\0A\00", align 1 @.str.7 = private unnamed_addr constant [35 x i8] c"\0A[3] ----------------------------\0A\00", align 1 @.str.8 = private unnamed_addr constant [28 x i8] c"Dinamic initialized array:\0A\00", align 1 @.str.9 = private unnamed_addr constant [14 x i8] c"[%i] = %.1lf\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca [8 x i32], align 16 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca double, align 8 %13 = 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 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str) %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %16 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 8, ptr %6, align 4 %17 = call ptr @llvm.stacksave() store ptr %17, ptr %7, align 8 %18 = alloca i32, i64 8, align 16 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 @__const.main.b, i64 32, i1 false) %19 = alloca double, i64 8, align 16 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 0, ptr %9, align 4 br label %22 22: ; preds = %32, %2 %23 = load i32, ptr %9, align 4 %24 = icmp slt i32 %23, 8 br i1 %24, label %25, label %35 25: ; preds = %22 %26 = load i32, ptr %9, align 4 %27 = load i32, ptr %9, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i32, ptr %18, i64 %28 %30 = load i32, ptr %29, align 4 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %26, i32 noundef %30) br label %32 32: ; preds = %25 %33 = load i32, ptr %9, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %9, align 4 br label %22, !llvm.loop !6 35: ; preds = %22 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) store i32 0, ptr %10, align 4 br label %38 38: ; preds = %48, %35 %39 = load i32, ptr %10, align 4 %40 = icmp slt i32 %39, 8 br i1 %40, label %41, label %51 41: ; preds = %38 %42 = load i32, ptr %10, align 4 %43 = load i32, ptr %10, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds [8 x i32], ptr %8, i64 0, i64 %44 %46 = load i32, ptr %45, align 4 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %42, i32 noundef %46) br label %48 48: ; preds = %41 %49 = load i32, ptr %10, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %10, align 4 br label %38, !llvm.loop !8 51: ; preds = %38 %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) store i32 0, ptr %11, align 4 br label %54 54: ; preds = %65, %51 %55 = load i32, ptr %11, align 4 %56 = icmp slt i32 %55, 8 br i1 %56, label %57, label %68 57: ; preds = %54 %58 = load i32, ptr %11, align 4 %59 = sitofp i32 %58 to double %60 = fmul double %59, 1.000000e+01 store double %60, ptr %12, align 8 %61 = load double, ptr %12, align 8 %62 = load i32, ptr %11, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds double, ptr %19, i64 %63 store double %61, ptr %64, align 8 br label %65 65: ; preds = %57 %66 = load i32, ptr %11, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %11, align 4 br label %54, !llvm.loop !9 68: ; preds = %54 store i32 0, ptr %13, align 4 br label %69 69: ; preds = %79, %68 %70 = load i32, ptr %13, align 4 %71 = icmp slt i32 %70, 8 br i1 %71, label %72, label %82 72: ; preds = %69 %73 = load i32, ptr %13, align 4 %74 = load i32, ptr %13, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds double, ptr %19, i64 %75 %77 = load double, ptr %76, align 8 %78 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %73, double noundef %77) br label %79 79: ; preds = %72 %80 = load i32, ptr %13, align 4 %81 = add nsw i32 %80, 1 store i32 %81, ptr %13, align 4 br label %69, !llvm.loop !10 82: ; preds = %69 %83 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %83, ptr %3, align 4 %84 = load ptr, ptr %7, align 8 call void @llvm.stackrestore(ptr %84) %85 = load i32, ptr %3, align 4 ret i32 %85 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 ; 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) #3 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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 } attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy49odh_b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"================================\0A\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"ARRAYS #1\0A\00", align 1 @__const.main.b = private unnamed_addr constant [8 x i32] [i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7], align 16 @.str.2 = private unnamed_addr constant [35 x i8] c"\0A[1] ----------------------------\0A\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"Non-initialized array:\0A\00", align 1 @.str.4 = private unnamed_addr constant [11 x i8] c"[%i] = %i\0A\00", align 1 @.str.5 = private unnamed_addr constant [35 x i8] c"\0A[2] ----------------------------\0A\00", align 1 @.str.6 = private unnamed_addr constant [20 x i8] c"Initialized array:\0A\00", align 1 @.str.7 = private unnamed_addr constant [35 x i8] c"\0A[3] ----------------------------\0A\00", align 1 @.str.8 = private unnamed_addr constant [28 x i8] c"Dinamic initialized array:\0A\00", align 1 @.str.9 = private unnamed_addr constant [14 x i8] c"[%i] = %.1lf\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca [8 x i32], align 16 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca double, align 8 %13 = 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 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str) %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %16 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 8, ptr %6, align 4 %17 = call ptr @llvm.stacksave() store ptr %17, ptr %7, align 8 %18 = alloca i32, i64 8, align 16 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 @__const.main.b, i64 32, i1 false) %19 = alloca double, i64 8, align 16 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 0, ptr %9, align 4 %22 = load i32, ptr %9, align 4 %23 = icmp slt i32 %22, 8 br i1 %23, label %.lr.ph, label %36 .lr.ph: ; preds = %2 br label %24 24: ; preds = %.lr.ph, %31 %25 = load i32, ptr %9, align 4 %26 = load i32, ptr %9, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i32, ptr %18, i64 %27 %29 = load i32, ptr %28, align 4 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %25, i32 noundef %29) br label %31 31: ; preds = %24 %32 = load i32, ptr %9, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %9, align 4 %34 = load i32, ptr %9, align 4 %35 = icmp slt i32 %34, 8 br i1 %35, label %24, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %31 br label %36 36: ; preds = %._crit_edge, %2 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) store i32 0, ptr %10, align 4 %39 = load i32, ptr %10, align 4 %40 = icmp slt i32 %39, 8 br i1 %40, label %.lr.ph2, label %53 .lr.ph2: ; preds = %36 br label %41 41: ; preds = %.lr.ph2, %48 %42 = load i32, ptr %10, align 4 %43 = load i32, ptr %10, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds [8 x i32], ptr %8, i64 0, i64 %44 %46 = load i32, ptr %45, align 4 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %42, i32 noundef %46) br label %48 48: ; preds = %41 %49 = load i32, ptr %10, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %10, align 4 %51 = load i32, ptr %10, align 4 %52 = icmp slt i32 %51, 8 br i1 %52, label %41, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %48 br label %53 53: ; preds = %._crit_edge3, %36 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) store i32 0, ptr %11, align 4 %56 = load i32, ptr %11, align 4 %57 = icmp slt i32 %56, 8 br i1 %57, label %.lr.ph5, label %71 .lr.ph5: ; preds = %53 br label %58 58: ; preds = %.lr.ph5, %66 %59 = load i32, ptr %11, align 4 %60 = sitofp i32 %59 to double %61 = fmul double %60, 1.000000e+01 store double %61, ptr %12, align 8 %62 = load double, ptr %12, align 8 %63 = load i32, ptr %11, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds double, ptr %19, i64 %64 store double %62, ptr %65, align 8 br label %66 66: ; preds = %58 %67 = load i32, ptr %11, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %11, align 4 %69 = load i32, ptr %11, align 4 %70 = icmp slt i32 %69, 8 br i1 %70, label %58, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %66 br label %71 71: ; preds = %._crit_edge6, %53 store i32 0, ptr %13, align 4 %72 = load i32, ptr %13, align 4 %73 = icmp slt i32 %72, 8 br i1 %73, label %.lr.ph8, label %86 .lr.ph8: ; preds = %71 br label %74 74: ; preds = %.lr.ph8, %81 %75 = load i32, ptr %13, align 4 %76 = load i32, ptr %13, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds double, ptr %19, i64 %77 %79 = load double, ptr %78, align 8 %80 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %75, double noundef %79) br label %81 81: ; preds = %74 %82 = load i32, ptr %13, align 4 %83 = add nsw i32 %82, 1 store i32 %83, ptr %13, align 4 %84 = load i32, ptr %13, align 4 %85 = icmp slt i32 %84, 8 br i1 %85, label %74, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %81 br label %86 86: ; preds = %._crit_edge9, %71 %87 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %87, ptr %3, align 4 %88 = load ptr, ptr %7, align 8 call void @llvm.stackrestore(ptr %88) %89 = load i32, ptr %3, align 4 ret i32 %89 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 ; 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) #3 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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 } attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmp3j82nn3r.c' source_filename = "/tmp/tmp3j82nn3r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"nil\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @init_symbols() #0 { %1 = call i32 @add_new_symbol_first(ptr noundef @.str) ret void } declare i32 @add_new_symbol_first(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3j82nn3r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"nil\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @init_symbols() #0 { %1 = call i32 @add_new_symbol_first(ptr noundef @.str) ret void } declare i32 @add_new_symbol_first(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxszefil2.c' source_filename = "/tmp/tmpxszefil2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @init_arrays() %3 = call i32 @main1(i32 noundef 2000, i32 noundef 2000, i32 noundef 1) %4 = call i32 @main1(i32 noundef 0, i32 noundef 1599, i32 noundef 0) ret i32 0 } declare i32 @init_arrays(...) #1 declare i32 @main1(i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxszefil2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @init_arrays() %3 = call i32 @main1(i32 noundef 2000, i32 noundef 2000, i32 noundef 1) %4 = call i32 @main1(i32 noundef 0, i32 noundef 1599, i32 noundef 0) ret i32 0 } declare i32 @init_arrays(...) #1 declare i32 @main1(i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpv75gvdzn.c' source_filename = "/tmp/tmpv75gvdzn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ZBarcode_Encode_and_Buffer_Vector(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 %12 = load ptr, ptr %6, align 8 %13 = load ptr, ptr %7, align 8 %14 = load i32, ptr %8, align 4 %15 = call i32 @ZBarcode_Encode(ptr noundef %12, ptr noundef %13, i32 noundef %14) store i32 %15, ptr %10, align 4 %16 = load i32, ptr %10, align 4 %17 = icmp sge i32 %16, 5 br i1 %17, label %18, label %20 18: ; preds = %4 %19 = load i32, ptr %10, align 4 store i32 %19, ptr %5, align 4 br label %31 20: ; preds = %4 %21 = load i32, ptr %10, align 4 store i32 %21, ptr %11, align 4 %22 = load ptr, ptr %6, align 8 %23 = load i32, ptr %9, align 4 %24 = call i32 @ZBarcode_Buffer_Vector(ptr noundef %22, i32 noundef %23) store i32 %24, ptr %10, align 4 %25 = load i32, ptr %10, align 4 %26 = icmp eq i32 %25, 0 br i1 %26, label %27, label %29 27: ; preds = %20 %28 = load i32, ptr %11, align 4 store i32 %28, ptr %10, align 4 br label %29 29: ; preds = %27, %20 %30 = load i32, ptr %10, align 4 store i32 %30, ptr %5, align 4 br label %31 31: ; preds = %29, %18 %32 = load i32, ptr %5, align 4 ret i32 %32 } declare i32 @ZBarcode_Encode(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @ZBarcode_Buffer_Vector(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/tmpv75gvdzn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ZBarcode_Encode_and_Buffer_Vector(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 %12 = load ptr, ptr %6, align 8 %13 = load ptr, ptr %7, align 8 %14 = load i32, ptr %8, align 4 %15 = call i32 @ZBarcode_Encode(ptr noundef %12, ptr noundef %13, i32 noundef %14) store i32 %15, ptr %10, align 4 %16 = load i32, ptr %10, align 4 %17 = icmp sge i32 %16, 5 br i1 %17, label %18, label %20 18: ; preds = %4 %19 = load i32, ptr %10, align 4 store i32 %19, ptr %5, align 4 br label %31 20: ; preds = %4 %21 = load i32, ptr %10, align 4 store i32 %21, ptr %11, align 4 %22 = load ptr, ptr %6, align 8 %23 = load i32, ptr %9, align 4 %24 = call i32 @ZBarcode_Buffer_Vector(ptr noundef %22, i32 noundef %23) store i32 %24, ptr %10, align 4 %25 = load i32, ptr %10, align 4 %26 = icmp eq i32 %25, 0 br i1 %26, label %27, label %29 27: ; preds = %20 %28 = load i32, ptr %11, align 4 store i32 %28, ptr %10, align 4 br label %29 29: ; preds = %27, %20 %30 = load i32, ptr %10, align 4 store i32 %30, ptr %5, align 4 br label %31 31: ; preds = %29, %18 %32 = load i32, ptr %5, align 4 ret i32 %32 } declare i32 @ZBarcode_Encode(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @ZBarcode_Buffer_Vector(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/tmp36lon_sj.c' source_filename = "/tmp/tmp36lon_sj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strpbrknul(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [256 x i8], align 16 %6 = alloca i8, align 1 %7 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %8 = load ptr, ptr %3, align 8 store ptr %8, ptr %7, align 8 %9 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %10 = call i32 @memset(ptr noundef %9, i32 noundef 0, i32 noundef 256) br label %11 11: ; preds = %16, %2 %12 = load ptr, ptr %4, align 8 %13 = getelementptr inbounds i8, ptr %12, i32 1 store ptr %13, ptr %4, align 8 %14 = load i8, ptr %12, align 1 store i8 %14, ptr %6, align 1 %15 = icmp ne i8 %14, 0 br i1 %15, label %16, label %20 16: ; preds = %11 %17 = load i8, ptr %6, align 1 %18 = sext i8 %17 to i64 %19 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 %18 store i8 1, ptr %19, align 1 br label %11, !llvm.loop !6 20: ; preds = %11 br label %21 21: ; preds = %33, %20 %22 = load ptr, ptr %7, align 8 %23 = getelementptr inbounds i8, ptr %22, i32 1 store ptr %23, ptr %7, align 8 %24 = load i8, ptr %22, align 1 store i8 %24, ptr %6, align 1 %25 = icmp ne i8 %24, 0 br i1 %25, label %26, label %34 26: ; preds = %21 %27 = load i8, ptr %6, align 1 %28 = sext i8 %27 to i64 %29 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 %28 %30 = load i8, ptr %29, align 1 %31 = icmp ne i8 %30, 0 br i1 %31, label %33, label %32 32: ; preds = %26 br label %34 33: ; preds = %26 br label %21, !llvm.loop !8 34: ; preds = %32, %21 %35 = load ptr, ptr %7, align 8 %36 = getelementptr inbounds i8, ptr %35, i64 -1 ret ptr %36 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp36lon_sj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strpbrknul(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [256 x i8], align 16 %6 = alloca i8, align 1 %7 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %8 = load ptr, ptr %3, align 8 store ptr %8, ptr %7, align 8 %9 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %10 = call i32 @memset(ptr noundef %9, i32 noundef 0, i32 noundef 256) %11 = load ptr, ptr %4, align 8 %12 = getelementptr inbounds i8, ptr %11, i32 1 store ptr %12, ptr %4, align 8 %13 = load i8, ptr %11, align 1 store i8 %13, ptr %6, align 1 %14 = icmp ne i8 %13, 0 br i1 %14, label %.lr.ph, label %23 .lr.ph: ; preds = %2 br label %15 15: ; preds = %.lr.ph, %15 %16 = load i8, ptr %6, align 1 %17 = sext i8 %16 to i64 %18 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 %17 store i8 1, ptr %18, align 1 %19 = load ptr, ptr %4, align 8 %20 = getelementptr inbounds i8, ptr %19, i32 1 store ptr %20, ptr %4, align 8 %21 = load i8, ptr %19, align 1 store i8 %21, ptr %6, align 1 %22 = icmp ne i8 %21, 0 br i1 %22, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %15 br label %23 23: ; preds = %._crit_edge, %2 %24 = load ptr, ptr %7, align 8 %25 = getelementptr inbounds i8, ptr %24, i32 1 store ptr %25, ptr %7, align 8 %26 = load i8, ptr %24, align 1 store i8 %26, ptr %6, align 1 %27 = icmp ne i8 %26, 0 br i1 %27, label %.lr.ph2, label %.loopexit .lr.ph2: ; preds = %23 br label %33 28: ; preds = %33 %29 = load ptr, ptr %7, align 8 %30 = getelementptr inbounds i8, ptr %29, i32 1 store ptr %30, ptr %7, align 8 %31 = load i8, ptr %29, align 1 store i8 %31, ptr %6, align 1 %32 = icmp ne i8 %31, 0 br i1 %32, label %33, label %..loopexit_crit_edge, !llvm.loop !8 33: ; preds = %.lr.ph2, %28 %34 = load i8, ptr %6, align 1 %35 = sext i8 %34 to i64 %36 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 %35 %37 = load i8, ptr %36, align 1 %38 = icmp ne i8 %37, 0 br i1 %38, label %28, label %39 39: ; preds = %33 br label %40 ..loopexit_crit_edge: ; preds = %28 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %23 br label %40 40: ; preds = %.loopexit, %39 %41 = load ptr, ptr %7, align 8 %42 = getelementptr inbounds i8, ptr %41, i64 -1 ret ptr %42 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpnx_2_6f4.c' source_filename = "/tmp/tmpnx_2_6f4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gbm_simulation(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4) #0 { %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 store double %0, ptr %6, align 8 store double %1, ptr %7, align 8 store double %2, ptr %8, align 8 store double %3, ptr %9, align 8 store double %4, ptr %10, align 8 %13 = load double, ptr %7, align 8 %14 = load double, ptr %8, align 8 %15 = call double @pow(double noundef %14, double noundef 2.000000e+00) #2 %16 = fdiv double %15, 2.000000e+00 %17 = fsub double %13, %16 %18 = load double, ptr %9, align 8 %19 = fmul double %17, %18 store double %19, ptr %11, align 8 %20 = load double, ptr %8, align 8 %21 = load double, ptr %9, align 8 %22 = call double @pow(double noundef %21, double noundef 5.000000e-01) #2 %23 = fmul double %20, %22 %24 = load double, ptr %10, align 8 %25 = fmul double %23, %24 store double %25, ptr %12, align 8 %26 = load double, ptr %6, align 8 %27 = load double, ptr %11, align 8 %28 = load double, ptr %12, align 8 %29 = fadd double %27, %28 %30 = call double @exp(double noundef %29) #2 %31 = fmul double %26, %30 ret double %31 } ; Function Attrs: nounwind declare double @pow(double noundef, double noundef) #1 ; Function Attrs: nounwind declare double @exp(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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/tmpnx_2_6f4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gbm_simulation(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4) #0 { %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 store double %0, ptr %6, align 8 store double %1, ptr %7, align 8 store double %2, ptr %8, align 8 store double %3, ptr %9, align 8 store double %4, ptr %10, align 8 %13 = load double, ptr %7, align 8 %14 = load double, ptr %8, align 8 %15 = call double @pow(double noundef %14, double noundef 2.000000e+00) #2 %16 = fdiv double %15, 2.000000e+00 %17 = fsub double %13, %16 %18 = load double, ptr %9, align 8 %19 = fmul double %17, %18 store double %19, ptr %11, align 8 %20 = load double, ptr %8, align 8 %21 = load double, ptr %9, align 8 %22 = call double @pow(double noundef %21, double noundef 5.000000e-01) #2 %23 = fmul double %20, %22 %24 = load double, ptr %10, align 8 %25 = fmul double %23, %24 store double %25, ptr %12, align 8 %26 = load double, ptr %6, align 8 %27 = load double, ptr %11, align 8 %28 = load double, ptr %12, align 8 %29 = fadd double %27, %28 %30 = call double @exp(double noundef %29) #2 %31 = fmul double %26, %30 ret double %31 } ; Function Attrs: nounwind declare double @pow(double noundef, double noundef) #1 ; Function Attrs: nounwind declare double @exp(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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/tmp1h9dy7w9.c' source_filename = "/tmp/tmp1h9dy7w9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @testAlwaysReturnNull(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call ptr @alwaysReturnNull(ptr noundef %4) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 store i32 1, ptr %6, align 4 ret void } declare ptr @alwaysReturnNull(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1h9dy7w9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @testAlwaysReturnNull(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call ptr @alwaysReturnNull(ptr noundef %4) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 store i32 1, ptr %6, align 4 ret void } declare ptr @alwaysReturnNull(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmgbcvt2j.c' source_filename = "/tmp/tmpmgbcvt2j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SEEK_SET = dso_local global i32 0, align 4 @EOF = dso_local global i64 0, align 8 @LONG_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @fsize(ptr noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = load i32, ptr @SEEK_SET, align 4 %9 = call i32 @fseek(ptr noundef %7, i64 noundef 0, i32 noundef %8) %10 = icmp ne i32 %9, 0 br i1 %10, label %16, label %11 11: ; preds = %1 %12 = load ptr, ptr %3, align 8 %13 = call i64 @fgetc(ptr noundef %12) %14 = load i64, ptr @EOF, align 8 %15 = icmp eq i64 %13, %14 br i1 %15, label %16, label %17 16: ; preds = %11, %1 store i64 0, ptr %2, align 8 br label %85 17: ; preds = %11 store i64 1, ptr %4, align 8 br label %18 18: ; preds = %40, %17 %19 = load ptr, ptr %3, align 8 %20 = load i64, ptr %4, align 8 %21 = load i32, ptr @SEEK_SET, align 4 %22 = call i32 @fseek(ptr noundef %19, i64 noundef %20, i32 noundef %21) store i32 %22, ptr %6, align 4 %23 = icmp eq i32 %22, 0 br i1 %23, label %24, label %38 24: ; preds = %18 %25 = load ptr, ptr %3, align 8 %26 = call i64 @fgetc(ptr noundef %25) %27 = load i64, ptr @EOF, align 8 %28 = icmp eq i64 %26, %27 %29 = zext i1 %28 to i32 store i32 %29, ptr %6, align 4 %30 = icmp eq i32 %29, 0 br i1 %30, label %31, label %38 31: ; preds = %24 %32 = load i64, ptr %4, align 8 %33 = load i32, ptr @LONG_MAX, align 4 %34 = sdiv i32 %33, 4 %35 = add nsw i32 %34, 1 %36 = sext i32 %35 to i64 %37 = icmp sle i64 %32, %36 br label %38 38: ; preds = %31, %24, %18 %39 = phi i1 [ false, %24 ], [ false, %18 ], [ %37, %31 ] br i1 %39, label %40, label %43 40: ; preds = %38 %41 = load i64, ptr %4, align 8 %42 = mul nsw i64 %41, 2 store i64 %42, ptr %4, align 8 br label %18, !llvm.loop !6 43: ; preds = %38 %44 = load i32, ptr %6, align 4 %45 = icmp ne i32 %44, 0 br i1 %45, label %46, label %49 46: ; preds = %43 %47 = load i64, ptr %4, align 8 %48 = sdiv i64 %47, 2 store i64 %48, ptr %4, align 8 br label %49 49: ; preds = %46, %43 %50 = load i64, ptr %4, align 8 %51 = sdiv i64 %50, 2 store i64 %51, ptr %5, align 8 br label %52 52: ; preds = %73, %49 %53 = load i64, ptr %5, align 8 %54 = icmp ne i64 %53, 0 br i1 %54, label %55, label %76 55: ; preds = %52 %56 = load ptr, ptr %3, align 8 %57 = load i64, ptr %4, align 8 %58 = load i64, ptr %5, align 8 %59 = add nsw i64 %57, %58 %60 = load i32, ptr @SEEK_SET, align 4 %61 = call i32 @fseek(ptr noundef %56, i64 noundef %59, i32 noundef %60) %62 = icmp eq i32 %61, 0 br i1 %62, label %63, label %72 63: ; preds = %55 %64 = load ptr, ptr %3, align 8 %65 = call i64 @fgetc(ptr noundef %64) %66 = load i64, ptr @EOF, align 8 %67 = icmp ne i64 %65, %66 br i1 %67, label %68, label %72 68: ; preds = %63 %69 = load i64, ptr %5, align 8 %70 = load i64, ptr %4, align 8 %71 = add nsw i64 %70, %69 store i64 %71, ptr %4, align 8 br label %72 72: ; preds = %68, %63, %55 br label %73 73: ; preds = %72 %74 = load i64, ptr %5, align 8 %75 = sdiv i64 %74, 2 store i64 %75, ptr %5, align 8 br label %52, !llvm.loop !8 76: ; preds = %52 %77 = load i64, ptr %4, align 8 %78 = load i32, ptr @LONG_MAX, align 4 %79 = sext i32 %78 to i64 %80 = icmp eq i64 %77, %79 br i1 %80, label %81, label %82 81: ; preds = %76 store i64 -1, ptr %2, align 8 br label %85 82: ; preds = %76 %83 = load i64, ptr %4, align 8 %84 = add nsw i64 %83, 1 store i64 %84, ptr %2, align 8 br label %85 85: ; preds = %82, %81, %16 %86 = load i64, ptr %2, align 8 ret i64 %86 } declare i32 @fseek(ptr noundef, i64 noundef, i32 noundef) #1 declare i64 @fgetc(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpmgbcvt2j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SEEK_SET = dso_local global i32 0, align 4 @EOF = dso_local global i64 0, align 8 @LONG_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @fsize(ptr noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = load i32, ptr @SEEK_SET, align 4 %9 = call i32 @fseek(ptr noundef %7, i64 noundef 0, i32 noundef %8) %10 = icmp ne i32 %9, 0 br i1 %10, label %16, label %11 11: ; preds = %1 %12 = load ptr, ptr %3, align 8 %13 = call i64 @fgetc(ptr noundef %12) %14 = load i64, ptr @EOF, align 8 %15 = icmp eq i64 %13, %14 br i1 %15, label %16, label %17 16: ; preds = %11, %1 store i64 0, ptr %2, align 8 br label %86 17: ; preds = %11 store i64 1, ptr %4, align 8 br label %18 18: ; preds = %40, %17 %19 = load ptr, ptr %3, align 8 %20 = load i64, ptr %4, align 8 %21 = load i32, ptr @SEEK_SET, align 4 %22 = call i32 @fseek(ptr noundef %19, i64 noundef %20, i32 noundef %21) store i32 %22, ptr %6, align 4 %23 = icmp eq i32 %22, 0 br i1 %23, label %24, label %38 24: ; preds = %18 %25 = load ptr, ptr %3, align 8 %26 = call i64 @fgetc(ptr noundef %25) %27 = load i64, ptr @EOF, align 8 %28 = icmp eq i64 %26, %27 %29 = zext i1 %28 to i32 store i32 %29, ptr %6, align 4 %30 = icmp eq i32 %29, 0 br i1 %30, label %31, label %38 31: ; preds = %24 %32 = load i64, ptr %4, align 8 %33 = load i32, ptr @LONG_MAX, align 4 %34 = sdiv i32 %33, 4 %35 = add nsw i32 %34, 1 %36 = sext i32 %35 to i64 %37 = icmp sle i64 %32, %36 br label %38 38: ; preds = %31, %24, %18 %39 = phi i1 [ false, %24 ], [ false, %18 ], [ %37, %31 ] br i1 %39, label %40, label %43 40: ; preds = %38 %41 = load i64, ptr %4, align 8 %42 = mul nsw i64 %41, 2 store i64 %42, ptr %4, align 8 br label %18, !llvm.loop !6 43: ; preds = %38 %44 = load i32, ptr %6, align 4 %45 = icmp ne i32 %44, 0 br i1 %45, label %46, label %49 46: ; preds = %43 %47 = load i64, ptr %4, align 8 %48 = sdiv i64 %47, 2 store i64 %48, ptr %4, align 8 br label %49 49: ; preds = %46, %43 %50 = load i64, ptr %4, align 8 %51 = sdiv i64 %50, 2 store i64 %51, ptr %5, align 8 %52 = load i64, ptr %5, align 8 %53 = icmp ne i64 %52, 0 br i1 %53, label %.lr.ph, label %77 .lr.ph: ; preds = %49 br label %54 54: ; preds = %.lr.ph, %72 %55 = load ptr, ptr %3, align 8 %56 = load i64, ptr %4, align 8 %57 = load i64, ptr %5, align 8 %58 = add nsw i64 %56, %57 %59 = load i32, ptr @SEEK_SET, align 4 %60 = call i32 @fseek(ptr noundef %55, i64 noundef %58, i32 noundef %59) %61 = icmp eq i32 %60, 0 br i1 %61, label %62, label %71 62: ; preds = %54 %63 = load ptr, ptr %3, align 8 %64 = call i64 @fgetc(ptr noundef %63) %65 = load i64, ptr @EOF, align 8 %66 = icmp ne i64 %64, %65 br i1 %66, label %67, label %71 67: ; preds = %62 %68 = load i64, ptr %5, align 8 %69 = load i64, ptr %4, align 8 %70 = add nsw i64 %69, %68 store i64 %70, ptr %4, align 8 br label %71 71: ; preds = %67, %62, %54 br label %72 72: ; preds = %71 %73 = load i64, ptr %5, align 8 %74 = sdiv i64 %73, 2 store i64 %74, ptr %5, align 8 %75 = load i64, ptr %5, align 8 %76 = icmp ne i64 %75, 0 br i1 %76, label %54, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %72 br label %77 77: ; preds = %._crit_edge, %49 %78 = load i64, ptr %4, align 8 %79 = load i32, ptr @LONG_MAX, align 4 %80 = sext i32 %79 to i64 %81 = icmp eq i64 %78, %80 br i1 %81, label %82, label %83 82: ; preds = %77 store i64 -1, ptr %2, align 8 br label %86 83: ; preds = %77 %84 = load i64, ptr %4, align 8 %85 = add nsw i64 %84, 1 store i64 %85, ptr %2, align 8 br label %86 86: ; preds = %83, %82, %16 %87 = load i64, ptr %2, align 8 ret i64 %87 } declare i32 @fseek(ptr noundef, i64 noundef, i32 noundef) #1 declare i64 @fgetc(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmplqfq45s8.c' source_filename = "/tmp/tmplqfq45s8.c" target datalayout = "e-m:e-p270: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/tmplqfq45s8.c" target datalayout = "e-m:e-p270: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/tmpzeynvkay.c' source_filename = "/tmp/tmpzeynvkay.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @update_cursor(i16 noundef zeroext %0) #0 { %2 = alloca i16, align 2 store i16 %0, ptr %2, align 2 %3 = load i16, ptr %2, align 2 %4 = zext i16 %3 to i32 %5 = sdiv i32 %4, 2 %6 = trunc i32 %5 to i16 store i16 %6, ptr %2, align 2 %7 = call i32 @outb(i32 noundef 980, i16 noundef zeroext 14) %8 = load i16, ptr %2, align 2 %9 = zext i16 %8 to i32 %10 = ashr i32 %9, 8 %11 = and i32 %10, 255 %12 = trunc i32 %11 to i16 %13 = call i32 @outb(i32 noundef 981, i16 noundef zeroext %12) %14 = call i32 @outb(i32 noundef 980, i16 noundef zeroext 15) %15 = load i16, ptr %2, align 2 %16 = zext i16 %15 to i32 %17 = and i32 %16, 255 %18 = trunc i32 %17 to i16 %19 = call i32 @outb(i32 noundef 981, i16 noundef zeroext %18) ret void } declare i32 @outb(i32 noundef, i16 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzeynvkay.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @update_cursor(i16 noundef zeroext %0) #0 { %2 = alloca i16, align 2 store i16 %0, ptr %2, align 2 %3 = load i16, ptr %2, align 2 %4 = zext i16 %3 to i32 %5 = sdiv i32 %4, 2 %6 = trunc i32 %5 to i16 store i16 %6, ptr %2, align 2 %7 = call i32 @outb(i32 noundef 980, i16 noundef zeroext 14) %8 = load i16, ptr %2, align 2 %9 = zext i16 %8 to i32 %10 = ashr i32 %9, 8 %11 = and i32 %10, 255 %12 = trunc i32 %11 to i16 %13 = call i32 @outb(i32 noundef 981, i16 noundef zeroext %12) %14 = call i32 @outb(i32 noundef 980, i16 noundef zeroext 15) %15 = load i16, ptr %2, align 2 %16 = zext i16 %15 to i32 %17 = and i32 %16, 255 %18 = trunc i32 %17 to i16 %19 = call i32 @outb(i32 noundef 981, i16 noundef zeroext %18) ret void } declare i32 @outb(i32 noundef, i16 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpx3zvb57l.c' source_filename = "/tmp/tmpx3zvb57l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0AEnding connection...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @siginthandler(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpx3zvb57l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0AEnding connection...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @siginthandler(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphpt90g94.c' source_filename = "/tmp/tmphpt90g94.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @KbFilter_Complete(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %8 = load i32, ptr %6, align 4 store i32 %8, ptr %7, align 4 %9 = load i32, ptr %7, align 4 %10 = call i32 @KeSetEvent(i32 noundef %9, i32 noundef 0, i32 noundef 0) ret i32 -1073741802 } declare i32 @KeSetEvent(i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphpt90g94.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @KbFilter_Complete(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %8 = load i32, ptr %6, align 4 store i32 %8, ptr %7, align 4 %9 = load i32, ptr %7, align 4 %10 = call i32 @KeSetEvent(i32 noundef %9, i32 noundef 0, i32 noundef 0) ret i32 -1073741802 } declare i32 @KeSetEvent(i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzx47do98.c' source_filename = "/tmp/tmpzx47do98.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @iir_mem2_10(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca [3 x i32], align 4 %14 = alloca [3 x i32], align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store i32 %3, ptr %10, align 4 store i32 %4, ptr %11, align 4 store ptr %5, ptr %12, align 8 store i32 0, ptr %15, align 4 br label %18 18: ; preds = %41, %6 %19 = load i32, ptr %15, align 4 %20 = icmp slt i32 %19, 2 br i1 %20, label %21, label %44 21: ; preds = %18 %22 = load ptr, ptr %12, align 8 %23 = load i32, ptr %15, align 4 %24 = mul nsw i32 4, %23 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds float, ptr %22, i64 %25 %27 = call i32 @_mm_loadu_ps(ptr noundef %26) %28 = load i32, ptr %15, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %29 store i32 %27, ptr %30, align 4 %31 = load ptr, ptr %8, align 8 %32 = load i32, ptr %15, align 4 %33 = mul nsw i32 4, %32 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds float, ptr %31, i64 %34 %36 = getelementptr inbounds float, ptr %35, i64 1 %37 = call i32 @_mm_loadu_ps(ptr noundef %36) %38 = load i32, ptr %15, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds [3 x i32], ptr %13, i64 0, i64 %39 store i32 %37, ptr %40, align 4 br label %41 41: ; preds = %21 %42 = load i32, ptr %15, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %15, align 4 br label %18, !llvm.loop !6 44: ; preds = %18 %45 = load ptr, ptr %12, align 8 %46 = getelementptr inbounds float, ptr %45, i64 8 %47 = load float, ptr %46, align 4 %48 = load ptr, ptr %12, align 8 %49 = getelementptr inbounds float, ptr %48, i64 9 %50 = load float, ptr %49, align 4 %51 = call i32 @_mm_setr_ps(float noundef %47, float noundef %50, i32 noundef 0, i32 noundef 0) %52 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 2 store i32 %51, ptr %52, align 4 %53 = load ptr, ptr %8, align 8 %54 = getelementptr inbounds float, ptr %53, i64 9 %55 = load float, ptr %54, align 4 %56 = load ptr, ptr %8, align 8 %57 = getelementptr inbounds float, ptr %56, i64 10 %58 = load float, ptr %57, align 4 %59 = call i32 @_mm_setr_ps(float noundef %55, float noundef %58, i32 noundef 0, i32 noundef 0) %60 = getelementptr inbounds [3 x i32], ptr %13, i64 0, i64 2 store i32 %59, ptr %60, align 4 store i32 0, ptr %15, align 4 br label %61 61: ; preds = %138, %44 %62 = load i32, ptr %15, align 4 %63 = load i32, ptr %10, align 4 %64 = icmp slt i32 %62, %63 br i1 %64, label %65, label %141 65: ; preds = %61 %66 = load ptr, ptr %7, align 8 %67 = load i32, ptr %15, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds float, ptr %66, i64 %68 %70 = call i32 @_mm_load_ps1(ptr noundef %69) store i32 %70, ptr %16, align 4 %71 = load i32, ptr %16, align 4 %72 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 0 %73 = load i32, ptr %72, align 4 %74 = call i32 @_mm_add_ss(i32 noundef %71, i32 noundef %73) store i32 %74, ptr %17, align 4 %75 = load ptr, ptr %9, align 8 %76 = load i32, ptr %15, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds float, ptr %75, i64 %77 %79 = load i32, ptr %17, align 4 %80 = call i32 @_mm_store_ss(ptr noundef %78, i32 noundef %79) %81 = load i32, ptr %17, align 4 %82 = load i32, ptr %17, align 4 %83 = call i32 @_mm_shuffle_ps(i32 noundef %81, i32 noundef %82, i32 noundef 0) store i32 %83, ptr %17, align 4 %84 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 0 %85 = load i32, ptr %84, align 4 %86 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 1 %87 = load i32, ptr %86, align 4 %88 = call i32 @_mm_move_ss(i32 noundef %85, i32 noundef %87) %89 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 0 store i32 %88, ptr %89, align 4 %90 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 0 %91 = load i32, ptr %90, align 4 %92 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 0 %93 = load i32, ptr %92, align 4 %94 = call i32 @_mm_shuffle_ps(i32 noundef %91, i32 noundef %93, i32 noundef 57) %95 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 0 store i32 %94, ptr %95, align 4 %96 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 0 %97 = load i32, ptr %96, align 4 %98 = load i32, ptr %17, align 4 %99 = getelementptr inbounds [3 x i32], ptr %13, i64 0, i64 0 %100 = load i32, ptr %99, align 4 %101 = call i32 @_mm_mul_ps(i32 noundef %98, i32 noundef %100) %102 = call i32 @_mm_sub_ps(i32 noundef %97, i32 noundef %101) %103 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 0 store i32 %102, ptr %103, align 4 %104 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 1 %105 = load i32, ptr %104, align 4 %106 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 2 %107 = load i32, ptr %106, align 4 %108 = call i32 @_mm_move_ss(i32 noundef %105, i32 noundef %107) %109 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 1 store i32 %108, ptr %109, align 4 %110 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 1 %111 = load i32, ptr %110, align 4 %112 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 1 %113 = load i32, ptr %112, align 4 %114 = call i32 @_mm_shuffle_ps(i32 noundef %111, i32 noundef %113, i32 noundef 57) %115 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 1 store i32 %114, ptr %115, align 4 %116 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 1 %117 = load i32, ptr %116, align 4 %118 = load i32, ptr %17, align 4 %119 = getelementptr inbounds [3 x i32], ptr %13, i64 0, i64 1 %120 = load i32, ptr %119, align 4 %121 = call i32 @_mm_mul_ps(i32 noundef %118, i32 noundef %120) %122 = call i32 @_mm_sub_ps(i32 noundef %117, i32 noundef %121) %123 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 1 store i32 %122, ptr %123, align 4 %124 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 2 %125 = load i32, ptr %124, align 4 %126 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 2 %127 = load i32, ptr %126, align 4 %128 = call i32 @_mm_shuffle_ps(i32 noundef %125, i32 noundef %127, i32 noundef 253) %129 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 2 store i32 %128, ptr %129, align 4 %130 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 2 %131 = load i32, ptr %130, align 4 %132 = load i32, ptr %17, align 4 %133 = getelementptr inbounds [3 x i32], ptr %13, i64 0, i64 2 %134 = load i32, ptr %133, align 4 %135 = call i32 @_mm_mul_ps(i32 noundef %132, i32 noundef %134) %136 = call i32 @_mm_sub_ps(i32 noundef %131, i32 noundef %135) %137 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 2 store i32 %136, ptr %137, align 4 br label %138 138: ; preds = %65 %139 = load i32, ptr %15, align 4 %140 = add nsw i32 %139, 1 store i32 %140, ptr %15, align 4 br label %61, !llvm.loop !8 141: ; preds = %61 %142 = load ptr, ptr %12, align 8 %143 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 0 %144 = load i32, ptr %143, align 4 %145 = call i32 @_mm_storeu_ps(ptr noundef %142, i32 noundef %144) %146 = load ptr, ptr %12, align 8 %147 = getelementptr inbounds float, ptr %146, i64 4 %148 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 1 %149 = load i32, ptr %148, align 4 %150 = call i32 @_mm_storeu_ps(ptr noundef %147, i32 noundef %149) %151 = load ptr, ptr %12, align 8 %152 = getelementptr inbounds float, ptr %151, i64 8 %153 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 2 %154 = load i32, ptr %153, align 4 %155 = call i32 @_mm_store_ss(ptr noundef %152, i32 noundef %154) %156 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 2 %157 = load i32, ptr %156, align 4 %158 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 2 %159 = load i32, ptr %158, align 4 %160 = call i32 @_mm_shuffle_ps(i32 noundef %157, i32 noundef %159, i32 noundef 85) %161 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 2 store i32 %160, ptr %161, align 4 %162 = load ptr, ptr %12, align 8 %163 = getelementptr inbounds float, ptr %162, i64 9 %164 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 2 %165 = load i32, ptr %164, align 4 %166 = call i32 @_mm_store_ss(ptr noundef %163, i32 noundef %165) ret void } declare i32 @_mm_loadu_ps(ptr noundef) #1 declare i32 @_mm_setr_ps(float noundef, float noundef, i32 noundef, i32 noundef) #1 declare i32 @_mm_load_ps1(ptr noundef) #1 declare i32 @_mm_add_ss(i32 noundef, i32 noundef) #1 declare i32 @_mm_store_ss(ptr noundef, i32 noundef) #1 declare i32 @_mm_shuffle_ps(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @_mm_move_ss(i32 noundef, i32 noundef) #1 declare i32 @_mm_sub_ps(i32 noundef, i32 noundef) #1 declare i32 @_mm_mul_ps(i32 noundef, i32 noundef) #1 declare i32 @_mm_storeu_ps(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzx47do98.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @iir_mem2_10(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca [3 x i32], align 4 %14 = alloca [3 x i32], align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store i32 %3, ptr %10, align 4 store i32 %4, ptr %11, align 4 store ptr %5, ptr %12, align 8 store i32 0, ptr %15, align 4 %18 = load i32, ptr %15, align 4 %19 = icmp slt i32 %18, 2 br i1 %19, label %.lr.ph, label %45 .lr.ph: ; preds = %6 br label %20 20: ; preds = %.lr.ph, %40 %21 = load ptr, ptr %12, align 8 %22 = load i32, ptr %15, align 4 %23 = mul nsw i32 4, %22 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds float, ptr %21, i64 %24 %26 = call i32 @_mm_loadu_ps(ptr noundef %25) %27 = load i32, ptr %15, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 %28 store i32 %26, ptr %29, align 4 %30 = load ptr, ptr %8, align 8 %31 = load i32, ptr %15, align 4 %32 = mul nsw i32 4, %31 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds float, ptr %30, i64 %33 %35 = getelementptr inbounds float, ptr %34, i64 1 %36 = call i32 @_mm_loadu_ps(ptr noundef %35) %37 = load i32, ptr %15, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds [3 x i32], ptr %13, i64 0, i64 %38 store i32 %36, ptr %39, align 4 br label %40 40: ; preds = %20 %41 = load i32, ptr %15, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %15, align 4 %43 = load i32, ptr %15, align 4 %44 = icmp slt i32 %43, 2 br i1 %44, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %40 br label %45 45: ; preds = %._crit_edge, %6 %46 = load ptr, ptr %12, align 8 %47 = getelementptr inbounds float, ptr %46, i64 8 %48 = load float, ptr %47, align 4 %49 = load ptr, ptr %12, align 8 %50 = getelementptr inbounds float, ptr %49, i64 9 %51 = load float, ptr %50, align 4 %52 = call i32 @_mm_setr_ps(float noundef %48, float noundef %51, i32 noundef 0, i32 noundef 0) %53 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 2 store i32 %52, ptr %53, align 4 %54 = load ptr, ptr %8, align 8 %55 = getelementptr inbounds float, ptr %54, i64 9 %56 = load float, ptr %55, align 4 %57 = load ptr, ptr %8, align 8 %58 = getelementptr inbounds float, ptr %57, i64 10 %59 = load float, ptr %58, align 4 %60 = call i32 @_mm_setr_ps(float noundef %56, float noundef %59, i32 noundef 0, i32 noundef 0) %61 = getelementptr inbounds [3 x i32], ptr %13, i64 0, i64 2 store i32 %60, ptr %61, align 4 store i32 0, ptr %15, align 4 %62 = load i32, ptr %15, align 4 %63 = load i32, ptr %10, align 4 %64 = icmp slt i32 %62, %63 br i1 %64, label %.lr.ph2, label %144 .lr.ph2: ; preds = %45 br label %65 65: ; preds = %.lr.ph2, %138 %66 = load ptr, ptr %7, align 8 %67 = load i32, ptr %15, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds float, ptr %66, i64 %68 %70 = call i32 @_mm_load_ps1(ptr noundef %69) store i32 %70, ptr %16, align 4 %71 = load i32, ptr %16, align 4 %72 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 0 %73 = load i32, ptr %72, align 4 %74 = call i32 @_mm_add_ss(i32 noundef %71, i32 noundef %73) store i32 %74, ptr %17, align 4 %75 = load ptr, ptr %9, align 8 %76 = load i32, ptr %15, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds float, ptr %75, i64 %77 %79 = load i32, ptr %17, align 4 %80 = call i32 @_mm_store_ss(ptr noundef %78, i32 noundef %79) %81 = load i32, ptr %17, align 4 %82 = load i32, ptr %17, align 4 %83 = call i32 @_mm_shuffle_ps(i32 noundef %81, i32 noundef %82, i32 noundef 0) store i32 %83, ptr %17, align 4 %84 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 0 %85 = load i32, ptr %84, align 4 %86 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 1 %87 = load i32, ptr %86, align 4 %88 = call i32 @_mm_move_ss(i32 noundef %85, i32 noundef %87) %89 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 0 store i32 %88, ptr %89, align 4 %90 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 0 %91 = load i32, ptr %90, align 4 %92 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 0 %93 = load i32, ptr %92, align 4 %94 = call i32 @_mm_shuffle_ps(i32 noundef %91, i32 noundef %93, i32 noundef 57) %95 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 0 store i32 %94, ptr %95, align 4 %96 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 0 %97 = load i32, ptr %96, align 4 %98 = load i32, ptr %17, align 4 %99 = getelementptr inbounds [3 x i32], ptr %13, i64 0, i64 0 %100 = load i32, ptr %99, align 4 %101 = call i32 @_mm_mul_ps(i32 noundef %98, i32 noundef %100) %102 = call i32 @_mm_sub_ps(i32 noundef %97, i32 noundef %101) %103 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 0 store i32 %102, ptr %103, align 4 %104 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 1 %105 = load i32, ptr %104, align 4 %106 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 2 %107 = load i32, ptr %106, align 4 %108 = call i32 @_mm_move_ss(i32 noundef %105, i32 noundef %107) %109 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 1 store i32 %108, ptr %109, align 4 %110 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 1 %111 = load i32, ptr %110, align 4 %112 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 1 %113 = load i32, ptr %112, align 4 %114 = call i32 @_mm_shuffle_ps(i32 noundef %111, i32 noundef %113, i32 noundef 57) %115 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 1 store i32 %114, ptr %115, align 4 %116 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 1 %117 = load i32, ptr %116, align 4 %118 = load i32, ptr %17, align 4 %119 = getelementptr inbounds [3 x i32], ptr %13, i64 0, i64 1 %120 = load i32, ptr %119, align 4 %121 = call i32 @_mm_mul_ps(i32 noundef %118, i32 noundef %120) %122 = call i32 @_mm_sub_ps(i32 noundef %117, i32 noundef %121) %123 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 1 store i32 %122, ptr %123, align 4 %124 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 2 %125 = load i32, ptr %124, align 4 %126 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 2 %127 = load i32, ptr %126, align 4 %128 = call i32 @_mm_shuffle_ps(i32 noundef %125, i32 noundef %127, i32 noundef 253) %129 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 2 store i32 %128, ptr %129, align 4 %130 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 2 %131 = load i32, ptr %130, align 4 %132 = load i32, ptr %17, align 4 %133 = getelementptr inbounds [3 x i32], ptr %13, i64 0, i64 2 %134 = load i32, ptr %133, align 4 %135 = call i32 @_mm_mul_ps(i32 noundef %132, i32 noundef %134) %136 = call i32 @_mm_sub_ps(i32 noundef %131, i32 noundef %135) %137 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 2 store i32 %136, ptr %137, align 4 br label %138 138: ; preds = %65 %139 = load i32, ptr %15, align 4 %140 = add nsw i32 %139, 1 store i32 %140, ptr %15, align 4 %141 = load i32, ptr %15, align 4 %142 = load i32, ptr %10, align 4 %143 = icmp slt i32 %141, %142 br i1 %143, label %65, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %138 br label %144 144: ; preds = %._crit_edge3, %45 %145 = load ptr, ptr %12, align 8 %146 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 0 %147 = load i32, ptr %146, align 4 %148 = call i32 @_mm_storeu_ps(ptr noundef %145, i32 noundef %147) %149 = load ptr, ptr %12, align 8 %150 = getelementptr inbounds float, ptr %149, i64 4 %151 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 1 %152 = load i32, ptr %151, align 4 %153 = call i32 @_mm_storeu_ps(ptr noundef %150, i32 noundef %152) %154 = load ptr, ptr %12, align 8 %155 = getelementptr inbounds float, ptr %154, i64 8 %156 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 2 %157 = load i32, ptr %156, align 4 %158 = call i32 @_mm_store_ss(ptr noundef %155, i32 noundef %157) %159 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 2 %160 = load i32, ptr %159, align 4 %161 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 2 %162 = load i32, ptr %161, align 4 %163 = call i32 @_mm_shuffle_ps(i32 noundef %160, i32 noundef %162, i32 noundef 85) %164 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 2 store i32 %163, ptr %164, align 4 %165 = load ptr, ptr %12, align 8 %166 = getelementptr inbounds float, ptr %165, i64 9 %167 = getelementptr inbounds [3 x i32], ptr %14, i64 0, i64 2 %168 = load i32, ptr %167, align 4 %169 = call i32 @_mm_store_ss(ptr noundef %166, i32 noundef %168) ret void } declare i32 @_mm_loadu_ps(ptr noundef) #1 declare i32 @_mm_setr_ps(float noundef, float noundef, i32 noundef, i32 noundef) #1 declare i32 @_mm_load_ps1(ptr noundef) #1 declare i32 @_mm_add_ss(i32 noundef, i32 noundef) #1 declare i32 @_mm_store_ss(ptr noundef, i32 noundef) #1 declare i32 @_mm_shuffle_ps(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @_mm_move_ss(i32 noundef, i32 noundef) #1 declare i32 @_mm_sub_ps(i32 noundef, i32 noundef) #1 declare i32 @_mm_mul_ps(i32 noundef, i32 noundef) #1 declare i32 @_mm_storeu_ps(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp591vdhe5.c' source_filename = "/tmp/tmp591vdhe5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @prereadcount(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %6 = call i32 @readdata(i32 noundef 4, ptr noundef %5, i32 noundef 0) store i32 %6, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp ne i32 %7, 1 br i1 %8, label %9, label %11 9: ; preds = %1 %10 = load i32, ptr %4, align 4 store i32 %10, ptr %2, align 4 br label %21 11: ; preds = %1 %12 = call i32 @readdata(i32 noundef 4, ptr noundef %5, i32 noundef 1) store i32 %12, ptr %4, align 4 %13 = load i32, ptr %4, align 4 %14 = icmp ne i32 %13, 1 br i1 %14, label %15, label %17 15: ; preds = %11 %16 = load i32, ptr %4, align 4 store i32 %16, ptr %2, align 4 br label %21 17: ; preds = %11 %18 = load i32, ptr %5, align 4 %19 = call i32 @byteswap(i32 noundef %18) %20 = load ptr, ptr %3, align 8 store i32 %19, ptr %20, align 4 store i32 1, ptr %2, align 4 br label %21 21: ; preds = %17, %15, %9 %22 = load i32, ptr %2, align 4 ret i32 %22 } declare i32 @readdata(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @byteswap(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/tmp591vdhe5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @prereadcount(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %6 = call i32 @readdata(i32 noundef 4, ptr noundef %5, i32 noundef 0) store i32 %6, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp ne i32 %7, 1 br i1 %8, label %9, label %11 9: ; preds = %1 %10 = load i32, ptr %4, align 4 store i32 %10, ptr %2, align 4 br label %21 11: ; preds = %1 %12 = call i32 @readdata(i32 noundef 4, ptr noundef %5, i32 noundef 1) store i32 %12, ptr %4, align 4 %13 = load i32, ptr %4, align 4 %14 = icmp ne i32 %13, 1 br i1 %14, label %15, label %17 15: ; preds = %11 %16 = load i32, ptr %4, align 4 store i32 %16, ptr %2, align 4 br label %21 17: ; preds = %11 %18 = load i32, ptr %5, align 4 %19 = call i32 @byteswap(i32 noundef %18) %20 = load ptr, ptr %3, align 8 store i32 %19, ptr %20, align 4 store i32 1, ptr %2, align 4 br label %21 21: ; preds = %17, %15, %9 %22 = load i32, ptr %2, align 4 ret i32 %22 } declare i32 @readdata(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @byteswap(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/tmp7glzt9k6.c' source_filename = "/tmp/tmp7glzt9k6.c" target datalayout = "e-m:e-p270: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_in = type { %struct.TYPE_2__, i32, i32 } %struct.TYPE_2__ = type { i32 } @__const.main.message = private unnamed_addr constant [13 x i8] c"Hello, Net!\0A\00", align 1 @.str = private unnamed_addr constant [39 x i8] c"Usage: tcp-client <server-ip-address>\0A\00", align 1 @PF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @IPPROTO_TCP = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [32 x i8] c"Error creating socket, aborted\0A\00", align 1 @AF_INET = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [34 x i8] c"Client started, connecting to %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [27 x i8] c"Error connecting, aborted\0A\00", align 1 @.str.4 = private unnamed_addr constant [24 x i8] c"Error writing to socket\00", align 1 @.str.5 = private unnamed_addr constant [11 x i8] c"Received: \00", align 1 @.str.6 = private unnamed_addr constant [28 x i8] c"<Error reading from socket>\00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.8 = private unnamed_addr constant [18 x i8] c"\0AClient finished\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 %struct.sockaddr_in, align 4 %8 = alloca ptr, align 8 %9 = alloca i16, align 2 %10 = alloca [13 x i8], align 1 %11 = alloca [256 x i8], align 16 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i16 2222, ptr %9, align 2 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %10, ptr align 1 @__const.main.message, i64 13, i1 false) %14 = load i32, ptr %4, align 4 %15 = icmp ne i32 %14, 2 br i1 %15, label %16, label %18 16: ; preds = %2 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 1, ptr %3, align 4 br label %94 18: ; preds = %2 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 1 %21 = load ptr, ptr %20, align 8 store ptr %21, ptr %8, align 8 %22 = load i32, ptr @PF_INET, align 4 %23 = load i32, ptr @SOCK_STREAM, align 4 %24 = load i32, ptr @IPPROTO_TCP, align 4 %25 = call i32 @socket(i32 noundef %22, i32 noundef %23, i32 noundef %24) store i32 %25, ptr %6, align 4 %26 = load i32, ptr %6, align 4 %27 = icmp slt i32 %26, 0 br i1 %27, label %28, label %30 28: ; preds = %18 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 1, ptr %3, align 4 br label %94 30: ; preds = %18 %31 = call i32 @memset(ptr noundef %7, i32 noundef 0, i32 noundef 12) %32 = load i32, ptr @AF_INET, align 4 %33 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 2 store i32 %32, ptr %33, align 4 %34 = load ptr, ptr %8, align 8 %35 = call i32 @inet_addr(ptr noundef %34) %36 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0 %37 = getelementptr inbounds %struct.TYPE_2__, ptr %36, i32 0, i32 0 store i32 %35, ptr %37, align 4 %38 = load i16, ptr %9, align 2 %39 = call i32 @htons(i16 noundef zeroext %38) %40 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 1 store i32 %39, ptr %40, align 4 %41 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0 %42 = getelementptr inbounds %struct.TYPE_2__, ptr %41, i32 0, i32 0 %43 = load i32, ptr %42, align 4 %44 = call ptr @inet_ntoa(i32 %43) %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %44) %46 = load i32, ptr %6, align 4 %47 = call i64 @connect(i32 noundef %46, ptr noundef %7, i32 noundef 12) %48 = icmp slt i64 %47, 0 br i1 %48, label %49, label %51 49: ; preds = %30 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 1, ptr %3, align 4 br label %94 51: ; preds = %30 %52 = load i32, ptr %6, align 4 %53 = getelementptr inbounds [13 x i8], ptr %10, i64 0, i64 0 %54 = getelementptr inbounds [13 x i8], ptr %10, i64 0, i64 0 %55 = call i32 @strlen(ptr noundef %54) %56 = add nsw i32 %55, 1 %57 = call i64 @send(i32 noundef %52, ptr noundef %53, i32 noundef %56, i32 noundef 0) %58 = icmp slt i64 %57, 0 br i1 %58, label %59, label %61 59: ; preds = %51 %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) store i32 1, ptr %3, align 4 br label %94 61: ; preds = %51 store i32 0, ptr %13, align 4 %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %63 63: ; preds = %81, %61 %64 = load i32, ptr %13, align 4 %65 = getelementptr inbounds [13 x i8], ptr %10, i64 0, i64 0 %66 = call i32 @strlen(ptr noundef %65) %67 = add nsw i32 %66, 1 %68 = icmp slt i32 %64, %67 br i1 %68, label %69, label %90 69: ; preds = %63 %70 = load i32, ptr %6, align 4 %71 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0 %72 = call i32 @recv(i32 noundef %70, ptr noundef %71, i32 noundef 256, i32 noundef 0) store i32 %72, ptr %12, align 4 %73 = load i32, ptr %12, align 4 %74 = icmp sle i32 %73, 0 br i1 %74, label %75, label %81 75: ; preds = %69 %76 = load i32, ptr %12, align 4 %77 = icmp slt i32 %76, 0 br i1 %77, label %78, label %80 78: ; preds = %75 %79 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %80 80: ; preds = %78, %75 br label %90 81: ; preds = %69 %82 = load i32, ptr %12, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 %83 store i8 0, ptr %84, align 1 %85 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0 %86 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %85) %87 = load i32, ptr %12, align 4 %88 = load i32, ptr %13, align 4 %89 = add nsw i32 %88, %87 store i32 %89, ptr %13, align 4 br label %63, !llvm.loop !6 90: ; preds = %80, %63 %91 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %92 = load i32, ptr %6, align 4 %93 = call i32 @close(i32 noundef %92) store i32 0, ptr %3, align 4 br label %94 94: ; preds = %90, %59, %49, %28, %16 %95 = load i32, ptr %3, align 4 ret i32 %95 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ...) #2 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @inet_addr(ptr noundef) #2 declare i32 @htons(i16 noundef zeroext) #2 declare ptr @inet_ntoa(i32) #2 declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #2 declare i64 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @strlen(ptr noundef) #2 declare i32 @recv(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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp7glzt9k6.c" target datalayout = "e-m:e-p270: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_in = type { %struct.TYPE_2__, i32, i32 } %struct.TYPE_2__ = type { i32 } @__const.main.message = private unnamed_addr constant [13 x i8] c"Hello, Net!\0A\00", align 1 @.str = private unnamed_addr constant [39 x i8] c"Usage: tcp-client <server-ip-address>\0A\00", align 1 @PF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @IPPROTO_TCP = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [32 x i8] c"Error creating socket, aborted\0A\00", align 1 @AF_INET = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [34 x i8] c"Client started, connecting to %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [27 x i8] c"Error connecting, aborted\0A\00", align 1 @.str.4 = private unnamed_addr constant [24 x i8] c"Error writing to socket\00", align 1 @.str.5 = private unnamed_addr constant [11 x i8] c"Received: \00", align 1 @.str.6 = private unnamed_addr constant [28 x i8] c"<Error reading from socket>\00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.8 = private unnamed_addr constant [18 x i8] c"\0AClient finished\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 %struct.sockaddr_in, align 4 %8 = alloca ptr, align 8 %9 = alloca i16, align 2 %10 = alloca [13 x i8], align 1 %11 = alloca [256 x i8], align 16 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i16 2222, ptr %9, align 2 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %10, ptr align 1 @__const.main.message, i64 13, i1 false) %14 = load i32, ptr %4, align 4 %15 = icmp ne i32 %14, 2 br i1 %15, label %16, label %18 16: ; preds = %2 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 1, ptr %3, align 4 br label %97 18: ; preds = %2 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 1 %21 = load ptr, ptr %20, align 8 store ptr %21, ptr %8, align 8 %22 = load i32, ptr @PF_INET, align 4 %23 = load i32, ptr @SOCK_STREAM, align 4 %24 = load i32, ptr @IPPROTO_TCP, align 4 %25 = call i32 @socket(i32 noundef %22, i32 noundef %23, i32 noundef %24) store i32 %25, ptr %6, align 4 %26 = load i32, ptr %6, align 4 %27 = icmp slt i32 %26, 0 br i1 %27, label %28, label %30 28: ; preds = %18 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 1, ptr %3, align 4 br label %97 30: ; preds = %18 %31 = call i32 @memset(ptr noundef %7, i32 noundef 0, i32 noundef 12) %32 = load i32, ptr @AF_INET, align 4 %33 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 2 store i32 %32, ptr %33, align 4 %34 = load ptr, ptr %8, align 8 %35 = call i32 @inet_addr(ptr noundef %34) %36 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0 %37 = getelementptr inbounds %struct.TYPE_2__, ptr %36, i32 0, i32 0 store i32 %35, ptr %37, align 4 %38 = load i16, ptr %9, align 2 %39 = call i32 @htons(i16 noundef zeroext %38) %40 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 1 store i32 %39, ptr %40, align 4 %41 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0 %42 = getelementptr inbounds %struct.TYPE_2__, ptr %41, i32 0, i32 0 %43 = load i32, ptr %42, align 4 %44 = call ptr @inet_ntoa(i32 %43) %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %44) %46 = load i32, ptr %6, align 4 %47 = call i64 @connect(i32 noundef %46, ptr noundef %7, i32 noundef 12) %48 = icmp slt i64 %47, 0 br i1 %48, label %49, label %51 49: ; preds = %30 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 1, ptr %3, align 4 br label %97 51: ; preds = %30 %52 = load i32, ptr %6, align 4 %53 = getelementptr inbounds [13 x i8], ptr %10, i64 0, i64 0 %54 = getelementptr inbounds [13 x i8], ptr %10, i64 0, i64 0 %55 = call i32 @strlen(ptr noundef %54) %56 = add nsw i32 %55, 1 %57 = call i64 @send(i32 noundef %52, ptr noundef %53, i32 noundef %56, i32 noundef 0) %58 = icmp slt i64 %57, 0 br i1 %58, label %59, label %61 59: ; preds = %51 %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) store i32 1, ptr %3, align 4 br label %97 61: ; preds = %51 store i32 0, ptr %13, align 4 %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %63 = load i32, ptr %13, align 4 %64 = getelementptr inbounds [13 x i8], ptr %10, i64 0, i64 0 %65 = call i32 @strlen(ptr noundef %64) %66 = add nsw i32 %65, 1 %67 = icmp slt i32 %63, %66 br i1 %67, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %61 br label %68 68: ; preds = %.lr.ph, %80 %69 = load i32, ptr %6, align 4 %70 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0 %71 = call i32 @recv(i32 noundef %69, ptr noundef %70, i32 noundef 256, i32 noundef 0) store i32 %71, ptr %12, align 4 %72 = load i32, ptr %12, align 4 %73 = icmp sle i32 %72, 0 br i1 %73, label %74, label %80 74: ; preds = %68 %75 = load i32, ptr %12, align 4 %76 = icmp slt i32 %75, 0 br i1 %76, label %77, label %79 77: ; preds = %74 %78 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %79 79: ; preds = %77, %74 br label %93 80: ; preds = %68 %81 = load i32, ptr %12, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 %82 store i8 0, ptr %83, align 1 %84 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0 %85 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %84) %86 = load i32, ptr %12, align 4 %87 = load i32, ptr %13, align 4 %88 = add nsw i32 %87, %86 store i32 %88, ptr %13, align 4 %89 = load i32, ptr %13, align 4 %90 = call i32 @strlen(ptr noundef %64) %91 = add nsw i32 %90, 1 %92 = icmp slt i32 %89, %91 br i1 %92, label %68, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %80 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %61 br label %93 93: ; preds = %.loopexit, %79 %94 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %95 = load i32, ptr %6, align 4 %96 = call i32 @close(i32 noundef %95) store i32 0, ptr %3, align 4 br label %97 97: ; preds = %93, %59, %49, %28, %16 %98 = load i32, ptr %3, align 4 ret i32 %98 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ...) #2 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @inet_addr(ptr noundef) #2 declare i32 @htons(i16 noundef zeroext) #2 declare ptr @inet_ntoa(i32) #2 declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #2 declare i64 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @strlen(ptr noundef) #2 declare i32 @recv(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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp69nrc5z_.c' source_filename = "/tmp/tmp69nrc5z_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_islower.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"islower should be 0 for 0x93\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_islower_0x93() #0 { %1 = call i64 @islower(i32 noundef 147) %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 740, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @islower(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp69nrc5z_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_islower.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"islower should be 0 for 0x93\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_islower_0x93() #0 { %1 = call i64 @islower(i32 noundef 147) %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 740, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @islower(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpy9rxl21a.c' source_filename = "/tmp/tmpy9rxl21a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @setup() #0 { %1 = call i32 (...) @setupPollers() %2 = call i32 (...) @setupLoggers() ret void } declare i32 @setupPollers(...) #1 declare i32 @setupLoggers(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy9rxl21a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @setup() #0 { %1 = call i32 (...) @setupPollers() %2 = call i32 (...) @setupLoggers() ret void } declare i32 @setupPollers(...) #1 declare i32 @setupLoggers(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6tt4yic9.c' source_filename = "/tmp/tmp6tt4yic9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i8 0, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @FLine(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i8, align 1 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %10 9: ; preds = %1 store ptr null, ptr %2, align 8 br label %44 10: ; preds = %1 store i32 1, ptr %4, align 4 %11 = call ptr @malloc(i32 noundef 1) store ptr %11, ptr %6, align 8 br label %12 12: ; preds = %10, %43 %13 = load ptr, ptr %3, align 8 %14 = call signext i8 @fgetc(ptr noundef %13) store i8 %14, ptr %5, align 1 %15 = load i8, ptr %5, align 1 %16 = sext i8 %15 to i32 %17 = icmp eq i32 %16, 10 br i1 %17, label %24, label %18 18: ; preds = %12 %19 = load i8, ptr %5, align 1 %20 = sext i8 %19 to i32 %21 = load i8, ptr @EOF, align 1 %22 = sext i8 %21 to i32 %23 = icmp eq i32 %20, %22 br i1 %23, label %24, label %31 24: ; preds = %18, %12 %25 = load ptr, ptr %6, align 8 %26 = load i32, ptr %4, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i8, ptr %25, i64 %27 %29 = getelementptr inbounds i8, ptr %28, i64 -1 store i8 0, ptr %29, align 1 %30 = load ptr, ptr %6, align 8 store ptr %30, ptr %2, align 8 br label %44 31: ; preds = %18 %32 = load i8, ptr %5, align 1 %33 = load ptr, ptr %6, align 8 %34 = load i32, ptr %4, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i8, ptr %33, i64 %35 %37 = getelementptr inbounds i8, ptr %36, i64 -1 store i8 %32, ptr %37, align 1 %38 = load i32, ptr %4, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %4, align 4 %40 = load ptr, ptr %6, align 8 %41 = load i32, ptr %4, align 4 %42 = call ptr @realloc(ptr noundef %40, i32 noundef %41) store ptr %42, ptr %6, align 8 br label %43 43: ; preds = %31 br label %12 44: ; preds = %24, %9 %45 = load ptr, ptr %2, align 8 ret ptr %45 } declare ptr @malloc(i32 noundef) #1 declare signext i8 @fgetc(ptr noundef) #1 declare ptr @realloc(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/tmp6tt4yic9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i8 0, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @FLine(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i8, align 1 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %10 9: ; preds = %1 store ptr null, ptr %2, align 8 br label %48 10: ; preds = %1 store i32 1, ptr %4, align 4 %11 = call ptr @malloc(i32 noundef 1) store ptr %11, ptr %6, align 8 %12 = load ptr, ptr %3, align 8 %13 = call signext i8 @fgetc(ptr noundef %12) store i8 %13, ptr %5, align 1 %14 = load i8, ptr %5, align 1 %15 = sext i8 %14 to i32 %16 = icmp eq i32 %15, 10 br i1 %16, label %23, label %.lr.ph .lr.ph: ; preds = %10 br label %17 17: ; preds = %.lr.ph, %42 %18 = load i8, ptr %5, align 1 %19 = sext i8 %18 to i32 %20 = load i8, ptr @EOF, align 1 %21 = sext i8 %20 to i32 %22 = icmp eq i32 %19, %21 br i1 %22, label %._crit_edge, label %30 ._crit_edge: ; preds = %17 br label %23 ._crit_edge1: ; preds = %42 br label %23 23: ; preds = %._crit_edge1, %._crit_edge, %10 %24 = load ptr, ptr %6, align 8 %25 = load i32, ptr %4, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %24, i64 %26 %28 = getelementptr inbounds i8, ptr %27, i64 -1 store i8 0, ptr %28, align 1 %29 = load ptr, ptr %6, align 8 store ptr %29, ptr %2, align 8 br label %48 30: ; preds = %17 %31 = load i8, ptr %5, align 1 %32 = load ptr, ptr %6, align 8 %33 = load i32, ptr %4, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i8, ptr %32, i64 %34 %36 = getelementptr inbounds i8, ptr %35, i64 -1 store i8 %31, ptr %36, align 1 %37 = load i32, ptr %4, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %4, align 4 %39 = load ptr, ptr %6, align 8 %40 = load i32, ptr %4, align 4 %41 = call ptr @realloc(ptr noundef %39, i32 noundef %40) store ptr %41, ptr %6, align 8 br label %42 42: ; preds = %30 %43 = load ptr, ptr %3, align 8 %44 = call signext i8 @fgetc(ptr noundef %43) store i8 %44, ptr %5, align 1 %45 = load i8, ptr %5, align 1 %46 = sext i8 %45 to i32 %47 = icmp eq i32 %46, 10 br i1 %47, label %._crit_edge1, label %17 48: ; preds = %23, %9 %49 = load ptr, ptr %2, align 8 ret ptr %49 } declare ptr @malloc(i32 noundef) #1 declare signext i8 @fgetc(ptr noundef) #1 declare ptr @realloc(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/tmpwhzvjvim.c' source_filename = "/tmp/tmpwhzvjvim.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @overflow(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 %4, align 8 store double %1, ptr %5, align 8 %7 = load double, ptr %4, align 8 %8 = load double, ptr %5, align 8 %9 = fcmp ogt double %7, %8 br i1 %9, label %10, label %21 10: ; preds = %2 %11 = load double, ptr %5, align 8 %12 = load double, ptr %4, align 8 %13 = fdiv double %11, %12 store double %13, ptr %6, align 8 %14 = load double, ptr %4, align 8 %15 = load double, ptr %6, align 8 %16 = load double, ptr %6, align 8 %17 = call double @llvm.fmuladd.f64(double %15, double %16, double 1.000000e+00) %18 = fptosi double %17 to i32 %19 = call double @sqrt(i32 noundef %18) %20 = fmul double %14, %19 store double %20, ptr %3, align 8 br label %32 21: ; preds = %2 %22 = load double, ptr %4, align 8 %23 = load double, ptr %5, align 8 %24 = fdiv double %22, %23 store double %24, ptr %6, align 8 %25 = load double, ptr %5, align 8 %26 = load double, ptr %6, align 8 %27 = load double, ptr %6, align 8 %28 = call double @llvm.fmuladd.f64(double %26, double %27, double 1.000000e+00) %29 = fptosi double %28 to i32 %30 = call double @sqrt(i32 noundef %29) %31 = fmul double %25, %30 store double %31, ptr %3, align 8 br label %32 32: ; preds = %21, %10 %33 = load double, ptr %3, align 8 ret double %33 } declare double @sqrt(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwhzvjvim.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @overflow(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 %4, align 8 store double %1, ptr %5, align 8 %7 = load double, ptr %4, align 8 %8 = load double, ptr %5, align 8 %9 = fcmp ogt double %7, %8 br i1 %9, label %10, label %21 10: ; preds = %2 %11 = load double, ptr %5, align 8 %12 = load double, ptr %4, align 8 %13 = fdiv double %11, %12 store double %13, ptr %6, align 8 %14 = load double, ptr %4, align 8 %15 = load double, ptr %6, align 8 %16 = load double, ptr %6, align 8 %17 = call double @llvm.fmuladd.f64(double %15, double %16, double 1.000000e+00) %18 = fptosi double %17 to i32 %19 = call double @sqrt(i32 noundef %18) %20 = fmul double %14, %19 store double %20, ptr %3, align 8 br label %32 21: ; preds = %2 %22 = load double, ptr %4, align 8 %23 = load double, ptr %5, align 8 %24 = fdiv double %22, %23 store double %24, ptr %6, align 8 %25 = load double, ptr %5, align 8 %26 = load double, ptr %6, align 8 %27 = load double, ptr %6, align 8 %28 = call double @llvm.fmuladd.f64(double %26, double %27, double 1.000000e+00) %29 = fptosi double %28 to i32 %30 = call double @sqrt(i32 noundef %29) %31 = fmul double %25, %30 store double %31, ptr %3, align 8 br label %32 32: ; preds = %21, %10 %33 = load double, ptr %3, align 8 ret double %33 } declare double @sqrt(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3i0i4hvn.c' source_filename = "/tmp/tmp3i0i4hvn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @eeconfig_update_haptic(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @eeprom_update_dword(ptr noundef inttoptr (i64 24 to ptr), i32 noundef %3) ret void } declare i32 @eeprom_update_dword(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/tmp3i0i4hvn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @eeconfig_update_haptic(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @eeprom_update_dword(ptr noundef inttoptr (i64 24 to ptr), i32 noundef %3) ret void } declare i32 @eeprom_update_dword(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/tmp_nzdrqme.c' source_filename = "/tmp/tmp_nzdrqme.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_nzdrqme.c" target datalayout = "e-m:e-p270: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/tmpa81vg_z_.c' source_filename = "/tmp/tmpa81vg_z_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @__VERIFIER_nondet_uint() #0 { 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/tmpa81vg_z_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @__VERIFIER_nondet_uint() #0 { 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/tmpwakqni_5.c' source_filename = "/tmp/tmpwakqni_5.c" target datalayout = "e-m:e-p270: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/tmpwakqni_5.c" target datalayout = "e-m:e-p270: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/tmpv484meln.c' source_filename = "/tmp/tmpv484meln.c" target datalayout = "e-m:e-p270: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/tmpv484meln.c" target datalayout = "e-m:e-p270: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/tmpkv4s6rfw.c' source_filename = "/tmp/tmpkv4s6rfw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @is_positive(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 sgt i32 %3, 0 %5 = zext i1 %4 to i32 ret i32 %5 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkv4s6rfw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @is_positive(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 sgt i32 %3, 0 %5 = zext i1 %4 to i32 ret i32 %5 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdddx_szu.c' source_filename = "/tmp/tmpdddx_szu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @LONG_MAX = dso_local global i64 0, align 8 @LONG_MIN = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @longminmax(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %12 = load i64, ptr @LONG_MAX, align 8 store i64 %12, ptr %9, align 8 %13 = load i64, ptr @LONG_MIN, align 8 store i64 %13, ptr %10, align 8 %14 = load ptr, ptr %5, align 8 %15 = load i64, ptr %6, align 8 %16 = getelementptr inbounds i64, ptr %14, i64 %15 store ptr %16, ptr %11, align 8 br label %17 17: ; preds = %34, %4 %18 = load ptr, ptr %5, align 8 %19 = load i64, ptr %18, align 8 %20 = load i64, ptr %10, align 8 %21 = icmp sgt i64 %19, %20 br i1 %21, label %22, label %25 22: ; preds = %17 %23 = load ptr, ptr %5, align 8 %24 = load i64, ptr %23, align 8 store i64 %24, ptr %10, align 8 br label %25 25: ; preds = %22, %17 %26 = load ptr, ptr %5, align 8 %27 = load i64, ptr %26, align 8 %28 = load i64, ptr %9, align 8 %29 = icmp slt i64 %27, %28 br i1 %29, label %30, label %33 30: ; preds = %25 %31 = load ptr, ptr %5, align 8 %32 = load i64, ptr %31, align 8 store i64 %32, ptr %9, align 8 br label %33 33: ; preds = %30, %25 br label %34 34: ; preds = %33 %35 = load ptr, ptr %5, align 8 %36 = getelementptr inbounds i64, ptr %35, i32 1 store ptr %36, ptr %5, align 8 %37 = load ptr, ptr %11, align 8 %38 = icmp ult ptr %36, %37 br i1 %38, label %17, label %39, !llvm.loop !6 39: ; preds = %34 %40 = load i64, ptr %10, align 8 %41 = load ptr, ptr %8, align 8 store i64 %40, ptr %41, align 8 %42 = load i64, ptr %9, align 8 %43 = load ptr, ptr %7, align 8 store i64 %42, ptr %43, 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdddx_szu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @LONG_MAX = dso_local global i64 0, align 8 @LONG_MIN = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @longminmax(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %12 = load i64, ptr @LONG_MAX, align 8 store i64 %12, ptr %9, align 8 %13 = load i64, ptr @LONG_MIN, align 8 store i64 %13, ptr %10, align 8 %14 = load ptr, ptr %5, align 8 %15 = load i64, ptr %6, align 8 %16 = getelementptr inbounds i64, ptr %14, i64 %15 store ptr %16, ptr %11, align 8 br label %17 17: ; preds = %34, %4 %18 = load ptr, ptr %5, align 8 %19 = load i64, ptr %18, align 8 %20 = load i64, ptr %10, align 8 %21 = icmp sgt i64 %19, %20 br i1 %21, label %22, label %25 22: ; preds = %17 %23 = load ptr, ptr %5, align 8 %24 = load i64, ptr %23, align 8 store i64 %24, ptr %10, align 8 br label %25 25: ; preds = %22, %17 %26 = load ptr, ptr %5, align 8 %27 = load i64, ptr %26, align 8 %28 = load i64, ptr %9, align 8 %29 = icmp slt i64 %27, %28 br i1 %29, label %30, label %33 30: ; preds = %25 %31 = load ptr, ptr %5, align 8 %32 = load i64, ptr %31, align 8 store i64 %32, ptr %9, align 8 br label %33 33: ; preds = %30, %25 br label %34 34: ; preds = %33 %35 = load ptr, ptr %5, align 8 %36 = getelementptr inbounds i64, ptr %35, i32 1 store ptr %36, ptr %5, align 8 %37 = load ptr, ptr %11, align 8 %38 = icmp ult ptr %36, %37 br i1 %38, label %17, label %39, !llvm.loop !6 39: ; preds = %34 %40 = load i64, ptr %10, align 8 %41 = load ptr, ptr %8, align 8 store i64 %40, ptr %41, align 8 %42 = load i64, ptr %9, align 8 %43 = load ptr, ptr %7, align 8 store i64 %42, ptr %43, 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp2ool3ehl.c' source_filename = "/tmp/tmp2ool3ehl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"random_perm: malloc() error\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @random_perm(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = sext i32 %7 to i64 %9 = mul i64 %8, 4 %10 = trunc i64 %9 to i32 %11 = call i64 @malloc(i32 noundef %10) %12 = inttoptr i64 %11 to ptr store ptr %12, ptr %3, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %16 14: ; preds = %1 %15 = call i32 @report_error(ptr noundef @.str) br label %16 16: ; preds = %14, %1 %17 = load i32, ptr %2, align 4 %18 = sub nsw i32 %17, 1 store i32 %18, ptr %4, align 4 br label %19 19: ; preds = %28, %16 %20 = load i32, ptr %4, align 4 %21 = icmp sge i32 %20, 0 br i1 %21, label %22, label %31 22: ; preds = %19 %23 = load i32, ptr %4, align 4 %24 = load ptr, ptr %3, align 8 %25 = load i32, ptr %4, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i32, ptr %24, i64 %26 store i32 %23, ptr %27, align 4 br label %28 28: ; preds = %22 %29 = load i32, ptr %4, align 4 %30 = add nsw i32 %29, -1 store i32 %30, ptr %4, align 4 br label %19, !llvm.loop !6 31: ; preds = %19 %32 = load i32, ptr %2, align 4 %33 = sub nsw i32 %32, 1 store i32 %33, ptr %4, align 4 br label %34 34: ; preds = %60, %31 %35 = load i32, ptr %4, align 4 %36 = icmp sge i32 %35, 0 br i1 %36, label %37, label %63 37: ; preds = %34 %38 = call i32 (...) @random() %39 = load i32, ptr %2, align 4 %40 = srem i32 %38, %39 store i32 %40, ptr %6, align 4 %41 = load ptr, ptr %3, align 8 %42 = load i32, ptr %4, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i32, ptr %41, i64 %43 %45 = load i32, ptr %44, align 4 store i32 %45, ptr %5, align 4 %46 = load ptr, ptr %3, align 8 %47 = load i32, ptr %6, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i32, ptr %46, i64 %48 %50 = load i32, ptr %49, align 4 %51 = load ptr, ptr %3, align 8 %52 = load i32, ptr %4, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i32, ptr %51, i64 %53 store i32 %50, ptr %54, align 4 %55 = load i32, ptr %5, align 4 %56 = load ptr, ptr %3, align 8 %57 = load i32, ptr %6, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds i32, ptr %56, i64 %58 store i32 %55, ptr %59, align 4 br label %60 60: ; preds = %37 %61 = load i32, ptr %4, align 4 %62 = add nsw i32 %61, -1 store i32 %62, ptr %4, align 4 br label %34, !llvm.loop !8 63: ; preds = %34 %64 = load ptr, ptr %3, align 8 ret ptr %64 } declare i64 @malloc(i32 noundef) #1 declare i32 @report_error(ptr noundef) #1 declare i32 @random(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp2ool3ehl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"random_perm: malloc() error\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @random_perm(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = sext i32 %7 to i64 %9 = mul i64 %8, 4 %10 = trunc i64 %9 to i32 %11 = call i64 @malloc(i32 noundef %10) %12 = inttoptr i64 %11 to ptr store ptr %12, ptr %3, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %16 14: ; preds = %1 %15 = call i32 @report_error(ptr noundef @.str) br label %16 16: ; preds = %14, %1 %17 = load i32, ptr %2, align 4 %18 = sub nsw i32 %17, 1 store i32 %18, ptr %4, align 4 %19 = load i32, ptr %4, align 4 %20 = icmp sge i32 %19, 0 br i1 %20, label %.lr.ph, label %32 .lr.ph: ; preds = %16 br label %21 21: ; preds = %.lr.ph, %27 %22 = load i32, ptr %4, align 4 %23 = load ptr, ptr %3, align 8 %24 = load i32, ptr %4, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i32, ptr %23, i64 %25 store i32 %22, ptr %26, align 4 br label %27 27: ; preds = %21 %28 = load i32, ptr %4, align 4 %29 = add nsw i32 %28, -1 store i32 %29, ptr %4, align 4 %30 = load i32, ptr %4, align 4 %31 = icmp sge i32 %30, 0 br i1 %31, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %32 32: ; preds = %._crit_edge, %16 %33 = load i32, ptr %2, align 4 %34 = sub nsw i32 %33, 1 store i32 %34, ptr %4, align 4 %35 = load i32, ptr %4, align 4 %36 = icmp sge i32 %35, 0 br i1 %36, label %.lr.ph2, label %65 .lr.ph2: ; preds = %32 br label %37 37: ; preds = %.lr.ph2, %60 %38 = call i32 (...) @random() %39 = load i32, ptr %2, align 4 %40 = srem i32 %38, %39 store i32 %40, ptr %6, align 4 %41 = load ptr, ptr %3, align 8 %42 = load i32, ptr %4, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i32, ptr %41, i64 %43 %45 = load i32, ptr %44, align 4 store i32 %45, ptr %5, align 4 %46 = load ptr, ptr %3, align 8 %47 = load i32, ptr %6, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i32, ptr %46, i64 %48 %50 = load i32, ptr %49, align 4 %51 = load ptr, ptr %3, align 8 %52 = load i32, ptr %4, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i32, ptr %51, i64 %53 store i32 %50, ptr %54, align 4 %55 = load i32, ptr %5, align 4 %56 = load ptr, ptr %3, align 8 %57 = load i32, ptr %6, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds i32, ptr %56, i64 %58 store i32 %55, ptr %59, align 4 br label %60 60: ; preds = %37 %61 = load i32, ptr %4, align 4 %62 = add nsw i32 %61, -1 store i32 %62, ptr %4, align 4 %63 = load i32, ptr %4, align 4 %64 = icmp sge i32 %63, 0 br i1 %64, label %37, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %60 br label %65 65: ; preds = %._crit_edge3, %32 %66 = load ptr, ptr %3, align 8 ret ptr %66 } declare i64 @malloc(i32 noundef) #1 declare i32 @report_error(ptr noundef) #1 declare i32 @random(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpjn82o7a_.c' source_filename = "/tmp/tmpjn82o7a_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"String pointer\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @__const.main.array = private unnamed_addr constant [13 x i8] c"String array\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca [13 x i8], align 1 store i32 0, ptr %1, align 4 store ptr @.str, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @printf(ptr noundef @.str.1, ptr noundef %4) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.main.array, i64 13, i1 false) %6 = getelementptr inbounds [13 x i8], ptr %3, i64 0, i64 0 %7 = call i32 @printf(ptr noundef @.str.1, ptr noundef %6) %8 = getelementptr inbounds [13 x i8], ptr %3, i64 0, i64 0 store i8 74, ptr %8, align 1 %9 = getelementptr inbounds [13 x i8], ptr %3, i64 0, i64 0 %10 = call i32 @printf(ptr noundef @.str.1, ptr noundef %9) ret i32 0 } declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpjn82o7a_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"String pointer\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @__const.main.array = private unnamed_addr constant [13 x i8] c"String array\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca [13 x i8], align 1 store i32 0, ptr %1, align 4 store ptr @.str, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @printf(ptr noundef @.str.1, ptr noundef %4) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.main.array, i64 13, i1 false) %6 = getelementptr inbounds [13 x i8], ptr %3, i64 0, i64 0 %7 = call i32 @printf(ptr noundef @.str.1, ptr noundef %6) %8 = getelementptr inbounds [13 x i8], ptr %3, i64 0, i64 0 store i8 74, ptr %8, align 1 %9 = getelementptr inbounds [13 x i8], ptr %3, i64 0, i64 0 %10 = call i32 @printf(ptr noundef @.str.1, ptr noundef %9) ret i32 0 } declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpp9r210y_.c' source_filename = "/tmp/tmpp9r210y_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CanPlacePiece(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %6, align 4 %10 = call i32 @PieceContainsBlock(ptr noundef %7, i32 noundef %8, i32 noundef %9) %11 = icmp ne i32 %10, 0 %12 = xor i1 %11, true %13 = zext i1 %12 to i32 ret i32 %13 } declare i32 @PieceContainsBlock(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp9r210y_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CanPlacePiece(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %6, align 4 %10 = call i32 @PieceContainsBlock(ptr noundef %7, i32 noundef %8, i32 noundef %9) %11 = icmp ne i32 %10, 0 %12 = xor i1 %11, true %13 = zext i1 %12 to i32 ret i32 %13 } declare i32 @PieceContainsBlock(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpc7ozpmpr.c' source_filename = "/tmp/tmpc7ozpmpr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i64 0, align 8 @EAGAIN = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @write_all(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i64, align 8 %9 = alloca i64, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i64 0, ptr %8, align 8 br label %10 10: ; preds = %34, %3 %11 = load i64, ptr %8, align 8 %12 = load i32, ptr %7, align 4 %13 = sext i32 %12 to i64 %14 = icmp ult i64 %11, %13 br i1 %14, label %15, label %38 15: ; preds = %10 %16 = load i32, ptr %5, align 4 %17 = load ptr, ptr %6, align 8 %18 = load i64, ptr %8, align 8 %19 = getelementptr inbounds i8, ptr %17, i64 %18 %20 = load i32, ptr %7, align 4 %21 = sext i32 %20 to i64 %22 = load i64, ptr %8, align 8 %23 = sub i64 %21, %22 %24 = trunc i64 %23 to i32 %25 = call i64 @write(i32 noundef %16, ptr noundef %19, i32 noundef %24) store i64 %25, ptr %9, align 8 %26 = load i64, ptr %9, align 8 %27 = icmp slt i64 %26, 0 br i1 %27, label %28, label %34 28: ; preds = %15 %29 = load i64, ptr @errno, align 8 %30 = load i64, ptr @EAGAIN, align 8 %31 = icmp ne i64 %29, %30 br i1 %31, label %32, label %33 32: ; preds = %28 store i32 0, ptr %4, align 4 br label %39 33: ; preds = %28 br label %34 34: ; preds = %33, %15 %35 = load i64, ptr %9, align 8 %36 = load i64, ptr %8, align 8 %37 = add i64 %36, %35 store i64 %37, ptr %8, align 8 br label %10, !llvm.loop !6 38: ; preds = %10 store i32 1, ptr %4, align 4 br label %39 39: ; preds = %38, %32 %40 = load i32, ptr %4, align 4 ret i32 %40 } declare i64 @write(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpc7ozpmpr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i64 0, align 8 @EAGAIN = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @write_all(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i64, align 8 %9 = alloca i64, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i64 0, ptr %8, align 8 %10 = load i64, ptr %8, align 8 %11 = load i32, ptr %7, align 4 %12 = sext i32 %11 to i64 %13 = icmp ult i64 %10, %12 br i1 %13, label %.lr.ph, label %41 .lr.ph: ; preds = %3 br label %14 14: ; preds = %.lr.ph, %33 %15 = load i32, ptr %5, align 4 %16 = load ptr, ptr %6, align 8 %17 = load i64, ptr %8, align 8 %18 = getelementptr inbounds i8, ptr %16, i64 %17 %19 = load i32, ptr %7, align 4 %20 = sext i32 %19 to i64 %21 = load i64, ptr %8, align 8 %22 = sub i64 %20, %21 %23 = trunc i64 %22 to i32 %24 = call i64 @write(i32 noundef %15, ptr noundef %18, i32 noundef %23) store i64 %24, ptr %9, align 8 %25 = load i64, ptr %9, align 8 %26 = icmp slt i64 %25, 0 br i1 %26, label %27, label %33 27: ; preds = %14 %28 = load i64, ptr @errno, align 8 %29 = load i64, ptr @EAGAIN, align 8 %30 = icmp ne i64 %28, %29 br i1 %30, label %31, label %32 31: ; preds = %27 store i32 0, ptr %4, align 4 br label %42 32: ; preds = %27 br label %33 33: ; preds = %32, %14 %34 = load i64, ptr %9, align 8 %35 = load i64, ptr %8, align 8 %36 = add i64 %35, %34 store i64 %36, ptr %8, align 8 %37 = load i64, ptr %8, align 8 %38 = load i32, ptr %7, align 4 %39 = sext i32 %38 to i64 %40 = icmp ult i64 %37, %39 br i1 %40, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %33 br label %41 41: ; preds = %._crit_edge, %3 store i32 1, ptr %4, align 4 br label %42 42: ; preds = %41, %31 %43 = load i32, ptr %4, align 4 ret i32 %43 } declare i64 @write(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpl54px334.c' source_filename = "/tmp/tmpl54px334.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bar() #0 { %1 = call i32 (...) @foo() ret i32 %1 } declare i32 @foo(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpl54px334.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bar() #0 { %1 = call i32 (...) @foo() ret i32 %1 } declare i32 @foo(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfl1cnv6z.c' source_filename = "/tmp/tmpfl1cnv6z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strdup(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i64 @strlen(ptr noundef %5) %7 = add nsw i64 %6, 1 %8 = call i64 @malloc(i64 noundef %7) %9 = inttoptr i64 %8 to ptr store ptr %9, ptr %4, align 8 store ptr %9, ptr %3, align 8 br label %10 10: ; preds = %17, %1 %11 = load ptr, ptr %2, align 8 %12 = getelementptr inbounds i8, ptr %11, i32 1 store ptr %12, ptr %2, align 8 %13 = load i8, ptr %11, align 1 %14 = load ptr, ptr %4, align 8 %15 = getelementptr inbounds i8, ptr %14, i32 1 store ptr %15, ptr %4, align 8 store i8 %13, ptr %14, align 1 %16 = icmp ne i8 %13, 0 br i1 %16, label %17, label %18 17: ; preds = %10 br label %10, !llvm.loop !6 18: ; preds = %10 %19 = load ptr, ptr %4, align 8 store i8 0, ptr %19, align 1 %20 = load ptr, ptr %3, align 8 ret ptr %20 } declare i64 @malloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfl1cnv6z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strdup(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i64 @strlen(ptr noundef %5) %7 = add nsw i64 %6, 1 %8 = call i64 @malloc(i64 noundef %7) %9 = inttoptr i64 %8 to ptr store ptr %9, ptr %4, align 8 store ptr %9, ptr %3, align 8 br label %10 10: ; preds = %10, %1 %11 = load ptr, ptr %2, align 8 %12 = getelementptr inbounds i8, ptr %11, i32 1 store ptr %12, ptr %2, align 8 %13 = load i8, ptr %11, align 1 %14 = load ptr, ptr %4, align 8 %15 = getelementptr inbounds i8, ptr %14, i32 1 store ptr %15, ptr %4, align 8 store i8 %13, ptr %14, align 1 %16 = icmp ne i8 %13, 0 br i1 %16, label %10, label %17, !llvm.loop !6 17: ; preds = %10 %18 = load ptr, ptr %4, align 8 store i8 0, ptr %18, align 1 %19 = load ptr, ptr %3, align 8 ret ptr %19 } declare i64 @malloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpcy9hny6e.c' source_filename = "/tmp/tmpcy9hny6e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"%s-%02d-%02d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @sfwmd_to_yyyy_mm_dd(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca [128 x i8], align 16 %8 = alloca [128 x i8], align 16 %9 = alloca [128 x i8], align 16 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %10 = getelementptr inbounds [128 x i8], ptr %9, i64 0, i64 0 %11 = load ptr, ptr %5, align 8 %12 = call i32 @piece(ptr noundef %10, i8 noundef signext 45, ptr noundef %11, i32 noundef 0) %13 = icmp ne i32 %12, 0 br i1 %13, label %15, label %14 14: ; preds = %2 store ptr null, ptr %3, align 8 br label %42 15: ; preds = %2 %16 = getelementptr inbounds [128 x i8], ptr %8, i64 0, i64 0 %17 = load ptr, ptr %5, align 8 %18 = call i32 @piece(ptr noundef %16, i8 noundef signext 45, ptr noundef %17, i32 noundef 1) %19 = icmp ne i32 %18, 0 br i1 %19, label %21, label %20 20: ; preds = %15 store ptr null, ptr %3, align 8 br label %42 21: ; preds = %15 %22 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0 %23 = load ptr, ptr %5, align 8 %24 = call i32 @piece(ptr noundef %22, i8 noundef signext 45, ptr noundef %23, i32 noundef 2) %25 = icmp ne i32 %24, 0 br i1 %25, label %27, label %26 26: ; preds = %21 store ptr null, ptr %3, align 8 br label %42 27: ; preds = %21 %28 = getelementptr inbounds [128 x i8], ptr %8, i64 0, i64 0 %29 = call i32 @sfwmd_ora_month2integer(ptr noundef %28) store i32 %29, ptr %6, align 4 %30 = load i32, ptr %6, align 4 %31 = icmp slt i32 %30, 0 br i1 %31, label %32, label %33 32: ; preds = %27 store ptr null, ptr %3, align 8 br label %42 33: ; preds = %27 %34 = load ptr, ptr %4, align 8 %35 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0 %36 = load i32, ptr %6, align 4 %37 = add nsw i32 %36, 1 %38 = getelementptr inbounds [128 x i8], ptr %9, i64 0, i64 0 %39 = call i32 @atoi(ptr noundef %38) %40 = call i32 @sprintf(ptr noundef %34, ptr noundef @.str, ptr noundef %35, i32 noundef %37, i32 noundef %39) %41 = load ptr, ptr %4, align 8 store ptr %41, ptr %3, align 8 br label %42 42: ; preds = %33, %32, %26, %20, %14 %43 = load ptr, ptr %3, align 8 ret ptr %43 } declare i32 @piece(ptr noundef, i8 noundef signext, ptr noundef, i32 noundef) #1 declare i32 @sfwmd_ora_month2integer(ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcy9hny6e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"%s-%02d-%02d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @sfwmd_to_yyyy_mm_dd(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca [128 x i8], align 16 %8 = alloca [128 x i8], align 16 %9 = alloca [128 x i8], align 16 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %10 = getelementptr inbounds [128 x i8], ptr %9, i64 0, i64 0 %11 = load ptr, ptr %5, align 8 %12 = call i32 @piece(ptr noundef %10, i8 noundef signext 45, ptr noundef %11, i32 noundef 0) %13 = icmp ne i32 %12, 0 br i1 %13, label %15, label %14 14: ; preds = %2 store ptr null, ptr %3, align 8 br label %42 15: ; preds = %2 %16 = getelementptr inbounds [128 x i8], ptr %8, i64 0, i64 0 %17 = load ptr, ptr %5, align 8 %18 = call i32 @piece(ptr noundef %16, i8 noundef signext 45, ptr noundef %17, i32 noundef 1) %19 = icmp ne i32 %18, 0 br i1 %19, label %21, label %20 20: ; preds = %15 store ptr null, ptr %3, align 8 br label %42 21: ; preds = %15 %22 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0 %23 = load ptr, ptr %5, align 8 %24 = call i32 @piece(ptr noundef %22, i8 noundef signext 45, ptr noundef %23, i32 noundef 2) %25 = icmp ne i32 %24, 0 br i1 %25, label %27, label %26 26: ; preds = %21 store ptr null, ptr %3, align 8 br label %42 27: ; preds = %21 %28 = getelementptr inbounds [128 x i8], ptr %8, i64 0, i64 0 %29 = call i32 @sfwmd_ora_month2integer(ptr noundef %28) store i32 %29, ptr %6, align 4 %30 = load i32, ptr %6, align 4 %31 = icmp slt i32 %30, 0 br i1 %31, label %32, label %33 32: ; preds = %27 store ptr null, ptr %3, align 8 br label %42 33: ; preds = %27 %34 = load ptr, ptr %4, align 8 %35 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0 %36 = load i32, ptr %6, align 4 %37 = add nsw i32 %36, 1 %38 = getelementptr inbounds [128 x i8], ptr %9, i64 0, i64 0 %39 = call i32 @atoi(ptr noundef %38) %40 = call i32 @sprintf(ptr noundef %34, ptr noundef @.str, ptr noundef %35, i32 noundef %37, i32 noundef %39) %41 = load ptr, ptr %4, align 8 store ptr %41, ptr %3, align 8 br label %42 42: ; preds = %33, %32, %26, %20, %14 %43 = load ptr, ptr %3, align 8 ret ptr %43 } declare i32 @piece(ptr noundef, i8 noundef signext, ptr noundef, i32 noundef) #1 declare i32 @sfwmd_ora_month2integer(ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxw5atnz8.c' source_filename = "/tmp/tmpxw5atnz8.c" target datalayout = "e-m:e-p270: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/tmpxw5atnz8.c" target datalayout = "e-m:e-p270: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/tmp8haktl7r.c' source_filename = "/tmp/tmp8haktl7r.c" target datalayout = "e-m:e-p270: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/tmp8haktl7r.c" target datalayout = "e-m:e-p270: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/tmphprv51oz.c' source_filename = "/tmp/tmphprv51oz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"\0ASum: %d\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"\0AAvg: %.2f\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 float, align 4 store i32 0, ptr %1, align 4 %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %8 8: ; preds = %12, %0 %9 = load i32, ptr %4, align 4 %10 = load i32, ptr %2, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %12, label %19 12: ; preds = %8 %13 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) %14 = load i32, ptr %5, align 4 %15 = load i32, ptr %3, align 4 %16 = add nsw i32 %14, %15 store i32 %16, ptr %5, align 4 %17 = load i32, ptr %4, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %4, align 4 br label %8, !llvm.loop !6 19: ; preds = %8 %20 = load i32, ptr %5, align 4 %21 = sitofp i32 %20 to float %22 = load i32, ptr %2, align 4 %23 = sitofp i32 %22 to float %24 = fdiv float %21, %23 store float %24, ptr %6, align 4 %25 = load i32, ptr %5, align 4 %26 = sitofp i32 %25 to float %27 = call i32 @printf(ptr noundef @.str.1, float noundef %26) %28 = load float, ptr %6, align 4 %29 = call i32 @printf(ptr noundef @.str.2, float noundef %28) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphprv51oz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"\0ASum: %d\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"\0AAvg: %.2f\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 float, align 4 store i32 0, ptr %1, align 4 %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = load i32, ptr %2, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %.lr.ph, label %21 .lr.ph: ; preds = %0 br label %11 11: ; preds = %.lr.ph, %11 %12 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) %13 = load i32, ptr %5, align 4 %14 = load i32, ptr %3, align 4 %15 = add nsw i32 %13, %14 store i32 %15, ptr %5, align 4 %16 = load i32, ptr %4, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %4, align 4 %18 = load i32, ptr %4, align 4 %19 = load i32, ptr %2, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %11 br label %21 21: ; preds = %._crit_edge, %0 %22 = load i32, ptr %5, align 4 %23 = sitofp i32 %22 to float %24 = load i32, ptr %2, align 4 %25 = sitofp i32 %24 to float %26 = fdiv float %23, %25 store float %26, ptr %6, align 4 %27 = load i32, ptr %5, align 4 %28 = sitofp i32 %27 to float %29 = call i32 @printf(ptr noundef @.str.1, float noundef %28) %30 = load float, ptr %6, align 4 %31 = call i32 @printf(ptr noundef @.str.2, float noundef %30) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpz1longy_.c' source_filename = "/tmp/tmpz1longy_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ZFEAST_HEGV(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16) #0 { %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 %22 = alloca ptr, align 8 %23 = alloca ptr, align 8 %24 = alloca ptr, align 8 %25 = alloca ptr, align 8 %26 = alloca ptr, align 8 %27 = alloca ptr, align 8 %28 = alloca ptr, align 8 %29 = alloca ptr, align 8 %30 = alloca ptr, align 8 %31 = alloca ptr, align 8 %32 = alloca ptr, align 8 %33 = alloca ptr, align 8 %34 = alloca ptr, align 8 store ptr %0, ptr %18, align 8 store ptr %1, ptr %19, align 8 store ptr %2, ptr %20, align 8 store ptr %3, ptr %21, align 8 store ptr %4, ptr %22, align 8 store ptr %5, ptr %23, align 8 store ptr %6, ptr %24, align 8 store ptr %7, ptr %25, align 8 store ptr %8, ptr %26, align 8 store ptr %9, ptr %27, align 8 store ptr %10, ptr %28, align 8 store ptr %11, ptr %29, align 8 store ptr %12, ptr %30, align 8 store ptr %13, ptr %31, align 8 store ptr %14, ptr %32, align 8 store ptr %15, ptr %33, align 8 store ptr %16, ptr %34, align 8 %35 = load ptr, ptr %18, align 8 %36 = load ptr, ptr %19, align 8 %37 = load ptr, ptr %20, align 8 %38 = load ptr, ptr %21, align 8 %39 = load ptr, ptr %22, align 8 %40 = load ptr, ptr %23, align 8 %41 = load ptr, ptr %24, align 8 %42 = load ptr, ptr %25, align 8 %43 = load ptr, ptr %26, align 8 %44 = load ptr, ptr %27, align 8 %45 = load ptr, ptr %28, align 8 %46 = load ptr, ptr %29, align 8 %47 = load ptr, ptr %30, align 8 %48 = load ptr, ptr %31, align 8 %49 = load ptr, ptr %32, align 8 %50 = load ptr, ptr %33, align 8 %51 = load ptr, ptr %34, align 8 %52 = call i32 @zfeast_hegv_(ptr noundef %35, ptr noundef %36, ptr noundef %37, ptr noundef %38, ptr noundef %39, ptr noundef %40, ptr noundef %41, ptr noundef %42, ptr noundef %43, ptr noundef %44, ptr noundef %45, ptr noundef %46, ptr noundef %47, ptr noundef %48, ptr noundef %49, ptr noundef %50, ptr noundef %51) ret void } declare i32 @zfeast_hegv_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz1longy_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ZFEAST_HEGV(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16) #0 { %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 %22 = alloca ptr, align 8 %23 = alloca ptr, align 8 %24 = alloca ptr, align 8 %25 = alloca ptr, align 8 %26 = alloca ptr, align 8 %27 = alloca ptr, align 8 %28 = alloca ptr, align 8 %29 = alloca ptr, align 8 %30 = alloca ptr, align 8 %31 = alloca ptr, align 8 %32 = alloca ptr, align 8 %33 = alloca ptr, align 8 %34 = alloca ptr, align 8 store ptr %0, ptr %18, align 8 store ptr %1, ptr %19, align 8 store ptr %2, ptr %20, align 8 store ptr %3, ptr %21, align 8 store ptr %4, ptr %22, align 8 store ptr %5, ptr %23, align 8 store ptr %6, ptr %24, align 8 store ptr %7, ptr %25, align 8 store ptr %8, ptr %26, align 8 store ptr %9, ptr %27, align 8 store ptr %10, ptr %28, align 8 store ptr %11, ptr %29, align 8 store ptr %12, ptr %30, align 8 store ptr %13, ptr %31, align 8 store ptr %14, ptr %32, align 8 store ptr %15, ptr %33, align 8 store ptr %16, ptr %34, align 8 %35 = load ptr, ptr %18, align 8 %36 = load ptr, ptr %19, align 8 %37 = load ptr, ptr %20, align 8 %38 = load ptr, ptr %21, align 8 %39 = load ptr, ptr %22, align 8 %40 = load ptr, ptr %23, align 8 %41 = load ptr, ptr %24, align 8 %42 = load ptr, ptr %25, align 8 %43 = load ptr, ptr %26, align 8 %44 = load ptr, ptr %27, align 8 %45 = load ptr, ptr %28, align 8 %46 = load ptr, ptr %29, align 8 %47 = load ptr, ptr %30, align 8 %48 = load ptr, ptr %31, align 8 %49 = load ptr, ptr %32, align 8 %50 = load ptr, ptr %33, align 8 %51 = load ptr, ptr %34, align 8 %52 = call i32 @zfeast_hegv_(ptr noundef %35, ptr noundef %36, ptr noundef %37, ptr noundef %38, ptr noundef %39, ptr noundef %40, ptr noundef %41, ptr noundef %42, ptr noundef %43, ptr noundef %44, ptr noundef %45, ptr noundef %46, ptr noundef %47, ptr noundef %48, ptr noundef %49, ptr noundef %50, ptr noundef %51) ret void } declare i32 @zfeast_hegv_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpi7xbxv36.c' source_filename = "/tmp/tmpi7xbxv36.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @yahoo_f01_23.Table = internal global [256 x i8] c"\0FB=\86>f\FE\\R\E2\A3\B3\CE\16\CC\95\B0\8B\82;\93}b\08\1Cn\BB\CB\1D\88i\D4\C9@\1F\BE'\BC\DB8\E5\A1q\BA\8A^\FD6\8F&k\E4 m\C5\DE\E0\83|\D5\D9M\DC\E3\0D2\ED\0E/!\A7y\A0\D3\8C\14o\B7\F8\85]7$\D6%\D2\8E\A5\B8\CDZ\9F\05\ADe\9EO[V\F0\AA\C2(\A8j\01\99.\A6wtdv\15\90u\AF\E89H\09\11\E1-\EC\B5z\B1\94\13AL\02\A9\97\DF\C3\8D\EA:\9C\D1\A2\9A\D7Y\D8\18\DAG\89\81\C7\F5\FC\98\CA\91\06h\C8\07J\84\0A\E73,\EB\DD_\AC#\1A5pC\80a\AE\C1\D0{\92IQS\C440\0CK\00\04\10\FFcD\B4\0BWr\F1\9D\19\F6\B2\87\1B\EEF*\F3\BF\12\96X+\F9\B6\CF\22<\AB\1El1\C6\F7xE\17\E9~s\F2U\FB?\9B\F4\BD\A4)`\03\B9P\FAN\EFT\E6\7F\C0g", align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @yahoo_f01_23(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @yahoo_M1TableCommon(i32 noundef %5, i32 noundef %6, ptr noundef @yahoo_f01_23.Table) ret i32 %7 } declare i32 @yahoo_M1TableCommon(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi7xbxv36.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @yahoo_f01_23.Table = internal global [256 x i8] c"\0FB=\86>f\FE\\R\E2\A3\B3\CE\16\CC\95\B0\8B\82;\93}b\08\1Cn\BB\CB\1D\88i\D4\C9@\1F\BE'\BC\DB8\E5\A1q\BA\8A^\FD6\8F&k\E4 m\C5\DE\E0\83|\D5\D9M\DC\E3\0D2\ED\0E/!\A7y\A0\D3\8C\14o\B7\F8\85]7$\D6%\D2\8E\A5\B8\CDZ\9F\05\ADe\9EO[V\F0\AA\C2(\A8j\01\99.\A6wtdv\15\90u\AF\E89H\09\11\E1-\EC\B5z\B1\94\13AL\02\A9\97\DF\C3\8D\EA:\9C\D1\A2\9A\D7Y\D8\18\DAG\89\81\C7\F5\FC\98\CA\91\06h\C8\07J\84\0A\E73,\EB\DD_\AC#\1A5pC\80a\AE\C1\D0{\92IQS\C440\0CK\00\04\10\FFcD\B4\0BWr\F1\9D\19\F6\B2\87\1B\EEF*\F3\BF\12\96X+\F9\B6\CF\22<\AB\1El1\C6\F7xE\17\E9~s\F2U\FB?\9B\F4\BD\A4)`\03\B9P\FAN\EFT\E6\7F\C0g", align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @yahoo_f01_23(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @yahoo_M1TableCommon(i32 noundef %5, i32 noundef %6, ptr noundef @yahoo_f01_23.Table) ret i32 %7 } declare i32 @yahoo_M1TableCommon(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcpcq1j1a.c' source_filename = "/tmp/tmpcpcq1j1a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENODEV = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fcntl(i32 noundef %0, i32 noundef %1, ...) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = load i32, ptr @ENODEV, align 4 store i32 %7, ptr @errno, align 4 ret i32 -1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcpcq1j1a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENODEV = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fcntl(i32 noundef %0, i32 noundef %1, ...) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = load i32, ptr @ENODEV, align 4 store i32 %7, ptr @errno, align 4 ret i32 -1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4pgodnma.c' source_filename = "/tmp/tmp4pgodnma.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @GL_QUADS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @drawCube() #0 { %1 = load i32, ptr @GL_QUADS, align 4 %2 = call i32 @glBegin(i32 noundef %1) %3 = call i32 @glColor3f(float noundef 0.000000e+00, float noundef 1.000000e+00, float noundef 0.000000e+00) %4 = call i32 @glVertex3f(float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef -1.000000e+00) %5 = call i32 @glVertex3f(float noundef -1.000000e+00, float noundef 1.000000e+00, float noundef -1.000000e+00) %6 = call i32 @glVertex3f(float noundef -1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00) %7 = call i32 @glVertex3f(float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00) %8 = call i32 @glColor3f(float noundef 1.000000e+00, float noundef 5.000000e-01, float noundef 0.000000e+00) %9 = call i32 @glVertex3f(float noundef 1.000000e+00, float noundef -1.000000e+00, float noundef 1.000000e+00) %10 = call i32 @glVertex3f(float noundef -1.000000e+00, float noundef -1.000000e+00, float noundef 1.000000e+00) %11 = call i32 @glVertex3f(float noundef -1.000000e+00, float noundef -1.000000e+00, float noundef -1.000000e+00) %12 = call i32 @glVertex3f(float noundef 1.000000e+00, float noundef -1.000000e+00, float noundef -1.000000e+00) %13 = call i32 @glColor3f(float noundef 1.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00) %14 = call i32 @glVertex3f(float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00) %15 = call i32 @glVertex3f(float noundef -1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00) %16 = call i32 @glVertex3f(float noundef -1.000000e+00, float noundef -1.000000e+00, float noundef 1.000000e+00) %17 = call i32 @glVertex3f(float noundef 1.000000e+00, float noundef -1.000000e+00, float noundef 1.000000e+00) %18 = call i32 @glColor3f(float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 0.000000e+00) %19 = call i32 @glVertex3f(float noundef 1.000000e+00, float noundef -1.000000e+00, float noundef -1.000000e+00) %20 = call i32 @glVertex3f(float noundef -1.000000e+00, float noundef -1.000000e+00, float noundef -1.000000e+00) %21 = call i32 @glVertex3f(float noundef -1.000000e+00, float noundef 1.000000e+00, float noundef -1.000000e+00) %22 = call i32 @glVertex3f(float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef -1.000000e+00) %23 = call i32 @glColor3f(float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 1.000000e+00) %24 = call i32 @glVertex3f(float noundef -1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00) %25 = call i32 @glVertex3f(float noundef -1.000000e+00, float noundef 1.000000e+00, float noundef -1.000000e+00) %26 = call i32 @glVertex3f(float noundef -1.000000e+00, float noundef -1.000000e+00, float noundef -1.000000e+00) %27 = call i32 @glVertex3f(float noundef -1.000000e+00, float noundef -1.000000e+00, float noundef 1.000000e+00) %28 = call i32 @glColor3f(float noundef 1.000000e+00, float noundef 0.000000e+00, float noundef 1.000000e+00) %29 = call i32 @glVertex3f(float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef -1.000000e+00) %30 = call i32 @glVertex3f(float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00) %31 = call i32 @glVertex3f(float noundef 1.000000e+00, float noundef -1.000000e+00, float noundef 1.000000e+00) %32 = call i32 @glVertex3f(float noundef 1.000000e+00, float noundef -1.000000e+00, float noundef -1.000000e+00) %33 = call i32 (...) @glEnd() ret void } declare i32 @glBegin(i32 noundef) #1 declare i32 @glColor3f(float noundef, float noundef, float noundef) #1 declare i32 @glVertex3f(float noundef, float noundef, float noundef) #1 declare i32 @glEnd(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4pgodnma.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @GL_QUADS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @drawCube() #0 { %1 = load i32, ptr @GL_QUADS, align 4 %2 = call i32 @glBegin(i32 noundef %1) %3 = call i32 @glColor3f(float noundef 0.000000e+00, float noundef 1.000000e+00, float noundef 0.000000e+00) %4 = call i32 @glVertex3f(float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef -1.000000e+00) %5 = call i32 @glVertex3f(float noundef -1.000000e+00, float noundef 1.000000e+00, float noundef -1.000000e+00) %6 = call i32 @glVertex3f(float noundef -1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00) %7 = call i32 @glVertex3f(float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00) %8 = call i32 @glColor3f(float noundef 1.000000e+00, float noundef 5.000000e-01, float noundef 0.000000e+00) %9 = call i32 @glVertex3f(float noundef 1.000000e+00, float noundef -1.000000e+00, float noundef 1.000000e+00) %10 = call i32 @glVertex3f(float noundef -1.000000e+00, float noundef -1.000000e+00, float noundef 1.000000e+00) %11 = call i32 @glVertex3f(float noundef -1.000000e+00, float noundef -1.000000e+00, float noundef -1.000000e+00) %12 = call i32 @glVertex3f(float noundef 1.000000e+00, float noundef -1.000000e+00, float noundef -1.000000e+00) %13 = call i32 @glColor3f(float noundef 1.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00) %14 = call i32 @glVertex3f(float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00) %15 = call i32 @glVertex3f(float noundef -1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00) %16 = call i32 @glVertex3f(float noundef -1.000000e+00, float noundef -1.000000e+00, float noundef 1.000000e+00) %17 = call i32 @glVertex3f(float noundef 1.000000e+00, float noundef -1.000000e+00, float noundef 1.000000e+00) %18 = call i32 @glColor3f(float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 0.000000e+00) %19 = call i32 @glVertex3f(float noundef 1.000000e+00, float noundef -1.000000e+00, float noundef -1.000000e+00) %20 = call i32 @glVertex3f(float noundef -1.000000e+00, float noundef -1.000000e+00, float noundef -1.000000e+00) %21 = call i32 @glVertex3f(float noundef -1.000000e+00, float noundef 1.000000e+00, float noundef -1.000000e+00) %22 = call i32 @glVertex3f(float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef -1.000000e+00) %23 = call i32 @glColor3f(float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 1.000000e+00) %24 = call i32 @glVertex3f(float noundef -1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00) %25 = call i32 @glVertex3f(float noundef -1.000000e+00, float noundef 1.000000e+00, float noundef -1.000000e+00) %26 = call i32 @glVertex3f(float noundef -1.000000e+00, float noundef -1.000000e+00, float noundef -1.000000e+00) %27 = call i32 @glVertex3f(float noundef -1.000000e+00, float noundef -1.000000e+00, float noundef 1.000000e+00) %28 = call i32 @glColor3f(float noundef 1.000000e+00, float noundef 0.000000e+00, float noundef 1.000000e+00) %29 = call i32 @glVertex3f(float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef -1.000000e+00) %30 = call i32 @glVertex3f(float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00) %31 = call i32 @glVertex3f(float noundef 1.000000e+00, float noundef -1.000000e+00, float noundef 1.000000e+00) %32 = call i32 @glVertex3f(float noundef 1.000000e+00, float noundef -1.000000e+00, float noundef -1.000000e+00) %33 = call i32 (...) @glEnd() ret void } declare i32 @glBegin(i32 noundef) #1 declare i32 @glColor3f(float noundef, float noundef, float noundef) #1 declare i32 @glVertex3f(float noundef, float noundef, float noundef) #1 declare i32 @glEnd(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnktwk0ur.c' source_filename = "/tmp/tmpnktwk0ur.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_U_Qfle(x86_fp80 noundef %0, x86_fp80 noundef %1) #0 { %3 = alloca x86_fp80, align 16 %4 = alloca x86_fp80, align 16 store x86_fp80 %0, ptr %3, align 16 store x86_fp80 %1, ptr %4, align 16 %5 = load x86_fp80, ptr %3, align 16 %6 = load x86_fp80, ptr %4, align 16 %7 = call i64 @_U_Qfcmp(x86_fp80 noundef %5, x86_fp80 noundef %6, i32 noundef 13) %8 = icmp ne i64 %7, 0 %9 = zext i1 %8 to i32 ret i32 %9 } declare i64 @_U_Qfcmp(x86_fp80 noundef, x86_fp80 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/tmpnktwk0ur.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_U_Qfle(x86_fp80 noundef %0, x86_fp80 noundef %1) #0 { %3 = alloca x86_fp80, align 16 %4 = alloca x86_fp80, align 16 store x86_fp80 %0, ptr %3, align 16 store x86_fp80 %1, ptr %4, align 16 %5 = load x86_fp80, ptr %3, align 16 %6 = load x86_fp80, ptr %4, align 16 %7 = call i64 @_U_Qfcmp(x86_fp80 noundef %5, x86_fp80 noundef %6, i32 noundef 13) %8 = icmp ne i64 %7, 0 %9 = zext i1 %8 to i32 ret i32 %9 } declare i64 @_U_Qfcmp(x86_fp80 noundef, x86_fp80 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/tmpvseycxw0.c' source_filename = "/tmp/tmpvseycxw0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @custom_quicksort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %6, align 4 %11 = icmp sge i32 %9, %10 br i1 %11, label %12, label %13 12: ; preds = %3 br label %62 13: ; preds = %3 %14 = load ptr, ptr %4, align 8 %15 = load i32, ptr %5, align 4 %16 = load i32, ptr %5, align 4 %17 = load i32, ptr %6, align 4 %18 = add nsw i32 %16, %17 %19 = sdiv i32 %18, 2 %20 = call i32 @swap(ptr noundef %14, i32 noundef %15, i32 noundef %19) %21 = load i32, ptr %5, align 4 store i32 %21, ptr %8, align 4 %22 = load i32, ptr %5, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %7, align 4 br label %24 24: ; preds = %47, %13 %25 = load i32, ptr %7, align 4 %26 = load i32, ptr %6, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %28, label %50 28: ; preds = %24 %29 = load ptr, ptr %4, align 8 %30 = load i32, ptr %5, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i32, ptr %29, i64 %31 %33 = load i32, ptr %32, align 4 %34 = load ptr, ptr %4, align 8 %35 = load i32, ptr %7, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i32, ptr %34, i64 %36 %38 = load i32, ptr %37, align 4 %39 = icmp sgt i32 %33, %38 br i1 %39, label %40, label %46 40: ; preds = %28 %41 = load ptr, ptr %4, align 8 %42 = load i32, ptr %8, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %8, align 4 %44 = load i32, ptr %7, align 4 %45 = call i32 @swap(ptr noundef %41, i32 noundef %43, i32 noundef %44) br label %46 46: ; preds = %40, %28 br label %47 47: ; preds = %46 %48 = load i32, ptr %7, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %7, align 4 br label %24, !llvm.loop !6 50: ; preds = %24 %51 = load ptr, ptr %4, align 8 %52 = load i32, ptr %8, align 4 %53 = load i32, ptr %7, align 4 %54 = call i32 @swap(ptr noundef %51, i32 noundef %52, i32 noundef %53) %55 = load ptr, ptr %4, align 8 %56 = load i32, ptr %5, align 4 %57 = load i32, ptr %8, align 4 %58 = sub nsw i32 %57, 1 call void @custom_quicksort(ptr noundef %55, i32 noundef %56, i32 noundef %58) %59 = load ptr, ptr %4, align 8 %60 = load i32, ptr %8, align 4 %61 = load i32, ptr %6, align 4 call void @custom_quicksort(ptr noundef %59, i32 noundef %60, i32 noundef %61) br label %62 62: ; preds = %50, %12 ret void } declare i32 @swap(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvseycxw0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @custom_quicksort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %6, align 4 %11 = icmp sge i32 %9, %10 br i1 %11, label %12, label %13 12: ; preds = %3 br label %64 13: ; preds = %3 %14 = load ptr, ptr %4, align 8 %15 = load i32, ptr %5, align 4 %16 = load i32, ptr %5, align 4 %17 = load i32, ptr %6, align 4 %18 = add nsw i32 %16, %17 %19 = sdiv i32 %18, 2 %20 = call i32 @swap(ptr noundef %14, i32 noundef %15, i32 noundef %19) %21 = load i32, ptr %5, align 4 store i32 %21, ptr %8, align 4 %22 = load i32, ptr %5, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %7, align 4 %24 = load i32, ptr %7, align 4 %25 = load i32, ptr %6, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %.lr.ph, label %52 .lr.ph: ; preds = %13 br label %27 27: ; preds = %.lr.ph, %46 %28 = load ptr, ptr %4, align 8 %29 = load i32, ptr %5, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i32, ptr %28, i64 %30 %32 = load i32, ptr %31, align 4 %33 = load ptr, ptr %4, align 8 %34 = load i32, ptr %7, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i32, ptr %33, i64 %35 %37 = load i32, ptr %36, align 4 %38 = icmp sgt i32 %32, %37 br i1 %38, label %39, label %45 39: ; preds = %27 %40 = load ptr, ptr %4, align 8 %41 = load i32, ptr %8, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %8, align 4 %43 = load i32, ptr %7, align 4 %44 = call i32 @swap(ptr noundef %40, i32 noundef %42, i32 noundef %43) br label %45 45: ; preds = %39, %27 br label %46 46: ; preds = %45 %47 = load i32, ptr %7, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %7, align 4 %49 = load i32, ptr %7, align 4 %50 = load i32, ptr %6, align 4 %51 = icmp slt i32 %49, %50 br i1 %51, label %27, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %46 br label %52 52: ; preds = %._crit_edge, %13 %53 = load ptr, ptr %4, align 8 %54 = load i32, ptr %8, align 4 %55 = load i32, ptr %7, align 4 %56 = call i32 @swap(ptr noundef %53, i32 noundef %54, i32 noundef %55) %57 = load ptr, ptr %4, align 8 %58 = load i32, ptr %5, align 4 %59 = load i32, ptr %8, align 4 %60 = sub nsw i32 %59, 1 call void @custom_quicksort(ptr noundef %57, i32 noundef %58, i32 noundef %60) %61 = load ptr, ptr %4, align 8 %62 = load i32, ptr %8, align 4 %63 = load i32, ptr %6, align 4 call void @custom_quicksort(ptr noundef %61, i32 noundef %62, i32 noundef %63) br label %64 64: ; preds = %52, %12 ret void } declare i32 @swap(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp2jshw_zo.c' source_filename = "/tmp/tmp2jshw_zo.c" target datalayout = "e-m:e-p270: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/tmp2jshw_zo.c" target datalayout = "e-m:e-p270: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/tmpsqnvnqqz.c' source_filename = "/tmp/tmpsqnvnqqz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"====================\0A\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"Enter your guess: \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [48 x i8] c"CORRECT! The number was found in %d guess(es).\0A\00", align 1 @.str.4 = private unnamed_addr constant [23 x i8] c"WRONG! It's higher...\0A\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"-----\0A\00", align 1 @.str.6 = private unnamed_addr constant [22 x i8] c"WRONG! It's lower...\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 store i32 0, ptr %1, align 4 %7 = call i64 @time(ptr noundef %2) %8 = trunc i64 %7 to i32 %9 = call i32 @srand(i32 noundef %8) %10 = call i32 (...) @rand() %11 = srem i32 %10, 100 %12 = add nsw i32 %11, 1 store i32 %12, ptr %3, align 4 store i32 1, ptr %4, align 4 store i32 0, ptr %6, align 4 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %14 14: ; preds = %40, %0 %15 = load i32, ptr %4, align 4 %16 = icmp ne i32 %15, 0 br i1 %16, label %17, label %41 17: ; preds = %14 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %19 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %5) %20 = load i32, ptr %6, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %6, align 4 %22 = load i32, ptr %5, align 4 %23 = load i32, ptr %3, align 4 %24 = icmp eq i32 %22, %23 br i1 %24, label %25, label %29 25: ; preds = %17 %26 = load i32, ptr %6, align 4 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %26) %28 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %4, align 4 br label %40 29: ; preds = %17 %30 = load i32, ptr %3, align 4 %31 = load i32, ptr %5, align 4 %32 = icmp sgt i32 %30, %31 br i1 %32, label %33, label %36 33: ; preds = %29 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %39 36: ; preds = %29 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %39 39: ; preds = %36, %33 br label %40 40: ; preds = %39, %25 br label %14, !llvm.loop !6 41: ; preds = %14 ret i32 0 } declare i32 @srand(i32 noundef) #1 declare i64 @time(ptr noundef) #1 declare i32 @rand(...) #1 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsqnvnqqz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"====================\0A\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"Enter your guess: \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [48 x i8] c"CORRECT! The number was found in %d guess(es).\0A\00", align 1 @.str.4 = private unnamed_addr constant [23 x i8] c"WRONG! It's higher...\0A\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"-----\0A\00", align 1 @.str.6 = private unnamed_addr constant [22 x i8] c"WRONG! It's lower...\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 store i32 0, ptr %1, align 4 %7 = call i64 @time(ptr noundef %2) %8 = trunc i64 %7 to i32 %9 = call i32 @srand(i32 noundef %8) %10 = call i32 (...) @rand() %11 = srem i32 %10, 100 %12 = add nsw i32 %11, 1 store i32 %12, ptr %3, align 4 store i32 1, ptr %4, align 4 store i32 0, ptr %6, align 4 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str) %14 = load i32, ptr %4, align 4 %15 = icmp ne i32 %14, 0 br i1 %15, label %.lr.ph, label %42 .lr.ph: ; preds = %0 br label %16 16: ; preds = %.lr.ph, %39 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %18 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %5) %19 = load i32, ptr %6, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %6, align 4 %21 = load i32, ptr %5, align 4 %22 = load i32, ptr %3, align 4 %23 = icmp eq i32 %21, %22 br i1 %23, label %24, label %28 24: ; preds = %16 %25 = load i32, ptr %6, align 4 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %25) %27 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %4, align 4 br label %39 28: ; preds = %16 %29 = load i32, ptr %3, align 4 %30 = load i32, ptr %5, align 4 %31 = icmp sgt i32 %29, %30 br i1 %31, label %32, label %35 32: ; preds = %28 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %38 35: ; preds = %28 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %38 38: ; preds = %35, %32 br label %39 39: ; preds = %38, %24 %40 = load i32, ptr %4, align 4 %41 = icmp ne i32 %40, 0 br i1 %41, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %39 br label %42 42: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @srand(i32 noundef) #1 declare i64 @time(ptr noundef) #1 declare i32 @rand(...) #1 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp6x0ym524.c' source_filename = "/tmp/tmp6x0ym524.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @B(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = call i32 @cos(double noundef %3) %5 = mul nsw i32 4, %4 %6 = add nsw i32 2, %5 %7 = load double, ptr %2, align 8 %8 = call i32 @sin(double noundef %7) %9 = mul nsw i32 4, %8 %10 = sdiv i32 %6, %9 %11 = call double @atan(i32 noundef %10) %12 = load double, ptr %2, align 8 %13 = fneg double %12 %14 = fsub double %11, %13 ret double %14 } declare double @atan(i32 noundef) #1 declare i32 @cos(double noundef) #1 declare i32 @sin(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6x0ym524.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @B(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = call i32 @cos(double noundef %3) %5 = mul nsw i32 4, %4 %6 = add nsw i32 2, %5 %7 = load double, ptr %2, align 8 %8 = call i32 @sin(double noundef %7) %9 = mul nsw i32 4, %8 %10 = sdiv i32 %6, %9 %11 = call double @atan(i32 noundef %10) %12 = load double, ptr %2, align 8 %13 = fneg double %12 %14 = fsub double %11, %13 ret double %14 } declare double @atan(i32 noundef) #1 declare i32 @cos(double noundef) #1 declare i32 @sin(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfenjpg1d.c' source_filename = "/tmp/tmpfenjpg1d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @pad_value(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca [32 x i8], align 16 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 store i32 -1, ptr %10, align 4 %14 = load ptr, ptr %5, align 8 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %17 16: ; preds = %4 br label %184 17: ; preds = %4 %18 = getelementptr inbounds [32 x i8], ptr %13, i64 0, i64 0 %19 = load ptr, ptr %5, align 8 %20 = call i32 @sprintf(ptr noundef %18, ptr noundef @.str, ptr noundef %19) store i32 0, ptr %9, align 4 br label %21 21: ; preds = %37, %17 %22 = load i32, ptr %9, align 4 %23 = load ptr, ptr %5, align 8 %24 = call i32 @strlen(ptr noundef %23) %25 = icmp slt i32 %22, %24 br i1 %25, label %26, label %40 26: ; preds = %21 %27 = load ptr, ptr %5, align 8 %28 = load i32, ptr %9, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %27, i64 %29 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = icmp eq i32 %32, 46 br i1 %33, label %34, label %36 34: ; preds = %26 %35 = load i32, ptr %9, align 4 store i32 %35, ptr %10, align 4 br label %36 36: ; preds = %34, %26 br label %37 37: ; preds = %36 %38 = load i32, ptr %9, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %9, align 4 br label %21, !llvm.loop !6 40: ; preds = %21 %41 = load i32, ptr %10, align 4 %42 = icmp eq i32 %41, -1 br i1 %42, label %43, label %64 43: ; preds = %40 store i32 0, ptr %9, align 4 br label %44 44: ; preds = %60, %43 %45 = load i32, ptr %9, align 4 %46 = load ptr, ptr %5, align 8 %47 = call i32 @strlen(ptr noundef %46) %48 = icmp slt i32 %45, %47 br i1 %48, label %49, label %63 49: ; preds = %44 %50 = load ptr, ptr %5, align 8 %51 = load i32, ptr %9, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i8, ptr %50, i64 %52 %54 = load i8, ptr %53, align 1 %55 = sext i8 %54 to i32 %56 = icmp eq i32 %55, 44 br i1 %56, label %57, label %59 57: ; preds = %49 %58 = load i32, ptr %9, align 4 store i32 %58, ptr %10, align 4 br label %59 59: ; preds = %57, %49 br label %60 60: ; preds = %59 %61 = load i32, ptr %9, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %9, align 4 br label %44, !llvm.loop !8 63: ; preds = %44 br label %64 64: ; preds = %63, %40 %65 = load i32, ptr %10, align 4 %66 = icmp sgt i32 %65, -1 br i1 %66, label %67, label %106 67: ; preds = %64 %68 = load i32, ptr %8, align 4 %69 = add nsw i32 %68, 1 %70 = load ptr, ptr %5, align 8 %71 = call i32 @strlen(ptr noundef %70) %72 = load i32, ptr %10, align 4 %73 = sub nsw i32 %71, %72 %74 = sub nsw i32 %69, %73 store i32 %74, ptr %11, align 4 %75 = load i32, ptr %11, align 4 %76 = icmp slt i32 %75, 0 br i1 %76, label %77, label %84 77: ; preds = %67 %78 = load ptr, ptr %5, align 8 %79 = call i32 @strlen(ptr noundef %78) %80 = load i32, ptr %11, align 4 %81 = add nsw i32 %79, %80 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds [32 x i8], ptr %13, i64 0, i64 %82 store i8 0, ptr %83, align 1 br label %84 84: ; preds = %77, %67 store i32 0, ptr %9, align 4 br label %85 85: ; preds = %96, %84 %86 = load i32, ptr %9, align 4 %87 = load i32, ptr %11, align 4 %88 = icmp slt i32 %86, %87 br i1 %88, label %89, label %99 89: ; preds = %85 %90 = load ptr, ptr %5, align 8 %91 = call i32 @strlen(ptr noundef %90) %92 = load i32, ptr %9, align 4 %93 = add nsw i32 %91, %92 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds [32 x i8], ptr %13, i64 0, i64 %94 store i8 48, ptr %95, align 1 br label %96 96: ; preds = %89 %97 = load i32, ptr %9, align 4 %98 = add nsw i32 %97, 1 store i32 %98, ptr %9, align 4 br label %85, !llvm.loop !9 99: ; preds = %85 %100 = load ptr, ptr %5, align 8 %101 = call i32 @strlen(ptr noundef %100) %102 = load i32, ptr %9, align 4 %103 = add nsw i32 %101, %102 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds [32 x i8], ptr %13, i64 0, i64 %104 store i8 0, ptr %105, align 1 br label %134 106: ; preds = %64 %107 = load ptr, ptr %5, align 8 %108 = call i32 @strlen(ptr noundef %107) %109 = sext i32 %108 to i64 %110 = getelementptr inbounds [32 x i8], ptr %13, i64 0, i64 %109 store i8 46, ptr %110, align 1 store i32 0, ptr %9, align 4 br label %111 111: ; preds = %123, %106 %112 = load i32, ptr %9, align 4 %113 = load i32, ptr %8, align 4 %114 = icmp slt i32 %112, %113 br i1 %114, label %115, label %126 115: ; preds = %111 %116 = load ptr, ptr %5, align 8 %117 = call i32 @strlen(ptr noundef %116) %118 = load i32, ptr %9, align 4 %119 = add nsw i32 %117, %118 %120 = add nsw i32 %119, 1 %121 = sext i32 %120 to i64 %122 = getelementptr inbounds [32 x i8], ptr %13, i64 0, i64 %121 store i8 48, ptr %122, align 1 br label %123 123: ; preds = %115 %124 = load i32, ptr %9, align 4 %125 = add nsw i32 %124, 1 store i32 %125, ptr %9, align 4 br label %111, !llvm.loop !10 126: ; preds = %111 %127 = load ptr, ptr %5, align 8 %128 = call i32 @strlen(ptr noundef %127) %129 = load i32, ptr %9, align 4 %130 = add nsw i32 %128, %129 %131 = add nsw i32 %130, 1 %132 = sext i32 %131 to i64 %133 = getelementptr inbounds [32 x i8], ptr %13, i64 0, i64 %132 store i8 0, ptr %133, align 1 br label %134 134: ; preds = %126, %99 %135 = load i32, ptr %10, align 4 %136 = icmp eq i32 %135, -1 br i1 %136, label %137, label %140 137: ; preds = %134 %138 = load ptr, ptr %5, align 8 %139 = call i32 @strlen(ptr noundef %138) store i32 %139, ptr %10, align 4 br label %140 140: ; preds = %137, %134 %141 = load i32, ptr %7, align 4 %142 = load i32, ptr %10, align 4 %143 = sub nsw i32 %141, %142 %144 = sub nsw i32 %143, 1 store i32 %144, ptr %12, align 4 store i32 0, ptr %9, align 4 br label %145 145: ; preds = %154, %140 %146 = load i32, ptr %9, align 4 %147 = load i32, ptr %12, align 4 %148 = icmp slt i32 %146, %147 br i1 %148, label %149, label %157 149: ; preds = %145 %150 = load ptr, ptr %6, align 8 %151 = load i32, ptr %9, align 4 %152 = sext i32 %151 to i64 %153 = getelementptr inbounds i8, ptr %150, i64 %152 store i8 32, ptr %153, align 1 br label %154 154: ; preds = %149 %155 = load i32, ptr %9, align 4 %156 = add nsw i32 %155, 1 store i32 %156, ptr %9, align 4 br label %145, !llvm.loop !11 157: ; preds = %145 store i32 0, ptr %9, align 4 br label %158 158: ; preds = %174, %157 %159 = load i32, ptr %9, align 4 %160 = getelementptr inbounds [32 x i8], ptr %13, i64 0, i64 0 %161 = call i32 @strlen(ptr noundef %160) %162 = icmp slt i32 %159, %161 br i1 %162, label %163, label %177 163: ; preds = %158 %164 = load i32, ptr %9, align 4 %165 = sext i32 %164 to i64 %166 = getelementptr inbounds [32 x i8], ptr %13, i64 0, i64 %165 %167 = load i8, ptr %166, align 1 %168 = load ptr, ptr %6, align 8 %169 = load i32, ptr %12, align 4 %170 = load i32, ptr %9, align 4 %171 = add nsw i32 %169, %170 %172 = sext i32 %171 to i64 %173 = getelementptr inbounds i8, ptr %168, i64 %172 store i8 %167, ptr %173, align 1 br label %174 174: ; preds = %163 %175 = load i32, ptr %9, align 4 %176 = add nsw i32 %175, 1 store i32 %176, ptr %9, align 4 br label %158, !llvm.loop !12 177: ; preds = %158 %178 = load ptr, ptr %6, align 8 %179 = load i32, ptr %12, align 4 %180 = load i32, ptr %9, align 4 %181 = add nsw i32 %179, %180 %182 = sext i32 %181 to i64 %183 = getelementptr inbounds i8, ptr %178, i64 %182 store i8 0, ptr %183, align 1 br label %184 184: ; preds = %177, %16 ret void } declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfenjpg1d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @pad_value(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca [32 x i8], align 16 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 store i32 -1, ptr %10, align 4 %14 = load ptr, ptr %5, align 8 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %17 16: ; preds = %4 br label %198 17: ; preds = %4 %18 = getelementptr inbounds [32 x i8], ptr %13, i64 0, i64 0 %19 = load ptr, ptr %5, align 8 %20 = call i32 @sprintf(ptr noundef %18, ptr noundef @.str, ptr noundef %19) store i32 0, ptr %9, align 4 %21 = load i32, ptr %9, align 4 %22 = load ptr, ptr %5, align 8 %23 = call i32 @strlen(ptr noundef %22) %24 = icmp slt i32 %21, %23 br i1 %24, label %.lr.ph, label %43 .lr.ph: ; preds = %17 br label %25 25: ; preds = %.lr.ph, %36 %26 = load ptr, ptr %5, align 8 %27 = load i32, ptr %9, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %26, i64 %28 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = icmp eq i32 %31, 46 br i1 %32, label %33, label %35 33: ; preds = %25 %34 = load i32, ptr %9, align 4 store i32 %34, ptr %10, align 4 br label %35 35: ; preds = %33, %25 br label %36 36: ; preds = %35 %37 = load i32, ptr %9, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %9, align 4 %39 = load i32, ptr %9, align 4 %40 = load ptr, ptr %5, align 8 %41 = call i32 @strlen(ptr noundef %40) %42 = icmp slt i32 %39, %41 br i1 %42, label %25, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %36 br label %43 43: ; preds = %._crit_edge, %17 %44 = load i32, ptr %10, align 4 %45 = icmp eq i32 %44, -1 br i1 %45, label %46, label %70 46: ; preds = %43 store i32 0, ptr %9, align 4 %47 = load i32, ptr %9, align 4 %48 = load ptr, ptr %5, align 8 %49 = call i32 @strlen(ptr noundef %48) %50 = icmp slt i32 %47, %49 br i1 %50, label %.lr.ph2, label %69 .lr.ph2: ; preds = %46 br label %51 51: ; preds = %.lr.ph2, %62 %52 = load ptr, ptr %5, align 8 %53 = load i32, ptr %9, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i8, ptr %52, i64 %54 %56 = load i8, ptr %55, align 1 %57 = sext i8 %56 to i32 %58 = icmp eq i32 %57, 44 br i1 %58, label %59, label %61 59: ; preds = %51 %60 = load i32, ptr %9, align 4 store i32 %60, ptr %10, align 4 br label %61 61: ; preds = %59, %51 br label %62 62: ; preds = %61 %63 = load i32, ptr %9, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %9, align 4 %65 = load i32, ptr %9, align 4 %66 = load ptr, ptr %5, align 8 %67 = call i32 @strlen(ptr noundef %66) %68 = icmp slt i32 %65, %67 br i1 %68, label %51, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %62 br label %69 69: ; preds = %._crit_edge3, %46 br label %70 70: ; preds = %69, %43 %71 = load i32, ptr %10, align 4 %72 = icmp sgt i32 %71, -1 br i1 %72, label %73, label %114 73: ; preds = %70 %74 = load i32, ptr %8, align 4 %75 = add nsw i32 %74, 1 %76 = load ptr, ptr %5, align 8 %77 = call i32 @strlen(ptr noundef %76) %78 = load i32, ptr %10, align 4 %79 = sub nsw i32 %77, %78 %80 = sub nsw i32 %75, %79 store i32 %80, ptr %11, align 4 %81 = load i32, ptr %11, align 4 %82 = icmp slt i32 %81, 0 br i1 %82, label %83, label %90 83: ; preds = %73 %84 = load ptr, ptr %5, align 8 %85 = call i32 @strlen(ptr noundef %84) %86 = load i32, ptr %11, align 4 %87 = add nsw i32 %85, %86 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds [32 x i8], ptr %13, i64 0, i64 %88 store i8 0, ptr %89, align 1 br label %90 90: ; preds = %83, %73 store i32 0, ptr %9, align 4 %91 = load i32, ptr %9, align 4 %92 = load i32, ptr %11, align 4 %93 = icmp slt i32 %91, %92 br i1 %93, label %.lr.ph8, label %107 .lr.ph8: ; preds = %90 br label %94 94: ; preds = %.lr.ph8, %101 %95 = load ptr, ptr %5, align 8 %96 = call i32 @strlen(ptr noundef %95) %97 = load i32, ptr %9, align 4 %98 = add nsw i32 %96, %97 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds [32 x i8], ptr %13, i64 0, i64 %99 store i8 48, ptr %100, align 1 br label %101 101: ; preds = %94 %102 = load i32, ptr %9, align 4 %103 = add nsw i32 %102, 1 store i32 %103, ptr %9, align 4 %104 = load i32, ptr %9, align 4 %105 = load i32, ptr %11, align 4 %106 = icmp slt i32 %104, %105 br i1 %106, label %94, label %._crit_edge9, !llvm.loop !9 ._crit_edge9: ; preds = %101 br label %107 107: ; preds = %._crit_edge9, %90 %108 = load ptr, ptr %5, align 8 %109 = call i32 @strlen(ptr noundef %108) %110 = load i32, ptr %9, align 4 %111 = add nsw i32 %109, %110 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds [32 x i8], ptr %13, i64 0, i64 %112 store i8 0, ptr %113, align 1 br label %144 114: ; preds = %70 %115 = load ptr, ptr %5, align 8 %116 = call i32 @strlen(ptr noundef %115) %117 = sext i32 %116 to i64 %118 = getelementptr inbounds [32 x i8], ptr %13, i64 0, i64 %117 store i8 46, ptr %118, align 1 store i32 0, ptr %9, align 4 %119 = load i32, ptr %9, align 4 %120 = load i32, ptr %8, align 4 %121 = icmp slt i32 %119, %120 br i1 %121, label %.lr.ph5, label %136 .lr.ph5: ; preds = %114 br label %122 122: ; preds = %.lr.ph5, %130 %123 = load ptr, ptr %5, align 8 %124 = call i32 @strlen(ptr noundef %123) %125 = load i32, ptr %9, align 4 %126 = add nsw i32 %124, %125 %127 = add nsw i32 %126, 1 %128 = sext i32 %127 to i64 %129 = getelementptr inbounds [32 x i8], ptr %13, i64 0, i64 %128 store i8 48, ptr %129, align 1 br label %130 130: ; preds = %122 %131 = load i32, ptr %9, align 4 %132 = add nsw i32 %131, 1 store i32 %132, ptr %9, align 4 %133 = load i32, ptr %9, align 4 %134 = load i32, ptr %8, align 4 %135 = icmp slt i32 %133, %134 br i1 %135, label %122, label %._crit_edge6, !llvm.loop !10 ._crit_edge6: ; preds = %130 br label %136 136: ; preds = %._crit_edge6, %114 %137 = load ptr, ptr %5, align 8 %138 = call i32 @strlen(ptr noundef %137) %139 = load i32, ptr %9, align 4 %140 = add nsw i32 %138, %139 %141 = add nsw i32 %140, 1 %142 = sext i32 %141 to i64 %143 = getelementptr inbounds [32 x i8], ptr %13, i64 0, i64 %142 store i8 0, ptr %143, align 1 br label %144 144: ; preds = %136, %107 %145 = load i32, ptr %10, align 4 %146 = icmp eq i32 %145, -1 br i1 %146, label %147, label %150 147: ; preds = %144 %148 = load ptr, ptr %5, align 8 %149 = call i32 @strlen(ptr noundef %148) store i32 %149, ptr %10, align 4 br label %150 150: ; preds = %147, %144 %151 = load i32, ptr %7, align 4 %152 = load i32, ptr %10, align 4 %153 = sub nsw i32 %151, %152 %154 = sub nsw i32 %153, 1 store i32 %154, ptr %12, align 4 store i32 0, ptr %9, align 4 %155 = load i32, ptr %9, align 4 %156 = load i32, ptr %12, align 4 %157 = icmp slt i32 %155, %156 br i1 %157, label %.lr.ph11, label %169 .lr.ph11: ; preds = %150 br label %158 158: ; preds = %.lr.ph11, %163 %159 = load ptr, ptr %6, align 8 %160 = load i32, ptr %9, align 4 %161 = sext i32 %160 to i64 %162 = getelementptr inbounds i8, ptr %159, i64 %161 store i8 32, ptr %162, align 1 br label %163 163: ; preds = %158 %164 = load i32, ptr %9, align 4 %165 = add nsw i32 %164, 1 store i32 %165, ptr %9, align 4 %166 = load i32, ptr %9, align 4 %167 = load i32, ptr %12, align 4 %168 = icmp slt i32 %166, %167 br i1 %168, label %158, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %163 br label %169 169: ; preds = %._crit_edge12, %150 store i32 0, ptr %9, align 4 %170 = load i32, ptr %9, align 4 %171 = getelementptr inbounds [32 x i8], ptr %13, i64 0, i64 0 %172 = call i32 @strlen(ptr noundef %171) %173 = icmp slt i32 %170, %172 br i1 %173, label %.lr.ph14, label %191 .lr.ph14: ; preds = %169 br label %174 174: ; preds = %.lr.ph14, %185 %175 = load i32, ptr %9, align 4 %176 = sext i32 %175 to i64 %177 = getelementptr inbounds [32 x i8], ptr %13, i64 0, i64 %176 %178 = load i8, ptr %177, align 1 %179 = load ptr, ptr %6, align 8 %180 = load i32, ptr %12, align 4 %181 = load i32, ptr %9, align 4 %182 = add nsw i32 %180, %181 %183 = sext i32 %182 to i64 %184 = getelementptr inbounds i8, ptr %179, i64 %183 store i8 %178, ptr %184, align 1 br label %185 185: ; preds = %174 %186 = load i32, ptr %9, align 4 %187 = add nsw i32 %186, 1 store i32 %187, ptr %9, align 4 %188 = load i32, ptr %9, align 4 %189 = call i32 @strlen(ptr noundef %171) %190 = icmp slt i32 %188, %189 br i1 %190, label %174, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %185 br label %191 191: ; preds = %._crit_edge15, %169 %192 = load ptr, ptr %6, align 8 %193 = load i32, ptr %12, align 4 %194 = load i32, ptr %9, align 4 %195 = add nsw i32 %193, %194 %196 = sext i32 %195 to i64 %197 = getelementptr inbounds i8, ptr %192, i64 %196 store i8 0, ptr %197, align 1 br label %198 198: ; preds = %191, %16 ret void } declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '/tmp/tmpmmik57uo.c' source_filename = "/tmp/tmpmmik57uo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"rb\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"E: Couldn't open %s.\0A\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"%s-trim\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"wb\00", align 1 @.str.4 = private unnamed_addr constant [24 x i8] c"E: Couldn't create %s.\0A\00", align 1 @.str.5 = private unnamed_addr constant [30 x i8] c"E: %s shorter than %d bytes.\0A\00", align 1 @.str.6 = private unnamed_addr constant [36 x i8] c"E: Wrote less than %d bytes to %s.\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 ptr, align 8 %8 = alloca [256 x i8], align 16 %9 = alloca ptr, align 8 %10 = alloca [1280 x i32], align 16 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 %6, align 4 br label %11 11: ; preds = %71, %2 %12 = load i32, ptr %6, align 4 %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %15, label %74 15: ; preds = %11 %16 = load ptr, ptr %5, align 8 %17 = load i32, ptr %6, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds ptr, ptr %16, i64 %18 %20 = load ptr, ptr %19, align 8 %21 = call ptr @fopen(ptr noundef %20, ptr noundef @.str) store ptr %21, ptr %7, align 8 %22 = load ptr, ptr %7, align 8 %23 = icmp ne ptr %22, null br i1 %23, label %31, label %24 24: ; preds = %15 %25 = load ptr, ptr %5, align 8 %26 = load i32, ptr %6, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds ptr, ptr %25, i64 %27 %29 = load ptr, ptr %28, align 8 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %29) br label %71 31: ; preds = %15 %32 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %33 = load ptr, ptr %5, align 8 %34 = load i32, ptr %6, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds ptr, ptr %33, i64 %35 %37 = load ptr, ptr %36, align 8 %38 = call i32 @sprintf(ptr noundef %32, ptr noundef @.str.2, ptr noundef %37) %39 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %40 = call ptr @fopen(ptr noundef %39, ptr noundef @.str.3) store ptr %40, ptr %9, align 8 %41 = load ptr, ptr %9, align 8 %42 = icmp ne ptr %41, null br i1 %42, label %46, label %43 43: ; preds = %31 %44 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %44) br label %71 46: ; preds = %31 %47 = getelementptr inbounds [1280 x i32], ptr %10, i64 0, i64 0 %48 = load ptr, ptr %7, align 8 %49 = call i32 @fread(ptr noundef %47, i32 noundef 1, i32 noundef 1280, ptr noundef %48) %50 = icmp slt i32 %49, 1280 br i1 %50, label %51, label %58 51: ; preds = %46 %52 = load ptr, ptr %5, align 8 %53 = load i32, ptr %6, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds ptr, ptr %52, i64 %54 %56 = load ptr, ptr %55, align 8 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %56, i32 noundef 1280) br label %58 58: ; preds = %51, %46 %59 = load ptr, ptr %7, align 8 %60 = call i32 @fclose(ptr noundef %59) %61 = getelementptr inbounds [1280 x i32], ptr %10, i64 0, i64 0 %62 = load ptr, ptr %9, align 8 %63 = call i32 @fwrite(ptr noundef %61, i32 noundef 1, i32 noundef 1280, ptr noundef %62) %64 = icmp slt i32 %63, 1280 br i1 %64, label %65, label %68 65: ; preds = %58 %66 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef 1280, ptr noundef %66) br label %68 68: ; preds = %65, %58 %69 = load ptr, ptr %9, align 8 %70 = call i32 @fclose(ptr noundef %69) br label %71 71: ; preds = %68, %43, %24 %72 = load i32, ptr %6, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %6, align 4 br label %11, !llvm.loop !6 74: ; preds = %11 %75 = load i32, ptr %3, align 4 ret i32 %75 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmmik57uo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"rb\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"E: Couldn't open %s.\0A\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"%s-trim\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"wb\00", align 1 @.str.4 = private unnamed_addr constant [24 x i8] c"E: Couldn't create %s.\0A\00", align 1 @.str.5 = private unnamed_addr constant [30 x i8] c"E: %s shorter than %d bytes.\0A\00", align 1 @.str.6 = private unnamed_addr constant [36 x i8] c"E: Wrote less than %d bytes to %s.\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 ptr, align 8 %8 = alloca [256 x i8], align 16 %9 = alloca ptr, align 8 %10 = alloca [1280 x i32], align 16 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 %6, align 4 %11 = load i32, ptr %6, align 4 %12 = load i32, ptr %4, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %.lr.ph, label %76 .lr.ph: ; preds = %2 br label %14 14: ; preds = %.lr.ph, %70 %15 = load ptr, ptr %5, align 8 %16 = load i32, ptr %6, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds ptr, ptr %15, i64 %17 %19 = load ptr, ptr %18, align 8 %20 = call ptr @fopen(ptr noundef %19, ptr noundef @.str) store ptr %20, ptr %7, align 8 %21 = load ptr, ptr %7, align 8 %22 = icmp ne ptr %21, null br i1 %22, label %30, label %23 23: ; preds = %14 %24 = load ptr, ptr %5, align 8 %25 = load i32, ptr %6, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds ptr, ptr %24, i64 %26 %28 = load ptr, ptr %27, align 8 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %28) br label %70 30: ; preds = %14 %31 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %32 = load ptr, ptr %5, align 8 %33 = load i32, ptr %6, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds ptr, ptr %32, i64 %34 %36 = load ptr, ptr %35, align 8 %37 = call i32 @sprintf(ptr noundef %31, ptr noundef @.str.2, ptr noundef %36) %38 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %39 = call ptr @fopen(ptr noundef %38, ptr noundef @.str.3) store ptr %39, ptr %9, align 8 %40 = load ptr, ptr %9, align 8 %41 = icmp ne ptr %40, null br i1 %41, label %45, label %42 42: ; preds = %30 %43 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %43) br label %70 45: ; preds = %30 %46 = getelementptr inbounds [1280 x i32], ptr %10, i64 0, i64 0 %47 = load ptr, ptr %7, align 8 %48 = call i32 @fread(ptr noundef %46, i32 noundef 1, i32 noundef 1280, ptr noundef %47) %49 = icmp slt i32 %48, 1280 br i1 %49, label %50, label %57 50: ; preds = %45 %51 = load ptr, ptr %5, align 8 %52 = load i32, ptr %6, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds ptr, ptr %51, i64 %53 %55 = load ptr, ptr %54, align 8 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %55, i32 noundef 1280) br label %57 57: ; preds = %50, %45 %58 = load ptr, ptr %7, align 8 %59 = call i32 @fclose(ptr noundef %58) %60 = getelementptr inbounds [1280 x i32], ptr %10, i64 0, i64 0 %61 = load ptr, ptr %9, align 8 %62 = call i32 @fwrite(ptr noundef %60, i32 noundef 1, i32 noundef 1280, ptr noundef %61) %63 = icmp slt i32 %62, 1280 br i1 %63, label %64, label %67 64: ; preds = %57 %65 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef 1280, ptr noundef %65) br label %67 67: ; preds = %64, %57 %68 = load ptr, ptr %9, align 8 %69 = call i32 @fclose(ptr noundef %68) br label %70 70: ; preds = %67, %42, %23 %71 = load i32, ptr %6, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %6, align 4 %73 = load i32, ptr %6, align 4 %74 = load i32, ptr %4, align 4 %75 = icmp slt i32 %73, %74 br i1 %75, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %70 br label %76 76: ; preds = %._crit_edge, %2 %77 = load i32, ptr %3, align 4 ret i32 %77 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpqd_vcaue.c' source_filename = "/tmp/tmpqd_vcaue.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isprint.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isprint should be 0 for 0xda\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isprint_0xda() #0 { %1 = call i64 @isprint(i32 noundef 218) %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 1095, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isprint(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/tmpqd_vcaue.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isprint.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isprint should be 0 for 0xda\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isprint_0xda() #0 { %1 = call i64 @isprint(i32 noundef 218) %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 1095, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isprint(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/tmpp24463dg.c' source_filename = "/tmp/tmpp24463dg.c" target datalayout = "e-m:e-p270: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 @.str = private unnamed_addr constant [2 x i8] c"=\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @setenv(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %9 = load ptr, ptr %5, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %24, label %11 11: ; preds = %3 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds i8, ptr %12, i64 0 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp eq i32 %15, 0 br i1 %16, label %24, label %17 17: ; preds = %11 %18 = load ptr, ptr %5, align 8 %19 = call ptr @strchr(ptr noundef %18, i8 noundef signext 61) %20 = icmp ne ptr %19, null br i1 %20, label %24, label %21 21: ; preds = %17 %22 = load ptr, ptr %6, align 8 %23 = icmp eq ptr %22, null br i1 %23, label %24, label %26 24: ; preds = %21, %17, %11, %3 %25 = load i32, ptr @EINVAL, align 4 store i32 %25, ptr @errno, align 4 store i32 -1, ptr %4, align 4 br label %61 26: ; preds = %21 %27 = load ptr, ptr %5, align 8 %28 = call ptr @getenv(ptr noundef %27) %29 = icmp ne ptr %28, null br i1 %29, label %30, label %34 30: ; preds = %26 %31 = load i32, ptr %7, align 4 %32 = icmp eq i32 %31, 0 br i1 %32, label %33, label %34 33: ; preds = %30 store i32 0, ptr %4, align 4 br label %61 34: ; preds = %30, %26 %35 = load ptr, ptr %5, align 8 %36 = call i32 @unsetenv(ptr noundef %35) %37 = load ptr, ptr %5, align 8 %38 = call i64 @strlen(ptr noundef %37) %39 = load ptr, ptr %6, align 8 %40 = call i64 @strlen(ptr noundef %39) %41 = add nsw i64 %38, %40 %42 = add nsw i64 %41, 2 %43 = call ptr @malloc(i64 noundef %42) store ptr %43, ptr %8, align 8 %44 = load ptr, ptr %8, align 8 %45 = icmp eq ptr %44, null br i1 %45, label %46, label %47 46: ; preds = %34 store i32 -1, ptr %4, align 4 br label %61 47: ; preds = %34 %48 = load ptr, ptr %8, align 8 %49 = load ptr, ptr %5, align 8 %50 = call i32 @strcpy(ptr noundef %48, ptr noundef %49) %51 = load ptr, ptr %8, align 8 %52 = call i32 @strcat(ptr noundef %51, ptr noundef @.str) %53 = load ptr, ptr %8, align 8 %54 = load ptr, ptr %6, align 8 %55 = call i32 @strcat(ptr noundef %53, ptr noundef %54) %56 = load ptr, ptr %8, align 8 %57 = call i64 @putenv(ptr noundef %56) %58 = icmp ne i64 %57, 0 %59 = zext i1 %58 to i64 %60 = select i1 %58, i32 -1, i32 0 store i32 %60, ptr %4, align 4 br label %61 61: ; preds = %47, %46, %33, %24 %62 = load i32, ptr %4, align 4 ret i32 %62 } declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare ptr @getenv(ptr noundef) #1 declare i32 @unsetenv(ptr noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i64 @putenv(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp24463dg.c" target datalayout = "e-m:e-p270: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 @.str = private unnamed_addr constant [2 x i8] c"=\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @setenv(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %9 = load ptr, ptr %5, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %24, label %11 11: ; preds = %3 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds i8, ptr %12, i64 0 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp eq i32 %15, 0 br i1 %16, label %24, label %17 17: ; preds = %11 %18 = load ptr, ptr %5, align 8 %19 = call ptr @strchr(ptr noundef %18, i8 noundef signext 61) %20 = icmp ne ptr %19, null br i1 %20, label %24, label %21 21: ; preds = %17 %22 = load ptr, ptr %6, align 8 %23 = icmp eq ptr %22, null br i1 %23, label %24, label %26 24: ; preds = %21, %17, %11, %3 %25 = load i32, ptr @EINVAL, align 4 store i32 %25, ptr @errno, align 4 store i32 -1, ptr %4, align 4 br label %61 26: ; preds = %21 %27 = load ptr, ptr %5, align 8 %28 = call ptr @getenv(ptr noundef %27) %29 = icmp ne ptr %28, null br i1 %29, label %30, label %34 30: ; preds = %26 %31 = load i32, ptr %7, align 4 %32 = icmp eq i32 %31, 0 br i1 %32, label %33, label %34 33: ; preds = %30 store i32 0, ptr %4, align 4 br label %61 34: ; preds = %30, %26 %35 = load ptr, ptr %5, align 8 %36 = call i32 @unsetenv(ptr noundef %35) %37 = load ptr, ptr %5, align 8 %38 = call i64 @strlen(ptr noundef %37) %39 = load ptr, ptr %6, align 8 %40 = call i64 @strlen(ptr noundef %39) %41 = add nsw i64 %38, %40 %42 = add nsw i64 %41, 2 %43 = call ptr @malloc(i64 noundef %42) store ptr %43, ptr %8, align 8 %44 = load ptr, ptr %8, align 8 %45 = icmp eq ptr %44, null br i1 %45, label %46, label %47 46: ; preds = %34 store i32 -1, ptr %4, align 4 br label %61 47: ; preds = %34 %48 = load ptr, ptr %8, align 8 %49 = load ptr, ptr %5, align 8 %50 = call i32 @strcpy(ptr noundef %48, ptr noundef %49) %51 = load ptr, ptr %8, align 8 %52 = call i32 @strcat(ptr noundef %51, ptr noundef @.str) %53 = load ptr, ptr %8, align 8 %54 = load ptr, ptr %6, align 8 %55 = call i32 @strcat(ptr noundef %53, ptr noundef %54) %56 = load ptr, ptr %8, align 8 %57 = call i64 @putenv(ptr noundef %56) %58 = icmp ne i64 %57, 0 %59 = zext i1 %58 to i64 %60 = select i1 %58, i32 -1, i32 0 store i32 %60, ptr %4, align 4 br label %61 61: ; preds = %47, %46, %33, %24 %62 = load i32, ptr %4, align 4 ret i32 %62 } declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare ptr @getenv(ptr noundef) #1 declare i32 @unsetenv(ptr noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i64 @putenv(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpt0q5zhya.c' source_filename = "/tmp/tmpt0q5zhya.c" target datalayout = "e-m:e-p270: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/tmpt0q5zhya.c" target datalayout = "e-m:e-p270: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/tmpehciprvm.c' source_filename = "/tmp/tmpehciprvm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @yescrypt_hash(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 @yescrypt_hash_sp(ptr noundef %5, ptr noundef %6) ret void } declare i32 @yescrypt_hash_sp(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/tmpehciprvm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @yescrypt_hash(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 @yescrypt_hash_sp(ptr noundef %5, ptr noundef %6) ret void } declare i32 @yescrypt_hash_sp(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/tmp0wqj0vsh.c' source_filename = "/tmp/tmp0wqj0vsh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"malloc:\00", align 1 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fblock(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %8 = load ptr, ptr %3, align 8 %9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str) store ptr %9, ptr %5, align 8 %10 = load ptr, ptr %5, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %16 12: ; preds = %2 %13 = load ptr, ptr %3, align 8 %14 = call i32 @perror(ptr noundef %13) %15 = call i32 @exit(i32 noundef 1) #3 unreachable 16: ; preds = %2 %17 = load i32, ptr %4, align 4 %18 = call ptr @malloc(i32 noundef %17) store ptr %18, ptr %7, align 8 %19 = load ptr, ptr %7, align 8 %20 = icmp eq ptr %19, null br i1 %20, label %21, label %24 21: ; preds = %16 %22 = call i32 @perror(ptr noundef @.str.1) %23 = call i32 @exit(i32 noundef 1) #3 unreachable 24: ; preds = %16 br label %25 25: ; preds = %55, %54, %24 %26 = load ptr, ptr %5, align 8 %27 = call i32 @feof(ptr noundef %26) %28 = icmp ne i32 %27, 0 %29 = xor i1 %28, true br i1 %29, label %30, label %64 30: ; preds = %25 %31 = load ptr, ptr %7, align 8 %32 = load i32, ptr %4, align 4 %33 = call i32 @memset(ptr noundef %31, i32 noundef 0, i32 noundef %32) %34 = load ptr, ptr %7, align 8 %35 = load i32, ptr %4, align 4 %36 = load ptr, ptr %5, align 8 %37 = call i64 @fread(ptr noundef %34, i32 noundef %35, i32 noundef 1, ptr noundef %36) store i64 %37, ptr %6, align 8 %38 = load i64, ptr %6, align 8 %39 = load i32, ptr %4, align 4 %40 = sext i32 %39 to i64 %41 = icmp ult i64 %38, %40 br i1 %41, label %42, label %51 42: ; preds = %30 %43 = load ptr, ptr %5, align 8 %44 = call i64 @ferror(ptr noundef %43) %45 = icmp ne i64 %44, 0 br i1 %45, label %46, label %50 46: ; preds = %42 %47 = load ptr, ptr %3, align 8 %48 = call i32 @perror(ptr noundef %47) %49 = call i32 @exit(i32 noundef 1) #3 unreachable 50: ; preds = %42 br label %51 51: ; preds = %50, %30 %52 = load i64, ptr %6, align 8 %53 = icmp eq i64 %52, 0 br i1 %53, label %54, label %55 54: ; preds = %51 br label %25, !llvm.loop !6 55: ; preds = %51 %56 = load i32, ptr %4, align 4 %57 = call i32 @wl(i32 noundef %56) %58 = load ptr, ptr %7, align 8 %59 = load i32, ptr %4, align 4 %60 = load i32, ptr @stdout, align 4 %61 = call i32 @fwrite(ptr noundef %58, i32 noundef %59, i32 noundef 1, i32 noundef %60) %62 = load i32, ptr %4, align 4 %63 = call i32 @wl(i32 noundef %62) br label %25, !llvm.loop !6 64: ; preds = %25 %65 = load ptr, ptr %5, align 8 %66 = call i64 @fclose(ptr noundef %65) %67 = icmp ne i64 %66, 0 br i1 %67, label %68, label %72 68: ; preds = %64 %69 = load ptr, ptr %3, align 8 %70 = call i32 @perror(ptr noundef %69) %71 = call i32 @exit(i32 noundef 1) #3 unreachable 72: ; preds = %64 ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @malloc(i32 noundef) #1 declare i32 @feof(ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i64 @ferror(ptr noundef) #1 declare i32 @wl(i32 noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i64 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0wqj0vsh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"malloc:\00", align 1 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fblock(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %8 = load ptr, ptr %3, align 8 %9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str) store ptr %9, ptr %5, align 8 %10 = load ptr, ptr %5, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %16 12: ; preds = %2 %13 = load ptr, ptr %3, align 8 %14 = call i32 @perror(ptr noundef %13) %15 = call i32 @exit(i32 noundef 1) #3 unreachable 16: ; preds = %2 %17 = load i32, ptr %4, align 4 %18 = call ptr @malloc(i32 noundef %17) store ptr %18, ptr %7, align 8 %19 = load ptr, ptr %7, align 8 %20 = icmp eq ptr %19, null br i1 %20, label %21, label %24 21: ; preds = %16 %22 = call i32 @perror(ptr noundef @.str.1) %23 = call i32 @exit(i32 noundef 1) #3 unreachable 24: ; preds = %16 %25 = load ptr, ptr %5, align 8 %26 = call i32 @feof(ptr noundef %25) %27 = icmp ne i32 %26, 0 %28 = xor i1 %27, true br i1 %28, label %.lr.ph, label %67 .lr.ph: ; preds = %24 br label %29 29: ; preds = %.lr.ph, %.backedge %30 = load ptr, ptr %7, align 8 %31 = load i32, ptr %4, align 4 %32 = call i32 @memset(ptr noundef %30, i32 noundef 0, i32 noundef %31) %33 = load ptr, ptr %7, align 8 %34 = load i32, ptr %4, align 4 %35 = load ptr, ptr %5, align 8 %36 = call i64 @fread(ptr noundef %33, i32 noundef %34, i32 noundef 1, ptr noundef %35) store i64 %36, ptr %6, align 8 %37 = load i64, ptr %6, align 8 %38 = load i32, ptr %4, align 4 %39 = sext i32 %38 to i64 %40 = icmp ult i64 %37, %39 br i1 %40, label %41, label %50 41: ; preds = %29 %42 = load ptr, ptr %5, align 8 %43 = call i64 @ferror(ptr noundef %42) %44 = icmp ne i64 %43, 0 br i1 %44, label %45, label %49 45: ; preds = %41 %46 = load ptr, ptr %3, align 8 %47 = call i32 @perror(ptr noundef %46) %48 = call i32 @exit(i32 noundef 1) #3 unreachable 49: ; preds = %41 br label %50 50: ; preds = %49, %29 %51 = load i64, ptr %6, align 8 %52 = icmp eq i64 %51, 0 br i1 %52, label %53, label %58 53: ; preds = %50 br label %.backedge .backedge: ; preds = %53, %58 %54 = load ptr, ptr %5, align 8 %55 = call i32 @feof(ptr noundef %54) %56 = icmp ne i32 %55, 0 %57 = xor i1 %56, true br i1 %57, label %29, label %._crit_edge, !llvm.loop !6 58: ; preds = %50 %59 = load i32, ptr %4, align 4 %60 = call i32 @wl(i32 noundef %59) %61 = load ptr, ptr %7, align 8 %62 = load i32, ptr %4, align 4 %63 = load i32, ptr @stdout, align 4 %64 = call i32 @fwrite(ptr noundef %61, i32 noundef %62, i32 noundef 1, i32 noundef %63) %65 = load i32, ptr %4, align 4 %66 = call i32 @wl(i32 noundef %65) br label %.backedge ._crit_edge: ; preds = %.backedge br label %67 67: ; preds = %._crit_edge, %24 %68 = load ptr, ptr %5, align 8 %69 = call i64 @fclose(ptr noundef %68) %70 = icmp ne i64 %69, 0 br i1 %70, label %71, label %75 71: ; preds = %67 %72 = load ptr, ptr %3, align 8 %73 = call i32 @perror(ptr noundef %72) %74 = call i32 @exit(i32 noundef 1) #3 unreachable 75: ; preds = %67 ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @malloc(i32 noundef) #1 declare i32 @feof(ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i64 @ferror(ptr noundef) #1 declare i32 @wl(i32 noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i64 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpkxgo0h2b.c' source_filename = "/tmp/tmpkxgo0h2b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i64 0, align 8 @EINTR = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @waitfor(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 br label %7 7: ; preds = %34, %21, %13, %2 %8 = load i32, ptr %4, align 4 %9 = load ptr, ptr %5, align 8 %10 = call i32 @waitpid(i32 noundef %8, ptr noundef %9, i32 noundef 0) store i32 %10, ptr %6, align 4 %11 = load i32, ptr %6, align 4 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %14 13: ; preds = %7 br label %7 14: ; preds = %7 %15 = load i32, ptr %6, align 4 %16 = icmp eq i32 %15, -1 br i1 %16, label %17, label %23 17: ; preds = %14 %18 = load i64, ptr @errno, align 8 %19 = load i64, ptr @EINTR, align 8 %20 = icmp eq i64 %18, %19 br i1 %20, label %21, label %22 21: ; preds = %17 br label %7 22: ; preds = %17 store i32 -1, ptr %3, align 4 br label %35 23: ; preds = %14 %24 = load ptr, ptr %5, align 8 %25 = load i32, ptr %24, align 4 %26 = call i64 @WIFEXITED(i32 noundef %25) %27 = icmp ne i64 %26, 0 br i1 %27, label %33, label %28 28: ; preds = %23 %29 = load ptr, ptr %5, align 8 %30 = load i32, ptr %29, align 4 %31 = call i64 @WIFSIGNALED(i32 noundef %30) %32 = icmp ne i64 %31, 0 br i1 %32, label %33, label %34 33: ; preds = %28, %23 store i32 0, ptr %3, align 4 br label %35 34: ; preds = %28 br label %7 35: ; preds = %33, %22 %36 = load i32, ptr %3, align 4 ret i32 %36 } declare i32 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @WIFEXITED(i32 noundef) #1 declare i64 @WIFSIGNALED(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/tmpkxgo0h2b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i64 0, align 8 @EINTR = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @waitfor(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 br label %7 7: ; preds = %.backedge, %2 %8 = load i32, ptr %4, align 4 %9 = load ptr, ptr %5, align 8 %10 = call i32 @waitpid(i32 noundef %8, ptr noundef %9, i32 noundef 0) store i32 %10, ptr %6, align 4 %11 = load i32, ptr %6, align 4 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %14 13: ; preds = %7 br label %.backedge .backedge: ; preds = %13, %21, %34 br label %7 14: ; preds = %7 %15 = load i32, ptr %6, align 4 %16 = icmp eq i32 %15, -1 br i1 %16, label %17, label %23 17: ; preds = %14 %18 = load i64, ptr @errno, align 8 %19 = load i64, ptr @EINTR, align 8 %20 = icmp eq i64 %18, %19 br i1 %20, label %21, label %22 21: ; preds = %17 br label %.backedge 22: ; preds = %17 store i32 -1, ptr %3, align 4 br label %35 23: ; preds = %14 %24 = load ptr, ptr %5, align 8 %25 = load i32, ptr %24, align 4 %26 = call i64 @WIFEXITED(i32 noundef %25) %27 = icmp ne i64 %26, 0 br i1 %27, label %33, label %28 28: ; preds = %23 %29 = load ptr, ptr %5, align 8 %30 = load i32, ptr %29, align 4 %31 = call i64 @WIFSIGNALED(i32 noundef %30) %32 = icmp ne i64 %31, 0 br i1 %32, label %33, label %34 33: ; preds = %28, %23 store i32 0, ptr %3, align 4 br label %35 34: ; preds = %28 br label %.backedge 35: ; preds = %33, %22 %36 = load i32, ptr %3, align 4 ret i32 %36 } declare i32 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @WIFEXITED(i32 noundef) #1 declare i64 @WIFSIGNALED(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/tmp13bk5nuk.c' source_filename = "/tmp/tmp13bk5nuk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [33 x i8] c"/sys/class/gpio/gpio%d/direction\00", align 1 @.str.1 = private unnamed_addr constant [44 x i8] c"\0A***Filename too long in gpio_dir function\0A\00", align 1 @O_WRONLY = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [15 x i8] c"gpio/direction\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"out\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"in\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @gpio_dir(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 %7 = alloca i32, align 4 %8 = alloca [60 x i8], align 16 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %9 = getelementptr inbounds [60 x i8], ptr %8, i64 0, i64 0 %10 = load i32, ptr %4, align 4 %11 = call i32 @snprintf(ptr noundef %9, i32 noundef 60, ptr noundef @.str, i32 noundef %10) store i32 %11, ptr %7, align 4 %12 = load i32, ptr %7, align 4 %13 = icmp sgt i32 %12, 60 br i1 %13, label %14, label %16 14: ; preds = %2 %15 = call i32 @perror(ptr noundef @.str.1) br label %16 16: ; preds = %14, %2 %17 = getelementptr inbounds [60 x i8], ptr %8, i64 0, i64 0 %18 = load i32, ptr @O_WRONLY, align 4 %19 = call i32 @open(ptr noundef %17, i32 noundef %18) store i32 %19, ptr %6, align 4 %20 = load i32, ptr %6, align 4 %21 = icmp slt i32 %20, 0 br i1 %21, label %22, label %25 22: ; preds = %16 %23 = call i32 @perror(ptr noundef @.str.2) %24 = load i32, ptr %6, align 4 store i32 %24, ptr %3, align 4 br label %37 25: ; preds = %16 %26 = load i32, ptr %5, align 4 %27 = icmp eq i32 %26, 1 br i1 %27, label %28, label %31 28: ; preds = %25 %29 = load i32, ptr %6, align 4 %30 = call i32 @write(i32 noundef %29, ptr noundef @.str.3, i32 noundef 4) br label %34 31: ; preds = %25 %32 = load i32, ptr %6, align 4 %33 = call i32 @write(i32 noundef %32, ptr noundef @.str.4, i32 noundef 3) br label %34 34: ; preds = %31, %28 %35 = load i32, ptr %6, align 4 %36 = call i32 @close(i32 noundef %35) store i32 0, ptr %3, align 4 br label %37 37: ; preds = %34, %22 %38 = load i32, ptr %3, align 4 ret i32 %38 } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp13bk5nuk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [33 x i8] c"/sys/class/gpio/gpio%d/direction\00", align 1 @.str.1 = private unnamed_addr constant [44 x i8] c"\0A***Filename too long in gpio_dir function\0A\00", align 1 @O_WRONLY = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [15 x i8] c"gpio/direction\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"out\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"in\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @gpio_dir(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 %7 = alloca i32, align 4 %8 = alloca [60 x i8], align 16 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %9 = getelementptr inbounds [60 x i8], ptr %8, i64 0, i64 0 %10 = load i32, ptr %4, align 4 %11 = call i32 @snprintf(ptr noundef %9, i32 noundef 60, ptr noundef @.str, i32 noundef %10) store i32 %11, ptr %7, align 4 %12 = load i32, ptr %7, align 4 %13 = icmp sgt i32 %12, 60 br i1 %13, label %14, label %16 14: ; preds = %2 %15 = call i32 @perror(ptr noundef @.str.1) br label %16 16: ; preds = %14, %2 %17 = getelementptr inbounds [60 x i8], ptr %8, i64 0, i64 0 %18 = load i32, ptr @O_WRONLY, align 4 %19 = call i32 @open(ptr noundef %17, i32 noundef %18) store i32 %19, ptr %6, align 4 %20 = load i32, ptr %6, align 4 %21 = icmp slt i32 %20, 0 br i1 %21, label %22, label %25 22: ; preds = %16 %23 = call i32 @perror(ptr noundef @.str.2) %24 = load i32, ptr %6, align 4 store i32 %24, ptr %3, align 4 br label %37 25: ; preds = %16 %26 = load i32, ptr %5, align 4 %27 = icmp eq i32 %26, 1 br i1 %27, label %28, label %31 28: ; preds = %25 %29 = load i32, ptr %6, align 4 %30 = call i32 @write(i32 noundef %29, ptr noundef @.str.3, i32 noundef 4) br label %34 31: ; preds = %25 %32 = load i32, ptr %6, align 4 %33 = call i32 @write(i32 noundef %32, ptr noundef @.str.4, i32 noundef 3) br label %34 34: ; preds = %31, %28 %35 = load i32, ptr %6, align 4 %36 = call i32 @close(i32 noundef %35) store i32 0, ptr %3, align 4 br label %37 37: ; preds = %34, %22 %38 = load i32, ptr %3, align 4 ret i32 %38 } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpk3vizev0.c' source_filename = "/tmp/tmpk3vizev0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [64 x i8] c"Time how long it takes to append into a file and fdatasync it.\0A\00", align 1 @.str.1 = private unnamed_addr constant [62 x i8] c"The results are printed in seconds total for all the writes.\0A\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"Usage: %s [options]\0A\00", align 1 @.str.4 = private unnamed_addr constant [75 x i8] c" --count=NUM Number of sequential appends to measure [default 1000]\0A\00", align 1 @.str.5 = private unnamed_addr constant [57 x i8] c" --direct=yes|no Whether to use O_DIRECT [default no]\0A\00", align 1 @.str.6 = private unnamed_addr constant [79 x i8] c" --file=NAME File to create/truncate and write into [default bench.dat]\0A\00", align 1 @.str.7 = private unnamed_addr constant [53 x i8] c" --help Print this help message and exit\0A\00", align 1 @.str.8 = private unnamed_addr constant [73 x i8] c" --offset=BYTES Number of bytes to skip at start of file [default 0]\0A\00", align 1 @.str.9 = private unnamed_addr constant [76 x i8] c" --size=BYTES Number of bytes to append in each iteration [default 1]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) %4 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %6 = load ptr, ptr %2, align 8 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %6) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) 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/tmpk3vizev0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [64 x i8] c"Time how long it takes to append into a file and fdatasync it.\0A\00", align 1 @.str.1 = private unnamed_addr constant [62 x i8] c"The results are printed in seconds total for all the writes.\0A\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"Usage: %s [options]\0A\00", align 1 @.str.4 = private unnamed_addr constant [75 x i8] c" --count=NUM Number of sequential appends to measure [default 1000]\0A\00", align 1 @.str.5 = private unnamed_addr constant [57 x i8] c" --direct=yes|no Whether to use O_DIRECT [default no]\0A\00", align 1 @.str.6 = private unnamed_addr constant [79 x i8] c" --file=NAME File to create/truncate and write into [default bench.dat]\0A\00", align 1 @.str.7 = private unnamed_addr constant [53 x i8] c" --help Print this help message and exit\0A\00", align 1 @.str.8 = private unnamed_addr constant [73 x i8] c" --offset=BYTES Number of bytes to skip at start of file [default 0]\0A\00", align 1 @.str.9 = private unnamed_addr constant [76 x i8] c" --size=BYTES Number of bytes to append in each iteration [default 1]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) %4 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %6 = load ptr, ptr %2, align 8 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %6) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) 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/tmpkltvoi22.c' source_filename = "/tmp/tmpkltvoi22.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"I am in INDIA.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @india() #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/tmpkltvoi22.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"I am in INDIA.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @india() #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/tmpq4eiyf8l.c' source_filename = "/tmp/tmpq4eiyf8l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [25 x i8] c"Testing lines_printf...\0A\00", align 1 @.str.1 = private unnamed_addr constant [35 x i8] c"All tests completed successfully!\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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 @printf(ptr noundef @.str) %7 = call i32 (...) @test_lines_printf() %8 = call i32 @printf(ptr noundef @.str.1) ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @test_lines_printf(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq4eiyf8l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [25 x i8] c"Testing lines_printf...\0A\00", align 1 @.str.1 = private unnamed_addr constant [35 x i8] c"All tests completed successfully!\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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i32 @printf(ptr noundef @.str) %7 = call i32 (...) @test_lines_printf() %8 = call i32 @printf(ptr noundef @.str.1) ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @test_lines_printf(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvi1a145w.c' source_filename = "/tmp/tmpvi1a145w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"%8s%13s\0A\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"Elemento\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"Valor\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"%8d%4c%5x%13d\0A\00", align 1 @.str.5 = private unnamed_addr constant [9 x i8] c"%8s%13d\0A\00", align 1 @.str.6 = private unnamed_addr constant [6 x i8] c"Total\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 [256 x i32], align 16 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %8, align 4 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 1 %12 = load ptr, ptr %11, align 8 %13 = call ptr @fopen(ptr noundef %12, ptr noundef @.str) store ptr %13, ptr %9, align 8 store i32 0, ptr %7, align 4 br label %14 14: ; preds = %21, %2 %15 = load i32, ptr %7, align 4 %16 = icmp slt i32 %15, 256 br i1 %16, label %17, label %24 17: ; preds = %14 %18 = load i32, ptr %7, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds [256 x i32], ptr %6, i64 0, i64 %19 store i32 0, ptr %20, align 4 br label %21 21: ; preds = %17 %22 = load i32, ptr %7, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %7, align 4 br label %14, !llvm.loop !6 24: ; preds = %14 %25 = getelementptr inbounds [256 x i32], ptr %6, i64 0, i64 65 %26 = load i32, ptr %25, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %25, align 4 %28 = getelementptr inbounds [256 x i32], ptr %6, i64 0, i64 66 %29 = load i32, ptr %28, align 8 %30 = add nsw i32 %29, 1 store i32 %30, ptr %28, align 8 store i32 0, ptr %7, align 4 br label %31 31: ; preds = %41, %24 %32 = load i32, ptr %7, align 4 %33 = icmp slt i32 %32, 256 br i1 %33, label %34, label %44 34: ; preds = %31 %35 = load i32, ptr %7, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds [256 x i32], ptr %6, i64 0, i64 %36 %38 = load i32, ptr %37, align 4 %39 = load i32, ptr %8, align 4 %40 = add nsw i32 %39, %38 store i32 %40, ptr %8, align 4 br label %41 41: ; preds = %34 %42 = load i32, ptr %7, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %7, align 4 br label %31, !llvm.loop !8 44: ; preds = %31 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef @.str.3) store i32 0, ptr %7, align 4 br label %46 46: ; preds = %65, %44 %47 = load i32, ptr %7, align 4 %48 = icmp slt i32 %47, 256 br i1 %48, label %49, label %68 49: ; preds = %46 %50 = load i32, ptr %7, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds [256 x i32], ptr %6, i64 0, i64 %51 %53 = load i32, ptr %52, align 4 %54 = icmp ne i32 %53, 0 br i1 %54, label %55, label %64 55: ; preds = %49 %56 = load i32, ptr %7, align 4 %57 = load i32, ptr %7, align 4 %58 = load i32, ptr %7, align 4 %59 = load i32, ptr %7, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds [256 x i32], ptr %6, i64 0, i64 %60 %62 = load i32, ptr %61, align 4 %63 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %56, i32 noundef %57, i32 noundef %58, i32 noundef %62) br label %64 64: ; preds = %55, %49 br label %65 65: ; preds = %64 %66 = load i32, ptr %7, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %7, align 4 br label %46, !llvm.loop !9 68: ; preds = %46 %69 = load i32, ptr %8, align 4 %70 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef @.str.6, i32 noundef %69) %71 = load ptr, ptr %9, align 8 %72 = call i32 @fclose(ptr noundef %71) %73 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %73 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvi1a145w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"%8s%13s\0A\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"Elemento\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"Valor\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"%8d%4c%5x%13d\0A\00", align 1 @.str.5 = private unnamed_addr constant [9 x i8] c"%8s%13d\0A\00", align 1 @.str.6 = private unnamed_addr constant [6 x i8] c"Total\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 [256 x i32], align 16 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %8, align 4 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 1 %12 = load ptr, ptr %11, align 8 %13 = call ptr @fopen(ptr noundef %12, ptr noundef @.str) store ptr %13, ptr %9, align 8 store i32 0, ptr %7, align 4 %14 = load i32, ptr %7, align 4 %15 = icmp slt i32 %14, 256 br i1 %15, label %.lr.ph, label %25 .lr.ph: ; preds = %2 br label %16 16: ; preds = %.lr.ph, %20 %17 = load i32, ptr %7, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds [256 x i32], ptr %6, i64 0, i64 %18 store i32 0, ptr %19, align 4 br label %20 20: ; preds = %16 %21 = load i32, ptr %7, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %7, align 4 %23 = load i32, ptr %7, align 4 %24 = icmp slt i32 %23, 256 br i1 %24, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %25 25: ; preds = %._crit_edge, %2 %26 = getelementptr inbounds [256 x i32], ptr %6, i64 0, i64 65 %27 = load i32, ptr %26, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %26, align 4 %29 = getelementptr inbounds [256 x i32], ptr %6, i64 0, i64 66 %30 = load i32, ptr %29, align 8 %31 = add nsw i32 %30, 1 store i32 %31, ptr %29, align 8 store i32 0, ptr %7, align 4 %32 = load i32, ptr %7, align 4 %33 = icmp slt i32 %32, 256 br i1 %33, label %.lr.ph2, label %46 .lr.ph2: ; preds = %25 br label %34 34: ; preds = %.lr.ph2, %41 %35 = load i32, ptr %7, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds [256 x i32], ptr %6, i64 0, i64 %36 %38 = load i32, ptr %37, align 4 %39 = load i32, ptr %8, align 4 %40 = add nsw i32 %39, %38 store i32 %40, ptr %8, align 4 br label %41 41: ; preds = %34 %42 = load i32, ptr %7, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %7, align 4 %44 = load i32, ptr %7, align 4 %45 = icmp slt i32 %44, 256 br i1 %45, label %34, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %41 br label %46 46: ; preds = %._crit_edge3, %25 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef @.str.3) store i32 0, ptr %7, align 4 %48 = load i32, ptr %7, align 4 %49 = icmp slt i32 %48, 256 br i1 %49, label %.lr.ph5, label %71 .lr.ph5: ; preds = %46 br label %50 50: ; preds = %.lr.ph5, %66 %51 = load i32, ptr %7, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [256 x i32], ptr %6, i64 0, i64 %52 %54 = load i32, ptr %53, align 4 %55 = icmp ne i32 %54, 0 br i1 %55, label %56, label %65 56: ; preds = %50 %57 = load i32, ptr %7, align 4 %58 = load i32, ptr %7, align 4 %59 = load i32, ptr %7, align 4 %60 = load i32, ptr %7, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds [256 x i32], ptr %6, i64 0, i64 %61 %63 = load i32, ptr %62, align 4 %64 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %57, i32 noundef %58, i32 noundef %59, i32 noundef %63) br label %65 65: ; preds = %56, %50 br label %66 66: ; preds = %65 %67 = load i32, ptr %7, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %7, align 4 %69 = load i32, ptr %7, align 4 %70 = icmp slt i32 %69, 256 br i1 %70, label %50, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %66 br label %71 71: ; preds = %._crit_edge6, %46 %72 = load i32, ptr %8, align 4 %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef @.str.6, i32 noundef %72) %74 = load ptr, ptr %9, align 8 %75 = call i32 @fclose(ptr noundef %74) %76 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %76 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp4198bxm8.c' source_filename = "/tmp/tmp4198bxm8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"Campos Verdes\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store ptr @.str, ptr %2, align 8 br label %3 3: ; preds = %8, %0 %4 = load ptr, ptr %2, align 8 %5 = load i8, ptr %4, align 1 %6 = sext i8 %5 to i32 %7 = icmp ne i32 %6, 32 br i1 %7, label %8, label %11 8: ; preds = %3 %9 = load ptr, ptr %2, align 8 %10 = call ptr @corta_string(ptr noundef %9) store ptr %10, ptr %2, align 8 br label %3, !llvm.loop !6 11: ; preds = %3 %12 = load ptr, ptr %2, align 8 %13 = call i32 @printf(ptr noundef @.str.1, ptr noundef %12) ret i32 0 } declare ptr @corta_string(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4198bxm8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"Campos Verdes\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store ptr @.str, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load i8, ptr %3, align 1 %5 = sext i8 %4 to i32 %6 = icmp ne i32 %5, 32 br i1 %6, label %.lr.ph, label %14 .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %7 %8 = load ptr, ptr %2, align 8 %9 = call ptr @corta_string(ptr noundef %8) store ptr %9, ptr %2, align 8 %10 = load ptr, ptr %2, align 8 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = icmp ne i32 %12, 32 br i1 %13, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %7 br label %14 14: ; preds = %._crit_edge, %0 %15 = load ptr, ptr %2, align 8 %16 = call i32 @printf(ptr noundef @.str.1, ptr noundef %15) ret i32 0 } declare ptr @corta_string(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpn9q9ykmj.c' source_filename = "/tmp/tmpn9q9ykmj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sinh(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store double %0, ptr %3, align 8 %10 = getelementptr inbounds i32, ptr %3, i64 1 %11 = load i32, ptr %10, align 4 store i32 %11, ptr %8, align 4 %12 = load i32, ptr %8, align 4 %13 = and i32 %12, 2147483647 store i32 %13, ptr %7, align 4 %14 = load i32, ptr %7, align 4 %15 = icmp sge i32 %14, 2146435072 br i1 %15, label %16, label %20 16: ; preds = %1 %17 = load double, ptr %3, align 8 %18 = load double, ptr %3, align 8 %19 = fadd double %17, %18 store double %19, ptr %2, align 8 br label %101 20: ; preds = %1 store double 5.000000e-01, ptr %6, align 8 %21 = load i32, ptr %8, align 4 %22 = icmp slt i32 %21, 0 br i1 %22, label %23, label %26 23: ; preds = %20 %24 = load double, ptr %6, align 8 %25 = fneg double %24 store double %25, ptr %6, align 8 br label %26 26: ; preds = %23, %20 %27 = load i32, ptr %7, align 4 %28 = icmp slt i32 %27, 1077280768 br i1 %28, label %29, label %66 29: ; preds = %26 %30 = load i32, ptr %7, align 4 %31 = icmp slt i32 %30, 1043333120 br i1 %31, label %32, label %39 32: ; preds = %29 %33 = load double, ptr %3, align 8 %34 = fadd double 0x7FAC7B1F3CAC7433, %33 %35 = fcmp ogt double %34, 1.000000e+00 br i1 %35, label %36, label %38 36: ; preds = %32 %37 = load double, ptr %3, align 8 store double %37, ptr %2, align 8 br label %101 38: ; preds = %32 br label %39 39: ; preds = %38, %29 %40 = load double, ptr %3, align 8 %41 = call double @llvm.fabs.f64(double %40) %42 = call double @expm1(double noundef %41) #3 store double %42, ptr %4, align 8 %43 = load i32, ptr %7, align 4 %44 = icmp slt i32 %43, 1072693248 br i1 %44, label %45, label %57 45: ; preds = %39 %46 = load double, ptr %6, align 8 %47 = load double, ptr %4, align 8 %48 = load double, ptr %4, align 8 %49 = load double, ptr %4, align 8 %50 = fmul double %48, %49 %51 = load double, ptr %4, align 8 %52 = fadd double %51, 1.000000e+00 %53 = fdiv double %50, %52 %54 = fneg double %53 %55 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %47, double %54) %56 = fmul double %46, %55 store double %56, ptr %2, align 8 br label %101 57: ; preds = %39 %58 = load double, ptr %6, align 8 %59 = load double, ptr %4, align 8 %60 = load double, ptr %4, align 8 %61 = load double, ptr %4, align 8 %62 = fadd double %61, 1.000000e+00 %63 = fdiv double %60, %62 %64 = fadd double %59, %63 %65 = fmul double %58, %64 store double %65, ptr %2, align 8 br label %101 66: ; preds = %26 %67 = load i32, ptr %7, align 4 %68 = icmp slt i32 %67, 1082535490 br i1 %68, label %69, label %75 69: ; preds = %66 %70 = load double, ptr %6, align 8 %71 = load double, ptr %3, align 8 %72 = call double @llvm.fabs.f64(double %71) %73 = call double @exp(double noundef %72) #3 %74 = fmul double %70, %73 store double %74, ptr %2, align 8 br label %101 75: ; preds = %66 %76 = load double, ptr %3, align 8 %77 = fptoui double %76 to i32 %78 = add i32 0, %77 store i32 %78, ptr %9, align 4 %79 = load i32, ptr %7, align 4 %80 = icmp slt i32 %79, 1082536910 br i1 %80, label %87, label %81 81: ; preds = %75 %82 = load i32, ptr %7, align 4 %83 = icmp eq i32 %82, 1082536910 br i1 %83, label %84, label %98 84: ; preds = %81 %85 = load i32, ptr %9, align 4 %86 = icmp ule i32 %85, -1883637635 br i1 %86, label %87, label %98 87: ; preds = %84, %75 %88 = load double, ptr %3, align 8 %89 = call double @llvm.fabs.f64(double %88) %90 = fmul double 5.000000e-01, %89 %91 = call double @exp(double noundef %90) #3 store double %91, ptr %5, align 8 %92 = load double, ptr %6, align 8 %93 = load double, ptr %5, align 8 %94 = fmul double %92, %93 store double %94, ptr %4, align 8 %95 = load double, ptr %4, align 8 %96 = load double, ptr %5, align 8 %97 = fmul double %95, %96 store double %97, ptr %2, align 8 br label %101 98: ; preds = %84, %81 %99 = load double, ptr %3, align 8 %100 = fmul double %99, 0x7FAC7B1F3CAC7433 store double %100, ptr %2, align 8 br label %101 101: ; preds = %98, %87, %69, %57, %45, %36, %16 %102 = load double, ptr %2, align 8 ret double %102 } ; Function Attrs: nounwind declare double @expm1(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 ; Function Attrs: nounwind declare double @exp(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn9q9ykmj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sinh(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store double %0, ptr %3, align 8 %10 = getelementptr inbounds i32, ptr %3, i64 1 %11 = load i32, ptr %10, align 4 store i32 %11, ptr %8, align 4 %12 = load i32, ptr %8, align 4 %13 = and i32 %12, 2147483647 store i32 %13, ptr %7, align 4 %14 = load i32, ptr %7, align 4 %15 = icmp sge i32 %14, 2146435072 br i1 %15, label %16, label %20 16: ; preds = %1 %17 = load double, ptr %3, align 8 %18 = load double, ptr %3, align 8 %19 = fadd double %17, %18 store double %19, ptr %2, align 8 br label %101 20: ; preds = %1 store double 5.000000e-01, ptr %6, align 8 %21 = load i32, ptr %8, align 4 %22 = icmp slt i32 %21, 0 br i1 %22, label %23, label %26 23: ; preds = %20 %24 = load double, ptr %6, align 8 %25 = fneg double %24 store double %25, ptr %6, align 8 br label %26 26: ; preds = %23, %20 %27 = load i32, ptr %7, align 4 %28 = icmp slt i32 %27, 1077280768 br i1 %28, label %29, label %66 29: ; preds = %26 %30 = load i32, ptr %7, align 4 %31 = icmp slt i32 %30, 1043333120 br i1 %31, label %32, label %39 32: ; preds = %29 %33 = load double, ptr %3, align 8 %34 = fadd double 0x7FAC7B1F3CAC7433, %33 %35 = fcmp ogt double %34, 1.000000e+00 br i1 %35, label %36, label %38 36: ; preds = %32 %37 = load double, ptr %3, align 8 store double %37, ptr %2, align 8 br label %101 38: ; preds = %32 br label %39 39: ; preds = %38, %29 %40 = load double, ptr %3, align 8 %41 = call double @llvm.fabs.f64(double %40) %42 = call double @expm1(double noundef %41) #3 store double %42, ptr %4, align 8 %43 = load i32, ptr %7, align 4 %44 = icmp slt i32 %43, 1072693248 br i1 %44, label %45, label %57 45: ; preds = %39 %46 = load double, ptr %6, align 8 %47 = load double, ptr %4, align 8 %48 = load double, ptr %4, align 8 %49 = load double, ptr %4, align 8 %50 = fmul double %48, %49 %51 = load double, ptr %4, align 8 %52 = fadd double %51, 1.000000e+00 %53 = fdiv double %50, %52 %54 = fneg double %53 %55 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %47, double %54) %56 = fmul double %46, %55 store double %56, ptr %2, align 8 br label %101 57: ; preds = %39 %58 = load double, ptr %6, align 8 %59 = load double, ptr %4, align 8 %60 = load double, ptr %4, align 8 %61 = load double, ptr %4, align 8 %62 = fadd double %61, 1.000000e+00 %63 = fdiv double %60, %62 %64 = fadd double %59, %63 %65 = fmul double %58, %64 store double %65, ptr %2, align 8 br label %101 66: ; preds = %26 %67 = load i32, ptr %7, align 4 %68 = icmp slt i32 %67, 1082535490 br i1 %68, label %69, label %75 69: ; preds = %66 %70 = load double, ptr %6, align 8 %71 = load double, ptr %3, align 8 %72 = call double @llvm.fabs.f64(double %71) %73 = call double @exp(double noundef %72) #3 %74 = fmul double %70, %73 store double %74, ptr %2, align 8 br label %101 75: ; preds = %66 %76 = load double, ptr %3, align 8 %77 = fptoui double %76 to i32 %78 = add i32 0, %77 store i32 %78, ptr %9, align 4 %79 = load i32, ptr %7, align 4 %80 = icmp slt i32 %79, 1082536910 br i1 %80, label %87, label %81 81: ; preds = %75 %82 = load i32, ptr %7, align 4 %83 = icmp eq i32 %82, 1082536910 br i1 %83, label %84, label %98 84: ; preds = %81 %85 = load i32, ptr %9, align 4 %86 = icmp ule i32 %85, -1883637635 br i1 %86, label %87, label %98 87: ; preds = %84, %75 %88 = load double, ptr %3, align 8 %89 = call double @llvm.fabs.f64(double %88) %90 = fmul double 5.000000e-01, %89 %91 = call double @exp(double noundef %90) #3 store double %91, ptr %5, align 8 %92 = load double, ptr %6, align 8 %93 = load double, ptr %5, align 8 %94 = fmul double %92, %93 store double %94, ptr %4, align 8 %95 = load double, ptr %4, align 8 %96 = load double, ptr %5, align 8 %97 = fmul double %95, %96 store double %97, ptr %2, align 8 br label %101 98: ; preds = %84, %81 %99 = load double, ptr %3, align 8 %100 = fmul double %99, 0x7FAC7B1F3CAC7433 store double %100, ptr %2, align 8 br label %101 101: ; preds = %98, %87, %69, %57, %45, %36, %16 %102 = load double, ptr %2, align 8 ret double %102 } ; Function Attrs: nounwind declare double @expm1(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 ; Function Attrs: nounwind declare double @exp(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp90bllen7.c' source_filename = "/tmp/tmp90bllen7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @caml_regexp_exec() #0 { %1 = call i32 @exit(i32 noundef 1) #2 unreachable } ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp90bllen7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @caml_regexp_exec() #0 { %1 = call i32 @exit(i32 noundef 1) #2 unreachable } ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpii1v2sca.c' source_filename = "/tmp/tmpii1v2sca.c" target datalayout = "e-m:e-p270: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/tmpii1v2sca.c" target datalayout = "e-m:e-p270: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/tmpqymqkaqu.c' source_filename = "/tmp/tmpqymqkaqu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @u16_pb(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = ashr i32 %5, 8 %7 = trunc i32 %6 to i8 %8 = load ptr, ptr %3, align 8 %9 = getelementptr inbounds i8, ptr %8, i64 0 store i8 %7, ptr %9, align 1 %10 = load i32, ptr %4, align 4 %11 = and i32 %10, 255 %12 = trunc i32 %11 to i8 %13 = load ptr, ptr %3, align 8 %14 = getelementptr inbounds i8, ptr %13, i64 1 store i8 %12, ptr %14, align 1 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/tmpqymqkaqu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @u16_pb(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = ashr i32 %5, 8 %7 = trunc i32 %6 to i8 %8 = load ptr, ptr %3, align 8 %9 = getelementptr inbounds i8, ptr %8, i64 0 store i8 %7, ptr %9, align 1 %10 = load i32, ptr %4, align 4 %11 = and i32 %10, 255 %12 = trunc i32 %11 to i8 %13 = load ptr, ptr %3, align 8 %14 = getelementptr inbounds i8, ptr %13, i64 1 store i8 %12, ptr %14, align 1 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/tmpa5k4239i.c' source_filename = "/tmp/tmpa5k4239i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa5k4239i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2jc7h40v.c' source_filename = "/tmp/tmp2jc7h40v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"deceptive\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"We are discovered save yourself\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"p: %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"Encrypted: %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"Dncrypted: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store i32 0, ptr %1, align 4 store ptr @.str, ptr %2, align 8 store ptr @.str.1, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i32 @strlen(ptr noundef %7) %9 = load ptr, ptr %2, align 8 %10 = call i32 @strlen(ptr noundef %9) %11 = load ptr, ptr %3, align 8 %12 = call i32 @strlen(ptr noundef %11) %13 = load ptr, ptr %2, align 8 %14 = call i32 @strlen(ptr noundef %13) %15 = srem i32 %12, %14 %16 = sub nsw i32 %10, %15 %17 = add nsw i32 %8, %16 %18 = add nsw i32 %17, 1 %19 = zext i32 %18 to i64 %20 = call ptr @llvm.stacksave() store ptr %20, ptr %4, align 8 %21 = alloca i8, i64 %19, align 16 store i64 %19, ptr %5, align 8 %22 = alloca i8, i64 %19, align 16 store i64 %19, ptr %6, align 8 %23 = trunc i64 %19 to i32 %24 = call i32 @memset(ptr noundef %21, i32 noundef 0, i32 noundef %23) %25 = trunc i64 %19 to i32 %26 = call i32 @memset(ptr noundef %22, i32 noundef 0, i32 noundef %25) %27 = load ptr, ptr %3, align 8 %28 = call i32 @printf(ptr noundef @.str.2, ptr noundef %27) %29 = load ptr, ptr %3, align 8 %30 = load ptr, ptr %2, align 8 %31 = call i32 @encrypt(ptr noundef %29, ptr noundef %30, ptr noundef %21) %32 = call i32 @printf(ptr noundef @.str.3, ptr noundef %21) %33 = load ptr, ptr %2, align 8 %34 = call i32 @decrypt(ptr noundef %21, ptr noundef %33, ptr noundef %22) %35 = call i32 @printf(ptr noundef @.str.4, ptr noundef %22) store i32 0, ptr %1, align 4 %36 = load ptr, ptr %4, align 8 call void @llvm.stackrestore(ptr %36) %37 = load i32, ptr %1, align 4 ret i32 %37 } declare i32 @strlen(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @encrypt(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @decrypt(ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2jc7h40v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"deceptive\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"We are discovered save yourself\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"p: %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"Encrypted: %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"Dncrypted: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store i32 0, ptr %1, align 4 store ptr @.str, ptr %2, align 8 store ptr @.str.1, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i32 @strlen(ptr noundef %7) %9 = load ptr, ptr %2, align 8 %10 = call i32 @strlen(ptr noundef %9) %11 = load ptr, ptr %3, align 8 %12 = call i32 @strlen(ptr noundef %11) %13 = load ptr, ptr %2, align 8 %14 = call i32 @strlen(ptr noundef %13) %15 = srem i32 %12, %14 %16 = sub nsw i32 %10, %15 %17 = add nsw i32 %8, %16 %18 = add nsw i32 %17, 1 %19 = zext i32 %18 to i64 %20 = call ptr @llvm.stacksave() store ptr %20, ptr %4, align 8 %21 = alloca i8, i64 %19, align 16 store i64 %19, ptr %5, align 8 %22 = alloca i8, i64 %19, align 16 store i64 %19, ptr %6, align 8 %23 = trunc i64 %19 to i32 %24 = call i32 @memset(ptr noundef %21, i32 noundef 0, i32 noundef %23) %25 = trunc i64 %19 to i32 %26 = call i32 @memset(ptr noundef %22, i32 noundef 0, i32 noundef %25) %27 = load ptr, ptr %3, align 8 %28 = call i32 @printf(ptr noundef @.str.2, ptr noundef %27) %29 = load ptr, ptr %3, align 8 %30 = load ptr, ptr %2, align 8 %31 = call i32 @encrypt(ptr noundef %29, ptr noundef %30, ptr noundef %21) %32 = call i32 @printf(ptr noundef @.str.3, ptr noundef %21) %33 = load ptr, ptr %2, align 8 %34 = call i32 @decrypt(ptr noundef %21, ptr noundef %33, ptr noundef %22) %35 = call i32 @printf(ptr noundef @.str.4, ptr noundef %22) store i32 0, ptr %1, align 4 %36 = load ptr, ptr %4, align 8 call void @llvm.stackrestore(ptr %36) %37 = load i32, ptr %1, align 4 ret i32 %37 } declare i32 @strlen(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @encrypt(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @decrypt(ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp79ijruws.c' source_filename = "/tmp/tmp79ijruws.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"Hello World!\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"fork\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [5 x i8] c"sort\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [19 x i8] c"Recieved string %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca [50 x i8], align 16 %8 = alloca i32, align 4 %9 = alloca [2 x i32], align 4 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr @.str, ptr %6, align 8 %11 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0 %12 = call i32 @pipe(ptr noundef %11) %13 = call i32 (...) @fork() %14 = icmp eq i32 %13, -1 %15 = zext i1 %14 to i32 store i32 %15, ptr %10, align 4 br i1 %14, label %16, label %20 16: ; preds = %2 %17 = call i32 @perror(ptr noundef @.str.1) %18 = load i32, ptr @EXIT_FAILURE, align 4 %19 = call i32 @exit(i32 noundef %18) #3 unreachable 20: ; preds = %2 %21 = load i32, ptr %10, align 4 %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %40 23: ; preds = %20 %24 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0 %25 = load i32, ptr %24, align 4 %26 = call i32 @close(i32 noundef %25) %27 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0 %28 = load i32, ptr %27, align 4 %29 = call i32 @dup(i32 noundef %28) %30 = call i32 @execlp(ptr noundef @.str.2, ptr noundef @.str.2, ptr noundef null) %31 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 1 %32 = load i32, ptr %31, align 4 %33 = load ptr, ptr %6, align 8 %34 = load ptr, ptr %6, align 8 %35 = call i64 @strlen(ptr noundef %34) %36 = add nsw i64 %35, 1 %37 = call i32 @write(i32 noundef %32, ptr noundef %33, i64 noundef %36) %38 = load i32, ptr @EXIT_SUCCESS, align 4 %39 = call i32 @exit(i32 noundef %38) #3 unreachable 40: ; preds = %20 %41 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 1 %42 = load i32, ptr %41, align 4 %43 = call i32 @close(i32 noundef %42) %44 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0 %45 = load i32, ptr %44, align 4 %46 = getelementptr inbounds [50 x i8], ptr %7, i64 0, i64 0 %47 = call i32 @read(i32 noundef %45, ptr noundef %46, i32 noundef 50) %48 = getelementptr inbounds [50 x i8], ptr %7, i64 0, i64 0 %49 = call i32 @printf(ptr noundef @.str.3, ptr noundef %48) br label %50 50: ; preds = %40 br label %51 51: ; preds = %50 %52 = load i32, ptr @EXIT_SUCCESS, align 4 %53 = call i32 @exit(i32 noundef %52) #3 unreachable } declare i32 @pipe(ptr noundef) #1 declare i32 @fork(...) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @close(i32 noundef) #1 declare i32 @dup(i32 noundef) #1 declare i32 @execlp(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmp79ijruws.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"Hello World!\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"fork\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [5 x i8] c"sort\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [19 x i8] c"Recieved string %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca [50 x i8], align 16 %8 = alloca i32, align 4 %9 = alloca [2 x i32], align 4 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr @.str, ptr %6, align 8 %11 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0 %12 = call i32 @pipe(ptr noundef %11) %13 = call i32 (...) @fork() %14 = icmp eq i32 %13, -1 %15 = zext i1 %14 to i32 store i32 %15, ptr %10, align 4 br i1 %14, label %16, label %20 16: ; preds = %2 %17 = call i32 @perror(ptr noundef @.str.1) %18 = load i32, ptr @EXIT_FAILURE, align 4 %19 = call i32 @exit(i32 noundef %18) #3 unreachable 20: ; preds = %2 %21 = load i32, ptr %10, align 4 %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %40 23: ; preds = %20 %24 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0 %25 = load i32, ptr %24, align 4 %26 = call i32 @close(i32 noundef %25) %27 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0 %28 = load i32, ptr %27, align 4 %29 = call i32 @dup(i32 noundef %28) %30 = call i32 @execlp(ptr noundef @.str.2, ptr noundef @.str.2, ptr noundef null) %31 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 1 %32 = load i32, ptr %31, align 4 %33 = load ptr, ptr %6, align 8 %34 = load ptr, ptr %6, align 8 %35 = call i64 @strlen(ptr noundef %34) %36 = add nsw i64 %35, 1 %37 = call i32 @write(i32 noundef %32, ptr noundef %33, i64 noundef %36) %38 = load i32, ptr @EXIT_SUCCESS, align 4 %39 = call i32 @exit(i32 noundef %38) #3 unreachable 40: ; preds = %20 %41 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 1 %42 = load i32, ptr %41, align 4 %43 = call i32 @close(i32 noundef %42) %44 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0 %45 = load i32, ptr %44, align 4 %46 = getelementptr inbounds [50 x i8], ptr %7, i64 0, i64 0 %47 = call i32 @read(i32 noundef %45, ptr noundef %46, i32 noundef 50) %48 = getelementptr inbounds [50 x i8], ptr %7, i64 0, i64 0 %49 = call i32 @printf(ptr noundef @.str.3, ptr noundef %48) br label %50 50: ; preds = %40 br label %51 51: ; preds = %50 %52 = load i32, ptr @EXIT_SUCCESS, align 4 %53 = call i32 @exit(i32 noundef %52) #3 unreachable } declare i32 @pipe(ptr noundef) #1 declare i32 @fork(...) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @close(i32 noundef) #1 declare i32 @dup(i32 noundef) #1 declare i32 @execlp(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpzqb0adnu.c' source_filename = "/tmp/tmpzqb0adnu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage:\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"\09-h\09Displays this message\0A\00", align 1 @.str.3 = private unnamed_addr constant [39 x i8] c"\09-i\09interface to use\09(example: wlan0)\0A\00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c"\09-c\09channel to use\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) %4 = load ptr, ptr %2, align 8 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %4) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzqb0adnu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage:\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"\09-h\09Displays this message\0A\00", align 1 @.str.3 = private unnamed_addr constant [39 x i8] c"\09-i\09interface to use\09(example: wlan0)\0A\00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c"\09-c\09channel to use\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) %4 = load ptr, ptr %2, align 8 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %4) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfm98bufj.c' source_filename = "/tmp/tmpfm98bufj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @FS460_get_channel_mux(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %12, label %11 11: ; preds = %2 store i32 4096, ptr %3, align 4 br label %30 12: ; preds = %2 %13 = load i32, ptr %4, align 4 %14 = call i32 @layer_table_base_3(i32 noundef %13) store i32 %14, ptr %7, align 4 %15 = load i32, ptr %7, align 4 %16 = icmp ne i32 %15, 0 br i1 %16, label %18, label %17 17: ; preds = %12 store i32 4096, ptr %3, align 4 br label %30 18: ; preds = %12 %19 = load i32, ptr %7, align 4 %20 = add nsw i32 %19, 2 %21 = call i32 @blender_read_reg(i32 noundef %20, ptr noundef %8) store i32 %21, ptr %6, align 4 %22 = load i32, ptr %6, align 4 %23 = icmp ne i32 %22, 0 br i1 %23, label %24, label %26 24: ; preds = %18 %25 = load i32, ptr %6, align 4 store i32 %25, ptr %3, align 4 br label %30 26: ; preds = %18 %27 = load i32, ptr %8, align 4 %28 = and i32 %27, 15 %29 = load ptr, ptr %5, align 8 store i32 %28, ptr %29, align 4 store i32 0, ptr %3, align 4 br label %30 30: ; preds = %26, %24, %17, %11 %31 = load i32, ptr %3, align 4 ret i32 %31 } declare i32 @layer_table_base_3(i32 noundef) #1 declare i32 @blender_read_reg(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfm98bufj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @FS460_get_channel_mux(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %12, label %11 11: ; preds = %2 store i32 4096, ptr %3, align 4 br label %30 12: ; preds = %2 %13 = load i32, ptr %4, align 4 %14 = call i32 @layer_table_base_3(i32 noundef %13) store i32 %14, ptr %7, align 4 %15 = load i32, ptr %7, align 4 %16 = icmp ne i32 %15, 0 br i1 %16, label %18, label %17 17: ; preds = %12 store i32 4096, ptr %3, align 4 br label %30 18: ; preds = %12 %19 = load i32, ptr %7, align 4 %20 = add nsw i32 %19, 2 %21 = call i32 @blender_read_reg(i32 noundef %20, ptr noundef %8) store i32 %21, ptr %6, align 4 %22 = load i32, ptr %6, align 4 %23 = icmp ne i32 %22, 0 br i1 %23, label %24, label %26 24: ; preds = %18 %25 = load i32, ptr %6, align 4 store i32 %25, ptr %3, align 4 br label %30 26: ; preds = %18 %27 = load i32, ptr %8, align 4 %28 = and i32 %27, 15 %29 = load ptr, ptr %5, align 8 store i32 %28, ptr %29, align 4 store i32 0, ptr %3, align 4 br label %30 30: ; preds = %26, %24, %17, %11 %31 = load i32, ptr %3, align 4 ret i32 %31 } declare i32 @layer_table_base_3(i32 noundef) #1 declare i32 @blender_read_reg(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsq233eoz.c' source_filename = "/tmp/tmpsq233eoz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @zero(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 %8 = load ptr, ptr %4, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %13, label %10 10: ; preds = %3 %11 = load i32, ptr %5, align 4 %12 = icmp slt i32 %11, 0 br i1 %12, label %13, label %14 13: ; preds = %10, %3 br label %28 14: ; preds = %10 store i32 0, ptr %7, align 4 br label %15 15: ; preds = %25, %14 %16 = load i32, ptr %7, align 4 %17 = load i32, ptr %5, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %19, label %28 19: ; preds = %15 %20 = load i32, ptr %6, align 4 %21 = load ptr, ptr %4, align 8 %22 = load i32, ptr %7, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i32, ptr %21, i64 %23 store i32 %20, ptr %24, align 4 br label %25 25: ; preds = %19 %26 = load i32, ptr %7, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %7, align 4 br label %15, !llvm.loop !6 28: ; preds = %13, %15 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsq233eoz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @zero(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 %8 = load ptr, ptr %4, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %13, label %10 10: ; preds = %3 %11 = load i32, ptr %5, align 4 %12 = icmp slt i32 %11, 0 br i1 %12, label %13, label %14 13: ; preds = %10, %3 br label %30 14: ; preds = %10 store i32 0, ptr %7, align 4 %15 = load i32, ptr %7, align 4 %16 = load i32, ptr %5, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %14 br label %18 18: ; preds = %.lr.ph, %24 %19 = load i32, ptr %6, align 4 %20 = load ptr, ptr %4, align 8 %21 = load i32, ptr %7, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i32, ptr %20, i64 %22 store i32 %19, ptr %23, align 4 br label %24 24: ; preds = %18 %25 = load i32, ptr %7, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %7, align 4 %27 = load i32, ptr %7, align 4 %28 = load i32, ptr %5, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %18, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %24 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %14 br label %30 30: ; preds = %.loopexit, %13 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp2yeobh9b.c' source_filename = "/tmp/tmp2yeobh9b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @testClosureLLIrV(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %13 9: ; preds = %3 %10 = load ptr, ptr %4, align 8 %11 = load i64, ptr %5, align 8 %12 = load i32, ptr %6, align 4 call void %10(i64 noundef %11, i32 noundef %12) br label %13 13: ; preds = %9, %3 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/tmp2yeobh9b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @testClosureLLIrV(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %13 9: ; preds = %3 %10 = load ptr, ptr %4, align 8 %11 = load i64, ptr %5, align 8 %12 = load i32, ptr %6, align 4 call void %10(i64 noundef %11, i32 noundef %12) br label %13 13: ; preds = %9, %3 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/tmpa0vc6u9m.c' source_filename = "/tmp/tmpa0vc6u9m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c" %d\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c" %d %d\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 %7 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) br label %8 8: ; preds = %29, %0 %9 = load i32, ptr %2, align 4 %10 = icmp sgt i32 %9, 0 br i1 %10, label %11, label %34 11: ; preds = %8 store i32 0, ptr %6, align 4 %12 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3, ptr noundef %4) br label %13 13: ; preds = %26, %11 %14 = load i32, ptr %4, align 4 %15 = icmp sgt i32 %14, 0 br i1 %15, label %16, label %29 16: ; preds = %13 %17 = load i32, ptr %3, align 4 %18 = srem i32 %17, 2 %19 = icmp ne i32 %18, 0 br i1 %19, label %20, label %26 20: ; preds = %16 %21 = load i32, ptr %3, align 4 %22 = load i32, ptr %6, align 4 %23 = add nsw i32 %22, %21 store i32 %23, ptr %6, align 4 %24 = load i32, ptr %4, align 4 %25 = add nsw i32 %24, -1 store i32 %25, ptr %4, align 4 br label %26 26: ; preds = %20, %16 %27 = load i32, ptr %3, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %3, align 4 br label %13, !llvm.loop !6 29: ; preds = %13 %30 = load i32, ptr %6, align 4 %31 = call i32 @printf(ptr noundef @.str.2, i32 noundef %30) %32 = load i32, ptr %2, align 4 %33 = add nsw i32 %32, -1 store i32 %33, ptr %2, align 4 br label %8, !llvm.loop !8 34: ; preds = %8 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa0vc6u9m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c" %d\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c" %d %d\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 %7 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) %8 = load i32, ptr %2, align 4 %9 = icmp sgt i32 %8, 0 br i1 %9, label %.lr.ph2, label %36 .lr.ph2: ; preds = %0 br label %10 10: ; preds = %.lr.ph2, %29 store i32 0, ptr %6, align 4 %11 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3, ptr noundef %4) %12 = load i32, ptr %4, align 4 %13 = icmp sgt i32 %12, 0 br i1 %13, label %.lr.ph, label %29 .lr.ph: ; preds = %10 br label %14 14: ; preds = %.lr.ph, %24 %15 = load i32, ptr %3, align 4 %16 = srem i32 %15, 2 %17 = icmp ne i32 %16, 0 br i1 %17, label %18, label %24 18: ; preds = %14 %19 = load i32, ptr %3, align 4 %20 = load i32, ptr %6, align 4 %21 = add nsw i32 %20, %19 store i32 %21, ptr %6, align 4 %22 = load i32, ptr %4, align 4 %23 = add nsw i32 %22, -1 store i32 %23, ptr %4, align 4 br label %24 24: ; preds = %18, %14 %25 = load i32, ptr %3, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %3, align 4 %27 = load i32, ptr %4, align 4 %28 = icmp sgt i32 %27, 0 br i1 %28, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %29 29: ; preds = %._crit_edge, %10 %30 = load i32, ptr %6, align 4 %31 = call i32 @printf(ptr noundef @.str.2, i32 noundef %30) %32 = load i32, ptr %2, align 4 %33 = add nsw i32 %32, -1 store i32 %33, ptr %2, align 4 %34 = load i32, ptr %2, align 4 %35 = icmp sgt i32 %34, 0 br i1 %35, label %10, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %29 br label %36 36: ; preds = %._crit_edge3, %0 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpujs0swj8.c' source_filename = "/tmp/tmpujs0swj8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%d%d\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i32 1, ptr %8, align 4 %12 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %4) br label %13 13: ; preds = %77, %0 %14 = load i32, ptr %4, align 4 %15 = add nsw i32 %14, -1 store i32 %15, ptr %4, align 4 %16 = icmp ne i32 %14, 0 br i1 %16, label %17, label %81 17: ; preds = %13 store i32 1, ptr %8, align 4 %18 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3) %19 = load i32, ptr %2, align 4 %20 = zext i32 %19 to i64 %21 = call ptr @llvm.stacksave() store ptr %21, ptr %9, align 8 %22 = alloca i32, i64 %20, align 16 store i64 %20, ptr %10, align 8 %23 = load i32, ptr %2, align 4 %24 = zext i32 %23 to i64 %25 = alloca i32, i64 %24, align 16 store i64 %24, ptr %11, align 8 store i32 0, ptr %5, align 4 br label %26 26: ; preds = %35, %17 %27 = load i32, ptr %5, align 4 %28 = load i32, ptr %2, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %30, label %38 30: ; preds = %26 %31 = load i32, ptr %5, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i32, ptr %22, i64 %32 %34 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %33) br label %35 35: ; preds = %30 %36 = load i32, ptr %5, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %5, align 4 br label %26, !llvm.loop !6 38: ; preds = %26 store i32 0, ptr %5, align 4 br label %39 39: ; preds = %48, %38 %40 = load i32, ptr %5, align 4 %41 = load i32, ptr %2, align 4 %42 = icmp slt i32 %40, %41 br i1 %42, label %43, label %51 43: ; preds = %39 %44 = load i32, ptr %5, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i32, ptr %25, i64 %45 %47 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %46) br label %48 48: ; preds = %43 %49 = load i32, ptr %5, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %5, align 4 br label %39, !llvm.loop !8 51: ; preds = %39 store i32 0, ptr %5, align 4 br label %52 52: ; preds = %74, %51 %53 = load i32, ptr %5, align 4 %54 = load i32, ptr %2, align 4 %55 = icmp slt i32 %53, %54 br i1 %55, label %56, label %77 56: ; preds = %52 %57 = load i32, ptr %5, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds i32, ptr %25, i64 %58 %60 = load i32, ptr %59, align 4 %61 = load i32, ptr %3, align 4 %62 = load i32, ptr %5, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i32, ptr %22, i64 %63 %65 = load i32, ptr %64, align 4 %66 = sdiv i32 %61, %65 %67 = mul nsw i32 %60, %66 store i32 %67, ptr %7, align 4 %68 = load i32, ptr %7, align 4 %69 = load i32, ptr %8, align 4 %70 = icmp sgt i32 %68, %69 br i1 %70, label %71, label %73 71: ; preds = %56 %72 = load i32, ptr %7, align 4 store i32 %72, ptr %8, align 4 br label %73 73: ; preds = %71, %56 br label %74 74: ; preds = %73 %75 = load i32, ptr %5, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %5, align 4 br label %52, !llvm.loop !9 77: ; preds = %52 %78 = load i32, ptr %8, align 4 %79 = call i32 @printf(ptr noundef @.str.2, i32 noundef %78) %80 = load ptr, ptr %9, align 8 call void @llvm.stackrestore(ptr %80) br label %13, !llvm.loop !10 81: ; preds = %13 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @printf(ptr noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpujs0swj8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%d%d\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i32 1, ptr %8, align 4 %12 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %4) %13 = load i32, ptr %4, align 4 %14 = add nsw i32 %13, -1 store i32 %14, ptr %4, align 4 %15 = icmp ne i32 %13, 0 br i1 %15, label %.lr.ph8, label %89 .lr.ph8: ; preds = %0 br label %16 16: ; preds = %.lr.ph8, %82 store i32 1, ptr %8, align 4 %17 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3) %18 = load i32, ptr %2, align 4 %19 = zext i32 %18 to i64 %20 = call ptr @llvm.stacksave() store ptr %20, ptr %9, align 8 %21 = alloca i32, i64 %19, align 16 store i64 %19, ptr %10, align 8 %22 = load i32, ptr %2, align 4 %23 = zext i32 %22 to i64 %24 = alloca i32, i64 %23, align 16 store i64 %23, ptr %11, align 8 store i32 0, ptr %5, align 4 %25 = load i32, ptr %5, align 4 %26 = load i32, ptr %2, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %.lr.ph, label %39 .lr.ph: ; preds = %16 br label %28 28: ; preds = %.lr.ph, %33 %29 = load i32, ptr %5, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i32, ptr %21, i64 %30 %32 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %31) br label %33 33: ; preds = %28 %34 = load i32, ptr %5, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %5, align 4 %36 = load i32, ptr %5, align 4 %37 = load i32, ptr %2, align 4 %38 = icmp slt i32 %36, %37 br i1 %38, label %28, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %33 br label %39 39: ; preds = %._crit_edge, %16 store i32 0, ptr %5, align 4 %40 = load i32, ptr %5, align 4 %41 = load i32, ptr %2, align 4 %42 = icmp slt i32 %40, %41 br i1 %42, label %.lr.ph2, label %54 .lr.ph2: ; preds = %39 br label %43 43: ; preds = %.lr.ph2, %48 %44 = load i32, ptr %5, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i32, ptr %24, i64 %45 %47 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %46) br label %48 48: ; preds = %43 %49 = load i32, ptr %5, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %5, align 4 %51 = load i32, ptr %5, align 4 %52 = load i32, ptr %2, align 4 %53 = icmp slt i32 %51, %52 br i1 %53, label %43, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %48 br label %54 54: ; preds = %._crit_edge3, %39 store i32 0, ptr %5, align 4 %55 = load i32, ptr %5, align 4 %56 = load i32, ptr %2, align 4 %57 = icmp slt i32 %55, %56 br i1 %57, label %.lr.ph5, label %82 .lr.ph5: ; preds = %54 br label %58 58: ; preds = %.lr.ph5, %76 %59 = load i32, ptr %5, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i32, ptr %24, i64 %60 %62 = load i32, ptr %61, align 4 %63 = load i32, ptr %3, align 4 %64 = load i32, ptr %5, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds i32, ptr %21, i64 %65 %67 = load i32, ptr %66, align 4 %68 = sdiv i32 %63, %67 %69 = mul nsw i32 %62, %68 store i32 %69, ptr %7, align 4 %70 = load i32, ptr %7, align 4 %71 = load i32, ptr %8, align 4 %72 = icmp sgt i32 %70, %71 br i1 %72, label %73, label %75 73: ; preds = %58 %74 = load i32, ptr %7, align 4 store i32 %74, ptr %8, align 4 br label %75 75: ; preds = %73, %58 br label %76 76: ; preds = %75 %77 = load i32, ptr %5, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %5, align 4 %79 = load i32, ptr %5, align 4 %80 = load i32, ptr %2, align 4 %81 = icmp slt i32 %79, %80 br i1 %81, label %58, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %76 br label %82 82: ; preds = %._crit_edge6, %54 %83 = load i32, ptr %8, align 4 %84 = call i32 @printf(ptr noundef @.str.2, i32 noundef %83) %85 = load ptr, ptr %9, align 8 call void @llvm.stackrestore(ptr %85) %86 = load i32, ptr %4, align 4 %87 = add nsw i32 %86, -1 store i32 %87, ptr %4, align 4 %88 = icmp ne i32 %86, 0 br i1 %88, label %16, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %82 br label %89 89: ; preds = %._crit_edge9, %0 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @printf(ptr noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmplzfb_2n_.c' source_filename = "/tmp/tmplzfb_2n_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sarwaitbar_update(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @sarwaitbar_std_update(i32 noundef %3) ret i32 %4 } declare i32 @sarwaitbar_std_update(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/tmplzfb_2n_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sarwaitbar_update(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @sarwaitbar_std_update(i32 noundef %3) ret i32 %4 } declare i32 @sarwaitbar_std_update(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/tmpagfhzl5e.c' source_filename = "/tmp/tmpagfhzl5e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EIO = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c".bmp\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c".wav\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @open_sampler_by_extension(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr %5, align 8 %8 = call i64 @strlen(ptr noundef %7) store i64 %8, ptr %6, align 8 %9 = load i64, ptr %6, align 8 %10 = icmp ult i64 %9, 5 br i1 %10, label %11, label %14 11: ; preds = %2 %12 = load i32, ptr @EIO, align 4 %13 = sub nsw i32 0, %12 store i32 %13, ptr %3, align 4 br label %39 14: ; preds = %2 %15 = load ptr, ptr %5, align 8 %16 = load i64, ptr %6, align 8 %17 = sub i64 %16, 4 %18 = getelementptr inbounds i8, ptr %15, i64 %17 %19 = call i64 @memcmp(ptr noundef %18, ptr noundef @.str, i32 noundef 4) %20 = icmp eq i64 %19, 0 br i1 %20, label %21, label %25 21: ; preds = %14 %22 = load ptr, ptr %4, align 8 %23 = load ptr, ptr %5, align 8 %24 = call i32 @bmp_open(ptr noundef %22, ptr noundef %23) store i32 %24, ptr %3, align 4 br label %39 25: ; preds = %14 %26 = load ptr, ptr %5, align 8 %27 = load i64, ptr %6, align 8 %28 = sub i64 %27, 4 %29 = getelementptr inbounds i8, ptr %26, i64 %28 %30 = call i64 @memcmp(ptr noundef %29, ptr noundef @.str.1, i32 noundef 4) %31 = icmp eq i64 %30, 0 br i1 %31, label %32, label %36 32: ; preds = %25 %33 = load ptr, ptr %4, align 8 %34 = load ptr, ptr %5, align 8 %35 = call i32 @wav_open(ptr noundef %33, ptr noundef %34) store i32 %35, ptr %3, align 4 br label %39 36: ; preds = %25 %37 = load i32, ptr @EIO, align 4 %38 = sub nsw i32 0, %37 store i32 %38, ptr %3, align 4 br label %39 39: ; preds = %36, %32, %21, %11 %40 = load i32, ptr %3, align 4 ret i32 %40 } declare i64 @strlen(ptr noundef) #1 declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @bmp_open(ptr noundef, ptr noundef) #1 declare i32 @wav_open(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/tmpagfhzl5e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EIO = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c".bmp\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c".wav\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @open_sampler_by_extension(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr %5, align 8 %8 = call i64 @strlen(ptr noundef %7) store i64 %8, ptr %6, align 8 %9 = load i64, ptr %6, align 8 %10 = icmp ult i64 %9, 5 br i1 %10, label %11, label %14 11: ; preds = %2 %12 = load i32, ptr @EIO, align 4 %13 = sub nsw i32 0, %12 store i32 %13, ptr %3, align 4 br label %39 14: ; preds = %2 %15 = load ptr, ptr %5, align 8 %16 = load i64, ptr %6, align 8 %17 = sub i64 %16, 4 %18 = getelementptr inbounds i8, ptr %15, i64 %17 %19 = call i64 @memcmp(ptr noundef %18, ptr noundef @.str, i32 noundef 4) %20 = icmp eq i64 %19, 0 br i1 %20, label %21, label %25 21: ; preds = %14 %22 = load ptr, ptr %4, align 8 %23 = load ptr, ptr %5, align 8 %24 = call i32 @bmp_open(ptr noundef %22, ptr noundef %23) store i32 %24, ptr %3, align 4 br label %39 25: ; preds = %14 %26 = load ptr, ptr %5, align 8 %27 = load i64, ptr %6, align 8 %28 = sub i64 %27, 4 %29 = getelementptr inbounds i8, ptr %26, i64 %28 %30 = call i64 @memcmp(ptr noundef %29, ptr noundef @.str.1, i32 noundef 4) %31 = icmp eq i64 %30, 0 br i1 %31, label %32, label %36 32: ; preds = %25 %33 = load ptr, ptr %4, align 8 %34 = load ptr, ptr %5, align 8 %35 = call i32 @wav_open(ptr noundef %33, ptr noundef %34) store i32 %35, ptr %3, align 4 br label %39 36: ; preds = %25 %37 = load i32, ptr @EIO, align 4 %38 = sub nsw i32 0, %37 store i32 %38, ptr %3, align 4 br label %39 39: ; preds = %36, %32, %21, %11 %40 = load i32, ptr %3, align 4 ret i32 %40 } declare i64 @strlen(ptr noundef) #1 declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @bmp_open(ptr noundef, ptr noundef) #1 declare i32 @wav_open(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/tmpaqqxlueg.c' source_filename = "/tmp/tmpaqqxlueg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @scratchpad_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/tmpaqqxlueg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @scratchpad_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/tmpxuvmr0f5.c' source_filename = "/tmp/tmpxuvmr0f5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @EOF = dso_local global i8 0, align 1 @.str.2 = private unnamed_addr constant [144 x i8] c"Plik o nazwie '%s' nie istnieje. \0ASprawdz czy podales podales poprawna nazwe pliku. \0AW celu uzyskania pomocy uzyj komendy 'PrefixFilter -h'.\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @CopyWordsToNewFile(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca [100 x i8], align 16 %9 = alloca i8, align 1 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %10 = load ptr, ptr %4, align 8 %11 = call i64 @Exists(ptr noundef %10) %12 = icmp ne i64 %11, 0 br i1 %12, label %13, label %32 13: ; preds = %3 %14 = load ptr, ptr %4, align 8 %15 = call ptr @fopen(ptr noundef %14, ptr noundef @.str) store ptr %15, ptr %7, align 8 br label %16 16: ; preds = %23, %13 %17 = load ptr, ptr %7, align 8 %18 = getelementptr inbounds [100 x i8], ptr %8, i64 0, i64 0 %19 = call signext i8 @fscanf(ptr noundef %17, ptr noundef @.str.1, ptr noundef %18) store i8 %19, ptr %9, align 1 %20 = load ptr, ptr %5, align 8 %21 = load ptr, ptr %6, align 8 %22 = call i32 @PassWordsWithPrefixes(ptr noundef %8, ptr noundef %20, ptr noundef %21) br label %23 23: ; preds = %16 %24 = load i8, ptr %9, align 1 %25 = sext i8 %24 to i32 %26 = load i8, ptr @EOF, align 1 %27 = sext i8 %26 to i32 %28 = icmp ne i32 %25, %27 br i1 %28, label %16, label %29, !llvm.loop !6 29: ; preds = %23 %30 = load ptr, ptr %7, align 8 %31 = call i32 @fclose(ptr noundef %30) br label %35 32: ; preds = %3 %33 = load ptr, ptr %4, align 8 %34 = call i32 @printf(ptr noundef @.str.2, ptr noundef %33) br label %35 35: ; preds = %32, %29 ret void } declare i64 @Exists(ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare signext i8 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @PassWordsWithPrefixes(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxuvmr0f5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @EOF = dso_local global i8 0, align 1 @.str.2 = private unnamed_addr constant [144 x i8] c"Plik o nazwie '%s' nie istnieje. \0ASprawdz czy podales podales poprawna nazwe pliku. \0AW celu uzyskania pomocy uzyj komendy 'PrefixFilter -h'.\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @CopyWordsToNewFile(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca [100 x i8], align 16 %9 = alloca i8, align 1 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %10 = load ptr, ptr %4, align 8 %11 = call i64 @Exists(ptr noundef %10) %12 = icmp ne i64 %11, 0 br i1 %12, label %13, label %32 13: ; preds = %3 %14 = load ptr, ptr %4, align 8 %15 = call ptr @fopen(ptr noundef %14, ptr noundef @.str) store ptr %15, ptr %7, align 8 br label %16 16: ; preds = %23, %13 %17 = load ptr, ptr %7, align 8 %18 = getelementptr inbounds [100 x i8], ptr %8, i64 0, i64 0 %19 = call signext i8 @fscanf(ptr noundef %17, ptr noundef @.str.1, ptr noundef %18) store i8 %19, ptr %9, align 1 %20 = load ptr, ptr %5, align 8 %21 = load ptr, ptr %6, align 8 %22 = call i32 @PassWordsWithPrefixes(ptr noundef %8, ptr noundef %20, ptr noundef %21) br label %23 23: ; preds = %16 %24 = load i8, ptr %9, align 1 %25 = sext i8 %24 to i32 %26 = load i8, ptr @EOF, align 1 %27 = sext i8 %26 to i32 %28 = icmp ne i32 %25, %27 br i1 %28, label %16, label %29, !llvm.loop !6 29: ; preds = %23 %30 = load ptr, ptr %7, align 8 %31 = call i32 @fclose(ptr noundef %30) br label %35 32: ; preds = %3 %33 = load ptr, ptr %4, align 8 %34 = call i32 @printf(ptr noundef @.str.2, ptr noundef %33) br label %35 35: ; preds = %32, %29 ret void } declare i64 @Exists(ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare signext i8 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @PassWordsWithPrefixes(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmplla3adqm.c' source_filename = "/tmp/tmplla3adqm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"%d %d \00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.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() #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 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 1, ptr %3, align 4 store i32 2, ptr %4, align 4 %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %5) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef 0, i32 noundef 1) br label %9 9: ; preds = %0, %23 %10 = load i32, ptr %2, align 4 %11 = load i32, ptr %3, align 4 %12 = add nsw i32 %10, %11 store i32 %12, ptr %6, align 4 %13 = load i32, ptr %3, align 4 store i32 %13, ptr %2, align 4 %14 = load i32, ptr %6, align 4 store i32 %14, ptr %3, align 4 %15 = load i32, ptr %6, align 4 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %15) %17 = load i32, ptr %4, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %4, align 4 %19 = load i32, ptr %4, align 4 %20 = load i32, ptr %5, align 4 %21 = icmp sge i32 %19, %20 br i1 %21, label %22, label %23 22: ; preds = %9 br label %25 23: ; preds = %9 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %9 25: ; preds = %22 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplla3adqm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"%d %d \00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.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() #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 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 1, ptr %3, align 4 store i32 2, ptr %4, align 4 %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %5) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef 0, i32 noundef 1) br label %9 9: ; preds = %23, %0 %10 = load i32, ptr %2, align 4 %11 = load i32, ptr %3, align 4 %12 = add nsw i32 %10, %11 store i32 %12, ptr %6, align 4 %13 = load i32, ptr %3, align 4 store i32 %13, ptr %2, align 4 %14 = load i32, ptr %6, align 4 store i32 %14, ptr %3, align 4 %15 = load i32, ptr %6, align 4 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %15) %17 = load i32, ptr %4, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %4, align 4 %19 = load i32, ptr %4, align 4 %20 = load i32, ptr %5, align 4 %21 = icmp sge i32 %19, %20 br i1 %21, label %22, label %23 22: ; preds = %9 br label %25 23: ; preds = %9 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %9 25: ; preds = %22 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpysyb7_n2.c' source_filename = "/tmp/tmpysyb7_n2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [5 x i8] c"%s%s\00", align 1 @.str.2 = private unnamed_addr constant [30 x i8] c"/db/gargoyle_attack_detect.db\00", align 1 @SQLITE_OK = dso_local global i32 0, align 4 @LOG_INFO = dso_local global i32 0, align 4 @LOG_LOCAL6 = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [93 x i8] c"ERROR opening SQLite DB '%s' from function [sqlite_get_detected_hosts_row_ix_by_host_ix]: %s\00", align 1 @.str.4 = private unnamed_addr constant [37 x i8] c"SELECT ix FROM %s WHERE host_ix = ?1\00", align 1 @.str.5 = private unnamed_addr constant [15 x i8] c"detected_hosts\00", align 1 @SQLITE_ROW = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @sqlite_get_detected_hosts_row_ix_by_host_ix(i64 noundef %0, ptr noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca [256 x i8], align 16 %7 = alloca [513 x i8], align 16 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i64, align 8 %12 = alloca ptr, align 8 store i64 %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %13 = load ptr, ptr %5, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %15, label %19 15: ; preds = %2 %16 = getelementptr inbounds [513 x i8], ptr %7, i64 0, i64 0 %17 = load ptr, ptr %5, align 8 %18 = call i32 (ptr, i32, ptr, ptr, ...) @snprintf(ptr noundef %16, i32 noundef 512, ptr noundef @.str, ptr noundef %17) br label %29 19: ; preds = %2 %20 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %21 = call ptr @getcwd(ptr noundef %20, i32 noundef 256) %22 = icmp eq ptr %21, null br i1 %22, label %23, label %24 23: ; preds = %19 store i64 1, ptr %3, align 8 br label %74 24: ; preds = %19 %25 = getelementptr inbounds [513 x i8], ptr %7, i64 0, i64 0 %26 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %27 = call i32 (ptr, i32, ptr, ptr, ...) @snprintf(ptr noundef %25, i32 noundef 512, ptr noundef @.str.1, ptr noundef %26, ptr noundef @.str.2) br label %28 28: ; preds = %24 br label %29 29: ; preds = %28, %15 store i64 0, ptr %11, align 8 %30 = call i64 @malloc(i32 noundef 512) %31 = inttoptr i64 %30 to ptr store ptr %31, ptr %12, align 8 %32 = getelementptr inbounds [513 x i8], ptr %7, i64 0, i64 0 %33 = call i32 @sqlite3_open(ptr noundef %32, ptr noundef %8) store i32 %33, ptr %10, align 4 %34 = load i32, ptr %10, align 4 %35 = load i32, ptr @SQLITE_OK, align 4 %36 = icmp ne i32 %34, %35 br i1 %36, label %37, label %47 37: ; preds = %29 %38 = load i32, ptr @LOG_INFO, align 4 %39 = load i32, ptr @LOG_LOCAL6, align 4 %40 = or i32 %38, %39 %41 = getelementptr inbounds [513 x i8], ptr %7, i64 0, i64 0 %42 = load ptr, ptr %8, align 8 %43 = call i32 @sqlite3_errmsg(ptr noundef %42) %44 = call i32 @syslog(i32 noundef %40, ptr noundef @.str.3, ptr noundef %41, i32 noundef %43) %45 = load ptr, ptr %12, align 8 %46 = call i32 @free(ptr noundef %45) store i64 1, ptr %3, align 8 br label %74 47: ; preds = %29 %48 = load ptr, ptr %12, align 8 %49 = call i32 (ptr, i32, ptr, ptr, ...) @snprintf(ptr noundef %48, i32 noundef 512, ptr noundef @.str.4, ptr noundef @.str.5) %50 = load ptr, ptr %8, align 8 %51 = load ptr, ptr %12, align 8 %52 = load ptr, ptr %12, align 8 %53 = call i32 @strlen(ptr noundef %52) %54 = call i32 @sqlite3_prepare_v2(ptr noundef %50, ptr noundef %51, i32 noundef %53, ptr noundef %9, ptr noundef null) %55 = load ptr, ptr %9, align 8 %56 = load i64, ptr %4, align 8 %57 = call i32 @sqlite3_bind_int(ptr noundef %55, i32 noundef 1, i64 noundef %56) br label %58 58: ; preds = %63, %47 %59 = load ptr, ptr %9, align 8 %60 = call i32 @sqlite3_step(ptr noundef %59) store i32 %60, ptr %10, align 4 %61 = load i32, ptr @SQLITE_ROW, align 4 %62 = icmp eq i32 %60, %61 br i1 %62, label %63, label %66 63: ; preds = %58 %64 = load ptr, ptr %9, align 8 %65 = call i64 @sqlite3_column_int(ptr noundef %64, i32 noundef 0) store i64 %65, ptr %11, align 8 br label %58, !llvm.loop !6 66: ; preds = %58 %67 = load ptr, ptr %9, align 8 %68 = call i32 @sqlite3_finalize(ptr noundef %67) %69 = load ptr, ptr %8, align 8 %70 = call i32 @sqlite3_close(ptr noundef %69) %71 = load ptr, ptr %12, align 8 %72 = call i32 @free(ptr noundef %71) %73 = load i64, ptr %11, align 8 store i64 %73, ptr %3, align 8 br label %74 74: ; preds = %66, %37, %23 %75 = load i64, ptr %3, align 8 ret i64 %75 } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ...) #1 declare ptr @getcwd(ptr noundef, i32 noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @sqlite3_open(ptr noundef, ptr noundef) #1 declare i32 @syslog(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @sqlite3_errmsg(ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @sqlite3_prepare_v2(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @sqlite3_bind_int(ptr noundef, i32 noundef, i64 noundef) #1 declare i32 @sqlite3_step(ptr noundef) #1 declare i64 @sqlite3_column_int(ptr noundef, i32 noundef) #1 declare i32 @sqlite3_finalize(ptr noundef) #1 declare i32 @sqlite3_close(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpysyb7_n2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [5 x i8] c"%s%s\00", align 1 @.str.2 = private unnamed_addr constant [30 x i8] c"/db/gargoyle_attack_detect.db\00", align 1 @SQLITE_OK = dso_local global i32 0, align 4 @LOG_INFO = dso_local global i32 0, align 4 @LOG_LOCAL6 = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [93 x i8] c"ERROR opening SQLite DB '%s' from function [sqlite_get_detected_hosts_row_ix_by_host_ix]: %s\00", align 1 @.str.4 = private unnamed_addr constant [37 x i8] c"SELECT ix FROM %s WHERE host_ix = ?1\00", align 1 @.str.5 = private unnamed_addr constant [15 x i8] c"detected_hosts\00", align 1 @SQLITE_ROW = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @sqlite_get_detected_hosts_row_ix_by_host_ix(i64 noundef %0, ptr noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca [256 x i8], align 16 %7 = alloca [513 x i8], align 16 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i64, align 8 %12 = alloca ptr, align 8 store i64 %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %13 = load ptr, ptr %5, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %15, label %19 15: ; preds = %2 %16 = getelementptr inbounds [513 x i8], ptr %7, i64 0, i64 0 %17 = load ptr, ptr %5, align 8 %18 = call i32 (ptr, i32, ptr, ptr, ...) @snprintf(ptr noundef %16, i32 noundef 512, ptr noundef @.str, ptr noundef %17) br label %29 19: ; preds = %2 %20 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %21 = call ptr @getcwd(ptr noundef %20, i32 noundef 256) %22 = icmp eq ptr %21, null br i1 %22, label %23, label %24 23: ; preds = %19 store i64 1, ptr %3, align 8 br label %77 24: ; preds = %19 %25 = getelementptr inbounds [513 x i8], ptr %7, i64 0, i64 0 %26 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %27 = call i32 (ptr, i32, ptr, ptr, ...) @snprintf(ptr noundef %25, i32 noundef 512, ptr noundef @.str.1, ptr noundef %26, ptr noundef @.str.2) br label %28 28: ; preds = %24 br label %29 29: ; preds = %28, %15 store i64 0, ptr %11, align 8 %30 = call i64 @malloc(i32 noundef 512) %31 = inttoptr i64 %30 to ptr store ptr %31, ptr %12, align 8 %32 = getelementptr inbounds [513 x i8], ptr %7, i64 0, i64 0 %33 = call i32 @sqlite3_open(ptr noundef %32, ptr noundef %8) store i32 %33, ptr %10, align 4 %34 = load i32, ptr %10, align 4 %35 = load i32, ptr @SQLITE_OK, align 4 %36 = icmp ne i32 %34, %35 br i1 %36, label %37, label %47 37: ; preds = %29 %38 = load i32, ptr @LOG_INFO, align 4 %39 = load i32, ptr @LOG_LOCAL6, align 4 %40 = or i32 %38, %39 %41 = getelementptr inbounds [513 x i8], ptr %7, i64 0, i64 0 %42 = load ptr, ptr %8, align 8 %43 = call i32 @sqlite3_errmsg(ptr noundef %42) %44 = call i32 @syslog(i32 noundef %40, ptr noundef @.str.3, ptr noundef %41, i32 noundef %43) %45 = load ptr, ptr %12, align 8 %46 = call i32 @free(ptr noundef %45) store i64 1, ptr %3, align 8 br label %77 47: ; preds = %29 %48 = load ptr, ptr %12, align 8 %49 = call i32 (ptr, i32, ptr, ptr, ...) @snprintf(ptr noundef %48, i32 noundef 512, ptr noundef @.str.4, ptr noundef @.str.5) %50 = load ptr, ptr %8, align 8 %51 = load ptr, ptr %12, align 8 %52 = load ptr, ptr %12, align 8 %53 = call i32 @strlen(ptr noundef %52) %54 = call i32 @sqlite3_prepare_v2(ptr noundef %50, ptr noundef %51, i32 noundef %53, ptr noundef %9, ptr noundef null) %55 = load ptr, ptr %9, align 8 %56 = load i64, ptr %4, align 8 %57 = call i32 @sqlite3_bind_int(ptr noundef %55, i32 noundef 1, i64 noundef %56) %58 = load ptr, ptr %9, align 8 %59 = call i32 @sqlite3_step(ptr noundef %58) store i32 %59, ptr %10, align 4 %60 = load i32, ptr @SQLITE_ROW, align 4 %61 = icmp eq i32 %59, %60 br i1 %61, label %.lr.ph, label %69 .lr.ph: ; preds = %47 br label %62 62: ; preds = %.lr.ph, %62 %63 = load ptr, ptr %9, align 8 %64 = call i64 @sqlite3_column_int(ptr noundef %63, i32 noundef 0) store i64 %64, ptr %11, align 8 %65 = load ptr, ptr %9, align 8 %66 = call i32 @sqlite3_step(ptr noundef %65) store i32 %66, ptr %10, align 4 %67 = load i32, ptr @SQLITE_ROW, align 4 %68 = icmp eq i32 %66, %67 br i1 %68, label %62, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %62 br label %69 69: ; preds = %._crit_edge, %47 %70 = load ptr, ptr %9, align 8 %71 = call i32 @sqlite3_finalize(ptr noundef %70) %72 = load ptr, ptr %8, align 8 %73 = call i32 @sqlite3_close(ptr noundef %72) %74 = load ptr, ptr %12, align 8 %75 = call i32 @free(ptr noundef %74) %76 = load i64, ptr %11, align 8 store i64 %76, ptr %3, align 8 br label %77 77: ; preds = %69, %37, %23 %78 = load i64, ptr %3, align 8 ret i64 %78 } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ...) #1 declare ptr @getcwd(ptr noundef, i32 noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @sqlite3_open(ptr noundef, ptr noundef) #1 declare i32 @syslog(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @sqlite3_errmsg(ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @sqlite3_prepare_v2(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @sqlite3_bind_int(ptr noundef, i32 noundef, i64 noundef) #1 declare i32 @sqlite3_step(ptr noundef) #1 declare i64 @sqlite3_column_int(ptr noundef, i32 noundef) #1 declare i32 @sqlite3_finalize(ptr noundef) #1 declare i32 @sqlite3_close(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpkhb_9dvq.c' source_filename = "/tmp/tmpkhb_9dvq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @yahoo_f01_21(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 = load i32, ptr %3, align 4 %7 = mul nsw i32 %6, 605509915 %8 = add nsw i32 %7, 6011 store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %4, align 4 %11 = call i32 @yahoo_M1Common(i32 noundef %9, i32 noundef %10) ret i32 %11 } declare i32 @yahoo_M1Common(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/tmpkhb_9dvq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @yahoo_f01_21(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 = load i32, ptr %3, align 4 %7 = mul nsw i32 %6, 605509915 %8 = add nsw i32 %7, 6011 store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %4, align 4 %11 = call i32 @yahoo_M1Common(i32 noundef %9, i32 noundef %10) ret i32 %11 } declare i32 @yahoo_M1Common(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/tmp93jyr149.c' source_filename = "/tmp/tmp93jyr149.c" target datalayout = "e-m:e-p270: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/tmp93jyr149.c" target datalayout = "e-m:e-p270: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/tmpmh1yqg5y.c' source_filename = "/tmp/tmpmh1yqg5y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"sched_getaffinity\00", align 1 @.str.1 = private unnamed_addr constant [35 x i8] c"Now, let's trying to unset CPU #1\0A\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"sched_setaffinity\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = call i32 @CPU_ZERO(ptr noundef %6) %10 = call i32 @sched_getaffinity(i32 noundef 0, i32 noundef 4, ptr noundef %6) store i32 %10, ptr %7, align 4 %11 = load i32, ptr %7, align 4 %12 = icmp eq i32 %11, -1 br i1 %12, label %13, label %15 13: ; preds = %2 %14 = call i32 @perror(ptr noundef @.str) br label %15 15: ; preds = %13, %2 %16 = call i32 @print_status(ptr noundef %6) %17 = call i32 @printf(ptr noundef @.str.1) %18 = call i32 @CPU_CLR(i32 noundef 1, ptr noundef %6) %19 = call i32 @sched_setaffinity(i32 noundef 0, i32 noundef 4, ptr noundef %6) store i32 %19, ptr %7, align 4 %20 = load i32, ptr %7, align 4 %21 = icmp eq i32 %20, -1 br i1 %21, label %22, label %24 22: ; preds = %15 %23 = call i32 @perror(ptr noundef @.str.2) br label %24 24: ; preds = %22, %15 %25 = call i32 @print_status(ptr noundef %6) ret i32 0 } declare i32 @CPU_ZERO(ptr noundef) #1 declare i32 @sched_getaffinity(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @print_status(ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @CPU_CLR(i32 noundef, ptr noundef) #1 declare i32 @sched_setaffinity(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmh1yqg5y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"sched_getaffinity\00", align 1 @.str.1 = private unnamed_addr constant [35 x i8] c"Now, let's trying to unset CPU #1\0A\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"sched_setaffinity\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = call i32 @CPU_ZERO(ptr noundef %6) %10 = call i32 @sched_getaffinity(i32 noundef 0, i32 noundef 4, ptr noundef %6) store i32 %10, ptr %7, align 4 %11 = load i32, ptr %7, align 4 %12 = icmp eq i32 %11, -1 br i1 %12, label %13, label %15 13: ; preds = %2 %14 = call i32 @perror(ptr noundef @.str) br label %15 15: ; preds = %13, %2 %16 = call i32 @print_status(ptr noundef %6) %17 = call i32 @printf(ptr noundef @.str.1) %18 = call i32 @CPU_CLR(i32 noundef 1, ptr noundef %6) %19 = call i32 @sched_setaffinity(i32 noundef 0, i32 noundef 4, ptr noundef %6) store i32 %19, ptr %7, align 4 %20 = load i32, ptr %7, align 4 %21 = icmp eq i32 %20, -1 br i1 %21, label %22, label %24 22: ; preds = %15 %23 = call i32 @perror(ptr noundef @.str.2) br label %24 24: ; preds = %22, %15 %25 = call i32 @print_status(ptr noundef %6) ret i32 0 } declare i32 @CPU_ZERO(ptr noundef) #1 declare i32 @sched_getaffinity(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @print_status(ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @CPU_CLR(i32 noundef, ptr noundef) #1 declare i32 @sched_setaffinity(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpaf57j4k5.c' source_filename = "/tmp/tmpaf57j4k5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/bin/df\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %5, align 8 %7 = getelementptr inbounds ptr, ptr %6, i64 0 store ptr @.str, ptr %7, align 8 %8 = load i32, ptr %4, align 4 %9 = load ptr, ptr %5, align 8 %10 = call i32 @spawn(i32 noundef %8, ptr noundef %9) ret i32 %10 } declare i32 @spawn(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/tmpaf57j4k5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/bin/df\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %5, align 8 %7 = getelementptr inbounds ptr, ptr %6, i64 0 store ptr @.str, ptr %7, align 8 %8 = load i32, ptr %4, align 4 %9 = load ptr, ptr %5, align 8 %10 = call i32 @spawn(i32 noundef %8, ptr noundef %9) ret i32 %10 } declare i32 @spawn(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/tmp6_be0u5c.c' source_filename = "/tmp/tmp6_be0u5c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hash(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 store i32 %4, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = ashr i32 %5, 16 %7 = load i32, ptr %3, align 4 %8 = xor i32 %6, %7 %9 = mul nsw i32 %8, 73244475 store i32 %9, ptr %3, align 4 %10 = load i32, ptr %3, align 4 %11 = ashr i32 %10, 16 %12 = load i32, ptr %3, align 4 %13 = xor i32 %11, %12 %14 = mul nsw i32 %13, 73244475 store i32 %14, ptr %3, align 4 %15 = load i32, ptr %3, align 4 %16 = ashr i32 %15, 16 %17 = load i32, ptr %3, align 4 %18 = xor i32 %16, %17 store i32 %18, ptr %3, align 4 %19 = load i32, ptr %3, align 4 ret i32 %19 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6_be0u5c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hash(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 store i32 %4, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = ashr i32 %5, 16 %7 = load i32, ptr %3, align 4 %8 = xor i32 %6, %7 %9 = mul nsw i32 %8, 73244475 store i32 %9, ptr %3, align 4 %10 = load i32, ptr %3, align 4 %11 = ashr i32 %10, 16 %12 = load i32, ptr %3, align 4 %13 = xor i32 %11, %12 %14 = mul nsw i32 %13, 73244475 store i32 %14, ptr %3, align 4 %15 = load i32, ptr %3, align 4 %16 = ashr i32 %15, 16 %17 = load i32, ptr %3, align 4 %18 = xor i32 %16, %17 store i32 %18, ptr %3, align 4 %19 = load i32, ptr %3, align 4 ret i32 %19 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpos5d_tvg.c' source_filename = "/tmp/tmpos5d_tvg.c" target datalayout = "e-m:e-p270: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/tmpos5d_tvg.c" target datalayout = "e-m:e-p270: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/tmpqobdonct.c' source_filename = "/tmp/tmpqobdonct.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @median(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 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %6, align 4 %10 = add nsw i32 %8, %9 %11 = sdiv i32 %10, 2 store i32 %11, ptr %7, align 4 %12 = load ptr, ptr %4, align 8 %13 = load i32, ptr %5, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i32, ptr %12, i64 %14 %16 = load i32, ptr %15, align 4 %17 = load ptr, ptr %4, align 8 %18 = load i32, ptr %6, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i32, ptr %17, i64 %19 %21 = load i32, ptr %20, align 4 %22 = icmp sgt i32 %16, %21 br i1 %22, label %23, label %33 23: ; preds = %3 %24 = load ptr, ptr %4, align 8 %25 = load i32, ptr %5, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i32, ptr %24, i64 %26 %28 = load ptr, ptr %4, align 8 %29 = load i32, ptr %6, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i32, ptr %28, i64 %30 %32 = call i32 @swap(ptr noundef %27, ptr noundef %31) br label %33 33: ; preds = %23, %3 %34 = load ptr, ptr %4, align 8 %35 = load i32, ptr %5, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i32, ptr %34, i64 %36 %38 = load i32, ptr %37, align 4 %39 = load ptr, ptr %4, align 8 %40 = load i32, ptr %7, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i32, ptr %39, i64 %41 %43 = load i32, ptr %42, align 4 %44 = icmp sgt i32 %38, %43 br i1 %44, label %45, label %55 45: ; preds = %33 %46 = load ptr, ptr %4, align 8 %47 = load i32, ptr %5, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i32, ptr %46, i64 %48 %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 = call i32 @swap(ptr noundef %49, ptr noundef %53) br label %55 55: ; preds = %45, %33 %56 = load ptr, ptr %4, align 8 %57 = load i32, ptr %7, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds i32, ptr %56, i64 %58 %60 = load i32, ptr %59, align 4 %61 = load ptr, ptr %4, align 8 %62 = load i32, ptr %6, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i32, ptr %61, i64 %63 %65 = load i32, ptr %64, align 4 %66 = icmp sgt i32 %60, %65 br i1 %66, label %67, label %77 67: ; preds = %55 %68 = load ptr, ptr %4, align 8 %69 = load i32, ptr %7, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds i32, ptr %68, i64 %70 %72 = load ptr, ptr %4, align 8 %73 = load i32, ptr %6, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds i32, ptr %72, i64 %74 %76 = call i32 @swap(ptr noundef %71, ptr noundef %75) br label %77 77: ; preds = %67, %55 %78 = load ptr, ptr %4, align 8 %79 = load i32, ptr %7, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds i32, ptr %78, i64 %80 %82 = load ptr, ptr %4, align 8 %83 = load i32, ptr %6, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds i32, ptr %82, i64 %84 %86 = call i32 @swap(ptr noundef %81, ptr noundef %85) %87 = load ptr, ptr %4, align 8 %88 = load i32, ptr %6, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds i32, ptr %87, i64 %89 %91 = load i32, ptr %90, align 4 ret i32 %91 } declare i32 @swap(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/tmpqobdonct.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @median(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 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %6, align 4 %10 = add nsw i32 %8, %9 %11 = sdiv i32 %10, 2 store i32 %11, ptr %7, align 4 %12 = load ptr, ptr %4, align 8 %13 = load i32, ptr %5, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i32, ptr %12, i64 %14 %16 = load i32, ptr %15, align 4 %17 = load ptr, ptr %4, align 8 %18 = load i32, ptr %6, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i32, ptr %17, i64 %19 %21 = load i32, ptr %20, align 4 %22 = icmp sgt i32 %16, %21 br i1 %22, label %23, label %33 23: ; preds = %3 %24 = load ptr, ptr %4, align 8 %25 = load i32, ptr %5, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i32, ptr %24, i64 %26 %28 = load ptr, ptr %4, align 8 %29 = load i32, ptr %6, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i32, ptr %28, i64 %30 %32 = call i32 @swap(ptr noundef %27, ptr noundef %31) br label %33 33: ; preds = %23, %3 %34 = load ptr, ptr %4, align 8 %35 = load i32, ptr %5, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds i32, ptr %34, i64 %36 %38 = load i32, ptr %37, align 4 %39 = load ptr, ptr %4, align 8 %40 = load i32, ptr %7, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i32, ptr %39, i64 %41 %43 = load i32, ptr %42, align 4 %44 = icmp sgt i32 %38, %43 br i1 %44, label %45, label %55 45: ; preds = %33 %46 = load ptr, ptr %4, align 8 %47 = load i32, ptr %5, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i32, ptr %46, i64 %48 %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 = call i32 @swap(ptr noundef %49, ptr noundef %53) br label %55 55: ; preds = %45, %33 %56 = load ptr, ptr %4, align 8 %57 = load i32, ptr %7, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds i32, ptr %56, i64 %58 %60 = load i32, ptr %59, align 4 %61 = load ptr, ptr %4, align 8 %62 = load i32, ptr %6, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i32, ptr %61, i64 %63 %65 = load i32, ptr %64, align 4 %66 = icmp sgt i32 %60, %65 br i1 %66, label %67, label %77 67: ; preds = %55 %68 = load ptr, ptr %4, align 8 %69 = load i32, ptr %7, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds i32, ptr %68, i64 %70 %72 = load ptr, ptr %4, align 8 %73 = load i32, ptr %6, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds i32, ptr %72, i64 %74 %76 = call i32 @swap(ptr noundef %71, ptr noundef %75) br label %77 77: ; preds = %67, %55 %78 = load ptr, ptr %4, align 8 %79 = load i32, ptr %7, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds i32, ptr %78, i64 %80 %82 = load ptr, ptr %4, align 8 %83 = load i32, ptr %6, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds i32, ptr %82, i64 %84 %86 = call i32 @swap(ptr noundef %81, ptr noundef %85) %87 = load ptr, ptr %4, align 8 %88 = load i32, ptr %6, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds i32, ptr %87, i64 %89 %91 = load i32, ptr %90, align 4 ret i32 %91 } declare i32 @swap(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/tmpqz9zjrpk.c' source_filename = "/tmp/tmpqz9zjrpk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [427 x i8] c"HTTP/1.0 401 Unauthorized\0AConnection: close\0D\0AContent-Type: text/html\0D\0AServer: NetEye Safed\0D\0AWWW-Authenticate: Basic realm=\22NetEye Safed\22\0D\0A\0D\0A<HTML><HEAD>\0D\0A<TITLE>401 Authorization Required</TITLE>\0D\0A</HEAD><BODY>\0D\0A<CENTER><H2>Authorization Required</H2></CENTER>\0D\0A<CENTER>NetEye Safed could not verify that You are authorized to access the remote control facility. You may have supplied the wrong credentials</CENTER><P>\0D\0A<HR>\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @requestAuth(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i32 @strncpy(ptr noundef %5, ptr noundef @.str, i32 noundef %6) ret void } declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqz9zjrpk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [427 x i8] c"HTTP/1.0 401 Unauthorized\0AConnection: close\0D\0AContent-Type: text/html\0D\0AServer: NetEye Safed\0D\0AWWW-Authenticate: Basic realm=\22NetEye Safed\22\0D\0A\0D\0A<HTML><HEAD>\0D\0A<TITLE>401 Authorization Required</TITLE>\0D\0A</HEAD><BODY>\0D\0A<CENTER><H2>Authorization Required</H2></CENTER>\0D\0A<CENTER>NetEye Safed could not verify that You are authorized to access the remote control facility. You may have supplied the wrong credentials</CENTER><P>\0D\0A<HR>\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @requestAuth(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i32 @strncpy(ptr noundef %5, ptr noundef @.str, i32 noundef %6) ret void } declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplwytnqmb.c' source_filename = "/tmp/tmplwytnqmb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [49 x i8] c"You have selected MCU firmware version search.\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [42 x i8] c"Looks like encoded FW image, decoding...\0A\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"Error while decoding!\00", align 1 @.str.3 = private unnamed_addr constant [28 x i8] c"Looks like raw FW image...\0A\00", align 1 @.str.4 = private unnamed_addr constant [42 x i8] c"Input file does not looks like FW image!\0A\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.6 = private unnamed_addr constant [24 x i8] c"Can't get version info!\00", align 1 @.str.7 = private unnamed_addr constant [16 x i8] c"Version info:\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @do_getver(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [64 x i8], align 16 store ptr %0, ptr %2, align 8 store ptr null, ptr %3, align 8 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 %7 = call i32 @printf(ptr noundef @.str) %8 = load ptr, ptr %2, align 8 %9 = call i32 @load_to_buffer(ptr noundef %8, ptr noundef %3, ptr noundef %4) %10 = icmp ne i32 %9, 0 br i1 %10, label %12, label %11 11: ; preds = %1 store i32 2, ptr %5, align 4 br label %42 12: ; preds = %1 %13 = load ptr, ptr %3, align 8 %14 = load i32, ptr %4, align 4 %15 = call i32 @check_fw(ptr noundef %13, i32 noundef %14) switch i32 %15, label %26 [ i32 2, label %16 i32 1, label %23 i32 0, label %25 ] 16: ; preds = %12 %17 = call i32 @printf(ptr noundef @.str.1) %18 = call i32 @decode_buffer(ptr noundef %3, ptr noundef %4) %19 = icmp ne i32 %18, 0 br i1 %19, label %22, label %20 20: ; preds = %16 %21 = call i32 @printf(ptr noundef @.str.2) store i32 2, ptr %5, align 4 br label %42 22: ; preds = %16 br label %28 23: ; preds = %12 %24 = call i32 @printf(ptr noundef @.str.3) br label %28 25: ; preds = %12 br label %26 26: ; preds = %12, %25 %27 = call i32 @printf(ptr noundef @.str.4) store i32 2, ptr %5, align 4 br label %42 28: ; preds = %23, %22 %29 = call i32 @printf(ptr noundef @.str.5) %30 = load ptr, ptr %3, align 8 %31 = load i32, ptr %4, align 4 %32 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 0 %33 = call i32 @heuristic_getver(ptr noundef %30, i32 noundef %31, ptr noundef %32, i32 noundef 64) %34 = icmp ne i32 %33, 0 br i1 %34, label %37, label %35 35: ; preds = %28 %36 = call i32 @printf(ptr noundef @.str.6) br label %42 37: ; preds = %28 %38 = call i32 @printf(ptr noundef @.str.7) %39 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 0 %40 = call i32 @printf(ptr noundef %39) %41 = call i32 @printf(ptr noundef @.str.5) store i32 1, ptr %5, align 4 br label %42 42: ; preds = %37, %35, %26, %20, %11 %43 = load ptr, ptr %3, align 8 %44 = icmp ne ptr %43, null br i1 %44, label %45, label %48 45: ; preds = %42 %46 = load ptr, ptr %3, align 8 %47 = call i32 @free(ptr noundef %46) br label %48 48: ; preds = %45, %42 %49 = load i32, ptr %5, align 4 ret i32 %49 } declare i32 @printf(ptr noundef) #1 declare i32 @load_to_buffer(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @check_fw(ptr noundef, i32 noundef) #1 declare i32 @decode_buffer(ptr noundef, ptr noundef) #1 declare i32 @heuristic_getver(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplwytnqmb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [49 x i8] c"You have selected MCU firmware version search.\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [42 x i8] c"Looks like encoded FW image, decoding...\0A\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"Error while decoding!\00", align 1 @.str.3 = private unnamed_addr constant [28 x i8] c"Looks like raw FW image...\0A\00", align 1 @.str.4 = private unnamed_addr constant [42 x i8] c"Input file does not looks like FW image!\0A\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.6 = private unnamed_addr constant [24 x i8] c"Can't get version info!\00", align 1 @.str.7 = private unnamed_addr constant [16 x i8] c"Version info:\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @do_getver(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [64 x i8], align 16 store ptr %0, ptr %2, align 8 store ptr null, ptr %3, align 8 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 %7 = call i32 @printf(ptr noundef @.str) %8 = load ptr, ptr %2, align 8 %9 = call i32 @load_to_buffer(ptr noundef %8, ptr noundef %3, ptr noundef %4) %10 = icmp ne i32 %9, 0 br i1 %10, label %12, label %11 11: ; preds = %1 store i32 2, ptr %5, align 4 br label %42 12: ; preds = %1 %13 = load ptr, ptr %3, align 8 %14 = load i32, ptr %4, align 4 %15 = call i32 @check_fw(ptr noundef %13, i32 noundef %14) switch i32 %15, label %26 [ i32 2, label %16 i32 1, label %23 i32 0, label %25 ] 16: ; preds = %12 %17 = call i32 @printf(ptr noundef @.str.1) %18 = call i32 @decode_buffer(ptr noundef %3, ptr noundef %4) %19 = icmp ne i32 %18, 0 br i1 %19, label %22, label %20 20: ; preds = %16 %21 = call i32 @printf(ptr noundef @.str.2) store i32 2, ptr %5, align 4 br label %42 22: ; preds = %16 br label %28 23: ; preds = %12 %24 = call i32 @printf(ptr noundef @.str.3) br label %28 25: ; preds = %12 br label %26 26: ; preds = %25, %12 %27 = call i32 @printf(ptr noundef @.str.4) store i32 2, ptr %5, align 4 br label %42 28: ; preds = %23, %22 %29 = call i32 @printf(ptr noundef @.str.5) %30 = load ptr, ptr %3, align 8 %31 = load i32, ptr %4, align 4 %32 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 0 %33 = call i32 @heuristic_getver(ptr noundef %30, i32 noundef %31, ptr noundef %32, i32 noundef 64) %34 = icmp ne i32 %33, 0 br i1 %34, label %37, label %35 35: ; preds = %28 %36 = call i32 @printf(ptr noundef @.str.6) br label %42 37: ; preds = %28 %38 = call i32 @printf(ptr noundef @.str.7) %39 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 0 %40 = call i32 @printf(ptr noundef %39) %41 = call i32 @printf(ptr noundef @.str.5) store i32 1, ptr %5, align 4 br label %42 42: ; preds = %37, %35, %26, %20, %11 %43 = load ptr, ptr %3, align 8 %44 = icmp ne ptr %43, null br i1 %44, label %45, label %48 45: ; preds = %42 %46 = load ptr, ptr %3, align 8 %47 = call i32 @free(ptr noundef %46) br label %48 48: ; preds = %45, %42 %49 = load i32, ptr %5, align 4 ret i32 %49 } declare i32 @printf(ptr noundef) #1 declare i32 @load_to_buffer(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @check_fw(ptr noundef, i32 noundef) #1 declare i32 @decode_buffer(ptr noundef, ptr noundef) #1 declare i32 @heuristic_getver(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmthsdy40.c' source_filename = "/tmp/tmpmthsdy40.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @monodromy_permutation(i32 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 i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca [2 x i32], align 4 %12 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %13 = load i32, ptr %3, align 4 %14 = zext i32 %13 to i64 %15 = call ptr @llvm.stacksave() store ptr %15, ptr %9, align 8 %16 = alloca i32, i64 %14, align 16 store i64 %14, ptr %10, align 8 %17 = load ptr, ptr %5, align 8 %18 = load ptr, ptr %12, align 8 %19 = call i32 @_ada_use_c2phc(i32 noundef 52, ptr noundef %17, ptr noundef %16, ptr noundef %18) store i32 %19, ptr %7, align 4 %20 = load i32, ptr %3, align 4 %21 = getelementptr inbounds [2 x i32], ptr %11, i64 0, i64 0 store i32 %20, ptr %21, align 4 %22 = getelementptr inbounds [2 x i32], ptr %11, i64 0, i64 1 store i32 0, ptr %22, align 4 %23 = getelementptr inbounds [2 x i32], ptr %11, i64 0, i64 0 %24 = load ptr, ptr %12, align 8 %25 = call i32 @_ada_use_c2phc(i32 noundef 53, ptr noundef %23, ptr noundef %16, ptr noundef %24) store i32 %25, ptr %7, align 4 %26 = load ptr, ptr %4, align 8 %27 = load ptr, ptr %6, align 8 %28 = load ptr, ptr %12, align 8 %29 = call i32 @_ada_use_c2phc(i32 noundef 55, ptr noundef %26, ptr noundef %27, ptr noundef %28) store i32 %29, ptr %7, align 4 %30 = load i32, ptr %7, align 4 %31 = load ptr, ptr %9, align 8 call void @llvm.stackrestore(ptr %31) ret i32 %30 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr 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/tmpmthsdy40.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @monodromy_permutation(i32 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 i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca [2 x i32], align 4 %12 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %13 = load i32, ptr %3, align 4 %14 = zext i32 %13 to i64 %15 = call ptr @llvm.stacksave() store ptr %15, ptr %9, align 8 %16 = alloca i32, i64 %14, align 16 store i64 %14, ptr %10, align 8 %17 = load ptr, ptr %5, align 8 %18 = load ptr, ptr %12, align 8 %19 = call i32 @_ada_use_c2phc(i32 noundef 52, ptr noundef %17, ptr noundef %16, ptr noundef %18) store i32 %19, ptr %7, align 4 %20 = load i32, ptr %3, align 4 %21 = getelementptr inbounds [2 x i32], ptr %11, i64 0, i64 0 store i32 %20, ptr %21, align 4 %22 = getelementptr inbounds [2 x i32], ptr %11, i64 0, i64 1 store i32 0, ptr %22, align 4 %23 = getelementptr inbounds [2 x i32], ptr %11, i64 0, i64 0 %24 = load ptr, ptr %12, align 8 %25 = call i32 @_ada_use_c2phc(i32 noundef 53, ptr noundef %23, ptr noundef %16, ptr noundef %24) store i32 %25, ptr %7, align 4 %26 = load ptr, ptr %4, align 8 %27 = load ptr, ptr %6, align 8 %28 = load ptr, ptr %12, align 8 %29 = call i32 @_ada_use_c2phc(i32 noundef 55, ptr noundef %26, ptr noundef %27, ptr noundef %28) store i32 %29, ptr %7, align 4 %30 = load i32, ptr %7, align 4 %31 = load ptr, ptr %9, align 8 call void @llvm.stackrestore(ptr %31) ret i32 %30 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr 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/tmpn_6t_816.c' source_filename = "/tmp/tmpn_6t_816.c" target datalayout = "e-m:e-p270: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.statvfs = type { i64 } @.str = private unnamed_addr constant [8 x i8] c"statvfs\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @get_block_size(ptr noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 %4 = alloca %struct.statvfs, align 8 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i64 @statvfs(ptr noundef %5, ptr noundef %4) %7 = icmp slt i64 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %1 %9 = call i32 @perror(ptr noundef @.str) store i64 -1, ptr %2, align 8 br label %13 10: ; preds = %1 %11 = getelementptr inbounds %struct.statvfs, ptr %4, i32 0, i32 0 %12 = load i64, ptr %11, align 8 store i64 %12, ptr %2, align 8 br label %13 13: ; preds = %10, %8 %14 = load i64, ptr %2, align 8 ret i64 %14 } declare i64 @statvfs(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn_6t_816.c" target datalayout = "e-m:e-p270: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.statvfs = type { i64 } @.str = private unnamed_addr constant [8 x i8] c"statvfs\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @get_block_size(ptr noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 %4 = alloca %struct.statvfs, align 8 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i64 @statvfs(ptr noundef %5, ptr noundef %4) %7 = icmp slt i64 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %1 %9 = call i32 @perror(ptr noundef @.str) store i64 -1, ptr %2, align 8 br label %13 10: ; preds = %1 %11 = getelementptr inbounds %struct.statvfs, ptr %4, i32 0, i32 0 %12 = load i64, ptr %11, align 8 store i64 %12, ptr %2, align 8 br label %13 13: ; preds = %10, %8 %14 = load i64, ptr %2, align 8 ret i64 %14 } declare i64 @statvfs(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprrsjaxvs.c' source_filename = "/tmp/tmprrsjaxvs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nth_position(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = ashr i32 %5, %6 %8 = and i32 %7, 1 ret i32 %8 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprrsjaxvs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nth_position(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = ashr i32 %5, %6 %8 = and i32 %7, 1 ret i32 %8 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdkkm1h0p.c' source_filename = "/tmp/tmpdkkm1h0p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @umath_double_cos.arr = internal global [4 x double] [double 1.000000e+00, double 0.000000e+00, double -1.000000e+00, double 0.000000e+00], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @umath_double_cos(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca double, align 8 store double %0, ptr %2, align 8 %7 = load double, ptr %2, align 8 %8 = call i32 @umath_double_normalize_quadrant(double noundef %7) store i32 %8, ptr %3, align 4 store i32 0, ptr %4, align 4 store double 0.000000e+00, ptr %6, align 8 %9 = load i32, ptr %3, align 4 switch i32 %9, label %20 [ i32 2, label %10 i32 3, label %13 i32 4, label %17 ] 10: ; preds = %1 %11 = load double, ptr %2, align 8 %12 = fsub double 0x400921FB53C8D4F1, %11 store double %12, ptr %2, align 8 store i32 1, ptr %4, align 4 br label %20 13: ; preds = %1 %14 = load double, ptr %2, align 8 %15 = fsub double 0x401921FB53C8D4F1, %14 %16 = fsub double 0x400921FB53C8D4F1, %15 store double %16, ptr %2, align 8 store i32 1, ptr %4, align 4 br label %20 17: ; preds = %1 %18 = load double, ptr %2, align 8 %19 = fsub double 0x401921FB53C8D4F1, %18 store double %19, ptr %2, align 8 store i32 1, ptr %4, align 4 br label %20 20: ; preds = %1, %17, %13, %10 store i32 10, ptr %5, align 4 br label %21 21: ; preds = %24, %20 %22 = load i32, ptr %5, align 4 %23 = icmp ne i32 %22, 0 br i1 %23, label %24, label %42 24: ; preds = %21 %25 = load i32, ptr %5, align 4 %26 = and i32 %25, 3 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [4 x double], ptr @umath_double_cos.arr, i64 0, i64 %27 %29 = load double, ptr %28, align 8 %30 = load double, ptr %2, align 8 %31 = load i32, ptr %5, align 4 %32 = call double @umath_double_pow(double noundef %30, i32 noundef %31) %33 = fmul double %29, %32 %34 = load i32, ptr %5, align 4 %35 = call i64 @umath_double_factorial(i32 noundef %34) %36 = sitofp i64 %35 to double %37 = fdiv double %33, %36 %38 = load double, ptr %6, align 8 %39 = fadd double %38, %37 store double %39, ptr %6, align 8 %40 = load i32, ptr %5, align 4 %41 = add nsw i32 %40, -1 store i32 %41, ptr %5, align 4 br label %21, !llvm.loop !6 42: ; preds = %21 %43 = load double, ptr %6, align 8 %44 = fadd double %43, 1.000000e+00 store double %44, ptr %6, align 8 %45 = load i32, ptr %4, align 4 %46 = icmp eq i32 %45, 1 br i1 %46, label %47, label %50 47: ; preds = %42 %48 = load double, ptr %6, align 8 %49 = fneg double %48 store double %49, ptr %6, align 8 br label %50 50: ; preds = %47, %42 %51 = load double, ptr %6, align 8 ret double %51 } declare i32 @umath_double_normalize_quadrant(double noundef) #1 declare double @umath_double_pow(double noundef, i32 noundef) #1 declare i64 @umath_double_factorial(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/tmpdkkm1h0p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @umath_double_cos.arr = internal global [4 x double] [double 1.000000e+00, double 0.000000e+00, double -1.000000e+00, double 0.000000e+00], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @umath_double_cos(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca double, align 8 store double %0, ptr %2, align 8 %7 = load double, ptr %2, align 8 %8 = call i32 @umath_double_normalize_quadrant(double noundef %7) store i32 %8, ptr %3, align 4 store i32 0, ptr %4, align 4 store double 0.000000e+00, ptr %6, align 8 %9 = load i32, ptr %3, align 4 switch i32 %9, label %20 [ i32 2, label %10 i32 3, label %13 i32 4, label %17 ] 10: ; preds = %1 %11 = load double, ptr %2, align 8 %12 = fsub double 0x400921FB53C8D4F1, %11 store double %12, ptr %2, align 8 store i32 1, ptr %4, align 4 br label %20 13: ; preds = %1 %14 = load double, ptr %2, align 8 %15 = fsub double 0x401921FB53C8D4F1, %14 %16 = fsub double 0x400921FB53C8D4F1, %15 store double %16, ptr %2, align 8 store i32 1, ptr %4, align 4 br label %20 17: ; preds = %1 %18 = load double, ptr %2, align 8 %19 = fsub double 0x401921FB53C8D4F1, %18 store double %19, ptr %2, align 8 store i32 1, ptr %4, align 4 br label %20 20: ; preds = %17, %13, %10, %1 store i32 10, ptr %5, align 4 %21 = load i32, ptr %5, align 4 %22 = icmp ne i32 %21, 0 br i1 %22, label %.lr.ph, label %43 .lr.ph: ; preds = %20 br label %23 23: ; preds = %.lr.ph, %23 %24 = load i32, ptr %5, align 4 %25 = and i32 %24, 3 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds [4 x double], ptr @umath_double_cos.arr, i64 0, i64 %26 %28 = load double, ptr %27, align 8 %29 = load double, ptr %2, align 8 %30 = load i32, ptr %5, align 4 %31 = call double @umath_double_pow(double noundef %29, i32 noundef %30) %32 = fmul double %28, %31 %33 = load i32, ptr %5, align 4 %34 = call i64 @umath_double_factorial(i32 noundef %33) %35 = sitofp i64 %34 to double %36 = fdiv double %32, %35 %37 = load double, ptr %6, align 8 %38 = fadd double %37, %36 store double %38, ptr %6, align 8 %39 = load i32, ptr %5, align 4 %40 = add nsw i32 %39, -1 store i32 %40, ptr %5, align 4 %41 = load i32, ptr %5, align 4 %42 = icmp ne i32 %41, 0 br i1 %42, label %23, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %43 43: ; preds = %._crit_edge, %20 %44 = load double, ptr %6, align 8 %45 = fadd double %44, 1.000000e+00 store double %45, ptr %6, align 8 %46 = load i32, ptr %4, align 4 %47 = icmp eq i32 %46, 1 br i1 %47, label %48, label %51 48: ; preds = %43 %49 = load double, ptr %6, align 8 %50 = fneg double %49 store double %50, ptr %6, align 8 br label %51 51: ; preds = %48, %43 %52 = load double, ptr %6, align 8 ret double %52 } declare i32 @umath_double_normalize_quadrant(double noundef) #1 declare double @umath_double_pow(double noundef, i32 noundef) #1 declare i64 @umath_double_factorial(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"}