llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpbu7x10hz.c' source_filename = "/tmp/tmpbu7x10hz.c" target datalayout = "e-m:e-p270: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/tmpbu7x10hz.c" target datalayout = "e-m:e-p270: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/tmp8e_8vkqc.c' source_filename = "/tmp/tmp8e_8vkqc.c" target datalayout = "e-m:e-p270: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/tmp8e_8vkqc.c" target datalayout = "e-m:e-p270: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/tmphh_sxj29.c' source_filename = "/tmp/tmphh_sxj29.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bdtrc(i32 noundef %0, i32 noundef %1, double noundef %2) #0 { %4 = alloca double, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store double %2, ptr %7, align 8 %10 = load double, ptr %7, align 8 %11 = fcmp olt double %10, 0.000000e+00 br i1 %11, label %15, label %12 12: ; preds = %3 %13 = load double, ptr %7, align 8 %14 = fcmp ogt double %13, 1.000000e+00 br i1 %14, label %15, label %16 15: ; preds = %12, %3 br label %25 16: ; preds = %12 %17 = load i32, ptr %5, align 4 %18 = icmp slt i32 %17, 0 br i1 %18, label %19, label %20 19: ; preds = %16 store double 1.000000e+00, ptr %4, align 8 br label %67 20: ; preds = %16 %21 = load i32, ptr %6, align 4 %22 = load i32, ptr %5, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %24, label %26 24: ; preds = %20 br label %25 25: ; preds = %24, %15 store double 0.000000e+00, ptr %4, align 8 br label %67 26: ; preds = %20 %27 = load i32, ptr %5, align 4 %28 = load i32, ptr %6, align 4 %29 = icmp eq i32 %27, %28 br i1 %29, label %30, label %31 30: ; preds = %26 store double 0.000000e+00, ptr %4, align 8 br label %67 31: ; preds = %26 %32 = load i32, ptr %6, align 4 %33 = load i32, ptr %5, align 4 %34 = sub nsw i32 %32, %33 %35 = sitofp i32 %34 to double store double %35, ptr %9, align 8 %36 = load i32, ptr %5, align 4 %37 = icmp eq i32 %36, 0 br i1 %37, label %38, label %56 38: ; preds = %31 %39 = load double, ptr %7, align 8 %40 = fcmp olt double %39, 1.000000e-02 br i1 %40, label %41, label %49 41: ; preds = %38 %42 = load double, ptr %9, align 8 %43 = load double, ptr %7, align 8 %44 = fneg double %43 %45 = call double @log1p(double noundef %44) #3 %46 = fmul double %42, %45 %47 = call double @expm1(double noundef %46) #3 %48 = fneg double %47 store double %48, ptr %8, align 8 br label %55 49: ; preds = %38 %50 = load double, ptr %7, align 8 %51 = fsub double 1.000000e+00, %50 %52 = load double, ptr %9, align 8 %53 = call double @pow(double noundef %51, double noundef %52) #3 %54 = fsub double 1.000000e+00, %53 store double %54, ptr %8, align 8 br label %55 55: ; preds = %49, %41 br label %64 56: ; preds = %31 %57 = load i32, ptr %5, align 4 %58 = add nsw i32 %57, 1 %59 = sitofp i32 %58 to double store double %59, ptr %8, align 8 %60 = load double, ptr %8, align 8 %61 = load double, ptr %9, align 8 %62 = load double, ptr %7, align 8 %63 = call double @betai(double noundef %60, double noundef %61, double noundef %62) store double %63, ptr %8, align 8 br label %64 64: ; preds = %56, %55 %65 = load double, ptr %8, align 8 %66 = call double @log(double noundef %65) #3 store double %66, ptr %4, align 8 br label %67 67: ; preds = %64, %30, %25, %19 %68 = load double, ptr %4, align 8 ret double %68 } ; Function Attrs: nounwind declare double @expm1(double noundef) #1 ; Function Attrs: nounwind declare double @log1p(double noundef) #1 ; Function Attrs: nounwind declare double @pow(double noundef, double noundef) #1 declare double @betai(double noundef, double noundef, double noundef) #2 ; Function Attrs: nounwind declare double @log(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphh_sxj29.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bdtrc(i32 noundef %0, i32 noundef %1, double noundef %2) #0 { %4 = alloca double, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store double %2, ptr %7, align 8 %10 = load double, ptr %7, align 8 %11 = fcmp olt double %10, 0.000000e+00 br i1 %11, label %15, label %12 12: ; preds = %3 %13 = load double, ptr %7, align 8 %14 = fcmp ogt double %13, 1.000000e+00 br i1 %14, label %15, label %16 15: ; preds = %12, %3 br label %25 16: ; preds = %12 %17 = load i32, ptr %5, align 4 %18 = icmp slt i32 %17, 0 br i1 %18, label %19, label %20 19: ; preds = %16 store double 1.000000e+00, ptr %4, align 8 br label %67 20: ; preds = %16 %21 = load i32, ptr %6, align 4 %22 = load i32, ptr %5, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %24, label %26 24: ; preds = %20 br label %25 25: ; preds = %24, %15 store double 0.000000e+00, ptr %4, align 8 br label %67 26: ; preds = %20 %27 = load i32, ptr %5, align 4 %28 = load i32, ptr %6, align 4 %29 = icmp eq i32 %27, %28 br i1 %29, label %30, label %31 30: ; preds = %26 store double 0.000000e+00, ptr %4, align 8 br label %67 31: ; preds = %26 %32 = load i32, ptr %6, align 4 %33 = load i32, ptr %5, align 4 %34 = sub nsw i32 %32, %33 %35 = sitofp i32 %34 to double store double %35, ptr %9, align 8 %36 = load i32, ptr %5, align 4 %37 = icmp eq i32 %36, 0 br i1 %37, label %38, label %56 38: ; preds = %31 %39 = load double, ptr %7, align 8 %40 = fcmp olt double %39, 1.000000e-02 br i1 %40, label %41, label %49 41: ; preds = %38 %42 = load double, ptr %9, align 8 %43 = load double, ptr %7, align 8 %44 = fneg double %43 %45 = call double @log1p(double noundef %44) #3 %46 = fmul double %42, %45 %47 = call double @expm1(double noundef %46) #3 %48 = fneg double %47 store double %48, ptr %8, align 8 br label %55 49: ; preds = %38 %50 = load double, ptr %7, align 8 %51 = fsub double 1.000000e+00, %50 %52 = load double, ptr %9, align 8 %53 = call double @pow(double noundef %51, double noundef %52) #3 %54 = fsub double 1.000000e+00, %53 store double %54, ptr %8, align 8 br label %55 55: ; preds = %49, %41 br label %64 56: ; preds = %31 %57 = load i32, ptr %5, align 4 %58 = add nsw i32 %57, 1 %59 = sitofp i32 %58 to double store double %59, ptr %8, align 8 %60 = load double, ptr %8, align 8 %61 = load double, ptr %9, align 8 %62 = load double, ptr %7, align 8 %63 = call double @betai(double noundef %60, double noundef %61, double noundef %62) store double %63, ptr %8, align 8 br label %64 64: ; preds = %56, %55 %65 = load double, ptr %8, align 8 %66 = call double @log(double noundef %65) #3 store double %66, ptr %4, align 8 br label %67 67: ; preds = %64, %30, %25, %19 %68 = load double, ptr %4, align 8 ret double %68 } ; Function Attrs: nounwind declare double @expm1(double noundef) #1 ; Function Attrs: nounwind declare double @log1p(double noundef) #1 ; Function Attrs: nounwind declare double @pow(double noundef, double noundef) #1 declare double @betai(double noundef, double noundef, double noundef) #2 ; Function Attrs: nounwind declare double @log(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpp65hd33q.c' source_filename = "/tmp/tmpp65hd33q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tests() #0 { %1 = call i32 @checkChoose(i32 noundef 6, i32 noundef 4) %2 = icmp eq i32 %1, 2 %3 = zext i1 %2 to i32 %4 = call i32 @assert(i32 noundef %3) %5 = call i32 @checkChoose(i32 noundef 4, i32 noundef 4) %6 = icmp eq i32 %5, 1 %7 = zext i1 %6 to i32 %8 = call i32 @assert(i32 noundef %7) %9 = call i32 @checkChoose(i32 noundef 4, i32 noundef 2) %10 = icmp eq i32 %9, -1 %11 = zext i1 %10 to i32 %12 = call i32 @assert(i32 noundef %11) %13 = call i32 @checkChoose(i32 noundef 35, i32 noundef 7) %14 = icmp eq i32 %13, 3 %15 = zext i1 %14 to i32 %16 = call i32 @assert(i32 noundef %15) %17 = call i32 @checkChoose(i32 noundef 155117520, i32 noundef 30) %18 = icmp eq i32 %17, 15 %19 = zext i1 %18 to i32 %20 = call i32 @assert(i32 noundef %19) ret void } declare i32 @assert(i32 noundef) #1 declare i32 @checkChoose(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/tmpp65hd33q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tests() #0 { %1 = call i32 @checkChoose(i32 noundef 6, i32 noundef 4) %2 = icmp eq i32 %1, 2 %3 = zext i1 %2 to i32 %4 = call i32 @assert(i32 noundef %3) %5 = call i32 @checkChoose(i32 noundef 4, i32 noundef 4) %6 = icmp eq i32 %5, 1 %7 = zext i1 %6 to i32 %8 = call i32 @assert(i32 noundef %7) %9 = call i32 @checkChoose(i32 noundef 4, i32 noundef 2) %10 = icmp eq i32 %9, -1 %11 = zext i1 %10 to i32 %12 = call i32 @assert(i32 noundef %11) %13 = call i32 @checkChoose(i32 noundef 35, i32 noundef 7) %14 = icmp eq i32 %13, 3 %15 = zext i1 %14 to i32 %16 = call i32 @assert(i32 noundef %15) %17 = call i32 @checkChoose(i32 noundef 155117520, i32 noundef 30) %18 = icmp eq i32 %17, 15 %19 = zext i1 %18 to i32 %20 = call i32 @assert(i32 noundef %19) ret void } declare i32 @assert(i32 noundef) #1 declare i32 @checkChoose(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/tmp0ei0dvhu.c' source_filename = "/tmp/tmp0ei0dvhu.c" target datalayout = "e-m:e-p270: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.pci_device = type { i32, i32, i32, i32 } %struct.dirent = type { i32 } @PATH_MAX = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [44 x i8] c"/sys/bus/pci/devices/%04x:%02x:%02x.%1u/uio\00", align 1 @.str.1 = private unnamed_addr constant [40 x i8] c"/sys/bus/pci/devices/%04x:%02x:%02x.%1u\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"uio\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pci_device_has_uio_driver(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %9 = load i32, ptr @PATH_MAX, align 4 %10 = zext i32 %9 to i64 %11 = call ptr @llvm.stacksave() store ptr %11, ptr %6, align 8 %12 = alloca i8, i64 %10, align 16 store i64 %10, ptr %7, align 8 %13 = trunc i64 %10 to i32 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds %struct.pci_device, ptr %14, i32 0, i32 0 %16 = load i32, ptr %15, align 4 %17 = load ptr, ptr %3, align 8 %18 = getelementptr inbounds %struct.pci_device, ptr %17, i32 0, i32 1 %19 = load i32, ptr %18, align 4 %20 = load ptr, ptr %3, align 8 %21 = getelementptr inbounds %struct.pci_device, ptr %20, i32 0, i32 2 %22 = load i32, ptr %21, align 4 %23 = load ptr, ptr %3, align 8 %24 = getelementptr inbounds %struct.pci_device, ptr %23, i32 0, i32 3 %25 = load i32, ptr %24, align 4 %26 = call i32 @snprintf(ptr noundef %12, i32 noundef %13, ptr noundef @.str, i32 noundef %16, i32 noundef %19, i32 noundef %22, i32 noundef %25) %27 = call ptr @opendir(ptr noundef %12) store ptr %27, ptr %5, align 8 %28 = load ptr, ptr %5, align 8 %29 = icmp ne ptr %28, null br i1 %29, label %50, label %30 30: ; preds = %1 %31 = trunc i64 %10 to i32 %32 = load ptr, ptr %3, align 8 %33 = getelementptr inbounds %struct.pci_device, ptr %32, i32 0, i32 0 %34 = load i32, ptr %33, align 4 %35 = load ptr, ptr %3, align 8 %36 = getelementptr inbounds %struct.pci_device, ptr %35, i32 0, i32 1 %37 = load i32, ptr %36, align 4 %38 = load ptr, ptr %3, align 8 %39 = getelementptr inbounds %struct.pci_device, ptr %38, i32 0, i32 2 %40 = load i32, ptr %39, align 4 %41 = load ptr, ptr %3, align 8 %42 = getelementptr inbounds %struct.pci_device, ptr %41, i32 0, i32 3 %43 = load i32, ptr %42, align 4 %44 = call i32 @snprintf(ptr noundef %12, i32 noundef %31, ptr noundef @.str.1, i32 noundef %34, i32 noundef %37, i32 noundef %40, i32 noundef %43) %45 = call ptr @opendir(ptr noundef %12) store ptr %45, ptr %5, align 8 %46 = load ptr, ptr %5, align 8 %47 = icmp ne ptr %46, null br i1 %47, label %49, label %48 48: ; preds = %30 store i32 0, ptr %2, align 4 store i32 1, ptr %8, align 4 br label %70 49: ; preds = %30 br label %50 50: ; preds = %49, %1 br label %51 51: ; preds = %62, %50 %52 = load ptr, ptr %5, align 8 %53 = call ptr @readdir(ptr noundef %52) store ptr %53, ptr %4, align 8 %54 = icmp ne ptr %53, null br i1 %54, label %55, label %63 55: ; preds = %51 %56 = load ptr, ptr %4, align 8 %57 = getelementptr inbounds %struct.dirent, ptr %56, i32 0, i32 0 %58 = load i32, ptr %57, align 4 %59 = call i64 @strncmp(i32 noundef %58, ptr noundef @.str.2, i32 noundef 3) %60 = icmp eq i64 %59, 0 br i1 %60, label %61, label %62 61: ; preds = %55 br label %63 62: ; preds = %55 br label %51, !llvm.loop !6 63: ; preds = %61, %51 %64 = load ptr, ptr %5, align 8 %65 = call i32 @closedir(ptr noundef %64) %66 = load ptr, ptr %4, align 8 %67 = icmp ne ptr %66, null br i1 %67, label %69, label %68 68: ; preds = %63 store i32 0, ptr %2, align 4 store i32 1, ptr %8, align 4 br label %70 69: ; preds = %63 store i32 1, ptr %2, align 4 store i32 1, ptr %8, align 4 br label %70 70: ; preds = %69, %68, %48 %71 = load ptr, ptr %6, align 8 call void @llvm.stackrestore(ptr %71) %72 = load i32, ptr %2, align 4 ret i32 %72 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #2 declare ptr @opendir(ptr noundef) #2 declare ptr @readdir(ptr noundef) #2 declare i64 @strncmp(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @closedir(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0ei0dvhu.c" target datalayout = "e-m:e-p270: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.pci_device = type { i32, i32, i32, i32 } %struct.dirent = type { i32 } @PATH_MAX = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [44 x i8] c"/sys/bus/pci/devices/%04x:%02x:%02x.%1u/uio\00", align 1 @.str.1 = private unnamed_addr constant [40 x i8] c"/sys/bus/pci/devices/%04x:%02x:%02x.%1u\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"uio\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pci_device_has_uio_driver(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %9 = load i32, ptr @PATH_MAX, align 4 %10 = zext i32 %9 to i64 %11 = call ptr @llvm.stacksave() store ptr %11, ptr %6, align 8 %12 = alloca i8, i64 %10, align 16 store i64 %10, ptr %7, align 8 %13 = trunc i64 %10 to i32 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds %struct.pci_device, ptr %14, i32 0, i32 0 %16 = load i32, ptr %15, align 4 %17 = load ptr, ptr %3, align 8 %18 = getelementptr inbounds %struct.pci_device, ptr %17, i32 0, i32 1 %19 = load i32, ptr %18, align 4 %20 = load ptr, ptr %3, align 8 %21 = getelementptr inbounds %struct.pci_device, ptr %20, i32 0, i32 2 %22 = load i32, ptr %21, align 4 %23 = load ptr, ptr %3, align 8 %24 = getelementptr inbounds %struct.pci_device, ptr %23, i32 0, i32 3 %25 = load i32, ptr %24, align 4 %26 = call i32 @snprintf(ptr noundef %12, i32 noundef %13, ptr noundef @.str, i32 noundef %16, i32 noundef %19, i32 noundef %22, i32 noundef %25) %27 = call ptr @opendir(ptr noundef %12) store ptr %27, ptr %5, align 8 %28 = load ptr, ptr %5, align 8 %29 = icmp ne ptr %28, null br i1 %29, label %50, label %30 30: ; preds = %1 %31 = trunc i64 %10 to i32 %32 = load ptr, ptr %3, align 8 %33 = getelementptr inbounds %struct.pci_device, ptr %32, i32 0, i32 0 %34 = load i32, ptr %33, align 4 %35 = load ptr, ptr %3, align 8 %36 = getelementptr inbounds %struct.pci_device, ptr %35, i32 0, i32 1 %37 = load i32, ptr %36, align 4 %38 = load ptr, ptr %3, align 8 %39 = getelementptr inbounds %struct.pci_device, ptr %38, i32 0, i32 2 %40 = load i32, ptr %39, align 4 %41 = load ptr, ptr %3, align 8 %42 = getelementptr inbounds %struct.pci_device, ptr %41, i32 0, i32 3 %43 = load i32, ptr %42, align 4 %44 = call i32 @snprintf(ptr noundef %12, i32 noundef %31, ptr noundef @.str.1, i32 noundef %34, i32 noundef %37, i32 noundef %40, i32 noundef %43) %45 = call ptr @opendir(ptr noundef %12) store ptr %45, ptr %5, align 8 %46 = load ptr, ptr %5, align 8 %47 = icmp ne ptr %46, null br i1 %47, label %49, label %48 48: ; preds = %30 store i32 0, ptr %2, align 4 store i32 1, ptr %8, align 4 br label %72 49: ; preds = %30 br label %50 50: ; preds = %49, %1 %51 = load ptr, ptr %5, align 8 %52 = call ptr @readdir(ptr noundef %51) store ptr %52, ptr %4, align 8 %53 = icmp ne ptr %52, null br i1 %53, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %50 br label %58 54: ; preds = %58 %55 = load ptr, ptr %5, align 8 %56 = call ptr @readdir(ptr noundef %55) store ptr %56, ptr %4, align 8 %57 = icmp ne ptr %56, null br i1 %57, label %58, label %..loopexit_crit_edge, !llvm.loop !6 58: ; preds = %.lr.ph, %54 %59 = load ptr, ptr %4, align 8 %60 = getelementptr inbounds %struct.dirent, ptr %59, i32 0, i32 0 %61 = load i32, ptr %60, align 4 %62 = call i64 @strncmp(i32 noundef %61, ptr noundef @.str.2, i32 noundef 3) %63 = icmp eq i64 %62, 0 br i1 %63, label %64, label %54 64: ; preds = %58 br label %65 ..loopexit_crit_edge: ; preds = %54 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %50 br label %65 65: ; preds = %.loopexit, %64 %66 = load ptr, ptr %5, align 8 %67 = call i32 @closedir(ptr noundef %66) %68 = load ptr, ptr %4, align 8 %69 = icmp ne ptr %68, null br i1 %69, label %71, label %70 70: ; preds = %65 store i32 0, ptr %2, align 4 store i32 1, ptr %8, align 4 br label %72 71: ; preds = %65 store i32 1, ptr %2, align 4 store i32 1, ptr %8, align 4 br label %72 72: ; preds = %71, %70, %48 %73 = load ptr, ptr %6, align 8 call void @llvm.stackrestore(ptr %73) %74 = load i32, ptr %2, align 4 ret i32 %74 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #2 declare ptr @opendir(ptr noundef) #2 declare ptr @readdir(ptr noundef) #2 declare i64 @strncmp(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @closedir(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpo8a76s3c.c' source_filename = "/tmp/tmpo8a76s3c.c" target datalayout = "e-m:e-p270: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/tmpo8a76s3c.c" target datalayout = "e-m:e-p270: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/tmprrih0k1u.c' source_filename = "/tmp/tmprrih0k1u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [6 x i8] c"%d %d\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"Yes\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"No\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 ptr, align 8 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 %8 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) store i32 0, ptr %3, align 4 br label %9 9: ; preds = %45, %0 %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %2, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %13, label %48 13: ; preds = %9 %14 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4, ptr noundef %5) %15 = load i32, ptr %4, align 4 %16 = sext i32 %15 to i64 %17 = mul i64 4, %16 %18 = trunc i64 %17 to i32 %19 = call i64 @malloc(i32 noundef %18) %20 = inttoptr i64 %19 to ptr store ptr %20, ptr %6, align 8 store i32 0, ptr %7, align 4 br label %21 21: ; preds = %31, %13 %22 = load i32, ptr %7, align 4 %23 = load i32, ptr %4, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %25, label %34 25: ; preds = %21 %26 = load ptr, ptr %6, align 8 %27 = load i32, ptr %7, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i32, ptr %26, i64 %28 %30 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %29) br label %31 31: ; preds = %25 %32 = load i32, ptr %7, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %7, align 4 br label %21, !llvm.loop !6 34: ; preds = %21 %35 = load ptr, ptr %6, align 8 %36 = load i32, ptr %4, align 4 %37 = load i32, ptr %5, align 4 %38 = call i64 @solve(ptr noundef %35, i32 noundef %36, i32 noundef 0, i32 noundef 0, i32 noundef %37) %39 = icmp ne i64 %38, 0 %40 = zext i1 %39 to i64 %41 = select i1 %39, ptr @.str.3, ptr @.str.4 %42 = call i32 @printf(ptr noundef @.str.2, ptr noundef %41) %43 = load ptr, ptr %6, align 8 %44 = call i32 @free(ptr noundef %43) br label %45 45: ; preds = %34 %46 = load i32, ptr %3, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %3, align 4 br label %9, !llvm.loop !8 48: ; preds = %9 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i64 @solve(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprrih0k1u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [6 x i8] c"%d %d\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"Yes\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"No\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 ptr, align 8 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 %8 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) store i32 0, ptr %3, align 4 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %2, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %.lr.ph2, label %52 .lr.ph2: ; preds = %0 br label %12 12: ; preds = %.lr.ph2, %46 %13 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4, ptr noundef %5) %14 = load i32, ptr %4, align 4 %15 = sext i32 %14 to i64 %16 = mul i64 4, %15 %17 = trunc i64 %16 to i32 %18 = call i64 @malloc(i32 noundef %17) %19 = inttoptr i64 %18 to ptr store ptr %19, ptr %6, align 8 store i32 0, ptr %7, align 4 %20 = load i32, ptr %7, align 4 %21 = load i32, ptr %4, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %.lr.ph, label %35 .lr.ph: ; preds = %12 br label %23 23: ; preds = %.lr.ph, %29 %24 = load ptr, ptr %6, align 8 %25 = load i32, ptr %7, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i32, ptr %24, i64 %26 %28 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %27) br label %29 29: ; preds = %23 %30 = load i32, ptr %7, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %7, align 4 %32 = load i32, ptr %7, align 4 %33 = load i32, ptr %4, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %23, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %35 35: ; preds = %._crit_edge, %12 %36 = load ptr, ptr %6, align 8 %37 = load i32, ptr %4, align 4 %38 = load i32, ptr %5, align 4 %39 = call i64 @solve(ptr noundef %36, i32 noundef %37, i32 noundef 0, i32 noundef 0, i32 noundef %38) %40 = icmp ne i64 %39, 0 %41 = zext i1 %40 to i64 %42 = select i1 %40, ptr @.str.3, ptr @.str.4 %43 = call i32 @printf(ptr noundef @.str.2, ptr noundef %42) %44 = load ptr, ptr %6, align 8 %45 = call i32 @free(ptr noundef %44) br label %46 46: ; preds = %35 %47 = load i32, ptr %3, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %3, align 4 %49 = load i32, ptr %3, align 4 %50 = load i32, ptr %2, align 4 %51 = icmp slt i32 %49, %50 br i1 %51, label %12, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %46 br label %52 52: ; preds = %._crit_edge3, %0 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i64 @solve(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmptktp33_s.c' source_filename = "/tmp/tmptktp33_s.c" target datalayout = "e-m:e-p270: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/tmptktp33_s.c" target datalayout = "e-m:e-p270: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/tmpbb5az6rg.c' source_filename = "/tmp/tmpbb5az6rg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DDA(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca float, align 4 %13 = alloca float, align 4 %14 = alloca float, align 4 %15 = alloca float, align 4 %16 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %17 = load i32, ptr %7, align 4 %18 = load i32, ptr %5, align 4 %19 = sub nsw i32 %17, %18 store i32 %19, ptr %9, align 4 %20 = load i32, ptr %8, align 4 %21 = load i32, ptr %6, align 4 %22 = sub nsw i32 %20, %21 store i32 %22, ptr %10, align 4 %23 = load i32, ptr %9, align 4 %24 = call i32 @abs(i32 noundef %23) #3 %25 = load i32, ptr %10, align 4 %26 = call i32 @abs(i32 noundef %25) #3 %27 = icmp sgt i32 %24, %26 br i1 %27, label %28, label %31 28: ; preds = %4 %29 = load i32, ptr %9, align 4 %30 = call i32 @abs(i32 noundef %29) #3 br label %34 31: ; preds = %4 %32 = load i32, ptr %10, align 4 %33 = call i32 @abs(i32 noundef %32) #3 br label %34 34: ; preds = %31, %28 %35 = phi i32 [ %30, %28 ], [ %33, %31 ] store i32 %35, ptr %11, align 4 %36 = load i32, ptr %9, align 4 %37 = sitofp i32 %36 to float %38 = load i32, ptr %11, align 4 %39 = sitofp i32 %38 to float %40 = fdiv float %37, %39 store float %40, ptr %12, align 4 %41 = load i32, ptr %10, align 4 %42 = sitofp i32 %41 to float %43 = load i32, ptr %11, align 4 %44 = sitofp i32 %43 to float %45 = fdiv float %42, %44 store float %45, ptr %13, align 4 %46 = load i32, ptr %5, align 4 %47 = sitofp i32 %46 to float store float %47, ptr %14, align 4 %48 = load i32, ptr %6, align 4 %49 = sitofp i32 %48 to float store float %49, ptr %15, align 4 store i32 0, ptr %16, align 4 br label %50 50: ; preds = %64, %34 %51 = load i32, ptr %16, align 4 %52 = load i32, ptr %11, align 4 %53 = icmp sle i32 %51, %52 br i1 %53, label %54, label %67 54: ; preds = %50 %55 = load float, ptr %14, align 4 %56 = load float, ptr %15, align 4 %57 = call i32 @putpixel(float noundef %55, float noundef %56) %58 = load float, ptr %12, align 4 %59 = load float, ptr %14, align 4 %60 = fadd float %59, %58 store float %60, ptr %14, align 4 %61 = load float, ptr %13, align 4 %62 = load float, ptr %15, align 4 %63 = fadd float %62, %61 store float %63, ptr %15, align 4 br label %64 64: ; preds = %54 %65 = load i32, ptr %16, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %16, align 4 br label %50, !llvm.loop !6 67: ; preds = %50 ret void } ; Function Attrs: nounwind willreturn memory(none) declare i32 @abs(i32 noundef) #1 declare i32 @putpixel(float noundef, float 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 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbb5az6rg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DDA(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca float, align 4 %13 = alloca float, align 4 %14 = alloca float, align 4 %15 = alloca float, align 4 %16 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %17 = load i32, ptr %7, align 4 %18 = load i32, ptr %5, align 4 %19 = sub nsw i32 %17, %18 store i32 %19, ptr %9, align 4 %20 = load i32, ptr %8, align 4 %21 = load i32, ptr %6, align 4 %22 = sub nsw i32 %20, %21 store i32 %22, ptr %10, align 4 %23 = load i32, ptr %9, align 4 %24 = call i32 @abs(i32 noundef %23) #3 %25 = load i32, ptr %10, align 4 %26 = call i32 @abs(i32 noundef %25) #3 %27 = icmp sgt i32 %24, %26 br i1 %27, label %28, label %31 28: ; preds = %4 %29 = load i32, ptr %9, align 4 %30 = call i32 @abs(i32 noundef %29) #3 br label %34 31: ; preds = %4 %32 = load i32, ptr %10, align 4 %33 = call i32 @abs(i32 noundef %32) #3 br label %34 34: ; preds = %31, %28 %35 = phi i32 [ %30, %28 ], [ %33, %31 ] store i32 %35, ptr %11, align 4 %36 = load i32, ptr %9, align 4 %37 = sitofp i32 %36 to float %38 = load i32, ptr %11, align 4 %39 = sitofp i32 %38 to float %40 = fdiv float %37, %39 store float %40, ptr %12, align 4 %41 = load i32, ptr %10, align 4 %42 = sitofp i32 %41 to float %43 = load i32, ptr %11, align 4 %44 = sitofp i32 %43 to float %45 = fdiv float %42, %44 store float %45, ptr %13, align 4 %46 = load i32, ptr %5, align 4 %47 = sitofp i32 %46 to float store float %47, ptr %14, align 4 %48 = load i32, ptr %6, align 4 %49 = sitofp i32 %48 to float store float %49, ptr %15, align 4 store i32 0, ptr %16, align 4 %50 = load i32, ptr %16, align 4 %51 = load i32, ptr %11, align 4 %52 = icmp sle i32 %50, %51 br i1 %52, label %.lr.ph, label %69 .lr.ph: ; preds = %34 br label %53 53: ; preds = %.lr.ph, %63 %54 = load float, ptr %14, align 4 %55 = load float, ptr %15, align 4 %56 = call i32 @putpixel(float noundef %54, float noundef %55) %57 = load float, ptr %12, align 4 %58 = load float, ptr %14, align 4 %59 = fadd float %58, %57 store float %59, ptr %14, align 4 %60 = load float, ptr %13, align 4 %61 = load float, ptr %15, align 4 %62 = fadd float %61, %60 store float %62, ptr %15, align 4 br label %63 63: ; preds = %53 %64 = load i32, ptr %16, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %16, align 4 %66 = load i32, ptr %16, align 4 %67 = load i32, ptr %11, align 4 %68 = icmp sle i32 %66, %67 br i1 %68, label %53, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %63 br label %69 69: ; preds = %._crit_edge, %34 ret void } ; Function Attrs: nounwind willreturn memory(none) declare i32 @abs(i32 noundef) #1 declare i32 @putpixel(float noundef, float 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 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpgihufz_j.c' source_filename = "/tmp/tmpgihufz_j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"vb_aspx\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"<%\0A 'comment\0A%>\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"html\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"<%\0A%>\00", align 1 @.str.4 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.5 = private unnamed_addr constant [12 x i8] c"visualbasic\00", align 1 @.str.6 = private unnamed_addr constant [10 x i8] c"'comment\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_vb_aspx_comment() #0 { %1 = call i32 @test_parser_sourcefile(ptr noundef @.str, ptr noundef @.str.1) %2 = call i32 @test_parser_verify_parse2(i32 noundef %1, ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef @.str.4, i32 noundef 0, ptr noundef @.str.5, ptr noundef @.str.4, ptr noundef @.str.6, i32 noundef 0) ret void } declare i32 @test_parser_verify_parse2(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @test_parser_sourcefile(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/tmpgihufz_j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"vb_aspx\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"<%\0A 'comment\0A%>\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"html\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"<%\0A%>\00", align 1 @.str.4 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.5 = private unnamed_addr constant [12 x i8] c"visualbasic\00", align 1 @.str.6 = private unnamed_addr constant [10 x i8] c"'comment\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_vb_aspx_comment() #0 { %1 = call i32 @test_parser_sourcefile(ptr noundef @.str, ptr noundef @.str.1) %2 = call i32 @test_parser_verify_parse2(i32 noundef %1, ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef @.str.4, i32 noundef 0, ptr noundef @.str.5, ptr noundef @.str.4, ptr noundef @.str.6, i32 noundef 0) ret void } declare i32 @test_parser_verify_parse2(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @test_parser_sourcefile(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/tmp1q5z5qhq.c' source_filename = "/tmp/tmp1q5z5qhq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [37 x i8] c"twobody_XM_lub : malloc error for f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @twobody_XM_lub(i32 noundef %0, double noundef %1, double noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca double, align 8 %23 = alloca double, align 8 %24 = alloca double, align 8 %25 = alloca double, align 8 %26 = alloca double, align 8 %27 = alloca double, align 8 %28 = alloca double, align 8 %29 = alloca double, align 8 %30 = alloca double, align 8 %31 = alloca double, align 8 %32 = alloca i32, align 4 store i32 %0, ptr %6, align 4 store double %1, ptr %7, align 8 store double %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %33 = load i32, ptr %6, align 4 %34 = srem i32 %33, 2 %35 = icmp ne i32 %34, 0 br i1 %35, label %36, label %39 36: ; preds = %5 %37 = load i32, ptr %6, align 4 %38 = add nsw i32 %37, -1 store i32 %38, ptr %6, align 4 br label %39 39: ; preds = %36, %5 %40 = load i32, ptr %6, align 4 %41 = add nsw i32 %40, 1 %42 = sext i32 %41 to i64 %43 = mul i64 8, %42 %44 = trunc i64 %43 to i32 %45 = call i64 @malloc(i32 noundef %44) %46 = inttoptr i64 %45 to ptr store ptr %46, ptr %11, align 8 %47 = load ptr, ptr %11, align 8 %48 = icmp eq ptr %47, null br i1 %48, label %49, label %53 49: ; preds = %39 %50 = load i32, ptr @stderr, align 4 %51 = call i32 @fprintf(i32 noundef %50, ptr noundef @.str) %52 = call i32 @exit(i32 noundef 1) #5 unreachable 53: ; preds = %39 %54 = load i32, ptr %6, align 4 %55 = load double, ptr %7, align 8 %56 = load ptr, ptr %11, align 8 %57 = call i32 @twobody_XM(i32 noundef %54, double noundef %55, ptr noundef %56) %58 = load ptr, ptr %9, align 8 store double 0.000000e+00, ptr %58, align 8 %59 = load ptr, ptr %10, align 8 store double 0.000000e+00, ptr %59, align 8 %60 = load double, ptr %7, align 8 %61 = fadd double 1.000000e+00, %60 store double %61, ptr %12, align 8 %62 = load double, ptr %12, align 8 %63 = load double, ptr %12, align 8 %64 = fmul double %62, %63 %65 = load double, ptr %12, align 8 %66 = fmul double %64, %65 store double %66, ptr %13, align 8 %67 = load double, ptr %7, align 8 %68 = fmul double 1.200000e+00, %67 %69 = load double, ptr %7, align 8 %70 = fmul double %68, %69 %71 = load double, ptr %13, align 8 %72 = fdiv double %70, %71 store double %72, ptr %14, align 8 %73 = load double, ptr %7, align 8 %74 = fmul double 1.200000e-01, %73 %75 = load double, ptr %7, align 8 %76 = load double, ptr %7, align 8 %77 = call double @llvm.fmuladd.f64(double -9.000000e+00, double %76, double 1.700000e+01) %78 = call double @llvm.fmuladd.f64(double %75, double %77, double 1.000000e+00) %79 = fmul double %74, %78 %80 = load double, ptr %13, align 8 %81 = fdiv double %79, %80 store double %81, ptr %15, align 8 %82 = load double, ptr %7, align 8 %83 = load double, ptr %7, align 8 %84 = load double, ptr %7, align 8 %85 = load double, ptr %7, align 8 %86 = call double @llvm.fmuladd.f64(double -4.150000e+02, double %85, double 1.322000e+03) %87 = call double @llvm.fmuladd.f64(double %84, double %86, double -8.310000e+02) %88 = call double @llvm.fmuladd.f64(double %83, double %87, double 2.720000e+02) %89 = call double @llvm.fmuladd.f64(double %82, double %88, double 5.000000e+00) %90 = fdiv double %89, 3.500000e+02 %91 = load double, ptr %13, align 8 %92 = fdiv double %90, %91 store double %92, ptr %16, align 8 %93 = load double, ptr %14, align 8 %94 = load double, ptr %7, align 8 %95 = fmul double %93, %94 store double %95, ptr %17, align 8 %96 = load double, ptr %7, align 8 %97 = fmul double 1.200000e-01, %96 %98 = load double, ptr %7, align 8 %99 = fmul double %97, %98 %100 = load double, ptr %7, align 8 %101 = load double, ptr %7, align 8 %102 = call double @llvm.fmuladd.f64(double -4.000000e+00, double %101, double 1.700000e+01) %103 = call double @llvm.fmuladd.f64(double %100, double %102, double -4.000000e+00) %104 = fmul double %99, %103 %105 = load double, ptr %13, align 8 %106 = fdiv double %104, %105 store double %106, ptr %18, align 8 %107 = load double, ptr %7, align 8 %108 = load double, ptr %7, align 8 %109 = load double, ptr %7, align 8 %110 = load double, ptr %7, align 8 %111 = load double, ptr %7, align 8 %112 = call double @llvm.fmuladd.f64(double -6.500000e+01, double %111, double 8.320000e+02) %113 = call double @llvm.fmuladd.f64(double %110, double %112, double -1.041000e+03) %114 = call double @llvm.fmuladd.f64(double %109, double %113, double 8.320000e+02) %115 = call double @llvm.fmuladd.f64(double %108, double %114, double -6.500000e+01) %116 = fmul double %107, %115 %117 = fdiv double %116, 3.500000e+02 %118 = load double, ptr %13, align 8 %119 = fdiv double %117, %118 store double %119, ptr %19, align 8 %120 = load double, ptr %8, align 8 %121 = fmul double 2.000000e+00, %120 %122 = load double, ptr %8, align 8 %123 = load double, ptr %8, align 8 %124 = call double @llvm.fmuladd.f64(double %122, double %123, double -4.000000e+00) %125 = fdiv double %121, %124 store double %125, ptr %20, align 8 %126 = load double, ptr %8, align 8 %127 = fadd double %126, 2.000000e+00 %128 = load double, ptr %8, align 8 %129 = fsub double %128, 2.000000e+00 %130 = fdiv double %127, %129 store double %130, ptr %21, align 8 %131 = load double, ptr %8, align 8 %132 = load double, ptr %8, align 8 %133 = call double @llvm.fmuladd.f64(double %131, double %132, double -4.000000e+00) %134 = fdiv double %133, 4.000000e+00 store double %134, ptr %22, align 8 %135 = load double, ptr %8, align 8 %136 = load double, ptr %8, align 8 %137 = call double @llvm.fmuladd.f64(double %135, double %136, double -4.000000e+00) %138 = fdiv double 4.000000e+00, %137 store double %138, ptr %23, align 8 %139 = load double, ptr %8, align 8 %140 = load double, ptr %8, align 8 %141 = fmul double %139, %140 %142 = load double, ptr %8, align 8 %143 = load double, ptr %8, align 8 %144 = call double @llvm.fmuladd.f64(double %142, double %143, double -4.000000e+00) %145 = fdiv double %141, %144 store double %145, ptr %24, align 8 %146 = load double, ptr %21, align 8 %147 = call double @log(double noundef %146) #6 store double %147, ptr %25, align 8 %148 = load double, ptr %24, align 8 %149 = call double @log(double noundef %148) #6 store double %149, ptr %26, align 8 %150 = load double, ptr %14, align 8 %151 = load double, ptr %23, align 8 %152 = load double, ptr %15, align 8 %153 = load double, ptr %16, align 8 %154 = load double, ptr %22, align 8 %155 = call double @llvm.fmuladd.f64(double %153, double %154, double %152) %156 = load double, ptr %26, align 8 %157 = fmul double %155, %156 %158 = call double @llvm.fmuladd.f64(double %150, double %151, double %157) %159 = load double, ptr %16, align 8 %160 = fsub double %158, %159 %161 = fadd double %160, 1.000000e+00 %162 = load ptr, ptr %9, align 8 store double %161, ptr %162, align 8 %163 = load double, ptr %17, align 8 %164 = load double, ptr %20, align 8 %165 = load double, ptr %18, align 8 %166 = load double, ptr %19, align 8 %167 = load double, ptr %22, align 8 %168 = call double @llvm.fmuladd.f64(double %166, double %167, double %165) %169 = load double, ptr %25, align 8 %170 = fmul double %168, %169 %171 = call double @llvm.fmuladd.f64(double %163, double %164, double %170) %172 = load double, ptr %19, align 8 %173 = load double, ptr %8, align 8 %174 = fneg double %172 %175 = call double @llvm.fmuladd.f64(double %174, double %173, double %171) %176 = load ptr, ptr %10, align 8 store double %175, ptr %176, align 8 %177 = load double, ptr %8, align 8 %178 = load double, ptr %7, align 8 %179 = fadd double 1.000000e+00, %178 %180 = fmul double %177, %179 store double %180, ptr %27, align 8 %181 = load double, ptr %27, align 8 store double %181, ptr %28, align 8 %182 = load double, ptr %8, align 8 %183 = fdiv double 2.000000e+00, %182 store double %183, ptr %29, align 8 %184 = load double, ptr %29, align 8 store double %184, ptr %30, align 8 store i32 1, ptr %32, align 4 br label %185 185: ; preds = %262, %53 %186 = load i32, ptr %32, align 4 %187 = load i32, ptr %6, align 4 %188 = icmp slt i32 %186, %187 br i1 %188, label %189, label %265 189: ; preds = %185 %190 = load i32, ptr %32, align 4 %191 = srem i32 %190, 2 %192 = icmp eq i32 %191, 0 br i1 %192, label %193, label %224 193: ; preds = %189 %194 = load double, ptr %14, align 8 %195 = fneg double %194 %196 = load double, ptr %15, align 8 %197 = fmul double 2.000000e+00, %196 %198 = load i32, ptr %32, align 4 %199 = sitofp i32 %198 to double %200 = fdiv double %197, %199 %201 = fsub double %195, %200 %202 = load double, ptr %16, align 8 %203 = fmul double 4.000000e+00, %202 %204 = load i32, ptr %32, align 4 %205 = load i32, ptr %32, align 4 %206 = add nsw i32 %205, 2 %207 = mul nsw i32 %204, %206 %208 = sitofp i32 %207 to double %209 = fdiv double %203, %208 %210 = fadd double %201, %209 store double %210, ptr %31, align 8 %211 = load ptr, ptr %11, align 8 %212 = load i32, ptr %32, align 4 %213 = sext i32 %212 to i64 %214 = getelementptr inbounds double, ptr %211, i64 %213 %215 = load double, ptr %214, align 8 %216 = load double, ptr %28, align 8 %217 = fdiv double %215, %216 %218 = load double, ptr %31, align 8 %219 = load double, ptr %30, align 8 %220 = call double @llvm.fmuladd.f64(double %218, double %219, double %217) %221 = load ptr, ptr %9, align 8 %222 = load double, ptr %221, align 8 %223 = fadd double %222, %220 store double %223, ptr %221, align 8 br label %255 224: ; preds = %189 %225 = load double, ptr %17, align 8 %226 = fneg double %225 %227 = load double, ptr %18, align 8 %228 = fmul double 2.000000e+00, %227 %229 = load i32, ptr %32, align 4 %230 = sitofp i32 %229 to double %231 = fdiv double %228, %230 %232 = fsub double %226, %231 %233 = load double, ptr %19, align 8 %234 = fmul double 4.000000e+00, %233 %235 = load i32, ptr %32, align 4 %236 = load i32, ptr %32, align 4 %237 = add nsw i32 %236, 2 %238 = mul nsw i32 %235, %237 %239 = sitofp i32 %238 to double %240 = fdiv double %234, %239 %241 = fadd double %232, %240 store double %241, ptr %31, align 8 %242 = load ptr, ptr %11, align 8 %243 = load i32, ptr %32, align 4 %244 = sext i32 %243 to i64 %245 = getelementptr inbounds double, ptr %242, i64 %244 %246 = load double, ptr %245, align 8 %247 = load double, ptr %28, align 8 %248 = fdiv double %246, %247 %249 = load double, ptr %31, align 8 %250 = load double, ptr %30, align 8 %251 = call double @llvm.fmuladd.f64(double %249, double %250, double %248) %252 = load ptr, ptr %10, align 8 %253 = load double, ptr %252, align 8 %254 = fadd double %253, %251 store double %254, ptr %252, align 8 br label %255 255: ; preds = %224, %193 %256 = load double, ptr %27, align 8 %257 = load double, ptr %28, align 8 %258 = fmul double %257, %256 store double %258, ptr %28, align 8 %259 = load double, ptr %29, align 8 %260 = load double, ptr %30, align 8 %261 = fmul double %260, %259 store double %261, ptr %30, align 8 br label %262 262: ; preds = %255 %263 = load i32, ptr %32, align 4 %264 = add nsw i32 %263, 1 store i32 %264, ptr %32, align 4 br label %185, !llvm.loop !6 265: ; preds = %185 %266 = load double, ptr %13, align 8 %267 = fdiv double 8.000000e+00, %266 %268 = load ptr, ptr %10, align 8 %269 = load double, ptr %268, align 8 %270 = fmul double %269, %267 store double %270, ptr %268, align 8 %271 = load ptr, ptr %11, align 8 %272 = call i32 @free(ptr noundef %271) ret void } declare i64 @malloc(i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @twobody_XM(i32 noundef, double noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 ; Function Attrs: nounwind declare double @log(double noundef) #4 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { 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 #5 = { noreturn } attributes #6 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1q5z5qhq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [37 x i8] c"twobody_XM_lub : malloc error for f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @twobody_XM_lub(i32 noundef %0, double noundef %1, double noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca double, align 8 %23 = alloca double, align 8 %24 = alloca double, align 8 %25 = alloca double, align 8 %26 = alloca double, align 8 %27 = alloca double, align 8 %28 = alloca double, align 8 %29 = alloca double, align 8 %30 = alloca double, align 8 %31 = alloca double, align 8 %32 = alloca i32, align 4 store i32 %0, ptr %6, align 4 store double %1, ptr %7, align 8 store double %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %33 = load i32, ptr %6, align 4 %34 = srem i32 %33, 2 %35 = icmp ne i32 %34, 0 br i1 %35, label %36, label %39 36: ; preds = %5 %37 = load i32, ptr %6, align 4 %38 = add nsw i32 %37, -1 store i32 %38, ptr %6, align 4 br label %39 39: ; preds = %36, %5 %40 = load i32, ptr %6, align 4 %41 = add nsw i32 %40, 1 %42 = sext i32 %41 to i64 %43 = mul i64 8, %42 %44 = trunc i64 %43 to i32 %45 = call i64 @malloc(i32 noundef %44) %46 = inttoptr i64 %45 to ptr store ptr %46, ptr %11, align 8 %47 = load ptr, ptr %11, align 8 %48 = icmp eq ptr %47, null br i1 %48, label %49, label %53 49: ; preds = %39 %50 = load i32, ptr @stderr, align 4 %51 = call i32 @fprintf(i32 noundef %50, ptr noundef @.str) %52 = call i32 @exit(i32 noundef 1) #5 unreachable 53: ; preds = %39 %54 = load i32, ptr %6, align 4 %55 = load double, ptr %7, align 8 %56 = load ptr, ptr %11, align 8 %57 = call i32 @twobody_XM(i32 noundef %54, double noundef %55, ptr noundef %56) %58 = load ptr, ptr %9, align 8 store double 0.000000e+00, ptr %58, align 8 %59 = load ptr, ptr %10, align 8 store double 0.000000e+00, ptr %59, align 8 %60 = load double, ptr %7, align 8 %61 = fadd double 1.000000e+00, %60 store double %61, ptr %12, align 8 %62 = load double, ptr %12, align 8 %63 = load double, ptr %12, align 8 %64 = fmul double %62, %63 %65 = load double, ptr %12, align 8 %66 = fmul double %64, %65 store double %66, ptr %13, align 8 %67 = load double, ptr %7, align 8 %68 = fmul double 1.200000e+00, %67 %69 = load double, ptr %7, align 8 %70 = fmul double %68, %69 %71 = load double, ptr %13, align 8 %72 = fdiv double %70, %71 store double %72, ptr %14, align 8 %73 = load double, ptr %7, align 8 %74 = fmul double 1.200000e-01, %73 %75 = load double, ptr %7, align 8 %76 = load double, ptr %7, align 8 %77 = call double @llvm.fmuladd.f64(double -9.000000e+00, double %76, double 1.700000e+01) %78 = call double @llvm.fmuladd.f64(double %75, double %77, double 1.000000e+00) %79 = fmul double %74, %78 %80 = load double, ptr %13, align 8 %81 = fdiv double %79, %80 store double %81, ptr %15, align 8 %82 = load double, ptr %7, align 8 %83 = load double, ptr %7, align 8 %84 = load double, ptr %7, align 8 %85 = load double, ptr %7, align 8 %86 = call double @llvm.fmuladd.f64(double -4.150000e+02, double %85, double 1.322000e+03) %87 = call double @llvm.fmuladd.f64(double %84, double %86, double -8.310000e+02) %88 = call double @llvm.fmuladd.f64(double %83, double %87, double 2.720000e+02) %89 = call double @llvm.fmuladd.f64(double %82, double %88, double 5.000000e+00) %90 = fdiv double %89, 3.500000e+02 %91 = load double, ptr %13, align 8 %92 = fdiv double %90, %91 store double %92, ptr %16, align 8 %93 = load double, ptr %14, align 8 %94 = load double, ptr %7, align 8 %95 = fmul double %93, %94 store double %95, ptr %17, align 8 %96 = load double, ptr %7, align 8 %97 = fmul double 1.200000e-01, %96 %98 = load double, ptr %7, align 8 %99 = fmul double %97, %98 %100 = load double, ptr %7, align 8 %101 = load double, ptr %7, align 8 %102 = call double @llvm.fmuladd.f64(double -4.000000e+00, double %101, double 1.700000e+01) %103 = call double @llvm.fmuladd.f64(double %100, double %102, double -4.000000e+00) %104 = fmul double %99, %103 %105 = load double, ptr %13, align 8 %106 = fdiv double %104, %105 store double %106, ptr %18, align 8 %107 = load double, ptr %7, align 8 %108 = load double, ptr %7, align 8 %109 = load double, ptr %7, align 8 %110 = load double, ptr %7, align 8 %111 = load double, ptr %7, align 8 %112 = call double @llvm.fmuladd.f64(double -6.500000e+01, double %111, double 8.320000e+02) %113 = call double @llvm.fmuladd.f64(double %110, double %112, double -1.041000e+03) %114 = call double @llvm.fmuladd.f64(double %109, double %113, double 8.320000e+02) %115 = call double @llvm.fmuladd.f64(double %108, double %114, double -6.500000e+01) %116 = fmul double %107, %115 %117 = fdiv double %116, 3.500000e+02 %118 = load double, ptr %13, align 8 %119 = fdiv double %117, %118 store double %119, ptr %19, align 8 %120 = load double, ptr %8, align 8 %121 = fmul double 2.000000e+00, %120 %122 = load double, ptr %8, align 8 %123 = load double, ptr %8, align 8 %124 = call double @llvm.fmuladd.f64(double %122, double %123, double -4.000000e+00) %125 = fdiv double %121, %124 store double %125, ptr %20, align 8 %126 = load double, ptr %8, align 8 %127 = fadd double %126, 2.000000e+00 %128 = load double, ptr %8, align 8 %129 = fsub double %128, 2.000000e+00 %130 = fdiv double %127, %129 store double %130, ptr %21, align 8 %131 = load double, ptr %8, align 8 %132 = load double, ptr %8, align 8 %133 = call double @llvm.fmuladd.f64(double %131, double %132, double -4.000000e+00) %134 = fdiv double %133, 4.000000e+00 store double %134, ptr %22, align 8 %135 = load double, ptr %8, align 8 %136 = load double, ptr %8, align 8 %137 = call double @llvm.fmuladd.f64(double %135, double %136, double -4.000000e+00) %138 = fdiv double 4.000000e+00, %137 store double %138, ptr %23, align 8 %139 = load double, ptr %8, align 8 %140 = load double, ptr %8, align 8 %141 = fmul double %139, %140 %142 = load double, ptr %8, align 8 %143 = load double, ptr %8, align 8 %144 = call double @llvm.fmuladd.f64(double %142, double %143, double -4.000000e+00) %145 = fdiv double %141, %144 store double %145, ptr %24, align 8 %146 = load double, ptr %21, align 8 %147 = call double @log(double noundef %146) #6 store double %147, ptr %25, align 8 %148 = load double, ptr %24, align 8 %149 = call double @log(double noundef %148) #6 store double %149, ptr %26, align 8 %150 = load double, ptr %14, align 8 %151 = load double, ptr %23, align 8 %152 = load double, ptr %15, align 8 %153 = load double, ptr %16, align 8 %154 = load double, ptr %22, align 8 %155 = call double @llvm.fmuladd.f64(double %153, double %154, double %152) %156 = load double, ptr %26, align 8 %157 = fmul double %155, %156 %158 = call double @llvm.fmuladd.f64(double %150, double %151, double %157) %159 = load double, ptr %16, align 8 %160 = fsub double %158, %159 %161 = fadd double %160, 1.000000e+00 %162 = load ptr, ptr %9, align 8 store double %161, ptr %162, align 8 %163 = load double, ptr %17, align 8 %164 = load double, ptr %20, align 8 %165 = load double, ptr %18, align 8 %166 = load double, ptr %19, align 8 %167 = load double, ptr %22, align 8 %168 = call double @llvm.fmuladd.f64(double %166, double %167, double %165) %169 = load double, ptr %25, align 8 %170 = fmul double %168, %169 %171 = call double @llvm.fmuladd.f64(double %163, double %164, double %170) %172 = load double, ptr %19, align 8 %173 = load double, ptr %8, align 8 %174 = fneg double %172 %175 = call double @llvm.fmuladd.f64(double %174, double %173, double %171) %176 = load ptr, ptr %10, align 8 store double %175, ptr %176, align 8 %177 = load double, ptr %8, align 8 %178 = load double, ptr %7, align 8 %179 = fadd double 1.000000e+00, %178 %180 = fmul double %177, %179 store double %180, ptr %27, align 8 %181 = load double, ptr %27, align 8 store double %181, ptr %28, align 8 %182 = load double, ptr %8, align 8 %183 = fdiv double 2.000000e+00, %182 store double %183, ptr %29, align 8 %184 = load double, ptr %29, align 8 store double %184, ptr %30, align 8 store i32 1, ptr %32, align 4 %185 = load i32, ptr %32, align 4 %186 = load i32, ptr %6, align 4 %187 = icmp slt i32 %185, %186 br i1 %187, label %.lr.ph, label %267 .lr.ph: ; preds = %53 br label %188 188: ; preds = %.lr.ph, %261 %189 = load i32, ptr %32, align 4 %190 = srem i32 %189, 2 %191 = icmp eq i32 %190, 0 br i1 %191, label %192, label %223 192: ; preds = %188 %193 = load double, ptr %14, align 8 %194 = fneg double %193 %195 = load double, ptr %15, align 8 %196 = fmul double 2.000000e+00, %195 %197 = load i32, ptr %32, align 4 %198 = sitofp i32 %197 to double %199 = fdiv double %196, %198 %200 = fsub double %194, %199 %201 = load double, ptr %16, align 8 %202 = fmul double 4.000000e+00, %201 %203 = load i32, ptr %32, align 4 %204 = load i32, ptr %32, align 4 %205 = add nsw i32 %204, 2 %206 = mul nsw i32 %203, %205 %207 = sitofp i32 %206 to double %208 = fdiv double %202, %207 %209 = fadd double %200, %208 store double %209, ptr %31, align 8 %210 = load ptr, ptr %11, align 8 %211 = load i32, ptr %32, align 4 %212 = sext i32 %211 to i64 %213 = getelementptr inbounds double, ptr %210, i64 %212 %214 = load double, ptr %213, align 8 %215 = load double, ptr %28, align 8 %216 = fdiv double %214, %215 %217 = load double, ptr %31, align 8 %218 = load double, ptr %30, align 8 %219 = call double @llvm.fmuladd.f64(double %217, double %218, double %216) %220 = load ptr, ptr %9, align 8 %221 = load double, ptr %220, align 8 %222 = fadd double %221, %219 store double %222, ptr %220, align 8 br label %254 223: ; preds = %188 %224 = load double, ptr %17, align 8 %225 = fneg double %224 %226 = load double, ptr %18, align 8 %227 = fmul double 2.000000e+00, %226 %228 = load i32, ptr %32, align 4 %229 = sitofp i32 %228 to double %230 = fdiv double %227, %229 %231 = fsub double %225, %230 %232 = load double, ptr %19, align 8 %233 = fmul double 4.000000e+00, %232 %234 = load i32, ptr %32, align 4 %235 = load i32, ptr %32, align 4 %236 = add nsw i32 %235, 2 %237 = mul nsw i32 %234, %236 %238 = sitofp i32 %237 to double %239 = fdiv double %233, %238 %240 = fadd double %231, %239 store double %240, ptr %31, align 8 %241 = load ptr, ptr %11, align 8 %242 = load i32, ptr %32, align 4 %243 = sext i32 %242 to i64 %244 = getelementptr inbounds double, ptr %241, i64 %243 %245 = load double, ptr %244, align 8 %246 = load double, ptr %28, align 8 %247 = fdiv double %245, %246 %248 = load double, ptr %31, align 8 %249 = load double, ptr %30, align 8 %250 = call double @llvm.fmuladd.f64(double %248, double %249, double %247) %251 = load ptr, ptr %10, align 8 %252 = load double, ptr %251, align 8 %253 = fadd double %252, %250 store double %253, ptr %251, align 8 br label %254 254: ; preds = %223, %192 %255 = load double, ptr %27, align 8 %256 = load double, ptr %28, align 8 %257 = fmul double %256, %255 store double %257, ptr %28, align 8 %258 = load double, ptr %29, align 8 %259 = load double, ptr %30, align 8 %260 = fmul double %259, %258 store double %260, ptr %30, align 8 br label %261 261: ; preds = %254 %262 = load i32, ptr %32, align 4 %263 = add nsw i32 %262, 1 store i32 %263, ptr %32, align 4 %264 = load i32, ptr %32, align 4 %265 = load i32, ptr %6, align 4 %266 = icmp slt i32 %264, %265 br i1 %266, label %188, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %261 br label %267 267: ; preds = %._crit_edge, %53 %268 = load double, ptr %13, align 8 %269 = fdiv double 8.000000e+00, %268 %270 = load ptr, ptr %10, align 8 %271 = load double, ptr %270, align 8 %272 = fmul double %271, %269 store double %272, ptr %270, align 8 %273 = load ptr, ptr %11, align 8 %274 = call i32 @free(ptr noundef %273) ret void } declare i64 @malloc(i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @twobody_XM(i32 noundef, double noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 ; Function Attrs: nounwind declare double @log(double noundef) #4 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { 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 #5 = { noreturn } attributes #6 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp5523hmsk.c' source_filename = "/tmp/tmp5523hmsk.c" target datalayout = "e-m:e-p270: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/tmp5523hmsk.c" target datalayout = "e-m:e-p270: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/tmpyahviunv.c' source_filename = "/tmp/tmpyahviunv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"az_strdup(NULL) == NULL\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"Hello, world!\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"copy\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_strdup() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = call ptr @az_strdup(ptr noundef null) %4 = icmp eq ptr %3, null %5 = zext i1 %4 to i32 %6 = call i32 @_expect_true(i32 noundef %5, ptr noundef @.str) store ptr @.str.1, ptr %1, align 8 %7 = load ptr, ptr %1, align 8 %8 = call ptr @az_strdup(ptr noundef %7) store ptr %8, ptr %2, align 8 %9 = load ptr, ptr %1, align 8 %10 = load ptr, ptr %2, align 8 %11 = call i32 @_expect_string_eq(ptr noundef %9, ptr noundef %10, ptr noundef @.str.2) %12 = load ptr, ptr %2, align 8 %13 = call i32 @free(ptr noundef %12) ret void } declare i32 @_expect_true(i32 noundef, ptr noundef) #1 declare ptr @az_strdup(ptr noundef) #1 declare i32 @_expect_string_eq(ptr noundef, ptr noundef, ptr 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/tmpyahviunv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"az_strdup(NULL) == NULL\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"Hello, world!\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"copy\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_strdup() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = call ptr @az_strdup(ptr noundef null) %4 = icmp eq ptr %3, null %5 = zext i1 %4 to i32 %6 = call i32 @_expect_true(i32 noundef %5, ptr noundef @.str) store ptr @.str.1, ptr %1, align 8 %7 = load ptr, ptr %1, align 8 %8 = call ptr @az_strdup(ptr noundef %7) store ptr %8, ptr %2, align 8 %9 = load ptr, ptr %1, align 8 %10 = load ptr, ptr %2, align 8 %11 = call i32 @_expect_string_eq(ptr noundef %9, ptr noundef %10, ptr noundef @.str.2) %12 = load ptr, ptr %2, align 8 %13 = call i32 @free(ptr noundef %12) ret void } declare i32 @_expect_true(i32 noundef, ptr noundef) #1 declare ptr @az_strdup(ptr noundef) #1 declare i32 @_expect_string_eq(ptr noundef, ptr noundef, ptr 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/tmpg0jeuk_y.c' source_filename = "/tmp/tmpg0jeuk_y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.termios = type { i32 } @get_char.old = internal global %struct.termios zeroinitializer, align 4 @get_char.new = internal global %struct.termios zeroinitializer, align 4 @ICANON = dso_local global i32 0, align 4 @ECHO = dso_local global i32 0, align 4 @TCSANOW = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @get_char() #0 { %1 = alloca i8, align 1 %2 = call i32 @tcgetattr(i32 noundef 0, ptr noundef @get_char.old) call void @llvm.memcpy.p0.p0.i64(ptr align 4 @get_char.new, ptr align 4 @get_char.old, i64 4, i1 false) %3 = load i32, ptr @ICANON, align 4 %4 = xor i32 %3, -1 %5 = load i32, ptr @get_char.new, align 4 %6 = and i32 %5, %4 store i32 %6, ptr @get_char.new, align 4 %7 = load i32, ptr @ECHO, align 4 %8 = xor i32 %7, -1 %9 = load i32, ptr @get_char.new, align 4 %10 = and i32 %9, %8 store i32 %10, ptr @get_char.new, align 4 %11 = load i32, ptr @TCSANOW, align 4 %12 = call i32 @tcsetattr(i32 noundef 0, i32 noundef %11, ptr noundef @get_char.new) %13 = call signext i8 (...) @getchar() store i8 %13, ptr %1, align 1 %14 = load i32, ptr @TCSANOW, align 4 %15 = call i32 @tcsetattr(i32 noundef 0, i32 noundef %14, ptr noundef @get_char.old) %16 = load i8, ptr %1, align 1 ret i8 %16 } declare i32 @tcgetattr(i32 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 declare i32 @tcsetattr(i32 noundef, i32 noundef, ptr noundef) #1 declare signext i8 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpg0jeuk_y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.termios = type { i32 } @get_char.old = internal global %struct.termios zeroinitializer, align 4 @get_char.new = internal global %struct.termios zeroinitializer, align 4 @ICANON = dso_local global i32 0, align 4 @ECHO = dso_local global i32 0, align 4 @TCSANOW = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @get_char() #0 { %1 = alloca i8, align 1 %2 = call i32 @tcgetattr(i32 noundef 0, ptr noundef @get_char.old) call void @llvm.memcpy.p0.p0.i64(ptr align 4 @get_char.new, ptr align 4 @get_char.old, i64 4, i1 false) %3 = load i32, ptr @ICANON, align 4 %4 = xor i32 %3, -1 %5 = load i32, ptr @get_char.new, align 4 %6 = and i32 %5, %4 store i32 %6, ptr @get_char.new, align 4 %7 = load i32, ptr @ECHO, align 4 %8 = xor i32 %7, -1 %9 = load i32, ptr @get_char.new, align 4 %10 = and i32 %9, %8 store i32 %10, ptr @get_char.new, align 4 %11 = load i32, ptr @TCSANOW, align 4 %12 = call i32 @tcsetattr(i32 noundef 0, i32 noundef %11, ptr noundef @get_char.new) %13 = call signext i8 (...) @getchar() store i8 %13, ptr %1, align 1 %14 = load i32, ptr @TCSANOW, align 4 %15 = call i32 @tcsetattr(i32 noundef 0, i32 noundef %14, ptr noundef @get_char.old) %16 = load i8, ptr %1, align 1 ret i8 %16 } declare i32 @tcgetattr(i32 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 declare i32 @tcsetattr(i32 noundef, i32 noundef, ptr noundef) #1 declare signext i8 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpuaj74tti.c' source_filename = "/tmp/tmpuaj74tti.c" target datalayout = "e-m:e-p270: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/tmpuaj74tti.c" target datalayout = "e-m:e-p270: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/tmpzyzbygmm.c' source_filename = "/tmp/tmpzyzbygmm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"button: %d %s %d,%d\0A\00", align 1 @GLUT_UP = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [3 x i8] c"UP\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"down\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @mouse(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %6, align 4 %11 = load i32, ptr @GLUT_UP, align 4 %12 = icmp eq i32 %10, %11 %13 = zext i1 %12 to i64 %14 = select i1 %12, ptr @.str.1, ptr @.str.2 %15 = load i32, ptr %7, align 4 %16 = load i32, ptr %8, align 4 %17 = call i32 @printf(ptr noundef @.str, i32 noundef %9, ptr noundef %14, i32 noundef %15, i32 noundef %16) ret void } declare i32 @printf(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzyzbygmm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"button: %d %s %d,%d\0A\00", align 1 @GLUT_UP = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [3 x i8] c"UP\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"down\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @mouse(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %6, align 4 %11 = load i32, ptr @GLUT_UP, align 4 %12 = icmp eq i32 %10, %11 %13 = zext i1 %12 to i64 %14 = select i1 %12, ptr @.str.1, ptr @.str.2 %15 = load i32, ptr %7, align 4 %16 = load i32, ptr %8, align 4 %17 = call i32 @printf(ptr noundef @.str, i32 noundef %9, ptr noundef %14, i32 noundef %15, i32 noundef %16) ret void } declare i32 @printf(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3a3lu21g.c' source_filename = "/tmp/tmp3a3lu21g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lowerCamelCase(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 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = call ptr @find(ptr noundef %7) store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = call i32 @strlen(ptr noundef %9) store i32 %10, ptr %6, align 4 %11 = load i32, ptr %6, align 4 %12 = icmp sle i32 %11, 0 br i1 %12, label %13, label %22 13: ; preds = %2 %14 = load ptr, ptr %5, align 8 %15 = call i32 @free(ptr noundef %14) %16 = load ptr, ptr %4, align 8 %17 = getelementptr inbounds i8, ptr %16, i64 0 %18 = load i8, ptr %17, align 1 %19 = call signext i8 @tolower(i8 noundef signext %18) %20 = load ptr, ptr %4, align 8 %21 = getelementptr inbounds i8, ptr %20, i64 0 store i8 %19, ptr %21, align 1 br label %49 22: ; preds = %2 %23 = load ptr, ptr %4, align 8 %24 = load ptr, ptr %5, align 8 %25 = call i32 @addWord(ptr noundef %23, ptr noundef %24) %26 = load ptr, ptr %5, align 8 %27 = call i32 @free(ptr noundef %26) %28 = load ptr, ptr %3, align 8 %29 = call i32 @strlen(ptr noundef %28) %30 = load i32, ptr %6, align 4 %31 = icmp sle i32 %29, %30 br i1 %31, label %32, label %39 32: ; preds = %22 %33 = load ptr, ptr %4, align 8 %34 = getelementptr inbounds i8, ptr %33, i64 0 %35 = load i8, ptr %34, align 1 %36 = call signext i8 @tolower(i8 noundef signext %35) %37 = load ptr, ptr %4, align 8 %38 = getelementptr inbounds i8, ptr %37, i64 0 store i8 %36, ptr %38, align 1 br label %49 39: ; preds = %22 %40 = load ptr, ptr %3, align 8 %41 = load i32, ptr %6, align 4 %42 = load ptr, ptr %3, align 8 %43 = call i32 @strlen(ptr noundef %42) %44 = load i32, ptr %6, align 4 %45 = sub nsw i32 %43, %44 %46 = call i32 @mid(ptr noundef %40, i32 noundef %41, i32 noundef %45) %47 = load ptr, ptr %3, align 8 %48 = load ptr, ptr %4, align 8 call void @lowerCamelCase(ptr noundef %47, ptr noundef %48) br label %49 49: ; preds = %39, %32, %13 ret void } declare ptr @find(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare signext i8 @tolower(i8 noundef signext) #1 declare i32 @addWord(ptr noundef, ptr noundef) #1 declare i32 @mid(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/tmp3a3lu21g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lowerCamelCase(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 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = call ptr @find(ptr noundef %7) store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = call i32 @strlen(ptr noundef %9) store i32 %10, ptr %6, align 4 %11 = load i32, ptr %6, align 4 %12 = icmp sle i32 %11, 0 br i1 %12, label %13, label %22 13: ; preds = %2 %14 = load ptr, ptr %5, align 8 %15 = call i32 @free(ptr noundef %14) %16 = load ptr, ptr %4, align 8 %17 = getelementptr inbounds i8, ptr %16, i64 0 %18 = load i8, ptr %17, align 1 %19 = call signext i8 @tolower(i8 noundef signext %18) %20 = load ptr, ptr %4, align 8 %21 = getelementptr inbounds i8, ptr %20, i64 0 store i8 %19, ptr %21, align 1 br label %49 22: ; preds = %2 %23 = load ptr, ptr %4, align 8 %24 = load ptr, ptr %5, align 8 %25 = call i32 @addWord(ptr noundef %23, ptr noundef %24) %26 = load ptr, ptr %5, align 8 %27 = call i32 @free(ptr noundef %26) %28 = load ptr, ptr %3, align 8 %29 = call i32 @strlen(ptr noundef %28) %30 = load i32, ptr %6, align 4 %31 = icmp sle i32 %29, %30 br i1 %31, label %32, label %39 32: ; preds = %22 %33 = load ptr, ptr %4, align 8 %34 = getelementptr inbounds i8, ptr %33, i64 0 %35 = load i8, ptr %34, align 1 %36 = call signext i8 @tolower(i8 noundef signext %35) %37 = load ptr, ptr %4, align 8 %38 = getelementptr inbounds i8, ptr %37, i64 0 store i8 %36, ptr %38, align 1 br label %49 39: ; preds = %22 %40 = load ptr, ptr %3, align 8 %41 = load i32, ptr %6, align 4 %42 = load ptr, ptr %3, align 8 %43 = call i32 @strlen(ptr noundef %42) %44 = load i32, ptr %6, align 4 %45 = sub nsw i32 %43, %44 %46 = call i32 @mid(ptr noundef %40, i32 noundef %41, i32 noundef %45) %47 = load ptr, ptr %3, align 8 %48 = load ptr, ptr %4, align 8 call void @lowerCamelCase(ptr noundef %47, ptr noundef %48) br label %49 49: ; preds = %39, %32, %13 ret void } declare ptr @find(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare signext i8 @tolower(i8 noundef signext) #1 declare i32 @addWord(ptr noundef, ptr noundef) #1 declare i32 @mid(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/tmpg8w8sro1.c' source_filename = "/tmp/tmpg8w8sro1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @calculate_probability(double noundef %0, double noundef %1, double noundef %2) #0 { %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 store double %0, ptr %4, align 8 store double %1, ptr %5, align 8 store double %2, ptr %6, align 8 store double 0.000000e+00, ptr %7, align 8 %13 = load double, ptr %4, align 8 %14 = load double, ptr %5, align 8 %15 = fsub double %13, %14 %16 = load double, ptr %6, align 8 %17 = fdiv double %15, %16 %18 = call i32 @floor(double noundef %17) store i32 %18, ptr %8, align 4 store i32 0, ptr %9, align 4 br label %19 19: ; preds = %49, %3 %20 = load i32, ptr %9, align 4 %21 = load i32, ptr %8, align 4 %22 = icmp sle i32 %20, %21 br i1 %22, label %23, label %52 23: ; preds = %19 %24 = load i32, ptr %9, align 4 %25 = and i32 %24, 1 %26 = mul nsw i32 -2, %25 %27 = sitofp i32 %26 to double %28 = fadd double 1.000000e+00, %27 store double %28, ptr %10, align 8 %29 = load double, ptr %5, align 8 %30 = load i32, ptr %9, align 4 %31 = sitofp i32 %30 to double %32 = call double @choose(double noundef %29, double noundef %31) store double %32, ptr %11, align 8 %33 = load double, ptr %4, align 8 %34 = load double, ptr %6, align 8 %35 = load i32, ptr %9, align 4 %36 = sitofp i32 %35 to double %37 = fneg double %34 %38 = call double @llvm.fmuladd.f64(double %37, double %36, double %33) %39 = fsub double %38, 1.000000e+00 %40 = load double, ptr %5, align 8 %41 = fsub double %40, 1.000000e+00 %42 = call double @choose(double noundef %39, double noundef %41) store double %42, ptr %12, align 8 %43 = load double, ptr %10, align 8 %44 = load double, ptr %11, align 8 %45 = fmul double %43, %44 %46 = load double, ptr %12, align 8 %47 = load double, ptr %7, align 8 %48 = call double @llvm.fmuladd.f64(double %45, double %46, double %47) store double %48, ptr %7, align 8 br label %49 49: ; preds = %23 %50 = load i32, ptr %9, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %9, align 4 br label %19, !llvm.loop !6 52: ; preds = %19 %53 = load double, ptr %6, align 8 %54 = load double, ptr %5, align 8 %55 = call i32 @pow(double noundef %53, double noundef %54) %56 = sdiv i32 1, %55 %57 = sitofp i32 %56 to double %58 = load double, ptr %7, align 8 %59 = fmul double %57, %58 ret double %59 } declare i32 @floor(double noundef) #1 declare double @choose(double noundef, double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @pow(double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpg8w8sro1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @calculate_probability(double noundef %0, double noundef %1, double noundef %2) #0 { %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 store double %0, ptr %4, align 8 store double %1, ptr %5, align 8 store double %2, ptr %6, align 8 store double 0.000000e+00, ptr %7, align 8 %13 = load double, ptr %4, align 8 %14 = load double, ptr %5, align 8 %15 = fsub double %13, %14 %16 = load double, ptr %6, align 8 %17 = fdiv double %15, %16 %18 = call i32 @floor(double noundef %17) store i32 %18, ptr %8, align 4 store i32 0, ptr %9, align 4 %19 = load i32, ptr %9, align 4 %20 = load i32, ptr %8, align 4 %21 = icmp sle i32 %19, %20 br i1 %21, label %.lr.ph, label %54 .lr.ph: ; preds = %3 br label %22 22: ; preds = %.lr.ph, %48 %23 = load i32, ptr %9, align 4 %24 = and i32 %23, 1 %25 = mul nsw i32 -2, %24 %26 = sitofp i32 %25 to double %27 = fadd double 1.000000e+00, %26 store double %27, ptr %10, align 8 %28 = load double, ptr %5, align 8 %29 = load i32, ptr %9, align 4 %30 = sitofp i32 %29 to double %31 = call double @choose(double noundef %28, double noundef %30) store double %31, ptr %11, align 8 %32 = load double, ptr %4, align 8 %33 = load double, ptr %6, align 8 %34 = load i32, ptr %9, align 4 %35 = sitofp i32 %34 to double %36 = fneg double %33 %37 = call double @llvm.fmuladd.f64(double %36, double %35, double %32) %38 = fsub double %37, 1.000000e+00 %39 = load double, ptr %5, align 8 %40 = fsub double %39, 1.000000e+00 %41 = call double @choose(double noundef %38, double noundef %40) store double %41, ptr %12, align 8 %42 = load double, ptr %10, align 8 %43 = load double, ptr %11, align 8 %44 = fmul double %42, %43 %45 = load double, ptr %12, align 8 %46 = load double, ptr %7, align 8 %47 = call double @llvm.fmuladd.f64(double %44, double %45, double %46) store double %47, ptr %7, align 8 br label %48 48: ; preds = %22 %49 = load i32, ptr %9, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %9, align 4 %51 = load i32, ptr %9, align 4 %52 = load i32, ptr %8, align 4 %53 = icmp sle i32 %51, %52 br i1 %53, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %48 br label %54 54: ; preds = %._crit_edge, %3 %55 = load double, ptr %6, align 8 %56 = load double, ptr %5, align 8 %57 = call i32 @pow(double noundef %55, double noundef %56) %58 = sdiv i32 1, %57 %59 = sitofp i32 %58 to double %60 = load double, ptr %7, align 8 %61 = fmul double %59, %60 ret double %61 } declare i32 @floor(double noundef) #1 declare double @choose(double noundef, double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @pow(double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp8yh2jwaa.c' source_filename = "/tmp/tmp8yh2jwaa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"maliciously delicious!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @badfunction() #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/tmp8yh2jwaa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"maliciously delicious!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @badfunction() #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/tmpniy7wxr3.c' source_filename = "/tmp/tmpniy7wxr3.c" target datalayout = "e-m:e-p270: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/tmpniy7wxr3.c" target datalayout = "e-m:e-p270: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/tmphkflm6_u.c' source_filename = "/tmp/tmphkflm6_u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PROT_READ = dso_local global i32 0, align 4 @PROT_WRITE = dso_local global i32 0, align 4 @MAP_ANON = dso_local global i32 0, align 4 @MAP_PRIVATE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @stack_alloc(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i64, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 store ptr null, ptr %4, align 8 %6 = load ptr, ptr %4, align 8 %7 = load i32, ptr %2, align 4 %8 = load i32, ptr @PROT_READ, align 4 %9 = load i32, ptr @PROT_WRITE, align 4 %10 = or i32 %8, %9 %11 = load i32, ptr @MAP_ANON, align 4 %12 = load i32, ptr @MAP_PRIVATE, align 4 %13 = or i32 %11, %12 %14 = call ptr @mmap(ptr noundef %6, i32 noundef %7, i32 noundef %10, i32 noundef %13, i32 noundef -1, i32 noundef 0) store ptr %14, ptr %5, align 8 %15 = load ptr, ptr %5, align 8 %16 = call i32 @assert(ptr noundef %15) %17 = load ptr, ptr %5, align 8 %18 = ptrtoint ptr %17 to i64 %19 = load i32, ptr %2, align 4 %20 = sext i32 %19 to i64 %21 = add i64 %18, %20 store i64 %21, ptr %3, align 8 %22 = load i64, ptr %3, align 8 %23 = inttoptr i64 %22 to ptr ret ptr %23 } declare ptr @mmap(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @assert(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphkflm6_u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PROT_READ = dso_local global i32 0, align 4 @PROT_WRITE = dso_local global i32 0, align 4 @MAP_ANON = dso_local global i32 0, align 4 @MAP_PRIVATE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @stack_alloc(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i64, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 store ptr null, ptr %4, align 8 %6 = load ptr, ptr %4, align 8 %7 = load i32, ptr %2, align 4 %8 = load i32, ptr @PROT_READ, align 4 %9 = load i32, ptr @PROT_WRITE, align 4 %10 = or i32 %8, %9 %11 = load i32, ptr @MAP_ANON, align 4 %12 = load i32, ptr @MAP_PRIVATE, align 4 %13 = or i32 %11, %12 %14 = call ptr @mmap(ptr noundef %6, i32 noundef %7, i32 noundef %10, i32 noundef %13, i32 noundef -1, i32 noundef 0) store ptr %14, ptr %5, align 8 %15 = load ptr, ptr %5, align 8 %16 = call i32 @assert(ptr noundef %15) %17 = load ptr, ptr %5, align 8 %18 = ptrtoint ptr %17 to i64 %19 = load i32, ptr %2, align 4 %20 = sext i32 %19 to i64 %21 = add i64 %18, %20 store i64 %21, ptr %3, align 8 %22 = load i64, ptr %3, align 8 %23 = inttoptr i64 %22 to ptr ret ptr %23 } declare ptr @mmap(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @assert(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpoacbez8u.c' source_filename = "/tmp/tmpoacbez8u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [56 x i8] c"h = %2.5lf, f(%2.5lf + %2.5lf) = %10.5lf, f' = %10.5lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca double, align 8 store i32 0, ptr %1, align 4 store double 0.000000e+00, ptr %2, align 8 store double 0.000000e+00, ptr %3, align 8 store double 1.800000e+00, ptr %3, align 8 store double 1.000000e-01, ptr %2, align 8 %4 = load double, ptr %2, align 8 %5 = load double, ptr %3, align 8 %6 = load double, ptr %2, align 8 %7 = load double, ptr %3, align 8 %8 = load double, ptr %2, align 8 %9 = fadd double %7, %8 %10 = call i32 @log(double noundef %9) %11 = load double, ptr %2, align 8 %12 = load double, ptr %3, align 8 %13 = call i32 @differential(ptr noundef @log, double noundef %11, double noundef %12) %14 = call i32 @printf(ptr noundef @.str, double noundef %4, double noundef %5, double noundef %6, i32 noundef %10, i32 noundef %13) store double 1.000000e-02, ptr %2, align 8 %15 = load double, ptr %2, align 8 %16 = load double, ptr %3, align 8 %17 = load double, ptr %2, align 8 %18 = load double, ptr %3, align 8 %19 = load double, ptr %2, align 8 %20 = fadd double %18, %19 %21 = call i32 @log(double noundef %20) %22 = load double, ptr %2, align 8 %23 = load double, ptr %3, align 8 %24 = call i32 @differential(ptr noundef @log, double noundef %22, double noundef %23) %25 = call i32 @printf(ptr noundef @.str, double noundef %15, double noundef %16, double noundef %17, i32 noundef %21, i32 noundef %24) store double 1.000000e-03, ptr %2, align 8 %26 = load double, ptr %2, align 8 %27 = load double, ptr %3, align 8 %28 = load double, ptr %2, align 8 %29 = load double, ptr %3, align 8 %30 = load double, ptr %2, align 8 %31 = fadd double %29, %30 %32 = call i32 @log(double noundef %31) %33 = load double, ptr %2, align 8 %34 = load double, ptr %3, align 8 %35 = call i32 @differential(ptr noundef @log, double noundef %33, double noundef %34) %36 = call i32 @printf(ptr noundef @.str, double noundef %26, double noundef %27, double noundef %28, i32 noundef %32, i32 noundef %35) ret i32 0 } declare i32 @printf(ptr noundef, double noundef, double noundef, double noundef, i32 noundef, i32 noundef) #1 declare i32 @log(double noundef) #1 declare i32 @differential(ptr noundef, double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpoacbez8u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [56 x i8] c"h = %2.5lf, f(%2.5lf + %2.5lf) = %10.5lf, f' = %10.5lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca double, align 8 store i32 0, ptr %1, align 4 store double 0.000000e+00, ptr %2, align 8 store double 0.000000e+00, ptr %3, align 8 store double 1.800000e+00, ptr %3, align 8 store double 1.000000e-01, ptr %2, align 8 %4 = load double, ptr %2, align 8 %5 = load double, ptr %3, align 8 %6 = load double, ptr %2, align 8 %7 = load double, ptr %3, align 8 %8 = load double, ptr %2, align 8 %9 = fadd double %7, %8 %10 = call i32 @log(double noundef %9) %11 = load double, ptr %2, align 8 %12 = load double, ptr %3, align 8 %13 = call i32 @differential(ptr noundef @log, double noundef %11, double noundef %12) %14 = call i32 @printf(ptr noundef @.str, double noundef %4, double noundef %5, double noundef %6, i32 noundef %10, i32 noundef %13) store double 1.000000e-02, ptr %2, align 8 %15 = load double, ptr %2, align 8 %16 = load double, ptr %3, align 8 %17 = load double, ptr %2, align 8 %18 = load double, ptr %3, align 8 %19 = load double, ptr %2, align 8 %20 = fadd double %18, %19 %21 = call i32 @log(double noundef %20) %22 = load double, ptr %2, align 8 %23 = load double, ptr %3, align 8 %24 = call i32 @differential(ptr noundef @log, double noundef %22, double noundef %23) %25 = call i32 @printf(ptr noundef @.str, double noundef %15, double noundef %16, double noundef %17, i32 noundef %21, i32 noundef %24) store double 1.000000e-03, ptr %2, align 8 %26 = load double, ptr %2, align 8 %27 = load double, ptr %3, align 8 %28 = load double, ptr %2, align 8 %29 = load double, ptr %3, align 8 %30 = load double, ptr %2, align 8 %31 = fadd double %29, %30 %32 = call i32 @log(double noundef %31) %33 = load double, ptr %2, align 8 %34 = load double, ptr %3, align 8 %35 = call i32 @differential(ptr noundef @log, double noundef %33, double noundef %34) %36 = call i32 @printf(ptr noundef @.str, double noundef %26, double noundef %27, double noundef %28, i32 noundef %32, i32 noundef %35) ret i32 0 } declare i32 @printf(ptr noundef, double noundef, double noundef, double noundef, i32 noundef, i32 noundef) #1 declare i32 @log(double noundef) #1 declare i32 @differential(ptr noundef, double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxe32cmai.c' source_filename = "/tmp/tmpxe32cmai.c" target datalayout = "e-m:e-p270: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/tmpxe32cmai.c" target datalayout = "e-m:e-p270: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/tmp5mh1d5qh.c' source_filename = "/tmp/tmp5mh1d5qh.c" target datalayout = "e-m:e-p270: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/tmp5mh1d5qh.c" target datalayout = "e-m:e-p270: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/tmppbncyxnl.c' source_filename = "/tmp/tmppbncyxnl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define weak dso_local void @LPUART3_IRQHandler() #0 { %1 = call i32 (...) @LPUART3_DriverIRQHandler() ret void } declare i32 @LPUART3_DriverIRQHandler(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppbncyxnl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define weak dso_local void @LPUART3_IRQHandler() #0 { %1 = call i32 (...) @LPUART3_DriverIRQHandler() ret void } declare i32 @LPUART3_DriverIRQHandler(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp21qpmg8a.c' source_filename = "/tmp/tmp21qpmg8a.c" target datalayout = "e-m:e-p270: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.ifaddrs = type { ptr, i32, ptr } %struct.TYPE_2__ = type { i64 } @.str = private unnamed_addr constant [11 x i8] c"getifaddrs\00", align 1 @AF_INET6 = dso_local global i64 0, align 8 @NI_NUMERICHOST = dso_local global i32 0, align 4 @AF_INET = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [18 x i8] c"64:ff9b::E7ad:514\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @cfg_host_ips(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i8, align 1 %13 = alloca [40 x i8], align 16 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store i8 0, ptr %12, align 1 %14 = call i32 @getifaddrs(ptr noundef %10) %15 = icmp eq i32 %14, -1 br i1 %15, label %16, label %18 16: ; preds = %4 %17 = call i32 @perror(ptr noundef @.str) store i32 1, ptr %5, align 4 br label %185 18: ; preds = %4 %19 = load ptr, ptr %10, align 8 store ptr %19, ptr %11, align 8 br label %20 20: ; preds = %159, %18 %21 = load ptr, ptr %11, align 8 %22 = icmp ne ptr %21, null br i1 %22, label %23, label %163 23: ; preds = %20 %24 = load ptr, ptr %11, align 8 %25 = getelementptr inbounds %struct.ifaddrs, ptr %24, i32 0, i32 0 %26 = load ptr, ptr %25, align 8 %27 = icmp eq ptr %26, null br i1 %27, label %28, label %29 28: ; preds = %23 br label %159 29: ; preds = %23 %30 = load ptr, ptr %11, align 8 %31 = getelementptr inbounds %struct.ifaddrs, ptr %30, i32 0, i32 1 %32 = load i32, ptr %31, align 8 %33 = load ptr, ptr %6, align 8 %34 = call i32 @strcmp(i32 noundef %32, ptr noundef %33) %35 = icmp ne i32 %34, 0 br i1 %35, label %94, label %36 36: ; preds = %29 %37 = load ptr, ptr %11, align 8 %38 = getelementptr inbounds %struct.ifaddrs, ptr %37, i32 0, i32 0 %39 = load ptr, ptr %38, align 8 %40 = getelementptr inbounds %struct.TYPE_2__, ptr %39, i32 0, i32 0 %41 = load i64, ptr %40, align 8 %42 = load i64, ptr @AF_INET6, align 8 %43 = icmp eq i64 %41, %42 br i1 %43, label %44, label %64 44: ; preds = %36 %45 = load i8, ptr %12, align 1 %46 = sext i8 %45 to i32 %47 = and i32 %46, 1 %48 = icmp ne i32 %47, 0 br i1 %48, label %64, label %49 49: ; preds = %44 %50 = load i8, ptr %12, align 1 %51 = sext i8 %50 to i32 %52 = or i32 %51, 1 %53 = trunc i32 %52 to i8 store i8 %53, ptr %12, align 1 %54 = load ptr, ptr %11, align 8 %55 = getelementptr inbounds %struct.ifaddrs, ptr %54, i32 0, i32 0 %56 = load ptr, ptr %55, align 8 %57 = getelementptr inbounds [40 x i8], ptr %13, i64 0, i64 0 %58 = load i32, ptr @NI_NUMERICHOST, align 4 %59 = call i32 @getnameinfo(ptr noundef %56, i32 noundef 4, ptr noundef %57, i32 noundef 40, ptr noundef null, i32 noundef 0, i32 noundef %58) %60 = load i64, ptr @AF_INET6, align 8 %61 = getelementptr inbounds [40 x i8], ptr %13, i64 0, i64 0 %62 = load ptr, ptr %7, align 8 %63 = call i32 @inet_pton(i64 noundef %60, ptr noundef %61, ptr noundef %62) br label %93 64: ; preds = %44, %36 %65 = load ptr, ptr %11, align 8 %66 = getelementptr inbounds %struct.ifaddrs, ptr %65, i32 0, i32 0 %67 = load ptr, ptr %66, align 8 %68 = getelementptr inbounds %struct.TYPE_2__, ptr %67, i32 0, i32 0 %69 = load i64, ptr %68, align 8 %70 = load i64, ptr @AF_INET, align 8 %71 = icmp eq i64 %69, %70 br i1 %71, label %72, label %92 72: ; preds = %64 %73 = load i8, ptr %12, align 1 %74 = sext i8 %73 to i32 %75 = and i32 %74, 2 %76 = icmp ne i32 %75, 0 br i1 %76, label %92, label %77 77: ; preds = %72 %78 = load i8, ptr %12, align 1 %79 = sext i8 %78 to i32 %80 = or i32 %79, 2 %81 = trunc i32 %80 to i8 store i8 %81, ptr %12, align 1 %82 = load ptr, ptr %11, align 8 %83 = getelementptr inbounds %struct.ifaddrs, ptr %82, i32 0, i32 0 %84 = load ptr, ptr %83, align 8 %85 = getelementptr inbounds [40 x i8], ptr %13, i64 0, i64 0 %86 = load i32, ptr @NI_NUMERICHOST, align 4 %87 = call i32 @getnameinfo(ptr noundef %84, i32 noundef 4, ptr noundef %85, i32 noundef 40, ptr noundef null, i32 noundef 0, i32 noundef %86) %88 = load i64, ptr @AF_INET, align 8 %89 = getelementptr inbounds [40 x i8], ptr %13, i64 0, i64 0 %90 = load ptr, ptr %8, align 8 %91 = call i32 @inet_pton(i64 noundef %88, ptr noundef %89, ptr noundef %90) br label %92 92: ; preds = %77, %72, %64 br label %93 93: ; preds = %92, %49 br label %152 94: ; preds = %29 %95 = load ptr, ptr %11, align 8 %96 = getelementptr inbounds %struct.ifaddrs, ptr %95, i32 0, i32 0 %97 = load ptr, ptr %96, align 8 %98 = getelementptr inbounds %struct.TYPE_2__, ptr %97, i32 0, i32 0 %99 = load i64, ptr %98, align 8 %100 = load i64, ptr @AF_INET6, align 8 %101 = icmp eq i64 %99, %100 br i1 %101, label %102, label %122 102: ; preds = %94 %103 = load i8, ptr %12, align 1 %104 = sext i8 %103 to i32 %105 = and i32 %104, 5 %106 = icmp ne i32 %105, 0 br i1 %106, label %122, label %107 107: ; preds = %102 %108 = load i8, ptr %12, align 1 %109 = sext i8 %108 to i32 %110 = or i32 %109, 4 %111 = trunc i32 %110 to i8 store i8 %111, ptr %12, align 1 %112 = load ptr, ptr %11, align 8 %113 = getelementptr inbounds %struct.ifaddrs, ptr %112, i32 0, i32 0 %114 = load ptr, ptr %113, align 8 %115 = getelementptr inbounds [40 x i8], ptr %13, i64 0, i64 0 %116 = load i32, ptr @NI_NUMERICHOST, align 4 %117 = call i32 @getnameinfo(ptr noundef %114, i32 noundef 4, ptr noundef %115, i32 noundef 40, ptr noundef null, i32 noundef 0, i32 noundef %116) %118 = load i64, ptr @AF_INET6, align 8 %119 = getelementptr inbounds [40 x i8], ptr %13, i64 0, i64 0 %120 = load ptr, ptr %7, align 8 %121 = call i32 @inet_pton(i64 noundef %118, ptr noundef %119, ptr noundef %120) br label %151 122: ; preds = %102, %94 %123 = load ptr, ptr %11, align 8 %124 = getelementptr inbounds %struct.ifaddrs, ptr %123, i32 0, i32 0 %125 = load ptr, ptr %124, align 8 %126 = getelementptr inbounds %struct.TYPE_2__, ptr %125, i32 0, i32 0 %127 = load i64, ptr %126, align 8 %128 = load i64, ptr @AF_INET, align 8 %129 = icmp eq i64 %127, %128 br i1 %129, label %130, label %150 130: ; preds = %122 %131 = load i8, ptr %12, align 1 %132 = sext i8 %131 to i32 %133 = and i32 %132, 10 %134 = icmp ne i32 %133, 0 br i1 %134, label %150, label %135 135: ; preds = %130 %136 = load i8, ptr %12, align 1 %137 = sext i8 %136 to i32 %138 = or i32 %137, 8 %139 = trunc i32 %138 to i8 store i8 %139, ptr %12, align 1 %140 = load ptr, ptr %11, align 8 %141 = getelementptr inbounds %struct.ifaddrs, ptr %140, i32 0, i32 0 %142 = load ptr, ptr %141, align 8 %143 = getelementptr inbounds [40 x i8], ptr %13, i64 0, i64 0 %144 = load i32, ptr @NI_NUMERICHOST, align 4 %145 = call i32 @getnameinfo(ptr noundef %142, i32 noundef 4, ptr noundef %143, i32 noundef 40, ptr noundef null, i32 noundef 0, i32 noundef %144) %146 = load i64, ptr @AF_INET, align 8 %147 = getelementptr inbounds [40 x i8], ptr %13, i64 0, i64 0 %148 = load ptr, ptr %8, align 8 %149 = call i32 @inet_pton(i64 noundef %146, ptr noundef %147, ptr noundef %148) br label %150 150: ; preds = %135, %130, %122 br label %151 151: ; preds = %150, %107 br label %152 152: ; preds = %151, %93 %153 = load i8, ptr %12, align 1 %154 = sext i8 %153 to i32 %155 = and i32 %154, 3 %156 = icmp eq i32 %155, 3 br i1 %156, label %157, label %158 157: ; preds = %152 br label %163 158: ; preds = %152 br label %159 159: ; preds = %158, %28 %160 = load ptr, ptr %11, align 8 %161 = getelementptr inbounds %struct.ifaddrs, ptr %160, i32 0, i32 2 %162 = load ptr, ptr %161, align 8 store ptr %162, ptr %11, align 8 br label %20, !llvm.loop !6 163: ; preds = %157, %20 %164 = load i8, ptr %12, align 1 %165 = sext i8 %164 to i32 %166 = and i32 %165, 10 %167 = icmp ne i32 %166, 0 br i1 %167, label %173, label %168 168: ; preds = %163 %169 = load i64, ptr @AF_INET, align 8 %170 = load ptr, ptr %9, align 8 %171 = load ptr, ptr %8, align 8 %172 = call i32 @inet_pton(i64 noundef %169, ptr noundef %170, ptr noundef %171) br label %173 173: ; preds = %168, %163 %174 = load i8, ptr %12, align 1 %175 = sext i8 %174 to i32 %176 = and i32 %175, 5 %177 = icmp ne i32 %176, 0 br i1 %177, label %182, label %178 178: ; preds = %173 %179 = load i64, ptr @AF_INET6, align 8 %180 = load ptr, ptr %7, align 8 %181 = call i32 @inet_pton(i64 noundef %179, ptr noundef @.str.1, ptr noundef %180) br label %182 182: ; preds = %178, %173 %183 = load ptr, ptr %10, align 8 %184 = call i32 @freeifaddrs(ptr noundef %183) store i32 0, ptr %5, align 4 br label %185 185: ; preds = %182, %16 %186 = load i32, ptr %5, align 4 ret i32 %186 } declare i32 @getifaddrs(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @strcmp(i32 noundef, ptr noundef) #1 declare i32 @getnameinfo(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @inet_pton(i64 noundef, ptr noundef, ptr noundef) #1 declare i32 @freeifaddrs(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp21qpmg8a.c" target datalayout = "e-m:e-p270: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.ifaddrs = type { ptr, i32, ptr } %struct.TYPE_2__ = type { i64 } @.str = private unnamed_addr constant [11 x i8] c"getifaddrs\00", align 1 @AF_INET6 = dso_local global i64 0, align 8 @NI_NUMERICHOST = dso_local global i32 0, align 4 @AF_INET = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [18 x i8] c"64:ff9b::E7ad:514\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @cfg_host_ips(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i8, align 1 %13 = alloca [40 x i8], align 16 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store i8 0, ptr %12, align 1 %14 = call i32 @getifaddrs(ptr noundef %10) %15 = icmp eq i32 %14, -1 br i1 %15, label %16, label %18 16: ; preds = %4 %17 = call i32 @perror(ptr noundef @.str) store i32 1, ptr %5, align 4 br label %186 18: ; preds = %4 %19 = load ptr, ptr %10, align 8 store ptr %19, ptr %11, align 8 %20 = load ptr, ptr %11, align 8 %21 = icmp ne ptr %20, null br i1 %21, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %18 br label %22 22: ; preds = %.lr.ph, %158 %23 = load ptr, ptr %11, align 8 %24 = getelementptr inbounds %struct.ifaddrs, ptr %23, i32 0, i32 0 %25 = load ptr, ptr %24, align 8 %26 = icmp eq ptr %25, null br i1 %26, label %27, label %28 27: ; preds = %22 br label %158 28: ; preds = %22 %29 = load ptr, ptr %11, align 8 %30 = getelementptr inbounds %struct.ifaddrs, ptr %29, i32 0, i32 1 %31 = load i32, ptr %30, align 8 %32 = load ptr, ptr %6, align 8 %33 = call i32 @strcmp(i32 noundef %31, ptr noundef %32) %34 = icmp ne i32 %33, 0 br i1 %34, label %93, label %35 35: ; preds = %28 %36 = load ptr, ptr %11, align 8 %37 = getelementptr inbounds %struct.ifaddrs, ptr %36, i32 0, i32 0 %38 = load ptr, ptr %37, align 8 %39 = getelementptr inbounds %struct.TYPE_2__, ptr %38, i32 0, i32 0 %40 = load i64, ptr %39, align 8 %41 = load i64, ptr @AF_INET6, align 8 %42 = icmp eq i64 %40, %41 br i1 %42, label %43, label %63 43: ; preds = %35 %44 = load i8, ptr %12, align 1 %45 = sext i8 %44 to i32 %46 = and i32 %45, 1 %47 = icmp ne i32 %46, 0 br i1 %47, label %63, label %48 48: ; preds = %43 %49 = load i8, ptr %12, align 1 %50 = sext i8 %49 to i32 %51 = or i32 %50, 1 %52 = trunc i32 %51 to i8 store i8 %52, ptr %12, align 1 %53 = load ptr, ptr %11, align 8 %54 = getelementptr inbounds %struct.ifaddrs, ptr %53, i32 0, i32 0 %55 = load ptr, ptr %54, align 8 %56 = getelementptr inbounds [40 x i8], ptr %13, i64 0, i64 0 %57 = load i32, ptr @NI_NUMERICHOST, align 4 %58 = call i32 @getnameinfo(ptr noundef %55, i32 noundef 4, ptr noundef %56, i32 noundef 40, ptr noundef null, i32 noundef 0, i32 noundef %57) %59 = load i64, ptr @AF_INET6, align 8 %60 = getelementptr inbounds [40 x i8], ptr %13, i64 0, i64 0 %61 = load ptr, ptr %7, align 8 %62 = call i32 @inet_pton(i64 noundef %59, ptr noundef %60, ptr noundef %61) br label %92 63: ; preds = %43, %35 %64 = load ptr, ptr %11, align 8 %65 = getelementptr inbounds %struct.ifaddrs, ptr %64, i32 0, i32 0 %66 = load ptr, ptr %65, align 8 %67 = getelementptr inbounds %struct.TYPE_2__, ptr %66, i32 0, i32 0 %68 = load i64, ptr %67, align 8 %69 = load i64, ptr @AF_INET, align 8 %70 = icmp eq i64 %68, %69 br i1 %70, label %71, label %91 71: ; preds = %63 %72 = load i8, ptr %12, align 1 %73 = sext i8 %72 to i32 %74 = and i32 %73, 2 %75 = icmp ne i32 %74, 0 br i1 %75, label %91, label %76 76: ; preds = %71 %77 = load i8, ptr %12, align 1 %78 = sext i8 %77 to i32 %79 = or i32 %78, 2 %80 = trunc i32 %79 to i8 store i8 %80, ptr %12, align 1 %81 = load ptr, ptr %11, align 8 %82 = getelementptr inbounds %struct.ifaddrs, ptr %81, i32 0, i32 0 %83 = load ptr, ptr %82, align 8 %84 = getelementptr inbounds [40 x i8], ptr %13, i64 0, i64 0 %85 = load i32, ptr @NI_NUMERICHOST, align 4 %86 = call i32 @getnameinfo(ptr noundef %83, i32 noundef 4, ptr noundef %84, i32 noundef 40, ptr noundef null, i32 noundef 0, i32 noundef %85) %87 = load i64, ptr @AF_INET, align 8 %88 = getelementptr inbounds [40 x i8], ptr %13, i64 0, i64 0 %89 = load ptr, ptr %8, align 8 %90 = call i32 @inet_pton(i64 noundef %87, ptr noundef %88, ptr noundef %89) br label %91 91: ; preds = %76, %71, %63 br label %92 92: ; preds = %91, %48 br label %151 93: ; preds = %28 %94 = load ptr, ptr %11, align 8 %95 = getelementptr inbounds %struct.ifaddrs, ptr %94, i32 0, i32 0 %96 = load ptr, ptr %95, align 8 %97 = getelementptr inbounds %struct.TYPE_2__, ptr %96, i32 0, i32 0 %98 = load i64, ptr %97, align 8 %99 = load i64, ptr @AF_INET6, align 8 %100 = icmp eq i64 %98, %99 br i1 %100, label %101, label %121 101: ; preds = %93 %102 = load i8, ptr %12, align 1 %103 = sext i8 %102 to i32 %104 = and i32 %103, 5 %105 = icmp ne i32 %104, 0 br i1 %105, label %121, label %106 106: ; preds = %101 %107 = load i8, ptr %12, align 1 %108 = sext i8 %107 to i32 %109 = or i32 %108, 4 %110 = trunc i32 %109 to i8 store i8 %110, ptr %12, align 1 %111 = load ptr, ptr %11, align 8 %112 = getelementptr inbounds %struct.ifaddrs, ptr %111, i32 0, i32 0 %113 = load ptr, ptr %112, align 8 %114 = getelementptr inbounds [40 x i8], ptr %13, i64 0, i64 0 %115 = load i32, ptr @NI_NUMERICHOST, align 4 %116 = call i32 @getnameinfo(ptr noundef %113, i32 noundef 4, ptr noundef %114, i32 noundef 40, ptr noundef null, i32 noundef 0, i32 noundef %115) %117 = load i64, ptr @AF_INET6, align 8 %118 = getelementptr inbounds [40 x i8], ptr %13, i64 0, i64 0 %119 = load ptr, ptr %7, align 8 %120 = call i32 @inet_pton(i64 noundef %117, ptr noundef %118, ptr noundef %119) br label %150 121: ; preds = %101, %93 %122 = load ptr, ptr %11, align 8 %123 = getelementptr inbounds %struct.ifaddrs, ptr %122, i32 0, i32 0 %124 = load ptr, ptr %123, align 8 %125 = getelementptr inbounds %struct.TYPE_2__, ptr %124, i32 0, i32 0 %126 = load i64, ptr %125, align 8 %127 = load i64, ptr @AF_INET, align 8 %128 = icmp eq i64 %126, %127 br i1 %128, label %129, label %149 129: ; preds = %121 %130 = load i8, ptr %12, align 1 %131 = sext i8 %130 to i32 %132 = and i32 %131, 10 %133 = icmp ne i32 %132, 0 br i1 %133, label %149, label %134 134: ; preds = %129 %135 = load i8, ptr %12, align 1 %136 = sext i8 %135 to i32 %137 = or i32 %136, 8 %138 = trunc i32 %137 to i8 store i8 %138, ptr %12, align 1 %139 = load ptr, ptr %11, align 8 %140 = getelementptr inbounds %struct.ifaddrs, ptr %139, i32 0, i32 0 %141 = load ptr, ptr %140, align 8 %142 = getelementptr inbounds [40 x i8], ptr %13, i64 0, i64 0 %143 = load i32, ptr @NI_NUMERICHOST, align 4 %144 = call i32 @getnameinfo(ptr noundef %141, i32 noundef 4, ptr noundef %142, i32 noundef 40, ptr noundef null, i32 noundef 0, i32 noundef %143) %145 = load i64, ptr @AF_INET, align 8 %146 = getelementptr inbounds [40 x i8], ptr %13, i64 0, i64 0 %147 = load ptr, ptr %8, align 8 %148 = call i32 @inet_pton(i64 noundef %145, ptr noundef %146, ptr noundef %147) br label %149 149: ; preds = %134, %129, %121 br label %150 150: ; preds = %149, %106 br label %151 151: ; preds = %150, %92 %152 = load i8, ptr %12, align 1 %153 = sext i8 %152 to i32 %154 = and i32 %153, 3 %155 = icmp eq i32 %154, 3 br i1 %155, label %156, label %157 156: ; preds = %151 br label %164 157: ; preds = %151 br label %158 158: ; preds = %157, %27 %159 = load ptr, ptr %11, align 8 %160 = getelementptr inbounds %struct.ifaddrs, ptr %159, i32 0, i32 2 %161 = load ptr, ptr %160, align 8 store ptr %161, ptr %11, align 8 %162 = load ptr, ptr %11, align 8 %163 = icmp ne ptr %162, null br i1 %163, label %22, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %158 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %18 br label %164 164: ; preds = %.loopexit, %156 %165 = load i8, ptr %12, align 1 %166 = sext i8 %165 to i32 %167 = and i32 %166, 10 %168 = icmp ne i32 %167, 0 br i1 %168, label %174, label %169 169: ; preds = %164 %170 = load i64, ptr @AF_INET, align 8 %171 = load ptr, ptr %9, align 8 %172 = load ptr, ptr %8, align 8 %173 = call i32 @inet_pton(i64 noundef %170, ptr noundef %171, ptr noundef %172) br label %174 174: ; preds = %169, %164 %175 = load i8, ptr %12, align 1 %176 = sext i8 %175 to i32 %177 = and i32 %176, 5 %178 = icmp ne i32 %177, 0 br i1 %178, label %183, label %179 179: ; preds = %174 %180 = load i64, ptr @AF_INET6, align 8 %181 = load ptr, ptr %7, align 8 %182 = call i32 @inet_pton(i64 noundef %180, ptr noundef @.str.1, ptr noundef %181) br label %183 183: ; preds = %179, %174 %184 = load ptr, ptr %10, align 8 %185 = call i32 @freeifaddrs(ptr noundef %184) store i32 0, ptr %5, align 4 br label %186 186: ; preds = %183, %16 %187 = load i32, ptr %5, align 4 ret i32 %187 } declare i32 @getifaddrs(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @strcmp(i32 noundef, ptr noundef) #1 declare i32 @getnameinfo(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @inet_pton(i64 noundef, ptr noundef, ptr noundef) #1 declare i32 @freeifaddrs(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpcxcaly0w.c' source_filename = "/tmp/tmpcxcaly0w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strsep(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = load ptr, ptr %8, align 8 store ptr %9, ptr %6, align 8 %10 = load ptr, ptr %6, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %13 12: ; preds = %2 store ptr null, ptr %3, align 8 br label %28 13: ; preds = %2 %14 = load ptr, ptr %6, align 8 %15 = load ptr, ptr %5, align 8 %16 = call ptr @strpbrk(ptr noundef %14, ptr noundef %15) store ptr %16, ptr %7, align 8 %17 = load ptr, ptr %7, align 8 %18 = icmp ne ptr %17, null br i1 %18, label %19, label %24 19: ; preds = %13 %20 = load ptr, ptr %7, align 8 store i8 0, ptr %20, align 1 %21 = load ptr, ptr %7, align 8 %22 = getelementptr inbounds i8, ptr %21, i64 1 %23 = load ptr, ptr %4, align 8 store ptr %22, ptr %23, align 8 br label %26 24: ; preds = %13 %25 = load ptr, ptr %4, align 8 store ptr null, ptr %25, align 8 br label %26 26: ; preds = %24, %19 %27 = load ptr, ptr %6, align 8 store ptr %27, ptr %3, align 8 br label %28 28: ; preds = %26, %12 %29 = load ptr, ptr %3, align 8 ret ptr %29 } declare ptr @strpbrk(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/tmpcxcaly0w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strsep(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = load ptr, ptr %8, align 8 store ptr %9, ptr %6, align 8 %10 = load ptr, ptr %6, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %13 12: ; preds = %2 store ptr null, ptr %3, align 8 br label %28 13: ; preds = %2 %14 = load ptr, ptr %6, align 8 %15 = load ptr, ptr %5, align 8 %16 = call ptr @strpbrk(ptr noundef %14, ptr noundef %15) store ptr %16, ptr %7, align 8 %17 = load ptr, ptr %7, align 8 %18 = icmp ne ptr %17, null br i1 %18, label %19, label %24 19: ; preds = %13 %20 = load ptr, ptr %7, align 8 store i8 0, ptr %20, align 1 %21 = load ptr, ptr %7, align 8 %22 = getelementptr inbounds i8, ptr %21, i64 1 %23 = load ptr, ptr %4, align 8 store ptr %22, ptr %23, align 8 br label %26 24: ; preds = %13 %25 = load ptr, ptr %4, align 8 store ptr null, ptr %25, align 8 br label %26 26: ; preds = %24, %19 %27 = load ptr, ptr %6, align 8 store ptr %27, ptr %3, align 8 br label %28 28: ; preds = %26, %12 %29 = load ptr, ptr %3, align 8 ret ptr %29 } declare ptr @strpbrk(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/tmp8msxglzy.c' source_filename = "/tmp/tmp8msxglzy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [48 x i8] c"%s:%d Expecting %.14f to have %d decimals ... \0A\00", align 1 @.str.1 = private unnamed_addr constant [159 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/WizardMac/ReadStat/refs/heads/master/src/test/test_double_decimals.c\00", align 1 @.str.2 = private unnamed_addr constant [42 x i8] c"%s:%d error got %d decimals, expected %d\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [26 x i8] c"%s:%d OK got %d decimals\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 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 17, i32 noundef -123, i32 noundef 3) %7 = call i32 @double_decimals(double noundef -1.231230e+02) %8 = icmp ne i32 %7, 3 br i1 %8, label %9, label %14 9: ; preds = %2 %10 = call i32 @double_decimals(double noundef -1.231230e+02) %11 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 17, i32 noundef %10, i32 noundef 3) %12 = load i32, ptr @EXIT_FAILURE, align 4 %13 = call i32 @exit(i32 noundef %12) #3 unreachable 14: ; preds = %2 %15 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 17, i32 noundef 3) br label %16 16: ; preds = %14 %17 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 18, i32 noundef -100, i32 noundef 0) %18 = call i32 @double_decimals(double noundef -1.000000e+02) %19 = icmp ne i32 %18, 0 br i1 %19, label %20, label %25 20: ; preds = %16 %21 = call i32 @double_decimals(double noundef -1.000000e+02) %22 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 18, i32 noundef %21, i32 noundef 0) %23 = load i32, ptr @EXIT_FAILURE, align 4 %24 = call i32 @exit(i32 noundef %23) #3 unreachable 25: ; preds = %16 %26 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 18, i32 noundef 0) br label %27 27: ; preds = %25 %28 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 19, i32 noundef 0, i32 noundef 0) %29 = call i32 @double_decimals(double noundef 0.000000e+00) %30 = icmp ne i32 %29, 0 br i1 %30, label %31, label %36 31: ; preds = %27 %32 = call i32 @double_decimals(double noundef 0.000000e+00) %33 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 19, i32 noundef %32, i32 noundef 0) %34 = load i32, ptr @EXIT_FAILURE, align 4 %35 = call i32 @exit(i32 noundef %34) #3 unreachable 36: ; preds = %27 %37 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 19, i32 noundef 0) br label %38 38: ; preds = %36 %39 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 20, i32 noundef 123, i32 noundef 0) %40 = call i32 @double_decimals(double noundef 1.230000e+02) %41 = icmp ne i32 %40, 0 br i1 %41, label %42, label %47 42: ; preds = %38 %43 = call i32 @double_decimals(double noundef 1.230000e+02) %44 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 20, i32 noundef %43, i32 noundef 0) %45 = load i32, ptr @EXIT_FAILURE, align 4 %46 = call i32 @exit(i32 noundef %45) #3 unreachable 47: ; preds = %38 %48 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 20, i32 noundef 0) br label %49 49: ; preds = %47 %50 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 21, i32 noundef 123, i32 noundef 2) %51 = call i32 @double_decimals(double noundef 1.235600e+02) %52 = icmp ne i32 %51, 2 br i1 %52, label %53, label %58 53: ; preds = %49 %54 = call i32 @double_decimals(double noundef 1.235600e+02) %55 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 21, i32 noundef %54, i32 noundef 2) %56 = load i32, ptr @EXIT_FAILURE, align 4 %57 = call i32 @exit(i32 noundef %56) #3 unreachable 58: ; preds = %49 %59 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 21, i32 noundef 2) br label %60 60: ; preds = %58 %61 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 22, i32 noundef 123, i32 noundef 3) %62 = call i32 @double_decimals(double noundef 1.231230e+02) %63 = icmp ne i32 %62, 3 br i1 %63, label %64, label %69 64: ; preds = %60 %65 = call i32 @double_decimals(double noundef 1.231230e+02) %66 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 22, i32 noundef %65, i32 noundef 3) %67 = load i32, ptr @EXIT_FAILURE, align 4 %68 = call i32 @exit(i32 noundef %67) #3 unreachable 69: ; preds = %60 %70 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 22, i32 noundef 3) br label %71 71: ; preds = %69 %72 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 23, i32 noundef 123, i32 noundef 9) %73 = call i32 @double_decimals(double noundef 0x405EC7E6B74DCE59) %74 = icmp ne i32 %73, 9 br i1 %74, label %75, label %80 75: ; preds = %71 %76 = call i32 @double_decimals(double noundef 0x405EC7E6B74DCE59) %77 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 23, i32 noundef %76, i32 noundef 9) %78 = load i32, ptr @EXIT_FAILURE, align 4 %79 = call i32 @exit(i32 noundef %78) #3 unreachable 80: ; preds = %71 %81 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 23, i32 noundef 9) br label %82 82: ; preds = %80 %83 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 24, i32 noundef 123, i32 noundef 10) %84 = call i32 @double_decimals(double noundef 0x405EC7E6B74DE9D6) %85 = icmp ne i32 %84, 10 br i1 %85, label %86, label %91 86: ; preds = %82 %87 = call i32 @double_decimals(double noundef 0x405EC7E6B74DE9D6) %88 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 24, i32 noundef %87, i32 noundef 10) %89 = load i32, ptr @EXIT_FAILURE, align 4 %90 = call i32 @exit(i32 noundef %89) #3 unreachable 91: ; preds = %82 %92 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 24, i32 noundef 10) br label %93 93: ; preds = %91 %94 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 25, i32 noundef 123, i32 noundef 12) %95 = call i32 @double_decimals(double noundef 0x405EC7E6B74DD1A5) %96 = icmp ne i32 %95, 12 br i1 %96, label %97, label %102 97: ; preds = %93 %98 = call i32 @double_decimals(double noundef 0x405EC7E6B74DD1A5) %99 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 25, i32 noundef %98, i32 noundef 12) %100 = load i32, ptr @EXIT_FAILURE, align 4 %101 = call i32 @exit(i32 noundef %100) #3 unreachable 102: ; preds = %93 %103 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 25, i32 noundef 12) br label %104 104: ; preds = %102 %105 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 26, i32 noundef 123, i32 noundef 12) %106 = call i32 @double_decimals(double noundef 0x405EC666666669B3) %107 = icmp ne i32 %106, 12 br i1 %107, label %108, label %113 108: ; preds = %104 %109 = call i32 @double_decimals(double noundef 0x405EC666666669B3) %110 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 26, i32 noundef %109, i32 noundef 12) %111 = load i32, ptr @EXIT_FAILURE, align 4 %112 = call i32 @exit(i32 noundef %111) #3 unreachable 113: ; preds = %104 %114 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 26, i32 noundef 12) br label %115 115: ; preds = %113 %116 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 27, i32 noundef 123, i32 noundef 14) %117 = call i32 @double_decimals(double noundef 0x405EC7E6B74DD1BD) %118 = icmp ne i32 %117, 14 br i1 %118, label %119, label %124 119: ; preds = %115 %120 = call i32 @double_decimals(double noundef 0x405EC7E6B74DD1BD) %121 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 27, i32 noundef %120, i32 noundef 14) %122 = load i32, ptr @EXIT_FAILURE, align 4 %123 = call i32 @exit(i32 noundef %122) #3 unreachable 124: ; preds = %115 %125 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 27, i32 noundef 14) br label %126 126: ; preds = %124 ret i32 0 } declare i32 @printf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ...) #1 declare i32 @double_decimals(double 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/tmp8msxglzy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [48 x i8] c"%s:%d Expecting %.14f to have %d decimals ... \0A\00", align 1 @.str.1 = private unnamed_addr constant [159 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/WizardMac/ReadStat/refs/heads/master/src/test/test_double_decimals.c\00", align 1 @.str.2 = private unnamed_addr constant [42 x i8] c"%s:%d error got %d decimals, expected %d\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [26 x i8] c"%s:%d OK got %d decimals\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 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 17, i32 noundef -123, i32 noundef 3) %7 = call i32 @double_decimals(double noundef -1.231230e+02) %8 = icmp ne i32 %7, 3 br i1 %8, label %9, label %14 9: ; preds = %2 %10 = call i32 @double_decimals(double noundef -1.231230e+02) %11 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 17, i32 noundef %10, i32 noundef 3) %12 = load i32, ptr @EXIT_FAILURE, align 4 %13 = call i32 @exit(i32 noundef %12) #3 unreachable 14: ; preds = %2 %15 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 17, i32 noundef 3) br label %16 16: ; preds = %14 %17 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 18, i32 noundef -100, i32 noundef 0) %18 = call i32 @double_decimals(double noundef -1.000000e+02) %19 = icmp ne i32 %18, 0 br i1 %19, label %20, label %25 20: ; preds = %16 %21 = call i32 @double_decimals(double noundef -1.000000e+02) %22 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 18, i32 noundef %21, i32 noundef 0) %23 = load i32, ptr @EXIT_FAILURE, align 4 %24 = call i32 @exit(i32 noundef %23) #3 unreachable 25: ; preds = %16 %26 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 18, i32 noundef 0) br label %27 27: ; preds = %25 %28 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 19, i32 noundef 0, i32 noundef 0) %29 = call i32 @double_decimals(double noundef 0.000000e+00) %30 = icmp ne i32 %29, 0 br i1 %30, label %31, label %36 31: ; preds = %27 %32 = call i32 @double_decimals(double noundef 0.000000e+00) %33 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 19, i32 noundef %32, i32 noundef 0) %34 = load i32, ptr @EXIT_FAILURE, align 4 %35 = call i32 @exit(i32 noundef %34) #3 unreachable 36: ; preds = %27 %37 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 19, i32 noundef 0) br label %38 38: ; preds = %36 %39 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 20, i32 noundef 123, i32 noundef 0) %40 = call i32 @double_decimals(double noundef 1.230000e+02) %41 = icmp ne i32 %40, 0 br i1 %41, label %42, label %47 42: ; preds = %38 %43 = call i32 @double_decimals(double noundef 1.230000e+02) %44 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 20, i32 noundef %43, i32 noundef 0) %45 = load i32, ptr @EXIT_FAILURE, align 4 %46 = call i32 @exit(i32 noundef %45) #3 unreachable 47: ; preds = %38 %48 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 20, i32 noundef 0) br label %49 49: ; preds = %47 %50 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 21, i32 noundef 123, i32 noundef 2) %51 = call i32 @double_decimals(double noundef 1.235600e+02) %52 = icmp ne i32 %51, 2 br i1 %52, label %53, label %58 53: ; preds = %49 %54 = call i32 @double_decimals(double noundef 1.235600e+02) %55 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 21, i32 noundef %54, i32 noundef 2) %56 = load i32, ptr @EXIT_FAILURE, align 4 %57 = call i32 @exit(i32 noundef %56) #3 unreachable 58: ; preds = %49 %59 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 21, i32 noundef 2) br label %60 60: ; preds = %58 %61 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 22, i32 noundef 123, i32 noundef 3) %62 = call i32 @double_decimals(double noundef 1.231230e+02) %63 = icmp ne i32 %62, 3 br i1 %63, label %64, label %69 64: ; preds = %60 %65 = call i32 @double_decimals(double noundef 1.231230e+02) %66 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 22, i32 noundef %65, i32 noundef 3) %67 = load i32, ptr @EXIT_FAILURE, align 4 %68 = call i32 @exit(i32 noundef %67) #3 unreachable 69: ; preds = %60 %70 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 22, i32 noundef 3) br label %71 71: ; preds = %69 %72 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 23, i32 noundef 123, i32 noundef 9) %73 = call i32 @double_decimals(double noundef 0x405EC7E6B74DCE59) %74 = icmp ne i32 %73, 9 br i1 %74, label %75, label %80 75: ; preds = %71 %76 = call i32 @double_decimals(double noundef 0x405EC7E6B74DCE59) %77 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 23, i32 noundef %76, i32 noundef 9) %78 = load i32, ptr @EXIT_FAILURE, align 4 %79 = call i32 @exit(i32 noundef %78) #3 unreachable 80: ; preds = %71 %81 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 23, i32 noundef 9) br label %82 82: ; preds = %80 %83 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 24, i32 noundef 123, i32 noundef 10) %84 = call i32 @double_decimals(double noundef 0x405EC7E6B74DE9D6) %85 = icmp ne i32 %84, 10 br i1 %85, label %86, label %91 86: ; preds = %82 %87 = call i32 @double_decimals(double noundef 0x405EC7E6B74DE9D6) %88 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 24, i32 noundef %87, i32 noundef 10) %89 = load i32, ptr @EXIT_FAILURE, align 4 %90 = call i32 @exit(i32 noundef %89) #3 unreachable 91: ; preds = %82 %92 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 24, i32 noundef 10) br label %93 93: ; preds = %91 %94 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 25, i32 noundef 123, i32 noundef 12) %95 = call i32 @double_decimals(double noundef 0x405EC7E6B74DD1A5) %96 = icmp ne i32 %95, 12 br i1 %96, label %97, label %102 97: ; preds = %93 %98 = call i32 @double_decimals(double noundef 0x405EC7E6B74DD1A5) %99 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 25, i32 noundef %98, i32 noundef 12) %100 = load i32, ptr @EXIT_FAILURE, align 4 %101 = call i32 @exit(i32 noundef %100) #3 unreachable 102: ; preds = %93 %103 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 25, i32 noundef 12) br label %104 104: ; preds = %102 %105 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 26, i32 noundef 123, i32 noundef 12) %106 = call i32 @double_decimals(double noundef 0x405EC666666669B3) %107 = icmp ne i32 %106, 12 br i1 %107, label %108, label %113 108: ; preds = %104 %109 = call i32 @double_decimals(double noundef 0x405EC666666669B3) %110 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 26, i32 noundef %109, i32 noundef 12) %111 = load i32, ptr @EXIT_FAILURE, align 4 %112 = call i32 @exit(i32 noundef %111) #3 unreachable 113: ; preds = %104 %114 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 26, i32 noundef 12) br label %115 115: ; preds = %113 %116 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 27, i32 noundef 123, i32 noundef 14) %117 = call i32 @double_decimals(double noundef 0x405EC7E6B74DD1BD) %118 = icmp ne i32 %117, 14 br i1 %118, label %119, label %124 119: ; preds = %115 %120 = call i32 @double_decimals(double noundef 0x405EC7E6B74DD1BD) %121 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 27, i32 noundef %120, i32 noundef 14) %122 = load i32, ptr @EXIT_FAILURE, align 4 %123 = call i32 @exit(i32 noundef %122) #3 unreachable 124: ; preds = %115 %125 = call i32 (ptr, ptr, i32, i32, ...) @printf(ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 27, i32 noundef 14) br label %126 126: ; preds = %124 ret i32 0 } declare i32 @printf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ...) #1 declare i32 @double_decimals(double 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/tmpi7gp6ao2.c' source_filename = "/tmp/tmpi7gp6ao2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @use132() #0 { %1 = call i32 (...) @redecl5() ret void } declare i32 @redecl5(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi7gp6ao2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @use132() #0 { %1 = call i32 (...) @redecl5() ret void } declare i32 @redecl5(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgtghr7si.c' source_filename = "/tmp/tmpgtghr7si.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"lista[%i]: %i \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @mostrar2(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %15, %1 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 10 br i1 %6, label %7, label %18 7: ; preds = %4 %8 = load i32, ptr %3, align 4 %9 = load ptr, ptr %2, align 8 %10 = load i32, ptr %3, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds i32, ptr %9, i64 %11 %13 = load i32, ptr %12, align 4 %14 = call i32 @printf(ptr noundef @.str, i32 noundef %8, i32 noundef %13) br label %15 15: ; preds = %7 %16 = load i32, ptr %3, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %3, align 4 br label %4, !llvm.loop !6 18: ; preds = %4 ret void } declare i32 @printf(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/tmpgtghr7si.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"lista[%i]: %i \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @mostrar2(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp slt i32 %4, 10 br i1 %5, label %.lr.ph, label %19 .lr.ph: ; preds = %1 br label %6 6: ; preds = %.lr.ph, %14 %7 = load i32, ptr %3, align 4 %8 = load ptr, ptr %2, align 8 %9 = load i32, ptr %3, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds i32, ptr %8, i64 %10 %12 = load i32, ptr %11, align 4 %13 = call i32 @printf(ptr noundef @.str, i32 noundef %7, i32 noundef %12) br label %14 14: ; preds = %6 %15 = load i32, ptr %3, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %3, align 4 %17 = load i32, ptr %3, align 4 %18 = icmp slt i32 %17, 10 br i1 %18, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %19 19: ; preds = %._crit_edge, %1 ret void } declare i32 @printf(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/tmpg2r0hkjt.c' source_filename = "/tmp/tmpg2r0hkjt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @strcspn(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i64, align 8 %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 store i64 0, ptr %6, align 8 br label %7 7: ; preds = %24, %2 %8 = load ptr, ptr %4, align 8 %9 = load i8, ptr %8, align 1 %10 = icmp ne i8 %9, 0 br i1 %10, label %11, label %25 11: ; preds = %7 %12 = load ptr, ptr %5, align 8 %13 = load ptr, ptr %4, align 8 %14 = load i8, ptr %13, align 1 %15 = call i64 @strchr(ptr noundef %12, i8 noundef signext %14) %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %19 17: ; preds = %11 %18 = load i64, ptr %6, align 8 store i64 %18, ptr %3, align 8 br label %27 19: ; preds = %11 %20 = load ptr, ptr %4, align 8 %21 = getelementptr inbounds i8, ptr %20, i32 1 store ptr %21, ptr %4, align 8 %22 = load i64, ptr %6, align 8 %23 = add i64 %22, 1 store i64 %23, ptr %6, align 8 br label %24 24: ; preds = %19 br label %7, !llvm.loop !6 25: ; preds = %7 %26 = load i64, ptr %6, align 8 store i64 %26, ptr %3, align 8 br label %27 27: ; preds = %25, %17 %28 = load i64, ptr %3, align 8 ret i64 %28 } declare i64 @strchr(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpg2r0hkjt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @strcspn(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i64, align 8 %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 store i64 0, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load i8, ptr %7, align 1 %9 = icmp ne i8 %8, 0 br i1 %9, label %.lr.ph, label %27 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %23 %11 = load ptr, ptr %5, align 8 %12 = load ptr, ptr %4, align 8 %13 = load i8, ptr %12, align 1 %14 = call i64 @strchr(ptr noundef %11, i8 noundef signext %13) %15 = icmp ne i64 %14, 0 br i1 %15, label %16, label %18 16: ; preds = %10 %17 = load i64, ptr %6, align 8 store i64 %17, ptr %3, align 8 br label %29 18: ; preds = %10 %19 = load ptr, ptr %4, align 8 %20 = getelementptr inbounds i8, ptr %19, i32 1 store ptr %20, ptr %4, align 8 %21 = load i64, ptr %6, align 8 %22 = add i64 %21, 1 store i64 %22, ptr %6, align 8 br label %23 23: ; preds = %18 %24 = load ptr, ptr %4, align 8 %25 = load i8, ptr %24, align 1 %26 = icmp ne i8 %25, 0 br i1 %26, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %27 27: ; preds = %._crit_edge, %2 %28 = load i64, ptr %6, align 8 store i64 %28, ptr %3, align 8 br label %29 29: ; preds = %27, %16 %30 = load i64, ptr %3, align 8 ret i64 %30 } declare i64 @strchr(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpkv9a9bgc.c' source_filename = "/tmp/tmpkv9a9bgc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bbm_com_tuner_set_freq(ptr noundef %0, i16 noundef zeroext %1, i32 noundef %2, i8 noundef zeroext %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i16, align 2 %7 = alloca i32, align 4 %8 = alloca i8, align 1 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i16 %1, ptr %6, align 2 store i32 %2, ptr %7, align 4 store i8 %3, ptr %8, align 1 %10 = load ptr, ptr %5, align 8 %11 = load i16, ptr %6, align 2 %12 = load i32, ptr %7, align 4 %13 = load i8, ptr %8, align 1 %14 = call i32 @tuner_set_freq(ptr noundef %10, i16 noundef zeroext %11, i32 noundef %12, i8 noundef zeroext %13) store i32 %14, ptr %9, align 4 %15 = load i32, ptr %9, align 4 ret i32 %15 } declare i32 @tuner_set_freq(ptr noundef, i16 noundef zeroext, i32 noundef, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkv9a9bgc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bbm_com_tuner_set_freq(ptr noundef %0, i16 noundef zeroext %1, i32 noundef %2, i8 noundef zeroext %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i16, align 2 %7 = alloca i32, align 4 %8 = alloca i8, align 1 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i16 %1, ptr %6, align 2 store i32 %2, ptr %7, align 4 store i8 %3, ptr %8, align 1 %10 = load ptr, ptr %5, align 8 %11 = load i16, ptr %6, align 2 %12 = load i32, ptr %7, align 4 %13 = load i8, ptr %8, align 1 %14 = call i32 @tuner_set_freq(ptr noundef %10, i16 noundef zeroext %11, i32 noundef %12, i8 noundef zeroext %13) store i32 %14, ptr %9, align 4 %15 = load i32, ptr %9, align 4 ret i32 %15 } declare i32 @tuner_set_freq(ptr noundef, i16 noundef zeroext, i32 noundef, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1caphref.c' source_filename = "/tmp/tmp1caphref.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1caphref.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjmo1ybyy.c' source_filename = "/tmp/tmpjmo1ybyy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @binomial_coeff(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 store i64 1, ptr %5, align 8 %7 = load i64, ptr %4, align 8 %8 = load i64, ptr %3, align 8 %9 = load i64, ptr %4, align 8 %10 = sub nsw i64 %8, %9 %11 = icmp sgt i64 %7, %10 br i1 %11, label %12, label %16 12: ; preds = %2 %13 = load i64, ptr %3, align 8 %14 = load i64, ptr %4, align 8 %15 = sub nsw i64 %13, %14 store i64 %15, ptr %4, align 8 br label %16 16: ; preds = %12, %2 store i64 0, ptr %6, align 8 br label %17 17: ; preds = %31, %16 %18 = load i64, ptr %6, align 8 %19 = load i64, ptr %4, align 8 %20 = icmp slt i64 %18, %19 br i1 %20, label %21, label %34 21: ; preds = %17 %22 = load i64, ptr %3, align 8 %23 = load i64, ptr %6, align 8 %24 = sub nsw i64 %22, %23 %25 = load i64, ptr %5, align 8 %26 = mul nsw i64 %25, %24 store i64 %26, ptr %5, align 8 %27 = load i64, ptr %6, align 8 %28 = add nsw i64 %27, 1 %29 = load i64, ptr %5, align 8 %30 = sdiv i64 %29, %28 store i64 %30, ptr %5, align 8 br label %31 31: ; preds = %21 %32 = load i64, ptr %6, align 8 %33 = add nsw i64 %32, 1 store i64 %33, ptr %6, align 8 br label %17, !llvm.loop !6 34: ; preds = %17 %35 = load i64, ptr %5, align 8 ret i64 %35 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjmo1ybyy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @binomial_coeff(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 store i64 1, ptr %5, align 8 %7 = load i64, ptr %4, align 8 %8 = load i64, ptr %3, align 8 %9 = load i64, ptr %4, align 8 %10 = sub nsw i64 %8, %9 %11 = icmp sgt i64 %7, %10 br i1 %11, label %12, label %16 12: ; preds = %2 %13 = load i64, ptr %3, align 8 %14 = load i64, ptr %4, align 8 %15 = sub nsw i64 %13, %14 store i64 %15, ptr %4, align 8 br label %16 16: ; preds = %12, %2 store i64 0, ptr %6, align 8 %17 = load i64, ptr %6, align 8 %18 = load i64, ptr %4, align 8 %19 = icmp slt i64 %17, %18 br i1 %19, label %.lr.ph, label %36 .lr.ph: ; preds = %16 br label %20 20: ; preds = %.lr.ph, %30 %21 = load i64, ptr %3, align 8 %22 = load i64, ptr %6, align 8 %23 = sub nsw i64 %21, %22 %24 = load i64, ptr %5, align 8 %25 = mul nsw i64 %24, %23 store i64 %25, ptr %5, align 8 %26 = load i64, ptr %6, align 8 %27 = add nsw i64 %26, 1 %28 = load i64, ptr %5, align 8 %29 = sdiv i64 %28, %27 store i64 %29, ptr %5, align 8 br label %30 30: ; preds = %20 %31 = load i64, ptr %6, align 8 %32 = add nsw i64 %31, 1 store i64 %32, ptr %6, align 8 %33 = load i64, ptr %6, align 8 %34 = load i64, ptr %4, align 8 %35 = icmp slt i64 %33, %34 br i1 %35, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %30 br label %36 36: ; preds = %._crit_edge, %16 %37 = load i64, ptr %5, align 8 ret i64 %37 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmprlm_1tx3.c' source_filename = "/tmp/tmprlm_1tx3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @umount(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 @syscall(i32 noundef 52, ptr noundef %3, i32 noundef 0) ret i32 %4 } declare i32 @syscall(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprlm_1tx3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @umount(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 @syscall(i32 noundef 52, ptr noundef %3, i32 noundef 0) ret i32 %4 } declare i32 @syscall(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9mb3n60e.c' source_filename = "/tmp/tmp9mb3n60e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"Hello \00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"World\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = icmp eq i32 %2, 9 br i1 %3, label %4, label %6 4: ; preds = %0 %5 = call i32 @printf(ptr noundef @.str) br label %8 6: ; preds = %0 %7 = call i32 @printf(ptr noundef @.str.1) br label %8 8: ; preds = %6, %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/tmp9mb3n60e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"Hello \00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"World\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = icmp eq i32 %2, 9 br i1 %3, label %4, label %6 4: ; preds = %0 %5 = call i32 @printf(ptr noundef @.str) br label %8 6: ; preds = %0 %7 = call i32 @printf(ptr noundef @.str.1) br label %8 8: ; preds = %6, %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/tmpe4162fks.c' source_filename = "/tmp/tmpe4162fks.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pq_remove_at(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %9 = load ptr, ptr %6, align 8 %10 = load i32, ptr %9, align 4 store i32 %10, ptr %7, align 4 %11 = load i32, ptr %4, align 4 %12 = load i32, ptr %7, align 4 %13 = sub nsw i32 %12, 1 %14 = icmp slt i32 %11, %13 br i1 %14, label %15, label %28 15: ; preds = %3 %16 = load ptr, ptr %5, align 8 %17 = load i32, ptr %7, align 4 %18 = sub nsw i32 %17, 1 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i32, ptr %16, i64 %19 %21 = load i32, ptr %20, align 4 store i32 %21, ptr %8, align 4 %22 = load i32, ptr %4, align 4 %23 = load i32, ptr %8, align 4 %24 = load ptr, ptr %5, align 8 %25 = load i32, ptr %7, align 4 %26 = sub nsw i32 %25, 1 %27 = call i32 @pq_update_at(i32 noundef %22, i32 noundef %23, ptr noundef %24, i32 noundef %26) br label %28 28: ; preds = %15, %3 %29 = load i32, ptr %7, align 4 %30 = sub nsw i32 %29, 1 %31 = load ptr, ptr %6, align 8 store i32 %30, ptr %31, align 4 ret void } declare i32 @pq_update_at(i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpe4162fks.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pq_remove_at(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %9 = load ptr, ptr %6, align 8 %10 = load i32, ptr %9, align 4 store i32 %10, ptr %7, align 4 %11 = load i32, ptr %4, align 4 %12 = load i32, ptr %7, align 4 %13 = sub nsw i32 %12, 1 %14 = icmp slt i32 %11, %13 br i1 %14, label %15, label %28 15: ; preds = %3 %16 = load ptr, ptr %5, align 8 %17 = load i32, ptr %7, align 4 %18 = sub nsw i32 %17, 1 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i32, ptr %16, i64 %19 %21 = load i32, ptr %20, align 4 store i32 %21, ptr %8, align 4 %22 = load i32, ptr %4, align 4 %23 = load i32, ptr %8, align 4 %24 = load ptr, ptr %5, align 8 %25 = load i32, ptr %7, align 4 %26 = sub nsw i32 %25, 1 %27 = call i32 @pq_update_at(i32 noundef %22, i32 noundef %23, ptr noundef %24, i32 noundef %26) br label %28 28: ; preds = %15, %3 %29 = load i32, ptr %7, align 4 %30 = sub nsw i32 %29, 1 %31 = load ptr, ptr %6, align 8 store i32 %30, ptr %31, align 4 ret void } declare i32 @pq_update_at(i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxxmgqdv1.c' source_filename = "/tmp/tmpxxmgqdv1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"values.tmp\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"wpp\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"w+\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"%s %d %f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @Var_update(ptr noundef %0, float noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca float, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca float, align 4 %11 = alloca i32, align 4 %12 = alloca [30 x i8], align 16 store ptr %0, ptr %5, align 8 store float %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 %13 = load ptr, ptr %5, align 8 %14 = call i64 @Var_exists(ptr noundef %13) %15 = icmp ne i64 %14, 0 br i1 %15, label %16, label %79 16: ; preds = %3 %17 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %17, ptr %8, align 8 %18 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3) store ptr %18, ptr %9, align 8 store float 0.000000e+00, ptr %10, align 4 store i32 0, ptr %11, align 4 %19 = load ptr, ptr %8, align 8 %20 = icmp ne ptr %19, null br i1 %20, label %21, label %24 21: ; preds = %16 %22 = load ptr, ptr %9, align 8 %23 = icmp ne ptr %22, null br i1 %23, label %25, label %24 24: ; preds = %21, %16 store i32 0, ptr %4, align 4 br label %80 25: ; preds = %21 br label %26 26: ; preds = %51, %25 %27 = load ptr, ptr %8, align 8 %28 = call i32 @feof(ptr noundef %27) %29 = icmp ne i32 %28, 0 %30 = xor i1 %29, true br i1 %30, label %31, label %52 31: ; preds = %26 %32 = load ptr, ptr %8, align 8 %33 = getelementptr inbounds [30 x i8], ptr %12, i64 0, i64 0 %34 = call i32 @fscanf(ptr noundef %32, ptr noundef @.str.4, ptr noundef %33, ptr noundef %11, ptr noundef %10) %35 = getelementptr inbounds [30 x i8], ptr %12, i64 0, i64 0 %36 = load ptr, ptr %5, align 8 %37 = call i64 @strcmp(ptr noundef %35, ptr noundef %36) %38 = icmp eq i64 %37, 0 br i1 %38, label %39, label %45 39: ; preds = %31 %40 = load ptr, ptr %9, align 8 %41 = getelementptr inbounds [30 x i8], ptr %12, i64 0, i64 0 %42 = load i32, ptr %7, align 4 %43 = load float, ptr %6, align 4 %44 = call i32 @fprintf(ptr noundef %40, ptr noundef @.str.4, ptr noundef %41, i32 noundef %42, float noundef %43) br label %51 45: ; preds = %31 %46 = load ptr, ptr %9, align 8 %47 = getelementptr inbounds [30 x i8], ptr %12, i64 0, i64 0 %48 = load i32, ptr %11, align 4 %49 = load float, ptr %10, align 4 %50 = call i32 @fprintf(ptr noundef %46, ptr noundef @.str.4, ptr noundef %47, i32 noundef %48, float noundef %49) br label %51 51: ; preds = %45, %39 br label %26, !llvm.loop !6 52: ; preds = %26 %53 = load ptr, ptr %8, align 8 %54 = call i32 @fclose(ptr noundef %53) %55 = load ptr, ptr %9, align 8 %56 = call i32 @fclose(ptr noundef %55) %57 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.3) store ptr %57, ptr %8, align 8 %58 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.1) store ptr %58, ptr %9, align 8 br label %59 59: ; preds = %64, %52 %60 = load ptr, ptr %9, align 8 %61 = call i32 @feof(ptr noundef %60) %62 = icmp ne i32 %61, 0 %63 = xor i1 %62, true br i1 %63, label %64, label %73 64: ; preds = %59 %65 = load ptr, ptr %9, align 8 %66 = getelementptr inbounds [30 x i8], ptr %12, i64 0, i64 0 %67 = call i32 @fscanf(ptr noundef %65, ptr noundef @.str.4, ptr noundef %66, ptr noundef %11, ptr noundef %10) %68 = load ptr, ptr %8, align 8 %69 = getelementptr inbounds [30 x i8], ptr %12, i64 0, i64 0 %70 = load i32, ptr %11, align 4 %71 = load float, ptr %10, align 4 %72 = call i32 @fprintf(ptr noundef %68, ptr noundef @.str.4, ptr noundef %69, i32 noundef %70, float noundef %71) br label %59, !llvm.loop !8 73: ; preds = %59 %74 = load ptr, ptr %8, align 8 %75 = call i32 @fclose(ptr noundef %74) %76 = load ptr, ptr %9, align 8 %77 = call i32 @fclose(ptr noundef %76) %78 = call i32 @remove(ptr noundef @.str.2) store i32 1, ptr %4, align 4 br label %80 79: ; preds = %3 store i32 0, ptr %4, align 4 br label %80 80: ; preds = %79, %73, %24 %81 = load i32, ptr %4, align 4 ret i32 %81 } declare i64 @Var_exists(ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @feof(ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef, i32 noundef, float noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @remove(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpxxmgqdv1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"values.tmp\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"wpp\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"w+\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"%s %d %f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @Var_update(ptr noundef %0, float noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca float, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca float, align 4 %11 = alloca i32, align 4 %12 = alloca [30 x i8], align 16 store ptr %0, ptr %5, align 8 store float %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 %13 = load ptr, ptr %5, align 8 %14 = call i64 @Var_exists(ptr noundef %13) %15 = icmp ne i64 %14, 0 br i1 %15, label %16, label %85 16: ; preds = %3 %17 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %17, ptr %8, align 8 %18 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3) store ptr %18, ptr %9, align 8 store float 0.000000e+00, ptr %10, align 4 store i32 0, ptr %11, align 4 %19 = load ptr, ptr %8, align 8 %20 = icmp ne ptr %19, null br i1 %20, label %21, label %24 21: ; preds = %16 %22 = load ptr, ptr %9, align 8 %23 = icmp ne ptr %22, null br i1 %23, label %25, label %24 24: ; preds = %21, %16 store i32 0, ptr %4, align 4 br label %86 25: ; preds = %21 %26 = load ptr, ptr %8, align 8 %27 = call i32 @feof(ptr noundef %26) %28 = icmp ne i32 %27, 0 %29 = xor i1 %28, true br i1 %29, label %.lr.ph, label %55 .lr.ph: ; preds = %25 br label %30 30: ; preds = %.lr.ph, %50 %31 = load ptr, ptr %8, align 8 %32 = getelementptr inbounds [30 x i8], ptr %12, i64 0, i64 0 %33 = call i32 @fscanf(ptr noundef %31, ptr noundef @.str.4, ptr noundef %32, ptr noundef %11, ptr noundef %10) %34 = getelementptr inbounds [30 x i8], ptr %12, i64 0, i64 0 %35 = load ptr, ptr %5, align 8 %36 = call i64 @strcmp(ptr noundef %34, ptr noundef %35) %37 = icmp eq i64 %36, 0 br i1 %37, label %38, label %44 38: ; preds = %30 %39 = load ptr, ptr %9, align 8 %40 = getelementptr inbounds [30 x i8], ptr %12, i64 0, i64 0 %41 = load i32, ptr %7, align 4 %42 = load float, ptr %6, align 4 %43 = call i32 @fprintf(ptr noundef %39, ptr noundef @.str.4, ptr noundef %40, i32 noundef %41, float noundef %42) br label %50 44: ; preds = %30 %45 = load ptr, ptr %9, align 8 %46 = getelementptr inbounds [30 x i8], ptr %12, i64 0, i64 0 %47 = load i32, ptr %11, align 4 %48 = load float, ptr %10, align 4 %49 = call i32 @fprintf(ptr noundef %45, ptr noundef @.str.4, ptr noundef %46, i32 noundef %47, float noundef %48) br label %50 50: ; preds = %44, %38 %51 = load ptr, ptr %8, align 8 %52 = call i32 @feof(ptr noundef %51) %53 = icmp ne i32 %52, 0 %54 = xor i1 %53, true br i1 %54, label %30, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %50 br label %55 55: ; preds = %._crit_edge, %25 %56 = load ptr, ptr %8, align 8 %57 = call i32 @fclose(ptr noundef %56) %58 = load ptr, ptr %9, align 8 %59 = call i32 @fclose(ptr noundef %58) %60 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.3) store ptr %60, ptr %8, align 8 %61 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.1) store ptr %61, ptr %9, align 8 %62 = load ptr, ptr %9, align 8 %63 = call i32 @feof(ptr noundef %62) %64 = icmp ne i32 %63, 0 %65 = xor i1 %64, true br i1 %65, label %.lr.ph2, label %79 .lr.ph2: ; preds = %55 br label %66 66: ; preds = %.lr.ph2, %66 %67 = load ptr, ptr %9, align 8 %68 = getelementptr inbounds [30 x i8], ptr %12, i64 0, i64 0 %69 = call i32 @fscanf(ptr noundef %67, ptr noundef @.str.4, ptr noundef %68, ptr noundef %11, ptr noundef %10) %70 = load ptr, ptr %8, align 8 %71 = getelementptr inbounds [30 x i8], ptr %12, i64 0, i64 0 %72 = load i32, ptr %11, align 4 %73 = load float, ptr %10, align 4 %74 = call i32 @fprintf(ptr noundef %70, ptr noundef @.str.4, ptr noundef %71, i32 noundef %72, float noundef %73) %75 = load ptr, ptr %9, align 8 %76 = call i32 @feof(ptr noundef %75) %77 = icmp ne i32 %76, 0 %78 = xor i1 %77, true br i1 %78, label %66, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %66 br label %79 79: ; preds = %._crit_edge3, %55 %80 = load ptr, ptr %8, align 8 %81 = call i32 @fclose(ptr noundef %80) %82 = load ptr, ptr %9, align 8 %83 = call i32 @fclose(ptr noundef %82) %84 = call i32 @remove(ptr noundef @.str.2) store i32 1, ptr %4, align 4 br label %86 85: ; preds = %3 store i32 0, ptr %4, align 4 br label %86 86: ; preds = %85, %79, %24 %87 = load i32, ptr %4, align 4 ret i32 %87 } declare i64 @Var_exists(ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @feof(ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef, i32 noundef, float noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @remove(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpzntrzgv1.c' source_filename = "/tmp/tmpzntrzgv1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [41 x i8] c"Enter two strings (separated by Enter): \00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"The result of strend is: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [200 x i8], align 16 %3 = alloca [100 x i8], align 16 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %4, align 4 br label %6 6: ; preds = %14, %0 %7 = call signext i8 (...) @getchar() %8 = load i32, ptr %4, align 4 %9 = add nsw i32 %8, 1 store i32 %9, ptr %4, align 4 %10 = sext i32 %8 to i64 %11 = getelementptr inbounds [200 x i8], ptr %2, i64 0, i64 %10 store i8 %7, ptr %11, align 1 %12 = sext i8 %7 to i32 %13 = icmp ne i32 %12, 10 br i1 %13, label %14, label %15 14: ; preds = %6 br label %6, !llvm.loop !6 15: ; preds = %6 %16 = load i32, ptr %4, align 4 %17 = sub nsw i32 %16, 1 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds [200 x i8], ptr %2, i64 0, i64 %18 store i8 0, ptr %19, align 1 store i32 0, ptr %4, align 4 br label %20 20: ; preds = %28, %15 %21 = call signext i8 (...) @getchar() %22 = load i32, ptr %4, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %4, align 4 %24 = sext i32 %22 to i64 %25 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 %24 store i8 %21, ptr %25, align 1 %26 = sext i8 %21 to i32 %27 = icmp ne i32 %26, 10 br i1 %27, label %28, label %29 28: ; preds = %20 br label %20, !llvm.loop !8 29: ; preds = %20 %30 = load i32, ptr %4, align 4 %31 = sub nsw i32 %30, 1 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 %32 store i8 0, ptr %33, align 1 %34 = getelementptr inbounds [200 x i8], ptr %2, i64 0, i64 0 %35 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0 %36 = call i32 @strend(ptr noundef %34, ptr noundef %35) %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %36) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare signext i8 @getchar(...) #1 declare i32 @strend(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzntrzgv1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [41 x i8] c"Enter two strings (separated by Enter): \00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"The result of strend is: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [200 x i8], align 16 %3 = alloca [100 x i8], align 16 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %4, align 4 br label %6 6: ; preds = %6, %0 %7 = call signext i8 (...) @getchar() %8 = load i32, ptr %4, align 4 %9 = add nsw i32 %8, 1 store i32 %9, ptr %4, align 4 %10 = sext i32 %8 to i64 %11 = getelementptr inbounds [200 x i8], ptr %2, i64 0, i64 %10 store i8 %7, ptr %11, align 1 %12 = sext i8 %7 to i32 %13 = icmp ne i32 %12, 10 br i1 %13, label %6, label %14, !llvm.loop !6 14: ; preds = %6 %15 = load i32, ptr %4, align 4 %16 = sub nsw i32 %15, 1 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [200 x i8], ptr %2, i64 0, i64 %17 store i8 0, ptr %18, align 1 store i32 0, ptr %4, align 4 br label %19 19: ; preds = %19, %14 %20 = call signext i8 (...) @getchar() %21 = load i32, ptr %4, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %4, align 4 %23 = sext i32 %21 to i64 %24 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 %23 store i8 %20, ptr %24, align 1 %25 = sext i8 %20 to i32 %26 = icmp ne i32 %25, 10 br i1 %26, label %19, label %27, !llvm.loop !8 27: ; preds = %19 %28 = load i32, ptr %4, align 4 %29 = sub nsw i32 %28, 1 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 %30 store i8 0, ptr %31, align 1 %32 = getelementptr inbounds [200 x i8], ptr %2, i64 0, i64 0 %33 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0 %34 = call i32 @strend(ptr noundef %32, ptr noundef %33) %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %34) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare signext i8 @getchar(...) #1 declare i32 @strend(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpdg13pnrl.c' source_filename = "/tmp/tmpdg13pnrl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xvm_neg(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 %8 = alloca i64, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %13 = load ptr, ptr %4, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %15, label %20 15: ; preds = %3 %16 = load ptr, ptr %4, align 8 %17 = ptrtoint ptr %16 to i64 %18 = urem i64 %17, 16 %19 = icmp eq i64 %18, 0 br label %20 20: ; preds = %15, %3 %21 = phi i1 [ false, %3 ], [ %19, %15 ] %22 = zext i1 %21 to i32 %23 = call i32 @assert(i32 noundef %22) %24 = load ptr, ptr %5, align 8 %25 = icmp ne ptr %24, null br i1 %25, label %26, label %31 26: ; preds = %20 %27 = load ptr, ptr %5, align 8 %28 = ptrtoint ptr %27 to i64 %29 = urem i64 %28, 16 %30 = icmp eq i64 %29, 0 br label %31 31: ; preds = %26, %20 %32 = phi i1 [ false, %20 ], [ %30, %26 ] %33 = zext i1 %32 to i32 %34 = call i32 @assert(i32 noundef %33) %35 = call i32 (...) @_mm_setzero_pd() store i32 %35, ptr %7, align 4 store i64 0, ptr %8, align 8 br label %36 36: ; preds = %67, %31 %37 = load i64, ptr %8, align 8 %38 = load i64, ptr %6, align 8 %39 = icmp slt i64 %37, %38 br i1 %39, label %40, label %70 40: ; preds = %36 %41 = load ptr, ptr %5, align 8 %42 = load i64, ptr %8, align 8 %43 = getelementptr inbounds double, ptr %41, i64 %42 %44 = call i32 @_mm_load_pd(ptr noundef %43) store i32 %44, ptr %9, align 4 %45 = load ptr, ptr %5, align 8 %46 = load i64, ptr %8, align 8 %47 = getelementptr inbounds double, ptr %45, i64 %46 %48 = getelementptr inbounds double, ptr %47, i64 2 %49 = call i32 @_mm_load_pd(ptr noundef %48) store i32 %49, ptr %10, align 4 %50 = load i32, ptr %7, align 4 %51 = load i32, ptr %9, align 4 %52 = call i32 @_mm_sub_pd(i32 noundef %50, i32 noundef %51) store i32 %52, ptr %11, align 4 %53 = load i32, ptr %7, align 4 %54 = load i32, ptr %10, align 4 %55 = call i32 @_mm_sub_pd(i32 noundef %53, i32 noundef %54) store i32 %55, ptr %12, align 4 %56 = load ptr, ptr %4, align 8 %57 = load i64, ptr %8, align 8 %58 = getelementptr inbounds double, ptr %56, i64 %57 %59 = load i32, ptr %11, align 4 %60 = call i32 @_mm_store_pd(ptr noundef %58, i32 noundef %59) %61 = load ptr, ptr %4, align 8 %62 = load i64, ptr %8, align 8 %63 = getelementptr inbounds double, ptr %61, i64 %62 %64 = getelementptr inbounds double, ptr %63, i64 2 %65 = load i32, ptr %12, align 4 %66 = call i32 @_mm_store_pd(ptr noundef %64, i32 noundef %65) br label %67 67: ; preds = %40 %68 = load i64, ptr %8, align 8 %69 = add nsw i64 %68, 4 store i64 %69, ptr %8, align 8 br label %36, !llvm.loop !6 70: ; preds = %36 ret void } declare i32 @assert(i32 noundef) #1 declare i32 @_mm_setzero_pd(...) #1 declare i32 @_mm_load_pd(ptr noundef) #1 declare i32 @_mm_sub_pd(i32 noundef, i32 noundef) #1 declare i32 @_mm_store_pd(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/tmpdg13pnrl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xvm_neg(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 %8 = alloca i64, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %13 = load ptr, ptr %4, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %15, label %20 15: ; preds = %3 %16 = load ptr, ptr %4, align 8 %17 = ptrtoint ptr %16 to i64 %18 = urem i64 %17, 16 %19 = icmp eq i64 %18, 0 br label %20 20: ; preds = %15, %3 %21 = phi i1 [ false, %3 ], [ %19, %15 ] %22 = zext i1 %21 to i32 %23 = call i32 @assert(i32 noundef %22) %24 = load ptr, ptr %5, align 8 %25 = icmp ne ptr %24, null br i1 %25, label %26, label %31 26: ; preds = %20 %27 = load ptr, ptr %5, align 8 %28 = ptrtoint ptr %27 to i64 %29 = urem i64 %28, 16 %30 = icmp eq i64 %29, 0 br label %31 31: ; preds = %26, %20 %32 = phi i1 [ false, %20 ], [ %30, %26 ] %33 = zext i1 %32 to i32 %34 = call i32 @assert(i32 noundef %33) %35 = call i32 (...) @_mm_setzero_pd() store i32 %35, ptr %7, align 4 store i64 0, ptr %8, align 8 %36 = load i64, ptr %8, align 8 %37 = load i64, ptr %6, align 8 %38 = icmp slt i64 %36, %37 br i1 %38, label %.lr.ph, label %72 .lr.ph: ; preds = %31 br label %39 39: ; preds = %.lr.ph, %66 %40 = load ptr, ptr %5, align 8 %41 = load i64, ptr %8, align 8 %42 = getelementptr inbounds double, ptr %40, i64 %41 %43 = call i32 @_mm_load_pd(ptr noundef %42) store i32 %43, ptr %9, align 4 %44 = load ptr, ptr %5, align 8 %45 = load i64, ptr %8, align 8 %46 = getelementptr inbounds double, ptr %44, i64 %45 %47 = getelementptr inbounds double, ptr %46, i64 2 %48 = call i32 @_mm_load_pd(ptr noundef %47) store i32 %48, ptr %10, align 4 %49 = load i32, ptr %7, align 4 %50 = load i32, ptr %9, align 4 %51 = call i32 @_mm_sub_pd(i32 noundef %49, i32 noundef %50) store i32 %51, ptr %11, align 4 %52 = load i32, ptr %7, align 4 %53 = load i32, ptr %10, align 4 %54 = call i32 @_mm_sub_pd(i32 noundef %52, i32 noundef %53) store i32 %54, ptr %12, align 4 %55 = load ptr, ptr %4, align 8 %56 = load i64, ptr %8, align 8 %57 = getelementptr inbounds double, ptr %55, i64 %56 %58 = load i32, ptr %11, align 4 %59 = call i32 @_mm_store_pd(ptr noundef %57, i32 noundef %58) %60 = load ptr, ptr %4, align 8 %61 = load i64, ptr %8, align 8 %62 = getelementptr inbounds double, ptr %60, i64 %61 %63 = getelementptr inbounds double, ptr %62, i64 2 %64 = load i32, ptr %12, align 4 %65 = call i32 @_mm_store_pd(ptr noundef %63, i32 noundef %64) br label %66 66: ; preds = %39 %67 = load i64, ptr %8, align 8 %68 = add nsw i64 %67, 4 store i64 %68, ptr %8, align 8 %69 = load i64, ptr %8, align 8 %70 = load i64, ptr %6, align 8 %71 = icmp slt i64 %69, %70 br i1 %71, label %39, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %66 br label %72 72: ; preds = %._crit_edge, %31 ret void } declare i32 @assert(i32 noundef) #1 declare i32 @_mm_setzero_pd(...) #1 declare i32 @_mm_load_pd(ptr noundef) #1 declare i32 @_mm_sub_pd(i32 noundef, i32 noundef) #1 declare i32 @_mm_store_pd(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/tmp_srvdmrv.c' source_filename = "/tmp/tmp_srvdmrv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @logExp(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 store double %0, ptr %3, align 8 %4 = load double, ptr %3, align 8 %5 = call i64 @isnan(double noundef %4) %6 = icmp ne i64 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %1 store double 0.000000e+00, ptr %2, align 8 br label %11 8: ; preds = %1 %9 = load double, ptr %3, align 8 %10 = call double @exp(double noundef %9) #3 store double %10, ptr %2, align 8 br label %11 11: ; preds = %8, %7 %12 = load double, ptr %2, align 8 ret double %12 } declare i64 @isnan(double noundef) #1 ; Function Attrs: nounwind declare double @exp(double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_srvdmrv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @logExp(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 store double %0, ptr %3, align 8 %4 = load double, ptr %3, align 8 %5 = call i64 @isnan(double noundef %4) %6 = icmp ne i64 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %1 store double 0.000000e+00, ptr %2, align 8 br label %11 8: ; preds = %1 %9 = load double, ptr %3, align 8 %10 = call double @exp(double noundef %9) #3 store double %10, ptr %2, align 8 br label %11 11: ; preds = %8, %7 %12 = load double, ptr %2, align 8 ret double %12 } declare i64 @isnan(double noundef) #1 ; Function Attrs: nounwind declare double @exp(double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpn04kh28y.c' source_filename = "/tmp/tmpn04kh28y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mov_preg32pimm32_imm8(i32 noundef %0, i64 noundef %1, i8 noundef zeroext %2) #0 { %4 = alloca i32, align 4 %5 = alloca i64, align 8 %6 = alloca i8, align 1 store i32 %0, ptr %4, align 4 store i64 %1, ptr %5, align 8 store i8 %2, ptr %6, align 1 %7 = call i32 @put8(i8 noundef zeroext -58) %8 = load i32, ptr %4, align 4 %9 = add nsw i32 128, %8 %10 = trunc i32 %9 to i8 %11 = call i32 @put8(i8 noundef zeroext %10) %12 = load i64, ptr %5, align 8 %13 = call i32 @put32(i64 noundef %12) %14 = load i8, ptr %6, align 1 %15 = call i32 @put8(i8 noundef zeroext %14) ret void } declare i32 @put8(i8 noundef zeroext) #1 declare i32 @put32(i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn04kh28y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mov_preg32pimm32_imm8(i32 noundef %0, i64 noundef %1, i8 noundef zeroext %2) #0 { %4 = alloca i32, align 4 %5 = alloca i64, align 8 %6 = alloca i8, align 1 store i32 %0, ptr %4, align 4 store i64 %1, ptr %5, align 8 store i8 %2, ptr %6, align 1 %7 = call i32 @put8(i8 noundef zeroext -58) %8 = load i32, ptr %4, align 4 %9 = add nsw i32 128, %8 %10 = trunc i32 %9 to i8 %11 = call i32 @put8(i8 noundef zeroext %10) %12 = load i64, ptr %5, align 8 %13 = call i32 @put32(i64 noundef %12) %14 = load i8, ptr %6, align 1 %15 = call i32 @put8(i8 noundef zeroext %14) ret void } declare i32 @put8(i8 noundef zeroext) #1 declare i32 @put32(i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp149fb8fq.c' source_filename = "/tmp/tmp149fb8fq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"1\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"irc_color_decode\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"irc_color_encode\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"irc_color_decode_ansi\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @irc_color_modifier_cb(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = 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 ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 %13 = load ptr, ptr %7, align 8 %14 = load ptr, ptr %8, align 8 %15 = load ptr, ptr %10, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %17, label %21 17: ; preds = %5 %18 = load ptr, ptr %10, align 8 %19 = call i64 @strcmp(ptr noundef %18, ptr noundef @.str) %20 = icmp eq i64 %19, 0 br label %21 21: ; preds = %17, %5 %22 = phi i1 [ false, %5 ], [ %20, %17 ] %23 = zext i1 %22 to i64 %24 = select i1 %22, i32 1, i32 0 store i32 %24, ptr %12, align 4 %25 = load ptr, ptr %9, align 8 %26 = call i64 @strcmp(ptr noundef %25, ptr noundef @.str.1) %27 = icmp eq i64 %26, 0 br i1 %27, label %28, label %32 28: ; preds = %21 %29 = load ptr, ptr %11, align 8 %30 = load i32, ptr %12, align 4 %31 = call ptr @irc_color_decode(ptr noundef %29, i32 noundef %30) store ptr %31, ptr %6, align 8 br label %49 32: ; preds = %21 %33 = load ptr, ptr %9, align 8 %34 = call i64 @strcmp(ptr noundef %33, ptr noundef @.str.2) %35 = icmp eq i64 %34, 0 br i1 %35, label %36, label %40 36: ; preds = %32 %37 = load ptr, ptr %11, align 8 %38 = load i32, ptr %12, align 4 %39 = call ptr @irc_color_encode(ptr noundef %37, i32 noundef %38) store ptr %39, ptr %6, align 8 br label %49 40: ; preds = %32 %41 = load ptr, ptr %9, align 8 %42 = call i64 @strcmp(ptr noundef %41, ptr noundef @.str.3) %43 = icmp eq i64 %42, 0 br i1 %43, label %44, label %48 44: ; preds = %40 %45 = load ptr, ptr %11, align 8 %46 = load i32, ptr %12, align 4 %47 = call ptr @irc_color_decode_ansi(ptr noundef %45, i32 noundef %46) store ptr %47, ptr %6, align 8 br label %49 48: ; preds = %40 store ptr null, ptr %6, align 8 br label %49 49: ; preds = %48, %44, %36, %28 %50 = load ptr, ptr %6, align 8 ret ptr %50 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare ptr @irc_color_decode(ptr noundef, i32 noundef) #1 declare ptr @irc_color_encode(ptr noundef, i32 noundef) #1 declare ptr @irc_color_decode_ansi(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/tmp149fb8fq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"1\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"irc_color_decode\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"irc_color_encode\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"irc_color_decode_ansi\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @irc_color_modifier_cb(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = 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 ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 %13 = load ptr, ptr %7, align 8 %14 = load ptr, ptr %8, align 8 %15 = load ptr, ptr %10, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %17, label %21 17: ; preds = %5 %18 = load ptr, ptr %10, align 8 %19 = call i64 @strcmp(ptr noundef %18, ptr noundef @.str) %20 = icmp eq i64 %19, 0 br label %21 21: ; preds = %17, %5 %22 = phi i1 [ false, %5 ], [ %20, %17 ] %23 = zext i1 %22 to i64 %24 = select i1 %22, i32 1, i32 0 store i32 %24, ptr %12, align 4 %25 = load ptr, ptr %9, align 8 %26 = call i64 @strcmp(ptr noundef %25, ptr noundef @.str.1) %27 = icmp eq i64 %26, 0 br i1 %27, label %28, label %32 28: ; preds = %21 %29 = load ptr, ptr %11, align 8 %30 = load i32, ptr %12, align 4 %31 = call ptr @irc_color_decode(ptr noundef %29, i32 noundef %30) store ptr %31, ptr %6, align 8 br label %49 32: ; preds = %21 %33 = load ptr, ptr %9, align 8 %34 = call i64 @strcmp(ptr noundef %33, ptr noundef @.str.2) %35 = icmp eq i64 %34, 0 br i1 %35, label %36, label %40 36: ; preds = %32 %37 = load ptr, ptr %11, align 8 %38 = load i32, ptr %12, align 4 %39 = call ptr @irc_color_encode(ptr noundef %37, i32 noundef %38) store ptr %39, ptr %6, align 8 br label %49 40: ; preds = %32 %41 = load ptr, ptr %9, align 8 %42 = call i64 @strcmp(ptr noundef %41, ptr noundef @.str.3) %43 = icmp eq i64 %42, 0 br i1 %43, label %44, label %48 44: ; preds = %40 %45 = load ptr, ptr %11, align 8 %46 = load i32, ptr %12, align 4 %47 = call ptr @irc_color_decode_ansi(ptr noundef %45, i32 noundef %46) store ptr %47, ptr %6, align 8 br label %49 48: ; preds = %40 store ptr null, ptr %6, align 8 br label %49 49: ; preds = %48, %44, %36, %28 %50 = load ptr, ptr %6, align 8 ret ptr %50 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare ptr @irc_color_decode(ptr noundef, i32 noundef) #1 declare ptr @irc_color_encode(ptr noundef, i32 noundef) #1 declare ptr @irc_color_decode_ansi(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/tmpxwx6bxjm.c' source_filename = "/tmp/tmpxwx6bxjm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"Invalid card value. Try again\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_card_val(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 = getelementptr inbounds i8, ptr %5, i64 0 %7 = load i8, ptr %6, align 1 %8 = sext i8 %7 to i32 switch i32 %8, label %11 [ i32 74, label %9 i32 81, label %9 i32 75, label %9 i32 88, label %10 ] 9: ; preds = %2, %2, %2 store i32 10, ptr %3, align 4 br label %22 10: ; preds = %2 store i32 0, ptr %3, align 4 br label %11 11: ; preds = %2, %10 %12 = load ptr, ptr %4, align 8 %13 = call i32 @atoi(ptr noundef %12) store i32 %13, ptr %3, align 4 %14 = load i32, ptr %3, align 4 %15 = icmp slt i32 %14, 1 br i1 %15, label %19, label %16 16: ; preds = %11 %17 = load i32, ptr %3, align 4 %18 = icmp sgt i32 %17, 10 br i1 %18, label %19, label %21 19: ; preds = %16, %11 %20 = call i32 @printf(ptr noundef @.str) store i32 0, ptr %3, align 4 br label %21 21: ; preds = %19, %16 br label %22 22: ; preds = %21, %9 %23 = load i32, ptr %3, align 4 ret i32 %23 } declare i32 @atoi(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/tmpxwx6bxjm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"Invalid card value. Try again\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_card_val(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 = getelementptr inbounds i8, ptr %5, i64 0 %7 = load i8, ptr %6, align 1 %8 = sext i8 %7 to i32 switch i32 %8, label %11 [ i32 74, label %9 i32 81, label %9 i32 75, label %9 i32 88, label %10 ] 9: ; preds = %2, %2, %2 store i32 10, ptr %3, align 4 br label %22 10: ; preds = %2 store i32 0, ptr %3, align 4 br label %11 11: ; preds = %10, %2 %12 = load ptr, ptr %4, align 8 %13 = call i32 @atoi(ptr noundef %12) store i32 %13, ptr %3, align 4 %14 = load i32, ptr %3, align 4 %15 = icmp slt i32 %14, 1 br i1 %15, label %19, label %16 16: ; preds = %11 %17 = load i32, ptr %3, align 4 %18 = icmp sgt i32 %17, 10 br i1 %18, label %19, label %21 19: ; preds = %16, %11 %20 = call i32 @printf(ptr noundef @.str) store i32 0, ptr %3, align 4 br label %21 21: ; preds = %19, %16 br label %22 22: ; preds = %21, %9 %23 = load i32, ptr %3, align 4 ret i32 %23 } declare i32 @atoi(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/tmp_712abin.c' source_filename = "/tmp/tmp_712abin.c" target datalayout = "e-m:e-p270: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_712abin.c" target datalayout = "e-m:e-p270: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/tmpglc_snn2.c' source_filename = "/tmp/tmpglc_snn2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @i32sign(i32 noundef 42) %3 = icmp eq i32 %2, 1 %4 = zext i1 %3 to i32 %5 = call i32 @assert(i32 noundef %4) %6 = call i32 @i32sign(i32 noundef 0) %7 = icmp eq i32 %6, 0 %8 = zext i1 %7 to i32 %9 = call i32 @assert(i32 noundef %8) %10 = call i32 @i32sign(i32 noundef -42) %11 = icmp eq i32 %10, -1 %12 = zext i1 %11 to i32 %13 = call i32 @assert(i32 noundef %12) ret i32 0 } declare i32 @assert(i32 noundef) #1 declare i32 @i32sign(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/tmpglc_snn2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @i32sign(i32 noundef 42) %3 = icmp eq i32 %2, 1 %4 = zext i1 %3 to i32 %5 = call i32 @assert(i32 noundef %4) %6 = call i32 @i32sign(i32 noundef 0) %7 = icmp eq i32 %6, 0 %8 = zext i1 %7 to i32 %9 = call i32 @assert(i32 noundef %8) %10 = call i32 @i32sign(i32 noundef -42) %11 = icmp eq i32 %10, -1 %12 = zext i1 %11 to i32 %13 = call i32 @assert(i32 noundef %12) ret i32 0 } declare i32 @assert(i32 noundef) #1 declare i32 @i32sign(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/tmpp75a8q1v.c' source_filename = "/tmp/tmpp75a8q1v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGFPE = dso_local global i32 0, align 4 @SIG_BLOCK = dso_local global i32 0, align 4 @SIG_UNBLOCK = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_nan_(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = call i32 @sigemptyset(ptr noundef %3) %5 = load i32, ptr @SIGFPE, align 4 %6 = call i32 @sigaddset(ptr noundef %3, i32 noundef %5) %7 = load i32, ptr @SIG_BLOCK, align 4 %8 = call i32 @sigprocmask(i32 noundef %7, ptr noundef %3, ptr noundef null) %9 = call float @acosh(double noundef 2.000000e-01) %10 = load ptr, ptr %2, align 8 store float %9, ptr %10, align 4 %11 = load i32, ptr @SIG_UNBLOCK, align 4 %12 = call i32 @sigprocmask(i32 noundef %11, ptr noundef %3, ptr noundef null) ret void } declare i32 @sigemptyset(ptr noundef) #1 declare i32 @sigaddset(ptr noundef, i32 noundef) #1 declare i32 @sigprocmask(i32 noundef, ptr noundef, ptr noundef) #1 declare float @acosh(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/tmpp75a8q1v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SIGFPE = dso_local global i32 0, align 4 @SIG_BLOCK = dso_local global i32 0, align 4 @SIG_UNBLOCK = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_nan_(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = call i32 @sigemptyset(ptr noundef %3) %5 = load i32, ptr @SIGFPE, align 4 %6 = call i32 @sigaddset(ptr noundef %3, i32 noundef %5) %7 = load i32, ptr @SIG_BLOCK, align 4 %8 = call i32 @sigprocmask(i32 noundef %7, ptr noundef %3, ptr noundef null) %9 = call float @acosh(double noundef 2.000000e-01) %10 = load ptr, ptr %2, align 8 store float %9, ptr %10, align 4 %11 = load i32, ptr @SIG_UNBLOCK, align 4 %12 = call i32 @sigprocmask(i32 noundef %11, ptr noundef %3, ptr noundef null) ret void } declare i32 @sigemptyset(ptr noundef) #1 declare i32 @sigaddset(ptr noundef, i32 noundef) #1 declare i32 @sigprocmask(i32 noundef, ptr noundef, ptr noundef) #1 declare float @acosh(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/tmpv5c8m426.c' source_filename = "/tmp/tmpv5c8m426.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sigmoid(ptr noundef %0, ptr noundef %1, i32 noundef %2, double noundef %3, double noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca i32, align 4 %12 = alloca double, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store double %3, ptr %9, align 8 store double %4, ptr %10, align 8 store double 0.000000e+00, ptr %12, align 8 store i32 0, ptr %11, align 4 br label %13 13: ; preds = %30, %5 %14 = load i32, ptr %11, align 4 %15 = load i32, ptr %8, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %17, label %33 17: ; preds = %13 %18 = load ptr, ptr %6, align 8 %19 = load i32, ptr %11, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds double, ptr %18, i64 %20 %22 = load double, ptr %21, align 8 %23 = load ptr, ptr %7, align 8 %24 = load i32, ptr %11, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds double, ptr %23, i64 %25 %27 = load double, ptr %26, align 8 %28 = load double, ptr %12, align 8 %29 = call double @llvm.fmuladd.f64(double %22, double %27, double %28) store double %29, ptr %12, align 8 br label %30 30: ; preds = %17 %31 = load i32, ptr %11, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %11, align 4 br label %13, !llvm.loop !6 33: ; preds = %13 %34 = load double, ptr %9, align 8 %35 = load double, ptr %12, align 8 %36 = load double, ptr %10, align 8 %37 = call double @llvm.fmuladd.f64(double %34, double %35, double %36) %38 = call double @tanh(double noundef %37) #3 ret double %38 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 ; Function Attrs: nounwind declare double @tanh(double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpv5c8m426.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sigmoid(ptr noundef %0, ptr noundef %1, i32 noundef %2, double noundef %3, double noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca i32, align 4 %12 = alloca double, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store double %3, ptr %9, align 8 store double %4, ptr %10, align 8 store double 0.000000e+00, ptr %12, align 8 store i32 0, ptr %11, align 4 %13 = load i32, ptr %11, align 4 %14 = load i32, ptr %8, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %.lr.ph, label %35 .lr.ph: ; preds = %5 br label %16 16: ; preds = %.lr.ph, %29 %17 = load ptr, ptr %6, align 8 %18 = load i32, ptr %11, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds double, ptr %17, i64 %19 %21 = load double, ptr %20, align 8 %22 = load ptr, ptr %7, align 8 %23 = load i32, ptr %11, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds double, ptr %22, i64 %24 %26 = load double, ptr %25, align 8 %27 = load double, ptr %12, align 8 %28 = call double @llvm.fmuladd.f64(double %21, double %26, double %27) store double %28, ptr %12, align 8 br label %29 29: ; preds = %16 %30 = load i32, ptr %11, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %11, align 4 %32 = load i32, ptr %11, align 4 %33 = load i32, ptr %8, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %35 35: ; preds = %._crit_edge, %5 %36 = load double, ptr %9, align 8 %37 = load double, ptr %12, align 8 %38 = load double, ptr %10, align 8 %39 = call double @llvm.fmuladd.f64(double %36, double %37, double %38) %40 = call double @tanh(double noundef %39) #3 ret double %40 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 ; Function Attrs: nounwind declare double @tanh(double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpf7y8etly.c' source_filename = "/tmp/tmpf7y8etly.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gt_ggc_mx_typeinfo(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 store ptr %4, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i64 @ggc_test_and_set_mark(ptr noundef %5) %7 = icmp ne i64 %6, 0 br i1 %7, label %8, label %9 8: ; preds = %1 br label %9 9: ; preds = %8, %1 ret void } declare i64 @ggc_test_and_set_mark(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpf7y8etly.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gt_ggc_mx_typeinfo(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 store ptr %4, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i64 @ggc_test_and_set_mark(ptr noundef %5) %7 = icmp ne i64 %6, 0 br i1 %7, label %8, label %9 8: ; preds = %1 br label %9 9: ; preds = %8, %1 ret void } declare i64 @ggc_test_and_set_mark(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbwxih3ji.c' source_filename = "/tmp/tmpbwxih3ji.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Introdueix un numero enter positiu: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"%d = \00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"%d x \00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"1\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 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 %8 8: ; preds = %11, %2 %9 = load i32, ptr %6, align 4 %10 = icmp slt i32 %9, 2 br i1 %10, label %11, label %14 11: ; preds = %8 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str) %13 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6) br label %8, !llvm.loop !6 14: ; preds = %8 store i32 2, ptr %7, align 4 %15 = load i32, ptr %6, align 4 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %15) br label %17 17: ; preds = %34, %14 %18 = load i32, ptr %6, align 4 %19 = icmp ne i32 %18, 1 br i1 %19, label %20, label %35 20: ; preds = %17 %21 = load i32, ptr %6, align 4 %22 = load i32, ptr %7, align 4 %23 = srem i32 %21, %22 %24 = icmp eq i32 %23, 0 br i1 %24, label %25, label %31 25: ; preds = %20 %26 = load i32, ptr %7, align 4 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %26) %28 = load i32, ptr %6, align 4 %29 = load i32, ptr %7, align 4 %30 = sdiv i32 %28, %29 store i32 %30, ptr %6, align 4 br label %34 31: ; preds = %20 %32 = load i32, ptr %7, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %7, align 4 br label %34 34: ; preds = %31, %25 br label %17, !llvm.loop !8 35: ; preds = %17 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %37 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %37 } 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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbwxih3ji.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Introdueix un numero enter positiu: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"%d = \00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"%d x \00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"1\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 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 %8 = load i32, ptr %6, align 4 %9 = icmp slt i32 %8, 2 br i1 %9, label %.lr.ph, label %15 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %10 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str) %12 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6) %13 = load i32, ptr %6, align 4 %14 = icmp slt i32 %13, 2 br i1 %14, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %10 br label %15 15: ; preds = %._crit_edge, %2 store i32 2, ptr %7, align 4 %16 = load i32, ptr %6, align 4 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %16) %18 = load i32, ptr %6, align 4 %19 = icmp ne i32 %18, 1 br i1 %19, label %.lr.ph2, label %37 .lr.ph2: ; preds = %15 br label %20 20: ; preds = %.lr.ph2, %34 %21 = load i32, ptr %6, align 4 %22 = load i32, ptr %7, align 4 %23 = srem i32 %21, %22 %24 = icmp eq i32 %23, 0 br i1 %24, label %25, label %31 25: ; preds = %20 %26 = load i32, ptr %7, align 4 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %26) %28 = load i32, ptr %6, align 4 %29 = load i32, ptr %7, align 4 %30 = sdiv i32 %28, %29 store i32 %30, ptr %6, align 4 br label %34 31: ; preds = %20 %32 = load i32, ptr %7, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %7, align 4 br label %34 34: ; preds = %31, %25 %35 = load i32, ptr %6, align 4 %36 = icmp ne i32 %35, 1 br i1 %36, label %20, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %34 br label %37 37: ; preds = %._crit_edge3, %15 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %39 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %39 } 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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmphzbf0fc9.c' source_filename = "/tmp/tmphzbf0fc9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"D\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"1\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"0\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 void @probplot(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca float, align 4 store ptr %0, ptr %7, align 8 store i32 %1, ptr %8, align 4 store i32 %2, ptr %9, align 4 store i32 %3, ptr %10, align 4 store i32 %4, ptr %11, align 4 store ptr %5, ptr %12, align 8 store i32 0, ptr %13, align 4 br label %16 16: ; preds = %66, %6 %17 = load i32, ptr %13, align 4 %18 = load i32, ptr %8, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %20, label %69 20: ; preds = %16 store i32 0, ptr %14, align 4 br label %21 21: ; preds = %60, %20 %22 = load i32, ptr %14, align 4 %23 = load i32, ptr %9, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %25, label %63 25: ; preds = %21 %26 = load ptr, ptr %7, align 8 %27 = load i32, ptr %13, align 4 %28 = add nsw i32 %27, 1 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds ptr, ptr %26, i64 %29 %31 = load ptr, ptr %30, align 8 %32 = load i32, ptr %14, align 4 %33 = add nsw i32 %32, 1 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i32, ptr %31, i64 %34 %36 = load i32, ptr %35, align 4 %37 = sitofp i32 %36 to float %38 = load i32, ptr %10, align 4 %39 = sitofp i32 %38 to float %40 = fdiv float %37, %39 store float %40, ptr %15, align 4 %41 = load i32, ptr %13, align 4 %42 = load i32, ptr %14, align 4 %43 = icmp eq i32 %41, %42 br i1 %43, label %44, label %47 44: ; preds = %25 %45 = load ptr, ptr %12, align 8 %46 = call i32 @fprintf(ptr noundef %45, ptr noundef @.str) br label %59 47: ; preds = %25 %48 = load float, ptr %15, align 4 %49 = load i32, ptr %11, align 4 %50 = sitofp i32 %49 to float %51 = fcmp ogt float %48, %50 br i1 %51, label %52, label %55 52: ; preds = %47 %53 = load ptr, ptr %12, align 8 %54 = call i32 @fprintf(ptr noundef %53, ptr noundef @.str.1) br label %58 55: ; preds = %47 %56 = load ptr, ptr %12, align 8 %57 = call i32 @fprintf(ptr noundef %56, ptr noundef @.str.2) br label %58 58: ; preds = %55, %52 br label %59 59: ; preds = %58, %44 br label %60 60: ; preds = %59 %61 = load i32, ptr %14, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %14, align 4 br label %21, !llvm.loop !6 63: ; preds = %21 %64 = load ptr, ptr %12, align 8 %65 = call i32 @fprintf(ptr noundef %64, ptr noundef @.str.3) br label %66 66: ; preds = %63 %67 = load i32, ptr %13, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %13, align 4 br label %16, !llvm.loop !8 69: ; preds = %16 ret void } declare i32 @fprintf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphzbf0fc9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"D\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"1\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"0\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 void @probplot(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca float, align 4 store ptr %0, ptr %7, align 8 store i32 %1, ptr %8, align 4 store i32 %2, ptr %9, align 4 store i32 %3, ptr %10, align 4 store i32 %4, ptr %11, align 4 store ptr %5, ptr %12, align 8 store i32 0, ptr %13, align 4 %16 = load i32, ptr %13, align 4 %17 = load i32, ptr %8, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %.lr.ph2, label %73 .lr.ph2: ; preds = %6 br label %19 19: ; preds = %.lr.ph2, %67 store i32 0, ptr %14, align 4 %20 = load i32, ptr %14, align 4 %21 = load i32, ptr %9, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %.lr.ph, label %64 .lr.ph: ; preds = %19 br label %23 23: ; preds = %.lr.ph, %58 %24 = load ptr, ptr %7, align 8 %25 = load i32, ptr %13, align 4 %26 = add nsw i32 %25, 1 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds ptr, ptr %24, i64 %27 %29 = load ptr, ptr %28, align 8 %30 = load i32, ptr %14, align 4 %31 = add nsw i32 %30, 1 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i32, ptr %29, i64 %32 %34 = load i32, ptr %33, align 4 %35 = sitofp i32 %34 to float %36 = load i32, ptr %10, align 4 %37 = sitofp i32 %36 to float %38 = fdiv float %35, %37 store float %38, ptr %15, align 4 %39 = load i32, ptr %13, align 4 %40 = load i32, ptr %14, align 4 %41 = icmp eq i32 %39, %40 br i1 %41, label %42, label %45 42: ; preds = %23 %43 = load ptr, ptr %12, align 8 %44 = call i32 @fprintf(ptr noundef %43, ptr noundef @.str) br label %57 45: ; preds = %23 %46 = load float, ptr %15, align 4 %47 = load i32, ptr %11, align 4 %48 = sitofp i32 %47 to float %49 = fcmp ogt float %46, %48 br i1 %49, label %50, label %53 50: ; preds = %45 %51 = load ptr, ptr %12, align 8 %52 = call i32 @fprintf(ptr noundef %51, ptr noundef @.str.1) br label %56 53: ; preds = %45 %54 = load ptr, ptr %12, align 8 %55 = call i32 @fprintf(ptr noundef %54, ptr noundef @.str.2) br label %56 56: ; preds = %53, %50 br label %57 57: ; preds = %56, %42 br label %58 58: ; preds = %57 %59 = load i32, ptr %14, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %14, align 4 %61 = load i32, ptr %14, align 4 %62 = load i32, ptr %9, align 4 %63 = icmp slt i32 %61, %62 br i1 %63, label %23, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %58 br label %64 64: ; preds = %._crit_edge, %19 %65 = load ptr, ptr %12, align 8 %66 = call i32 @fprintf(ptr noundef %65, ptr noundef @.str.3) br label %67 67: ; preds = %64 %68 = load i32, ptr %13, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %13, align 4 %70 = load i32, ptr %13, align 4 %71 = load i32, ptr %8, align 4 %72 = icmp slt i32 %70, %71 br i1 %72, label %19, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %67 br label %73 73: ; preds = %._crit_edge3, %6 ret void } declare i32 @fprintf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpo6v1yka7.c' source_filename = "/tmp/tmpo6v1yka7.c" target datalayout = "e-m:e-p270: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/tmpo6v1yka7.c" target datalayout = "e-m:e-p270: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/tmpvz1cbusq.c' source_filename = "/tmp/tmpvz1cbusq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strlwr(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 = icmp ne ptr %4, null br i1 %5, label %6, label %22 6: ; preds = %1 %7 = load ptr, ptr %2, align 8 store ptr %7, ptr %3, align 8 br label %8 8: ; preds = %18, %6 %9 = load ptr, ptr %3, align 8 %10 = load i8, ptr %9, align 1 %11 = sext i8 %10 to i32 %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %21 13: ; preds = %8 %14 = load ptr, ptr %3, align 8 %15 = load i8, ptr %14, align 1 %16 = call signext i8 @tolower(i8 noundef signext %15) %17 = load ptr, ptr %3, align 8 store i8 %16, ptr %17, align 1 br label %18 18: ; preds = %13 %19 = load ptr, ptr %3, align 8 %20 = getelementptr inbounds i8, ptr %19, i32 1 store ptr %20, ptr %3, align 8 br label %8, !llvm.loop !6 21: ; preds = %8 br label %22 22: ; preds = %21, %1 ret void } declare signext i8 @tolower(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvz1cbusq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strlwr(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 = icmp ne ptr %4, null br i1 %5, label %6, label %25 6: ; preds = %1 %7 = load ptr, ptr %2, align 8 store ptr %7, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 %9 = load i8, ptr %8, align 1 %10 = sext i8 %9 to i32 %11 = icmp ne i32 %10, 0 br i1 %11, label %.lr.ph, label %24 .lr.ph: ; preds = %6 br label %12 12: ; preds = %.lr.ph, %17 %13 = load ptr, ptr %3, align 8 %14 = load i8, ptr %13, align 1 %15 = call signext i8 @tolower(i8 noundef signext %14) %16 = load ptr, ptr %3, align 8 store i8 %15, ptr %16, align 1 br label %17 17: ; preds = %12 %18 = load ptr, ptr %3, align 8 %19 = getelementptr inbounds i8, ptr %18, i32 1 store ptr %19, ptr %3, align 8 %20 = load ptr, ptr %3, align 8 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp ne i32 %22, 0 br i1 %23, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %24 24: ; preds = %._crit_edge, %6 br label %25 25: ; preds = %24, %1 ret void } declare signext i8 @tolower(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp3wzdfwon.c' source_filename = "/tmp/tmp3wzdfwon.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"USB_rm() - %s start\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @USB_rm(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %9 = load ptr, ptr %4, align 8 %10 = call i32 @printf(ptr noundef @.str, ptr noundef %9) store i32 0, ptr %6, align 4 %11 = load ptr, ptr %4, align 8 %12 = load i32, ptr %5, align 4 %13 = call i32 @is_server_exist(ptr noundef %11, i32 noundef %12) store i32 %13, ptr %7, align 4 %14 = load i32, ptr %7, align 4 %15 = icmp ne i32 %14, 0 br i1 %15, label %18, label %16 16: ; preds = %2 %17 = load i32, ptr %6, align 4 store i32 %17, ptr %3, align 4 br label %27 18: ; preds = %2 %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr %5, align 4 %21 = call ptr @localpath_to_serverpath(ptr noundef %19, i32 noundef %20) store ptr %21, ptr %8, align 8 %22 = load ptr, ptr %8, align 8 %23 = call i32 @remove(ptr noundef %22) store i32 %23, ptr %6, align 4 %24 = load ptr, ptr %8, align 8 %25 = call i32 @free(ptr noundef %24) %26 = load i32, ptr %6, align 4 store i32 %26, ptr %3, align 4 br label %27 27: ; preds = %18, %16 %28 = load i32, ptr %3, align 4 ret i32 %28 } declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @is_server_exist(ptr noundef, i32 noundef) #1 declare ptr @localpath_to_serverpath(ptr noundef, i32 noundef) #1 declare i32 @remove(ptr 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/tmp3wzdfwon.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"USB_rm() - %s start\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @USB_rm(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %9 = load ptr, ptr %4, align 8 %10 = call i32 @printf(ptr noundef @.str, ptr noundef %9) store i32 0, ptr %6, align 4 %11 = load ptr, ptr %4, align 8 %12 = load i32, ptr %5, align 4 %13 = call i32 @is_server_exist(ptr noundef %11, i32 noundef %12) store i32 %13, ptr %7, align 4 %14 = load i32, ptr %7, align 4 %15 = icmp ne i32 %14, 0 br i1 %15, label %18, label %16 16: ; preds = %2 %17 = load i32, ptr %6, align 4 store i32 %17, ptr %3, align 4 br label %27 18: ; preds = %2 %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr %5, align 4 %21 = call ptr @localpath_to_serverpath(ptr noundef %19, i32 noundef %20) store ptr %21, ptr %8, align 8 %22 = load ptr, ptr %8, align 8 %23 = call i32 @remove(ptr noundef %22) store i32 %23, ptr %6, align 4 %24 = load ptr, ptr %8, align 8 %25 = call i32 @free(ptr noundef %24) %26 = load i32, ptr %6, align 4 store i32 %26, ptr %3, align 4 br label %27 27: ; preds = %18, %16 %28 = load i32, ptr %3, align 4 ret i32 %28 } declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @is_server_exist(ptr noundef, i32 noundef) #1 declare ptr @localpath_to_serverpath(ptr noundef, i32 noundef) #1 declare i32 @remove(ptr 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/tmpkb0pf4nl.c' source_filename = "/tmp/tmpkb0pf4nl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.dayOfYear.num_days = private unnamed_addr constant [13 x i32] [i32 0, i32 31, i32 28, i32 31, i32 30, i32 31, i32 30, i32 31, i32 31, i32 30, i32 31, i32 30, i32 31], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @dayOfYear(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca [13 x i32], align 16 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 %11 = load i32, ptr %7, align 4 %12 = icmp slt i32 %11, 1753 br i1 %12, label %25, label %13 13: ; preds = %3 %14 = load i32, ptr %6, align 4 %15 = icmp sgt i32 %14, 12 br i1 %15, label %25, label %16 16: ; preds = %13 %17 = load i32, ptr %6, align 4 %18 = icmp slt i32 %17, 1 br i1 %18, label %25, label %19 19: ; preds = %16 %20 = load i32, ptr %5, align 4 %21 = icmp sgt i32 %20, 31 br i1 %21, label %25, label %22 22: ; preds = %19 %23 = load i32, ptr %5, align 4 %24 = icmp slt i32 %23, 1 br i1 %24, label %25, label %26 25: ; preds = %22, %19, %16, %13, %3 store i32 -1, ptr %4, align 4 br label %88 26: ; preds = %22 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 @__const.dayOfYear.num_days, i64 52, i1 false) store i32 0, ptr %9, align 4 %27 = load i32, ptr %6, align 4 %28 = icmp ne i32 %27, 2 br i1 %28, label %33, label %29 29: ; preds = %26 %30 = load i32, ptr %7, align 4 %31 = call i64 @isLeap(i32 noundef %30) %32 = icmp ne i64 %31, 0 br i1 %32, label %41, label %33 33: ; preds = %29, %26 %34 = load i32, ptr %5, align 4 %35 = load i32, ptr %6, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds [13 x i32], ptr %8, i64 0, i64 %36 %38 = load i32, ptr %37, align 4 %39 = icmp sgt i32 %34, %38 br i1 %39, label %40, label %41 40: ; preds = %33 store i32 -1, ptr %4, align 4 br label %88 41: ; preds = %33, %29 %42 = load i32, ptr %6, align 4 %43 = icmp eq i32 %42, 2 br i1 %43, label %44, label %57 44: ; preds = %41 %45 = load i32, ptr %7, align 4 %46 = call i64 @isLeap(i32 noundef %45) %47 = icmp ne i64 %46, 0 br i1 %47, label %48, label %57 48: ; preds = %44 %49 = load i32, ptr %5, align 4 %50 = load i32, ptr %6, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds [13 x i32], ptr %8, i64 0, i64 %51 %53 = load i32, ptr %52, align 4 %54 = add nsw i32 %53, 1 %55 = icmp sgt i32 %49, %54 br i1 %55, label %56, label %57 56: ; preds = %48 store i32 -1, ptr %4, align 4 br label %88 57: ; preds = %48, %44, %41 br label %58 58: ; preds = %57 store i32 1, ptr %10, align 4 br label %59 59: ; preds = %80, %58 %60 = load i32, ptr %10, align 4 %61 = load i32, ptr %6, align 4 %62 = icmp slt i32 %60, %61 br i1 %62, label %63, label %83 63: ; preds = %59 %64 = load i32, ptr %10, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds [13 x i32], ptr %8, i64 0, i64 %65 %67 = load i32, ptr %66, align 4 %68 = load i32, ptr %9, align 4 %69 = add nsw i32 %68, %67 store i32 %69, ptr %9, align 4 %70 = load i32, ptr %10, align 4 %71 = icmp eq i32 %70, 2 br i1 %71, label %72, label %79 72: ; preds = %63 %73 = load i32, ptr %7, align 4 %74 = call i64 @isLeap(i32 noundef %73) %75 = icmp ne i64 %74, 0 br i1 %75, label %76, label %79 76: ; preds = %72 %77 = load i32, ptr %9, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %9, align 4 br label %79 79: ; preds = %76, %72, %63 br label %80 80: ; preds = %79 %81 = load i32, ptr %10, align 4 %82 = add nsw i32 %81, 1 store i32 %82, ptr %10, align 4 br label %59, !llvm.loop !6 83: ; preds = %59 %84 = load i32, ptr %5, align 4 %85 = load i32, ptr %9, align 4 %86 = add nsw i32 %85, %84 store i32 %86, ptr %9, align 4 %87 = load i32, ptr %9, align 4 store i32 %87, ptr %4, align 4 br label %88 88: ; preds = %83, %56, %40, %25 %89 = load i32, ptr %4, align 4 ret i32 %89 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i64 @isLeap(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/tmpkb0pf4nl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.dayOfYear.num_days = private unnamed_addr constant [13 x i32] [i32 0, i32 31, i32 28, i32 31, i32 30, i32 31, i32 30, i32 31, i32 31, i32 30, i32 31, i32 30, i32 31], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @dayOfYear(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca [13 x i32], align 16 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 %11 = load i32, ptr %7, align 4 %12 = icmp slt i32 %11, 1753 br i1 %12, label %25, label %13 13: ; preds = %3 %14 = load i32, ptr %6, align 4 %15 = icmp sgt i32 %14, 12 br i1 %15, label %25, label %16 16: ; preds = %13 %17 = load i32, ptr %6, align 4 %18 = icmp slt i32 %17, 1 br i1 %18, label %25, label %19 19: ; preds = %16 %20 = load i32, ptr %5, align 4 %21 = icmp sgt i32 %20, 31 br i1 %21, label %25, label %22 22: ; preds = %19 %23 = load i32, ptr %5, align 4 %24 = icmp slt i32 %23, 1 br i1 %24, label %25, label %26 25: ; preds = %22, %19, %16, %13, %3 store i32 -1, ptr %4, align 4 br label %90 26: ; preds = %22 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 @__const.dayOfYear.num_days, i64 52, i1 false) store i32 0, ptr %9, align 4 %27 = load i32, ptr %6, align 4 %28 = icmp ne i32 %27, 2 br i1 %28, label %33, label %29 29: ; preds = %26 %30 = load i32, ptr %7, align 4 %31 = call i64 @isLeap(i32 noundef %30) %32 = icmp ne i64 %31, 0 br i1 %32, label %41, label %33 33: ; preds = %29, %26 %34 = load i32, ptr %5, align 4 %35 = load i32, ptr %6, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds [13 x i32], ptr %8, i64 0, i64 %36 %38 = load i32, ptr %37, align 4 %39 = icmp sgt i32 %34, %38 br i1 %39, label %40, label %41 40: ; preds = %33 store i32 -1, ptr %4, align 4 br label %90 41: ; preds = %33, %29 %42 = load i32, ptr %6, align 4 %43 = icmp eq i32 %42, 2 br i1 %43, label %44, label %57 44: ; preds = %41 %45 = load i32, ptr %7, align 4 %46 = call i64 @isLeap(i32 noundef %45) %47 = icmp ne i64 %46, 0 br i1 %47, label %48, label %57 48: ; preds = %44 %49 = load i32, ptr %5, align 4 %50 = load i32, ptr %6, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds [13 x i32], ptr %8, i64 0, i64 %51 %53 = load i32, ptr %52, align 4 %54 = add nsw i32 %53, 1 %55 = icmp sgt i32 %49, %54 br i1 %55, label %56, label %57 56: ; preds = %48 store i32 -1, ptr %4, align 4 br label %90 57: ; preds = %48, %44, %41 br label %58 58: ; preds = %57 store i32 1, ptr %10, align 4 %59 = load i32, ptr %10, align 4 %60 = load i32, ptr %6, align 4 %61 = icmp slt i32 %59, %60 br i1 %61, label %.lr.ph, label %85 .lr.ph: ; preds = %58 br label %62 62: ; preds = %.lr.ph, %79 %63 = load i32, ptr %10, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds [13 x i32], ptr %8, i64 0, i64 %64 %66 = load i32, ptr %65, align 4 %67 = load i32, ptr %9, align 4 %68 = add nsw i32 %67, %66 store i32 %68, ptr %9, align 4 %69 = load i32, ptr %10, align 4 %70 = icmp eq i32 %69, 2 br i1 %70, label %71, label %78 71: ; preds = %62 %72 = load i32, ptr %7, align 4 %73 = call i64 @isLeap(i32 noundef %72) %74 = icmp ne i64 %73, 0 br i1 %74, label %75, label %78 75: ; preds = %71 %76 = load i32, ptr %9, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %9, align 4 br label %78 78: ; preds = %75, %71, %62 br label %79 79: ; preds = %78 %80 = load i32, ptr %10, align 4 %81 = add nsw i32 %80, 1 store i32 %81, ptr %10, align 4 %82 = load i32, ptr %10, align 4 %83 = load i32, ptr %6, align 4 %84 = icmp slt i32 %82, %83 br i1 %84, label %62, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %79 br label %85 85: ; preds = %._crit_edge, %58 %86 = load i32, ptr %5, align 4 %87 = load i32, ptr %9, align 4 %88 = add nsw i32 %87, %86 store i32 %88, ptr %9, align 4 %89 = load i32, ptr %9, align 4 store i32 %89, ptr %4, align 4 br label %90 90: ; preds = %85, %56, %40, %25 %91 = load i32, ptr %4, align 4 ret i32 %91 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i64 @isLeap(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/tmp926pl4qm.c' source_filename = "/tmp/tmp926pl4qm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [30 x i8] c"getcwd(): buf=0x%p, size=%zu\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [12 x i8] c"\09\09ret = %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"(null)\00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c"\09Succeeded Phase 1\0A\00", align 1 @.str.4 = private unnamed_addr constant [53 x i8] c"\09Failed Phase 1: returned undefined value! ret = %p\0A\00", align 1 @.str.5 = private unnamed_addr constant [43 x i8] c"Internal syscalltester error: passed = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @getcwd_test(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %8 = load ptr, ptr %3, align 8 %9 = load i64, ptr %4, align 8 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %8, i64 noundef %9) %11 = call i32 @fflush(ptr noundef null) %12 = load ptr, ptr %3, align 8 %13 = load i64, ptr %4, align 8 %14 = call ptr @getcwd(ptr noundef %12, i64 noundef %13) store ptr %14, ptr %5, align 8 %15 = call i32 @handle_ptr(ptr noundef %14) store i32 %15, ptr %7, align 4 %16 = load i32, ptr @errno, align 4 store i32 %16, ptr %6, align 4 %17 = load i32, ptr %7, align 4 switch i32 %17, label %33 [ i32 -1, label %18 i32 0, label %18 i32 -2, label %29 ] 18: ; preds = %2, %2 %19 = load ptr, ptr %5, align 8 %20 = icmp eq ptr %19, null br i1 %20, label %21, label %22 21: ; preds = %18 br label %24 22: ; preds = %18 %23 = load ptr, ptr %5, align 8 br label %24 24: ; preds = %22, %21 %25 = phi ptr [ @.str.2, %21 ], [ %23, %22 ] %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %25) %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %28 = call i32 @fflush(ptr noundef null) br label %37 29: ; preds = %2 %30 = load ptr, ptr %5, align 8 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %30) %32 = call i32 @fflush(ptr noundef null) br label %37 33: ; preds = %2 %34 = load i32, ptr %7, align 4 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %34) %36 = call i32 @fflush(ptr noundef null) br label %37 37: ; preds = %33, %29, %24 %38 = load i32, ptr %6, align 4 store i32 %38, ptr @errno, align 4 %39 = load ptr, ptr %5, align 8 ret ptr %39 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @fflush(ptr noundef) #1 declare i32 @handle_ptr(ptr noundef) #1 declare ptr @getcwd(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp926pl4qm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [30 x i8] c"getcwd(): buf=0x%p, size=%zu\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [12 x i8] c"\09\09ret = %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"(null)\00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c"\09Succeeded Phase 1\0A\00", align 1 @.str.4 = private unnamed_addr constant [53 x i8] c"\09Failed Phase 1: returned undefined value! ret = %p\0A\00", align 1 @.str.5 = private unnamed_addr constant [43 x i8] c"Internal syscalltester error: passed = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @getcwd_test(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %8 = load ptr, ptr %3, align 8 %9 = load i64, ptr %4, align 8 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %8, i64 noundef %9) %11 = call i32 @fflush(ptr noundef null) %12 = load ptr, ptr %3, align 8 %13 = load i64, ptr %4, align 8 %14 = call ptr @getcwd(ptr noundef %12, i64 noundef %13) store ptr %14, ptr %5, align 8 %15 = call i32 @handle_ptr(ptr noundef %14) store i32 %15, ptr %7, align 4 %16 = load i32, ptr @errno, align 4 store i32 %16, ptr %6, align 4 %17 = load i32, ptr %7, align 4 switch i32 %17, label %33 [ i32 -1, label %18 i32 0, label %18 i32 -2, label %29 ] 18: ; preds = %2, %2 %19 = load ptr, ptr %5, align 8 %20 = icmp eq ptr %19, null br i1 %20, label %21, label %22 21: ; preds = %18 br label %24 22: ; preds = %18 %23 = load ptr, ptr %5, align 8 br label %24 24: ; preds = %22, %21 %25 = phi ptr [ @.str.2, %21 ], [ %23, %22 ] %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %25) %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %28 = call i32 @fflush(ptr noundef null) br label %37 29: ; preds = %2 %30 = load ptr, ptr %5, align 8 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %30) %32 = call i32 @fflush(ptr noundef null) br label %37 33: ; preds = %2 %34 = load i32, ptr %7, align 4 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %34) %36 = call i32 @fflush(ptr noundef null) br label %37 37: ; preds = %33, %29, %24 %38 = load i32, ptr %6, align 4 store i32 %38, ptr @errno, align 4 %39 = load ptr, ptr %5, align 8 ret ptr %39 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @fflush(ptr noundef) #1 declare i32 @handle_ptr(ptr noundef) #1 declare ptr @getcwd(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpz9_1dwvs.c' source_filename = "/tmp/tmpz9_1dwvs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Division By Zero In MODF.\0A\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"Division By 0 In MODF.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Act_ModF() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 (...) @ArgNum() store i32 %3, ptr %1, align 4 %4 = call i32 (...) @ArgNum() %5 = call i32 @GetFlag(i32 noundef %4) store i32 %5, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %12 8: ; preds = %0 %9 = call i32 (...) @Me() %10 = call i32 @SendItem(i32 noundef %9, ptr noundef @.str) %11 = call i32 @Log(ptr noundef @.str.1) br label %19 12: ; preds = %0 %13 = load i32, ptr %1, align 4 %14 = load i32, ptr %1, align 4 %15 = call i32 @GetFlag(i32 noundef %14) %16 = load i32, ptr %2, align 4 %17 = srem i32 %15, %16 %18 = call i32 @SetFlag(i32 noundef %13, i32 noundef %17) br label %19 19: ; preds = %12, %8 ret void } declare i32 @ArgNum(...) #1 declare i32 @GetFlag(i32 noundef) #1 declare i32 @SendItem(i32 noundef, ptr noundef) #1 declare i32 @Me(...) #1 declare i32 @Log(ptr noundef) #1 declare i32 @SetFlag(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/tmpz9_1dwvs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Division By Zero In MODF.\0A\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"Division By 0 In MODF.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Act_ModF() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 (...) @ArgNum() store i32 %3, ptr %1, align 4 %4 = call i32 (...) @ArgNum() %5 = call i32 @GetFlag(i32 noundef %4) store i32 %5, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %12 8: ; preds = %0 %9 = call i32 (...) @Me() %10 = call i32 @SendItem(i32 noundef %9, ptr noundef @.str) %11 = call i32 @Log(ptr noundef @.str.1) br label %19 12: ; preds = %0 %13 = load i32, ptr %1, align 4 %14 = load i32, ptr %1, align 4 %15 = call i32 @GetFlag(i32 noundef %14) %16 = load i32, ptr %2, align 4 %17 = srem i32 %15, %16 %18 = call i32 @SetFlag(i32 noundef %13, i32 noundef %17) br label %19 19: ; preds = %12, %8 ret void } declare i32 @ArgNum(...) #1 declare i32 @GetFlag(i32 noundef) #1 declare i32 @SendItem(i32 noundef, ptr noundef) #1 declare i32 @Me(...) #1 declare i32 @Log(ptr noundef) #1 declare i32 @SetFlag(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/tmpmwxhdml4.c' source_filename = "/tmp/tmpmwxhdml4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"accept error\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @Accept(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %8 = load i32, ptr %4, align 4 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %6, align 8 %11 = call i32 @accept(i32 noundef %8, ptr noundef %9, ptr noundef %10) store i32 %11, ptr %7, align 4 %12 = icmp slt i32 %11, 0 br i1 %12, label %13, label %15 13: ; preds = %3 %14 = call i32 @err_sys(ptr noundef @.str) br label %15 15: ; preds = %13, %3 %16 = load i32, ptr %7, align 4 ret i32 %16 } declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @err_sys(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmwxhdml4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"accept error\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @Accept(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %8 = load i32, ptr %4, align 4 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %6, align 8 %11 = call i32 @accept(i32 noundef %8, ptr noundef %9, ptr noundef %10) store i32 %11, ptr %7, align 4 %12 = icmp slt i32 %11, 0 br i1 %12, label %13, label %15 13: ; preds = %3 %14 = call i32 @err_sys(ptr noundef @.str) br label %15 15: ; preds = %13, %3 %16 = load i32, ptr %7, align 4 ret i32 %16 } declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @err_sys(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvdr7zj04.c' source_filename = "/tmp/tmpvdr7zj04.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wrapc_getrand(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 (...) @rand() %4 = load i32, ptr %2, align 4 %5 = srem i32 %3, %4 ret i32 %5 } declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvdr7zj04.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wrapc_getrand(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 (...) @rand() %4 = load i32, ptr %2, align 4 %5 = srem i32 %3, %4 ret i32 %5 } declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprctsw6mv.c' source_filename = "/tmp/tmprctsw6mv.c" target datalayout = "e-m:e-p270: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/tmprctsw6mv.c" target datalayout = "e-m:e-p270: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/tmpnpc3_l1z.c' source_filename = "/tmp/tmpnpc3_l1z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @shim_sgetmask() #0 { %1 = call i64 @shim_enosys(i32 noundef 0) ret i64 %1 } declare i64 @shim_enosys(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/tmpnpc3_l1z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @shim_sgetmask() #0 { %1 = call i64 @shim_enosys(i32 noundef 0) ret i64 %1 } declare i64 @shim_enosys(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/tmp003thk7w.c' source_filename = "/tmp/tmp003thk7w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @timlib_escape_sql_injection(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call ptr @timlib_sql_injection_escape(ptr noundef %3) ret ptr %4 } declare ptr @timlib_sql_injection_escape(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp003thk7w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @timlib_escape_sql_injection(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call ptr @timlib_sql_injection_escape(ptr noundef %3) ret ptr %4 } declare ptr @timlib_sql_injection_escape(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpt4dva7n1.c' source_filename = "/tmp/tmpt4dva7n1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @overlappingWriteFunction_wcpncpy(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = load i32, ptr %6, align 4 %10 = call ptr @wcpncpy(ptr noundef %7, ptr noundef %8, i32 noundef %9) %11 = load ptr, ptr %4, align 8 %12 = load ptr, ptr %4, align 8 %13 = getelementptr inbounds i32, ptr %12, i64 3 %14 = call ptr @wcpncpy(ptr noundef %11, ptr noundef %13, i32 noundef 4) ret ptr %14 } declare ptr @wcpncpy(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/tmpt4dva7n1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @overlappingWriteFunction_wcpncpy(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = load i32, ptr %6, align 4 %10 = call ptr @wcpncpy(ptr noundef %7, ptr noundef %8, i32 noundef %9) %11 = load ptr, ptr %4, align 8 %12 = load ptr, ptr %4, align 8 %13 = getelementptr inbounds i32, ptr %12, i64 3 %14 = call ptr @wcpncpy(ptr noundef %11, ptr noundef %13, i32 noundef 4) ret ptr %14 } declare ptr @wcpncpy(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/tmpvjsee96w.c' source_filename = "/tmp/tmpvjsee96w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.tm = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @date_get_dayofweek() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = call i32 @time(ptr noundef null) store i32 %3, ptr %1, align 4 %4 = call ptr @localtime(ptr noundef %1) store ptr %4, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = getelementptr inbounds %struct.tm, ptr %5, i32 0, i32 0 %7 = load i32, ptr %6, align 4 ret i32 %7 } declare i32 @time(ptr noundef) #1 declare ptr @localtime(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvjsee96w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.tm = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @date_get_dayofweek() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = call i32 @time(ptr noundef null) store i32 %3, ptr %1, align 4 %4 = call ptr @localtime(ptr noundef %1) store ptr %4, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = getelementptr inbounds %struct.tm, ptr %5, i32 0, i32 0 %7 = load i32, ptr %6, align 4 ret i32 %7 } declare i32 @time(ptr noundef) #1 declare ptr @localtime(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpj1tkhucm.c' source_filename = "/tmp/tmpj1tkhucm.c" target datalayout = "e-m:e-p270: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/tmpj1tkhucm.c" target datalayout = "e-m:e-p270: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/tmpo71trr8e.c' source_filename = "/tmp/tmpo71trr8e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.termios = type { i32, i32, ptr, i64, i64 } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [24 x i8] c"error %d from tcgetattr\00", align 1 @errno = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 @CSIZE = dso_local global i32 0, align 4 @CS8 = dso_local global i32 0, align 4 @IGNBRK = dso_local global i32 0, align 4 @VMIN = dso_local global i64 0, align 8 @VTIME = dso_local global i64 0, align 8 @IXON = dso_local global i32 0, align 4 @IXOFF = dso_local global i32 0, align 4 @IXANY = dso_local global i32 0, align 4 @CLOCAL = dso_local global i32 0, align 4 @CREAD = dso_local global i32 0, align 4 @PARENB = dso_local global i32 0, align 4 @PARODD = dso_local global i32 0, align 4 @CSTOPB = dso_local global i32 0, align 4 @CRTSCTS = dso_local global i32 0, align 4 @TCSANOW = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [24 x i8] c"error %d from tcsetattr\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @set_interface_attribs(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca %struct.termios, align 8 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 %9 = call i32 @memset(ptr noundef %8, i32 noundef 0, i32 noundef 32) %10 = load i32, ptr %5, align 4 %11 = call i64 @tcgetattr(i32 noundef %10, ptr noundef %8) %12 = icmp ne i64 %11, 0 br i1 %12, label %13, label %18 13: ; preds = %3 %14 = load i32, ptr @stderr, align 4 %15 = load i32, ptr @errno, align 4 %16 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str, i32 noundef %15) %17 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %17, ptr %4, align 4 br label %93 18: ; preds = %3 %19 = load i32, ptr %6, align 4 %20 = call i32 @cfsetospeed(ptr noundef %8, i32 noundef %19) %21 = load i32, ptr %6, align 4 %22 = call i32 @cfsetispeed(ptr noundef %8, i32 noundef %21) %23 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 0 %24 = load i32, ptr %23, align 8 %25 = load i32, ptr @CSIZE, align 4 %26 = xor i32 %25, -1 %27 = and i32 %24, %26 %28 = load i32, ptr @CS8, align 4 %29 = or i32 %27, %28 %30 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 0 store i32 %29, ptr %30, align 8 %31 = load i32, ptr @IGNBRK, align 4 %32 = xor i32 %31, -1 %33 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 1 %34 = load i32, ptr %33, align 4 %35 = and i32 %34, %32 store i32 %35, ptr %33, align 4 %36 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 4 store i64 0, ptr %36, align 8 %37 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 3 store i64 0, ptr %37, align 8 %38 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 2 %39 = load ptr, ptr %38, align 8 %40 = load i64, ptr @VMIN, align 8 %41 = getelementptr inbounds i32, ptr %39, i64 %40 store i32 0, ptr %41, align 4 %42 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 2 %43 = load ptr, ptr %42, align 8 %44 = load i64, ptr @VTIME, align 8 %45 = getelementptr inbounds i32, ptr %43, i64 %44 store i32 5, ptr %45, align 4 %46 = load i32, ptr @IXON, align 4 %47 = load i32, ptr @IXOFF, align 4 %48 = or i32 %46, %47 %49 = load i32, ptr @IXANY, align 4 %50 = or i32 %48, %49 %51 = xor i32 %50, -1 %52 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 1 %53 = load i32, ptr %52, align 4 %54 = and i32 %53, %51 store i32 %54, ptr %52, align 4 %55 = load i32, ptr @CLOCAL, align 4 %56 = load i32, ptr @CREAD, align 4 %57 = or i32 %55, %56 %58 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 0 %59 = load i32, ptr %58, align 8 %60 = or i32 %59, %57 store i32 %60, ptr %58, align 8 %61 = load i32, ptr @PARENB, align 4 %62 = load i32, ptr @PARODD, align 4 %63 = or i32 %61, %62 %64 = xor i32 %63, -1 %65 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 0 %66 = load i32, ptr %65, align 8 %67 = and i32 %66, %64 store i32 %67, ptr %65, align 8 %68 = load i32, ptr %7, align 4 %69 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 0 %70 = load i32, ptr %69, align 8 %71 = or i32 %70, %68 store i32 %71, ptr %69, align 8 %72 = load i32, ptr @CSTOPB, align 4 %73 = xor i32 %72, -1 %74 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 0 %75 = load i32, ptr %74, align 8 %76 = and i32 %75, %73 store i32 %76, ptr %74, align 8 %77 = load i32, ptr @CRTSCTS, align 4 %78 = xor i32 %77, -1 %79 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 0 %80 = load i32, ptr %79, align 8 %81 = and i32 %80, %78 store i32 %81, ptr %79, align 8 %82 = load i32, ptr %5, align 4 %83 = load i32, ptr @TCSANOW, align 4 %84 = call i64 @tcsetattr(i32 noundef %82, i32 noundef %83, ptr noundef %8) %85 = icmp ne i64 %84, 0 br i1 %85, label %86, label %91 86: ; preds = %18 %87 = load i32, ptr @stderr, align 4 %88 = load i32, ptr @errno, align 4 %89 = call i32 @fprintf(i32 noundef %87, ptr noundef @.str.1, i32 noundef %88) %90 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %90, ptr %4, align 4 br label %93 91: ; preds = %18 %92 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %92, ptr %4, align 4 br label %93 93: ; preds = %91, %86, %13 %94 = load i32, ptr %4, align 4 ret i32 %94 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @tcgetattr(i32 noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @cfsetospeed(ptr noundef, i32 noundef) #1 declare i32 @cfsetispeed(ptr noundef, i32 noundef) #1 declare i64 @tcsetattr(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo71trr8e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.termios = type { i32, i32, ptr, i64, i64 } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [24 x i8] c"error %d from tcgetattr\00", align 1 @errno = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 @CSIZE = dso_local global i32 0, align 4 @CS8 = dso_local global i32 0, align 4 @IGNBRK = dso_local global i32 0, align 4 @VMIN = dso_local global i64 0, align 8 @VTIME = dso_local global i64 0, align 8 @IXON = dso_local global i32 0, align 4 @IXOFF = dso_local global i32 0, align 4 @IXANY = dso_local global i32 0, align 4 @CLOCAL = dso_local global i32 0, align 4 @CREAD = dso_local global i32 0, align 4 @PARENB = dso_local global i32 0, align 4 @PARODD = dso_local global i32 0, align 4 @CSTOPB = dso_local global i32 0, align 4 @CRTSCTS = dso_local global i32 0, align 4 @TCSANOW = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [24 x i8] c"error %d from tcsetattr\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @set_interface_attribs(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca %struct.termios, align 8 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 %9 = call i32 @memset(ptr noundef %8, i32 noundef 0, i32 noundef 32) %10 = load i32, ptr %5, align 4 %11 = call i64 @tcgetattr(i32 noundef %10, ptr noundef %8) %12 = icmp ne i64 %11, 0 br i1 %12, label %13, label %18 13: ; preds = %3 %14 = load i32, ptr @stderr, align 4 %15 = load i32, ptr @errno, align 4 %16 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str, i32 noundef %15) %17 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %17, ptr %4, align 4 br label %93 18: ; preds = %3 %19 = load i32, ptr %6, align 4 %20 = call i32 @cfsetospeed(ptr noundef %8, i32 noundef %19) %21 = load i32, ptr %6, align 4 %22 = call i32 @cfsetispeed(ptr noundef %8, i32 noundef %21) %23 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 0 %24 = load i32, ptr %23, align 8 %25 = load i32, ptr @CSIZE, align 4 %26 = xor i32 %25, -1 %27 = and i32 %24, %26 %28 = load i32, ptr @CS8, align 4 %29 = or i32 %27, %28 %30 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 0 store i32 %29, ptr %30, align 8 %31 = load i32, ptr @IGNBRK, align 4 %32 = xor i32 %31, -1 %33 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 1 %34 = load i32, ptr %33, align 4 %35 = and i32 %34, %32 store i32 %35, ptr %33, align 4 %36 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 4 store i64 0, ptr %36, align 8 %37 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 3 store i64 0, ptr %37, align 8 %38 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 2 %39 = load ptr, ptr %38, align 8 %40 = load i64, ptr @VMIN, align 8 %41 = getelementptr inbounds i32, ptr %39, i64 %40 store i32 0, ptr %41, align 4 %42 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 2 %43 = load ptr, ptr %42, align 8 %44 = load i64, ptr @VTIME, align 8 %45 = getelementptr inbounds i32, ptr %43, i64 %44 store i32 5, ptr %45, align 4 %46 = load i32, ptr @IXON, align 4 %47 = load i32, ptr @IXOFF, align 4 %48 = or i32 %46, %47 %49 = load i32, ptr @IXANY, align 4 %50 = or i32 %48, %49 %51 = xor i32 %50, -1 %52 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 1 %53 = load i32, ptr %52, align 4 %54 = and i32 %53, %51 store i32 %54, ptr %52, align 4 %55 = load i32, ptr @CLOCAL, align 4 %56 = load i32, ptr @CREAD, align 4 %57 = or i32 %55, %56 %58 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 0 %59 = load i32, ptr %58, align 8 %60 = or i32 %59, %57 store i32 %60, ptr %58, align 8 %61 = load i32, ptr @PARENB, align 4 %62 = load i32, ptr @PARODD, align 4 %63 = or i32 %61, %62 %64 = xor i32 %63, -1 %65 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 0 %66 = load i32, ptr %65, align 8 %67 = and i32 %66, %64 store i32 %67, ptr %65, align 8 %68 = load i32, ptr %7, align 4 %69 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 0 %70 = load i32, ptr %69, align 8 %71 = or i32 %70, %68 store i32 %71, ptr %69, align 8 %72 = load i32, ptr @CSTOPB, align 4 %73 = xor i32 %72, -1 %74 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 0 %75 = load i32, ptr %74, align 8 %76 = and i32 %75, %73 store i32 %76, ptr %74, align 8 %77 = load i32, ptr @CRTSCTS, align 4 %78 = xor i32 %77, -1 %79 = getelementptr inbounds %struct.termios, ptr %8, i32 0, i32 0 %80 = load i32, ptr %79, align 8 %81 = and i32 %80, %78 store i32 %81, ptr %79, align 8 %82 = load i32, ptr %5, align 4 %83 = load i32, ptr @TCSANOW, align 4 %84 = call i64 @tcsetattr(i32 noundef %82, i32 noundef %83, ptr noundef %8) %85 = icmp ne i64 %84, 0 br i1 %85, label %86, label %91 86: ; preds = %18 %87 = load i32, ptr @stderr, align 4 %88 = load i32, ptr @errno, align 4 %89 = call i32 @fprintf(i32 noundef %87, ptr noundef @.str.1, i32 noundef %88) %90 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %90, ptr %4, align 4 br label %93 91: ; preds = %18 %92 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %92, ptr %4, align 4 br label %93 93: ; preds = %91, %86, %13 %94 = load i32, ptr %4, align 4 ret i32 %94 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @tcgetattr(i32 noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @cfsetospeed(ptr noundef, i32 noundef) #1 declare i32 @cfsetispeed(ptr noundef, i32 noundef) #1 declare i64 @tcsetattr(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpooj1nb4x.c' source_filename = "/tmp/tmpooj1nb4x.c" target datalayout = "e-m:e-p270: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/tmpooj1nb4x.c" target datalayout = "e-m:e-p270: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/tmpu0afd9nm.c' source_filename = "/tmp/tmpu0afd9nm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @F_GETFL = dso_local global i32 0, align 4 @F_SETFL = dso_local global i32 0, align 4 @O_NONBLOCK = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ss_set_fd_blocking(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr @F_GETFL, align 4 %7 = call i32 @fcntl(i32 noundef %5, i32 noundef %6, i32 noundef 0) store i32 %7, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp eq i32 %8, -1 br i1 %9, label %10, label %11 10: ; preds = %1 store i32 0, ptr %2, align 4 br label %21 11: ; preds = %1 %12 = load i32, ptr %3, align 4 %13 = load i32, ptr @F_SETFL, align 4 %14 = load i32, ptr %4, align 4 %15 = load i32, ptr @O_NONBLOCK, align 4 %16 = xor i32 %15, -1 %17 = and i32 %14, %16 %18 = call i32 @fcntl(i32 noundef %12, i32 noundef %13, i32 noundef %17) %19 = icmp ne i32 %18, -1 %20 = zext i1 %19 to i32 store i32 %20, ptr %2, align 4 br label %21 21: ; preds = %11, %10 %22 = load i32, ptr %2, align 4 ret i32 %22 } declare i32 @fcntl(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/tmpu0afd9nm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @F_GETFL = dso_local global i32 0, align 4 @F_SETFL = dso_local global i32 0, align 4 @O_NONBLOCK = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ss_set_fd_blocking(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr @F_GETFL, align 4 %7 = call i32 @fcntl(i32 noundef %5, i32 noundef %6, i32 noundef 0) store i32 %7, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp eq i32 %8, -1 br i1 %9, label %10, label %11 10: ; preds = %1 store i32 0, ptr %2, align 4 br label %21 11: ; preds = %1 %12 = load i32, ptr %3, align 4 %13 = load i32, ptr @F_SETFL, align 4 %14 = load i32, ptr %4, align 4 %15 = load i32, ptr @O_NONBLOCK, align 4 %16 = xor i32 %15, -1 %17 = and i32 %14, %16 %18 = call i32 @fcntl(i32 noundef %12, i32 noundef %13, i32 noundef %17) %19 = icmp ne i32 %18, -1 %20 = zext i1 %19 to i32 store i32 %20, ptr %2, align 4 br label %21 21: ; preds = %11, %10 %22 = load i32, ptr %2, align 4 ret i32 %22 } declare i32 @fcntl(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/tmpik2urudp.c' source_filename = "/tmp/tmpik2urudp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"/proc/kallsyms\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"open /proc/kallsyms failed\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c" \09\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @kallsyms_parse(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i8, align 1 %11 = alloca i64, align 8 %12 = alloca i32, align 4 %13 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 store ptr null, ptr %7, align 8 %14 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %14, ptr %6, align 8 %15 = load ptr, ptr %6, align 8 %16 = icmp eq ptr %15, null br i1 %16, label %17, label %22 17: ; preds = %2 br label %18 18: ; preds = %17 %19 = call i32 @perror(ptr noundef @.str.2) %20 = call i32 @exit(i32 noundef -1) #3 unreachable 21: ; No predecessors! br label %22 22: ; preds = %21, %2 br label %23 23: ; preds = %59, %22 %24 = load ptr, ptr %6, align 8 %25 = call i32 @feof(ptr noundef %24) %26 = icmp ne i32 %25, 0 %27 = xor i1 %26, true br i1 %27, label %28, label %60 28: ; preds = %23 %29 = load ptr, ptr %6, align 8 %30 = call i32 @getline(ptr noundef %7, ptr noundef %13, ptr noundef %29) store i32 %30, ptr %12, align 4 %31 = load i32, ptr %12, align 4 %32 = icmp slt i32 %31, 0 br i1 %32, label %36, label %33 33: ; preds = %28 %34 = load ptr, ptr %7, align 8 %35 = icmp ne ptr %34, null br i1 %35, label %37, label %36 36: ; preds = %33, %28 br label %60 37: ; preds = %33 %38 = load ptr, ptr %7, align 8 %39 = load i32, ptr %12, align 4 %40 = add nsw i32 %39, -1 store i32 %40, ptr %12, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i8, ptr %38, i64 %41 store i8 0, ptr %42, align 1 %43 = load ptr, ptr %7, align 8 %44 = call ptr @strtok(ptr noundef %43, ptr noundef @.str.3) store ptr %44, ptr %8, align 8 %45 = load ptr, ptr %8, align 8 %46 = call i64 @strtoul(ptr noundef %45, ptr noundef null, i32 noundef 16) store i64 %46, ptr %11, align 8 %47 = call ptr @strtok(ptr noundef null, ptr noundef @.str.3) %48 = load i8, ptr %47, align 1 store i8 %48, ptr %10, align 1 %49 = call ptr @strtok(ptr noundef null, ptr noundef @.str.3) store ptr %49, ptr %9, align 8 %50 = load ptr, ptr %4, align 8 %51 = load ptr, ptr %3, align 8 %52 = load ptr, ptr %9, align 8 %53 = load i8, ptr %10, align 1 %54 = load i64, ptr %11, align 8 %55 = call i32 %50(ptr noundef %51, ptr noundef %52, i8 noundef signext %53, i64 noundef %54) store i32 %55, ptr %5, align 4 %56 = load i32, ptr %5, align 4 %57 = icmp ne i32 %56, 0 br i1 %57, label %58, label %59 58: ; preds = %37 br label %60 59: ; preds = %37 br label %23, !llvm.loop !6 60: ; preds = %58, %36, %23 %61 = load ptr, ptr %7, align 8 %62 = call i32 @free(ptr noundef %61) %63 = load ptr, ptr %6, align 8 %64 = call i32 @fclose(ptr noundef %63) %65 = load i32, ptr %5, align 4 ret i32 %65 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @feof(ptr noundef) #1 declare i32 @getline(ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @strtok(ptr noundef, ptr noundef) #1 declare i64 @strtoul(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @free(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" } 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/tmpik2urudp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"/proc/kallsyms\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"open /proc/kallsyms failed\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c" \09\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @kallsyms_parse(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i8, align 1 %11 = alloca i64, align 8 %12 = alloca i32, align 4 %13 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 store ptr null, ptr %7, align 8 %14 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %14, ptr %6, align 8 %15 = load ptr, ptr %6, align 8 %16 = icmp eq ptr %15, null br i1 %16, label %17, label %22 17: ; preds = %2 br label %18 18: ; preds = %17 %19 = call i32 @perror(ptr noundef @.str.2) %20 = call i32 @exit(i32 noundef -1) #3 unreachable 21: ; No predecessors! br label %22 22: ; preds = %21, %2 %23 = load ptr, ptr %6, align 8 %24 = call i32 @feof(ptr noundef %23) %25 = icmp ne i32 %24, 0 %26 = xor i1 %25, true br i1 %26, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %22 br label %32 27: ; preds = %41 %28 = load ptr, ptr %6, align 8 %29 = call i32 @feof(ptr noundef %28) %30 = icmp ne i32 %29, 0 %31 = xor i1 %30, true br i1 %31, label %32, label %..loopexit_crit_edge, !llvm.loop !6 32: ; preds = %.lr.ph, %27 %33 = load ptr, ptr %6, align 8 %34 = call i32 @getline(ptr noundef %7, ptr noundef %13, ptr noundef %33) store i32 %34, ptr %12, align 4 %35 = load i32, ptr %12, align 4 %36 = icmp slt i32 %35, 0 br i1 %36, label %40, label %37 37: ; preds = %32 %38 = load ptr, ptr %7, align 8 %39 = icmp ne ptr %38, null br i1 %39, label %41, label %40 40: ; preds = %37, %32 br label %63 41: ; preds = %37 %42 = load ptr, ptr %7, align 8 %43 = load i32, ptr %12, align 4 %44 = add nsw i32 %43, -1 store i32 %44, ptr %12, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i8, ptr %42, i64 %45 store i8 0, ptr %46, align 1 %47 = load ptr, ptr %7, align 8 %48 = call ptr @strtok(ptr noundef %47, ptr noundef @.str.3) store ptr %48, ptr %8, align 8 %49 = load ptr, ptr %8, align 8 %50 = call i64 @strtoul(ptr noundef %49, ptr noundef null, i32 noundef 16) store i64 %50, ptr %11, align 8 %51 = call ptr @strtok(ptr noundef null, ptr noundef @.str.3) %52 = load i8, ptr %51, align 1 store i8 %52, ptr %10, align 1 %53 = call ptr @strtok(ptr noundef null, ptr noundef @.str.3) store ptr %53, ptr %9, align 8 %54 = load ptr, ptr %4, align 8 %55 = load ptr, ptr %3, align 8 %56 = load ptr, ptr %9, align 8 %57 = load i8, ptr %10, align 1 %58 = load i64, ptr %11, align 8 %59 = call i32 %54(ptr noundef %55, ptr noundef %56, i8 noundef signext %57, i64 noundef %58) store i32 %59, ptr %5, align 4 %60 = load i32, ptr %5, align 4 %61 = icmp ne i32 %60, 0 br i1 %61, label %62, label %27 62: ; preds = %41 br label %63 ..loopexit_crit_edge: ; preds = %27 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %22 br label %63 63: ; preds = %.loopexit, %62, %40 %64 = load ptr, ptr %7, align 8 %65 = call i32 @free(ptr noundef %64) %66 = load ptr, ptr %6, align 8 %67 = call i32 @fclose(ptr noundef %66) %68 = load i32, ptr %5, align 4 ret i32 %68 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @feof(ptr noundef) #1 declare i32 @getline(ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @strtok(ptr noundef, ptr noundef) #1 declare i64 @strtoul(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @free(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" } 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/tmpyjgmbr07.c' source_filename = "/tmp/tmpyjgmbr07.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CLOCK_REALTIME = 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/tmpyjgmbr07.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CLOCK_REALTIME = 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/tmpl5ogd28q.c' source_filename = "/tmp/tmpl5ogd28q.c" target datalayout = "e-m:e-p270: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/tmpl5ogd28q.c" target datalayout = "e-m:e-p270: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/tmptbn9mtzn.c' source_filename = "/tmp/tmptbn9mtzn.c" target datalayout = "e-m:e-p270: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/tmptbn9mtzn.c" target datalayout = "e-m:e-p270: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/tmpvok4ghwv.c' source_filename = "/tmp/tmpvok4ghwv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"C O D E - C R A C K E R\00", align 1 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.2 = private unnamed_addr constant [54 x i8] c"There is a Code of 4 numbers. You should find it out.\00", align 1 @.str.3 = private unnamed_addr constant [36 x i8] c"-- have fun and follow (@addisaden)\00", align 1 @__const.main.numbers = private unnamed_addr constant [4 x i32] [i32 -1, i32 -1, i32 -1, i32 -1], align 16 @.str.4 = private unnamed_addr constant [51 x i8] c"You cracked the code in %i steps. Congratulation.\0A\00", align 1 @.str.5 = private unnamed_addr constant [44 x i8] c"You lost. Maybe you crack it the next time.\00", align 1 @.str.6 = private unnamed_addr constant [21 x i8] c"CODE :: %i %i %i %i\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [4 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 @puts(ptr noundef @.str) %6 = call i32 @puts(ptr noundef @.str.1) %7 = call i32 @puts(ptr noundef @.str.2) %8 = call i32 @puts(ptr noundef @.str.3) %9 = call i32 @puts(ptr noundef @.str.1) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.numbers, i64 16, i1 false) %10 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 0 %11 = call i32 @fill_with_numbers(ptr noundef %10, i32 noundef 10, i32 noundef 4) store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 br label %12 12: ; preds = %21, %0 %13 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 0 %14 = call i32 @guess_numbers(ptr noundef %13, i32 noundef 10, i32 noundef 4) store i32 %14, ptr %3, align 4 %15 = icmp ne i32 %14, 0 %16 = xor i1 %15, true br i1 %16, label %17, label %24 17: ; preds = %12 %18 = load i32, ptr %4, align 4 %19 = icmp sge i32 %18, 10 br i1 %19, label %20, label %21 20: ; preds = %17 br label %24 21: ; preds = %17 %22 = load i32, ptr %4, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %4, align 4 br label %12, !llvm.loop !6 24: ; preds = %20, %12 %25 = load i32, ptr %3, align 4 %26 = icmp ne i32 %25, 0 br i1 %26, label %27, label %31 27: ; preds = %24 %28 = load i32, ptr %4, align 4 %29 = add nsw i32 %28, 1 %30 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.4, i32 noundef %29) br label %33 31: ; preds = %24 %32 = call i32 @puts(ptr noundef @.str.5) br label %33 33: ; preds = %31, %27 %34 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 0 %35 = load i32, ptr %34, align 16 %36 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 1 %37 = load i32, ptr %36, align 4 %38 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 2 %39 = load i32, ptr %38, align 8 %40 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 3 %41 = load i32, ptr %40, align 4 %42 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.6, i32 noundef %35, i32 noundef %37, i32 noundef %39, i32 noundef %41) ret i32 0 } declare i32 @puts(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 declare i32 @fill_with_numbers(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @guess_numbers(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvok4ghwv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"C O D E - C R A C K E R\00", align 1 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.2 = private unnamed_addr constant [54 x i8] c"There is a Code of 4 numbers. You should find it out.\00", align 1 @.str.3 = private unnamed_addr constant [36 x i8] c"-- have fun and follow (@addisaden)\00", align 1 @__const.main.numbers = private unnamed_addr constant [4 x i32] [i32 -1, i32 -1, i32 -1, i32 -1], align 16 @.str.4 = private unnamed_addr constant [51 x i8] c"You cracked the code in %i steps. Congratulation.\0A\00", align 1 @.str.5 = private unnamed_addr constant [44 x i8] c"You lost. Maybe you crack it the next time.\00", align 1 @.str.6 = private unnamed_addr constant [21 x i8] c"CODE :: %i %i %i %i\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [4 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 @puts(ptr noundef @.str) %6 = call i32 @puts(ptr noundef @.str.1) %7 = call i32 @puts(ptr noundef @.str.2) %8 = call i32 @puts(ptr noundef @.str.3) %9 = call i32 @puts(ptr noundef @.str.1) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.numbers, i64 16, i1 false) %10 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 0 %11 = call i32 @fill_with_numbers(ptr noundef %10, i32 noundef 10, i32 noundef 4) store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 %12 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 0 %13 = call i32 @guess_numbers(ptr noundef %12, i32 noundef 10, i32 noundef 4) store i32 %13, ptr %3, align 4 %14 = icmp ne i32 %13, 0 %15 = xor i1 %14, true br i1 %15, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %0 br label %16 16: ; preds = %.lr.ph, %20 %17 = load i32, ptr %4, align 4 %18 = icmp sge i32 %17, 10 br i1 %18, label %19, label %20 19: ; preds = %16 br label %26 20: ; preds = %16 %21 = load i32, ptr %4, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %4, align 4 %23 = call i32 @guess_numbers(ptr noundef %12, i32 noundef 10, i32 noundef 4) store i32 %23, ptr %3, align 4 %24 = icmp ne i32 %23, 0 %25 = xor i1 %24, true br i1 %25, label %16, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %20 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %0 br label %26 26: ; preds = %.loopexit, %19 %27 = load i32, ptr %3, align 4 %28 = icmp ne i32 %27, 0 br i1 %28, label %29, label %33 29: ; preds = %26 %30 = load i32, ptr %4, align 4 %31 = add nsw i32 %30, 1 %32 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.4, i32 noundef %31) br label %35 33: ; preds = %26 %34 = call i32 @puts(ptr noundef @.str.5) br label %35 35: ; preds = %33, %29 %36 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 0 %37 = load i32, ptr %36, align 16 %38 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 1 %39 = load i32, ptr %38, align 4 %40 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 2 %41 = load i32, ptr %40, align 8 %42 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 3 %43 = load i32, ptr %42, align 4 %44 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.6, i32 noundef %37, i32 noundef %39, i32 noundef %41, i32 noundef %43) ret i32 0 } declare i32 @puts(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 declare i32 @fill_with_numbers(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @guess_numbers(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpbzzwi89v.c' source_filename = "/tmp/tmpbzzwi89v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ber_add_sequence(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %5 = call ptr @ber_get_element(i32 noundef 16) store ptr %5, ptr %4, align 8 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %8 7: ; preds = %1 store ptr null, ptr %2, align 8 br label %13 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 %10 = load ptr, ptr %4, align 8 %11 = call i32 @ber_link_elements(ptr noundef %9, ptr noundef %10) %12 = load ptr, ptr %4, align 8 store ptr %12, ptr %2, align 8 br label %13 13: ; preds = %8, %7 %14 = load ptr, ptr %2, align 8 ret ptr %14 } declare ptr @ber_get_element(i32 noundef) #1 declare i32 @ber_link_elements(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/tmpbzzwi89v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ber_add_sequence(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %5 = call ptr @ber_get_element(i32 noundef 16) store ptr %5, ptr %4, align 8 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %8 7: ; preds = %1 store ptr null, ptr %2, align 8 br label %13 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 %10 = load ptr, ptr %4, align 8 %11 = call i32 @ber_link_elements(ptr noundef %9, ptr noundef %10) %12 = load ptr, ptr %4, align 8 store ptr %12, ptr %2, align 8 br label %13 13: ; preds = %8, %7 %14 = load ptr, ptr %2, align 8 ret ptr %14 } declare ptr @ber_get_element(i32 noundef) #1 declare i32 @ber_link_elements(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/tmppn1ocvui.c' source_filename = "/tmp/tmppn1ocvui.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @processFile(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = call i32 @initFiles(ptr noundef %5) %7 = load ptr, ptr %3, align 8 %8 = load ptr, ptr %4, align 8 %9 = call i32 @openFile(ptr noundef %7, ptr noundef %8) %10 = load ptr, ptr %4, align 8 %11 = call i32 @processing(ptr noundef %10) ret void } declare i32 @initFiles(ptr noundef) #1 declare i32 @openFile(ptr noundef, ptr noundef) #1 declare i32 @processing(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppn1ocvui.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @processFile(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = call i32 @initFiles(ptr noundef %5) %7 = load ptr, ptr %3, align 8 %8 = load ptr, ptr %4, align 8 %9 = call i32 @openFile(ptr noundef %7, ptr noundef %8) %10 = load ptr, ptr %4, align 8 %11 = call i32 @processing(ptr noundef %10) ret void } declare i32 @initFiles(ptr noundef) #1 declare i32 @openFile(ptr noundef, ptr noundef) #1 declare i32 @processing(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2z91z4_5.c' source_filename = "/tmp/tmp2z91z4_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/tmp2z91z4_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/tmpoepufca5.c' source_filename = "/tmp/tmpoepufca5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call ptr (...) @create_list() store ptr %5, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = call i32 @list_push(ptr noundef %6, i32 noundef 10) %8 = load ptr, ptr %2, align 8 %9 = call i32 @list_push(ptr noundef %8, i32 noundef 20) %10 = load ptr, ptr %2, align 8 %11 = call i32 @list_pop(ptr noundef %10) store i32 %11, ptr %3, align 4 %12 = load i32, ptr %3, align 4 %13 = icmp eq i32 %12, 20 %14 = zext i1 %13 to i32 %15 = call i32 @assert(i32 noundef %14) %16 = load ptr, ptr %2, align 8 %17 = call i32 @list_pop(ptr noundef %16) store i32 %17, ptr %4, align 4 %18 = load i32, ptr %4, align 4 %19 = icmp eq i32 %18, 10 %20 = zext i1 %19 to i32 %21 = call i32 @assert(i32 noundef %20) %22 = load ptr, ptr %2, align 8 %23 = call i32 @list_dispose(ptr noundef %22) ret i32 0 } declare ptr @create_list(...) #1 declare i32 @list_push(ptr noundef, i32 noundef) #1 declare i32 @list_pop(ptr noundef) #1 declare i32 @assert(i32 noundef) #1 declare i32 @list_dispose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpoepufca5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call ptr (...) @create_list() store ptr %5, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = call i32 @list_push(ptr noundef %6, i32 noundef 10) %8 = load ptr, ptr %2, align 8 %9 = call i32 @list_push(ptr noundef %8, i32 noundef 20) %10 = load ptr, ptr %2, align 8 %11 = call i32 @list_pop(ptr noundef %10) store i32 %11, ptr %3, align 4 %12 = load i32, ptr %3, align 4 %13 = icmp eq i32 %12, 20 %14 = zext i1 %13 to i32 %15 = call i32 @assert(i32 noundef %14) %16 = load ptr, ptr %2, align 8 %17 = call i32 @list_pop(ptr noundef %16) store i32 %17, ptr %4, align 4 %18 = load i32, ptr %4, align 4 %19 = icmp eq i32 %18, 10 %20 = zext i1 %19 to i32 %21 = call i32 @assert(i32 noundef %20) %22 = load ptr, ptr %2, align 8 %23 = call i32 @list_dispose(ptr noundef %22) ret i32 0 } declare ptr @create_list(...) #1 declare i32 @list_push(ptr noundef, i32 noundef) #1 declare i32 @list_pop(ptr noundef) #1 declare i32 @assert(i32 noundef) #1 declare i32 @list_dispose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5cjnn16v.c' source_filename = "/tmp/tmp5cjnn16v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @list_i_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 @list_i_clear(ptr noundef %3) %5 = load ptr, ptr %2, align 8 %6 = call i32 @free(ptr noundef %5) ret void } declare i32 @list_i_clear(ptr 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/tmp5cjnn16v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @list_i_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 @list_i_clear(ptr noundef %3) %5 = load ptr, ptr %2, align 8 %6 = call i32 @free(ptr noundef %5) ret void } declare i32 @list_i_clear(ptr 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/tmpxaosgzh3.c' source_filename = "/tmp/tmpxaosgzh3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [57 x i8] c" notice( \22log.c:notice(): test message: '%%s'\22, msg );\00", align 1 @.str.1 = private unnamed_addr constant [35 x i8] c"log.c:notice(): test message: '%s'\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c" passed\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_notice(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @printf(ptr noundef @.str) %4 = load ptr, ptr %2, align 8 %5 = call i32 @notice(ptr noundef @.str.1, ptr noundef %4) %6 = call i32 @printf(ptr noundef @.str.2) ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @notice(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/tmpxaosgzh3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [57 x i8] c" notice( \22log.c:notice(): test message: '%%s'\22, msg );\00", align 1 @.str.1 = private unnamed_addr constant [35 x i8] c"log.c:notice(): test message: '%s'\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c" passed\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_notice(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @printf(ptr noundef @.str) %4 = load ptr, ptr %2, align 8 %5 = call i32 @notice(ptr noundef @.str.1, ptr noundef %4) %6 = call i32 @printf(ptr noundef @.str.2) ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @notice(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/tmpabyhjzkb.c' source_filename = "/tmp/tmpabyhjzkb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @NOFILE = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"/tmp\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"/tmp/weather_home.pid\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"w+\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @init_daemon() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = call i32 (...) @fork() store i32 %6, ptr %1, align 4 %7 = load i32, ptr %1, align 4 %8 = icmp sgt i32 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %0 %10 = call i32 @exit(i32 noundef 0) #3 unreachable 11: ; preds = %0 %12 = load i32, ptr %1, align 4 %13 = icmp slt i32 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %11 %15 = call i32 @exit(i32 noundef 1) #3 unreachable 16: ; preds = %11 br label %17 17: ; preds = %16 %18 = call i32 (...) @setsid() %19 = call i32 (...) @fork() store i32 %19, ptr %1, align 4 %20 = load i32, ptr %1, align 4 %21 = icmp sgt i32 %20, 0 br i1 %21, label %22, label %24 22: ; preds = %17 %23 = call i32 @exit(i32 noundef 0) #3 unreachable 24: ; preds = %17 %25 = load i32, ptr %1, align 4 %26 = icmp slt i32 %25, 0 br i1 %26, label %27, label %29 27: ; preds = %24 %28 = call i32 @exit(i32 noundef 1) #3 unreachable 29: ; preds = %24 br label %30 30: ; preds = %29 store i32 0, ptr %2, align 4 br label %31 31: ; preds = %38, %30 %32 = load i32, ptr %2, align 4 %33 = load i32, ptr @NOFILE, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %35, label %41 35: ; preds = %31 %36 = load i32, ptr %2, align 4 %37 = call i32 @close(i32 noundef %36) br label %38 38: ; preds = %35 %39 = load i32, ptr %2, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %2, align 4 br label %31, !llvm.loop !6 41: ; preds = %31 %42 = call i32 @chdir(ptr noundef @.str) %43 = call i32 @umask(i32 noundef 0) %44 = call i32 (...) @getpid() store i32 %44, ptr %5, align 4 %45 = call i64 @malloc(i32 noundef 16) %46 = inttoptr i64 %45 to ptr store ptr %46, ptr %3, align 8 %47 = load ptr, ptr %3, align 8 %48 = load i32, ptr %5, align 4 %49 = call i32 @sprintf(ptr noundef %47, ptr noundef @.str.1, i32 noundef %48) %50 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3) store ptr %50, ptr %4, align 8 %51 = load ptr, ptr %3, align 8 %52 = load ptr, ptr %3, align 8 %53 = call i32 @strlen(ptr noundef %52) %54 = load ptr, ptr %4, align 8 %55 = call i32 @fwrite(ptr noundef %51, i32 noundef 1, i32 noundef %53, ptr noundef %54) %56 = load ptr, ptr %4, align 8 %57 = call i32 @fclose(ptr noundef %56) %58 = load ptr, ptr %3, align 8 %59 = call i32 @free(ptr noundef %58) ret void } declare i32 @fork(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @setsid(...) #1 declare i32 @close(i32 noundef) #1 declare i32 @chdir(ptr noundef) #1 declare i32 @umask(i32 noundef) #1 declare i32 @getpid(...) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @fclose(ptr 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" } 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/tmpabyhjzkb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @NOFILE = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"/tmp\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"/tmp/weather_home.pid\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"w+\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @init_daemon() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = call i32 (...) @fork() store i32 %6, ptr %1, align 4 %7 = load i32, ptr %1, align 4 %8 = icmp sgt i32 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %0 %10 = call i32 @exit(i32 noundef 0) #3 unreachable 11: ; preds = %0 %12 = load i32, ptr %1, align 4 %13 = icmp slt i32 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %11 %15 = call i32 @exit(i32 noundef 1) #3 unreachable 16: ; preds = %11 br label %17 17: ; preds = %16 %18 = call i32 (...) @setsid() %19 = call i32 (...) @fork() store i32 %19, ptr %1, align 4 %20 = load i32, ptr %1, align 4 %21 = icmp sgt i32 %20, 0 br i1 %21, label %22, label %24 22: ; preds = %17 %23 = call i32 @exit(i32 noundef 0) #3 unreachable 24: ; preds = %17 %25 = load i32, ptr %1, align 4 %26 = icmp slt i32 %25, 0 br i1 %26, label %27, label %29 27: ; preds = %24 %28 = call i32 @exit(i32 noundef 1) #3 unreachable 29: ; preds = %24 br label %30 30: ; preds = %29 store i32 0, ptr %2, align 4 %31 = load i32, ptr %2, align 4 %32 = load i32, ptr @NOFILE, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %.lr.ph, label %43 .lr.ph: ; preds = %30 br label %34 34: ; preds = %.lr.ph, %37 %35 = load i32, ptr %2, align 4 %36 = call i32 @close(i32 noundef %35) br label %37 37: ; preds = %34 %38 = load i32, ptr %2, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %2, align 4 %40 = load i32, ptr %2, align 4 %41 = load i32, ptr @NOFILE, align 4 %42 = icmp slt i32 %40, %41 br i1 %42, label %34, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %37 br label %43 43: ; preds = %._crit_edge, %30 %44 = call i32 @chdir(ptr noundef @.str) %45 = call i32 @umask(i32 noundef 0) %46 = call i32 (...) @getpid() store i32 %46, ptr %5, align 4 %47 = call i64 @malloc(i32 noundef 16) %48 = inttoptr i64 %47 to ptr store ptr %48, ptr %3, align 8 %49 = load ptr, ptr %3, align 8 %50 = load i32, ptr %5, align 4 %51 = call i32 @sprintf(ptr noundef %49, ptr noundef @.str.1, i32 noundef %50) %52 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3) store ptr %52, ptr %4, align 8 %53 = load ptr, ptr %3, align 8 %54 = load ptr, ptr %3, align 8 %55 = call i32 @strlen(ptr noundef %54) %56 = load ptr, ptr %4, align 8 %57 = call i32 @fwrite(ptr noundef %53, i32 noundef 1, i32 noundef %55, ptr noundef %56) %58 = load ptr, ptr %4, align 8 %59 = call i32 @fclose(ptr noundef %58) %60 = load ptr, ptr %3, align 8 %61 = call i32 @free(ptr noundef %60) ret void } declare i32 @fork(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @setsid(...) #1 declare i32 @close(i32 noundef) #1 declare i32 @chdir(ptr noundef) #1 declare i32 @umask(i32 noundef) #1 declare i32 @getpid(...) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @fclose(ptr 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" } 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/tmpvq5xnjd_.c' source_filename = "/tmp/tmpvq5xnjd_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [47 x i8] c"Checking that exceptional lib calls set errno\0A\00", align 1 @errno = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [29 x i8] c"%s - errno %d not set at %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"pow(x, y)\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"log(x)\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"sqrt(x)\00", align 1 @.str.5 = private unnamed_addr constant [8 x i8] c"asin(x)\00", align 1 @.str.6 = private unnamed_addr constant [9 x i8] c"acosh(x)\00", align 1 @.str.7 = private unnamed_addr constant [16 x i8] c"remainder(x, y)\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_exception() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca double, align 8 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) store volatile double -3.000000e+00, ptr %2, align 8 store volatile double 4.400000e+00, ptr %3, align 8 store i64 0, ptr @errno, align 8 %5 = load volatile double, ptr %2, align 8 %6 = load volatile double, ptr %3, align 8 %7 = call i64 @pow(double noundef %5, double noundef %6) %8 = load i64, ptr @errno, align 8 %9 = icmp ne i64 0, %8 br i1 %9, label %10, label %11 10: ; preds = %0 br label %14 11: ; preds = %0 %12 = load i64, ptr @errno, align 8 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.2, i64 noundef %12, i32 noundef 203) br label %14 14: ; preds = %11, %10 %15 = phi i32 [ 0, %10 ], [ 1, %11 ] %16 = load i32, ptr %1, align 4 %17 = add nsw i32 %16, %15 store i32 %17, ptr %1, align 4 store i64 0, ptr @errno, align 8 %18 = load volatile double, ptr %2, align 8 %19 = call i64 @log(double noundef %18) %20 = load i64, ptr @errno, align 8 %21 = icmp ne i64 0, %20 br i1 %21, label %22, label %23 22: ; preds = %14 br label %26 23: ; preds = %14 %24 = load i64, ptr @errno, align 8 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.3, i64 noundef %24, i32 noundef 204) br label %26 26: ; preds = %23, %22 %27 = phi i32 [ 0, %22 ], [ 1, %23 ] %28 = load i32, ptr %1, align 4 %29 = add nsw i32 %28, %27 store i32 %29, ptr %1, align 4 store volatile double -1.000000e-03, ptr %2, align 8 store i64 0, ptr @errno, align 8 %30 = load volatile double, ptr %2, align 8 %31 = call i64 @sqrt(double noundef %30) %32 = load i64, ptr @errno, align 8 %33 = icmp ne i64 0, %32 br i1 %33, label %34, label %35 34: ; preds = %26 br label %38 35: ; preds = %26 %36 = load i64, ptr @errno, align 8 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.4, i64 noundef %36, i32 noundef 206) br label %38 38: ; preds = %35, %34 %39 = phi i32 [ 0, %34 ], [ 1, %35 ] %40 = load i32, ptr %1, align 4 %41 = add nsw i32 %40, %39 store i32 %41, ptr %1, align 4 store volatile double 1.000100e+00, ptr %2, align 8 store i64 0, ptr @errno, align 8 %42 = load volatile double, ptr %2, align 8 %43 = call i64 @asin(double noundef %42) %44 = load i64, ptr @errno, align 8 %45 = icmp ne i64 0, %44 br i1 %45, label %46, label %47 46: ; preds = %38 br label %50 47: ; preds = %38 %48 = load i64, ptr @errno, align 8 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.5, i64 noundef %48, i32 noundef 208) br label %50 50: ; preds = %47, %46 %51 = phi i32 [ 0, %46 ], [ 1, %47 ] %52 = load i32, ptr %1, align 4 %53 = add nsw i32 %52, %51 store i32 %53, ptr %1, align 4 store volatile double 0x3FEFF7CED916872B, ptr %2, align 8 store i64 0, ptr @errno, align 8 %54 = load volatile double, ptr %2, align 8 %55 = call i64 @acosh(double noundef %54) %56 = load i64, ptr @errno, align 8 %57 = icmp ne i64 0, %56 br i1 %57, label %58, label %59 58: ; preds = %50 br label %62 59: ; preds = %50 %60 = load i64, ptr @errno, align 8 %61 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.6, i64 noundef %60, i32 noundef 218) br label %62 62: ; preds = %59, %58 %63 = phi i32 [ 0, %58 ], [ 1, %59 ] %64 = load i32, ptr %1, align 4 %65 = add nsw i32 %64, %63 store i32 %65, ptr %1, align 4 store volatile double 3.300000e+00, ptr %2, align 8 store volatile double 0.000000e+00, ptr %3, align 8 store i64 0, ptr @errno, align 8 %66 = load volatile double, ptr %2, align 8 %67 = load volatile double, ptr %3, align 8 %68 = call i64 @remainder(double noundef %66, double noundef %67) %69 = load i64, ptr @errno, align 8 %70 = icmp ne i64 0, %69 br i1 %70, label %71, label %72 71: ; preds = %62 br label %75 72: ; preds = %62 %73 = load i64, ptr @errno, align 8 %74 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.7, i64 noundef %73, i32 noundef 220) br label %75 75: ; preds = %72, %71 %76 = phi i32 [ 0, %71 ], [ 1, %72 ] %77 = load i32, ptr %1, align 4 %78 = add nsw i32 %77, %76 store i32 %78, ptr %1, align 4 %79 = load i32, ptr %1, align 4 ret i32 %79 } declare i32 @printf(ptr noundef, ...) #1 declare i64 @pow(double noundef, double noundef) #1 declare i64 @log(double noundef) #1 declare i64 @sqrt(double noundef) #1 declare i64 @asin(double noundef) #1 declare i64 @acosh(double noundef) #1 declare i64 @remainder(double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvq5xnjd_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [47 x i8] c"Checking that exceptional lib calls set errno\0A\00", align 1 @errno = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [29 x i8] c"%s - errno %d not set at %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"pow(x, y)\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"log(x)\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"sqrt(x)\00", align 1 @.str.5 = private unnamed_addr constant [8 x i8] c"asin(x)\00", align 1 @.str.6 = private unnamed_addr constant [9 x i8] c"acosh(x)\00", align 1 @.str.7 = private unnamed_addr constant [16 x i8] c"remainder(x, y)\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_exception() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca double, align 8 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) store volatile double -3.000000e+00, ptr %2, align 8 store volatile double 4.400000e+00, ptr %3, align 8 store i64 0, ptr @errno, align 8 %5 = load volatile double, ptr %2, align 8 %6 = load volatile double, ptr %3, align 8 %7 = call i64 @pow(double noundef %5, double noundef %6) %8 = load i64, ptr @errno, align 8 %9 = icmp ne i64 0, %8 br i1 %9, label %10, label %11 10: ; preds = %0 br label %14 11: ; preds = %0 %12 = load i64, ptr @errno, align 8 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.2, i64 noundef %12, i32 noundef 203) br label %14 14: ; preds = %11, %10 %15 = phi i32 [ 0, %10 ], [ 1, %11 ] %16 = load i32, ptr %1, align 4 %17 = add nsw i32 %16, %15 store i32 %17, ptr %1, align 4 store i64 0, ptr @errno, align 8 %18 = load volatile double, ptr %2, align 8 %19 = call i64 @log(double noundef %18) %20 = load i64, ptr @errno, align 8 %21 = icmp ne i64 0, %20 br i1 %21, label %22, label %23 22: ; preds = %14 br label %26 23: ; preds = %14 %24 = load i64, ptr @errno, align 8 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.3, i64 noundef %24, i32 noundef 204) br label %26 26: ; preds = %23, %22 %27 = phi i32 [ 0, %22 ], [ 1, %23 ] %28 = load i32, ptr %1, align 4 %29 = add nsw i32 %28, %27 store i32 %29, ptr %1, align 4 store volatile double -1.000000e-03, ptr %2, align 8 store i64 0, ptr @errno, align 8 %30 = load volatile double, ptr %2, align 8 %31 = call i64 @sqrt(double noundef %30) %32 = load i64, ptr @errno, align 8 %33 = icmp ne i64 0, %32 br i1 %33, label %34, label %35 34: ; preds = %26 br label %38 35: ; preds = %26 %36 = load i64, ptr @errno, align 8 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.4, i64 noundef %36, i32 noundef 206) br label %38 38: ; preds = %35, %34 %39 = phi i32 [ 0, %34 ], [ 1, %35 ] %40 = load i32, ptr %1, align 4 %41 = add nsw i32 %40, %39 store i32 %41, ptr %1, align 4 store volatile double 1.000100e+00, ptr %2, align 8 store i64 0, ptr @errno, align 8 %42 = load volatile double, ptr %2, align 8 %43 = call i64 @asin(double noundef %42) %44 = load i64, ptr @errno, align 8 %45 = icmp ne i64 0, %44 br i1 %45, label %46, label %47 46: ; preds = %38 br label %50 47: ; preds = %38 %48 = load i64, ptr @errno, align 8 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.5, i64 noundef %48, i32 noundef 208) br label %50 50: ; preds = %47, %46 %51 = phi i32 [ 0, %46 ], [ 1, %47 ] %52 = load i32, ptr %1, align 4 %53 = add nsw i32 %52, %51 store i32 %53, ptr %1, align 4 store volatile double 0x3FEFF7CED916872B, ptr %2, align 8 store i64 0, ptr @errno, align 8 %54 = load volatile double, ptr %2, align 8 %55 = call i64 @acosh(double noundef %54) %56 = load i64, ptr @errno, align 8 %57 = icmp ne i64 0, %56 br i1 %57, label %58, label %59 58: ; preds = %50 br label %62 59: ; preds = %50 %60 = load i64, ptr @errno, align 8 %61 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.6, i64 noundef %60, i32 noundef 218) br label %62 62: ; preds = %59, %58 %63 = phi i32 [ 0, %58 ], [ 1, %59 ] %64 = load i32, ptr %1, align 4 %65 = add nsw i32 %64, %63 store i32 %65, ptr %1, align 4 store volatile double 3.300000e+00, ptr %2, align 8 store volatile double 0.000000e+00, ptr %3, align 8 store i64 0, ptr @errno, align 8 %66 = load volatile double, ptr %2, align 8 %67 = load volatile double, ptr %3, align 8 %68 = call i64 @remainder(double noundef %66, double noundef %67) %69 = load i64, ptr @errno, align 8 %70 = icmp ne i64 0, %69 br i1 %70, label %71, label %72 71: ; preds = %62 br label %75 72: ; preds = %62 %73 = load i64, ptr @errno, align 8 %74 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.7, i64 noundef %73, i32 noundef 220) br label %75 75: ; preds = %72, %71 %76 = phi i32 [ 0, %71 ], [ 1, %72 ] %77 = load i32, ptr %1, align 4 %78 = add nsw i32 %77, %76 store i32 %78, ptr %1, align 4 %79 = load i32, ptr %1, align 4 ret i32 %79 } declare i32 @printf(ptr noundef, ...) #1 declare i64 @pow(double noundef, double noundef) #1 declare i64 @log(double noundef) #1 declare i64 @sqrt(double noundef) #1 declare i64 @asin(double noundef) #1 declare i64 @acosh(double noundef) #1 declare i64 @remainder(double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpr14mlumq.c' source_filename = "/tmp/tmpr14mlumq.c" target datalayout = "e-m:e-p270: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/tmpr14mlumq.c" target datalayout = "e-m:e-p270: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/tmp9kiratpf.c' source_filename = "/tmp/tmp9kiratpf.c" target datalayout = "e-m:e-p270: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/tmp9kiratpf.c" target datalayout = "e-m:e-p270: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/tmpgw8dhj5n.c' source_filename = "/tmp/tmpgw8dhj5n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @binarySearch(ptr noundef %0, i32 noundef %1, i64 noundef %2, i64 noundef %3) #0 { %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store i64 %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 br label %11 11: ; preds = %53, %4 %12 = load i64, ptr %8, align 8 %13 = load i64, ptr %9, align 8 %14 = icmp ule i64 %12, %13 br i1 %14, label %15, label %54 15: ; preds = %11 %16 = load i64, ptr %8, align 8 %17 = load i64, ptr %9, align 8 %18 = add i64 %16, %17 %19 = udiv i64 %18, 2 %20 = trunc i64 %19 to i32 store i32 %20, ptr %10, align 4 %21 = load ptr, ptr %6, align 8 %22 = load i64, ptr %8, align 8 %23 = load i32, ptr %10, align 4 %24 = load i64, ptr %9, align 8 %25 = call i32 @printRow(ptr noundef %21, i64 noundef %22, i32 noundef %23, i64 noundef %24) %26 = load i32, ptr %7, align 4 %27 = load ptr, ptr %6, align 8 %28 = load i32, ptr %10, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i32, ptr %27, i64 %29 %31 = load i32, ptr %30, align 4 %32 = icmp eq i32 %26, %31 br i1 %32, label %33, label %36 33: ; preds = %15 %34 = load i32, ptr %10, align 4 %35 = sext i32 %34 to i64 store i64 %35, ptr %5, align 8 br label %55 36: ; preds = %15 %37 = load i32, ptr %7, align 4 %38 = load ptr, ptr %6, align 8 %39 = load i32, ptr %10, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i32, ptr %38, i64 %40 %42 = load i32, ptr %41, align 4 %43 = icmp slt i32 %37, %42 br i1 %43, label %44, label %48 44: ; preds = %36 %45 = load i32, ptr %10, align 4 %46 = sub nsw i32 %45, 1 %47 = sext i32 %46 to i64 store i64 %47, ptr %9, align 8 br label %52 48: ; preds = %36 %49 = load i32, ptr %10, align 4 %50 = add nsw i32 %49, 1 %51 = sext i32 %50 to i64 store i64 %51, ptr %8, align 8 br label %52 52: ; preds = %48, %44 br label %53 53: ; preds = %52 br label %11, !llvm.loop !6 54: ; preds = %11 store i64 -1, ptr %5, align 8 br label %55 55: ; preds = %54, %33 %56 = load i64, ptr %5, align 8 ret i64 %56 } declare i32 @printRow(ptr noundef, i64 noundef, i32 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgw8dhj5n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @binarySearch(ptr noundef %0, i32 noundef %1, i64 noundef %2, i64 noundef %3) #0 { %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store i64 %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 %11 = load i64, ptr %8, align 8 %12 = load i64, ptr %9, align 8 %13 = icmp ule i64 %11, %12 br i1 %13, label %.lr.ph, label %56 .lr.ph: ; preds = %4 br label %14 14: ; preds = %.lr.ph, %52 %15 = load i64, ptr %8, align 8 %16 = load i64, ptr %9, align 8 %17 = add i64 %15, %16 %18 = udiv i64 %17, 2 %19 = trunc i64 %18 to i32 store i32 %19, ptr %10, align 4 %20 = load ptr, ptr %6, align 8 %21 = load i64, ptr %8, align 8 %22 = load i32, ptr %10, align 4 %23 = load i64, ptr %9, align 8 %24 = call i32 @printRow(ptr noundef %20, i64 noundef %21, i32 noundef %22, i64 noundef %23) %25 = load i32, ptr %7, align 4 %26 = load ptr, ptr %6, align 8 %27 = load i32, ptr %10, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i32, ptr %26, i64 %28 %30 = load i32, ptr %29, align 4 %31 = icmp eq i32 %25, %30 br i1 %31, label %32, label %35 32: ; preds = %14 %33 = load i32, ptr %10, align 4 %34 = sext i32 %33 to i64 store i64 %34, ptr %5, align 8 br label %57 35: ; preds = %14 %36 = load i32, ptr %7, align 4 %37 = load ptr, ptr %6, align 8 %38 = load i32, ptr %10, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i32, ptr %37, i64 %39 %41 = load i32, ptr %40, align 4 %42 = icmp slt i32 %36, %41 br i1 %42, label %43, label %47 43: ; preds = %35 %44 = load i32, ptr %10, align 4 %45 = sub nsw i32 %44, 1 %46 = sext i32 %45 to i64 store i64 %46, ptr %9, align 8 br label %51 47: ; preds = %35 %48 = load i32, ptr %10, align 4 %49 = add nsw i32 %48, 1 %50 = sext i32 %49 to i64 store i64 %50, ptr %8, align 8 br label %51 51: ; preds = %47, %43 br label %52 52: ; preds = %51 %53 = load i64, ptr %8, align 8 %54 = load i64, ptr %9, align 8 %55 = icmp ule i64 %53, %54 br i1 %55, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %52 br label %56 56: ; preds = %._crit_edge, %4 store i64 -1, ptr %5, align 8 br label %57 57: ; preds = %56, %32 %58 = load i64, ptr %5, align 8 ret i64 %58 } declare i32 @printRow(ptr noundef, i64 noundef, i32 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpsmevhigw.c' source_filename = "/tmp/tmpsmevhigw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.coeff = private unnamed_addr constant [3 x double] [double 3.600000e+01, double -1.300000e+01, double 1.000000e+00], align 16 @.str = private unnamed_addr constant [19 x i8] c"x = %lf | y = %lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [3 x double], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca double, align 8 %7 = alloca double, align 8 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.coeff, i64 24, i1 false) store i32 3, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = sub nsw i32 %8, 1 store i32 %9, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %10 10: ; preds = %23, %0 %11 = load i32, ptr %5, align 4 %12 = icmp slt i32 %11, 15 br i1 %12, label %13, label %26 13: ; preds = %10 %14 = load i32, ptr %5, align 4 %15 = sitofp i32 %14 to double store double %15, ptr %6, align 8 %16 = load double, ptr %6, align 8 %17 = load i32, ptr %4, align 4 %18 = getelementptr inbounds [3 x double], ptr %2, i64 0, i64 0 %19 = call double @horner_r(double noundef %16, i32 noundef %17, ptr noundef %18) store double %19, ptr %7, align 8 %20 = load double, ptr %6, align 8 %21 = load double, ptr %7, align 8 %22 = call i32 @printf(ptr noundef @.str, double noundef %20, double noundef %21) br label %23 23: ; preds = %13 %24 = load i32, ptr %5, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %5, align 4 br label %10, !llvm.loop !6 26: ; preds = %10 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare double @horner_r(double noundef, i32 noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, double noundef, double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree 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/tmpsmevhigw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.coeff = private unnamed_addr constant [3 x double] [double 3.600000e+01, double -1.300000e+01, double 1.000000e+00], align 16 @.str = private unnamed_addr constant [19 x i8] c"x = %lf | y = %lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [3 x double], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca double, align 8 %7 = alloca double, align 8 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.coeff, i64 24, i1 false) store i32 3, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = sub nsw i32 %8, 1 store i32 %9, ptr %4, align 4 store i32 0, ptr %5, align 4 %10 = load i32, ptr %5, align 4 %11 = icmp slt i32 %10, 15 br i1 %11, label %.lr.ph, label %27 .lr.ph: ; preds = %0 br label %12 12: ; preds = %.lr.ph, %22 %13 = load i32, ptr %5, align 4 %14 = sitofp i32 %13 to double store double %14, ptr %6, align 8 %15 = load double, ptr %6, align 8 %16 = load i32, ptr %4, align 4 %17 = getelementptr inbounds [3 x double], ptr %2, i64 0, i64 0 %18 = call double @horner_r(double noundef %15, i32 noundef %16, ptr noundef %17) store double %18, ptr %7, align 8 %19 = load double, ptr %6, align 8 %20 = load double, ptr %7, align 8 %21 = call i32 @printf(ptr noundef @.str, double noundef %19, double noundef %20) br label %22 22: ; preds = %12 %23 = load i32, ptr %5, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %5, align 4 %25 = load i32, ptr %5, align 4 %26 = icmp slt i32 %25, 15 br i1 %26, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %27 27: ; preds = %._crit_edge, %0 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare double @horner_r(double noundef, i32 noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, double noundef, double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree 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/tmptjenbbgj.c' source_filename = "/tmp/tmptjenbbgj.c" target datalayout = "e-m:e-p270: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/tmptjenbbgj.c" target datalayout = "e-m:e-p270: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/tmpgp93yirp.c' source_filename = "/tmp/tmpgp93yirp.c" target datalayout = "e-m:e-p270: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.timeval = type { i32, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @Timeval_of_second(double noundef %0) #0 { %2 = alloca %struct.timeval, align 4 %3 = alloca double, align 8 %4 = alloca double, align 8 store double %0, ptr %3, align 8 %5 = load double, ptr %3, align 8 %6 = call double @llvm.floor.f64(double %5) store double %6, ptr %4, align 8 %7 = load double, ptr %4, align 8 %8 = fptosi double %7 to i32 %9 = getelementptr inbounds %struct.timeval, ptr %2, i32 0, i32 0 store i32 %8, ptr %9, align 4 %10 = load double, ptr %3, align 8 %11 = load double, ptr %4, align 8 %12 = fsub double %10, %11 %13 = fmul double %12, 1.000000e+03 %14 = fmul double %13, 1.000000e+03 %15 = fptosi double %14 to i32 %16 = getelementptr inbounds %struct.timeval, ptr %2, i32 0, i32 1 store i32 %15, ptr %16, align 4 %17 = load i64, ptr %2, align 4 ret i64 %17 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.floor.f64(double) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgp93yirp.c" target datalayout = "e-m:e-p270: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.timeval = type { i32, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @Timeval_of_second(double noundef %0) #0 { %2 = alloca %struct.timeval, align 4 %3 = alloca double, align 8 %4 = alloca double, align 8 store double %0, ptr %3, align 8 %5 = load double, ptr %3, align 8 %6 = call double @llvm.floor.f64(double %5) store double %6, ptr %4, align 8 %7 = load double, ptr %4, align 8 %8 = fptosi double %7 to i32 %9 = getelementptr inbounds %struct.timeval, ptr %2, i32 0, i32 0 store i32 %8, ptr %9, align 4 %10 = load double, ptr %3, align 8 %11 = load double, ptr %4, align 8 %12 = fsub double %10, %11 %13 = fmul double %12, 1.000000e+03 %14 = fmul double %13, 1.000000e+03 %15 = fptosi double %14 to i32 %16 = getelementptr inbounds %struct.timeval, ptr %2, i32 0, i32 1 store i32 %15, ptr %16, align 4 %17 = load i64, ptr %2, align 4 ret i64 %17 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.floor.f64(double) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwz08pxes.c' source_filename = "/tmp/tmpwz08pxes.c" target datalayout = "e-m:e-p270: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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @_kill(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 store i32 %5, ptr %3, align 4 %6 = load i32, ptr %4, align 4 store i32 %6, ptr %4, align 4 %7 = load i32, ptr @EINVAL, 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/tmpwz08pxes.c" target datalayout = "e-m:e-p270: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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @_kill(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 store i32 %5, ptr %3, align 4 %6 = load i32, ptr %4, align 4 store i32 %6, ptr %4, align 4 %7 = load i32, ptr @EINVAL, 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/tmpk21uy__1.c' source_filename = "/tmp/tmpk21uy__1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } @.str = private unnamed_addr constant [23 x i8] c"Couldn't allocate fds\0A\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"Wrote %d bytes, sleeping\0A\00", align 1 @.str.2 = private unnamed_addr constant [42 x i8] c"Wrote another 8192 bytes, %d total, done\0A\00", align 1 @.str.3 = private unnamed_addr constant [36 x i8] c"Read %d bytes, going back to sleep\0A\00", align 1 @.str.4 = private unnamed_addr constant [21 x i8] c"Read %d bytes, done\0A\00", align 1 @.str.5 = private unnamed_addr constant [38 x i8] c"Location %d input: %hhx output: %hhx\0A\00", align 1 @.str.6 = private unnamed_addr constant [9 x i8] c"FAILURE\0A\00", align 1 @.str.7 = private unnamed_addr constant [9 x i8] c"SUCCESS\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [65535 x i8], align 16 %3 = alloca [65535 x i8], align 16 %4 = alloca [2 x i32], align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca %struct.stat, align 4 %11 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %9, align 4 %12 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0 %13 = call i32 @pipe(ptr noundef %12) store i32 %13, ptr %6, align 4 %14 = load i32, ptr %6, align 4 %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %18 16: ; preds = %0 %17 = call i32 @err(i32 noundef 0, ptr noundef @.str) br label %18 18: ; preds = %16, %0 %19 = getelementptr inbounds [65535 x i8], ptr %2, i64 0, i64 0 store i8 65, ptr %19, align 16 store i32 1, ptr %7, align 4 br label %20 20: ; preds = %46, %18 %21 = load i32, ptr %7, align 4 %22 = icmp slt i32 %21, 65535 br i1 %22, label %23, label %49 23: ; preds = %20 %24 = load i32, ptr %7, align 4 %25 = sub nsw i32 %24, 1 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds [65535 x i8], ptr %2, i64 0, i64 %26 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = add nsw i32 %29, 1 %31 = trunc i32 %30 to i8 %32 = load i32, ptr %7, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [65535 x i8], ptr %2, i64 0, i64 %33 store i8 %31, ptr %34, align 1 %35 = load i32, ptr %7, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds [65535 x i8], ptr %2, i64 0, i64 %36 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = icmp sgt i32 %39, 90 br i1 %40, label %41, label %45 41: ; preds = %23 %42 = load i32, ptr %7, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds [65535 x i8], ptr %2, i64 0, i64 %43 store i8 65, ptr %44, align 1 br label %45 45: ; preds = %41, %23 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 br label %20, !llvm.loop !6 49: ; preds = %20 %50 = call i64 (...) @fork() store i64 %50, ptr %11, align 8 %51 = load i64, ptr %11, align 8 %52 = icmp eq i64 %51, 0 br i1 %52, label %53, label %146 53: ; preds = %49 %54 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0 %55 = load i32, ptr %54, align 4 %56 = call i32 (i32, ...) @write(i32 noundef %55, ptr noundef %2, i32 noundef 4096) store i32 %56, ptr %6, align 4 %57 = load i32, ptr %6, align 4 %58 = load i32, ptr %9, align 4 %59 = add nsw i32 %58, %57 store i32 %59, ptr %9, align 4 %60 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0 %61 = load i32, ptr %60, align 4 %62 = load i32, ptr %9, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds [65535 x i8], ptr %2, i64 0, i64 %63 %65 = call i32 (i32, ...) @write(i32 noundef %61, ptr noundef %64, i32 noundef 4096) store i32 %65, ptr %6, align 4 %66 = load i32, ptr %6, align 4 %67 = load i32, ptr %9, align 4 %68 = add nsw i32 %67, %66 store i32 %68, ptr %9, align 4 %69 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0 %70 = load i32, ptr %69, align 4 %71 = load i32, ptr %9, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds [65535 x i8], ptr %2, i64 0, i64 %72 %74 = call i32 (i32, ...) @write(i32 noundef %70, ptr noundef %73, i32 noundef 4096) store i32 %74, ptr %6, align 4 %75 = load i32, ptr %6, align 4 %76 = load i32, ptr %9, align 4 %77 = add nsw i32 %76, %75 store i32 %77, ptr %9, align 4 %78 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0 %79 = load i32, ptr %78, align 4 %80 = load i32, ptr %9, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds [65535 x i8], ptr %2, i64 0, i64 %81 %83 = call i32 (i32, ...) @write(i32 noundef %79, ptr noundef %82, i32 noundef 4096) store i32 %83, ptr %6, align 4 %84 = load i32, ptr %6, align 4 %85 = load i32, ptr %9, align 4 %86 = add nsw i32 %85, %84 store i32 %86, ptr %9, align 4 %87 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0 %88 = load i32, ptr %87, align 4 %89 = load i32, ptr %9, align 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds [65535 x i8], ptr %2, i64 0, i64 %90 %92 = call i32 (i32, ...) @write(i32 noundef %88, ptr noundef %91, i32 noundef 4096) store i32 %92, ptr %6, align 4 %93 = load i32, ptr %6, align 4 %94 = load i32, ptr %9, align 4 %95 = add nsw i32 %94, %93 store i32 %95, ptr %9, align 4 %96 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0 %97 = load i32, ptr %96, align 4 %98 = load i32, ptr %9, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds [65535 x i8], ptr %2, i64 0, i64 %99 %101 = call i32 (i32, ...) @write(i32 noundef %97, ptr noundef %100, i32 noundef 4096) store i32 %101, ptr %6, align 4 %102 = load i32, ptr %6, align 4 %103 = load i32, ptr %9, align 4 %104 = add nsw i32 %103, %102 store i32 %104, ptr %9, align 4 %105 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0 %106 = load i32, ptr %105, align 4 %107 = load i32, ptr %9, align 4 %108 = sext i32 %107 to i64 %109 = getelementptr inbounds [65535 x i8], ptr %2, i64 0, i64 %108 %110 = call i32 (i32, ...) @write(i32 noundef %106, ptr noundef %109, i32 noundef 4096) store i32 %110, ptr %6, align 4 %111 = load i32, ptr %6, align 4 %112 = load i32, ptr %9, align 4 %113 = add nsw i32 %112, %111 store i32 %113, ptr %9, align 4 %114 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0 %115 = load i32, ptr %114, align 4 %116 = load i32, ptr %9, align 4 %117 = sext i32 %116 to i64 %118 = getelementptr inbounds [65535 x i8], ptr %2, i64 0, i64 %117 %119 = call i32 (i32, ...) @write(i32 noundef %115, ptr noundef %118, i32 noundef 4096) store i32 %119, ptr %6, align 4 %120 = load i32, ptr %6, align 4 %121 = load i32, ptr %9, align 4 %122 = add nsw i32 %121, %120 store i32 %122, ptr %9, align 4 %123 = load i32, ptr %9, align 4 %124 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %123) %125 = call i32 @usleep(i32 noundef 1000000) %126 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0 %127 = load i32, ptr %126, align 4 %128 = load i32, ptr %9, align 4 %129 = sext i32 %128 to i64 %130 = getelementptr inbounds [65535 x i8], ptr %2, i64 0, i64 %129 %131 = call i32 (i32, ...) @write(i32 noundef %127, ptr noundef %130, i32 noundef 4096) store i32 %131, ptr %6, align 4 %132 = load i32, ptr %6, align 4 %133 = load i32, ptr %9, align 4 %134 = add nsw i32 %133, %132 store i32 %134, ptr %9, align 4 %135 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0 %136 = load i32, ptr %135, align 4 %137 = load i32, ptr %9, align 4 %138 = sext i32 %137 to i64 %139 = getelementptr inbounds [65535 x i8], ptr %2, i64 0, i64 %138 %140 = call i32 (i32, ...) @write(i32 noundef %136, ptr noundef %139, i32 noundef 4096) store i32 %140, ptr %6, align 4 %141 = load i32, ptr %6, align 4 %142 = load i32, ptr %9, align 4 %143 = add nsw i32 %142, %141 store i32 %143, ptr %9, align 4 %144 = load i32, ptr %9, align 4 %145 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %144) br label %212 146: ; preds = %49 %147 = call i32 @usleep(i32 noundef 500000) %148 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 1 %149 = load i32, ptr %148, align 4 %150 = call i32 (i32, ...) @read(i32 noundef %149, ptr noundef %3, i32 noundef 32768) store i32 %150, ptr %6, align 4 %151 = load i32, ptr %6, align 4 %152 = load i32, ptr %9, align 4 %153 = add nsw i32 %152, %151 store i32 %153, ptr %9, align 4 %154 = load i32, ptr %6, align 4 %155 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %154) %156 = call i32 @usleep(i32 noundef 1000000) %157 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 1 %158 = load i32, ptr %157, align 4 %159 = load i32, ptr %9, align 4 %160 = sext i32 %159 to i64 %161 = getelementptr inbounds [65535 x i8], ptr %3, i64 0, i64 %160 %162 = call i32 (i32, ...) @read(i32 noundef %158, ptr noundef %161, i32 noundef 8192) store i32 %162, ptr %6, align 4 %163 = load i32, ptr %6, align 4 %164 = load i32, ptr %9, align 4 %165 = add nsw i32 %164, %163 store i32 %165, ptr %9, align 4 %166 = load i32, ptr %6, align 4 %167 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %166) store i32 0, ptr %7, align 4 br label %168 168: ; preds = %198, %146 %169 = load i32, ptr %7, align 4 %170 = load i32, ptr %9, align 4 %171 = icmp slt i32 %169, %170 br i1 %171, label %172, label %201 172: ; preds = %168 %173 = load i32, ptr %7, align 4 %174 = sext i32 %173 to i64 %175 = getelementptr inbounds [65535 x i8], ptr %2, i64 0, i64 %174 %176 = load i8, ptr %175, align 1 %177 = sext i8 %176 to i32 %178 = load i32, ptr %7, align 4 %179 = sext i32 %178 to i64 %180 = getelementptr inbounds [65535 x i8], ptr %3, i64 0, i64 %179 %181 = load i8, ptr %180, align 1 %182 = sext i8 %181 to i32 %183 = icmp ne i32 %177, %182 br i1 %183, label %184, label %197 184: ; preds = %172 store i32 1, ptr %5, align 4 %185 = load i32, ptr %7, align 4 %186 = load i32, ptr %7, align 4 %187 = sext i32 %186 to i64 %188 = getelementptr inbounds [65535 x i8], ptr %2, i64 0, i64 %187 %189 = load i8, ptr %188, align 1 %190 = sext i8 %189 to i32 %191 = load i32, ptr %7, align 4 %192 = sext i32 %191 to i64 %193 = getelementptr inbounds [65535 x i8], ptr %3, i64 0, i64 %192 %194 = load i8, ptr %193, align 1 %195 = sext i8 %194 to i32 %196 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %185, i32 noundef %190, i32 noundef %195) br label %197 197: ; preds = %184, %172 br label %198 198: ; preds = %197 %199 = load i32, ptr %7, align 4 %200 = add nsw i32 %199, 1 store i32 %200, ptr %7, align 4 br label %168, !llvm.loop !8 201: ; preds = %168 %202 = load i32, ptr %5, align 4 %203 = icmp eq i32 %202, 1 br i1 %203, label %207, label %204 204: ; preds = %201 %205 = load i32, ptr %9, align 4 %206 = icmp ne i32 %205, 40960 br i1 %206, label %207, label %209 207: ; preds = %204, %201 %208 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %211 209: ; preds = %204 %210 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %211 211: ; preds = %209, %207 br label %212 212: ; preds = %211, %53 %213 = load i32, ptr %1, align 4 ret i32 %213 } declare i32 @pipe(ptr noundef) #1 declare i32 @err(i32 noundef, ptr noundef) #1 declare i64 @fork(...) #1 declare i32 @write(i32 noundef, ...) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @usleep(i32 noundef) #1 declare i32 @read(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/tmpk21uy__1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } @.str = private unnamed_addr constant [23 x i8] c"Couldn't allocate fds\0A\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"Wrote %d bytes, sleeping\0A\00", align 1 @.str.2 = private unnamed_addr constant [42 x i8] c"Wrote another 8192 bytes, %d total, done\0A\00", align 1 @.str.3 = private unnamed_addr constant [36 x i8] c"Read %d bytes, going back to sleep\0A\00", align 1 @.str.4 = private unnamed_addr constant [21 x i8] c"Read %d bytes, done\0A\00", align 1 @.str.5 = private unnamed_addr constant [38 x i8] c"Location %d input: %hhx output: %hhx\0A\00", align 1 @.str.6 = private unnamed_addr constant [9 x i8] c"FAILURE\0A\00", align 1 @.str.7 = private unnamed_addr constant [9 x i8] c"SUCCESS\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [65535 x i8], align 16 %3 = alloca [65535 x i8], align 16 %4 = alloca [2 x i32], align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca %struct.stat, align 4 %11 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %9, align 4 %12 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0 %13 = call i32 @pipe(ptr noundef %12) store i32 %13, ptr %6, align 4 %14 = load i32, ptr %6, align 4 %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %18 16: ; preds = %0 %17 = call i32 @err(i32 noundef 0, ptr noundef @.str) br label %18 18: ; preds = %16, %0 %19 = getelementptr inbounds [65535 x i8], ptr %2, i64 0, i64 0 store i8 65, ptr %19, align 16 store i32 1, ptr %7, align 4 %20 = load i32, ptr %7, align 4 %21 = icmp slt i32 %20, 65535 br i1 %21, label %.lr.ph, label %50 .lr.ph: ; preds = %18 br label %22 22: ; preds = %.lr.ph, %45 %23 = load i32, ptr %7, align 4 %24 = sub nsw i32 %23, 1 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds [65535 x i8], ptr %2, i64 0, i64 %25 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = add nsw i32 %28, 1 %30 = trunc i32 %29 to i8 %31 = load i32, ptr %7, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [65535 x i8], ptr %2, i64 0, i64 %32 store i8 %30, ptr %33, align 1 %34 = load i32, ptr %7, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds [65535 x i8], ptr %2, i64 0, i64 %35 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = icmp sgt i32 %38, 90 br i1 %39, label %40, label %44 40: ; preds = %22 %41 = load i32, ptr %7, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds [65535 x i8], ptr %2, i64 0, i64 %42 store i8 65, ptr %43, align 1 br label %44 44: ; preds = %40, %22 br label %45 45: ; preds = %44 %46 = load i32, ptr %7, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %7, align 4 %48 = load i32, ptr %7, align 4 %49 = icmp slt i32 %48, 65535 br i1 %49, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %45 br label %50 50: ; preds = %._crit_edge, %18 %51 = call i64 (...) @fork() store i64 %51, ptr %11, align 8 %52 = load i64, ptr %11, align 8 %53 = icmp eq i64 %52, 0 br i1 %53, label %54, label %147 54: ; preds = %50 %55 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0 %56 = load i32, ptr %55, align 4 %57 = call i32 (i32, ...) @write(i32 noundef %56, ptr noundef %2, i32 noundef 4096) store i32 %57, ptr %6, align 4 %58 = load i32, ptr %6, align 4 %59 = load i32, ptr %9, align 4 %60 = add nsw i32 %59, %58 store i32 %60, ptr %9, align 4 %61 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0 %62 = load i32, ptr %61, align 4 %63 = load i32, ptr %9, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds [65535 x i8], ptr %2, i64 0, i64 %64 %66 = call i32 (i32, ...) @write(i32 noundef %62, ptr noundef %65, i32 noundef 4096) store i32 %66, ptr %6, align 4 %67 = load i32, ptr %6, align 4 %68 = load i32, ptr %9, align 4 %69 = add nsw i32 %68, %67 store i32 %69, ptr %9, align 4 %70 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0 %71 = load i32, ptr %70, align 4 %72 = load i32, ptr %9, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds [65535 x i8], ptr %2, i64 0, i64 %73 %75 = call i32 (i32, ...) @write(i32 noundef %71, ptr noundef %74, i32 noundef 4096) store i32 %75, ptr %6, align 4 %76 = load i32, ptr %6, align 4 %77 = load i32, ptr %9, align 4 %78 = add nsw i32 %77, %76 store i32 %78, ptr %9, align 4 %79 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0 %80 = load i32, ptr %79, align 4 %81 = load i32, ptr %9, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds [65535 x i8], ptr %2, i64 0, i64 %82 %84 = call i32 (i32, ...) @write(i32 noundef %80, ptr noundef %83, i32 noundef 4096) store i32 %84, ptr %6, align 4 %85 = load i32, ptr %6, align 4 %86 = load i32, ptr %9, align 4 %87 = add nsw i32 %86, %85 store i32 %87, ptr %9, align 4 %88 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0 %89 = load i32, ptr %88, align 4 %90 = load i32, ptr %9, align 4 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds [65535 x i8], ptr %2, i64 0, i64 %91 %93 = call i32 (i32, ...) @write(i32 noundef %89, ptr noundef %92, i32 noundef 4096) store i32 %93, ptr %6, align 4 %94 = load i32, ptr %6, align 4 %95 = load i32, ptr %9, align 4 %96 = add nsw i32 %95, %94 store i32 %96, ptr %9, align 4 %97 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0 %98 = load i32, ptr %97, align 4 %99 = load i32, ptr %9, align 4 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds [65535 x i8], ptr %2, i64 0, i64 %100 %102 = call i32 (i32, ...) @write(i32 noundef %98, ptr noundef %101, i32 noundef 4096) store i32 %102, ptr %6, align 4 %103 = load i32, ptr %6, align 4 %104 = load i32, ptr %9, align 4 %105 = add nsw i32 %104, %103 store i32 %105, ptr %9, align 4 %106 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0 %107 = load i32, ptr %106, align 4 %108 = load i32, ptr %9, align 4 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds [65535 x i8], ptr %2, i64 0, i64 %109 %111 = call i32 (i32, ...) @write(i32 noundef %107, ptr noundef %110, i32 noundef 4096) store i32 %111, ptr %6, align 4 %112 = load i32, ptr %6, align 4 %113 = load i32, ptr %9, align 4 %114 = add nsw i32 %113, %112 store i32 %114, ptr %9, align 4 %115 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0 %116 = load i32, ptr %115, align 4 %117 = load i32, ptr %9, align 4 %118 = sext i32 %117 to i64 %119 = getelementptr inbounds [65535 x i8], ptr %2, i64 0, i64 %118 %120 = call i32 (i32, ...) @write(i32 noundef %116, ptr noundef %119, i32 noundef 4096) store i32 %120, ptr %6, align 4 %121 = load i32, ptr %6, align 4 %122 = load i32, ptr %9, align 4 %123 = add nsw i32 %122, %121 store i32 %123, ptr %9, align 4 %124 = load i32, ptr %9, align 4 %125 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %124) %126 = call i32 @usleep(i32 noundef 1000000) %127 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0 %128 = load i32, ptr %127, align 4 %129 = load i32, ptr %9, align 4 %130 = sext i32 %129 to i64 %131 = getelementptr inbounds [65535 x i8], ptr %2, i64 0, i64 %130 %132 = call i32 (i32, ...) @write(i32 noundef %128, ptr noundef %131, i32 noundef 4096) store i32 %132, ptr %6, align 4 %133 = load i32, ptr %6, align 4 %134 = load i32, ptr %9, align 4 %135 = add nsw i32 %134, %133 store i32 %135, ptr %9, align 4 %136 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0 %137 = load i32, ptr %136, align 4 %138 = load i32, ptr %9, align 4 %139 = sext i32 %138 to i64 %140 = getelementptr inbounds [65535 x i8], ptr %2, i64 0, i64 %139 %141 = call i32 (i32, ...) @write(i32 noundef %137, ptr noundef %140, i32 noundef 4096) store i32 %141, ptr %6, align 4 %142 = load i32, ptr %6, align 4 %143 = load i32, ptr %9, align 4 %144 = add nsw i32 %143, %142 store i32 %144, ptr %9, align 4 %145 = load i32, ptr %9, align 4 %146 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %145) br label %215 147: ; preds = %50 %148 = call i32 @usleep(i32 noundef 500000) %149 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 1 %150 = load i32, ptr %149, align 4 %151 = call i32 (i32, ...) @read(i32 noundef %150, ptr noundef %3, i32 noundef 32768) store i32 %151, ptr %6, align 4 %152 = load i32, ptr %6, align 4 %153 = load i32, ptr %9, align 4 %154 = add nsw i32 %153, %152 store i32 %154, ptr %9, align 4 %155 = load i32, ptr %6, align 4 %156 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %155) %157 = call i32 @usleep(i32 noundef 1000000) %158 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 1 %159 = load i32, ptr %158, align 4 %160 = load i32, ptr %9, align 4 %161 = sext i32 %160 to i64 %162 = getelementptr inbounds [65535 x i8], ptr %3, i64 0, i64 %161 %163 = call i32 (i32, ...) @read(i32 noundef %159, ptr noundef %162, i32 noundef 8192) store i32 %163, ptr %6, align 4 %164 = load i32, ptr %6, align 4 %165 = load i32, ptr %9, align 4 %166 = add nsw i32 %165, %164 store i32 %166, ptr %9, align 4 %167 = load i32, ptr %6, align 4 %168 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %167) store i32 0, ptr %7, align 4 %169 = load i32, ptr %7, align 4 %170 = load i32, ptr %9, align 4 %171 = icmp slt i32 %169, %170 br i1 %171, label %.lr.ph2, label %204 .lr.ph2: ; preds = %147 br label %172 172: ; preds = %.lr.ph2, %198 %173 = load i32, ptr %7, align 4 %174 = sext i32 %173 to i64 %175 = getelementptr inbounds [65535 x i8], ptr %2, i64 0, i64 %174 %176 = load i8, ptr %175, align 1 %177 = sext i8 %176 to i32 %178 = load i32, ptr %7, align 4 %179 = sext i32 %178 to i64 %180 = getelementptr inbounds [65535 x i8], ptr %3, i64 0, i64 %179 %181 = load i8, ptr %180, align 1 %182 = sext i8 %181 to i32 %183 = icmp ne i32 %177, %182 br i1 %183, label %184, label %197 184: ; preds = %172 store i32 1, ptr %5, align 4 %185 = load i32, ptr %7, align 4 %186 = load i32, ptr %7, align 4 %187 = sext i32 %186 to i64 %188 = getelementptr inbounds [65535 x i8], ptr %2, i64 0, i64 %187 %189 = load i8, ptr %188, align 1 %190 = sext i8 %189 to i32 %191 = load i32, ptr %7, align 4 %192 = sext i32 %191 to i64 %193 = getelementptr inbounds [65535 x i8], ptr %3, i64 0, i64 %192 %194 = load i8, ptr %193, align 1 %195 = sext i8 %194 to i32 %196 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %185, i32 noundef %190, i32 noundef %195) br label %197 197: ; preds = %184, %172 br label %198 198: ; preds = %197 %199 = load i32, ptr %7, align 4 %200 = add nsw i32 %199, 1 store i32 %200, ptr %7, align 4 %201 = load i32, ptr %7, align 4 %202 = load i32, ptr %9, align 4 %203 = icmp slt i32 %201, %202 br i1 %203, label %172, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %198 br label %204 204: ; preds = %._crit_edge3, %147 %205 = load i32, ptr %5, align 4 %206 = icmp eq i32 %205, 1 br i1 %206, label %210, label %207 207: ; preds = %204 %208 = load i32, ptr %9, align 4 %209 = icmp ne i32 %208, 40960 br i1 %209, label %210, label %212 210: ; preds = %207, %204 %211 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %214 212: ; preds = %207 %213 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %214 214: ; preds = %212, %210 br label %215 215: ; preds = %214, %54 %216 = load i32, ptr %1, align 4 ret i32 %216 } declare i32 @pipe(ptr noundef) #1 declare i32 @err(i32 noundef, ptr noundef) #1 declare i64 @fork(...) #1 declare i32 @write(i32 noundef, ...) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @usleep(i32 noundef) #1 declare i32 @read(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/tmp8i66pd__.c' source_filename = "/tmp/tmp8i66pd__.c" target datalayout = "e-m:e-p270: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/tmp8i66pd__.c" target datalayout = "e-m:e-p270: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/tmplenibg16.c' source_filename = "/tmp/tmplenibg16.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strcasecmp(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i8, align 1 %7 = alloca i8, align 1 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 br label %8 8: ; preds = %2, %37 %9 = load ptr, ptr %4, align 8 %10 = getelementptr inbounds i8, ptr %9, i32 1 store ptr %10, ptr %4, align 8 %11 = load i8, ptr %9, align 1 %12 = sext i8 %11 to i32 %13 = call signext i8 @upcase(i32 noundef %12) store i8 %13, ptr %6, align 1 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds i8, ptr %14, i32 1 store ptr %15, ptr %5, align 8 %16 = load i8, ptr %14, align 1 %17 = sext i8 %16 to i32 %18 = call signext i8 @upcase(i32 noundef %17) store i8 %18, ptr %7, align 1 %19 = load i8, ptr %6, align 1 %20 = sext i8 %19 to i32 %21 = load i8, ptr %7, align 1 %22 = sext i8 %21 to i32 %23 = icmp slt i32 %20, %22 br i1 %23, label %24, label %25 24: ; preds = %8 store i32 -1, ptr %3, align 4 br label %39 25: ; preds = %8 %26 = load i8, ptr %6, align 1 %27 = sext i8 %26 to i32 %28 = load i8, ptr %7, align 1 %29 = sext i8 %28 to i32 %30 = icmp sgt i32 %27, %29 br i1 %30, label %31, label %32 31: ; preds = %25 store i32 1, ptr %3, align 4 br label %39 32: ; preds = %25 %33 = load i8, ptr %6, align 1 %34 = sext i8 %33 to i32 %35 = icmp eq i32 %34, 0 br i1 %35, label %36, label %37 36: ; preds = %32 br label %38 37: ; preds = %32 br label %8 38: ; preds = %36 store i32 0, ptr %3, align 4 br label %39 39: ; preds = %38, %31, %24 %40 = load i32, ptr %3, align 4 ret i32 %40 } declare signext i8 @upcase(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/tmplenibg16.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strcasecmp(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i8, align 1 %7 = alloca i8, align 1 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = getelementptr inbounds i8, ptr %8, i32 1 store ptr %9, ptr %4, align 8 %10 = load i8, ptr %8, align 1 %11 = sext i8 %10 to i32 %12 = call signext i8 @upcase(i32 noundef %11) store i8 %12, ptr %6, align 1 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds i8, ptr %13, i32 1 store ptr %14, ptr %5, align 8 %15 = load i8, ptr %13, align 1 %16 = sext i8 %15 to i32 %17 = call signext i8 @upcase(i32 noundef %16) store i8 %17, ptr %7, align 1 %18 = load i8, ptr %6, align 1 %19 = sext i8 %18 to i32 %20 = load i8, ptr %7, align 1 %21 = sext i8 %20 to i32 %22 = icmp slt i32 %19, %21 br i1 %22, label %39, label %.lr.ph .lr.ph: ; preds = %2 br label %40 23: ; preds = %47 %24 = load ptr, ptr %4, align 8 %25 = getelementptr inbounds i8, ptr %24, i32 1 store ptr %25, ptr %4, align 8 %26 = load i8, ptr %24, align 1 %27 = sext i8 %26 to i32 %28 = call signext i8 @upcase(i32 noundef %27) store i8 %28, ptr %6, align 1 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds i8, ptr %29, i32 1 store ptr %30, ptr %5, align 8 %31 = load i8, ptr %29, align 1 %32 = sext i8 %31 to i32 %33 = call signext i8 @upcase(i32 noundef %32) store i8 %33, ptr %7, align 1 %34 = load i8, ptr %6, align 1 %35 = sext i8 %34 to i32 %36 = load i8, ptr %7, align 1 %37 = sext i8 %36 to i32 %38 = icmp slt i32 %35, %37 br i1 %38, label %._crit_edge, label %40 ._crit_edge: ; preds = %23 br label %39 39: ; preds = %._crit_edge, %2 store i32 -1, ptr %3, align 4 br label %53 40: ; preds = %.lr.ph, %23 %41 = load i8, ptr %6, align 1 %42 = sext i8 %41 to i32 %43 = load i8, ptr %7, align 1 %44 = sext i8 %43 to i32 %45 = icmp sgt i32 %42, %44 br i1 %45, label %46, label %47 46: ; preds = %40 store i32 1, ptr %3, align 4 br label %53 47: ; preds = %40 %48 = load i8, ptr %6, align 1 %49 = sext i8 %48 to i32 %50 = icmp eq i32 %49, 0 br i1 %50, label %51, label %23 51: ; preds = %47 br label %52 52: ; preds = %51 store i32 0, ptr %3, align 4 br label %53 53: ; preds = %52, %46, %39 %54 = load i32, ptr %3, align 4 ret i32 %54 } declare signext i8 @upcase(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/tmp1pv02os0.c' source_filename = "/tmp/tmp1pv02os0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__glGetMapiv_size(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 @__glGetMap_size(i32 noundef %5, i32 noundef %6) ret i32 %7 } declare i32 @__glGetMap_size(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/tmp1pv02os0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__glGetMapiv_size(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 @__glGetMap_size(i32 noundef %5, i32 noundef %6) ret i32 %7 } declare i32 @__glGetMap_size(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/tmpng3m6eru.c' source_filename = "/tmp/tmpng3m6eru.c" target datalayout = "e-m:e-p270: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.termio = type { i32, ptr } @TCGETA = dso_local global i32 0, align 4 @ICANON = dso_local global i32 0, align 4 @ECHO = dso_local global i32 0, align 4 @TCSETA = dso_local global i32 0, align 4 @stdin = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @inkey() #0 { %1 = alloca i8, align 1 %2 = alloca %struct.termio, align 8 %3 = alloca %struct.termio, align 8 %4 = load i32, ptr @TCGETA, align 4 %5 = call i32 @ioctl(i32 noundef 0, i32 noundef %4, ptr noundef %2) call void @llvm.memcpy.p0.p0.i64(ptr align 8 %3, ptr align 8 %2, i64 16, i1 false) %6 = load i32, ptr @ICANON, align 4 %7 = load i32, ptr @ECHO, align 4 %8 = or i32 %6, %7 %9 = xor i32 %8, -1 %10 = getelementptr inbounds %struct.termio, ptr %3, i32 0, i32 0 %11 = load i32, ptr %10, align 8 %12 = and i32 %11, %9 store i32 %12, ptr %10, align 8 %13 = getelementptr inbounds %struct.termio, ptr %3, i32 0, i32 1 %14 = load ptr, ptr %13, align 8 %15 = getelementptr inbounds i32, ptr %14, i64 4 store i32 1, ptr %15, align 4 %16 = load i32, ptr @TCSETA, align 4 %17 = call i32 @ioctl(i32 noundef 0, i32 noundef %16, ptr noundef %3) %18 = load i32, ptr @stdin, align 4 %19 = call i32 @fflush(i32 noundef %18) %20 = load i32, ptr @stderr, align 4 %21 = call i32 @fflush(i32 noundef %20) %22 = load i32, ptr @stdout, align 4 %23 = call i32 @fflush(i32 noundef %22) %24 = call i32 @read(i32 noundef 0, ptr noundef %1, i32 noundef 1) %25 = load i32, ptr @TCSETA, align 4 %26 = call i32 @ioctl(i32 noundef 0, i32 noundef %25, ptr noundef %2) %27 = load i8, ptr %1, align 1 ret i8 %27 } declare i32 @ioctl(i32 noundef, i32 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 declare i32 @fflush(i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { 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/tmpng3m6eru.c" target datalayout = "e-m:e-p270: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.termio = type { i32, ptr } @TCGETA = dso_local global i32 0, align 4 @ICANON = dso_local global i32 0, align 4 @ECHO = dso_local global i32 0, align 4 @TCSETA = dso_local global i32 0, align 4 @stdin = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @inkey() #0 { %1 = alloca i8, align 1 %2 = alloca %struct.termio, align 8 %3 = alloca %struct.termio, align 8 %4 = load i32, ptr @TCGETA, align 4 %5 = call i32 @ioctl(i32 noundef 0, i32 noundef %4, ptr noundef %2) call void @llvm.memcpy.p0.p0.i64(ptr align 8 %3, ptr align 8 %2, i64 16, i1 false) %6 = load i32, ptr @ICANON, align 4 %7 = load i32, ptr @ECHO, align 4 %8 = or i32 %6, %7 %9 = xor i32 %8, -1 %10 = getelementptr inbounds %struct.termio, ptr %3, i32 0, i32 0 %11 = load i32, ptr %10, align 8 %12 = and i32 %11, %9 store i32 %12, ptr %10, align 8 %13 = getelementptr inbounds %struct.termio, ptr %3, i32 0, i32 1 %14 = load ptr, ptr %13, align 8 %15 = getelementptr inbounds i32, ptr %14, i64 4 store i32 1, ptr %15, align 4 %16 = load i32, ptr @TCSETA, align 4 %17 = call i32 @ioctl(i32 noundef 0, i32 noundef %16, ptr noundef %3) %18 = load i32, ptr @stdin, align 4 %19 = call i32 @fflush(i32 noundef %18) %20 = load i32, ptr @stderr, align 4 %21 = call i32 @fflush(i32 noundef %20) %22 = load i32, ptr @stdout, align 4 %23 = call i32 @fflush(i32 noundef %22) %24 = call i32 @read(i32 noundef 0, ptr noundef %1, i32 noundef 1) %25 = load i32, ptr @TCSETA, align 4 %26 = call i32 @ioctl(i32 noundef 0, i32 noundef %25, ptr noundef %2) %27 = load i8, ptr %1, align 1 ret i8 %27 } declare i32 @ioctl(i32 noundef, i32 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 declare i32 @fflush(i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { 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/tmpf35jfdk8.c' source_filename = "/tmp/tmpf35jfdk8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @bitoa.buf = internal global [13 x i8] zeroinitializer, align 1 @.str = private unnamed_addr constant [3 x i8] c"%i\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @bitoa(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 @sprintf(ptr noundef @bitoa.buf, ptr noundef @.str, i32 noundef %3) ret ptr @bitoa.buf } declare i32 @sprintf(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/tmpf35jfdk8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @bitoa.buf = internal global [13 x i8] zeroinitializer, align 1 @.str = private unnamed_addr constant [3 x i8] c"%i\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @bitoa(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 @sprintf(ptr noundef @bitoa.buf, ptr noundef @.str, i32 noundef %3) ret ptr @bitoa.buf } declare i32 @sprintf(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/tmp7dy5_n_i.c' source_filename = "/tmp/tmp7dy5_n_i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @evl_packWstring(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %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 %12 = alloca i64, align 8 %13 = alloca i64, align 8 %14 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store i64 %2, ptr %9, align 8 store i64 %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 %15 = load ptr, ptr %8, align 8 %16 = call i32 @wcslen(ptr noundef %15) %17 = add nsw i32 %16, 1 %18 = sext i32 %17 to i64 %19 = mul i64 %18, 4 store i64 %19, ptr %12, align 8 store i64 0, ptr %13, align 8 %20 = load i64, ptr %9, align 8 %21 = load i64, ptr %10, align 8 %22 = load i64, ptr %12, align 8 %23 = call i32 @evl_checkBufSpace(i64 noundef %20, i64 noundef %21, i64 noundef %22) store i32 %23, ptr %14, align 4 %24 = load i32, ptr %14, align 4 %25 = icmp eq i32 %24, 0 br i1 %25, label %26, label %31 26: ; preds = %5 %27 = load ptr, ptr %7, align 8 %28 = load ptr, ptr %8, align 8 %29 = load i64, ptr %12, align 8 %30 = call i64 @evl_memcpy(ptr noundef %27, ptr noundef %28, i64 noundef %29) store i64 %30, ptr %13, align 8 br label %33 31: ; preds = %5 %32 = load i32, ptr %14, align 4 store i32 %32, ptr %6, align 4 br label %36 33: ; preds = %26 %34 = load i64, ptr %13, align 8 %35 = load ptr, ptr %11, align 8 store i64 %34, ptr %35, align 8 store i32 0, ptr %6, align 4 br label %36 36: ; preds = %33, %31 %37 = load i32, ptr %6, align 4 ret i32 %37 } declare i32 @wcslen(ptr noundef) #1 declare i32 @evl_checkBufSpace(i64 noundef, i64 noundef, i64 noundef) #1 declare i64 @evl_memcpy(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7dy5_n_i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @evl_packWstring(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %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 %12 = alloca i64, align 8 %13 = alloca i64, align 8 %14 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store i64 %2, ptr %9, align 8 store i64 %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 %15 = load ptr, ptr %8, align 8 %16 = call i32 @wcslen(ptr noundef %15) %17 = add nsw i32 %16, 1 %18 = sext i32 %17 to i64 %19 = mul i64 %18, 4 store i64 %19, ptr %12, align 8 store i64 0, ptr %13, align 8 %20 = load i64, ptr %9, align 8 %21 = load i64, ptr %10, align 8 %22 = load i64, ptr %12, align 8 %23 = call i32 @evl_checkBufSpace(i64 noundef %20, i64 noundef %21, i64 noundef %22) store i32 %23, ptr %14, align 4 %24 = load i32, ptr %14, align 4 %25 = icmp eq i32 %24, 0 br i1 %25, label %26, label %31 26: ; preds = %5 %27 = load ptr, ptr %7, align 8 %28 = load ptr, ptr %8, align 8 %29 = load i64, ptr %12, align 8 %30 = call i64 @evl_memcpy(ptr noundef %27, ptr noundef %28, i64 noundef %29) store i64 %30, ptr %13, align 8 br label %33 31: ; preds = %5 %32 = load i32, ptr %14, align 4 store i32 %32, ptr %6, align 4 br label %36 33: ; preds = %26 %34 = load i64, ptr %13, align 8 %35 = load ptr, ptr %11, align 8 store i64 %34, ptr %35, align 8 store i32 0, ptr %6, align 4 br label %36 36: ; preds = %33, %31 %37 = load i32, ptr %6, align 4 ret i32 %37 } declare i32 @wcslen(ptr noundef) #1 declare i32 @evl_checkBufSpace(i64 noundef, i64 noundef, i64 noundef) #1 declare i64 @evl_memcpy(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpx3c4cmaq.c' source_filename = "/tmp/tmpx3c4cmaq.c" target datalayout = "e-m:e-p270: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/tmpx3c4cmaq.c" target datalayout = "e-m:e-p270: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/tmpiqgwf740.c' source_filename = "/tmp/tmpiqgwf740.c" target datalayout = "e-m:e-p270: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/tmpiqgwf740.c" target datalayout = "e-m:e-p270: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/tmpt4nq3kk9.c' source_filename = "/tmp/tmpt4nq3kk9.c" target datalayout = "e-m:e-p270: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/tmpt4nq3kk9.c" target datalayout = "e-m:e-p270: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/tmpc1wn0a6w.c' source_filename = "/tmp/tmpc1wn0a6w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @root() #0 { %1 = call i32 (...) @output_banner() %2 = call i32 (...) @run_shell() ret void } declare i32 @output_banner(...) #1 declare i32 @run_shell(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpc1wn0a6w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @root() #0 { %1 = call i32 (...) @output_banner() %2 = call i32 (...) @run_shell() ret void } declare i32 @output_banner(...) #1 declare i32 @run_shell(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptsuhk410.c' source_filename = "/tmp/tmptsuhk410.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [40 x i8] c" Welcome to your to-do list!\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [34 x i8] c" Operation Codes:\0A\00", align 1 @.str.2 = private unnamed_addr constant [48 x i8] c" i - insert | r - remove | v - view | q - quit\0A\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"\0AEnter operation code: \00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c" %c\00", align 1 @.str.5 = private unnamed_addr constant [18 x i8] c"Have a good day!\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [14 x i8] c"Invalid code\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 store i32 0, ptr %1, align 4 %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 @printf(ptr noundef @.str.1) %5 = call i32 @printf(ptr noundef @.str.2) br label %6 6: ; preds = %28, %0 %7 = call i32 @printf(ptr noundef @.str.3) %8 = call i32 @scanf(ptr noundef @.str.4, ptr noundef %2) br label %9 9: ; preds = %13, %6 %10 = call signext i8 (...) @getchar() %11 = sext i8 %10 to i32 %12 = icmp ne i32 %11, 10 br i1 %12, label %13, label %14 13: ; preds = %9 br label %9, !llvm.loop !6 14: ; preds = %9 %15 = load i8, ptr %2, align 1 %16 = sext i8 %15 to i32 switch i32 %16, label %26 [ i32 105, label %17 i32 114, label %19 i32 118, label %21 i32 113, label %23 ] 17: ; preds = %14 %18 = call i32 (...) @insert_task() br label %28 19: ; preds = %14 %20 = call i32 (...) @remove_task() br label %28 21: ; preds = %14 %22 = call i32 (...) @view_list() br label %28 23: ; preds = %14 %24 = load i32, ptr @EXIT_SUCCESS, align 4 %25 = call i32 @terminate(ptr noundef @.str.5, i32 noundef %24) br label %26 26: ; preds = %14, %23 %27 = call i32 @printf(ptr noundef @.str.6) br label %28 28: ; preds = %26, %21, %19, %17 br label %6 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare signext i8 @getchar(...) #1 declare i32 @insert_task(...) #1 declare i32 @remove_task(...) #1 declare i32 @view_list(...) #1 declare i32 @terminate(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/tmptsuhk410.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [40 x i8] c" Welcome to your to-do list!\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [34 x i8] c" Operation Codes:\0A\00", align 1 @.str.2 = private unnamed_addr constant [48 x i8] c" i - insert | r - remove | v - view | q - quit\0A\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"\0AEnter operation code: \00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c" %c\00", align 1 @.str.5 = private unnamed_addr constant [18 x i8] c"Have a good day!\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 @.str.6 = private unnamed_addr constant [14 x i8] c"Invalid code\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 store i32 0, ptr %1, align 4 %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 @printf(ptr noundef @.str.1) %5 = call i32 @printf(ptr noundef @.str.2) br label %6 6: ; preds = %27, %0 %7 = call i32 @printf(ptr noundef @.str.3) %8 = call i32 @scanf(ptr noundef @.str.4, ptr noundef %2) br label %9 9: ; preds = %9, %6 %10 = call signext i8 (...) @getchar() %11 = sext i8 %10 to i32 %12 = icmp ne i32 %11, 10 br i1 %12, label %9, label %13, !llvm.loop !6 13: ; preds = %9 %14 = load i8, ptr %2, align 1 %15 = sext i8 %14 to i32 switch i32 %15, label %25 [ i32 105, label %16 i32 114, label %18 i32 118, label %20 i32 113, label %22 ] 16: ; preds = %13 %17 = call i32 (...) @insert_task() br label %27 18: ; preds = %13 %19 = call i32 (...) @remove_task() br label %27 20: ; preds = %13 %21 = call i32 (...) @view_list() br label %27 22: ; preds = %13 %23 = load i32, ptr @EXIT_SUCCESS, align 4 %24 = call i32 @terminate(ptr noundef @.str.5, i32 noundef %23) br label %25 25: ; preds = %22, %13 %26 = call i32 @printf(ptr noundef @.str.6) br label %27 27: ; preds = %25, %20, %18, %16 br label %6 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare signext i8 @getchar(...) #1 declare i32 @insert_task(...) #1 declare i32 @remove_task(...) #1 declare i32 @view_list(...) #1 declare i32 @terminate(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"}