llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpo5arbz8x.c' source_filename = "/tmp/tmpo5arbz8x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__gettimeofday(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i32 @__nacl_irt_gettod(ptr noundef %5) ret i32 %6 } declare i32 @__nacl_irt_gettod(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo5arbz8x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__gettimeofday(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i32 @__nacl_irt_gettod(ptr noundef %5) ret i32 %6 } declare i32 @__nacl_irt_gettod(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpewso2g3_.c' source_filename = "/tmp/tmpewso2g3_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ieee_cos(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca [2 x double], align 16 %5 = alloca double, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store double %0, ptr %3, align 8 store double 0.000000e+00, ptr %5, align 8 %8 = load i32, ptr %3, align 8 store i32 %8, ptr %7, align 4 %9 = load i32, ptr %7, align 4 %10 = and i32 %9, 2147483647 store i32 %10, ptr %7, align 4 %11 = load i32, ptr %7, align 4 %12 = icmp sle i32 %11, 1072243195 br i1 %12, label %13, label %17 13: ; preds = %1 %14 = load double, ptr %3, align 8 %15 = load double, ptr %5, align 8 %16 = call double @__kernel_cos(double noundef %14, double noundef %15) store double %16, ptr %2, align 8 br label %56 17: ; preds = %1 %18 = load i32, ptr %7, align 4 %19 = icmp sge i32 %18, 2146435072 br i1 %19, label %20, label %24 20: ; preds = %17 %21 = load double, ptr %3, align 8 %22 = load double, ptr %3, align 8 %23 = fsub double %21, %22 store double %23, ptr %2, align 8 br label %56 24: ; preds = %17 %25 = load double, ptr %3, align 8 %26 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 0 %27 = call i32 @__ieee754_rem_pio2(double noundef %25, ptr noundef %26) store i32 %27, ptr %6, align 4 %28 = load i32, ptr %6, align 4 %29 = and i32 %28, 3 switch i32 %29, label %50 [ i32 0, label %30 i32 1, label %36 i32 2, label %43 ] 30: ; preds = %24 %31 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 0 %32 = load double, ptr %31, align 16 %33 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 1 %34 = load double, ptr %33, align 8 %35 = call double @__kernel_cos(double noundef %32, double noundef %34) store double %35, ptr %2, align 8 br label %56 36: ; preds = %24 %37 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 0 %38 = load double, ptr %37, align 16 %39 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 1 %40 = load double, ptr %39, align 8 %41 = call double @__kernel_sin(double noundef %38, double noundef %40, i32 noundef 1) %42 = fneg double %41 store double %42, ptr %2, align 8 br label %56 43: ; preds = %24 %44 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 0 %45 = load double, ptr %44, align 16 %46 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 1 %47 = load double, ptr %46, align 8 %48 = call double @__kernel_cos(double noundef %45, double noundef %47) %49 = fneg double %48 store double %49, ptr %2, align 8 br label %56 50: ; preds = %24 %51 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 0 %52 = load double, ptr %51, align 16 %53 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 1 %54 = load double, ptr %53, align 8 %55 = call double @__kernel_sin(double noundef %52, double noundef %54, i32 noundef 1) store double %55, ptr %2, align 8 br label %56 56: ; preds = %50, %43, %36, %30, %20, %13 %57 = load double, ptr %2, align 8 ret double %57 } declare double @__kernel_cos(double noundef, double noundef) #1 declare i32 @__ieee754_rem_pio2(double noundef, ptr noundef) #1 declare double @__kernel_sin(double noundef, double noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpewso2g3_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ieee_cos(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca [2 x double], align 16 %5 = alloca double, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store double %0, ptr %3, align 8 store double 0.000000e+00, ptr %5, align 8 %8 = load i32, ptr %3, align 8 store i32 %8, ptr %7, align 4 %9 = load i32, ptr %7, align 4 %10 = and i32 %9, 2147483647 store i32 %10, ptr %7, align 4 %11 = load i32, ptr %7, align 4 %12 = icmp sle i32 %11, 1072243195 br i1 %12, label %13, label %17 13: ; preds = %1 %14 = load double, ptr %3, align 8 %15 = load double, ptr %5, align 8 %16 = call double @__kernel_cos(double noundef %14, double noundef %15) store double %16, ptr %2, align 8 br label %56 17: ; preds = %1 %18 = load i32, ptr %7, align 4 %19 = icmp sge i32 %18, 2146435072 br i1 %19, label %20, label %24 20: ; preds = %17 %21 = load double, ptr %3, align 8 %22 = load double, ptr %3, align 8 %23 = fsub double %21, %22 store double %23, ptr %2, align 8 br label %56 24: ; preds = %17 %25 = load double, ptr %3, align 8 %26 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 0 %27 = call i32 @__ieee754_rem_pio2(double noundef %25, ptr noundef %26) store i32 %27, ptr %6, align 4 %28 = load i32, ptr %6, align 4 %29 = and i32 %28, 3 switch i32 %29, label %50 [ i32 0, label %30 i32 1, label %36 i32 2, label %43 ] 30: ; preds = %24 %31 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 0 %32 = load double, ptr %31, align 16 %33 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 1 %34 = load double, ptr %33, align 8 %35 = call double @__kernel_cos(double noundef %32, double noundef %34) store double %35, ptr %2, align 8 br label %56 36: ; preds = %24 %37 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 0 %38 = load double, ptr %37, align 16 %39 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 1 %40 = load double, ptr %39, align 8 %41 = call double @__kernel_sin(double noundef %38, double noundef %40, i32 noundef 1) %42 = fneg double %41 store double %42, ptr %2, align 8 br label %56 43: ; preds = %24 %44 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 0 %45 = load double, ptr %44, align 16 %46 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 1 %47 = load double, ptr %46, align 8 %48 = call double @__kernel_cos(double noundef %45, double noundef %47) %49 = fneg double %48 store double %49, ptr %2, align 8 br label %56 50: ; preds = %24 %51 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 0 %52 = load double, ptr %51, align 16 %53 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 1 %54 = load double, ptr %53, align 8 %55 = call double @__kernel_sin(double noundef %52, double noundef %54, i32 noundef 1) store double %55, ptr %2, align 8 br label %56 56: ; preds = %50, %43, %36, %30, %20, %13 %57 = load double, ptr %2, align 8 ret double %57 } declare double @__kernel_cos(double noundef, double noundef) #1 declare i32 @__ieee754_rem_pio2(double noundef, ptr noundef) #1 declare double @__kernel_sin(double noundef, double noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0xprvc2q.c' source_filename = "/tmp/tmp0xprvc2q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [38 x i8] c"Introdueix el text acabat en PUNT: \0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"\0A\0AText introdu\C3\AFt: \0A\0A%s \0A\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"\0AN\C2\BA paraules: %d\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\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 [200 x i8], align 16 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %7, align 4 store i32 1, ptr %9, align 4 store i32 0, ptr %10, align 4 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %12 12: ; preds = %38, %2 %13 = load i32, ptr %7, align 4 %14 = icmp slt i32 %13, 199 br i1 %14, label %15, label %18 15: ; preds = %12 %16 = call i32 (...) @mygetchar() store i32 %16, ptr %8, align 4 %17 = icmp ne i32 %16, 46 br label %18 18: ; preds = %15, %12 %19 = phi i1 [ false, %12 ], [ %17, %15 ] br i1 %19, label %20, label %46 20: ; preds = %18 %21 = load i32, ptr %9, align 4 %22 = icmp ne i32 %21, 0 br i1 %22, label %23, label %30 23: ; preds = %20 %24 = load i32, ptr %8, align 4 %25 = icmp ne i32 %24, 32 br i1 %25, label %26, label %29 26: ; preds = %23 %27 = load i32, ptr %10, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %10, align 4 store i32 0, ptr %9, align 4 br label %29 29: ; preds = %26, %23 br label %38 30: ; preds = %20 %31 = load i32, ptr %8, align 4 %32 = icmp eq i32 %31, 32 br i1 %32, label %36, label %33 33: ; preds = %30 %34 = load i32, ptr %8, align 4 %35 = icmp eq i32 %34, 10 br i1 %35, label %36, label %37 36: ; preds = %33, %30 store i32 1, ptr %9, align 4 br label %37 37: ; preds = %36, %33 br label %38 38: ; preds = %37, %29 %39 = load i32, ptr %8, align 4 %40 = trunc i32 %39 to i8 %41 = load i32, ptr %7, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds [200 x i8], ptr %6, i64 0, i64 %42 store i8 %40, ptr %43, align 1 %44 = load i32, ptr %7, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %7, align 4 br label %12, !llvm.loop !6 46: ; preds = %18 %47 = load i32, ptr %7, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds [200 x i8], ptr %6, i64 0, i64 %48 store i8 0, ptr %49, align 1 %50 = getelementptr inbounds [200 x i8], ptr %6, i64 0, i64 0 %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %50) %52 = load i32, ptr %10, align 4 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %52) %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %55 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %55 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @mygetchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp0xprvc2q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [38 x i8] c"Introdueix el text acabat en PUNT: \0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"\0A\0AText introdu\C3\AFt: \0A\0A%s \0A\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"\0AN\C2\BA paraules: %d\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\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 [200 x i8], align 16 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %7, align 4 store i32 1, ptr %9, align 4 store i32 0, ptr %10, align 4 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %12 12: ; preds = %38, %2 %13 = load i32, ptr %7, align 4 %14 = icmp slt i32 %13, 199 br i1 %14, label %15, label %18 15: ; preds = %12 %16 = call i32 (...) @mygetchar() store i32 %16, ptr %8, align 4 %17 = icmp ne i32 %16, 46 br label %18 18: ; preds = %15, %12 %19 = phi i1 [ false, %12 ], [ %17, %15 ] br i1 %19, label %20, label %46 20: ; preds = %18 %21 = load i32, ptr %9, align 4 %22 = icmp ne i32 %21, 0 br i1 %22, label %23, label %30 23: ; preds = %20 %24 = load i32, ptr %8, align 4 %25 = icmp ne i32 %24, 32 br i1 %25, label %26, label %29 26: ; preds = %23 %27 = load i32, ptr %10, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %10, align 4 store i32 0, ptr %9, align 4 br label %29 29: ; preds = %26, %23 br label %38 30: ; preds = %20 %31 = load i32, ptr %8, align 4 %32 = icmp eq i32 %31, 32 br i1 %32, label %36, label %33 33: ; preds = %30 %34 = load i32, ptr %8, align 4 %35 = icmp eq i32 %34, 10 br i1 %35, label %36, label %37 36: ; preds = %33, %30 store i32 1, ptr %9, align 4 br label %37 37: ; preds = %36, %33 br label %38 38: ; preds = %37, %29 %39 = load i32, ptr %8, align 4 %40 = trunc i32 %39 to i8 %41 = load i32, ptr %7, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds [200 x i8], ptr %6, i64 0, i64 %42 store i8 %40, ptr %43, align 1 %44 = load i32, ptr %7, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %7, align 4 br label %12, !llvm.loop !6 46: ; preds = %18 %47 = load i32, ptr %7, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds [200 x i8], ptr %6, i64 0, i64 %48 store i8 0, ptr %49, align 1 %50 = getelementptr inbounds [200 x i8], ptr %6, i64 0, i64 0 %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %50) %52 = load i32, ptr %10, align 4 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %52) %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %55 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %55 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @mygetchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp8_iw8fth.c' source_filename = "/tmp/tmp8_iw8fth.c" target datalayout = "e-m:e-p270: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/tmp8_iw8fth.c" target datalayout = "e-m:e-p270: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/tmpjejec9pq.c' source_filename = "/tmp/tmpjejec9pq.c" target datalayout = "e-m:e-p270: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/tmpjejec9pq.c" target datalayout = "e-m:e-p270: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/tmpi8o0ial9.c' source_filename = "/tmp/tmpi8o0ial9.c" target datalayout = "e-m:e-p270: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/tmpi8o0ial9.c" target datalayout = "e-m:e-p270: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/tmpw0s4j0xd.c' source_filename = "/tmp/tmpw0s4j0xd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32, i32 } %struct.TYPE_2__ = type { i32 } %struct.spi_ioc_transfer = type { i64, i64, i32, i32, i32, i32 } @.str = private unnamed_addr constant [21 x i8] c"%s [tcp port number]\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"/dev/spidev0.0\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [17 x i8] c"open() SPI error\00", align 1 @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [15 x i8] c"socket() error\00", align 1 @SOL_SOCKET = dso_local global i32 0, align 4 @SO_REUSEADDR = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [11 x i8] c"setsockopt\00", align 1 @INADDR_ANY = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [13 x i8] c"bind() error\00", align 1 @.str.6 = private unnamed_addr constant [25 x i8] c"Waiting for connection.\0A\00", align 1 @.str.7 = private unnamed_addr constant [15 x i8] c"listen() error\00", align 1 @.str.8 = private unnamed_addr constant [17 x i8] c"Acception error.\00", align 1 @.str.9 = private unnamed_addr constant [22 x i8] c"Connection accepted.\0A\00", align 1 @MSG_DONTWAIT = dso_local global i32 0, align 4 @.str.10 = private unnamed_addr constant [22 x i8] c"Client disconnected.\0A\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.11 = private unnamed_addr constant [16 x i8] c"accept() error.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca %struct.sockaddr_in, align 4 %11 = alloca i32, align 4 %12 = alloca %struct.sockaddr_in, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca %struct.spi_ioc_transfer, align 8 %17 = alloca i32, align 4 %18 = alloca [1024 x i8], align 16 %19 = alloca i32, align 4 %20 = alloca i16, align 2 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %21 = load i32, ptr %4, align 4 %22 = icmp slt i32 %21, 2 br i1 %22, label %23, label %29 23: ; preds = %2 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 0 %26 = load ptr, ptr %25, align 8 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %26) %28 = call i32 @exit(i32 noundef 1) #4 unreachable 29: ; preds = %2 %30 = load i32, ptr @O_RDWR, align 4 %31 = call i32 @open(ptr noundef @.str.1, i32 noundef %30) store i32 %31, ptr %7, align 4 %32 = load i32, ptr %7, align 4 %33 = icmp slt i32 %32, 0 br i1 %33, label %34, label %36 34: ; preds = %29 %35 = call i32 @error(ptr noundef @.str.2) br label %36 36: ; preds = %34, %29 %37 = load i32, ptr @AF_INET, align 4 %38 = load i32, ptr @SOCK_STREAM, align 4 %39 = call i32 @socket(i32 noundef %37, i32 noundef %38, i32 noundef 0) store i32 %39, ptr %8, align 4 %40 = load i32, ptr %8, align 4 %41 = icmp eq i32 %40, 0 br i1 %41, label %42, label %44 42: ; preds = %36 %43 = call i32 @error(ptr noundef @.str.3) br label %44 44: ; preds = %42, %36 store i32 1, ptr %9, align 4 %45 = load i32, ptr %8, align 4 %46 = load i32, ptr @SOL_SOCKET, align 4 %47 = load i32, ptr @SO_REUSEADDR, align 4 %48 = call i64 @setsockopt(i32 noundef %45, i32 noundef %46, i32 noundef %47, ptr noundef %9, i32 noundef 4) %49 = icmp slt i64 %48, 0 br i1 %49, label %50, label %52 50: ; preds = %44 %51 = call i32 @perror(ptr noundef @.str.4) br label %52 52: ; preds = %50, %44 call void @llvm.memset.p0.i64(ptr align 4 %10, i8 0, i64 16, i1 false) %53 = load i32, ptr @AF_INET, align 4 %54 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 2 store i32 %53, ptr %54, align 4 %55 = load i32, ptr @INADDR_ANY, align 4 %56 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 1 %57 = getelementptr inbounds %struct.TYPE_2__, ptr %56, i32 0, i32 0 store i32 %55, ptr %57, align 4 %58 = load ptr, ptr %5, align 8 %59 = getelementptr inbounds ptr, ptr %58, i64 1 %60 = load ptr, ptr %59, align 8 %61 = call i32 @atoi(ptr noundef %60) %62 = call i32 @htons(i32 noundef %61) %63 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 0 store i32 %62, ptr %63, align 4 %64 = load i32, ptr %8, align 4 %65 = call i32 @bind(i32 noundef %64, ptr noundef %10, i32 noundef 16) store i32 %65, ptr %6, align 4 %66 = load i32, ptr %6, align 4 %67 = icmp eq i32 %66, -1 br i1 %67, label %68, label %70 68: ; preds = %52 %69 = call i32 @error(ptr noundef @.str.5) br label %70 70: ; preds = %68, %52 store i32 16, ptr %13, align 4 %71 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %72 = load i32, ptr %8, align 4 %73 = call i32 @listen(i32 noundef %72, i32 noundef 5) store i32 %73, ptr %6, align 4 %74 = load i32, ptr %6, align 4 %75 = icmp eq i32 %74, -1 br i1 %75, label %76, label %78 76: ; preds = %70 %77 = call i32 @error(ptr noundef @.str.7) br label %78 78: ; preds = %76, %70 %79 = load i32, ptr %8, align 4 %80 = call i32 @accept(i32 noundef %79, ptr noundef %12, ptr noundef %13) store i32 %80, ptr %11, align 4 %81 = load i32, ptr %11, align 4 %82 = icmp eq i32 %81, -1 br i1 %82, label %83, label %85 83: ; preds = %78 %84 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) br label %87 85: ; preds = %78 %86 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) br label %87 87: ; preds = %85, %83 call void @llvm.memset.p0.i64(ptr align 8 %16, i8 0, i64 32, i1 false) %88 = ptrtoint ptr %14 to i64 %89 = getelementptr inbounds %struct.spi_ioc_transfer, ptr %16, i32 0, i32 0 store i64 %88, ptr %89, align 8 %90 = ptrtoint ptr %15 to i64 %91 = getelementptr inbounds %struct.spi_ioc_transfer, ptr %16, i32 0, i32 1 store i64 %90, ptr %91, align 8 %92 = getelementptr inbounds %struct.spi_ioc_transfer, ptr %16, i32 0, i32 2 store i32 1, ptr %92, align 8 %93 = getelementptr inbounds %struct.spi_ioc_transfer, ptr %16, i32 0, i32 3 store i32 245000, ptr %93, align 4 %94 = getelementptr inbounds %struct.spi_ioc_transfer, ptr %16, i32 0, i32 4 store i32 8, ptr %94, align 8 store i32 0, ptr %17, align 4 store i32 0, ptr %19, align 4 br label %95 95: ; preds = %87, %202 %96 = load i32, ptr %11, align 4 %97 = load i32, ptr @MSG_DONTWAIT, align 4 %98 = call i32 @recv(i32 noundef %96, ptr noundef %14, i32 noundef 1, i32 noundef %97) store i32 %98, ptr %6, align 4 %99 = load i32, ptr %6, align 4 %100 = icmp eq i32 %99, 0 br i1 %100, label %101, label %116 101: ; preds = %95 %102 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %103 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %104 = load i32, ptr %8, align 4 %105 = call i32 @listen(i32 noundef %104, i32 noundef 5) %106 = load i32, ptr %8, align 4 %107 = call i32 @accept(i32 noundef %106, ptr noundef %12, ptr noundef %13) store i32 %107, ptr %11, align 4 %108 = load i32, ptr %11, align 4 %109 = icmp eq i32 %108, -1 br i1 %109, label %110, label %113 110: ; preds = %101 %111 = load i32, ptr @stderr, align 4 %112 = call i32 @fprintf(i32 noundef %111, ptr noundef @.str.11) br label %115 113: ; preds = %101 %114 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) br label %115 115: ; preds = %113, %110 br label %116 116: ; preds = %115, %95 %117 = load i32, ptr %6, align 4 %118 = icmp slt i32 %117, 0 br i1 %118, label %119, label %120 119: ; preds = %116 store i32 0, ptr %14, align 4 br label %120 120: ; preds = %119, %116 %121 = load i32, ptr %7, align 4 %122 = call i32 @SPI_IOC_MESSAGE(i32 noundef 1) %123 = call i32 @ioctl(i32 noundef %121, i32 noundef %122, ptr noundef %16) %124 = load i32, ptr %15, align 4 %125 = trunc i32 %124 to i8 %126 = load i32, ptr %19, align 4 %127 = add i32 %126, 1 store i32 %127, ptr %19, align 4 %128 = zext i32 %126 to i64 %129 = getelementptr inbounds [1024 x i8], ptr %18, i64 0, i64 %128 store i8 %125, ptr %129, align 1 %130 = load i32, ptr %17, align 4 switch i32 %130, label %202 [ i32 0, label %131 i32 1, label %142 i32 2, label %153 i32 3, label %154 i32 4, label %155 i32 5, label %158 i32 6, label %165 i32 7, label %177 i32 8, label %178 i32 9, label %186 ] 131: ; preds = %120 %132 = load i32, ptr %15, align 4 %133 = icmp eq i32 %132, 181 br i1 %133, label %134, label %135 134: ; preds = %131 store i32 1, ptr %17, align 4 br label %141 135: ; preds = %131 %136 = load i32, ptr %15, align 4 %137 = icmp eq i32 %136, 36 br i1 %137, label %138, label %139 138: ; preds = %135 store i32 9, ptr %17, align 4 br label %140 139: ; preds = %135 store i32 0, ptr %17, align 4 store i32 0, ptr %19, align 4 br label %140 140: ; preds = %139, %138 br label %141 141: ; preds = %140, %134 br label %202 142: ; preds = %120 %143 = load i32, ptr %15, align 4 %144 = icmp eq i32 %143, 98 br i1 %144, label %145, label %146 145: ; preds = %142 store i32 2, ptr %17, align 4 br label %152 146: ; preds = %142 %147 = load i32, ptr %15, align 4 %148 = icmp eq i32 %147, 181 br i1 %148, label %149, label %150 149: ; preds = %146 store i32 0, ptr %17, align 4 store i32 1, ptr %19, align 4 br label %151 150: ; preds = %146 store i32 0, ptr %17, align 4 store i32 0, ptr %19, align 4 br label %151 151: ; preds = %150, %149 br label %152 152: ; preds = %151, %145 br label %202 153: ; preds = %120 store i32 3, ptr %17, align 4 br label %202 154: ; preds = %120 store i32 4, ptr %17, align 4 br label %202 155: ; preds = %120 %156 = load i32, ptr %15, align 4 %157 = trunc i32 %156 to i16 store i16 %157, ptr %20, align 2 store i32 5, ptr %17, align 4 br label %202 158: ; preds = %120 %159 = load i32, ptr %15, align 4 %160 = shl i32 %159, 8 %161 = load i16, ptr %20, align 2 %162 = zext i16 %161 to i32 %163 = add nsw i32 %162, %160 %164 = trunc i32 %163 to i16 store i16 %164, ptr %20, align 2 store i32 6, ptr %17, align 4 br label %202 165: ; preds = %120 %166 = load i32, ptr %19, align 4 %167 = load i16, ptr %20, align 2 %168 = zext i16 %167 to i32 %169 = add nsw i32 %168, 6 %170 = icmp eq i32 %166, %169 br i1 %170, label %171, label %172 171: ; preds = %165 store i32 7, ptr %17, align 4 br label %172 172: ; preds = %171, %165 %173 = load i32, ptr %19, align 4 %174 = icmp uge i32 %173, 1022 br i1 %174, label %175, label %176 175: ; preds = %172 store i32 0, ptr %17, align 4 store i32 0, ptr %19, align 4 br label %176 176: ; preds = %175, %172 br label %202 177: ; preds = %120 store i32 8, ptr %17, align 4 br label %202 178: ; preds = %120 %179 = load i32, ptr %11, align 4 %180 = getelementptr inbounds [1024 x i8], ptr %18, i64 0, i64 0 %181 = load i16, ptr %20, align 2 %182 = zext i16 %181 to i32 %183 = add nsw i32 6, %182 %184 = add nsw i32 %183, 2 %185 = call i32 @send(i32 noundef %179, ptr noundef %180, i32 noundef %184, i32 noundef 0) store i32 0, ptr %17, align 4 store i32 0, ptr %19, align 4 br label %202 186: ; preds = %120 %187 = load i32, ptr %15, align 4 %188 = icmp eq i32 %187, 10 br i1 %188, label %189, label %194 189: ; preds = %186 %190 = load i32, ptr %11, align 4 %191 = getelementptr inbounds [1024 x i8], ptr %18, i64 0, i64 0 %192 = load i32, ptr %19, align 4 %193 = call i32 @send(i32 noundef %190, ptr noundef %191, i32 noundef %192, i32 noundef 0) br label %194 194: ; preds = %189, %186 %195 = load i32, ptr %15, align 4 %196 = icmp eq i32 %195, 10 br i1 %196, label %200, label %197 197: ; preds = %194 %198 = load i32, ptr %19, align 4 %199 = icmp uge i32 %198, 80 br i1 %199, label %200, label %201 200: ; preds = %197, %194 store i32 0, ptr %17, align 4 store i32 0, ptr %19, align 4 br label %201 201: ; preds = %200, %197 br label %202 202: ; preds = %120, %201, %178, %177, %176, %158, %155, %154, %153, %152, %141 br label %95 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @error(ptr noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i64 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3 declare i32 @htons(i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @listen(i32 noundef, i32 noundef) #1 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @SPI_IOC_MESSAGE(i32 noundef) #1 declare i32 @send(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" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw0s4j0xd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32, i32 } %struct.TYPE_2__ = type { i32 } %struct.spi_ioc_transfer = type { i64, i64, i32, i32, i32, i32 } @.str = private unnamed_addr constant [21 x i8] c"%s [tcp port number]\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"/dev/spidev0.0\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [17 x i8] c"open() SPI error\00", align 1 @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [15 x i8] c"socket() error\00", align 1 @SOL_SOCKET = dso_local global i32 0, align 4 @SO_REUSEADDR = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [11 x i8] c"setsockopt\00", align 1 @INADDR_ANY = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [13 x i8] c"bind() error\00", align 1 @.str.6 = private unnamed_addr constant [25 x i8] c"Waiting for connection.\0A\00", align 1 @.str.7 = private unnamed_addr constant [15 x i8] c"listen() error\00", align 1 @.str.8 = private unnamed_addr constant [17 x i8] c"Acception error.\00", align 1 @.str.9 = private unnamed_addr constant [22 x i8] c"Connection accepted.\0A\00", align 1 @MSG_DONTWAIT = dso_local global i32 0, align 4 @.str.10 = private unnamed_addr constant [22 x i8] c"Client disconnected.\0A\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.11 = private unnamed_addr constant [16 x i8] c"accept() error.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca %struct.sockaddr_in, align 4 %11 = alloca i32, align 4 %12 = alloca %struct.sockaddr_in, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca %struct.spi_ioc_transfer, align 8 %17 = alloca i32, align 4 %18 = alloca [1024 x i8], align 16 %19 = alloca i32, align 4 %20 = alloca i16, align 2 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %21 = load i32, ptr %4, align 4 %22 = icmp slt i32 %21, 2 br i1 %22, label %23, label %29 23: ; preds = %2 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 0 %26 = load ptr, ptr %25, align 8 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %26) %28 = call i32 @exit(i32 noundef 1) #4 unreachable 29: ; preds = %2 %30 = load i32, ptr @O_RDWR, align 4 %31 = call i32 @open(ptr noundef @.str.1, i32 noundef %30) store i32 %31, ptr %7, align 4 %32 = load i32, ptr %7, align 4 %33 = icmp slt i32 %32, 0 br i1 %33, label %34, label %36 34: ; preds = %29 %35 = call i32 @error(ptr noundef @.str.2) br label %36 36: ; preds = %34, %29 %37 = load i32, ptr @AF_INET, align 4 %38 = load i32, ptr @SOCK_STREAM, align 4 %39 = call i32 @socket(i32 noundef %37, i32 noundef %38, i32 noundef 0) store i32 %39, ptr %8, align 4 %40 = load i32, ptr %8, align 4 %41 = icmp eq i32 %40, 0 br i1 %41, label %42, label %44 42: ; preds = %36 %43 = call i32 @error(ptr noundef @.str.3) br label %44 44: ; preds = %42, %36 store i32 1, ptr %9, align 4 %45 = load i32, ptr %8, align 4 %46 = load i32, ptr @SOL_SOCKET, align 4 %47 = load i32, ptr @SO_REUSEADDR, align 4 %48 = call i64 @setsockopt(i32 noundef %45, i32 noundef %46, i32 noundef %47, ptr noundef %9, i32 noundef 4) %49 = icmp slt i64 %48, 0 br i1 %49, label %50, label %52 50: ; preds = %44 %51 = call i32 @perror(ptr noundef @.str.4) br label %52 52: ; preds = %50, %44 call void @llvm.memset.p0.i64(ptr align 4 %10, i8 0, i64 16, i1 false) %53 = load i32, ptr @AF_INET, align 4 %54 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 2 store i32 %53, ptr %54, align 4 %55 = load i32, ptr @INADDR_ANY, align 4 %56 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 1 %57 = getelementptr inbounds %struct.TYPE_2__, ptr %56, i32 0, i32 0 store i32 %55, ptr %57, align 4 %58 = load ptr, ptr %5, align 8 %59 = getelementptr inbounds ptr, ptr %58, i64 1 %60 = load ptr, ptr %59, align 8 %61 = call i32 @atoi(ptr noundef %60) %62 = call i32 @htons(i32 noundef %61) %63 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 0 store i32 %62, ptr %63, align 4 %64 = load i32, ptr %8, align 4 %65 = call i32 @bind(i32 noundef %64, ptr noundef %10, i32 noundef 16) store i32 %65, ptr %6, align 4 %66 = load i32, ptr %6, align 4 %67 = icmp eq i32 %66, -1 br i1 %67, label %68, label %70 68: ; preds = %52 %69 = call i32 @error(ptr noundef @.str.5) br label %70 70: ; preds = %68, %52 store i32 16, ptr %13, align 4 %71 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %72 = load i32, ptr %8, align 4 %73 = call i32 @listen(i32 noundef %72, i32 noundef 5) store i32 %73, ptr %6, align 4 %74 = load i32, ptr %6, align 4 %75 = icmp eq i32 %74, -1 br i1 %75, label %76, label %78 76: ; preds = %70 %77 = call i32 @error(ptr noundef @.str.7) br label %78 78: ; preds = %76, %70 %79 = load i32, ptr %8, align 4 %80 = call i32 @accept(i32 noundef %79, ptr noundef %12, ptr noundef %13) store i32 %80, ptr %11, align 4 %81 = load i32, ptr %11, align 4 %82 = icmp eq i32 %81, -1 br i1 %82, label %83, label %85 83: ; preds = %78 %84 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) br label %87 85: ; preds = %78 %86 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) br label %87 87: ; preds = %85, %83 call void @llvm.memset.p0.i64(ptr align 8 %16, i8 0, i64 32, i1 false) %88 = ptrtoint ptr %14 to i64 %89 = getelementptr inbounds %struct.spi_ioc_transfer, ptr %16, i32 0, i32 0 store i64 %88, ptr %89, align 8 %90 = ptrtoint ptr %15 to i64 %91 = getelementptr inbounds %struct.spi_ioc_transfer, ptr %16, i32 0, i32 1 store i64 %90, ptr %91, align 8 %92 = getelementptr inbounds %struct.spi_ioc_transfer, ptr %16, i32 0, i32 2 store i32 1, ptr %92, align 8 %93 = getelementptr inbounds %struct.spi_ioc_transfer, ptr %16, i32 0, i32 3 store i32 245000, ptr %93, align 4 %94 = getelementptr inbounds %struct.spi_ioc_transfer, ptr %16, i32 0, i32 4 store i32 8, ptr %94, align 8 store i32 0, ptr %17, align 4 store i32 0, ptr %19, align 4 br label %95 95: ; preds = %202, %87 %96 = load i32, ptr %11, align 4 %97 = load i32, ptr @MSG_DONTWAIT, align 4 %98 = call i32 @recv(i32 noundef %96, ptr noundef %14, i32 noundef 1, i32 noundef %97) store i32 %98, ptr %6, align 4 %99 = load i32, ptr %6, align 4 %100 = icmp eq i32 %99, 0 br i1 %100, label %101, label %116 101: ; preds = %95 %102 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %103 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %104 = load i32, ptr %8, align 4 %105 = call i32 @listen(i32 noundef %104, i32 noundef 5) %106 = load i32, ptr %8, align 4 %107 = call i32 @accept(i32 noundef %106, ptr noundef %12, ptr noundef %13) store i32 %107, ptr %11, align 4 %108 = load i32, ptr %11, align 4 %109 = icmp eq i32 %108, -1 br i1 %109, label %110, label %113 110: ; preds = %101 %111 = load i32, ptr @stderr, align 4 %112 = call i32 @fprintf(i32 noundef %111, ptr noundef @.str.11) br label %115 113: ; preds = %101 %114 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) br label %115 115: ; preds = %113, %110 br label %116 116: ; preds = %115, %95 %117 = load i32, ptr %6, align 4 %118 = icmp slt i32 %117, 0 br i1 %118, label %119, label %120 119: ; preds = %116 store i32 0, ptr %14, align 4 br label %120 120: ; preds = %119, %116 %121 = load i32, ptr %7, align 4 %122 = call i32 @SPI_IOC_MESSAGE(i32 noundef 1) %123 = call i32 @ioctl(i32 noundef %121, i32 noundef %122, ptr noundef %16) %124 = load i32, ptr %15, align 4 %125 = trunc i32 %124 to i8 %126 = load i32, ptr %19, align 4 %127 = add i32 %126, 1 store i32 %127, ptr %19, align 4 %128 = zext i32 %126 to i64 %129 = getelementptr inbounds [1024 x i8], ptr %18, i64 0, i64 %128 store i8 %125, ptr %129, align 1 %130 = load i32, ptr %17, align 4 switch i32 %130, label %202 [ i32 0, label %131 i32 1, label %142 i32 2, label %153 i32 3, label %154 i32 4, label %155 i32 5, label %158 i32 6, label %165 i32 7, label %177 i32 8, label %178 i32 9, label %186 ] 131: ; preds = %120 %132 = load i32, ptr %15, align 4 %133 = icmp eq i32 %132, 181 br i1 %133, label %134, label %135 134: ; preds = %131 store i32 1, ptr %17, align 4 br label %141 135: ; preds = %131 %136 = load i32, ptr %15, align 4 %137 = icmp eq i32 %136, 36 br i1 %137, label %138, label %139 138: ; preds = %135 store i32 9, ptr %17, align 4 br label %140 139: ; preds = %135 store i32 0, ptr %17, align 4 store i32 0, ptr %19, align 4 br label %140 140: ; preds = %139, %138 br label %141 141: ; preds = %140, %134 br label %202 142: ; preds = %120 %143 = load i32, ptr %15, align 4 %144 = icmp eq i32 %143, 98 br i1 %144, label %145, label %146 145: ; preds = %142 store i32 2, ptr %17, align 4 br label %152 146: ; preds = %142 %147 = load i32, ptr %15, align 4 %148 = icmp eq i32 %147, 181 br i1 %148, label %149, label %150 149: ; preds = %146 store i32 0, ptr %17, align 4 store i32 1, ptr %19, align 4 br label %151 150: ; preds = %146 store i32 0, ptr %17, align 4 store i32 0, ptr %19, align 4 br label %151 151: ; preds = %150, %149 br label %152 152: ; preds = %151, %145 br label %202 153: ; preds = %120 store i32 3, ptr %17, align 4 br label %202 154: ; preds = %120 store i32 4, ptr %17, align 4 br label %202 155: ; preds = %120 %156 = load i32, ptr %15, align 4 %157 = trunc i32 %156 to i16 store i16 %157, ptr %20, align 2 store i32 5, ptr %17, align 4 br label %202 158: ; preds = %120 %159 = load i32, ptr %15, align 4 %160 = shl i32 %159, 8 %161 = load i16, ptr %20, align 2 %162 = zext i16 %161 to i32 %163 = add nsw i32 %162, %160 %164 = trunc i32 %163 to i16 store i16 %164, ptr %20, align 2 store i32 6, ptr %17, align 4 br label %202 165: ; preds = %120 %166 = load i32, ptr %19, align 4 %167 = load i16, ptr %20, align 2 %168 = zext i16 %167 to i32 %169 = add nsw i32 %168, 6 %170 = icmp eq i32 %166, %169 br i1 %170, label %171, label %172 171: ; preds = %165 store i32 7, ptr %17, align 4 br label %172 172: ; preds = %171, %165 %173 = load i32, ptr %19, align 4 %174 = icmp uge i32 %173, 1022 br i1 %174, label %175, label %176 175: ; preds = %172 store i32 0, ptr %17, align 4 store i32 0, ptr %19, align 4 br label %176 176: ; preds = %175, %172 br label %202 177: ; preds = %120 store i32 8, ptr %17, align 4 br label %202 178: ; preds = %120 %179 = load i32, ptr %11, align 4 %180 = getelementptr inbounds [1024 x i8], ptr %18, i64 0, i64 0 %181 = load i16, ptr %20, align 2 %182 = zext i16 %181 to i32 %183 = add nsw i32 6, %182 %184 = add nsw i32 %183, 2 %185 = call i32 @send(i32 noundef %179, ptr noundef %180, i32 noundef %184, i32 noundef 0) store i32 0, ptr %17, align 4 store i32 0, ptr %19, align 4 br label %202 186: ; preds = %120 %187 = load i32, ptr %15, align 4 %188 = icmp eq i32 %187, 10 br i1 %188, label %189, label %194 189: ; preds = %186 %190 = load i32, ptr %11, align 4 %191 = getelementptr inbounds [1024 x i8], ptr %18, i64 0, i64 0 %192 = load i32, ptr %19, align 4 %193 = call i32 @send(i32 noundef %190, ptr noundef %191, i32 noundef %192, i32 noundef 0) br label %194 194: ; preds = %189, %186 %195 = load i32, ptr %15, align 4 %196 = icmp eq i32 %195, 10 br i1 %196, label %200, label %197 197: ; preds = %194 %198 = load i32, ptr %19, align 4 %199 = icmp uge i32 %198, 80 br i1 %199, label %200, label %201 200: ; preds = %197, %194 store i32 0, ptr %17, align 4 store i32 0, ptr %19, align 4 br label %201 201: ; preds = %200, %197 br label %202 202: ; preds = %201, %178, %177, %176, %158, %155, %154, %153, %152, %141, %120 br label %95 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @error(ptr noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i64 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3 declare i32 @htons(i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @listen(i32 noundef, i32 noundef) #1 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @SPI_IOC_MESSAGE(i32 noundef) #1 declare i32 @send(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" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyz6q66ru.c' source_filename = "/tmp/tmpyz6q66ru.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"cp /usr/share/doc/o-notice/.onotice ~/.onotice\00", align 1 @.str.1 = private unnamed_addr constant [68 x i8] c"******************* Obuntu NOTICE Board ************************\0A\00", align 1 @.str.2 = private unnamed_addr constant [59 x i8] c"wget http://www.bishnu.comli.com/osacnotice.zip -o log.txt\00", align 1 @.str.3 = private unnamed_addr constant [33 x i8] c" mv -f osacnotice.zip ~/.onotice\00", align 1 @.str.4 = private unnamed_addr constant [16 x i8] c" cat ~/.onotice\00", align 1 @.str.5 = private unnamed_addr constant [68 x i8] c"************************************ Customized by OSAC Lerners **\0A\00", align 1 @.str.6 = private unnamed_addr constant [8 x i8] c"log.txt\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @system(ptr noundef @.str) store i32 0, ptr %2, align 4 %4 = call i32 @printf(ptr noundef @.str.1) %5 = call i32 @system(ptr noundef @.str.2) 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 %10 8: ; preds = %0 %9 = call i32 @system(ptr noundef @.str.3) br label %10 10: ; preds = %8, %0 %11 = call i32 @system(ptr noundef @.str.4) %12 = call i32 @printf(ptr noundef @.str.5) %13 = call i32 @remove(ptr noundef @.str.6) ret i32 0 } declare i32 @system(ptr noundef) #1 declare i32 @printf(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyz6q66ru.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"cp /usr/share/doc/o-notice/.onotice ~/.onotice\00", align 1 @.str.1 = private unnamed_addr constant [68 x i8] c"******************* Obuntu NOTICE Board ************************\0A\00", align 1 @.str.2 = private unnamed_addr constant [59 x i8] c"wget http://www.bishnu.comli.com/osacnotice.zip -o log.txt\00", align 1 @.str.3 = private unnamed_addr constant [33 x i8] c" mv -f osacnotice.zip ~/.onotice\00", align 1 @.str.4 = private unnamed_addr constant [16 x i8] c" cat ~/.onotice\00", align 1 @.str.5 = private unnamed_addr constant [68 x i8] c"************************************ Customized by OSAC Lerners **\0A\00", align 1 @.str.6 = private unnamed_addr constant [8 x i8] c"log.txt\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @system(ptr noundef @.str) store i32 0, ptr %2, align 4 %4 = call i32 @printf(ptr noundef @.str.1) %5 = call i32 @system(ptr noundef @.str.2) 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 %10 8: ; preds = %0 %9 = call i32 @system(ptr noundef @.str.3) br label %10 10: ; preds = %8, %0 %11 = call i32 @system(ptr noundef @.str.4) %12 = call i32 @printf(ptr noundef @.str.5) %13 = call i32 @remove(ptr noundef @.str.6) ret i32 0 } declare i32 @system(ptr noundef) #1 declare i32 @printf(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"}
; ModuleID = '/tmp/tmps0u9y0g_.c' source_filename = "/tmp/tmps0u9y0g_.c" target datalayout = "e-m:e-p270: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.group = type { i32 } %struct.passwd = type { i32, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @drop_privileges(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = call i32 (...) @geteuid() %9 = icmp ne i32 %8, 0 br i1 %9, label %58, label %10 10: ; preds = %2 %11 = load ptr, ptr %5, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %13, label %27 13: ; preds = %10 %14 = load ptr, ptr %5, align 8 %15 = call ptr @getgrnam(ptr noundef %14) store ptr %15, ptr %7, align 8 %16 = load ptr, ptr %7, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %19, label %18 18: ; preds = %13 store i32 -1, ptr %3, align 4 br label %59 19: ; preds = %13 %20 = load ptr, ptr %7, align 8 %21 = getelementptr inbounds %struct.group, ptr %20, i32 0, i32 0 %22 = load i32, ptr %21, align 4 %23 = call i64 @setgid(i32 noundef %22) %24 = icmp ne i64 %23, 0 br i1 %24, label %25, label %26 25: ; preds = %19 store i32 -1, ptr %3, align 4 br label %59 26: ; preds = %19 br label %27 27: ; preds = %26, %10 %28 = load ptr, ptr %4, align 8 %29 = call ptr @getpwnam(ptr noundef %28) store ptr %29, ptr %6, align 8 %30 = load ptr, ptr %6, align 8 %31 = icmp ne ptr %30, null br i1 %31, label %33, label %32 32: ; preds = %27 store i32 -1, ptr %3, align 4 br label %59 33: ; preds = %27 %34 = load ptr, ptr %5, align 8 %35 = icmp ne ptr %34, null br i1 %35, label %44, label %36 36: ; preds = %33 %37 = load ptr, ptr %6, align 8 %38 = getelementptr inbounds %struct.passwd, ptr %37, i32 0, i32 1 %39 = load i32, ptr %38, align 4 %40 = call i64 @setgid(i32 noundef %39) %41 = icmp ne i64 %40, 0 br i1 %41, label %42, label %43 42: ; preds = %36 store i32 -1, ptr %3, align 4 br label %59 43: ; preds = %36 br label %44 44: ; preds = %43, %33 %45 = load ptr, ptr %4, align 8 %46 = call i32 (...) @getgid() %47 = call i64 @initgroups(ptr noundef %45, i32 noundef %46) %48 = icmp ne i64 %47, 0 br i1 %48, label %49, label %50 49: ; preds = %44 store i32 -1, ptr %3, align 4 br label %59 50: ; preds = %44 %51 = load ptr, ptr %6, align 8 %52 = getelementptr inbounds %struct.passwd, ptr %51, i32 0, i32 0 %53 = load i32, ptr %52, align 4 %54 = call i64 @setuid(i32 noundef %53) %55 = icmp ne i64 %54, 0 br i1 %55, label %56, label %57 56: ; preds = %50 store i32 -1, ptr %3, align 4 br label %59 57: ; preds = %50 br label %58 58: ; preds = %57, %2 store i32 0, ptr %3, align 4 br label %59 59: ; preds = %58, %56, %49, %42, %32, %25, %18 %60 = load i32, ptr %3, align 4 ret i32 %60 } declare i32 @geteuid(...) #1 declare ptr @getgrnam(ptr noundef) #1 declare i64 @setgid(i32 noundef) #1 declare ptr @getpwnam(ptr noundef) #1 declare i64 @initgroups(ptr noundef, i32 noundef) #1 declare i32 @getgid(...) #1 declare i64 @setuid(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/tmps0u9y0g_.c" target datalayout = "e-m:e-p270: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.group = type { i32 } %struct.passwd = type { i32, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @drop_privileges(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = call i32 (...) @geteuid() %9 = icmp ne i32 %8, 0 br i1 %9, label %58, label %10 10: ; preds = %2 %11 = load ptr, ptr %5, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %13, label %27 13: ; preds = %10 %14 = load ptr, ptr %5, align 8 %15 = call ptr @getgrnam(ptr noundef %14) store ptr %15, ptr %7, align 8 %16 = load ptr, ptr %7, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %19, label %18 18: ; preds = %13 store i32 -1, ptr %3, align 4 br label %59 19: ; preds = %13 %20 = load ptr, ptr %7, align 8 %21 = getelementptr inbounds %struct.group, ptr %20, i32 0, i32 0 %22 = load i32, ptr %21, align 4 %23 = call i64 @setgid(i32 noundef %22) %24 = icmp ne i64 %23, 0 br i1 %24, label %25, label %26 25: ; preds = %19 store i32 -1, ptr %3, align 4 br label %59 26: ; preds = %19 br label %27 27: ; preds = %26, %10 %28 = load ptr, ptr %4, align 8 %29 = call ptr @getpwnam(ptr noundef %28) store ptr %29, ptr %6, align 8 %30 = load ptr, ptr %6, align 8 %31 = icmp ne ptr %30, null br i1 %31, label %33, label %32 32: ; preds = %27 store i32 -1, ptr %3, align 4 br label %59 33: ; preds = %27 %34 = load ptr, ptr %5, align 8 %35 = icmp ne ptr %34, null br i1 %35, label %44, label %36 36: ; preds = %33 %37 = load ptr, ptr %6, align 8 %38 = getelementptr inbounds %struct.passwd, ptr %37, i32 0, i32 1 %39 = load i32, ptr %38, align 4 %40 = call i64 @setgid(i32 noundef %39) %41 = icmp ne i64 %40, 0 br i1 %41, label %42, label %43 42: ; preds = %36 store i32 -1, ptr %3, align 4 br label %59 43: ; preds = %36 br label %44 44: ; preds = %43, %33 %45 = load ptr, ptr %4, align 8 %46 = call i32 (...) @getgid() %47 = call i64 @initgroups(ptr noundef %45, i32 noundef %46) %48 = icmp ne i64 %47, 0 br i1 %48, label %49, label %50 49: ; preds = %44 store i32 -1, ptr %3, align 4 br label %59 50: ; preds = %44 %51 = load ptr, ptr %6, align 8 %52 = getelementptr inbounds %struct.passwd, ptr %51, i32 0, i32 0 %53 = load i32, ptr %52, align 4 %54 = call i64 @setuid(i32 noundef %53) %55 = icmp ne i64 %54, 0 br i1 %55, label %56, label %57 56: ; preds = %50 store i32 -1, ptr %3, align 4 br label %59 57: ; preds = %50 br label %58 58: ; preds = %57, %2 store i32 0, ptr %3, align 4 br label %59 59: ; preds = %58, %56, %49, %42, %32, %25, %18 %60 = load i32, ptr %3, align 4 ret i32 %60 } declare i32 @geteuid(...) #1 declare ptr @getgrnam(ptr noundef) #1 declare i64 @setgid(i32 noundef) #1 declare ptr @getpwnam(ptr noundef) #1 declare i64 @initgroups(ptr noundef, i32 noundef) #1 declare i32 @getgid(...) #1 declare i64 @setuid(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/tmpdkdx8v9b.c' source_filename = "/tmp/tmpdkdx8v9b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_uint32_t_div(ptr noalias noundef %0, ptr noalias noundef %1, ptr noalias noundef %2, ptr noalias noundef %3, i32 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 i32, align 4 %11 = alloca i32, align 4 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 i32 %4, ptr %10, align 4 store i32 0, ptr %11, align 4 br label %12 12: ; preds = %47, %5 %13 = load i32, ptr %11, align 4 %14 = load i32, ptr %10, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %50 16: ; preds = %12 %17 = load ptr, ptr %9, align 8 %18 = load i32, ptr %11, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i32, ptr %17, i64 %19 %21 = load i32, ptr %20, align 4 %22 = icmp ne i32 %21, 1 br i1 %22, label %23, label %35 23: ; preds = %16 %24 = load ptr, ptr %7, align 8 %25 = load i32, ptr %11, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i32, ptr %24, i64 %26 %28 = load i32, ptr %27, align 4 %29 = load ptr, ptr %8, align 8 %30 = load i32, ptr %11, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i32, ptr %29, i64 %31 %33 = load i32, ptr %32, align 4 %34 = sdiv i32 %28, %33 br label %41 35: ; preds = %16 %36 = load ptr, ptr %7, align 8 %37 = load i32, ptr %11, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i32, ptr %36, i64 %38 %40 = load i32, ptr %39, align 4 br label %41 41: ; preds = %35, %23 %42 = phi i32 [ %34, %23 ], [ %40, %35 ] %43 = load ptr, ptr %6, align 8 %44 = load i32, ptr %11, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i32, ptr %43, i64 %45 store i32 %42, ptr %46, align 4 br label %47 47: ; preds = %41 %48 = load i32, ptr %11, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %11, align 4 br label %12, !llvm.loop !6 50: ; preds = %12 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdkdx8v9b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_uint32_t_div(ptr noalias noundef %0, ptr noalias noundef %1, ptr noalias noundef %2, ptr noalias noundef %3, i32 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 i32, align 4 %11 = alloca i32, align 4 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 i32 %4, ptr %10, align 4 store i32 0, ptr %11, align 4 %12 = load i32, ptr %11, align 4 %13 = load i32, ptr %10, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %.lr.ph, label %52 .lr.ph: ; preds = %5 br label %15 15: ; preds = %.lr.ph, %46 %16 = load ptr, ptr %9, align 8 %17 = load i32, ptr %11, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i32, ptr %16, i64 %18 %20 = load i32, ptr %19, align 4 %21 = icmp ne i32 %20, 1 br i1 %21, label %22, label %34 22: ; preds = %15 %23 = load ptr, ptr %7, align 8 %24 = load i32, ptr %11, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i32, ptr %23, i64 %25 %27 = load i32, ptr %26, align 4 %28 = load ptr, ptr %8, align 8 %29 = load i32, ptr %11, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i32, ptr %28, i64 %30 %32 = load i32, ptr %31, align 4 %33 = sdiv i32 %27, %32 br label %40 34: ; preds = %15 %35 = load ptr, ptr %7, align 8 %36 = load i32, ptr %11, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i32, ptr %35, i64 %37 %39 = load i32, ptr %38, align 4 br label %40 40: ; preds = %34, %22 %41 = phi i32 [ %33, %22 ], [ %39, %34 ] %42 = load ptr, ptr %6, align 8 %43 = load i32, ptr %11, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i32, ptr %42, i64 %44 store i32 %41, ptr %45, align 4 br label %46 46: ; preds = %40 %47 = load i32, ptr %11, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %11, align 4 %49 = load i32, ptr %11, align 4 %50 = load i32, ptr %10, align 4 %51 = icmp slt i32 %49, %50 br i1 %51, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %46 br label %52 52: ; preds = %._crit_edge, %5 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmph5viutvt.c' source_filename = "/tmp/tmph5viutvt.c" target datalayout = "e-m:e-p270: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/tmph5viutvt.c" target datalayout = "e-m:e-p270: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/tmp4cgk_ske.c' source_filename = "/tmp/tmp4cgk_ske.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"Enter numerical grade:\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"Input Error!\0A\00", align 1 @.str.3 = private unnamed_addr constant [17 x i8] c"grade level: %c\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i8, align 1 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %6 = load i32, ptr %2, align 4 %7 = icmp sge i32 %6, 0 br i1 %7, label %8, label %22 8: ; preds = %0 %9 = load i32, ptr %2, align 4 %10 = icmp sle i32 %9, 100 br i1 %10, label %11, label %22 11: ; preds = %8 %12 = load i32, ptr %2, align 4 %13 = sdiv i32 %12, 10 store i32 %13, ptr %2, align 4 %14 = load i32, ptr %2, align 4 switch i32 %14, label %20 [ i32 0, label %15 i32 1, label %15 i32 2, label %15 i32 3, label %15 i32 4, label %15 i32 5, label %15 i32 6, label %16 i32 7, label %17 i32 8, label %18 i32 9, label %19 i32 10, label %19 ] 15: ; preds = %11, %11, %11, %11, %11, %11 store i8 70, ptr %3, align 1 br label %21 16: ; preds = %11 store i8 68, ptr %3, align 1 br label %21 17: ; preds = %11 store i8 67, ptr %3, align 1 br label %21 18: ; preds = %11 store i8 66, ptr %3, align 1 br label %21 19: ; preds = %11, %11 store i8 65, ptr %3, align 1 br label %21 20: ; preds = %11 br label %21 21: ; preds = %20, %19, %18, %17, %16, %15 br label %24 22: ; preds = %8, %0 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 -1, ptr %1, align 4 br label %28 24: ; preds = %21 %25 = load i8, ptr %3, align 1 %26 = sext i8 %25 to i32 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %26) store i32 0, ptr %1, align 4 br label %28 28: ; preds = %24, %22 %29 = load i32, ptr %1, align 4 ret i32 %29 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4cgk_ske.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"Enter numerical grade:\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"Input Error!\0A\00", align 1 @.str.3 = private unnamed_addr constant [17 x i8] c"grade level: %c\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i8, align 1 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %6 = load i32, ptr %2, align 4 %7 = icmp sge i32 %6, 0 br i1 %7, label %8, label %22 8: ; preds = %0 %9 = load i32, ptr %2, align 4 %10 = icmp sle i32 %9, 100 br i1 %10, label %11, label %22 11: ; preds = %8 %12 = load i32, ptr %2, align 4 %13 = sdiv i32 %12, 10 store i32 %13, ptr %2, align 4 %14 = load i32, ptr %2, align 4 switch i32 %14, label %20 [ i32 0, label %15 i32 1, label %15 i32 2, label %15 i32 3, label %15 i32 4, label %15 i32 5, label %15 i32 6, label %16 i32 7, label %17 i32 8, label %18 i32 9, label %19 i32 10, label %19 ] 15: ; preds = %11, %11, %11, %11, %11, %11 store i8 70, ptr %3, align 1 br label %21 16: ; preds = %11 store i8 68, ptr %3, align 1 br label %21 17: ; preds = %11 store i8 67, ptr %3, align 1 br label %21 18: ; preds = %11 store i8 66, ptr %3, align 1 br label %21 19: ; preds = %11, %11 store i8 65, ptr %3, align 1 br label %21 20: ; preds = %11 br label %21 21: ; preds = %20, %19, %18, %17, %16, %15 br label %24 22: ; preds = %8, %0 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 -1, ptr %1, align 4 br label %28 24: ; preds = %21 %25 = load i8, ptr %3, align 1 %26 = sext i8 %25 to i32 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %26) store i32 0, ptr %1, align 4 br label %28 28: ; preds = %24, %22 %29 = load i32, ptr %1, align 4 ret i32 %29 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvqkcf_qe.c' source_filename = "/tmp/tmpvqkcf_qe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @read_uint64(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds i8, ptr %3, i64 0 %5 = load i8, ptr %4, align 1 %6 = zext i8 %5 to i32 %7 = shl i32 %6, 56 %8 = load ptr, ptr %2, align 8 %9 = getelementptr inbounds i8, ptr %8, i64 1 %10 = load i8, ptr %9, align 1 %11 = zext i8 %10 to i32 %12 = shl i32 %11, 48 %13 = or i32 %7, %12 %14 = load ptr, ptr %2, align 8 %15 = getelementptr inbounds i8, ptr %14, i64 2 %16 = load i8, ptr %15, align 1 %17 = zext i8 %16 to i32 %18 = shl i32 %17, 40 %19 = or i32 %13, %18 %20 = load ptr, ptr %2, align 8 %21 = getelementptr inbounds i8, ptr %20, i64 3 %22 = load i8, ptr %21, align 1 %23 = zext i8 %22 to i32 %24 = shl i32 %23, 32 %25 = or i32 %19, %24 %26 = load ptr, ptr %2, align 8 %27 = getelementptr inbounds i8, ptr %26, i64 4 %28 = load i8, ptr %27, align 1 %29 = zext i8 %28 to i32 %30 = shl i32 %29, 24 %31 = or i32 %25, %30 %32 = load ptr, ptr %2, align 8 %33 = getelementptr inbounds i8, ptr %32, i64 5 %34 = load i8, ptr %33, align 1 %35 = zext i8 %34 to i32 %36 = shl i32 %35, 16 %37 = or i32 %31, %36 %38 = load ptr, ptr %2, align 8 %39 = getelementptr inbounds i8, ptr %38, i64 6 %40 = load i8, ptr %39, align 1 %41 = zext i8 %40 to i32 %42 = shl i32 %41, 8 %43 = or i32 %37, %42 %44 = load ptr, ptr %2, align 8 %45 = getelementptr inbounds i8, ptr %44, i64 7 %46 = load i8, ptr %45, align 1 %47 = zext i8 %46 to i32 %48 = or i32 %43, %47 ret i32 %48 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvqkcf_qe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @read_uint64(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds i8, ptr %3, i64 0 %5 = load i8, ptr %4, align 1 %6 = zext i8 %5 to i32 %7 = shl i32 %6, 56 %8 = load ptr, ptr %2, align 8 %9 = getelementptr inbounds i8, ptr %8, i64 1 %10 = load i8, ptr %9, align 1 %11 = zext i8 %10 to i32 %12 = shl i32 %11, 48 %13 = or i32 %7, %12 %14 = load ptr, ptr %2, align 8 %15 = getelementptr inbounds i8, ptr %14, i64 2 %16 = load i8, ptr %15, align 1 %17 = zext i8 %16 to i32 %18 = shl i32 %17, 40 %19 = or i32 %13, %18 %20 = load ptr, ptr %2, align 8 %21 = getelementptr inbounds i8, ptr %20, i64 3 %22 = load i8, ptr %21, align 1 %23 = zext i8 %22 to i32 %24 = shl i32 %23, 32 %25 = or i32 %19, %24 %26 = load ptr, ptr %2, align 8 %27 = getelementptr inbounds i8, ptr %26, i64 4 %28 = load i8, ptr %27, align 1 %29 = zext i8 %28 to i32 %30 = shl i32 %29, 24 %31 = or i32 %25, %30 %32 = load ptr, ptr %2, align 8 %33 = getelementptr inbounds i8, ptr %32, i64 5 %34 = load i8, ptr %33, align 1 %35 = zext i8 %34 to i32 %36 = shl i32 %35, 16 %37 = or i32 %31, %36 %38 = load ptr, ptr %2, align 8 %39 = getelementptr inbounds i8, ptr %38, i64 6 %40 = load i8, ptr %39, align 1 %41 = zext i8 %40 to i32 %42 = shl i32 %41, 8 %43 = or i32 %37, %42 %44 = load ptr, ptr %2, align 8 %45 = getelementptr inbounds i8, ptr %44, i64 7 %46 = load i8, ptr %45, align 1 %47 = zext i8 %46 to i32 %48 = or i32 %43, %47 ret i32 %48 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9hflwyyz.c' source_filename = "/tmp/tmp9hflwyyz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca double, align 8 %8 = alloca double, align 8 store i32 0, ptr %1, align 4 store volatile i32 0, ptr %2, align 4 store volatile i32 1, ptr %3, align 4 store volatile i32 2, ptr %4, align 4 store volatile i32 3, ptr %5, align 4 store volatile i32 4, ptr %6, align 4 store volatile double 1.000000e+00, ptr %7, align 8 store volatile double 2.000000e+00, ptr %8, align 8 br label %9 9: ; preds = %0 %10 = load volatile i32, ptr %3, align 4 %11 = load volatile i32, ptr %4, align 4 %12 = add nsw i32 %10, %11 %13 = load volatile i32, ptr %5, align 4 %14 = load volatile i32, ptr %6, align 4 %15 = mul nsw i32 %13, %14 %16 = add nsw i32 %12, %15 %17 = load volatile i32, ptr %2, align 4 %18 = sub nsw i32 %16, %17 store volatile i32 %18, ptr %2, align 4 br label %19 19: ; preds = %9 %20 = load volatile i32, ptr %2, align 4 %21 = load volatile i32, ptr %3, align 4 %22 = add nsw i32 %20, %21 %23 = load volatile i32, ptr %4, align 4 %24 = load volatile i32, ptr %5, align 4 %25 = mul nsw i32 %23, %24 %26 = call i32 @func1(i32 noundef %22, i32 noundef %25) %27 = add nsw i32 10, %26 store volatile i32 %27, ptr %6, align 4 %28 = load volatile i32, ptr %2, align 4 %29 = load volatile i32, ptr %3, align 4 %30 = add nsw i32 %28, %29 %31 = load volatile i32, ptr %4, align 4 %32 = load volatile i32, ptr %5, align 4 %33 = mul nsw i32 %31, %32 %34 = call i32 @func1(i32 noundef %30, i32 noundef %33) %35 = add nsw i32 10, %34 store volatile i32 %35, ptr %6, align 4 br label %36 36: ; preds = %19 store volatile i32 0, ptr %2, align 4 store volatile i32 0, ptr %6, align 4 br label %37 37: ; preds = %44, %36 %38 = load volatile i32, ptr %2, align 4 %39 = icmp slt i32 %38, 15 br i1 %39, label %40, label %47 40: ; preds = %37 %41 = load volatile i32, ptr %2, align 4 %42 = load volatile i32, ptr %6, align 4 %43 = add nsw i32 %42, %41 store volatile i32 %43, ptr %6, align 4 br label %44 44: ; preds = %40 %45 = load volatile i32, ptr %2, align 4 %46 = add nsw i32 %45, 1 store volatile i32 %46, ptr %2, align 4 br label %37, !llvm.loop !6 47: ; preds = %37 br label %48 48: ; preds = %47 br label %49 49: ; preds = %48 store volatile i32 0, ptr %2, align 4 store volatile i32 0, ptr %6, align 4 br label %50 50: ; preds = %57, %49 %51 = load volatile i32, ptr %2, align 4 %52 = icmp slt i32 %51, 15 br i1 %52, label %53, label %60 53: ; preds = %50 %54 = load volatile i32, ptr %2, align 4 %55 = load volatile i32, ptr %6, align 4 %56 = add nsw i32 %55, %54 store volatile i32 %56, ptr %6, align 4 br label %57 57: ; preds = %53 %58 = load volatile i32, ptr %2, align 4 %59 = add nsw i32 %58, 1 store volatile i32 %59, ptr %2, align 4 br label %50, !llvm.loop !8 60: ; preds = %50 br label %61 61: ; preds = %60 br label %62 62: ; preds = %61 store volatile i32 1, ptr %4, align 4 store volatile i32 0, ptr %2, align 4 br label %63 63: ; preds = %96, %62 %64 = load volatile i32, ptr %2, align 4 %65 = icmp slt i32 %64, 65535 br i1 %65, label %66, label %69 66: ; preds = %63 %67 = load volatile i32, ptr %4, align 4 %68 = icmp ne i32 %67, 0 br label %69 69: ; preds = %66, %63 %70 = phi i1 [ false, %63 ], [ %68, %66 ] br i1 %70, label %71, label %99 71: ; preds = %69 store volatile i32 0, ptr %3, align 4 br label %72 72: ; preds = %92, %71 %73 = load volatile i32, ptr %3, align 4 %74 = icmp slt i32 %73, 65535 br i1 %74, label %75, label %78 75: ; preds = %72 %76 = load volatile i32, ptr %4, align 4 %77 = icmp ne i32 %76, 0 br label %78 78: ; preds = %75, %72 %79 = phi i1 [ false, %72 ], [ %77, %75 ] br i1 %79, label %80, label %95 80: ; preds = %78 %81 = load volatile double, ptr %8, align 8 %82 = load volatile i32, ptr %2, align 4 %83 = sitofp i32 %82 to double %84 = fmul double %81, %83 %85 = load volatile i32, ptr %3, align 4 %86 = sitofp i32 %85 to double %87 = fdiv double %84, %86 store volatile double %87, ptr %7, align 8 %88 = load volatile double, ptr %7, align 8 %89 = load volatile i32, ptr %2, align 4 %90 = sitofp i32 %89 to double %91 = fmul double %88, %90 store volatile double %91, ptr %8, align 8 br label %92 92: ; preds = %80 %93 = load volatile i32, ptr %3, align 4 %94 = add nsw i32 %93, 1 store volatile i32 %94, ptr %3, align 4 br label %72, !llvm.loop !9 95: ; preds = %78 br label %96 96: ; preds = %95 %97 = load volatile i32, ptr %2, align 4 %98 = add nsw i32 %97, 1 store volatile i32 %98, ptr %2, align 4 br label %63, !llvm.loop !10 99: ; preds = %69 br label %100 100: ; preds = %99 br label %101 101: ; preds = %100 %102 = load volatile i32, ptr %3, align 4 %103 = load volatile i32, ptr %4, align 4 %104 = add nsw i32 %102, %103 %105 = load volatile i32, ptr %5, align 4 %106 = load volatile i32, ptr %6, align 4 %107 = mul nsw i32 %105, %106 %108 = add nsw i32 %104, %107 %109 = load volatile i32, ptr %2, align 4 %110 = sub nsw i32 %108, %109 store volatile i32 %110, ptr %2, align 4 br label %111 111: ; preds = %101 br label %112 112: ; preds = %111 %113 = load volatile i32, ptr %3, align 4 %114 = load volatile i32, ptr %4, align 4 %115 = add nsw i32 %113, %114 %116 = load volatile i32, ptr %5, align 4 %117 = load volatile i32, ptr %6, align 4 %118 = mul nsw i32 %116, %117 %119 = add nsw i32 %115, %118 %120 = load volatile i32, ptr %2, align 4 %121 = sub nsw i32 %119, %120 store volatile i32 %121, ptr %2, align 4 br label %122 122: ; preds = %112 br label %123 123: ; preds = %122 %124 = load volatile i32, ptr %3, align 4 %125 = load volatile i32, ptr %4, align 4 %126 = add nsw i32 %124, %125 %127 = load volatile i32, ptr %5, align 4 %128 = load volatile i32, ptr %6, align 4 %129 = mul nsw i32 %127, %128 %130 = add nsw i32 %126, %129 %131 = load volatile i32, ptr %2, align 4 %132 = sub nsw i32 %130, %131 store volatile i32 %132, ptr %2, align 4 br label %133 133: ; preds = %123 ret i32 0 } declare i32 @func1(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9hflwyyz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca double, align 8 %8 = alloca double, align 8 store i32 0, ptr %1, align 4 store volatile i32 0, ptr %2, align 4 store volatile i32 1, ptr %3, align 4 store volatile i32 2, ptr %4, align 4 store volatile i32 3, ptr %5, align 4 store volatile i32 4, ptr %6, align 4 store volatile double 1.000000e+00, ptr %7, align 8 store volatile double 2.000000e+00, ptr %8, align 8 br label %9 9: ; preds = %0 %10 = load volatile i32, ptr %3, align 4 %11 = load volatile i32, ptr %4, align 4 %12 = add nsw i32 %10, %11 %13 = load volatile i32, ptr %5, align 4 %14 = load volatile i32, ptr %6, align 4 %15 = mul nsw i32 %13, %14 %16 = add nsw i32 %12, %15 %17 = load volatile i32, ptr %2, align 4 %18 = sub nsw i32 %16, %17 store volatile i32 %18, ptr %2, align 4 br label %19 19: ; preds = %9 %20 = load volatile i32, ptr %2, align 4 %21 = load volatile i32, ptr %3, align 4 %22 = add nsw i32 %20, %21 %23 = load volatile i32, ptr %4, align 4 %24 = load volatile i32, ptr %5, align 4 %25 = mul nsw i32 %23, %24 %26 = call i32 @func1(i32 noundef %22, i32 noundef %25) %27 = add nsw i32 10, %26 store volatile i32 %27, ptr %6, align 4 %28 = load volatile i32, ptr %2, align 4 %29 = load volatile i32, ptr %3, align 4 %30 = add nsw i32 %28, %29 %31 = load volatile i32, ptr %4, align 4 %32 = load volatile i32, ptr %5, align 4 %33 = mul nsw i32 %31, %32 %34 = call i32 @func1(i32 noundef %30, i32 noundef %33) %35 = add nsw i32 10, %34 store volatile i32 %35, ptr %6, align 4 br label %36 36: ; preds = %19 store volatile i32 0, ptr %2, align 4 store volatile i32 0, ptr %6, align 4 %37 = load volatile i32, ptr %2, align 4 %38 = icmp slt i32 %37, 15 br i1 %38, label %.lr.ph, label %48 .lr.ph: ; preds = %36 br label %39 39: ; preds = %.lr.ph, %43 %40 = load volatile i32, ptr %2, align 4 %41 = load volatile i32, ptr %6, align 4 %42 = add nsw i32 %41, %40 store volatile i32 %42, ptr %6, align 4 br label %43 43: ; preds = %39 %44 = load volatile i32, ptr %2, align 4 %45 = add nsw i32 %44, 1 store volatile i32 %45, ptr %2, align 4 %46 = load volatile i32, ptr %2, align 4 %47 = icmp slt i32 %46, 15 br i1 %47, label %39, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %43 br label %48 48: ; preds = %._crit_edge, %36 br label %49 49: ; preds = %48 br label %50 50: ; preds = %49 store volatile i32 0, ptr %2, align 4 store volatile i32 0, ptr %6, align 4 %51 = load volatile i32, ptr %2, align 4 %52 = icmp slt i32 %51, 15 br i1 %52, label %.lr.ph2, label %62 .lr.ph2: ; preds = %50 br label %53 53: ; preds = %.lr.ph2, %57 %54 = load volatile i32, ptr %2, align 4 %55 = load volatile i32, ptr %6, align 4 %56 = add nsw i32 %55, %54 store volatile i32 %56, ptr %6, align 4 br label %57 57: ; preds = %53 %58 = load volatile i32, ptr %2, align 4 %59 = add nsw i32 %58, 1 store volatile i32 %59, ptr %2, align 4 %60 = load volatile i32, ptr %2, align 4 %61 = icmp slt i32 %60, 15 br i1 %61, label %53, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %57 br label %62 62: ; preds = %._crit_edge3, %50 br label %63 63: ; preds = %62 br label %64 64: ; preds = %63 store volatile i32 1, ptr %4, align 4 store volatile i32 0, ptr %2, align 4 br label %65 65: ; preds = %98, %64 %66 = load volatile i32, ptr %2, align 4 %67 = icmp slt i32 %66, 65535 br i1 %67, label %68, label %71 68: ; preds = %65 %69 = load volatile i32, ptr %4, align 4 %70 = icmp ne i32 %69, 0 br label %71 71: ; preds = %68, %65 %72 = phi i1 [ false, %65 ], [ %70, %68 ] br i1 %72, label %73, label %101 73: ; preds = %71 store volatile i32 0, ptr %3, align 4 br label %74 74: ; preds = %94, %73 %75 = load volatile i32, ptr %3, align 4 %76 = icmp slt i32 %75, 65535 br i1 %76, label %77, label %80 77: ; preds = %74 %78 = load volatile i32, ptr %4, align 4 %79 = icmp ne i32 %78, 0 br label %80 80: ; preds = %77, %74 %81 = phi i1 [ false, %74 ], [ %79, %77 ] br i1 %81, label %82, label %97 82: ; preds = %80 %83 = load volatile double, ptr %8, align 8 %84 = load volatile i32, ptr %2, align 4 %85 = sitofp i32 %84 to double %86 = fmul double %83, %85 %87 = load volatile i32, ptr %3, align 4 %88 = sitofp i32 %87 to double %89 = fdiv double %86, %88 store volatile double %89, ptr %7, align 8 %90 = load volatile double, ptr %7, align 8 %91 = load volatile i32, ptr %2, align 4 %92 = sitofp i32 %91 to double %93 = fmul double %90, %92 store volatile double %93, ptr %8, align 8 br label %94 94: ; preds = %82 %95 = load volatile i32, ptr %3, align 4 %96 = add nsw i32 %95, 1 store volatile i32 %96, ptr %3, align 4 br label %74, !llvm.loop !9 97: ; preds = %80 br label %98 98: ; preds = %97 %99 = load volatile i32, ptr %2, align 4 %100 = add nsw i32 %99, 1 store volatile i32 %100, ptr %2, align 4 br label %65, !llvm.loop !10 101: ; preds = %71 br label %102 102: ; preds = %101 br label %103 103: ; preds = %102 %104 = load volatile i32, ptr %3, align 4 %105 = load volatile i32, ptr %4, align 4 %106 = add nsw i32 %104, %105 %107 = load volatile i32, ptr %5, align 4 %108 = load volatile i32, ptr %6, align 4 %109 = mul nsw i32 %107, %108 %110 = add nsw i32 %106, %109 %111 = load volatile i32, ptr %2, align 4 %112 = sub nsw i32 %110, %111 store volatile i32 %112, ptr %2, align 4 br label %113 113: ; preds = %103 br label %114 114: ; preds = %113 %115 = load volatile i32, ptr %3, align 4 %116 = load volatile i32, ptr %4, align 4 %117 = add nsw i32 %115, %116 %118 = load volatile i32, ptr %5, align 4 %119 = load volatile i32, ptr %6, align 4 %120 = mul nsw i32 %118, %119 %121 = add nsw i32 %117, %120 %122 = load volatile i32, ptr %2, align 4 %123 = sub nsw i32 %121, %122 store volatile i32 %123, ptr %2, align 4 br label %124 124: ; preds = %114 br label %125 125: ; preds = %124 %126 = load volatile i32, ptr %3, align 4 %127 = load volatile i32, ptr %4, align 4 %128 = add nsw i32 %126, %127 %129 = load volatile i32, ptr %5, align 4 %130 = load volatile i32, ptr %6, align 4 %131 = mul nsw i32 %129, %130 %132 = add nsw i32 %128, %131 %133 = load volatile i32, ptr %2, align 4 %134 = sub nsw i32 %132, %133 store volatile i32 %134, ptr %2, align 4 br label %135 135: ; preds = %125 ret i32 0 } declare i32 @func1(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmp40qu3xgk.c' source_filename = "/tmp/tmp40qu3xgk.c" target datalayout = "e-m:e-p270: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/tmp40qu3xgk.c" target datalayout = "e-m:e-p270: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/tmptfzhj_c7.c' source_filename = "/tmp/tmptfzhj_c7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [35 x i8] c"Usage: %s -f <trace file> [-d -t]\0A\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"\09-d : turn on debugging output\0A\00", align 1 @.str.2 = private unnamed_addr constant [30 x i8] c"\09-t : touch allocated memory\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds ptr, ptr %3, i64 0 %5 = load ptr, ptr %4, align 8 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %5) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %9 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptfzhj_c7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [35 x i8] c"Usage: %s -f <trace file> [-d -t]\0A\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"\09-d : turn on debugging output\0A\00", align 1 @.str.2 = private unnamed_addr constant [30 x i8] c"\09-t : touch allocated memory\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds ptr, ptr %3, i64 0 %5 = load ptr, ptr %4, align 8 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %5) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %9 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmay8d8pn.c' source_filename = "/tmp/tmpmay8d8pn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"and __\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @junk_junk__() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmay8d8pn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"and __\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @junk_junk__() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_uuo51sb.c' source_filename = "/tmp/tmp_uuo51sb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define hidden float @__math_check_oflowf(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = call i64 @isinf(float noundef %3) %5 = icmp ne i64 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %1 %7 = load float, ptr %2, align 4 br label %10 8: ; preds = %1 %9 = load float, ptr %2, align 4 br label %10 10: ; preds = %8, %6 %11 = phi float [ %7, %6 ], [ %9, %8 ] ret float %11 } declare i64 @isinf(float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_uuo51sb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define hidden float @__math_check_oflowf(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = call i64 @isinf(float noundef %3) %5 = icmp ne i64 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %1 %7 = load float, ptr %2, align 4 br label %10 8: ; preds = %1 %9 = load float, ptr %2, align 4 br label %10 10: ; preds = %8, %6 %11 = phi float [ %7, %6 ], [ %9, %8 ] ret float %11 } declare i64 @isinf(float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptyvdkp2j.c' source_filename = "/tmp/tmptyvdkp2j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"Insira o valor do raio: \0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [30 x i8] c"O volume da esfera eh %.2f: \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca float, align 4 %7 = alloca float, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) %9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6) %10 = load float, ptr %6, align 4 %11 = call float @volume(float noundef %10) store float %11, ptr %7, align 4 %12 = load float, ptr %7, align 4 %13 = fpext float %12 to double %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %13) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare float @volume(float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptyvdkp2j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [26 x i8] c"Insira o valor do raio: \0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [30 x i8] c"O volume da esfera eh %.2f: \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca float, align 4 %7 = alloca float, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) %9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6) %10 = load float, ptr %6, align 4 %11 = call float @volume(float noundef %10) store float %11, ptr %7, align 4 %12 = load float, ptr %7, align 4 %13 = fpext float %12 to double %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %13) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare float @volume(float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpq7dm6h43.c' source_filename = "/tmp/tmpq7dm6h43.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f2(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca [10 x i8], align 1 store i32 %0, ptr %2, align 4 %4 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %5 = load i32, ptr %2, align 4 %6 = call i32 @memset(ptr noundef %4, i32 noundef 0, i32 noundef %5) ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq7dm6h43.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f2(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca [10 x i8], align 1 store i32 %0, ptr %2, align 4 %4 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %5 = load i32, ptr %2, align 4 %6 = call i32 @memset(ptr noundef %4, i32 noundef 0, i32 noundef %5) ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp26ktu1vx.c' source_filename = "/tmp/tmp26ktu1vx.c" target datalayout = "e-m:e-p270: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/tmp26ktu1vx.c" target datalayout = "e-m:e-p270: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/tmp6j5gmmea.c' source_filename = "/tmp/tmp6j5gmmea.c" target datalayout = "e-m:e-p270: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/tmp6j5gmmea.c" target datalayout = "e-m:e-p270: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/tmpirp6i2od.c' source_filename = "/tmp/tmpirp6i2od.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INT_MAX = dso_local constant i64 0, align 8 @INT_MIN = dso_local constant i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpirp6i2od.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INT_MAX = dso_local constant i64 0, align 8 @INT_MIN = dso_local constant i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppcczzn70.c' source_filename = "/tmp/tmppcczzn70.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"TestTest\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"Test\00", align 1 @.str.2 = private unnamed_addr constant [164 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/string/strrstr.c\00", align 1 @.str.3 = private unnamed_addr constant [44 x i8] c"String should be found at second occurrence\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @strrstr_repeated() #0 { %1 = alloca ptr, align 8 store ptr @.str, ptr %1, align 8 %2 = load ptr, ptr %1, align 8 %3 = call ptr @strrstr(ptr noundef %2, ptr noundef @.str.1) %4 = load ptr, ptr %1, align 8 %5 = getelementptr inbounds i8, ptr %4, i64 4 %6 = icmp eq ptr %3, %5 %7 = zext i1 %6 to i32 %8 = call i32 @Assert_real(i32 noundef %7, ptr noundef @.str.2, i32 noundef 35, ptr noundef @.str.3) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare ptr @strrstr(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/tmppcczzn70.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"TestTest\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"Test\00", align 1 @.str.2 = private unnamed_addr constant [164 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/string/strrstr.c\00", align 1 @.str.3 = private unnamed_addr constant [44 x i8] c"String should be found at second occurrence\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @strrstr_repeated() #0 { %1 = alloca ptr, align 8 store ptr @.str, ptr %1, align 8 %2 = load ptr, ptr %1, align 8 %3 = call ptr @strrstr(ptr noundef %2, ptr noundef @.str.1) %4 = load ptr, ptr %1, align 8 %5 = getelementptr inbounds i8, ptr %4, i64 4 %6 = icmp eq ptr %3, %5 %7 = zext i1 %6 to i32 %8 = call i32 @Assert_real(i32 noundef %7, ptr noundef @.str.2, i32 noundef 35, ptr noundef @.str.3) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare ptr @strrstr(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/tmpw230tpjo.c' source_filename = "/tmp/tmpw230tpjo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ns_put32(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 i32, ptr %3, align 4 %6 = load ptr, ptr %4, align 8 %7 = call i32 @NS_PUT32(i32 noundef %5, ptr noundef %6) ret void } declare i32 @NS_PUT32(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/tmpw230tpjo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ns_put32(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 i32, ptr %3, align 4 %6 = load ptr, ptr %4, align 8 %7 = call i32 @NS_PUT32(i32 noundef %5, ptr noundef %6) ret void } declare i32 @NS_PUT32(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/tmp9i9kweo7.c' source_filename = "/tmp/tmp9i9kweo7.c" target datalayout = "e-m:e-p270: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/tmp9i9kweo7.c" target datalayout = "e-m:e-p270: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/tmp536d_j_x.c' source_filename = "/tmp/tmp536d_j_x.c" target datalayout = "e-m:e-p270: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/tmp536d_j_x.c" target datalayout = "e-m:e-p270: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/tmpjd85v84l.c' source_filename = "/tmp/tmpjd85v84l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @my_sqrtf(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = fpext float %3 to double %5 = call i64 @sqrt(double noundef %4) %6 = sitofp i64 %5 to float ret float %6 } declare i64 @sqrt(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/tmpjd85v84l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @my_sqrtf(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = fpext float %3 to double %5 = call i64 @sqrt(double noundef %4) %6 = sitofp i64 %5 to float ret float %6 } declare i64 @sqrt(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/tmpj9mr3tto.c' source_filename = "/tmp/tmpj9mr3tto.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @RES() #0 { %1 = call i32 @BitTest_instr(i32 noundef 128) ret void } declare i32 @BitTest_instr(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/tmpj9mr3tto.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @RES() #0 { %1 = call i32 @BitTest_instr(i32 noundef 128) ret void } declare i32 @BitTest_instr(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/tmp3gi38rrx.c' source_filename = "/tmp/tmp3gi38rrx.c" target datalayout = "e-m:e-p270: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 [38 x i8] c"usage: %s bucket-size\0A[add | rm] str\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3gi38rrx.c" target datalayout = "e-m:e-p270: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 [38 x i8] c"usage: %s bucket-size\0A[add | rm] str\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmps66s1jyr.c' source_filename = "/tmp/tmps66s1jyr.c" target datalayout = "e-m:e-p270: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/tmps66s1jyr.c" target datalayout = "e-m:e-p270: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/tmpixmlt2zd.c' source_filename = "/tmp/tmpixmlt2zd.c" target datalayout = "e-m:e-p270: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/tmpixmlt2zd.c" target datalayout = "e-m:e-p270: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/tmprd4wwbvy.c' source_filename = "/tmp/tmprd4wwbvy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @supcon_lenx(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 @supcon_lenp(i32 noundef %3) ret i32 %4 } declare i32 @supcon_lenp(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/tmprd4wwbvy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @supcon_lenx(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 @supcon_lenp(i32 noundef %3) ret i32 %4 } declare i32 @supcon_lenp(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/tmpxegazy20.c' source_filename = "/tmp/tmpxegazy20.c" target datalayout = "e-m:e-p270: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/tmpxegazy20.c" target datalayout = "e-m:e-p270: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/tmpzkev3pj6.c' source_filename = "/tmp/tmpzkev3pj6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ZN_GPUshutdown() #0 { %1 = call i64 (...) @GPUshutdown() ret i64 %1 } declare i64 @GPUshutdown(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzkev3pj6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ZN_GPUshutdown() #0 { %1 = call i64 (...) @GPUshutdown() ret i64 %1 } declare i64 @GPUshutdown(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpc7rno6nb.c' source_filename = "/tmp/tmpc7rno6nb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SET_is_dex(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i32 @strlen(ptr noundef %5) store i32 %6, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp sgt i32 %7, 4 br i1 %8, label %9, label %46 9: ; preds = %1 %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %4, align 4 %12 = sub nsw i32 %11, 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i8, ptr %10, i64 %13 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp eq i32 %16, 46 br i1 %17, label %18, label %46 18: ; preds = %9 %19 = load ptr, ptr %3, align 8 %20 = load i32, ptr %4, align 4 %21 = sub nsw i32 %20, 3 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %19, i64 %22 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp eq i32 %25, 100 br i1 %26, label %27, label %46 27: ; preds = %18 %28 = load ptr, ptr %3, align 8 %29 = load i32, ptr %4, align 4 %30 = sub nsw i32 %29, 2 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %28, i64 %31 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp eq i32 %34, 101 br i1 %35, label %36, label %46 36: ; preds = %27 %37 = load ptr, ptr %3, align 8 %38 = load i32, ptr %4, align 4 %39 = sub nsw i32 %38, 1 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i8, ptr %37, i64 %40 %42 = load i8, ptr %41, align 1 %43 = sext i8 %42 to i32 %44 = icmp eq i32 %43, 120 br i1 %44, label %45, label %46 45: ; preds = %36 store i32 1, ptr %2, align 4 br label %47 46: ; preds = %36, %27, %18, %9, %1 store i32 0, ptr %2, align 4 br label %47 47: ; preds = %46, %45 %48 = load i32, ptr %2, align 4 ret i32 %48 } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpc7rno6nb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SET_is_dex(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i32 @strlen(ptr noundef %5) store i32 %6, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp sgt i32 %7, 4 br i1 %8, label %9, label %46 9: ; preds = %1 %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %4, align 4 %12 = sub nsw i32 %11, 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i8, ptr %10, i64 %13 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp eq i32 %16, 46 br i1 %17, label %18, label %46 18: ; preds = %9 %19 = load ptr, ptr %3, align 8 %20 = load i32, ptr %4, align 4 %21 = sub nsw i32 %20, 3 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %19, i64 %22 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp eq i32 %25, 100 br i1 %26, label %27, label %46 27: ; preds = %18 %28 = load ptr, ptr %3, align 8 %29 = load i32, ptr %4, align 4 %30 = sub nsw i32 %29, 2 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %28, i64 %31 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp eq i32 %34, 101 br i1 %35, label %36, label %46 36: ; preds = %27 %37 = load ptr, ptr %3, align 8 %38 = load i32, ptr %4, align 4 %39 = sub nsw i32 %38, 1 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i8, ptr %37, i64 %40 %42 = load i8, ptr %41, align 1 %43 = sext i8 %42 to i32 %44 = icmp eq i32 %43, 120 br i1 %44, label %45, label %46 45: ; preds = %36 store i32 1, ptr %2, align 4 br label %47 46: ; preds = %36, %27, %18, %9, %1 store i32 0, ptr %2, align 4 br label %47 47: ; preds = %46, %45 %48 = load i32, ptr %2, align 4 ret i32 %48 } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbsktmqdj.c' source_filename = "/tmp/tmpbsktmqdj.c" target datalayout = "e-m:e-p270: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/tmpbsktmqdj.c" target datalayout = "e-m:e-p270: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/tmpaixoi8kx.c' source_filename = "/tmp/tmpaixoi8kx.c" target datalayout = "e-m:e-p270: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.InitPWM.PWM_pin_addr1 = private unnamed_addr constant [50 x i8] c"/sys/devices/ocp.3\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16 @.str = private unnamed_addr constant [17 x i8] c"/P9_29_pinmux.44\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"/P9_31_pinmux.46\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"/P9_14_pinmux.33\00", align 1 @.str.3 = private unnamed_addr constant [17 x i8] c"/P9_16_pinmux.35\00", align 1 @.str.4 = private unnamed_addr constant [17 x i8] c"/P8_45_pinmux.28\00", align 1 @.str.5 = private unnamed_addr constant [17 x i8] c"/P8_46_pinmux.29\00", align 1 @.str.6 = private unnamed_addr constant [8 x i8] c"Error!\0A\00", align 1 @.str.7 = private unnamed_addr constant [7 x i8] c"/state\00", align 1 @.str.8 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.9 = private unnamed_addr constant [27 x i8] c"Init_PWM failed to setting\00", align 1 @SEEK_SET = dso_local global i32 0, align 4 @.str.10 = private unnamed_addr constant [4 x i8] c"pwm\00", align 1 @.str.11 = private unnamed_addr constant [10 x i8] c"pwm > %s\0A\00", align 1 @.str.12 = private unnamed_addr constant [22 x i8] c"/sys/class/pwm/export\00", align 1 @.str.13 = private unnamed_addr constant [26 x i8] c"Init_PWM failed to export\00", align 1 @.str.14 = private unnamed_addr constant [3 x i8] c"%i\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @InitPWM(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [50 x i8], align 16 %6 = alloca [25 x i8], align 16 %7 = alloca [5 x i8], align 1 store i32 %0, ptr %2, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.InitPWM.PWM_pin_addr1, i64 50, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 25, i1 false) call void @llvm.memset.p0.i64(ptr align 1 %7, i8 0, i64 5, i1 false) %8 = load i32, ptr %2, align 4 switch i32 %8, label %27 [ i32 0, label %9 i32 1, label %12 i32 3, label %15 i32 4, label %18 i32 5, label %21 i32 6, label %24 ] 9: ; preds = %1 %10 = getelementptr inbounds [25 x i8], ptr %6, i64 0, i64 0 %11 = call i32 @strcpy(ptr noundef %10, ptr noundef @.str) br label %29 12: ; preds = %1 %13 = getelementptr inbounds [25 x i8], ptr %6, i64 0, i64 0 %14 = call i32 @strcpy(ptr noundef %13, ptr noundef @.str.1) br label %29 15: ; preds = %1 %16 = getelementptr inbounds [25 x i8], ptr %6, i64 0, i64 0 %17 = call i32 @strcpy(ptr noundef %16, ptr noundef @.str.2) br label %29 18: ; preds = %1 %19 = getelementptr inbounds [25 x i8], ptr %6, i64 0, i64 0 %20 = call i32 @strcpy(ptr noundef %19, ptr noundef @.str.3) br label %29 21: ; preds = %1 %22 = getelementptr inbounds [25 x i8], ptr %6, i64 0, i64 0 %23 = call i32 @strcpy(ptr noundef %22, ptr noundef @.str.4) br label %29 24: ; preds = %1 %25 = getelementptr inbounds [25 x i8], ptr %6, i64 0, i64 0 %26 = call i32 @strcpy(ptr noundef %25, ptr noundef @.str.5) br label %29 27: ; preds = %1 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %29 29: ; preds = %27, %24, %21, %18, %15, %12, %9 %30 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 0 %31 = getelementptr inbounds [25 x i8], ptr %6, i64 0, i64 0 %32 = call ptr @strcat(ptr noundef %31, ptr noundef @.str.7) %33 = call ptr @strcat(ptr noundef %30, ptr noundef %32) %34 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 0 %35 = call ptr @fopen(ptr noundef %34, ptr noundef @.str.8) store ptr %35, ptr %3, align 8 %36 = load ptr, ptr %3, align 8 %37 = icmp eq ptr %36, null br i1 %37, label %38, label %40 38: ; preds = %29 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) br label %40 40: ; preds = %38, %29 %41 = load ptr, ptr %3, align 8 %42 = load i32, ptr @SEEK_SET, align 4 %43 = call i32 @fseek(ptr noundef %41, i32 noundef 0, i32 noundef %42) %44 = load ptr, ptr %3, align 8 %45 = call i32 @fprintf(ptr noundef %44, ptr noundef @.str.10) %46 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 0 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, ptr noundef %46) %48 = load ptr, ptr %3, align 8 %49 = call i32 @fflush(ptr noundef %48) %50 = load ptr, ptr %3, align 8 %51 = call i32 @fclose(ptr noundef %50) %52 = call ptr @fopen(ptr noundef @.str.12, ptr noundef @.str.8) store ptr %52, ptr %4, align 8 %53 = load ptr, ptr %4, align 8 %54 = icmp eq ptr %53, null br i1 %54, label %55, label %57 55: ; preds = %40 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) br label %57 57: ; preds = %55, %40 %58 = getelementptr inbounds [5 x i8], ptr %7, i64 0, i64 0 %59 = load i32, ptr %2, align 4 %60 = call i32 @sprintf(ptr noundef %58, ptr noundef @.str.14, i32 noundef %59) %61 = load ptr, ptr %4, align 8 %62 = getelementptr inbounds [5 x i8], ptr %7, i64 0, i64 0 %63 = call i32 @fprintf(ptr noundef %61, ptr noundef %62) %64 = load ptr, ptr %4, align 8 %65 = call i32 @fflush(ptr noundef %64) %66 = load ptr, ptr %4, align 8 %67 = call i32 @fclose(ptr noundef %66) ret i32 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) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i32 @strcpy(ptr noundef, ptr noundef) #3 declare i32 @printf(ptr noundef, ...) #3 declare ptr @strcat(ptr noundef, ptr noundef) #3 declare ptr @fopen(ptr noundef, ptr noundef) #3 declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #3 declare i32 @fprintf(ptr noundef, ptr noundef) #3 declare i32 @fflush(ptr noundef) #3 declare i32 @fclose(ptr noundef) #3 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpaixoi8kx.c" target datalayout = "e-m:e-p270: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.InitPWM.PWM_pin_addr1 = private unnamed_addr constant [50 x i8] c"/sys/devices/ocp.3\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16 @.str = private unnamed_addr constant [17 x i8] c"/P9_29_pinmux.44\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"/P9_31_pinmux.46\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"/P9_14_pinmux.33\00", align 1 @.str.3 = private unnamed_addr constant [17 x i8] c"/P9_16_pinmux.35\00", align 1 @.str.4 = private unnamed_addr constant [17 x i8] c"/P8_45_pinmux.28\00", align 1 @.str.5 = private unnamed_addr constant [17 x i8] c"/P8_46_pinmux.29\00", align 1 @.str.6 = private unnamed_addr constant [8 x i8] c"Error!\0A\00", align 1 @.str.7 = private unnamed_addr constant [7 x i8] c"/state\00", align 1 @.str.8 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.9 = private unnamed_addr constant [27 x i8] c"Init_PWM failed to setting\00", align 1 @SEEK_SET = dso_local global i32 0, align 4 @.str.10 = private unnamed_addr constant [4 x i8] c"pwm\00", align 1 @.str.11 = private unnamed_addr constant [10 x i8] c"pwm > %s\0A\00", align 1 @.str.12 = private unnamed_addr constant [22 x i8] c"/sys/class/pwm/export\00", align 1 @.str.13 = private unnamed_addr constant [26 x i8] c"Init_PWM failed to export\00", align 1 @.str.14 = private unnamed_addr constant [3 x i8] c"%i\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @InitPWM(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [50 x i8], align 16 %6 = alloca [25 x i8], align 16 %7 = alloca [5 x i8], align 1 store i32 %0, ptr %2, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.InitPWM.PWM_pin_addr1, i64 50, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 25, i1 false) call void @llvm.memset.p0.i64(ptr align 1 %7, i8 0, i64 5, i1 false) %8 = load i32, ptr %2, align 4 switch i32 %8, label %27 [ i32 0, label %9 i32 1, label %12 i32 3, label %15 i32 4, label %18 i32 5, label %21 i32 6, label %24 ] 9: ; preds = %1 %10 = getelementptr inbounds [25 x i8], ptr %6, i64 0, i64 0 %11 = call i32 @strcpy(ptr noundef %10, ptr noundef @.str) br label %29 12: ; preds = %1 %13 = getelementptr inbounds [25 x i8], ptr %6, i64 0, i64 0 %14 = call i32 @strcpy(ptr noundef %13, ptr noundef @.str.1) br label %29 15: ; preds = %1 %16 = getelementptr inbounds [25 x i8], ptr %6, i64 0, i64 0 %17 = call i32 @strcpy(ptr noundef %16, ptr noundef @.str.2) br label %29 18: ; preds = %1 %19 = getelementptr inbounds [25 x i8], ptr %6, i64 0, i64 0 %20 = call i32 @strcpy(ptr noundef %19, ptr noundef @.str.3) br label %29 21: ; preds = %1 %22 = getelementptr inbounds [25 x i8], ptr %6, i64 0, i64 0 %23 = call i32 @strcpy(ptr noundef %22, ptr noundef @.str.4) br label %29 24: ; preds = %1 %25 = getelementptr inbounds [25 x i8], ptr %6, i64 0, i64 0 %26 = call i32 @strcpy(ptr noundef %25, ptr noundef @.str.5) br label %29 27: ; preds = %1 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %29 29: ; preds = %27, %24, %21, %18, %15, %12, %9 %30 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 0 %31 = getelementptr inbounds [25 x i8], ptr %6, i64 0, i64 0 %32 = call ptr @strcat(ptr noundef %31, ptr noundef @.str.7) %33 = call ptr @strcat(ptr noundef %30, ptr noundef %32) %34 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 0 %35 = call ptr @fopen(ptr noundef %34, ptr noundef @.str.8) store ptr %35, ptr %3, align 8 %36 = load ptr, ptr %3, align 8 %37 = icmp eq ptr %36, null br i1 %37, label %38, label %40 38: ; preds = %29 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) br label %40 40: ; preds = %38, %29 %41 = load ptr, ptr %3, align 8 %42 = load i32, ptr @SEEK_SET, align 4 %43 = call i32 @fseek(ptr noundef %41, i32 noundef 0, i32 noundef %42) %44 = load ptr, ptr %3, align 8 %45 = call i32 @fprintf(ptr noundef %44, ptr noundef @.str.10) %46 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 0 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, ptr noundef %46) %48 = load ptr, ptr %3, align 8 %49 = call i32 @fflush(ptr noundef %48) %50 = load ptr, ptr %3, align 8 %51 = call i32 @fclose(ptr noundef %50) %52 = call ptr @fopen(ptr noundef @.str.12, ptr noundef @.str.8) store ptr %52, ptr %4, align 8 %53 = load ptr, ptr %4, align 8 %54 = icmp eq ptr %53, null br i1 %54, label %55, label %57 55: ; preds = %40 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) br label %57 57: ; preds = %55, %40 %58 = getelementptr inbounds [5 x i8], ptr %7, i64 0, i64 0 %59 = load i32, ptr %2, align 4 %60 = call i32 @sprintf(ptr noundef %58, ptr noundef @.str.14, i32 noundef %59) %61 = load ptr, ptr %4, align 8 %62 = getelementptr inbounds [5 x i8], ptr %7, i64 0, i64 0 %63 = call i32 @fprintf(ptr noundef %61, ptr noundef %62) %64 = load ptr, ptr %4, align 8 %65 = call i32 @fflush(ptr noundef %64) %66 = load ptr, ptr %4, align 8 %67 = call i32 @fclose(ptr noundef %66) ret i32 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) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i32 @strcpy(ptr noundef, ptr noundef) #3 declare i32 @printf(ptr noundef, ...) #3 declare ptr @strcat(ptr noundef, ptr noundef) #3 declare ptr @fopen(ptr noundef, ptr noundef) #3 declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #3 declare i32 @fprintf(ptr noundef, ptr noundef) #3 declare i32 @fflush(ptr noundef) #3 declare i32 @fclose(ptr noundef) #3 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyx23nuy4.c' source_filename = "/tmp/tmpyx23nuy4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s: %s\00", align 1 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ewarning(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load i32, ptr @errno, align 4 %5 = call i32 @strerror(i32 noundef %4) %6 = call i32 @warning(ptr noundef @.str, ptr noundef %3, i32 noundef %5) ret void } declare i32 @warning(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strerror(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyx23nuy4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s: %s\00", align 1 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ewarning(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load i32, ptr @errno, align 4 %5 = call i32 @strerror(i32 noundef %4) %6 = call i32 @warning(ptr noundef @.str, ptr noundef %3, i32 noundef %5) ret void } declare i32 @warning(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strerror(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsqgvmqpg.c' source_filename = "/tmp/tmpsqgvmqpg.c" target datalayout = "e-m:e-p270: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/tmpsqgvmqpg.c" target datalayout = "e-m:e-p270: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/tmpoy313l9z.c' source_filename = "/tmp/tmpoy313l9z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"Closed %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @closelog(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = call i32 @time(ptr noundef null) store i32 %4, ptr %3, align 4 %5 = load ptr, ptr %2, align 8 %6 = icmp ne ptr %5, null br i1 %6, label %7, label %13 7: ; preds = %1 %8 = load ptr, ptr %2, align 8 %9 = call ptr @ctime(ptr noundef %3) %10 = call i32 @fprintf(ptr noundef %8, ptr noundef @.str, ptr noundef %9) %11 = load ptr, ptr %2, align 8 %12 = call i32 @fclose(ptr noundef %11) br label %13 13: ; preds = %7, %1 ret void } declare i32 @time(ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @ctime(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpoy313l9z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"Closed %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @closelog(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = call i32 @time(ptr noundef null) store i32 %4, ptr %3, align 4 %5 = load ptr, ptr %2, align 8 %6 = icmp ne ptr %5, null br i1 %6, label %7, label %13 7: ; preds = %1 %8 = load ptr, ptr %2, align 8 %9 = call ptr @ctime(ptr noundef %3) %10 = call i32 @fprintf(ptr noundef %8, ptr noundef @.str, ptr noundef %9) %11 = load ptr, ptr %2, align 8 %12 = call i32 @fclose(ptr noundef %11) br label %13 13: ; preds = %7, %1 ret void } declare i32 @time(ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @ctime(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpplh684pc.c' source_filename = "/tmp/tmpplh684pc.c" target datalayout = "e-m:e-p270: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/tmpplh684pc.c" target datalayout = "e-m:e-p270: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/tmpnbghwicy.c' source_filename = "/tmp/tmpnbghwicy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strstr(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 i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 store ptr %8, ptr %6, align 8 %9 = load ptr, ptr %5, align 8 %10 = call i64 @strlen(ptr noundef %9) store i64 %10, ptr %7, align 8 br label %11 11: ; preds = %26, %2 %12 = load ptr, ptr %6, align 8 %13 = load ptr, ptr %5, align 8 %14 = load i8, ptr %13, align 1 %15 = call ptr @strchr(ptr noundef %12, i8 noundef signext %14) store ptr %15, ptr %6, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %17, label %29 17: ; preds = %11 %18 = load ptr, ptr %6, align 8 %19 = load ptr, ptr %5, align 8 %20 = load i64, ptr %7, align 8 %21 = call i64 @strncmp(ptr noundef %18, ptr noundef %19, i64 noundef %20) %22 = icmp eq i64 %21, 0 br i1 %22, label %23, label %25 23: ; preds = %17 %24 = load ptr, ptr %6, align 8 store ptr %24, ptr %3, align 8 br label %30 25: ; preds = %17 br label %26 26: ; preds = %25 %27 = load ptr, ptr %6, align 8 %28 = getelementptr inbounds i8, ptr %27, i32 1 store ptr %28, ptr %6, align 8 br label %11, !llvm.loop !6 29: ; preds = %11 store ptr null, ptr %3, align 8 br label %30 30: ; preds = %29, %23 %31 = load ptr, ptr %3, align 8 ret ptr %31 } declare i64 @strlen(ptr noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i64 @strncmp(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnbghwicy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strstr(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 i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 store ptr %8, ptr %6, align 8 %9 = load ptr, ptr %5, align 8 %10 = call i64 @strlen(ptr noundef %9) store i64 %10, ptr %7, align 8 %11 = load ptr, ptr %6, align 8 %12 = load ptr, ptr %5, align 8 %13 = load i8, ptr %12, align 1 %14 = call ptr @strchr(ptr noundef %11, i8 noundef signext %13) store ptr %14, ptr %6, align 8 %15 = icmp ne ptr %14, null br i1 %15, label %.lr.ph, label %33 .lr.ph: ; preds = %2 br label %16 16: ; preds = %.lr.ph, %25 %17 = load ptr, ptr %6, align 8 %18 = load ptr, ptr %5, align 8 %19 = load i64, ptr %7, align 8 %20 = call i64 @strncmp(ptr noundef %17, ptr noundef %18, i64 noundef %19) %21 = icmp eq i64 %20, 0 br i1 %21, label %22, label %24 22: ; preds = %16 %23 = load ptr, ptr %6, align 8 store ptr %23, ptr %3, align 8 br label %34 24: ; preds = %16 br label %25 25: ; preds = %24 %26 = load ptr, ptr %6, align 8 %27 = getelementptr inbounds i8, ptr %26, i32 1 store ptr %27, ptr %6, align 8 %28 = load ptr, ptr %6, align 8 %29 = load ptr, ptr %5, align 8 %30 = load i8, ptr %29, align 1 %31 = call ptr @strchr(ptr noundef %28, i8 noundef signext %30) store ptr %31, ptr %6, align 8 %32 = icmp ne ptr %31, null br i1 %32, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %33 33: ; preds = %._crit_edge, %2 store ptr null, ptr %3, align 8 br label %34 34: ; preds = %33, %22 %35 = load ptr, ptr %3, align 8 ret ptr %35 } declare i64 @strlen(ptr noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i64 @strncmp(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpz1y1mf1y.c' source_filename = "/tmp/tmpz1y1mf1y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A [%c]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i8, align 1 store i32 0, ptr %1, align 4 %4 = load ptr, ptr %2, align 8 %5 = load i8, ptr %4, align 1 store i8 %5, ptr %3, align 1 %6 = load i8, ptr %3, align 1 %7 = call i32 @printf(ptr noundef @.str, i8 noundef signext %6) ret i32 0 } declare i32 @printf(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz1y1mf1y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A [%c]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i8, align 1 store i32 0, ptr %1, align 4 %4 = load ptr, ptr %2, align 8 %5 = load i8, ptr %4, align 1 store i8 %5, ptr %3, align 1 %6 = load i8, ptr %3, align 1 %7 = call i32 @printf(ptr noundef @.str, i8 noundef signext %6) ret i32 0 } declare i32 @printf(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"}
; ModuleID = '/tmp/tmp10a262nh.c' source_filename = "/tmp/tmp10a262nh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wrap_termname() #0 { %1 = call ptr (...) @termname() ret ptr %1 } declare ptr @termname(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp10a262nh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wrap_termname() #0 { %1 = call ptr (...) @termname() ret ptr %1 } declare ptr @termname(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7x85n0fn.c' source_filename = "/tmp/tmp7x85n0fn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"Enter the numbers\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%d%d\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"GCD is %d\0ALCM is %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3) %8 = load i32, ptr %2, align 4 %9 = load i32, ptr %3, align 4 %10 = call i32 @_gcd(i32 noundef %8, i32 noundef %9) store i32 %10, ptr %4, align 4 %11 = load i32, ptr %2, align 4 %12 = load i32, ptr %3, align 4 %13 = mul nsw i32 %11, %12 %14 = load i32, ptr %4, align 4 %15 = sdiv i32 %13, %14 store i32 %15, ptr %5, align 4 %16 = load i32, ptr %4, align 4 %17 = load i32, ptr %5, align 4 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %16, i32 noundef %17) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @_gcd(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7x85n0fn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"Enter the numbers\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%d%d\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"GCD is %d\0ALCM is %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3) %8 = load i32, ptr %2, align 4 %9 = load i32, ptr %3, align 4 %10 = call i32 @_gcd(i32 noundef %8, i32 noundef %9) store i32 %10, ptr %4, align 4 %11 = load i32, ptr %2, align 4 %12 = load i32, ptr %3, align 4 %13 = mul nsw i32 %11, %12 %14 = load i32, ptr %4, align 4 %15 = sdiv i32 %13, %14 store i32 %15, ptr %5, align 4 %16 = load i32, ptr %4, align 4 %17 = load i32, ptr %5, align 4 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %16, i32 noundef %17) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @_gcd(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0m5q5iu0.c' source_filename = "/tmp/tmp0m5q5iu0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%33s\09%31s\0A\00", align 1 @.str.1 = private unnamed_addr constant [34 x i8] c"Conversione Celsius in Fahrenheit\00", align 1 @.str.2 = private unnamed_addr constant [34 x i8] c"Conversione Fahrenheit in Celsius\00", align 1 @.str.3 = private unnamed_addr constant [47 x i8] c"%.2f e' pari a: %.2f \09\09\09 %.2f e' pari a: %.2f\0A\00", align 1 @.str.4 = private unnamed_addr constant [29 x i8] c"%33s\09\09 %.2f e' pari a: %.2f\0A\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c" \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 store i32 0, ptr %1, align 4 store float 0.000000e+00, ptr %2, align 4 store float 3.200000e+01, ptr %3, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2) br label %5 5: ; preds = %31, %0 br label %6 6: ; preds = %10, %5 %7 = load float, ptr %2, align 4 %8 = fadd float %7, 1.000000e+00 store float %8, ptr %2, align 4 %9 = fcmp olt float %7, 1.000000e+02 br i1 %9, label %10, label %24 10: ; preds = %6 %11 = load float, ptr %2, align 4 %12 = fpext float %11 to double %13 = load float, ptr %2, align 4 %14 = call float @fahrenheit(float noundef %13) %15 = fpext float %14 to double %16 = load float, ptr %3, align 4 %17 = fpext float %16 to double %18 = load float, ptr %3, align 4 %19 = call float @celsius(float noundef %18) %20 = fpext float %19 to double %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %12, double noundef %15, double noundef %17, double noundef %20) %22 = load float, ptr %3, align 4 %23 = fadd float %22, 1.000000e+00 store float %23, ptr %3, align 4 br label %6, !llvm.loop !6 24: ; preds = %6 %25 = load float, ptr %3, align 4 %26 = fpext float %25 to double %27 = load float, ptr %3, align 4 %28 = call float @celsius(float noundef %27) %29 = fpext float %28 to double %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef @.str.5, double noundef %26, double noundef %29) br label %31 31: ; preds = %24 %32 = load float, ptr %3, align 4 %33 = fadd float %32, 1.000000e+00 store float %33, ptr %3, align 4 %34 = fcmp olt float %32, 2.120000e+02 br i1 %34, label %5, label %35, !llvm.loop !8 35: ; preds = %31 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare float @fahrenheit(float noundef) #1 declare float @celsius(float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0m5q5iu0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%33s\09%31s\0A\00", align 1 @.str.1 = private unnamed_addr constant [34 x i8] c"Conversione Celsius in Fahrenheit\00", align 1 @.str.2 = private unnamed_addr constant [34 x i8] c"Conversione Fahrenheit in Celsius\00", align 1 @.str.3 = private unnamed_addr constant [47 x i8] c"%.2f e' pari a: %.2f \09\09\09 %.2f e' pari a: %.2f\0A\00", align 1 @.str.4 = private unnamed_addr constant [29 x i8] c"%33s\09\09 %.2f e' pari a: %.2f\0A\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c" \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 store i32 0, ptr %1, align 4 store float 0.000000e+00, ptr %2, align 4 store float 3.200000e+01, ptr %3, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2) br label %5 5: ; preds = %33, %0 %6 = load float, ptr %2, align 4 %7 = fadd float %6, 1.000000e+00 store float %7, ptr %2, align 4 %8 = fcmp olt float %6, 1.000000e+02 br i1 %8, label %.lr.ph, label %26 .lr.ph: ; preds = %5 br label %9 9: ; preds = %.lr.ph, %9 %10 = load float, ptr %2, align 4 %11 = fpext float %10 to double %12 = load float, ptr %2, align 4 %13 = call float @fahrenheit(float noundef %12) %14 = fpext float %13 to double %15 = load float, ptr %3, align 4 %16 = fpext float %15 to double %17 = load float, ptr %3, align 4 %18 = call float @celsius(float noundef %17) %19 = fpext float %18 to double %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %11, double noundef %14, double noundef %16, double noundef %19) %21 = load float, ptr %3, align 4 %22 = fadd float %21, 1.000000e+00 store float %22, ptr %3, align 4 %23 = load float, ptr %2, align 4 %24 = fadd float %23, 1.000000e+00 store float %24, ptr %2, align 4 %25 = fcmp olt float %23, 1.000000e+02 br i1 %25, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %9 br label %26 26: ; preds = %._crit_edge, %5 %27 = load float, ptr %3, align 4 %28 = fpext float %27 to double %29 = load float, ptr %3, align 4 %30 = call float @celsius(float noundef %29) %31 = fpext float %30 to double %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef @.str.5, double noundef %28, double noundef %31) br label %33 33: ; preds = %26 %34 = load float, ptr %3, align 4 %35 = fadd float %34, 1.000000e+00 store float %35, ptr %3, align 4 %36 = fcmp olt float %34, 2.120000e+02 br i1 %36, label %5, label %37, !llvm.loop !8 37: ; preds = %33 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare float @fahrenheit(float noundef) #1 declare float @celsius(float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpdp5djd94.c' source_filename = "/tmp/tmpdp5djd94.c" target datalayout = "e-m:e-p270: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/tmpdp5djd94.c" target datalayout = "e-m:e-p270: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/tmpk8v4pb94.c' source_filename = "/tmp/tmpk8v4pb94.c" target datalayout = "e-m:e-p270: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/tmpk8v4pb94.c" target datalayout = "e-m:e-p270: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/tmpho51cxms.c' source_filename = "/tmp/tmpho51cxms.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [20 x i32], align 16 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 @time(ptr noundef null) %6 = call i32 @srand(i32 noundef %5) store i32 40, ptr %2, align 4 store i32 0, ptr %4, align 4 br label %7 7: ; preds = %16, %0 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %8, 20 br i1 %9, label %10, label %19 10: ; preds = %7 %11 = call i32 (...) @rand() %12 = srem i32 %11, 40 %13 = load i32, ptr %4, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds [20 x i32], ptr %3, i64 0, i64 %14 store i32 %12, ptr %15, align 4 br label %16 16: ; preds = %10 %17 = load i32, ptr %4, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %4, align 4 br label %7, !llvm.loop !6 19: ; preds = %7 %20 = getelementptr inbounds [20 x i32], ptr %3, i64 0, i64 0 %21 = call i32 @merge_sort(ptr noundef %20, i32 noundef 20) %22 = call i32 @PrintSimpleArray(i32 noundef %21) ret i32 1 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @rand(...) #1 declare i32 @PrintSimpleArray(i32 noundef) #1 declare i32 @merge_sort(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/tmpho51cxms.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [20 x i32], align 16 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 @time(ptr noundef null) %6 = call i32 @srand(i32 noundef %5) store i32 40, ptr %2, align 4 store i32 0, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %7, 20 br i1 %8, label %.lr.ph, label %20 .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %15 %10 = call i32 (...) @rand() %11 = srem i32 %10, 40 %12 = load i32, ptr %4, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds [20 x i32], ptr %3, i64 0, i64 %13 store i32 %11, ptr %14, align 4 br label %15 15: ; preds = %9 %16 = load i32, ptr %4, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %4, align 4 %18 = load i32, ptr %4, align 4 %19 = icmp slt i32 %18, 20 br i1 %19, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %15 br label %20 20: ; preds = %._crit_edge, %0 %21 = getelementptr inbounds [20 x i32], ptr %3, i64 0, i64 0 %22 = call i32 @merge_sort(ptr noundef %21, i32 noundef 20) %23 = call i32 @PrintSimpleArray(i32 noundef %22) ret i32 1 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @rand(...) #1 declare i32 @PrintSimpleArray(i32 noundef) #1 declare i32 @merge_sort(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/tmpx3axhqhi.c' source_filename = "/tmp/tmpx3axhqhi.c" target datalayout = "e-m:e-p270: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/tmpx3axhqhi.c" target datalayout = "e-m:e-p270: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/tmpre49falb.c' source_filename = "/tmp/tmpre49falb.c" target datalayout = "e-m:e-p270: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/tmpre49falb.c" target datalayout = "e-m:e-p270: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/tmpxzzzms91.c' source_filename = "/tmp/tmpxzzzms91.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"SUM is %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @compute_sum(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %7, align 4 br label %10 10: ; preds = %36, %3 %11 = load i32, ptr %7, align 4 %12 = load i32, ptr %5, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %14, label %39 14: ; preds = %10 store i32 0, ptr %8, align 4 br label %15 15: ; preds = %32, %14 %16 = load i32, ptr %8, align 4 %17 = load i32, ptr %6, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %19, label %35 19: ; preds = %15 %20 = load ptr, ptr %4, align 8 %21 = load i32, ptr %7, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [4 x i32], ptr %20, i64 %22 %24 = load i32, ptr %8, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds [4 x i32], ptr %23, i64 0, i64 %25 %27 = load i32, ptr %26, align 4 %28 = load i32, ptr %9, align 4 %29 = add nsw i32 %28, %27 store i32 %29, ptr %9, align 4 %30 = load i32, ptr %9, align 4 %31 = call i32 @printf(ptr noundef @.str, i32 noundef %30) br label %32 32: ; preds = %19 %33 = load i32, ptr %8, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %8, align 4 br label %15, !llvm.loop !6 35: ; preds = %15 br label %36 36: ; preds = %35 %37 = load i32, ptr %7, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %7, align 4 br label %10, !llvm.loop !8 39: ; preds = %10 %40 = load i32, ptr %9, align 4 ret i32 %40 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxzzzms91.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"SUM is %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @compute_sum(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %7, align 4 %10 = load i32, ptr %7, align 4 %11 = load i32, ptr %5, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %.lr.ph2, label %43 .lr.ph2: ; preds = %3 br label %13 13: ; preds = %.lr.ph2, %37 store i32 0, ptr %8, align 4 %14 = load i32, ptr %8, align 4 %15 = load i32, ptr %6, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %.lr.ph, label %36 .lr.ph: ; preds = %13 br label %17 17: ; preds = %.lr.ph, %30 %18 = load ptr, ptr %4, align 8 %19 = load i32, ptr %7, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds [4 x i32], ptr %18, i64 %20 %22 = load i32, ptr %8, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [4 x i32], ptr %21, i64 0, i64 %23 %25 = load i32, ptr %24, align 4 %26 = load i32, ptr %9, align 4 %27 = add nsw i32 %26, %25 store i32 %27, ptr %9, align 4 %28 = load i32, ptr %9, align 4 %29 = call i32 @printf(ptr noundef @.str, i32 noundef %28) br label %30 30: ; preds = %17 %31 = load i32, ptr %8, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %8, align 4 %33 = load i32, ptr %8, align 4 %34 = load i32, ptr %6, align 4 %35 = icmp slt i32 %33, %34 br i1 %35, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %30 br label %36 36: ; preds = %._crit_edge, %13 br label %37 37: ; preds = %36 %38 = load i32, ptr %7, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %7, align 4 %40 = load i32, ptr %7, align 4 %41 = load i32, ptr %5, align 4 %42 = icmp slt i32 %40, %41 br i1 %42, label %13, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %37 br label %43 43: ; preds = %._crit_edge3, %3 %44 = load i32, ptr %9, align 4 ret i32 %44 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpf92l_x81.c' source_filename = "/tmp/tmpf92l_x81.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [30 x i8] c"#1: PID=%d; My parent PID=%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"#2: PID=%d; My parent PID=%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = load i32, ptr @stdout, align 4 %3 = call i32 (...) @getpid() %4 = call i32 (...) @getppid() %5 = call i32 @fprintf(i32 noundef %2, ptr noundef @.str, i32 noundef %3, i32 noundef %4) %6 = call i64 (...) @fork() %7 = icmp eq i64 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %0 %9 = call i32 @sleep(i32 noundef 5) br label %10 10: ; preds = %8, %0 %11 = load i32, ptr @stdout, align 4 %12 = call i32 (...) @getpid() %13 = call i32 (...) @getppid() %14 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str.1, i32 noundef %12, i32 noundef %13) ret i32 0 } declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @getpid(...) #1 declare i32 @getppid(...) #1 declare i64 @fork(...) #1 declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpf92l_x81.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [30 x i8] c"#1: PID=%d; My parent PID=%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"#2: PID=%d; My parent PID=%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = load i32, ptr @stdout, align 4 %3 = call i32 (...) @getpid() %4 = call i32 (...) @getppid() %5 = call i32 @fprintf(i32 noundef %2, ptr noundef @.str, i32 noundef %3, i32 noundef %4) %6 = call i64 (...) @fork() %7 = icmp eq i64 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %0 %9 = call i32 @sleep(i32 noundef 5) br label %10 10: ; preds = %8, %0 %11 = load i32, ptr @stdout, align 4 %12 = call i32 (...) @getpid() %13 = call i32 (...) @getppid() %14 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str.1, i32 noundef %12, i32 noundef %13) ret i32 0 } declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @getpid(...) #1 declare i32 @getppid(...) #1 declare i64 @fork(...) #1 declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4gq425sz.c' source_filename = "/tmp/tmp4gq425sz.c" target datalayout = "e-m:e-p270: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/tmp4gq425sz.c" target datalayout = "e-m:e-p270: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/tmpy09s_un0.c' source_filename = "/tmp/tmpy09s_un0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"this is a test\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [32 x i64], align 16 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr @.str, ptr %8, align 8 store ptr @.str, ptr %9, align 8 %10 = load ptr, ptr %8, align 8 %11 = getelementptr inbounds [32 x i64], ptr %6, i64 0, i64 0 %12 = load ptr, ptr %8, align 8 %13 = call i32 @strlen(ptr noundef %12) %14 = load ptr, ptr %9, align 8 %15 = load ptr, ptr %9, align 8 %16 = call i32 @strlen(ptr noundef %15) %17 = call i64 @kmp(ptr noundef %10, ptr noundef %11, i32 noundef %13, ptr noundef %14, i32 noundef %16) store i64 %17, ptr %7, align 8 %18 = load i64, ptr %7, align 8 %19 = icmp eq i64 %18, 0 %20 = zext i1 %19 to i32 %21 = call i32 @assert(i32 noundef %20) ret i32 0 } declare i64 @kmp(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy09s_un0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"this is a test\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [32 x i64], align 16 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr @.str, ptr %8, align 8 store ptr @.str, ptr %9, align 8 %10 = load ptr, ptr %8, align 8 %11 = getelementptr inbounds [32 x i64], ptr %6, i64 0, i64 0 %12 = load ptr, ptr %8, align 8 %13 = call i32 @strlen(ptr noundef %12) %14 = load ptr, ptr %9, align 8 %15 = load ptr, ptr %9, align 8 %16 = call i32 @strlen(ptr noundef %15) %17 = call i64 @kmp(ptr noundef %10, ptr noundef %11, i32 noundef %13, ptr noundef %14, i32 noundef %16) store i64 %17, ptr %7, align 8 %18 = load i64, ptr %7, align 8 %19 = icmp eq i64 %18, 0 %20 = zext i1 %19 to i32 %21 = call i32 @assert(i32 noundef %20) ret i32 0 } declare i64 @kmp(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpga5wi3kz.c' source_filename = "/tmp/tmpga5wi3kz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_un = type { ptr, ptr } @PF_UNIX = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"unsocket: socket: %s\0A\00", align 1 @AF_UNIX = dso_local global ptr null, align 8 @.str.1 = private unnamed_addr constant [23 x i8] c"unsocket: bind %s: %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"unsocket: connect %s: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @unsocket(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca %struct.sockaddr_un, align 8 %9 = alloca %struct.sockaddr_un, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %12 = call i32 @memset(ptr noundef %8, i32 noundef 0, i32 noundef 16) %13 = load i32, ptr @PF_UNIX, align 4 %14 = load i32, ptr %5, align 4 %15 = call i32 @socket(i32 noundef %13, i32 noundef %14, i32 noundef 0) store i32 %15, ptr %10, align 4 %16 = icmp eq i32 %15, -1 br i1 %16, label %17, label %23 17: ; preds = %3 %18 = load i32, ptr @errno, align 4 store i32 %18, ptr %11, align 4 %19 = load i32, ptr @stderr, align 4 %20 = load i32, ptr @errno, align 4 %21 = call ptr @strerror(i32 noundef %20) %22 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %19, ptr noundef @.str, ptr noundef %21) br label %70 23: ; preds = %3 %24 = load ptr, ptr %6, align 8 %25 = icmp ne ptr %24, null br i1 %25, label %26, label %46 26: ; preds = %23 %27 = call i32 @memset(ptr noundef %9, i32 noundef 0, i32 noundef 16) %28 = load ptr, ptr @AF_UNIX, align 8 %29 = getelementptr inbounds %struct.sockaddr_un, ptr %9, i32 0, i32 1 store ptr %28, ptr %29, align 8 %30 = getelementptr inbounds %struct.sockaddr_un, ptr %9, i32 0, i32 0 %31 = load ptr, ptr %30, align 8 %32 = load ptr, ptr %6, align 8 %33 = call i32 @strncpy(ptr noundef %31, ptr noundef %32, i32 noundef 7) %34 = load i32, ptr %10, align 4 %35 = call i32 @bind(i32 noundef %34, ptr noundef %9, i32 noundef 16) %36 = icmp eq i32 %35, -1 br i1 %36, label %37, label %45 37: ; preds = %26 %38 = load i32, ptr @errno, align 4 store i32 %38, ptr %11, align 4 %39 = load i32, ptr @stderr, align 4 %40 = getelementptr inbounds %struct.sockaddr_un, ptr %9, i32 0, i32 0 %41 = load ptr, ptr %40, align 8 %42 = load i32, ptr @errno, align 4 %43 = call ptr @strerror(i32 noundef %42) %44 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %39, ptr noundef @.str.1, ptr noundef %41, ptr noundef %43) br label %70 45: ; preds = %26 br label %46 46: ; preds = %45, %23 %47 = load ptr, ptr %7, align 8 %48 = icmp ne ptr %47, null br i1 %48, label %49, label %68 49: ; preds = %46 %50 = load ptr, ptr @AF_UNIX, align 8 %51 = getelementptr inbounds %struct.sockaddr_un, ptr %8, i32 0, i32 1 store ptr %50, ptr %51, align 8 %52 = getelementptr inbounds %struct.sockaddr_un, ptr %8, i32 0, i32 0 %53 = load ptr, ptr %52, align 8 %54 = load ptr, ptr %7, align 8 %55 = call i32 @strncpy(ptr noundef %53, ptr noundef %54, i32 noundef 7) %56 = load i32, ptr %10, align 4 %57 = call i32 @connect(i32 noundef %56, ptr noundef %8, i32 noundef 16) %58 = icmp eq i32 %57, -1 br i1 %58, label %59, label %67 59: ; preds = %49 %60 = load i32, ptr @errno, align 4 store i32 %60, ptr %11, align 4 %61 = load i32, ptr @stderr, align 4 %62 = getelementptr inbounds %struct.sockaddr_un, ptr %8, i32 0, i32 0 %63 = load ptr, ptr %62, align 8 %64 = load i32, ptr @errno, align 4 %65 = call ptr @strerror(i32 noundef %64) %66 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %61, ptr noundef @.str.2, ptr noundef %63, ptr noundef %65) br label %70 67: ; preds = %49 br label %68 68: ; preds = %67, %46 %69 = load i32, ptr %10, align 4 store i32 %69, ptr %4, align 4 br label %78 70: ; preds = %59, %37, %17 %71 = load i32, ptr %10, align 4 %72 = icmp ne i32 %71, -1 br i1 %72, label %73, label %76 73: ; preds = %70 %74 = load i32, ptr %10, align 4 %75 = call i32 @close(i32 noundef %74) br label %76 76: ; preds = %73, %70 %77 = load i32, ptr %11, align 4 store i32 %77, ptr @errno, align 4 store i32 -1, ptr %4, align 4 br label %78 78: ; preds = %76, %68 %79 = load i32, ptr %4, align 4 ret i32 %79 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) #1 declare ptr @strerror(i32 noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpga5wi3kz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_un = type { ptr, ptr } @PF_UNIX = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"unsocket: socket: %s\0A\00", align 1 @AF_UNIX = dso_local global ptr null, align 8 @.str.1 = private unnamed_addr constant [23 x i8] c"unsocket: bind %s: %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"unsocket: connect %s: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @unsocket(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca %struct.sockaddr_un, align 8 %9 = alloca %struct.sockaddr_un, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %12 = call i32 @memset(ptr noundef %8, i32 noundef 0, i32 noundef 16) %13 = load i32, ptr @PF_UNIX, align 4 %14 = load i32, ptr %5, align 4 %15 = call i32 @socket(i32 noundef %13, i32 noundef %14, i32 noundef 0) store i32 %15, ptr %10, align 4 %16 = icmp eq i32 %15, -1 br i1 %16, label %17, label %23 17: ; preds = %3 %18 = load i32, ptr @errno, align 4 store i32 %18, ptr %11, align 4 %19 = load i32, ptr @stderr, align 4 %20 = load i32, ptr @errno, align 4 %21 = call ptr @strerror(i32 noundef %20) %22 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %19, ptr noundef @.str, ptr noundef %21) br label %70 23: ; preds = %3 %24 = load ptr, ptr %6, align 8 %25 = icmp ne ptr %24, null br i1 %25, label %26, label %46 26: ; preds = %23 %27 = call i32 @memset(ptr noundef %9, i32 noundef 0, i32 noundef 16) %28 = load ptr, ptr @AF_UNIX, align 8 %29 = getelementptr inbounds %struct.sockaddr_un, ptr %9, i32 0, i32 1 store ptr %28, ptr %29, align 8 %30 = getelementptr inbounds %struct.sockaddr_un, ptr %9, i32 0, i32 0 %31 = load ptr, ptr %30, align 8 %32 = load ptr, ptr %6, align 8 %33 = call i32 @strncpy(ptr noundef %31, ptr noundef %32, i32 noundef 7) %34 = load i32, ptr %10, align 4 %35 = call i32 @bind(i32 noundef %34, ptr noundef %9, i32 noundef 16) %36 = icmp eq i32 %35, -1 br i1 %36, label %37, label %45 37: ; preds = %26 %38 = load i32, ptr @errno, align 4 store i32 %38, ptr %11, align 4 %39 = load i32, ptr @stderr, align 4 %40 = getelementptr inbounds %struct.sockaddr_un, ptr %9, i32 0, i32 0 %41 = load ptr, ptr %40, align 8 %42 = load i32, ptr @errno, align 4 %43 = call ptr @strerror(i32 noundef %42) %44 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %39, ptr noundef @.str.1, ptr noundef %41, ptr noundef %43) br label %70 45: ; preds = %26 br label %46 46: ; preds = %45, %23 %47 = load ptr, ptr %7, align 8 %48 = icmp ne ptr %47, null br i1 %48, label %49, label %68 49: ; preds = %46 %50 = load ptr, ptr @AF_UNIX, align 8 %51 = getelementptr inbounds %struct.sockaddr_un, ptr %8, i32 0, i32 1 store ptr %50, ptr %51, align 8 %52 = getelementptr inbounds %struct.sockaddr_un, ptr %8, i32 0, i32 0 %53 = load ptr, ptr %52, align 8 %54 = load ptr, ptr %7, align 8 %55 = call i32 @strncpy(ptr noundef %53, ptr noundef %54, i32 noundef 7) %56 = load i32, ptr %10, align 4 %57 = call i32 @connect(i32 noundef %56, ptr noundef %8, i32 noundef 16) %58 = icmp eq i32 %57, -1 br i1 %58, label %59, label %67 59: ; preds = %49 %60 = load i32, ptr @errno, align 4 store i32 %60, ptr %11, align 4 %61 = load i32, ptr @stderr, align 4 %62 = getelementptr inbounds %struct.sockaddr_un, ptr %8, i32 0, i32 0 %63 = load ptr, ptr %62, align 8 %64 = load i32, ptr @errno, align 4 %65 = call ptr @strerror(i32 noundef %64) %66 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %61, ptr noundef @.str.2, ptr noundef %63, ptr noundef %65) br label %70 67: ; preds = %49 br label %68 68: ; preds = %67, %46 %69 = load i32, ptr %10, align 4 store i32 %69, ptr %4, align 4 br label %78 70: ; preds = %59, %37, %17 %71 = load i32, ptr %10, align 4 %72 = icmp ne i32 %71, -1 br i1 %72, label %73, label %76 73: ; preds = %70 %74 = load i32, ptr %10, align 4 %75 = call i32 @close(i32 noundef %74) br label %76 76: ; preds = %73, %70 %77 = load i32, ptr %11, align 4 store i32 %77, ptr @errno, align 4 store i32 -1, ptr %4, align 4 br label %78 78: ; preds = %76, %68 %79 = load i32, ptr %4, align 4 ret i32 %79 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) #1 declare ptr @strerror(i32 noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_i18p7xg.c' source_filename = "/tmp/tmp_i18p7xg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @LC_ALL = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"locale\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"./po\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"Hello World!\0A\00", align 1 @.str.4 = private unnamed_addr constant [17 x i8] c"Test equals %d.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = load i32, ptr @LC_ALL, align 4 %4 = call i32 @setlocale(i32 noundef %3, ptr noundef @.str) %5 = call i32 @bindtextdomain(ptr noundef @.str.1, ptr noundef @.str.2) %6 = call i32 @textdomain(ptr noundef @.str.1) store i32 0, ptr %2, align 4 %7 = call ptr @gettext(ptr noundef @.str.3) %8 = call i32 (ptr, ...) @printf(ptr noundef %7) %9 = call ptr @gettext(ptr noundef @.str.4) %10 = load i32, ptr %2, align 4 %11 = call i32 (ptr, ...) @printf(ptr noundef %9, i32 noundef %10) ret i32 0 } declare i32 @setlocale(i32 noundef, ptr noundef) #1 declare i32 @bindtextdomain(ptr noundef, ptr noundef) #1 declare i32 @textdomain(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @gettext(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !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_i18p7xg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @LC_ALL = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"locale\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"./po\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"Hello World!\0A\00", align 1 @.str.4 = private unnamed_addr constant [17 x i8] c"Test equals %d.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = load i32, ptr @LC_ALL, align 4 %4 = call i32 @setlocale(i32 noundef %3, ptr noundef @.str) %5 = call i32 @bindtextdomain(ptr noundef @.str.1, ptr noundef @.str.2) %6 = call i32 @textdomain(ptr noundef @.str.1) store i32 0, ptr %2, align 4 %7 = call ptr @gettext(ptr noundef @.str.3) %8 = call i32 (ptr, ...) @printf(ptr noundef %7) %9 = call ptr @gettext(ptr noundef @.str.4) %10 = load i32, ptr %2, align 4 %11 = call i32 (ptr, ...) @printf(ptr noundef %9, i32 noundef %10) ret i32 0 } declare i32 @setlocale(i32 noundef, ptr noundef) #1 declare i32 @bindtextdomain(ptr noundef, ptr noundef) #1 declare i32 @textdomain(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @gettext(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprablgof1.c' source_filename = "/tmp/tmprablgof1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [25 x i8] c"%s pid %u tid %u (0x%x)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printids(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %5 = call i64 (...) @getpid() store i64 %5, ptr %3, align 8 %6 = call i64 (...) @pthread_self() store i64 %6, ptr %4, align 8 %7 = load ptr, ptr %2, align 8 %8 = load i64, ptr %3, align 8 %9 = trunc i64 %8 to i32 %10 = load i64, ptr %4, align 8 %11 = trunc i64 %10 to i32 %12 = load i64, ptr %4, align 8 %13 = trunc i64 %12 to i32 %14 = call i32 @printf(ptr noundef @.str, ptr noundef %7, i32 noundef %9, i32 noundef %11, i32 noundef %13) ret void } declare i64 @getpid(...) #1 declare i64 @pthread_self(...) #1 declare i32 @printf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprablgof1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [25 x i8] c"%s pid %u tid %u (0x%x)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printids(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %5 = call i64 (...) @getpid() store i64 %5, ptr %3, align 8 %6 = call i64 (...) @pthread_self() store i64 %6, ptr %4, align 8 %7 = load ptr, ptr %2, align 8 %8 = load i64, ptr %3, align 8 %9 = trunc i64 %8 to i32 %10 = load i64, ptr %4, align 8 %11 = trunc i64 %10 to i32 %12 = load i64, ptr %4, align 8 %13 = trunc i64 %12 to i32 %14 = call i32 @printf(ptr noundef @.str, ptr noundef %7, i32 noundef %9, i32 noundef %11, i32 noundef %13) ret void } declare i64 @getpid(...) #1 declare i64 @pthread_self(...) #1 declare i32 @printf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpegrt94eu.c' source_filename = "/tmp/tmpegrt94eu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Error in GCD, a = %d, b = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @gcd(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %7, 0 br i1 %8, label %12, label %9 9: ; preds = %2 %10 = load i32, ptr %5, align 4 %11 = icmp slt i32 %10, 0 br i1 %11, label %12, label %17 12: ; preds = %9, %2 %13 = load i32, ptr %4, align 4 %14 = load i32, ptr %5, align 4 %15 = call i32 @printf(ptr noundef @.str, i32 noundef %13, i32 noundef %14) %16 = call i32 @exit(i32 noundef 0) #3 unreachable 17: ; preds = %9 %18 = load i32, ptr %5, align 4 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %22 20: ; preds = %17 %21 = load i32, ptr %4, align 4 store i32 %21, ptr %3, align 4 br label %41 22: ; preds = %17 %23 = load i32, ptr %4, align 4 %24 = load i32, ptr %5, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %26, label %30 26: ; preds = %22 %27 = load i32, ptr %5, align 4 %28 = load i32, ptr %4, align 4 %29 = call i32 @gcd(i32 noundef %27, i32 noundef %28) store i32 %29, ptr %3, align 4 br label %41 30: ; preds = %22 %31 = load i32, ptr %4, align 4 %32 = load i32, ptr %5, align 4 %33 = sdiv i32 %31, %32 store i32 %33, ptr %6, align 4 %34 = load i32, ptr %5, align 4 %35 = load i32, ptr %4, align 4 %36 = load i32, ptr %6, align 4 %37 = load i32, ptr %5, align 4 %38 = mul nsw i32 %36, %37 %39 = sub nsw i32 %35, %38 %40 = call i32 @gcd(i32 noundef %34, i32 noundef %39) store i32 %40, ptr %3, align 4 br label %41 41: ; preds = %30, %26, %20 %42 = load i32, ptr %3, align 4 ret i32 %42 } declare i32 @printf(ptr noundef, i32 noundef, i32 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/tmpegrt94eu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Error in GCD, a = %d, b = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @gcd(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %7, 0 br i1 %8, label %12, label %9 9: ; preds = %2 %10 = load i32, ptr %5, align 4 %11 = icmp slt i32 %10, 0 br i1 %11, label %12, label %17 12: ; preds = %9, %2 %13 = load i32, ptr %4, align 4 %14 = load i32, ptr %5, align 4 %15 = call i32 @printf(ptr noundef @.str, i32 noundef %13, i32 noundef %14) %16 = call i32 @exit(i32 noundef 0) #3 unreachable 17: ; preds = %9 %18 = load i32, ptr %5, align 4 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %22 20: ; preds = %17 %21 = load i32, ptr %4, align 4 store i32 %21, ptr %3, align 4 br label %41 22: ; preds = %17 %23 = load i32, ptr %4, align 4 %24 = load i32, ptr %5, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %26, label %30 26: ; preds = %22 %27 = load i32, ptr %5, align 4 %28 = load i32, ptr %4, align 4 %29 = call i32 @gcd(i32 noundef %27, i32 noundef %28) store i32 %29, ptr %3, align 4 br label %41 30: ; preds = %22 %31 = load i32, ptr %4, align 4 %32 = load i32, ptr %5, align 4 %33 = sdiv i32 %31, %32 store i32 %33, ptr %6, align 4 %34 = load i32, ptr %5, align 4 %35 = load i32, ptr %4, align 4 %36 = load i32, ptr %6, align 4 %37 = load i32, ptr %5, align 4 %38 = mul nsw i32 %36, %37 %39 = sub nsw i32 %35, %38 %40 = call i32 @gcd(i32 noundef %34, i32 noundef %39) store i32 %40, ptr %3, align 4 br label %41 41: ; preds = %30, %26, %20 %42 = load i32, ptr %3, align 4 ret i32 %42 } declare i32 @printf(ptr noundef, i32 noundef, i32 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/tmptz5u61vn.c' source_filename = "/tmp/tmptz5u61vn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strlower(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @strlen(ptr noundef %5) store i32 %6, ptr %3, align 4 store i32 0, ptr %4, align 4 br label %7 7: ; preds = %22, %1 %8 = load i32, ptr %4, align 4 %9 = load i32, ptr %3, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %11, label %25 11: ; preds = %7 %12 = load ptr, ptr %2, align 8 %13 = load i32, ptr %4, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i8, ptr %12, i64 %14 %16 = load i8, ptr %15, align 1 %17 = call signext i8 @tolower(i8 noundef signext %16) %18 = load ptr, ptr %2, align 8 %19 = load i32, ptr %4, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %18, i64 %20 store i8 %17, ptr %21, align 1 br label %22 22: ; preds = %11 %23 = load i32, ptr %4, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %4, align 4 br label %7, !llvm.loop !6 25: ; preds = %7 ret void } declare i32 @strlen(ptr noundef) #1 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/tmptz5u61vn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strlower(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @strlen(ptr noundef %5) store i32 %6, ptr %3, align 4 store i32 0, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = load i32, ptr %3, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %.lr.ph, label %27 .lr.ph: ; preds = %1 br label %10 10: ; preds = %.lr.ph, %21 %11 = load ptr, ptr %2, align 8 %12 = load i32, ptr %4, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i8, ptr %11, i64 %13 %15 = load i8, ptr %14, align 1 %16 = call signext i8 @tolower(i8 noundef signext %15) %17 = load ptr, ptr %2, align 8 %18 = load i32, ptr %4, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 store i8 %16, ptr %20, align 1 br label %21 21: ; preds = %10 %22 = load i32, ptr %4, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %4, align 4 %24 = load i32, ptr %4, align 4 %25 = load i32, ptr %3, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %27 27: ; preds = %._crit_edge, %1 ret void } declare i32 @strlen(ptr noundef) #1 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/tmphcub2bi9.c' source_filename = "/tmp/tmphcub2bi9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter the year to be tested: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%i\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"It's a leap year.\0A\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"It 's not a leap year.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 @printf(ptr noundef @.str) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %8 = load i32, ptr %2, align 4 %9 = srem i32 %8, 4 store i32 %9, ptr %3, align 4 %10 = load i32, ptr %2, align 4 %11 = srem i32 %10, 100 store i32 %11, ptr %4, align 4 %12 = load i32, ptr %2, align 4 %13 = srem i32 %12, 400 store i32 %13, ptr %5, align 4 %14 = load i32, ptr %3, align 4 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %19 16: ; preds = %0 %17 = load i32, ptr %4, align 4 %18 = icmp ne i32 %17, 0 br i1 %18, label %22, label %19 19: ; preds = %16, %0 %20 = load i32, ptr %5, align 4 %21 = icmp eq i32 %20, 0 br i1 %21, label %22, label %24 22: ; preds = %19, %16 %23 = call i32 @printf(ptr noundef @.str.2) br label %26 24: ; preds = %19 %25 = call i32 @printf(ptr noundef @.str.3) br label %26 26: ; preds = %24, %22 ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphcub2bi9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter the year to be tested: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%i\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"It's a leap year.\0A\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"It 's not a leap year.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 @printf(ptr noundef @.str) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %8 = load i32, ptr %2, align 4 %9 = srem i32 %8, 4 store i32 %9, ptr %3, align 4 %10 = load i32, ptr %2, align 4 %11 = srem i32 %10, 100 store i32 %11, ptr %4, align 4 %12 = load i32, ptr %2, align 4 %13 = srem i32 %12, 400 store i32 %13, ptr %5, align 4 %14 = load i32, ptr %3, align 4 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %19 16: ; preds = %0 %17 = load i32, ptr %4, align 4 %18 = icmp ne i32 %17, 0 br i1 %18, label %22, label %19 19: ; preds = %16, %0 %20 = load i32, ptr %5, align 4 %21 = icmp eq i32 %20, 0 br i1 %21, label %22, label %24 22: ; preds = %19, %16 %23 = call i32 @printf(ptr noundef @.str.2) br label %26 24: ; preds = %19 %25 = call i32 @printf(ptr noundef @.str.3) br label %26 26: ; preds = %24, %22 ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnr7btq_h.c' source_filename = "/tmp/tmpnr7btq_h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @VHB_HLine(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 = call i32 (...) @VL_GetScrollX() %10 = and i32 %9, 8 %11 = load i32, ptr %5, align 4 %12 = add nsw i32 %11, %10 store i32 %12, ptr %5, align 4 %13 = call i32 (...) @VL_GetScrollX() %14 = and i32 %13, 8 %15 = load i32, ptr %6, align 4 %16 = add nsw i32 %15, %14 store i32 %16, ptr %6, align 4 %17 = call i64 (...) @VL_GetScrollY() %18 = load i32, ptr %7, align 4 %19 = sext i32 %18 to i64 %20 = add nsw i64 %19, %17 %21 = trunc i64 %20 to i32 store i32 %21, ptr %7, align 4 %22 = load i32, ptr %5, align 4 %23 = load i32, ptr %7, align 4 %24 = load i32, ptr %6, align 4 %25 = load i32, ptr %5, align 4 %26 = sub nsw i32 %24, %25 %27 = add nsw i32 %26, 1 %28 = call i64 @VH_MarkUpdateBlock(i32 noundef %22, i32 noundef %23, i32 noundef %27, i32 noundef 1) %29 = icmp ne i64 %28, 0 br i1 %29, label %30, label %39 30: ; preds = %4 %31 = load i32, ptr %5, align 4 %32 = load i32, ptr %7, align 4 %33 = load i32, ptr %6, align 4 %34 = load i32, ptr %5, align 4 %35 = sub nsw i32 %33, %34 %36 = add nsw i32 %35, 1 %37 = load i32, ptr %8, align 4 %38 = call i32 @VL_ScreenRect(i32 noundef %31, i32 noundef %32, i32 noundef %36, i32 noundef 1, i32 noundef %37) br label %39 39: ; preds = %30, %4 ret void } declare i32 @VL_GetScrollX(...) #1 declare i64 @VL_GetScrollY(...) #1 declare i64 @VH_MarkUpdateBlock(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @VL_ScreenRect(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnr7btq_h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @VHB_HLine(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 = call i32 (...) @VL_GetScrollX() %10 = and i32 %9, 8 %11 = load i32, ptr %5, align 4 %12 = add nsw i32 %11, %10 store i32 %12, ptr %5, align 4 %13 = call i32 (...) @VL_GetScrollX() %14 = and i32 %13, 8 %15 = load i32, ptr %6, align 4 %16 = add nsw i32 %15, %14 store i32 %16, ptr %6, align 4 %17 = call i64 (...) @VL_GetScrollY() %18 = load i32, ptr %7, align 4 %19 = sext i32 %18 to i64 %20 = add nsw i64 %19, %17 %21 = trunc i64 %20 to i32 store i32 %21, ptr %7, align 4 %22 = load i32, ptr %5, align 4 %23 = load i32, ptr %7, align 4 %24 = load i32, ptr %6, align 4 %25 = load i32, ptr %5, align 4 %26 = sub nsw i32 %24, %25 %27 = add nsw i32 %26, 1 %28 = call i64 @VH_MarkUpdateBlock(i32 noundef %22, i32 noundef %23, i32 noundef %27, i32 noundef 1) %29 = icmp ne i64 %28, 0 br i1 %29, label %30, label %39 30: ; preds = %4 %31 = load i32, ptr %5, align 4 %32 = load i32, ptr %7, align 4 %33 = load i32, ptr %6, align 4 %34 = load i32, ptr %5, align 4 %35 = sub nsw i32 %33, %34 %36 = add nsw i32 %35, 1 %37 = load i32, ptr %8, align 4 %38 = call i32 @VL_ScreenRect(i32 noundef %31, i32 noundef %32, i32 noundef %36, i32 noundef 1, i32 noundef %37) br label %39 39: ; preds = %30, %4 ret void } declare i32 @VL_GetScrollX(...) #1 declare i64 @VL_GetScrollY(...) #1 declare i64 @VH_MarkUpdateBlock(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @VL_ScreenRect(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7gmfb5up.c' source_filename = "/tmp/tmp7gmfb5up.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d%d%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %5, align 4 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4) br label %7 7: ; preds = %20, %0 %8 = load i32, ptr %2, align 4 %9 = load i32, ptr %3, align 4 %10 = icmp sle i32 %8, %9 br i1 %10, label %11, label %23 11: ; preds = %7 %12 = load i32, ptr %4, align 4 %13 = load i32, ptr %2, align 4 %14 = srem i32 %12, %13 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %19 16: ; preds = %11 %17 = load i32, ptr %5, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %5, align 4 br label %19 19: ; preds = %16, %11 br label %20 20: ; preds = %19 %21 = load i32, ptr %2, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %2, align 4 br label %7, !llvm.loop !6 23: ; preds = %7 %24 = load i32, ptr %5, align 4 %25 = call i32 @printf(ptr noundef @.str.1, i32 noundef %24) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7gmfb5up.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d%d%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %5, align 4 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4) %7 = load i32, ptr %2, align 4 %8 = load i32, ptr %3, align 4 %9 = icmp sle i32 %7, %8 br i1 %9, label %.lr.ph, label %25 .lr.ph: ; preds = %0 br label %10 10: ; preds = %.lr.ph, %19 %11 = load i32, ptr %4, align 4 %12 = load i32, ptr %2, align 4 %13 = srem i32 %11, %12 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %18 15: ; preds = %10 %16 = load i32, ptr %5, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %5, align 4 br label %18 18: ; preds = %15, %10 br label %19 19: ; preds = %18 %20 = load i32, ptr %2, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %2, align 4 %22 = load i32, ptr %2, align 4 %23 = load i32, ptr %3, align 4 %24 = icmp sle i32 %22, %23 br i1 %24, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %25 25: ; preds = %._crit_edge, %0 %26 = load i32, ptr %5, align 4 %27 = call i32 @printf(ptr noundef @.str.1, i32 noundef %26) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpi4rhsoko.c' source_filename = "/tmp/tmpi4rhsoko.c" target datalayout = "e-m:e-p270: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/tmpi4rhsoko.c" target datalayout = "e-m:e-p270: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/tmpus_z_vy3.c' source_filename = "/tmp/tmpus_z_vy3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [84 x i8] c"\0A\0A\09\1B[34mRemaining shots:\1B[0m %d\09\09\09\1B[34mPoints:\1B[0m %d\0A\09\09\09\09\09\09\1B[34mLevel:\1B[0m %d\0A\1B[0m\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printf_footbar(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 store i32 %0, ptr %6, align 4 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 store ptr %4, ptr %10, align 8 %11 = load i32, ptr %6, align 4 %12 = load ptr, ptr %7, align 8 %13 = load i32, ptr %8, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i32, ptr %12, i64 %14 %16 = load i32, ptr %15, align 4 %17 = sub nsw i32 %11, %16 %18 = load i32, ptr %9, align 4 %19 = load ptr, ptr %10, align 8 %20 = load i32, ptr %19, align 4 %21 = call i32 @printf(ptr noundef @.str, i32 noundef %17, i32 noundef %18, i32 noundef %20) ret void } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpus_z_vy3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [84 x i8] c"\0A\0A\09\1B[34mRemaining shots:\1B[0m %d\09\09\09\1B[34mPoints:\1B[0m %d\0A\09\09\09\09\09\09\1B[34mLevel:\1B[0m %d\0A\1B[0m\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printf_footbar(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 store i32 %0, ptr %6, align 4 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 store ptr %4, ptr %10, align 8 %11 = load i32, ptr %6, align 4 %12 = load ptr, ptr %7, align 8 %13 = load i32, ptr %8, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i32, ptr %12, i64 %14 %16 = load i32, ptr %15, align 4 %17 = sub nsw i32 %11, %16 %18 = load i32, ptr %9, align 4 %19 = load ptr, ptr %10, align 8 %20 = load i32, ptr %19, align 4 %21 = call i32 @printf(ptr noundef @.str, i32 noundef %17, i32 noundef %18, i32 noundef %20) ret void } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6dixry9b.c' source_filename = "/tmp/tmp6dixry9b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%02x \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @stk_debug_print(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %25, %2 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %10, label %28 10: ; preds = %6 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i8, ptr %11, i64 %13 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %16) %18 = load i32, ptr %5, align 4 %19 = add nsw i32 %18, 1 %20 = srem i32 %19, 16 %21 = icmp ne i32 %20, 0 br i1 %21, label %24, label %22 22: ; preds = %10 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %24 24: ; preds = %22, %10 br label %25 25: ; preds = %24 %26 = load i32, ptr %5, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %5, align 4 br label %6, !llvm.loop !6 28: ; preds = %6 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6dixry9b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%02x \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @stk_debug_print(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %.lr.ph, label %30 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %24 %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %5, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %10, i64 %12 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %15) %17 = load i32, ptr %5, align 4 %18 = add nsw i32 %17, 1 %19 = srem i32 %18, 16 %20 = icmp ne i32 %19, 0 br i1 %20, label %23, label %21 21: ; preds = %9 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %23 23: ; preds = %21, %9 br label %24 24: ; preds = %23 %25 = load i32, ptr %5, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %5, align 4 %27 = load i32, ptr %5, align 4 %28 = load i32, ptr %4, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %30 30: ; preds = %._crit_edge, %2 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmptferaqng.c' source_filename = "/tmp/tmptferaqng.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong willreturn memory(read) uwtable define dso_local i32 @isalpha(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 i64 @isupper(i32 noundef %3) %5 = icmp ne i64 %4, 0 br i1 %5, label %10, label %6 6: ; preds = %1 %7 = load i32, ptr %2, align 4 %8 = call i64 @islower(i32 noundef %7) %9 = icmp ne i64 %8, 0 br label %10 10: ; preds = %6, %1 %11 = phi i1 [ true, %1 ], [ %9, %6 ] %12 = zext i1 %11 to i32 ret i32 %12 } declare i64 @isupper(i32 noundef) #1 declare i64 @islower(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong willreturn memory(read) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptferaqng.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong willreturn memory(read) uwtable define dso_local i32 @isalpha(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 i64 @isupper(i32 noundef %3) %5 = icmp ne i64 %4, 0 br i1 %5, label %10, label %6 6: ; preds = %1 %7 = load i32, ptr %2, align 4 %8 = call i64 @islower(i32 noundef %7) %9 = icmp ne i64 %8, 0 br label %10 10: ; preds = %6, %1 %11 = phi i1 [ true, %1 ], [ %9, %6 ] %12 = zext i1 %11 to i32 ret i32 %12 } declare i64 @isupper(i32 noundef) #1 declare i64 @islower(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong willreturn memory(read) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpv7rau4y0.c' source_filename = "/tmp/tmpv7rau4y0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"aaa_bb_ccc_ddd\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"AaaBbCccDdd\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"Input is %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"result is %s \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test12() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr @.str, ptr %2, align 8 store ptr @.str.1, ptr %3, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @printf(ptr noundef @.str.2, ptr noundef %5) %7 = load ptr, ptr %2, align 8 %8 = call i32 @strlen(ptr noundef %7) %9 = mul nsw i32 %8, 2 %10 = call i64 @malloc(i32 noundef %9) %11 = inttoptr i64 %10 to ptr store ptr %11, ptr %4, align 8 %12 = load ptr, ptr %4, align 8 %13 = load ptr, ptr %2, align 8 %14 = call i32 @strlen(ptr noundef %13) %15 = mul nsw i32 %14, 2 %16 = call i32 @memset(ptr noundef %12, i32 noundef 0, i32 noundef %15) %17 = load ptr, ptr %2, align 8 %18 = call i32 @DownLine2PascalX(ptr noundef %17, ptr noundef %4) %19 = load ptr, ptr %4, align 8 %20 = call i32 @printf(ptr noundef @.str.3, ptr noundef %19) %21 = load ptr, ptr %3, align 8 %22 = load ptr, ptr %4, align 8 %23 = call i64 @strcmp(ptr noundef %21, ptr noundef %22) %24 = icmp eq i64 %23, 0 br i1 %24, label %25, label %28 25: ; preds = %0 %26 = load ptr, ptr %4, align 8 %27 = call i32 @free(ptr noundef %26) store i32 1, ptr %1, align 4 br label %29 28: ; preds = %0 store i32 0, ptr %1, align 4 br label %29 29: ; preds = %28, %25 %30 = load i32, ptr %1, align 4 ret i32 %30 } declare i32 @printf(ptr noundef, ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @DownLine2PascalX(ptr noundef, ptr noundef) #1 declare i64 @strcmp(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/tmpv7rau4y0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"aaa_bb_ccc_ddd\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"AaaBbCccDdd\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"Input is %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"result is %s \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test12() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr @.str, ptr %2, align 8 store ptr @.str.1, ptr %3, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @printf(ptr noundef @.str.2, ptr noundef %5) %7 = load ptr, ptr %2, align 8 %8 = call i32 @strlen(ptr noundef %7) %9 = mul nsw i32 %8, 2 %10 = call i64 @malloc(i32 noundef %9) %11 = inttoptr i64 %10 to ptr store ptr %11, ptr %4, align 8 %12 = load ptr, ptr %4, align 8 %13 = load ptr, ptr %2, align 8 %14 = call i32 @strlen(ptr noundef %13) %15 = mul nsw i32 %14, 2 %16 = call i32 @memset(ptr noundef %12, i32 noundef 0, i32 noundef %15) %17 = load ptr, ptr %2, align 8 %18 = call i32 @DownLine2PascalX(ptr noundef %17, ptr noundef %4) %19 = load ptr, ptr %4, align 8 %20 = call i32 @printf(ptr noundef @.str.3, ptr noundef %19) %21 = load ptr, ptr %3, align 8 %22 = load ptr, ptr %4, align 8 %23 = call i64 @strcmp(ptr noundef %21, ptr noundef %22) %24 = icmp eq i64 %23, 0 br i1 %24, label %25, label %28 25: ; preds = %0 %26 = load ptr, ptr %4, align 8 %27 = call i32 @free(ptr noundef %26) store i32 1, ptr %1, align 4 br label %29 28: ; preds = %0 store i32 0, ptr %1, align 4 br label %29 29: ; preds = %28, %25 %30 = load i32, ptr %1, align 4 ret i32 %30 } declare i32 @printf(ptr noundef, ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @DownLine2PascalX(ptr noundef, ptr noundef) #1 declare i64 @strcmp(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/tmpw6qxo0nl.c' source_filename = "/tmp/tmpw6qxo0nl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @flow_control_push(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 @flow_control_push_to(i32 noundef %3, i32 noundef 2024) ret void } declare i32 @flow_control_push_to(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/tmpw6qxo0nl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @flow_control_push(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 @flow_control_push_to(i32 noundef %3, i32 noundef 2024) ret void } declare i32 @flow_control_push_to(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/tmp5dm78ose.c' source_filename = "/tmp/tmp5dm78ose.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @w_strupr_n(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 %7 = 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 store i32 0, ptr %7, align 4 br label %8 8: ; preds = %28, %3 %9 = load ptr, ptr %5, 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 %17 13: ; preds = %8 %14 = load i32, ptr %7, align 4 %15 = load i32, ptr %6, align 4 %16 = icmp slt i32 %14, %15 br label %17 17: ; preds = %13, %8 %18 = phi i1 [ false, %8 ], [ %16, %13 ] br i1 %18, label %19, label %31 19: ; preds = %17 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds i8, ptr %20, i32 1 store ptr %21, ptr %5, align 8 %22 = load i8, ptr %20, align 1 %23 = sext i8 %22 to i32 %24 = call i32 @toupper(i32 noundef %23) #2 %25 = trunc i32 %24 to i8 %26 = load ptr, ptr %4, align 8 %27 = getelementptr inbounds i8, ptr %26, i32 1 store ptr %27, ptr %4, align 8 store i8 %25, ptr %26, align 1 br label %28 28: ; preds = %19 %29 = load i32, ptr %7, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %7, align 4 br label %8, !llvm.loop !6 31: ; preds = %17 br label %32 32: ; preds = %39, %31 %33 = load i32, ptr %7, align 4 %34 = load i32, ptr %6, align 4 %35 = icmp slt i32 %33, %34 br i1 %35, label %36, label %42 36: ; preds = %32 %37 = load ptr, ptr %4, align 8 %38 = getelementptr inbounds i8, ptr %37, i32 1 store ptr %38, ptr %4, align 8 store i8 0, ptr %37, align 1 br label %39 39: ; preds = %36 %40 = load i32, ptr %7, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %7, align 4 br label %32, !llvm.loop !8 42: ; preds = %32 ret void } ; Function Attrs: nounwind willreturn memory(read) declare i32 @toupper(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind willreturn memory(read) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5dm78ose.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @w_strupr_n(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 %7 = 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 store i32 0, ptr %7, align 4 br label %8 8: ; preds = %28, %3 %9 = load ptr, ptr %5, 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 %17 13: ; preds = %8 %14 = load i32, ptr %7, align 4 %15 = load i32, ptr %6, align 4 %16 = icmp slt i32 %14, %15 br label %17 17: ; preds = %13, %8 %18 = phi i1 [ false, %8 ], [ %16, %13 ] br i1 %18, label %19, label %31 19: ; preds = %17 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds i8, ptr %20, i32 1 store ptr %21, ptr %5, align 8 %22 = load i8, ptr %20, align 1 %23 = sext i8 %22 to i32 %24 = call i32 @toupper(i32 noundef %23) #2 %25 = trunc i32 %24 to i8 %26 = load ptr, ptr %4, align 8 %27 = getelementptr inbounds i8, ptr %26, i32 1 store ptr %27, ptr %4, align 8 store i8 %25, ptr %26, align 1 br label %28 28: ; preds = %19 %29 = load i32, ptr %7, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %7, align 4 br label %8, !llvm.loop !6 31: ; preds = %17 %32 = load i32, ptr %7, align 4 %33 = load i32, ptr %6, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %.lr.ph, label %44 .lr.ph: ; preds = %31 br label %35 35: ; preds = %.lr.ph, %38 %36 = load ptr, ptr %4, align 8 %37 = getelementptr inbounds i8, ptr %36, i32 1 store ptr %37, ptr %4, align 8 store i8 0, ptr %36, align 1 br label %38 38: ; preds = %35 %39 = load i32, ptr %7, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %7, align 4 %41 = load i32, ptr %7, align 4 %42 = load i32, ptr %6, align 4 %43 = icmp slt i32 %41, %42 br i1 %43, label %35, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %38 br label %44 44: ; preds = %._crit_edge, %31 ret void } ; Function Attrs: nounwind willreturn memory(read) declare i32 @toupper(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind willreturn memory(read) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpmr9q3c3q.c' source_filename = "/tmp/tmpmr9q3c3q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gexp(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 store double %0, ptr %4, align 8 store double %1, ptr %5, align 8 %6 = load double, ptr %4, align 8 %7 = fcmp oeq double %6, 0.000000e+00 br i1 %7, label %8, label %11 8: ; preds = %2 %9 = load double, ptr %5, align 8 %10 = call double @exp(double noundef %9) #4 store double %10, ptr %3, align 8 br label %33 11: ; preds = %2 %12 = load double, ptr %4, align 8 %13 = fcmp olt double %12, 0.000000e+00 br i1 %13, label %14, label %24 14: ; preds = %11 %15 = load double, ptr %4, align 8 %16 = load double, ptr %5, align 8 %17 = call double @llvm.fmuladd.f64(double %15, double %16, double 1.000000e+00) %18 = fdiv double 1.000000e+00, %17 %19 = fptosi double %18 to i32 %20 = load double, ptr %4, align 8 %21 = fdiv double -1.000000e+00, %20 %22 = fptosi double %21 to i32 %23 = call double @pow(i32 noundef %19, i32 noundef %22) store double %23, ptr %3, align 8 br label %33 24: ; preds = %11 %25 = load double, ptr %4, align 8 %26 = load double, ptr %5, align 8 %27 = call double @llvm.fmuladd.f64(double %25, double %26, double 1.000000e+00) %28 = fptosi double %27 to i32 %29 = load double, ptr %4, align 8 %30 = fdiv double 1.000000e+00, %29 %31 = fptosi double %30 to i32 %32 = call double @pow(i32 noundef %28, i32 noundef %31) store double %32, ptr %3, align 8 br label %33 33: ; preds = %24, %14, %8 %34 = load double, ptr %3, align 8 ret double %34 } ; Function Attrs: nounwind declare double @exp(double noundef) #1 declare double @pow(i32 noundef, i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { 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/tmpmr9q3c3q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gexp(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 store double %0, ptr %4, align 8 store double %1, ptr %5, align 8 %6 = load double, ptr %4, align 8 %7 = fcmp oeq double %6, 0.000000e+00 br i1 %7, label %8, label %11 8: ; preds = %2 %9 = load double, ptr %5, align 8 %10 = call double @exp(double noundef %9) #4 store double %10, ptr %3, align 8 br label %33 11: ; preds = %2 %12 = load double, ptr %4, align 8 %13 = fcmp olt double %12, 0.000000e+00 br i1 %13, label %14, label %24 14: ; preds = %11 %15 = load double, ptr %4, align 8 %16 = load double, ptr %5, align 8 %17 = call double @llvm.fmuladd.f64(double %15, double %16, double 1.000000e+00) %18 = fdiv double 1.000000e+00, %17 %19 = fptosi double %18 to i32 %20 = load double, ptr %4, align 8 %21 = fdiv double -1.000000e+00, %20 %22 = fptosi double %21 to i32 %23 = call double @pow(i32 noundef %19, i32 noundef %22) store double %23, ptr %3, align 8 br label %33 24: ; preds = %11 %25 = load double, ptr %4, align 8 %26 = load double, ptr %5, align 8 %27 = call double @llvm.fmuladd.f64(double %25, double %26, double 1.000000e+00) %28 = fptosi double %27 to i32 %29 = load double, ptr %4, align 8 %30 = fdiv double 1.000000e+00, %29 %31 = fptosi double %30 to i32 %32 = call double @pow(i32 noundef %28, i32 noundef %31) store double %32, ptr %3, align 8 br label %33 33: ; preds = %24, %14, %8 %34 = load double, ptr %3, align 8 ret double %34 } ; Function Attrs: nounwind declare double @exp(double noundef) #1 declare double @pow(i32 noundef, i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { 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/tmpjyvdb4_a.c' source_filename = "/tmp/tmpjyvdb4_a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lm_decompose_LUP(ptr noundef %0, i32 noundef %1, double noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca double, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store double %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 store i32 0, ptr %11, align 4 br label %18 18: ; preds = %28, %5 %19 = load i32, ptr %11, align 4 %20 = load i32, ptr %7, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %22, label %31 22: ; preds = %18 %23 = load i32, ptr %11, align 4 %24 = load ptr, ptr %9, align 8 %25 = load i32, ptr %11, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i32, ptr %24, i64 %26 store i32 %23, ptr %27, align 4 br label %28 28: ; preds = %22 %29 = load i32, ptr %11, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %11, align 4 br label %18, !llvm.loop !6 31: ; preds = %18 store i32 0, ptr %11, align 4 br label %32 32: ; preds = %208, %31 %33 = load i32, ptr %11, align 4 %34 = load i32, ptr %7, align 4 %35 = icmp slt i32 %33, %34 br i1 %35, label %36, label %211 36: ; preds = %32 store double 0.000000e+00, ptr %15, align 8 %37 = load i32, ptr %11, align 4 store i32 %37, ptr %14, align 4 %38 = load i32, ptr %11, align 4 store i32 %38, ptr %13, align 4 br label %39 39: ; preds = %60, %36 %40 = load i32, ptr %13, align 4 %41 = load i32, ptr %7, align 4 %42 = icmp slt i32 %40, %41 br i1 %42, label %43, label %63 43: ; preds = %39 %44 = load ptr, ptr %6, align 8 %45 = load i32, ptr %13, align 4 %46 = load i32, ptr %7, align 4 %47 = mul nsw i32 %45, %46 %48 = load i32, ptr %11, align 4 %49 = add nsw i32 %47, %48 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds double, ptr %44, i64 %50 %52 = load double, ptr %51, align 8 %53 = call double @llvm.fabs.f64(double %52) store double %53, ptr %16, align 8 %54 = load double, ptr %15, align 8 %55 = fcmp ogt double %53, %54 br i1 %55, label %56, label %59 56: ; preds = %43 %57 = load double, ptr %16, align 8 store double %57, ptr %15, align 8 %58 = load i32, ptr %13, align 4 store i32 %58, ptr %14, align 4 br label %59 59: ; preds = %56, %43 br label %60 60: ; preds = %59 %61 = load i32, ptr %13, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %13, align 4 br label %39, !llvm.loop !8 63: ; preds = %39 %64 = load double, ptr %15, align 8 %65 = load double, ptr %8, align 8 %66 = fcmp olt double %64, %65 br i1 %66, label %67, label %69 67: ; preds = %63 %68 = load ptr, ptr %10, align 8 store i32 21, ptr %68, align 4 br label %211 69: ; preds = %63 %70 = load i32, ptr %14, align 4 %71 = load i32, ptr %11, align 4 %72 = icmp ne i32 %70, %71 br i1 %72, label %73, label %137 73: ; preds = %69 %74 = load ptr, ptr %9, align 8 %75 = load i32, ptr %11, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds i32, ptr %74, i64 %76 %78 = load i32, ptr %77, align 4 store i32 %78, ptr %12, align 4 %79 = load ptr, ptr %9, align 8 %80 = load i32, ptr %14, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds i32, ptr %79, i64 %81 %83 = load i32, ptr %82, align 4 %84 = load ptr, ptr %9, align 8 %85 = load i32, ptr %11, align 4 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds i32, ptr %84, i64 %86 store i32 %83, ptr %87, align 4 %88 = load i32, ptr %12, align 4 %89 = load ptr, ptr %9, align 8 %90 = load i32, ptr %14, align 4 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds i32, ptr %89, i64 %91 store i32 %88, ptr %92, align 4 store i32 0, ptr %13, align 4 br label %93 93: ; preds = %133, %73 %94 = load i32, ptr %13, align 4 %95 = load i32, ptr %7, align 4 %96 = icmp slt i32 %94, %95 br i1 %96, label %97, label %136 97: ; preds = %93 %98 = load ptr, ptr %6, align 8 %99 = load i32, ptr %11, align 4 %100 = load i32, ptr %7, align 4 %101 = mul nsw i32 %99, %100 %102 = load i32, ptr %13, align 4 %103 = add nsw i32 %101, %102 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds double, ptr %98, i64 %104 %106 = load double, ptr %105, align 8 store double %106, ptr %17, align 8 %107 = load ptr, ptr %6, align 8 %108 = load i32, ptr %14, align 4 %109 = load i32, ptr %7, align 4 %110 = mul nsw i32 %108, %109 %111 = load i32, ptr %13, align 4 %112 = add nsw i32 %110, %111 %113 = sext i32 %112 to i64 %114 = getelementptr inbounds double, ptr %107, i64 %113 %115 = load double, ptr %114, align 8 %116 = load ptr, ptr %6, align 8 %117 = load i32, ptr %11, align 4 %118 = load i32, ptr %7, align 4 %119 = mul nsw i32 %117, %118 %120 = load i32, ptr %13, align 4 %121 = add nsw i32 %119, %120 %122 = sext i32 %121 to i64 %123 = getelementptr inbounds double, ptr %116, i64 %122 store double %115, ptr %123, align 8 %124 = load double, ptr %17, align 8 %125 = load ptr, ptr %6, align 8 %126 = load i32, ptr %14, align 4 %127 = load i32, ptr %7, align 4 %128 = mul nsw i32 %126, %127 %129 = load i32, ptr %13, align 4 %130 = add nsw i32 %128, %129 %131 = sext i32 %130 to i64 %132 = getelementptr inbounds double, ptr %125, i64 %131 store double %124, ptr %132, align 8 br label %133 133: ; preds = %97 %134 = load i32, ptr %13, align 4 %135 = add nsw i32 %134, 1 store i32 %135, ptr %13, align 4 br label %93, !llvm.loop !9 136: ; preds = %93 br label %137 137: ; preds = %136, %69 %138 = load i32, ptr %11, align 4 %139 = add nsw i32 %138, 1 store i32 %139, ptr %12, align 4 br label %140 140: ; preds = %204, %137 %141 = load i32, ptr %12, align 4 %142 = load i32, ptr %7, align 4 %143 = icmp slt i32 %141, %142 br i1 %143, label %144, label %207 144: ; preds = %140 %145 = load ptr, ptr %6, align 8 %146 = load i32, ptr %11, align 4 %147 = load i32, ptr %7, align 4 %148 = mul nsw i32 %146, %147 %149 = load i32, ptr %11, align 4 %150 = add nsw i32 %148, %149 %151 = sext i32 %150 to i64 %152 = getelementptr inbounds double, ptr %145, i64 %151 %153 = load double, ptr %152, align 8 %154 = load ptr, ptr %6, align 8 %155 = load i32, ptr %12, align 4 %156 = load i32, ptr %7, align 4 %157 = mul nsw i32 %155, %156 %158 = load i32, ptr %11, align 4 %159 = add nsw i32 %157, %158 %160 = sext i32 %159 to i64 %161 = getelementptr inbounds double, ptr %154, i64 %160 %162 = load double, ptr %161, align 8 %163 = fdiv double %162, %153 store double %163, ptr %161, align 8 %164 = load i32, ptr %11, align 4 %165 = add nsw i32 %164, 1 store i32 %165, ptr %13, align 4 br label %166 166: ; preds = %200, %144 %167 = load i32, ptr %13, align 4 %168 = load i32, ptr %7, align 4 %169 = icmp slt i32 %167, %168 br i1 %169, label %170, label %203 170: ; preds = %166 %171 = load ptr, ptr %6, align 8 %172 = load i32, ptr %12, align 4 %173 = load i32, ptr %7, align 4 %174 = mul nsw i32 %172, %173 %175 = load i32, ptr %11, align 4 %176 = add nsw i32 %174, %175 %177 = sext i32 %176 to i64 %178 = getelementptr inbounds double, ptr %171, i64 %177 %179 = load double, ptr %178, align 8 %180 = load ptr, ptr %6, align 8 %181 = load i32, ptr %11, align 4 %182 = load i32, ptr %7, align 4 %183 = mul nsw i32 %181, %182 %184 = load i32, ptr %13, align 4 %185 = add nsw i32 %183, %184 %186 = sext i32 %185 to i64 %187 = getelementptr inbounds double, ptr %180, i64 %186 %188 = load double, ptr %187, align 8 %189 = load ptr, ptr %6, align 8 %190 = load i32, ptr %12, align 4 %191 = load i32, ptr %7, align 4 %192 = mul nsw i32 %190, %191 %193 = load i32, ptr %13, align 4 %194 = add nsw i32 %192, %193 %195 = sext i32 %194 to i64 %196 = getelementptr inbounds double, ptr %189, i64 %195 %197 = load double, ptr %196, align 8 %198 = fneg double %179 %199 = call double @llvm.fmuladd.f64(double %198, double %188, double %197) store double %199, ptr %196, align 8 br label %200 200: ; preds = %170 %201 = load i32, ptr %13, align 4 %202 = add nsw i32 %201, 1 store i32 %202, ptr %13, align 4 br label %166, !llvm.loop !10 203: ; preds = %166 br label %204 204: ; preds = %203 %205 = load i32, ptr %12, align 4 %206 = add nsw i32 %205, 1 store i32 %206, ptr %12, align 4 br label %140, !llvm.loop !11 207: ; preds = %140 br label %208 208: ; preds = %207 %209 = load i32, ptr %11, align 4 %210 = add nsw i32 %209, 1 store i32 %210, ptr %11, align 4 br label %32, !llvm.loop !12 211: ; preds = %67, %32 ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjyvdb4_a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lm_decompose_LUP(ptr noundef %0, i32 noundef %1, double noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca double, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca double, align 8 %16 = alloca double, align 8 %17 = alloca double, align 8 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store double %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 store i32 0, ptr %11, align 4 %18 = load i32, ptr %11, align 4 %19 = load i32, ptr %7, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %.lr.ph, label %33 .lr.ph: ; preds = %5 br label %21 21: ; preds = %.lr.ph, %27 %22 = load i32, ptr %11, align 4 %23 = load ptr, ptr %9, align 8 %24 = load i32, ptr %11, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i32, ptr %23, i64 %25 store i32 %22, ptr %26, align 4 br label %27 27: ; preds = %21 %28 = load i32, ptr %11, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %11, align 4 %30 = load i32, ptr %11, align 4 %31 = load i32, ptr %7, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %33 33: ; preds = %._crit_edge, %5 store i32 0, ptr %11, align 4 %34 = load i32, ptr %11, align 4 %35 = load i32, ptr %7, align 4 %36 = icmp slt i32 %34, %35 br i1 %36, label %.lr.ph14, label %.loopexit .lr.ph14: ; preds = %33 br label %37 37: ; preds = %.lr.ph14, %217 store double 0.000000e+00, ptr %15, align 8 %38 = load i32, ptr %11, align 4 store i32 %38, ptr %14, align 4 %39 = load i32, ptr %11, align 4 store i32 %39, ptr %13, align 4 %40 = load i32, ptr %13, align 4 %41 = load i32, ptr %7, align 4 %42 = icmp slt i32 %40, %41 br i1 %42, label %.lr.ph2, label %66 .lr.ph2: ; preds = %37 br label %43 43: ; preds = %.lr.ph2, %60 %44 = load ptr, ptr %6, align 8 %45 = load i32, ptr %13, align 4 %46 = load i32, ptr %7, align 4 %47 = mul nsw i32 %45, %46 %48 = load i32, ptr %11, align 4 %49 = add nsw i32 %47, %48 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds double, ptr %44, i64 %50 %52 = load double, ptr %51, align 8 %53 = call double @llvm.fabs.f64(double %52) store double %53, ptr %16, align 8 %54 = load double, ptr %15, align 8 %55 = fcmp ogt double %53, %54 br i1 %55, label %56, label %59 56: ; preds = %43 %57 = load double, ptr %16, align 8 store double %57, ptr %15, align 8 %58 = load i32, ptr %13, align 4 store i32 %58, ptr %14, align 4 br label %59 59: ; preds = %56, %43 br label %60 60: ; preds = %59 %61 = load i32, ptr %13, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %13, align 4 %63 = load i32, ptr %13, align 4 %64 = load i32, ptr %7, align 4 %65 = icmp slt i32 %63, %64 br i1 %65, label %43, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %60 br label %66 66: ; preds = %._crit_edge3, %37 %67 = load double, ptr %15, align 8 %68 = load double, ptr %8, align 8 %69 = fcmp olt double %67, %68 br i1 %69, label %70, label %72 70: ; preds = %66 %71 = load ptr, ptr %10, align 8 store i32 21, ptr %71, align 4 br label %223 72: ; preds = %66 %73 = load i32, ptr %14, align 4 %74 = load i32, ptr %11, align 4 %75 = icmp ne i32 %73, %74 br i1 %75, label %76, label %142 76: ; preds = %72 %77 = load ptr, ptr %9, align 8 %78 = load i32, ptr %11, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds i32, ptr %77, i64 %79 %81 = load i32, ptr %80, align 4 store i32 %81, ptr %12, align 4 %82 = load ptr, ptr %9, align 8 %83 = load i32, ptr %14, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds i32, ptr %82, i64 %84 %86 = load i32, ptr %85, align 4 %87 = load ptr, ptr %9, align 8 %88 = load i32, ptr %11, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds i32, ptr %87, i64 %89 store i32 %86, ptr %90, align 4 %91 = load i32, ptr %12, align 4 %92 = load ptr, ptr %9, align 8 %93 = load i32, ptr %14, align 4 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds i32, ptr %92, i64 %94 store i32 %91, ptr %95, align 4 store i32 0, ptr %13, align 4 %96 = load i32, ptr %13, align 4 %97 = load i32, ptr %7, align 4 %98 = icmp slt i32 %96, %97 br i1 %98, label %.lr.ph5, label %141 .lr.ph5: ; preds = %76 br label %99 99: ; preds = %.lr.ph5, %135 %100 = load ptr, ptr %6, align 8 %101 = load i32, ptr %11, align 4 %102 = load i32, ptr %7, align 4 %103 = mul nsw i32 %101, %102 %104 = load i32, ptr %13, align 4 %105 = add nsw i32 %103, %104 %106 = sext i32 %105 to i64 %107 = getelementptr inbounds double, ptr %100, i64 %106 %108 = load double, ptr %107, align 8 store double %108, ptr %17, align 8 %109 = load ptr, ptr %6, align 8 %110 = load i32, ptr %14, align 4 %111 = load i32, ptr %7, align 4 %112 = mul nsw i32 %110, %111 %113 = load i32, ptr %13, align 4 %114 = add nsw i32 %112, %113 %115 = sext i32 %114 to i64 %116 = getelementptr inbounds double, ptr %109, i64 %115 %117 = load double, ptr %116, align 8 %118 = load ptr, ptr %6, align 8 %119 = load i32, ptr %11, align 4 %120 = load i32, ptr %7, align 4 %121 = mul nsw i32 %119, %120 %122 = load i32, ptr %13, align 4 %123 = add nsw i32 %121, %122 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds double, ptr %118, i64 %124 store double %117, ptr %125, align 8 %126 = load double, ptr %17, align 8 %127 = load ptr, ptr %6, align 8 %128 = load i32, ptr %14, align 4 %129 = load i32, ptr %7, align 4 %130 = mul nsw i32 %128, %129 %131 = load i32, ptr %13, align 4 %132 = add nsw i32 %130, %131 %133 = sext i32 %132 to i64 %134 = getelementptr inbounds double, ptr %127, i64 %133 store double %126, ptr %134, align 8 br label %135 135: ; preds = %99 %136 = load i32, ptr %13, align 4 %137 = add nsw i32 %136, 1 store i32 %137, ptr %13, align 4 %138 = load i32, ptr %13, align 4 %139 = load i32, ptr %7, align 4 %140 = icmp slt i32 %138, %139 br i1 %140, label %99, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %135 br label %141 141: ; preds = %._crit_edge6, %76 br label %142 142: ; preds = %141, %72 %143 = load i32, ptr %11, align 4 %144 = add nsw i32 %143, 1 store i32 %144, ptr %12, align 4 %145 = load i32, ptr %12, align 4 %146 = load i32, ptr %7, align 4 %147 = icmp slt i32 %145, %146 br i1 %147, label %.lr.ph11, label %216 .lr.ph11: ; preds = %142 br label %148 148: ; preds = %.lr.ph11, %210 %149 = load ptr, ptr %6, align 8 %150 = load i32, ptr %11, align 4 %151 = load i32, ptr %7, align 4 %152 = mul nsw i32 %150, %151 %153 = load i32, ptr %11, align 4 %154 = add nsw i32 %152, %153 %155 = sext i32 %154 to i64 %156 = getelementptr inbounds double, ptr %149, i64 %155 %157 = load double, ptr %156, align 8 %158 = load ptr, ptr %6, align 8 %159 = load i32, ptr %12, align 4 %160 = load i32, ptr %7, align 4 %161 = mul nsw i32 %159, %160 %162 = load i32, ptr %11, align 4 %163 = add nsw i32 %161, %162 %164 = sext i32 %163 to i64 %165 = getelementptr inbounds double, ptr %158, i64 %164 %166 = load double, ptr %165, align 8 %167 = fdiv double %166, %157 store double %167, ptr %165, align 8 %168 = load i32, ptr %11, align 4 %169 = add nsw i32 %168, 1 store i32 %169, ptr %13, align 4 %170 = load i32, ptr %13, align 4 %171 = load i32, ptr %7, align 4 %172 = icmp slt i32 %170, %171 br i1 %172, label %.lr.ph8, label %209 .lr.ph8: ; preds = %148 br label %173 173: ; preds = %.lr.ph8, %203 %174 = load ptr, ptr %6, align 8 %175 = load i32, ptr %12, align 4 %176 = load i32, ptr %7, align 4 %177 = mul nsw i32 %175, %176 %178 = load i32, ptr %11, align 4 %179 = add nsw i32 %177, %178 %180 = sext i32 %179 to i64 %181 = getelementptr inbounds double, ptr %174, i64 %180 %182 = load double, ptr %181, align 8 %183 = load ptr, ptr %6, align 8 %184 = load i32, ptr %11, align 4 %185 = load i32, ptr %7, align 4 %186 = mul nsw i32 %184, %185 %187 = load i32, ptr %13, align 4 %188 = add nsw i32 %186, %187 %189 = sext i32 %188 to i64 %190 = getelementptr inbounds double, ptr %183, i64 %189 %191 = load double, ptr %190, align 8 %192 = load ptr, ptr %6, align 8 %193 = load i32, ptr %12, align 4 %194 = load i32, ptr %7, align 4 %195 = mul nsw i32 %193, %194 %196 = load i32, ptr %13, align 4 %197 = add nsw i32 %195, %196 %198 = sext i32 %197 to i64 %199 = getelementptr inbounds double, ptr %192, i64 %198 %200 = load double, ptr %199, align 8 %201 = fneg double %182 %202 = call double @llvm.fmuladd.f64(double %201, double %191, double %200) store double %202, ptr %199, align 8 br label %203 203: ; preds = %173 %204 = load i32, ptr %13, align 4 %205 = add nsw i32 %204, 1 store i32 %205, ptr %13, align 4 %206 = load i32, ptr %13, align 4 %207 = load i32, ptr %7, align 4 %208 = icmp slt i32 %206, %207 br i1 %208, label %173, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %203 br label %209 209: ; preds = %._crit_edge9, %148 br label %210 210: ; preds = %209 %211 = load i32, ptr %12, align 4 %212 = add nsw i32 %211, 1 store i32 %212, ptr %12, align 4 %213 = load i32, ptr %12, align 4 %214 = load i32, ptr %7, align 4 %215 = icmp slt i32 %213, %214 br i1 %215, label %148, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %210 br label %216 216: ; preds = %._crit_edge12, %142 br label %217 217: ; preds = %216 %218 = load i32, ptr %11, align 4 %219 = add nsw i32 %218, 1 store i32 %219, ptr %11, align 4 %220 = load i32, ptr %11, align 4 %221 = load i32, ptr %7, align 4 %222 = icmp slt i32 %220, %221 br i1 %222, label %37, label %..loopexit_crit_edge, !llvm.loop !12 ..loopexit_crit_edge: ; preds = %217 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %33 br label %223 223: ; preds = %.loopexit, %70 ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '/tmp/tmpd6iiuhv1.c' source_filename = "/tmp/tmpd6iiuhv1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [27 x i8] c"Unable to open file <%s>: \00", align 1 @.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @SEEK_SET = dso_local global i32 0, align 4 @EOF = dso_local global i64 0, align 8 @.str.3 = private unnamed_addr constant [12 x i8] c"seek failed\00", align 1 @.str.4 = private unnamed_addr constant [13 x i8] c"fread failed\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @readchars_file(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %10 = load ptr, ptr %4, align 8 %11 = call ptr @fopen(ptr noundef %10, ptr noundef @.str) store ptr %11, ptr %7, align 8 %12 = load ptr, ptr %7, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %20 14: ; preds = %3 %15 = load i32, ptr @stderr, align 4 %16 = load ptr, ptr %4, align 8 %17 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str.1, ptr noundef %16) %18 = call i32 @perror(ptr noundef @.str.2) %19 = call i32 @exit(i32 noundef 1) #3 unreachable 20: ; preds = %3 %21 = load ptr, ptr %7, align 8 %22 = load i64, ptr %5, align 8 %23 = load i32, ptr @SEEK_SET, align 4 %24 = call i64 @fseek(ptr noundef %21, i64 noundef %22, i32 noundef %23) %25 = load i64, ptr @EOF, align 8 %26 = icmp eq i64 %24, %25 br i1 %26, label %27, label %29 27: ; preds = %20 %28 = call i32 @fatal(ptr noundef @.str.3) br label %29 29: ; preds = %27, %20 %30 = load ptr, ptr %6, align 8 %31 = load i32, ptr %30, align 4 %32 = call ptr @MALLOC(i32 noundef %31) store ptr %32, ptr %8, align 8 %33 = load ptr, ptr %8, align 8 %34 = load ptr, ptr %6, align 8 %35 = load i32, ptr %34, align 4 %36 = call i32 @memset(ptr noundef %33, i32 noundef 0, i32 noundef %35) %37 = load ptr, ptr %8, align 8 %38 = load ptr, ptr %6, align 8 %39 = load i32, ptr %38, align 4 %40 = load ptr, ptr %7, align 8 %41 = call i32 @fread(ptr noundef %37, i32 noundef 1, i32 noundef %39, ptr noundef %40) store i32 %41, ptr %9, align 4 %42 = load i32, ptr %9, align 4 %43 = load ptr, ptr %6, align 8 %44 = load i32, ptr %43, align 4 %45 = icmp ne i32 %42, %44 br i1 %45, label %46, label %48 46: ; preds = %29 %47 = call i32 @fatal(ptr noundef @.str.4) br label %48 48: ; preds = %46, %29 %49 = load ptr, ptr %7, align 8 %50 = call i32 @fclose(ptr noundef %49) %51 = load ptr, ptr %8, align 8 ret ptr %51 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @fseek(ptr noundef, i64 noundef, i32 noundef) #1 declare i32 @fatal(ptr noundef) #1 declare ptr @MALLOC(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpd6iiuhv1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [27 x i8] c"Unable to open file <%s>: \00", align 1 @.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @SEEK_SET = dso_local global i32 0, align 4 @EOF = dso_local global i64 0, align 8 @.str.3 = private unnamed_addr constant [12 x i8] c"seek failed\00", align 1 @.str.4 = private unnamed_addr constant [13 x i8] c"fread failed\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @readchars_file(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %10 = load ptr, ptr %4, align 8 %11 = call ptr @fopen(ptr noundef %10, ptr noundef @.str) store ptr %11, ptr %7, align 8 %12 = load ptr, ptr %7, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %20 14: ; preds = %3 %15 = load i32, ptr @stderr, align 4 %16 = load ptr, ptr %4, align 8 %17 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str.1, ptr noundef %16) %18 = call i32 @perror(ptr noundef @.str.2) %19 = call i32 @exit(i32 noundef 1) #3 unreachable 20: ; preds = %3 %21 = load ptr, ptr %7, align 8 %22 = load i64, ptr %5, align 8 %23 = load i32, ptr @SEEK_SET, align 4 %24 = call i64 @fseek(ptr noundef %21, i64 noundef %22, i32 noundef %23) %25 = load i64, ptr @EOF, align 8 %26 = icmp eq i64 %24, %25 br i1 %26, label %27, label %29 27: ; preds = %20 %28 = call i32 @fatal(ptr noundef @.str.3) br label %29 29: ; preds = %27, %20 %30 = load ptr, ptr %6, align 8 %31 = load i32, ptr %30, align 4 %32 = call ptr @MALLOC(i32 noundef %31) store ptr %32, ptr %8, align 8 %33 = load ptr, ptr %8, align 8 %34 = load ptr, ptr %6, align 8 %35 = load i32, ptr %34, align 4 %36 = call i32 @memset(ptr noundef %33, i32 noundef 0, i32 noundef %35) %37 = load ptr, ptr %8, align 8 %38 = load ptr, ptr %6, align 8 %39 = load i32, ptr %38, align 4 %40 = load ptr, ptr %7, align 8 %41 = call i32 @fread(ptr noundef %37, i32 noundef 1, i32 noundef %39, ptr noundef %40) store i32 %41, ptr %9, align 4 %42 = load i32, ptr %9, align 4 %43 = load ptr, ptr %6, align 8 %44 = load i32, ptr %43, align 4 %45 = icmp ne i32 %42, %44 br i1 %45, label %46, label %48 46: ; preds = %29 %47 = call i32 @fatal(ptr noundef @.str.4) br label %48 48: ; preds = %46, %29 %49 = load ptr, ptr %7, align 8 %50 = call i32 @fclose(ptr noundef %49) %51 = load ptr, ptr %8, align 8 ret ptr %51 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @fseek(ptr noundef, i64 noundef, i32 noundef) #1 declare i32 @fatal(ptr noundef) #1 declare ptr @MALLOC(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpmec31yf8.c' source_filename = "/tmp/tmpmec31yf8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @_PATH_BSHELL = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [3 x i8] c"sh\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"-c\00", align 1 @SIGINT = dso_local global i32 0, align 4 @SIG_IGN = dso_local global i32 0, align 4 @SIGQUIT = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @susystem(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 i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %10 = call i32 @vfork() #4 store i32 %10, ptr %9, align 4 %11 = load i32, ptr %9, align 4 switch i32 %11, label %20 [ i32 -1, label %12 i32 0, label %13 ] 12: ; preds = %2 store i32 127, ptr %3, align 4 br label %39 13: ; preds = %2 %14 = load i32, ptr %5, align 4 %15 = call i32 @setuid(i32 noundef %14) %16 = load i32, ptr @_PATH_BSHELL, align 4 %17 = load ptr, ptr %4, align 8 %18 = call i32 @execl(i32 noundef %16, ptr noundef @.str, ptr noundef @.str.1, ptr noundef %17, ptr noundef null) %19 = call i32 @_exit(i32 noundef 127) #5 unreachable 20: ; preds = %2 %21 = load i32, ptr @SIGINT, align 4 %22 = load i32, ptr @SIG_IGN, align 4 %23 = call i32 @signal(i32 noundef %21, i32 noundef %22) store i32 %23, ptr %6, align 4 %24 = load i32, ptr @SIGQUIT, align 4 %25 = load i32, ptr @SIG_IGN, align 4 %26 = call i32 @signal(i32 noundef %24, i32 noundef %25) store i32 %26, ptr %7, align 4 %27 = load i32, ptr %9, align 4 %28 = call i64 @waitpid(i32 noundef %27, ptr noundef %8, i32 noundef 0) %29 = icmp slt i64 %28, 0 br i1 %29, label %30, label %31 30: ; preds = %20 store i32 -1, ptr %8, align 4 br label %31 31: ; preds = %30, %20 %32 = load i32, ptr @SIGINT, align 4 %33 = load i32, ptr %6, align 4 %34 = call i32 @signal(i32 noundef %32, i32 noundef %33) %35 = load i32, ptr @SIGQUIT, align 4 %36 = load i32, ptr %7, align 4 %37 = call i32 @signal(i32 noundef %35, i32 noundef %36) %38 = load i32, ptr %8, align 4 store i32 %38, ptr %3, align 4 br label %39 39: ; preds = %31, %12 %40 = load i32, ptr %3, align 4 ret i32 %40 } ; Function Attrs: returns_twice declare i32 @vfork() #1 declare i32 @setuid(i32 noundef) #2 declare i32 @execl(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2 ; Function Attrs: noreturn declare i32 @_exit(i32 noundef) #3 declare i32 @signal(i32 noundef, i32 noundef) #2 declare i64 @waitpid(i32 noundef, ptr noundef, 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 = { returns_twice "frame-pointer"="all" "no-trapping-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 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { returns_twice } attributes #5 = { 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/tmpmec31yf8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @_PATH_BSHELL = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [3 x i8] c"sh\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"-c\00", align 1 @SIGINT = dso_local global i32 0, align 4 @SIG_IGN = dso_local global i32 0, align 4 @SIGQUIT = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @susystem(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 i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %10 = call i32 @vfork() #4 store i32 %10, ptr %9, align 4 %11 = load i32, ptr %9, align 4 switch i32 %11, label %20 [ i32 -1, label %12 i32 0, label %13 ] 12: ; preds = %2 store i32 127, ptr %3, align 4 br label %39 13: ; preds = %2 %14 = load i32, ptr %5, align 4 %15 = call i32 @setuid(i32 noundef %14) %16 = load i32, ptr @_PATH_BSHELL, align 4 %17 = load ptr, ptr %4, align 8 %18 = call i32 @execl(i32 noundef %16, ptr noundef @.str, ptr noundef @.str.1, ptr noundef %17, ptr noundef null) %19 = call i32 @_exit(i32 noundef 127) #5 unreachable 20: ; preds = %2 %21 = load i32, ptr @SIGINT, align 4 %22 = load i32, ptr @SIG_IGN, align 4 %23 = call i32 @signal(i32 noundef %21, i32 noundef %22) store i32 %23, ptr %6, align 4 %24 = load i32, ptr @SIGQUIT, align 4 %25 = load i32, ptr @SIG_IGN, align 4 %26 = call i32 @signal(i32 noundef %24, i32 noundef %25) store i32 %26, ptr %7, align 4 %27 = load i32, ptr %9, align 4 %28 = call i64 @waitpid(i32 noundef %27, ptr noundef %8, i32 noundef 0) %29 = icmp slt i64 %28, 0 br i1 %29, label %30, label %31 30: ; preds = %20 store i32 -1, ptr %8, align 4 br label %31 31: ; preds = %30, %20 %32 = load i32, ptr @SIGINT, align 4 %33 = load i32, ptr %6, align 4 %34 = call i32 @signal(i32 noundef %32, i32 noundef %33) %35 = load i32, ptr @SIGQUIT, align 4 %36 = load i32, ptr %7, align 4 %37 = call i32 @signal(i32 noundef %35, i32 noundef %36) %38 = load i32, ptr %8, align 4 store i32 %38, ptr %3, align 4 br label %39 39: ; preds = %31, %12 %40 = load i32, ptr %3, align 4 ret i32 %40 } ; Function Attrs: returns_twice declare i32 @vfork() #1 declare i32 @setuid(i32 noundef) #2 declare i32 @execl(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2 ; Function Attrs: noreturn declare i32 @_exit(i32 noundef) #3 declare i32 @signal(i32 noundef, i32 noundef) #2 declare i64 @waitpid(i32 noundef, ptr noundef, 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 = { returns_twice "frame-pointer"="all" "no-trapping-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 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { returns_twice } attributes #5 = { 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/tmpxez3b9ht.c' source_filename = "/tmp/tmpxez3b9ht.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @loop() #0 { %1 = alloca i8, align 1 %2 = alloca i64, align 8 %3 = alloca i8, align 1 store i8 0, ptr %1, align 1 store i64 0, ptr %2, align 8 br label %4 4: ; preds = %0, %38 store i8 0, ptr %3, align 1 br label %5 5: ; preds = %25, %4 %6 = load i8, ptr %3, align 1 %7 = zext i8 %6 to i32 %8 = load i8, ptr %1, align 1 %9 = zext i8 %8 to i32 %10 = icmp ne i32 %9, 0 %11 = zext i1 %10 to i64 %12 = select i1 %10, i32 -1, i32 1 %13 = mul nsw i32 1, %12 %14 = add nsw i32 10, %13 %15 = icmp slt i32 %7, %14 br i1 %15, label %16, label %28 16: ; preds = %5 %17 = load i8, ptr %3, align 1 %18 = zext i8 %17 to i32 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %22 20: ; preds = %16 %21 = call i32 (...) @doTick() br label %24 22: ; preds = %16 %23 = call i32 (...) @doSleep() br label %24 24: ; preds = %22, %20 br label %25 25: ; preds = %24 %26 = load i8, ptr %3, align 1 %27 = add i8 %26, 1 store i8 %27, ptr %3, align 1 br label %5, !llvm.loop !6 28: ; preds = %5 %29 = load i64, ptr %2, align 8 %30 = add i64 %29, 1 store i64 %30, ptr %2, align 8 %31 = icmp uge i64 %29, 43200 br i1 %31, label %32, label %38 32: ; preds = %28 store i64 0, ptr %2, align 8 %33 = load i8, ptr %1, align 1 %34 = icmp ne i8 %33, 0 %35 = xor i1 %34, true %36 = zext i1 %35 to i32 %37 = trunc i32 %36 to i8 store i8 %37, ptr %1, align 1 br label %38 38: ; preds = %32, %28 br label %4 } declare i32 @doTick(...) #1 declare i32 @doSleep(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpxez3b9ht.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @loop() #0 { %1 = alloca i8, align 1 %2 = alloca i64, align 8 %3 = alloca i8, align 1 store i8 0, ptr %1, align 1 store i64 0, ptr %2, align 8 br label %4 4: ; preds = %46, %0 store i8 0, ptr %3, align 1 %5 = load i8, ptr %3, align 1 %6 = zext i8 %5 to i32 %7 = load i8, ptr %1, align 1 %8 = zext i8 %7 to i32 %9 = icmp ne i32 %8, 0 %10 = zext i1 %9 to i64 %11 = select i1 %9, i32 -1, i32 1 %12 = add nsw i32 10, %11 %13 = icmp slt i32 %6, %12 br i1 %13, label %.lr.ph, label %36 .lr.ph: ; preds = %4 br label %14 14: ; preds = %.lr.ph, %23 %15 = load i8, ptr %3, align 1 %16 = zext i8 %15 to i32 %17 = icmp eq i32 %16, 0 br i1 %17, label %18, label %20 18: ; preds = %14 %19 = call i32 (...) @doTick() br label %22 20: ; preds = %14 %21 = call i32 (...) @doSleep() br label %22 22: ; preds = %20, %18 br label %23 23: ; preds = %22 %24 = load i8, ptr %3, align 1 %25 = add i8 %24, 1 store i8 %25, ptr %3, align 1 %26 = load i8, ptr %3, align 1 %27 = zext i8 %26 to i32 %28 = load i8, ptr %1, align 1 %29 = zext i8 %28 to i32 %30 = icmp ne i32 %29, 0 %31 = zext i1 %30 to i64 %32 = select i1 %30, i32 -1, i32 1 %33 = mul nsw i32 1, %32 %34 = add nsw i32 10, %33 %35 = icmp slt i32 %27, %34 br i1 %35, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %36 36: ; preds = %._crit_edge, %4 %37 = load i64, ptr %2, align 8 %38 = add i64 %37, 1 store i64 %38, ptr %2, align 8 %39 = icmp uge i64 %37, 43200 br i1 %39, label %40, label %46 40: ; preds = %36 store i64 0, ptr %2, align 8 %41 = load i8, ptr %1, align 1 %42 = icmp ne i8 %41, 0 %43 = xor i1 %42, true %44 = zext i1 %43 to i32 %45 = trunc i32 %44 to i8 store i8 %45, ptr %1, align 1 br label %46 46: ; preds = %40, %36 br label %4 } declare i32 @doTick(...) #1 declare i32 @doSleep(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmplykbszr8.c' source_filename = "/tmp/tmplykbszr8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Never prints\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = call i64 (...) @rand() %3 = trunc i64 %2 to i32 store i32 %3, ptr %1, align 4 %4 = load i32, ptr %1, align 4 %5 = icmp ult i32 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %0 %7 = call i32 @printf(ptr noundef @.str) br label %8 8: ; preds = %6, %0 ret void } declare i64 @rand(...) #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/tmplykbszr8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Never prints\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = call i64 (...) @rand() %3 = trunc i64 %2 to i32 store i32 %3, ptr %1, align 4 %4 = load i32, ptr %1, align 4 %5 = icmp ult i32 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %0 %7 = call i32 @printf(ptr noundef @.str) br label %8 8: ; preds = %6, %0 ret void } declare i64 @rand(...) #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/tmpltll15f4.c' source_filename = "/tmp/tmpltll15f4.c" target datalayout = "e-m:e-p270: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/tmpltll15f4.c" target datalayout = "e-m:e-p270: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/tmp4od062y1.c' source_filename = "/tmp/tmp4od062y1.c" target datalayout = "e-m:e-p270: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/tmp4od062y1.c" target datalayout = "e-m:e-p270: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/tmpg5nu9_vz.c' source_filename = "/tmp/tmpg5nu9_vz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = dso_local global i32 0, align 4 @EOF = dso_local global i8 0, align 1 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 br label %8 8: ; preds = %110, %0 %9 = load i32, ptr @stdin, align 4 %10 = call signext i8 @getc(i32 noundef %9) store i8 %10, ptr %2, align 1 %11 = sext i8 %10 to i32 %12 = load i8, ptr @EOF, align 1 %13 = sext i8 %12 to i32 %14 = icmp ne i32 %11, %13 br i1 %14, label %15, label %111 15: ; preds = %8 %16 = load i8, ptr %2, align 1 %17 = sext i8 %16 to i32 %18 = icmp eq i32 %17, 10 br i1 %18, label %19, label %20 19: ; preds = %15 store i32 0, ptr %5, align 4 store i32 0, ptr %4, align 4 br label %20 20: ; preds = %19, %15 %21 = load i32, ptr %6, align 4 %22 = icmp ne i32 %21, 0 br i1 %22, label %23, label %26 23: ; preds = %20 %24 = load i32, ptr %5, align 4 %25 = icmp ne i32 %24, 0 br i1 %25, label %40, label %26 26: ; preds = %23, %20 %27 = load i8, ptr %2, align 1 %28 = sext i8 %27 to i32 %29 = icmp eq i32 %28, 39 br i1 %29, label %34, label %30 30: ; preds = %26 %31 = load i8, ptr %2, align 1 %32 = sext i8 %31 to i32 %33 = icmp eq i32 %32, 34 br i1 %33, label %34, label %39 34: ; preds = %30, %26 %35 = load i32, ptr %3, align 4 %36 = icmp ne i32 %35, 0 %37 = xor i1 %36, true %38 = zext i1 %37 to i32 store i32 %38, ptr %3, align 4 br label %39 39: ; preds = %34, %30 br label %40 40: ; preds = %39, %23 %41 = load i32, ptr %3, align 4 %42 = icmp ne i32 %41, 0 br i1 %42, label %78, label %43 43: ; preds = %40 %44 = load i32, ptr %5, align 4 %45 = icmp ne i32 %44, 0 br i1 %45, label %78, label %46 46: ; preds = %43 %47 = load i32, ptr %6, align 4 %48 = icmp ne i32 %47, 0 br i1 %48, label %78, label %49 49: ; preds = %46 %50 = load i32, ptr %4, align 4 %51 = icmp eq i32 %50, 1 br i1 %51, label %52, label %70 52: ; preds = %49 %53 = load i32, ptr %5, align 4 %54 = icmp ne i32 %53, 0 br i1 %54, label %70, label %55 55: ; preds = %52 %56 = load i32, ptr %6, align 4 %57 = icmp ne i32 %56, 0 br i1 %57, label %70, label %58 58: ; preds = %55 %59 = load i8, ptr %2, align 1 %60 = sext i8 %59 to i32 %61 = icmp eq i32 %60, 42 br i1 %61, label %62, label %63 62: ; preds = %58 store i32 1, ptr %6, align 4 store i8 32, ptr %2, align 1 br label %69 63: ; preds = %58 %64 = load i8, ptr %2, align 1 %65 = sext i8 %64 to i32 %66 = icmp eq i32 %65, 47 br i1 %66, label %67, label %68 67: ; preds = %63 store i32 1, ptr %5, align 4 store i8 32, ptr %2, align 1 br label %68 68: ; preds = %67, %63 br label %69 69: ; preds = %68, %62 br label %70 70: ; preds = %69, %55, %52, %49 %71 = load i8, ptr %2, align 1 %72 = sext i8 %71 to i32 %73 = icmp eq i32 %72, 47 br i1 %73, label %74, label %77 74: ; preds = %70 %75 = load i32, ptr %4, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %4, align 4 store i8 32, ptr %2, align 1 br label %77 77: ; preds = %74, %70 br label %78 78: ; preds = %77, %46, %43, %40 %79 = load i32, ptr %5, align 4 %80 = icmp ne i32 %79, 0 br i1 %80, label %84, label %81 81: ; preds = %78 %82 = load i32, ptr %6, align 4 %83 = icmp ne i32 %82, 0 br i1 %83, label %84, label %87 84: ; preds = %81, %78 %85 = load i32, ptr @stdout, align 4 %86 = call i32 @putc(i8 noundef signext 32, i32 noundef %85) br label %91 87: ; preds = %81 %88 = load i8, ptr %2, align 1 %89 = load i32, ptr @stdout, align 4 %90 = call i32 @putc(i8 noundef signext %88, i32 noundef %89) br label %91 91: ; preds = %87, %84 %92 = load i32, ptr %6, align 4 %93 = icmp ne i32 %92, 0 br i1 %93, label %94, label %110 94: ; preds = %91 %95 = load i32, ptr %7, align 4 %96 = icmp eq i32 %95, 1 br i1 %96, label %97, label %104 97: ; preds = %94 %98 = load i8, ptr %2, align 1 %99 = sext i8 %98 to i32 %100 = icmp ne i32 %99, 47 br i1 %100, label %101, label %102 101: ; preds = %97 store i32 0, ptr %7, align 4 br label %103 102: ; preds = %97 store i32 0, ptr %6, align 4 br label %103 103: ; preds = %102, %101 br label %104 104: ; preds = %103, %94 %105 = load i8, ptr %2, align 1 %106 = sext i8 %105 to i32 %107 = icmp eq i32 %106, 42 br i1 %107, label %108, label %109 108: ; preds = %104 store i32 1, ptr %7, align 4 br label %109 109: ; preds = %108, %104 br label %110 110: ; preds = %109, %91 br label %8, !llvm.loop !6 111: ; preds = %8 %112 = load i32, ptr %1, align 4 ret i32 %112 } declare signext i8 @getc(i32 noundef) #1 declare i32 @putc(i8 noundef signext, 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/tmpg5nu9_vz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = dso_local global i32 0, align 4 @EOF = dso_local global i8 0, align 1 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 %8 = load i32, ptr @stdin, align 4 %9 = call signext i8 @getc(i32 noundef %8) store i8 %9, ptr %2, align 1 %10 = sext i8 %9 to i32 %11 = load i8, ptr @EOF, align 1 %12 = sext i8 %11 to i32 %13 = icmp ne i32 %10, %12 br i1 %13, label %.lr.ph, label %116 .lr.ph: ; preds = %0 br label %14 14: ; preds = %.lr.ph, %109 %15 = load i8, ptr %2, align 1 %16 = sext i8 %15 to i32 %17 = icmp eq i32 %16, 10 br i1 %17, label %18, label %19 18: ; preds = %14 store i32 0, ptr %5, align 4 store i32 0, ptr %4, align 4 br label %19 19: ; preds = %18, %14 %20 = load i32, ptr %6, align 4 %21 = icmp ne i32 %20, 0 br i1 %21, label %22, label %25 22: ; preds = %19 %23 = load i32, ptr %5, align 4 %24 = icmp ne i32 %23, 0 br i1 %24, label %39, label %25 25: ; preds = %22, %19 %26 = load i8, ptr %2, align 1 %27 = sext i8 %26 to i32 %28 = icmp eq i32 %27, 39 br i1 %28, label %33, label %29 29: ; preds = %25 %30 = load i8, ptr %2, align 1 %31 = sext i8 %30 to i32 %32 = icmp eq i32 %31, 34 br i1 %32, label %33, label %38 33: ; preds = %29, %25 %34 = load i32, ptr %3, align 4 %35 = icmp ne i32 %34, 0 %36 = xor i1 %35, true %37 = zext i1 %36 to i32 store i32 %37, ptr %3, align 4 br label %38 38: ; preds = %33, %29 br label %39 39: ; preds = %38, %22 %40 = load i32, ptr %3, align 4 %41 = icmp ne i32 %40, 0 br i1 %41, label %77, label %42 42: ; preds = %39 %43 = load i32, ptr %5, align 4 %44 = icmp ne i32 %43, 0 br i1 %44, label %77, label %45 45: ; preds = %42 %46 = load i32, ptr %6, align 4 %47 = icmp ne i32 %46, 0 br i1 %47, label %77, label %48 48: ; preds = %45 %49 = load i32, ptr %4, align 4 %50 = icmp eq i32 %49, 1 br i1 %50, label %51, label %69 51: ; preds = %48 %52 = load i32, ptr %5, align 4 %53 = icmp ne i32 %52, 0 br i1 %53, label %69, label %54 54: ; preds = %51 %55 = load i32, ptr %6, align 4 %56 = icmp ne i32 %55, 0 br i1 %56, label %69, label %57 57: ; preds = %54 %58 = load i8, ptr %2, align 1 %59 = sext i8 %58 to i32 %60 = icmp eq i32 %59, 42 br i1 %60, label %61, label %62 61: ; preds = %57 store i32 1, ptr %6, align 4 store i8 32, ptr %2, align 1 br label %68 62: ; preds = %57 %63 = load i8, ptr %2, align 1 %64 = sext i8 %63 to i32 %65 = icmp eq i32 %64, 47 br i1 %65, label %66, label %67 66: ; preds = %62 store i32 1, ptr %5, align 4 store i8 32, ptr %2, align 1 br label %67 67: ; preds = %66, %62 br label %68 68: ; preds = %67, %61 br label %69 69: ; preds = %68, %54, %51, %48 %70 = load i8, ptr %2, align 1 %71 = sext i8 %70 to i32 %72 = icmp eq i32 %71, 47 br i1 %72, label %73, label %76 73: ; preds = %69 %74 = load i32, ptr %4, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %4, align 4 store i8 32, ptr %2, align 1 br label %76 76: ; preds = %73, %69 br label %77 77: ; preds = %76, %45, %42, %39 %78 = load i32, ptr %5, align 4 %79 = icmp ne i32 %78, 0 br i1 %79, label %83, label %80 80: ; preds = %77 %81 = load i32, ptr %6, align 4 %82 = icmp ne i32 %81, 0 br i1 %82, label %83, label %86 83: ; preds = %80, %77 %84 = load i32, ptr @stdout, align 4 %85 = call i32 @putc(i8 noundef signext 32, i32 noundef %84) br label %90 86: ; preds = %80 %87 = load i8, ptr %2, align 1 %88 = load i32, ptr @stdout, align 4 %89 = call i32 @putc(i8 noundef signext %87, i32 noundef %88) br label %90 90: ; preds = %86, %83 %91 = load i32, ptr %6, align 4 %92 = icmp ne i32 %91, 0 br i1 %92, label %93, label %109 93: ; preds = %90 %94 = load i32, ptr %7, align 4 %95 = icmp eq i32 %94, 1 br i1 %95, label %96, label %103 96: ; preds = %93 %97 = load i8, ptr %2, align 1 %98 = sext i8 %97 to i32 %99 = icmp ne i32 %98, 47 br i1 %99, label %100, label %101 100: ; preds = %96 store i32 0, ptr %7, align 4 br label %102 101: ; preds = %96 store i32 0, ptr %6, align 4 br label %102 102: ; preds = %101, %100 br label %103 103: ; preds = %102, %93 %104 = load i8, ptr %2, align 1 %105 = sext i8 %104 to i32 %106 = icmp eq i32 %105, 42 br i1 %106, label %107, label %108 107: ; preds = %103 store i32 1, ptr %7, align 4 br label %108 108: ; preds = %107, %103 br label %109 109: ; preds = %108, %90 %110 = load i32, ptr @stdin, align 4 %111 = call signext i8 @getc(i32 noundef %110) store i8 %111, ptr %2, align 1 %112 = sext i8 %111 to i32 %113 = load i8, ptr @EOF, align 1 %114 = sext i8 %113 to i32 %115 = icmp ne i32 %112, %114 br i1 %115, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %109 br label %116 116: ; preds = %._crit_edge, %0 %117 = load i32, ptr %1, align 4 ret i32 %117 } declare signext i8 @getc(i32 noundef) #1 declare i32 @putc(i8 noundef signext, 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/tmp2p2vim42.c' source_filename = "/tmp/tmp2p2vim42.c" target datalayout = "e-m:e-p270: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/tmp2p2vim42.c" target datalayout = "e-m:e-p270: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/tmpu1evpzn8.c' source_filename = "/tmp/tmpu1evpzn8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @GMP_RNDN = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local x86_fp80 @log1plfr(x86_fp80 noundef %0) #0 { %2 = alloca x86_fp80, align 16 %3 = alloca i32, align 4 %4 = alloca x86_fp80, align 16 store x86_fp80 %0, ptr %2, align 16 %5 = load i32, ptr %3, align 4 %6 = call i32 @mpfr_inits(i32 noundef %5, ptr noundef null) %7 = load i32, ptr %3, align 4 %8 = load x86_fp80, ptr %2, align 16 %9 = load i32, ptr @GMP_RNDN, align 4 %10 = call i32 @mpfr_set_ld(i32 noundef %7, x86_fp80 noundef %8, i32 noundef %9) %11 = load i32, ptr %3, align 4 %12 = load i32, ptr %3, align 4 %13 = load i32, ptr @GMP_RNDN, align 4 %14 = call i32 @mpfr_log1p(i32 noundef %11, i32 noundef %12, i32 noundef %13) %15 = load i32, ptr %3, align 4 %16 = load i32, ptr @GMP_RNDN, align 4 %17 = call x86_fp80 @mpfr_get_ld(i32 noundef %15, i32 noundef %16) store x86_fp80 %17, ptr %4, align 16 %18 = load i32, ptr %3, align 4 %19 = call i32 @mpfr_clears(i32 noundef %18, ptr noundef null) %20 = load x86_fp80, ptr %4, align 16 ret x86_fp80 %20 } declare i32 @mpfr_inits(i32 noundef, ptr noundef) #1 declare i32 @mpfr_set_ld(i32 noundef, x86_fp80 noundef, i32 noundef) #1 declare i32 @mpfr_log1p(i32 noundef, i32 noundef, i32 noundef) #1 declare x86_fp80 @mpfr_get_ld(i32 noundef, i32 noundef) #1 declare i32 @mpfr_clears(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/tmpu1evpzn8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @GMP_RNDN = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local x86_fp80 @log1plfr(x86_fp80 noundef %0) #0 { %2 = alloca x86_fp80, align 16 %3 = alloca i32, align 4 %4 = alloca x86_fp80, align 16 store x86_fp80 %0, ptr %2, align 16 %5 = load i32, ptr %3, align 4 %6 = call i32 @mpfr_inits(i32 noundef %5, ptr noundef null) %7 = load i32, ptr %3, align 4 %8 = load x86_fp80, ptr %2, align 16 %9 = load i32, ptr @GMP_RNDN, align 4 %10 = call i32 @mpfr_set_ld(i32 noundef %7, x86_fp80 noundef %8, i32 noundef %9) %11 = load i32, ptr %3, align 4 %12 = load i32, ptr %3, align 4 %13 = load i32, ptr @GMP_RNDN, align 4 %14 = call i32 @mpfr_log1p(i32 noundef %11, i32 noundef %12, i32 noundef %13) %15 = load i32, ptr %3, align 4 %16 = load i32, ptr @GMP_RNDN, align 4 %17 = call x86_fp80 @mpfr_get_ld(i32 noundef %15, i32 noundef %16) store x86_fp80 %17, ptr %4, align 16 %18 = load i32, ptr %3, align 4 %19 = call i32 @mpfr_clears(i32 noundef %18, ptr noundef null) %20 = load x86_fp80, ptr %4, align 16 ret x86_fp80 %20 } declare i32 @mpfr_inits(i32 noundef, ptr noundef) #1 declare i32 @mpfr_set_ld(i32 noundef, x86_fp80 noundef, i32 noundef) #1 declare i32 @mpfr_log1p(i32 noundef, i32 noundef, i32 noundef) #1 declare x86_fp80 @mpfr_get_ld(i32 noundef, i32 noundef) #1 declare i32 @mpfr_clears(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/tmpb7o2nd3g.c' source_filename = "/tmp/tmpb7o2nd3g.c" target datalayout = "e-m:e-p270: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/tmpb7o2nd3g.c" target datalayout = "e-m:e-p270: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/tmpqnq2so99.c' source_filename = "/tmp/tmpqnq2so99.c" target datalayout = "e-m:e-p270: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.s1 = private unnamed_addr constant [5 x i8] c"aaaa\00", align 1 @__const.main.s2 = private unnamed_addr constant [7 x i8] c"aabbaa\00", align 1 @__const.main.s3 = private unnamed_addr constant [11 x i8] c"aaaabbbccd\00", align 1 @.str = private unnamed_addr constant [5 x i8] c"aaaa\00", align 1 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"bb\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"aaaabbbcc\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"bbbcc\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"Done.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [5 x i8], align 1 %7 = alloca [7 x i8], align 1 %8 = alloca [11 x i8], align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %6, ptr align 1 @__const.main.s1, i64 5, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %7, ptr align 1 @__const.main.s2, i64 7, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %8, ptr align 1 @__const.main.s3, i64 11, i1 false) %9 = getelementptr inbounds [5 x i8], ptr %6, i64 0, i64 0 %10 = call i32 @condense_by_removing(ptr noundef %9, i8 noundef signext 122) %11 = getelementptr inbounds [5 x i8], ptr %6, i64 0, i64 0 %12 = call i32 @strcmp(ptr noundef %11, ptr noundef @.str) %13 = icmp ne i32 %12, 0 %14 = xor i1 %13, true %15 = zext i1 %14 to i32 %16 = call i32 @assert(i32 noundef %15) %17 = getelementptr inbounds [5 x i8], ptr %6, i64 0, i64 0 %18 = call i32 @condense_by_removing(ptr noundef %17, i8 noundef signext 97) %19 = getelementptr inbounds [5 x i8], ptr %6, i64 0, i64 0 %20 = call i32 @strcmp(ptr noundef %19, ptr noundef @.str.1) %21 = icmp ne i32 %20, 0 %22 = xor i1 %21, true %23 = zext i1 %22 to i32 %24 = call i32 @assert(i32 noundef %23) %25 = getelementptr inbounds [7 x i8], ptr %7, i64 0, i64 0 %26 = call i32 @condense_by_removing(ptr noundef %25, i8 noundef signext 97) %27 = getelementptr inbounds [7 x i8], ptr %7, i64 0, i64 0 %28 = call i32 @strcmp(ptr noundef %27, ptr noundef @.str.2) %29 = icmp ne i32 %28, 0 %30 = xor i1 %29, true %31 = zext i1 %30 to i32 %32 = call i32 @assert(i32 noundef %31) %33 = getelementptr inbounds [7 x i8], ptr %7, i64 0, i64 0 %34 = call i32 @condense_by_removing(ptr noundef %33, i8 noundef signext 98) %35 = getelementptr inbounds [7 x i8], ptr %7, i64 0, i64 0 %36 = call i32 @strcmp(ptr noundef %35, ptr noundef @.str.1) %37 = icmp ne i32 %36, 0 %38 = xor i1 %37, true %39 = zext i1 %38 to i32 %40 = call i32 @assert(i32 noundef %39) %41 = getelementptr inbounds [11 x i8], ptr %8, i64 0, i64 0 %42 = call i32 @condense_by_removing(ptr noundef %41, i8 noundef signext 100) %43 = getelementptr inbounds [11 x i8], ptr %8, i64 0, i64 0 %44 = call i32 @strcmp(ptr noundef %43, ptr noundef @.str.3) %45 = icmp ne i32 %44, 0 %46 = xor i1 %45, true %47 = zext i1 %46 to i32 %48 = call i32 @assert(i32 noundef %47) %49 = getelementptr inbounds [11 x i8], ptr %8, i64 0, i64 0 %50 = call i32 @condense_by_removing(ptr noundef %49, i8 noundef signext 97) %51 = getelementptr inbounds [11 x i8], ptr %8, i64 0, i64 0 %52 = call i32 @strcmp(ptr noundef %51, ptr noundef @.str.4) %53 = icmp ne i32 %52, 0 %54 = xor i1 %53, true %55 = zext i1 %54 to i32 %56 = call i32 @assert(i32 noundef %55) %57 = call i32 @printf(ptr noundef @.str.5) 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 i32 @condense_by_removing(ptr noundef, i8 noundef signext) #2 declare i32 @assert(i32 noundef) #2 declare i32 @strcmp(ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqnq2so99.c" target datalayout = "e-m:e-p270: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.s1 = private unnamed_addr constant [5 x i8] c"aaaa\00", align 1 @__const.main.s2 = private unnamed_addr constant [7 x i8] c"aabbaa\00", align 1 @__const.main.s3 = private unnamed_addr constant [11 x i8] c"aaaabbbccd\00", align 1 @.str = private unnamed_addr constant [5 x i8] c"aaaa\00", align 1 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"bb\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"aaaabbbcc\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"bbbcc\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"Done.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [5 x i8], align 1 %7 = alloca [7 x i8], align 1 %8 = alloca [11 x i8], align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %6, ptr align 1 @__const.main.s1, i64 5, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %7, ptr align 1 @__const.main.s2, i64 7, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %8, ptr align 1 @__const.main.s3, i64 11, i1 false) %9 = getelementptr inbounds [5 x i8], ptr %6, i64 0, i64 0 %10 = call i32 @condense_by_removing(ptr noundef %9, i8 noundef signext 122) %11 = getelementptr inbounds [5 x i8], ptr %6, i64 0, i64 0 %12 = call i32 @strcmp(ptr noundef %11, ptr noundef @.str) %13 = icmp ne i32 %12, 0 %14 = xor i1 %13, true %15 = zext i1 %14 to i32 %16 = call i32 @assert(i32 noundef %15) %17 = getelementptr inbounds [5 x i8], ptr %6, i64 0, i64 0 %18 = call i32 @condense_by_removing(ptr noundef %17, i8 noundef signext 97) %19 = getelementptr inbounds [5 x i8], ptr %6, i64 0, i64 0 %20 = call i32 @strcmp(ptr noundef %19, ptr noundef @.str.1) %21 = icmp ne i32 %20, 0 %22 = xor i1 %21, true %23 = zext i1 %22 to i32 %24 = call i32 @assert(i32 noundef %23) %25 = getelementptr inbounds [7 x i8], ptr %7, i64 0, i64 0 %26 = call i32 @condense_by_removing(ptr noundef %25, i8 noundef signext 97) %27 = getelementptr inbounds [7 x i8], ptr %7, i64 0, i64 0 %28 = call i32 @strcmp(ptr noundef %27, ptr noundef @.str.2) %29 = icmp ne i32 %28, 0 %30 = xor i1 %29, true %31 = zext i1 %30 to i32 %32 = call i32 @assert(i32 noundef %31) %33 = getelementptr inbounds [7 x i8], ptr %7, i64 0, i64 0 %34 = call i32 @condense_by_removing(ptr noundef %33, i8 noundef signext 98) %35 = getelementptr inbounds [7 x i8], ptr %7, i64 0, i64 0 %36 = call i32 @strcmp(ptr noundef %35, ptr noundef @.str.1) %37 = icmp ne i32 %36, 0 %38 = xor i1 %37, true %39 = zext i1 %38 to i32 %40 = call i32 @assert(i32 noundef %39) %41 = getelementptr inbounds [11 x i8], ptr %8, i64 0, i64 0 %42 = call i32 @condense_by_removing(ptr noundef %41, i8 noundef signext 100) %43 = getelementptr inbounds [11 x i8], ptr %8, i64 0, i64 0 %44 = call i32 @strcmp(ptr noundef %43, ptr noundef @.str.3) %45 = icmp ne i32 %44, 0 %46 = xor i1 %45, true %47 = zext i1 %46 to i32 %48 = call i32 @assert(i32 noundef %47) %49 = getelementptr inbounds [11 x i8], ptr %8, i64 0, i64 0 %50 = call i32 @condense_by_removing(ptr noundef %49, i8 noundef signext 97) %51 = getelementptr inbounds [11 x i8], ptr %8, i64 0, i64 0 %52 = call i32 @strcmp(ptr noundef %51, ptr noundef @.str.4) %53 = icmp ne i32 %52, 0 %54 = xor i1 %53, true %55 = zext i1 %54 to i32 %56 = call i32 @assert(i32 noundef %55) %57 = call i32 @printf(ptr noundef @.str.5) 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 i32 @condense_by_removing(ptr noundef, i8 noundef signext) #2 declare i32 @assert(i32 noundef) #2 declare i32 @strcmp(ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: 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"}
; ModuleID = '/tmp/tmpmvz_59bt.c' source_filename = "/tmp/tmpmvz_59bt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ERROR: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @yyerror(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 @printf(ptr noundef @.str, ptr noundef %3) ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmvz_59bt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ERROR: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @yyerror(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 @printf(ptr noundef @.str, ptr noundef %3) ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpm8ft5uts.c' source_filename = "/tmp/tmpm8ft5uts.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"usage: %s [-vh?Vidq] [-w 0x<addr> -z 0x<data>]\0A\00", align 1 @.str.1 = private unnamed_addr constant [433 x i8] c"\0A -v | --version: print the version\0A -h | --help: print this help\0A\0A -V | --verbose: print debug information\0A -d | --dump: print RAM\0A -i | --idx: print IDX RAM & RAM\0A -q | --query: print query byte\0A -w <addr in hex> write to addr\0A -z <data in hex> write to data\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %3) %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %6 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm8ft5uts.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"usage: %s [-vh?Vidq] [-w 0x<addr> -z 0x<data>]\0A\00", align 1 @.str.1 = private unnamed_addr constant [433 x i8] c"\0A -v | --version: print the version\0A -h | --help: print this help\0A\0A -V | --verbose: print debug information\0A -d | --dump: print RAM\0A -i | --idx: print IDX RAM & RAM\0A -q | --query: print query byte\0A -w <addr in hex> write to addr\0A -z <data in hex> write to data\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %3) %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %6 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpork0bglt.c' source_filename = "/tmp/tmpork0bglt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"aaa\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"0123\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [128 x i8], align 16 store i32 0, ptr %1, align 4 call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 128, i1 false) %3 = getelementptr inbounds [128 x i8], ptr %2, i32 0, i32 0 store i8 48, ptr %3, align 16 %4 = getelementptr inbounds [128 x i8], ptr %2, i32 0, i32 1 store i8 49, ptr %4, align 1 %5 = getelementptr inbounds [128 x i8], ptr %2, i32 0, i32 2 store i8 50, ptr %5, align 2 %6 = getelementptr inbounds [128 x i8], ptr %2, i32 0, i32 3 store i8 51, ptr %6, align 1 %7 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 store i8 0, ptr %7, align 16 %8 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %9 = call ptr @ho_strncat(ptr noundef %8, ptr noundef @.str.1, i32 noundef 2) %10 = call i32 @printf(ptr noundef @.str, ptr noundef %9) %11 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %12 = call i32 @strcpy(ptr noundef %11, ptr noundef @.str.2) %13 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 store i8 0, ptr %13, align 16 %14 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %15 = call ptr @strncat(ptr noundef %14, ptr noundef @.str.1, i32 noundef 2) %16 = call i32 @printf(ptr noundef @.str, ptr noundef %15) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ptr noundef) #2 declare ptr @ho_strncat(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @strcpy(ptr noundef, ptr noundef) #2 declare ptr @strncat(ptr noundef, ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpork0bglt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"aaa\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"0123\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [128 x i8], align 16 store i32 0, ptr %1, align 4 call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 128, i1 false) %3 = getelementptr inbounds [128 x i8], ptr %2, i32 0, i32 0 store i8 48, ptr %3, align 16 %4 = getelementptr inbounds [128 x i8], ptr %2, i32 0, i32 1 store i8 49, ptr %4, align 1 %5 = getelementptr inbounds [128 x i8], ptr %2, i32 0, i32 2 store i8 50, ptr %5, align 2 %6 = getelementptr inbounds [128 x i8], ptr %2, i32 0, i32 3 store i8 51, ptr %6, align 1 %7 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 store i8 0, ptr %7, align 16 %8 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %9 = call ptr @ho_strncat(ptr noundef %8, ptr noundef @.str.1, i32 noundef 2) %10 = call i32 @printf(ptr noundef @.str, ptr noundef %9) %11 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %12 = call i32 @strcpy(ptr noundef %11, ptr noundef @.str.2) %13 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 store i8 0, ptr %13, align 16 %14 = getelementptr inbounds [128 x i8], ptr %2, i64 0, i64 0 %15 = call ptr @strncat(ptr noundef %14, ptr noundef @.str.1, i32 noundef 2) %16 = call i32 @printf(ptr noundef @.str, ptr noundef %15) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ptr noundef) #2 declare ptr @ho_strncat(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @strcpy(ptr noundef, ptr noundef) #2 declare ptr @strncat(ptr noundef, ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpe6pb5m9k.c' source_filename = "/tmp/tmpe6pb5m9k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"%3.0f %6.1f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 store i32 300, ptr %5, align 4 store i32 20, ptr %6, align 4 %7 = load i32, ptr %4, align 4 %8 = sitofp i32 %7 to float store float %8, ptr %2, align 4 br label %9 9: ; preds = %14, %0 %10 = load float, ptr %2, align 4 %11 = load i32, ptr %5, align 4 %12 = sitofp i32 %11 to float %13 = fcmp ole float %10, %12 br i1 %13, label %14, label %24 14: ; preds = %9 %15 = load float, ptr %2, align 4 %16 = call float @ftoc(float noundef %15) store float %16, ptr %3, align 4 %17 = load float, ptr %2, align 4 %18 = load float, ptr %3, align 4 %19 = call i32 @printf(ptr noundef @.str, float noundef %17, float noundef %18) %20 = load float, ptr %2, align 4 %21 = load i32, ptr %6, align 4 %22 = sitofp i32 %21 to float %23 = fadd float %20, %22 store float %23, ptr %2, align 4 br label %9, !llvm.loop !6 24: ; preds = %9 %25 = load i32, ptr %1, align 4 ret i32 %25 } declare float @ftoc(float noundef) #1 declare i32 @printf(ptr noundef, float noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpe6pb5m9k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"%3.0f %6.1f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 store i32 300, ptr %5, align 4 store i32 20, ptr %6, align 4 %7 = load i32, ptr %4, align 4 %8 = sitofp i32 %7 to float store float %8, ptr %2, align 4 %9 = load float, ptr %2, align 4 %10 = load i32, ptr %5, align 4 %11 = sitofp i32 %10 to float %12 = fcmp ole float %9, %11 br i1 %12, label %.lr.ph, label %27 .lr.ph: ; preds = %0 br label %13 13: ; preds = %.lr.ph, %13 %14 = load float, ptr %2, align 4 %15 = call float @ftoc(float noundef %14) store float %15, ptr %3, align 4 %16 = load float, ptr %2, align 4 %17 = load float, ptr %3, align 4 %18 = call i32 @printf(ptr noundef @.str, float noundef %16, float noundef %17) %19 = load float, ptr %2, align 4 %20 = load i32, ptr %6, align 4 %21 = sitofp i32 %20 to float %22 = fadd float %19, %21 store float %22, ptr %2, align 4 %23 = load float, ptr %2, align 4 %24 = load i32, ptr %5, align 4 %25 = sitofp i32 %24 to float %26 = fcmp ole float %23, %25 br i1 %26, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %27 27: ; preds = %._crit_edge, %0 %28 = load i32, ptr %1, align 4 ret i32 %28 } declare float @ftoc(float noundef) #1 declare i32 @printf(ptr noundef, float noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpj7t0oxy8.c' source_filename = "/tmp/tmpj7t0oxy8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"tracing\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"%x %x %x %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"Version: \00", align 1 @EOF = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.5 = private unnamed_addr constant [48 x i8] c"Endianess: %d\09Bytes per Long: %d\09Page size: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @initial_read(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [16 x i8], align 16 store ptr %0, ptr %3, align 8 %7 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0 %8 = load ptr, ptr %3, align 8 %9 = call i32 @fread(ptr noundef %7, i32 noundef 10, i32 noundef 1, ptr noundef %8) store i32 %9, ptr %5, align 4 %10 = load i32, ptr %5, align 4 %11 = icmp ne i32 %10, 1 br i1 %11, label %12, label %13 12: ; preds = %1 store i32 -1, ptr %2, align 4 br label %97 13: ; preds = %1 %14 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0 %15 = load i8, ptr %14, align 16 %16 = sext i8 %15 to i32 %17 = icmp ne i32 %16, 23 br i1 %17, label %33, label %18 18: ; preds = %13 %19 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 1 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = icmp ne i32 %21, 8 br i1 %22, label %33, label %23 23: ; preds = %18 %24 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 2 %25 = load i8, ptr %24, align 2 %26 = sext i8 %25 to i32 %27 = icmp ne i32 %26, 68 br i1 %27, label %33, label %28 28: ; preds = %23 %29 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0 %30 = getelementptr inbounds i8, ptr %29, i64 3 %31 = call i64 @memcmp(ptr noundef %30, ptr noundef @.str, i32 noundef 7) %32 = icmp ne i64 %31, 0 br i1 %32, label %33, label %46 33: ; preds = %28, %23, %18, %13 %34 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0 %35 = load i8, ptr %34, align 16 %36 = sext i8 %35 to i32 %37 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 1 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 2 %41 = load i8, ptr %40, align 2 %42 = sext i8 %41 to i32 %43 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0 %44 = getelementptr inbounds i8, ptr %43, i64 3 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %36, i32 noundef %39, i32 noundef %42, ptr noundef %44) store i32 -2, ptr %2, align 4 br label %97 46: ; preds = %28 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 1, ptr %4, align 4 br label %48 48: ; preds = %58, %46 %49 = load i32, ptr %4, align 4 %50 = icmp ne i32 %49, 0 br i1 %50, label %51, label %63 51: ; preds = %48 %52 = load ptr, ptr %3, align 8 %53 = call i32 @fgetc(ptr noundef %52) store i32 %53, ptr %4, align 4 %54 = load i32, ptr %4, align 4 %55 = load i32, ptr @EOF, align 4 %56 = icmp eq i32 %54, %55 br i1 %56, label %57, label %58 57: ; preds = %51 store i32 -1, ptr %2, align 4 br label %97 58: ; preds = %51 %59 = load i32, ptr %4, align 4 %60 = trunc i32 %59 to i8 %61 = sext i8 %60 to i32 %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %61) br label %48, !llvm.loop !6 63: ; preds = %48 %64 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %65 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0 %66 = load ptr, ptr %3, align 8 %67 = call i32 @fread(ptr noundef %65, i32 noundef 6, i32 noundef 1, ptr noundef %66) store i32 %67, ptr %5, align 4 %68 = load i32, ptr %5, align 4 %69 = icmp ne i32 %68, 1 br i1 %69, label %70, label %71 70: ; preds = %63 store i32 -1, ptr %2, align 4 br label %97 71: ; preds = %63 %72 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0 %73 = load i8, ptr %72, align 16 %74 = sext i8 %73 to i32 %75 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 1 %76 = load i8, ptr %75, align 1 %77 = sext i8 %76 to i32 %78 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 2 %79 = load i8, ptr %78, align 2 %80 = sext i8 %79 to i32 %81 = shl i32 %80, 24 %82 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 3 %83 = load i8, ptr %82, align 1 %84 = sext i8 %83 to i32 %85 = shl i32 %84, 16 %86 = add nsw i32 %81, %85 %87 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 4 %88 = load i8, ptr %87, align 4 %89 = sext i8 %88 to i32 %90 = shl i32 %89, 8 %91 = add nsw i32 %86, %90 %92 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 5 %93 = load i8, ptr %92, align 1 %94 = sext i8 %93 to i32 %95 = add nsw i32 %91, %94 %96 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %74, i32 noundef %77, i32 noundef %95) store i32 0, ptr %2, align 4 br label %97 97: ; preds = %71, %70, %57, %33, %12 %98 = load i32, ptr %2, align 4 ret i32 %98 } declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @fgetc(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpj7t0oxy8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"tracing\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"%x %x %x %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"Version: \00", align 1 @EOF = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.5 = private unnamed_addr constant [48 x i8] c"Endianess: %d\09Bytes per Long: %d\09Page size: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @initial_read(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [16 x i8], align 16 store ptr %0, ptr %3, align 8 %7 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0 %8 = load ptr, ptr %3, align 8 %9 = call i32 @fread(ptr noundef %7, i32 noundef 10, i32 noundef 1, ptr noundef %8) store i32 %9, ptr %5, align 4 %10 = load i32, ptr %5, align 4 %11 = icmp ne i32 %10, 1 br i1 %11, label %12, label %13 12: ; preds = %1 store i32 -1, ptr %2, align 4 br label %98 13: ; preds = %1 %14 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0 %15 = load i8, ptr %14, align 16 %16 = sext i8 %15 to i32 %17 = icmp ne i32 %16, 23 br i1 %17, label %33, label %18 18: ; preds = %13 %19 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 1 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = icmp ne i32 %21, 8 br i1 %22, label %33, label %23 23: ; preds = %18 %24 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 2 %25 = load i8, ptr %24, align 2 %26 = sext i8 %25 to i32 %27 = icmp ne i32 %26, 68 br i1 %27, label %33, label %28 28: ; preds = %23 %29 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0 %30 = getelementptr inbounds i8, ptr %29, i64 3 %31 = call i64 @memcmp(ptr noundef %30, ptr noundef @.str, i32 noundef 7) %32 = icmp ne i64 %31, 0 br i1 %32, label %33, label %46 33: ; preds = %28, %23, %18, %13 %34 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0 %35 = load i8, ptr %34, align 16 %36 = sext i8 %35 to i32 %37 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 1 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 2 %41 = load i8, ptr %40, align 2 %42 = sext i8 %41 to i32 %43 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0 %44 = getelementptr inbounds i8, ptr %43, i64 3 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %36, i32 noundef %39, i32 noundef %42, ptr noundef %44) store i32 -2, ptr %2, align 4 br label %98 46: ; preds = %28 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 1, ptr %4, align 4 %48 = load i32, ptr %4, align 4 %49 = icmp ne i32 %48, 0 br i1 %49, label %.lr.ph, label %64 .lr.ph: ; preds = %46 br label %50 50: ; preds = %.lr.ph, %57 %51 = load ptr, ptr %3, align 8 %52 = call i32 @fgetc(ptr noundef %51) store i32 %52, ptr %4, align 4 %53 = load i32, ptr %4, align 4 %54 = load i32, ptr @EOF, align 4 %55 = icmp eq i32 %53, %54 br i1 %55, label %56, label %57 56: ; preds = %50 store i32 -1, ptr %2, align 4 br label %98 57: ; preds = %50 %58 = load i32, ptr %4, align 4 %59 = trunc i32 %58 to i8 %60 = sext i8 %59 to i32 %61 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %60) %62 = load i32, ptr %4, align 4 %63 = icmp ne i32 %62, 0 br i1 %63, label %50, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %57 br label %64 64: ; preds = %._crit_edge, %46 %65 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %66 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0 %67 = load ptr, ptr %3, align 8 %68 = call i32 @fread(ptr noundef %66, i32 noundef 6, i32 noundef 1, ptr noundef %67) store i32 %68, ptr %5, align 4 %69 = load i32, ptr %5, align 4 %70 = icmp ne i32 %69, 1 br i1 %70, label %71, label %72 71: ; preds = %64 store i32 -1, ptr %2, align 4 br label %98 72: ; preds = %64 %73 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0 %74 = load i8, ptr %73, align 16 %75 = sext i8 %74 to i32 %76 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 1 %77 = load i8, ptr %76, align 1 %78 = sext i8 %77 to i32 %79 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 2 %80 = load i8, ptr %79, align 2 %81 = sext i8 %80 to i32 %82 = shl i32 %81, 24 %83 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 3 %84 = load i8, ptr %83, align 1 %85 = sext i8 %84 to i32 %86 = shl i32 %85, 16 %87 = add nsw i32 %82, %86 %88 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 4 %89 = load i8, ptr %88, align 4 %90 = sext i8 %89 to i32 %91 = shl i32 %90, 8 %92 = add nsw i32 %87, %91 %93 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 5 %94 = load i8, ptr %93, align 1 %95 = sext i8 %94 to i32 %96 = add nsw i32 %92, %95 %97 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %75, i32 noundef %78, i32 noundef %96) store i32 0, ptr %2, align 4 br label %98 98: ; preds = %72, %71, %56, %33, %12 %99 = load i32, ptr %2, align 4 ret i32 %99 } declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @fgetc(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpye9nwdbc.c' source_filename = "/tmp/tmpye9nwdbc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vfs_open(ptr noundef %0, i32 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 i32, align 4 %9 = alloca [64 x i8], align 16 %10 = alloca [64 x i8], align 16 %11 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %12 = load ptr, ptr %4, align 8 store ptr %12, ptr %6, align 8 %13 = load i32, ptr %5, align 4 store i32 %13, ptr %8, align 4 %14 = load ptr, ptr %6, align 8 %15 = getelementptr inbounds [64 x i8], ptr %9, i64 0, i64 0 %16 = call i32 @path_abs(ptr noundef %14, ptr noundef %15, i32 noundef 64) %17 = getelementptr inbounds [64 x i8], ptr %9, i64 0, i64 0 %18 = call ptr @fno_search(ptr noundef %17) store ptr %18, ptr %7, align 8 %19 = load ptr, ptr %7, align 8 %20 = icmp ne ptr %19, null br i1 %20, label %21, label %29 21: ; preds = %2 %22 = getelementptr inbounds [64 x i8], ptr %9, i64 0, i64 0 %23 = load i32, ptr %8, align 4 %24 = call i64 @fatfs_open(ptr noundef %22, i32 noundef %23) %25 = icmp ne i64 %24, 0 br i1 %25, label %26, label %28 26: ; preds = %21 %27 = load ptr, ptr %7, align 8 store ptr %27, ptr %3, align 8 br label %43 28: ; preds = %21 br label %29 29: ; preds = %28, %2 %30 = getelementptr inbounds [64 x i8], ptr %9, i64 0, i64 0 %31 = call ptr @fno_create_file(ptr noundef %30) store ptr %31, ptr %7, align 8 %32 = load ptr, ptr %7, align 8 %33 = icmp ne ptr %32, null br i1 %33, label %34, label %42 34: ; preds = %29 %35 = getelementptr inbounds [64 x i8], ptr %9, i64 0, i64 0 %36 = load i32, ptr %8, align 4 %37 = call i64 @fatfs_open(ptr noundef %35, i32 noundef %36) %38 = icmp ne i64 %37, 0 br i1 %38, label %39, label %41 39: ; preds = %34 %40 = load ptr, ptr %7, align 8 store ptr %40, ptr %3, align 8 br label %43 41: ; preds = %34 br label %42 42: ; preds = %41, %29 store ptr null, ptr %3, align 8 br label %43 43: ; preds = %42, %39, %26 %44 = load ptr, ptr %3, align 8 ret ptr %44 } declare i32 @path_abs(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @fno_search(ptr noundef) #1 declare i64 @fatfs_open(ptr noundef, i32 noundef) #1 declare ptr @fno_create_file(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpye9nwdbc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vfs_open(ptr noundef %0, i32 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 i32, align 4 %9 = alloca [64 x i8], align 16 %10 = alloca [64 x i8], align 16 %11 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %12 = load ptr, ptr %4, align 8 store ptr %12, ptr %6, align 8 %13 = load i32, ptr %5, align 4 store i32 %13, ptr %8, align 4 %14 = load ptr, ptr %6, align 8 %15 = getelementptr inbounds [64 x i8], ptr %9, i64 0, i64 0 %16 = call i32 @path_abs(ptr noundef %14, ptr noundef %15, i32 noundef 64) %17 = getelementptr inbounds [64 x i8], ptr %9, i64 0, i64 0 %18 = call ptr @fno_search(ptr noundef %17) store ptr %18, ptr %7, align 8 %19 = load ptr, ptr %7, align 8 %20 = icmp ne ptr %19, null br i1 %20, label %21, label %29 21: ; preds = %2 %22 = getelementptr inbounds [64 x i8], ptr %9, i64 0, i64 0 %23 = load i32, ptr %8, align 4 %24 = call i64 @fatfs_open(ptr noundef %22, i32 noundef %23) %25 = icmp ne i64 %24, 0 br i1 %25, label %26, label %28 26: ; preds = %21 %27 = load ptr, ptr %7, align 8 store ptr %27, ptr %3, align 8 br label %43 28: ; preds = %21 br label %29 29: ; preds = %28, %2 %30 = getelementptr inbounds [64 x i8], ptr %9, i64 0, i64 0 %31 = call ptr @fno_create_file(ptr noundef %30) store ptr %31, ptr %7, align 8 %32 = load ptr, ptr %7, align 8 %33 = icmp ne ptr %32, null br i1 %33, label %34, label %42 34: ; preds = %29 %35 = getelementptr inbounds [64 x i8], ptr %9, i64 0, i64 0 %36 = load i32, ptr %8, align 4 %37 = call i64 @fatfs_open(ptr noundef %35, i32 noundef %36) %38 = icmp ne i64 %37, 0 br i1 %38, label %39, label %41 39: ; preds = %34 %40 = load ptr, ptr %7, align 8 store ptr %40, ptr %3, align 8 br label %43 41: ; preds = %34 br label %42 42: ; preds = %41, %29 store ptr null, ptr %3, align 8 br label %43 43: ; preds = %42, %39, %26 %44 = load ptr, ptr %3, align 8 ret ptr %44 } declare i32 @path_abs(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @fno_search(ptr noundef) #1 declare i64 @fatfs_open(ptr noundef, i32 noundef) #1 declare ptr @fno_create_file(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptps0eqdw.c' source_filename = "/tmp/tmptps0eqdw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @I2C_SLAVE = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [26 x i8] c"ioctl() I2C_SLAVE failed\0A\00", align 1 @.str.1 = private unnamed_addr constant [42 x i8] c"Error could not write buffer to slave...\0A\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"Wrote buffer to slave...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @write_test(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca [10 x i8], align 1 store i32 %0, ptr %2, align 4 %4 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 store i8 -34, ptr %4, align 1 %5 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 1 store i8 -15, ptr %5, align 1 %6 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 2 store i8 -42, ptr %6, align 1 %7 = load i32, ptr %2, align 4 %8 = load i32, ptr @I2C_SLAVE, align 4 %9 = call i64 @ioctl(i32 noundef %7, i32 noundef %8, i32 noundef 18) %10 = icmp slt i64 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %1 %12 = call i32 @perror(ptr noundef @.str) br label %22 13: ; preds = %1 %14 = load i32, ptr %2, align 4 %15 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %16 = call i32 @write(i32 noundef %14, ptr noundef %15, i32 noundef 3) %17 = icmp ne i32 %16, 3 br i1 %17, label %18, label %20 18: ; preds = %13 %19 = call i32 @printf(ptr noundef @.str.1) br label %22 20: ; preds = %13 %21 = call i32 @printf(ptr noundef @.str.2) br label %22 22: ; preds = %11, %18, %20 ret void } declare i64 @ioctl(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptps0eqdw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @I2C_SLAVE = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [26 x i8] c"ioctl() I2C_SLAVE failed\0A\00", align 1 @.str.1 = private unnamed_addr constant [42 x i8] c"Error could not write buffer to slave...\0A\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"Wrote buffer to slave...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @write_test(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca [10 x i8], align 1 store i32 %0, ptr %2, align 4 %4 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 store i8 -34, ptr %4, align 1 %5 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 1 store i8 -15, ptr %5, align 1 %6 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 2 store i8 -42, ptr %6, align 1 %7 = load i32, ptr %2, align 4 %8 = load i32, ptr @I2C_SLAVE, align 4 %9 = call i64 @ioctl(i32 noundef %7, i32 noundef %8, i32 noundef 18) %10 = icmp slt i64 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %1 %12 = call i32 @perror(ptr noundef @.str) br label %22 13: ; preds = %1 %14 = load i32, ptr %2, align 4 %15 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %16 = call i32 @write(i32 noundef %14, ptr noundef %15, i32 noundef 3) %17 = icmp ne i32 %16, 3 br i1 %17, label %18, label %20 18: ; preds = %13 %19 = call i32 @printf(ptr noundef @.str.1) br label %22 20: ; preds = %13 %21 = call i32 @printf(ptr noundef @.str.2) br label %22 22: ; preds = %20, %18, %11 ret void } declare i64 @ioctl(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpddr0dx4o.c' source_filename = "/tmp/tmpddr0dx4o.c" target datalayout = "e-m:e-p270: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/tmpddr0dx4o.c" target datalayout = "e-m:e-p270: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/tmpg1arpore.c' source_filename = "/tmp/tmpg1arpore.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"Not enough params\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%511s\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"ruser\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"password\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"rcommand\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"rhost\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [512 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = load i32, ptr %4, align 4 %8 = icmp ne i32 %7, 4 br i1 %8, label %9, label %11 9: ; preds = %2 %10 = call i32 @printf(ptr noundef @.str) store i32 -1, ptr %3, align 4 br label %43 11: ; preds = %2 %12 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0 %13 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %12) %14 = icmp ne i32 %13, 1 br i1 %14, label %15, label %16 15: ; preds = %11 store i32 -1, ptr %3, align 4 br label %43 16: ; preds = %11 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 2 %19 = load ptr, ptr %18, align 8 %20 = call i64 @strcmp(ptr noundef %19, ptr noundef @.str.2) %21 = icmp ne i64 %20, 0 br i1 %21, label %22, label %23 22: ; preds = %16 store i32 -1, ptr %3, align 4 br label %43 23: ; preds = %16 %24 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0 %25 = call i64 @strcmp(ptr noundef %24, ptr noundef @.str.3) %26 = icmp ne i64 %25, 0 br i1 %26, label %27, label %28 27: ; preds = %23 store i32 -1, ptr %3, align 4 br label %43 28: ; preds = %23 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds ptr, ptr %29, i64 3 %31 = load ptr, ptr %30, align 8 %32 = call i64 @strcmp(ptr noundef %31, ptr noundef @.str.4) %33 = icmp ne i64 %32, 0 br i1 %33, label %34, label %35 34: ; preds = %28 store i32 -1, ptr %3, align 4 br label %43 35: ; preds = %28 %36 = load ptr, ptr %5, align 8 %37 = getelementptr inbounds ptr, ptr %36, i64 1 %38 = load ptr, ptr %37, align 8 %39 = call i64 @strcmp(ptr noundef %38, ptr noundef @.str.5) %40 = icmp ne i64 %39, 0 br i1 %40, label %41, label %42 41: ; preds = %35 store i32 -1, ptr %3, align 4 br label %43 42: ; preds = %35 store i32 0, ptr %3, align 4 br label %43 43: ; preds = %42, %41, %34, %27, %22, %15, %9 %44 = load i32, ptr %3, align 4 ret i32 %44 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i64 @strcmp(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/tmpg1arpore.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"Not enough params\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%511s\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"ruser\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"password\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"rcommand\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"rhost\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [512 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = load i32, ptr %4, align 4 %8 = icmp ne i32 %7, 4 br i1 %8, label %9, label %11 9: ; preds = %2 %10 = call i32 @printf(ptr noundef @.str) store i32 -1, ptr %3, align 4 br label %43 11: ; preds = %2 %12 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0 %13 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %12) %14 = icmp ne i32 %13, 1 br i1 %14, label %15, label %16 15: ; preds = %11 store i32 -1, ptr %3, align 4 br label %43 16: ; preds = %11 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 2 %19 = load ptr, ptr %18, align 8 %20 = call i64 @strcmp(ptr noundef %19, ptr noundef @.str.2) %21 = icmp ne i64 %20, 0 br i1 %21, label %22, label %23 22: ; preds = %16 store i32 -1, ptr %3, align 4 br label %43 23: ; preds = %16 %24 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0 %25 = call i64 @strcmp(ptr noundef %24, ptr noundef @.str.3) %26 = icmp ne i64 %25, 0 br i1 %26, label %27, label %28 27: ; preds = %23 store i32 -1, ptr %3, align 4 br label %43 28: ; preds = %23 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds ptr, ptr %29, i64 3 %31 = load ptr, ptr %30, align 8 %32 = call i64 @strcmp(ptr noundef %31, ptr noundef @.str.4) %33 = icmp ne i64 %32, 0 br i1 %33, label %34, label %35 34: ; preds = %28 store i32 -1, ptr %3, align 4 br label %43 35: ; preds = %28 %36 = load ptr, ptr %5, align 8 %37 = getelementptr inbounds ptr, ptr %36, i64 1 %38 = load ptr, ptr %37, align 8 %39 = call i64 @strcmp(ptr noundef %38, ptr noundef @.str.5) %40 = icmp ne i64 %39, 0 br i1 %40, label %41, label %42 41: ; preds = %35 store i32 -1, ptr %3, align 4 br label %43 42: ; preds = %35 store i32 0, ptr %3, align 4 br label %43 43: ; preds = %42, %41, %34, %27, %22, %15, %9 %44 = load i32, ptr %3, align 4 ret i32 %44 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i64 @strcmp(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/tmpf7kw8szd.c' source_filename = "/tmp/tmpf7kw8szd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @transpose(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %12 = load ptr, ptr %6, align 8 store ptr %12, ptr %9, align 8 %13 = load ptr, ptr %5, align 8 %14 = load ptr, ptr %6, align 8 %15 = icmp eq ptr %13, %14 br i1 %15, label %16, label %21 16: ; preds = %4 %17 = load ptr, ptr %6, align 8 %18 = load i32, ptr %7, align 4 %19 = load i32, ptr %8, align 4 %20 = call ptr @matrix_clone(ptr noundef %17, i32 noundef %18, i32 noundef %19) store ptr %20, ptr %9, align 8 br label %21 21: ; preds = %16, %4 store i32 0, ptr %10, align 4 br label %22 22: ; preds = %53, %21 %23 = load i32, ptr %10, align 4 %24 = load i32, ptr %7, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %26, label %56 26: ; preds = %22 store i32 0, ptr %11, align 4 br label %27 27: ; preds = %49, %26 %28 = load i32, ptr %11, align 4 %29 = load i32, ptr %8, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %31, label %52 31: ; preds = %27 %32 = load ptr, ptr %9, align 8 %33 = load i32, ptr %10, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds ptr, ptr %32, i64 %34 %36 = load ptr, ptr %35, align 8 %37 = load i32, ptr %11, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds double, ptr %36, i64 %38 %40 = load double, ptr %39, align 8 %41 = load ptr, ptr %5, align 8 %42 = load i32, ptr %11, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds ptr, ptr %41, i64 %43 %45 = load ptr, ptr %44, align 8 %46 = load i32, ptr %10, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds double, ptr %45, i64 %47 store double %40, ptr %48, align 8 br label %49 49: ; preds = %31 %50 = load i32, ptr %11, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %11, align 4 br label %27, !llvm.loop !6 52: ; preds = %27 br label %53 53: ; preds = %52 %54 = load i32, ptr %10, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %10, align 4 br label %22, !llvm.loop !8 56: ; preds = %22 %57 = load ptr, ptr %5, align 8 %58 = load ptr, ptr %6, align 8 %59 = icmp eq ptr %57, %58 br i1 %59, label %60, label %63 60: ; preds = %56 %61 = load ptr, ptr %9, align 8 %62 = call i32 @free_matrix2(ptr noundef %61) br label %63 63: ; preds = %60, %56 ret void } declare ptr @matrix_clone(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @free_matrix2(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpf7kw8szd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @transpose(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %12 = load ptr, ptr %6, align 8 store ptr %12, ptr %9, align 8 %13 = load ptr, ptr %5, align 8 %14 = load ptr, ptr %6, align 8 %15 = icmp eq ptr %13, %14 br i1 %15, label %16, label %21 16: ; preds = %4 %17 = load ptr, ptr %6, align 8 %18 = load i32, ptr %7, align 4 %19 = load i32, ptr %8, align 4 %20 = call ptr @matrix_clone(ptr noundef %17, i32 noundef %18, i32 noundef %19) store ptr %20, ptr %9, align 8 br label %21 21: ; preds = %16, %4 store i32 0, ptr %10, align 4 %22 = load i32, ptr %10, align 4 %23 = load i32, ptr %7, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %.lr.ph2, label %60 .lr.ph2: ; preds = %21 br label %25 25: ; preds = %.lr.ph2, %54 store i32 0, ptr %11, align 4 %26 = load i32, ptr %11, align 4 %27 = load i32, ptr %8, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %.lr.ph, label %53 .lr.ph: ; preds = %25 br label %29 29: ; preds = %.lr.ph, %47 %30 = load ptr, ptr %9, align 8 %31 = load i32, ptr %10, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds ptr, ptr %30, i64 %32 %34 = load ptr, ptr %33, align 8 %35 = load i32, ptr %11, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds double, ptr %34, i64 %36 %38 = load double, ptr %37, align 8 %39 = load ptr, ptr %5, align 8 %40 = load i32, ptr %11, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds ptr, ptr %39, i64 %41 %43 = load ptr, ptr %42, align 8 %44 = load i32, ptr %10, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds double, ptr %43, i64 %45 store double %38, ptr %46, align 8 br label %47 47: ; preds = %29 %48 = load i32, ptr %11, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %11, align 4 %50 = load i32, ptr %11, align 4 %51 = load i32, ptr %8, align 4 %52 = icmp slt i32 %50, %51 br i1 %52, label %29, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %47 br label %53 53: ; preds = %._crit_edge, %25 br label %54 54: ; preds = %53 %55 = load i32, ptr %10, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %10, align 4 %57 = load i32, ptr %10, align 4 %58 = load i32, ptr %7, align 4 %59 = icmp slt i32 %57, %58 br i1 %59, label %25, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %54 br label %60 60: ; preds = %._crit_edge3, %21 %61 = load ptr, ptr %5, align 8 %62 = load ptr, ptr %6, align 8 %63 = icmp eq ptr %61, %62 br i1 %63, label %64, label %67 64: ; preds = %60 %65 = load ptr, ptr %9, align 8 %66 = call i32 @free_matrix2(ptr noundef %65) br label %67 67: ; preds = %64, %60 ret void } declare ptr @matrix_clone(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @free_matrix2(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp8cdq7_qg.c' source_filename = "/tmp/tmp8cdq7_qg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Cyc_BansheeIf_and_constraint(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call ptr @Cyc_BansheeIf_composite_constraint(i32 noundef 0, ptr noundef %6, ptr noundef %7) store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 ret ptr %9 } declare ptr @Cyc_BansheeIf_composite_constraint(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8cdq7_qg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Cyc_BansheeIf_and_constraint(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call ptr @Cyc_BansheeIf_composite_constraint(i32 noundef 0, ptr noundef %6, ptr noundef %7) store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 ret ptr %9 } declare ptr @Cyc_BansheeIf_composite_constraint(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp72a_xlf5.c' source_filename = "/tmp/tmp72a_xlf5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memfrob(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 br label %5 5: ; preds = %9, %2 %6 = load i64, ptr %4, align 8 %7 = add i64 %6, -1 store i64 %7, ptr %4, align 8 %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %17 9: ; preds = %5 %10 = load ptr, ptr %3, align 8 %11 = load i64, ptr %4, align 8 %12 = getelementptr inbounds i8, ptr %10, i64 %11 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = xor i32 %14, 42 %16 = trunc i32 %15 to i8 store i8 %16, ptr %12, align 1 br label %5, !llvm.loop !6 17: ; preds = %5 %18 = load ptr, ptr %3, align 8 ret ptr %18 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp72a_xlf5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memfrob(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load i64, ptr %4, align 8 %6 = add i64 %5, -1 store i64 %6, ptr %4, align 8 %7 = icmp ne i64 %6, 0 br i1 %7, label %.lr.ph, label %19 .lr.ph: ; preds = %2 br label %8 8: ; preds = %.lr.ph, %8 %9 = load ptr, ptr %3, align 8 %10 = load i64, ptr %4, align 8 %11 = getelementptr inbounds i8, ptr %9, i64 %10 %12 = load i8, ptr %11, align 1 %13 = sext i8 %12 to i32 %14 = xor i32 %13, 42 %15 = trunc i32 %14 to i8 store i8 %15, ptr %11, align 1 %16 = load i64, ptr %4, align 8 %17 = add i64 %16, -1 store i64 %17, ptr %4, align 8 %18 = icmp ne i64 %17, 0 br i1 %18, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %8 br label %19 19: ; preds = %._crit_edge, %2 %20 = load ptr, ptr %3, align 8 ret ptr %20 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp7rctii12.c' source_filename = "/tmp/tmp7rctii12.c" target datalayout = "e-m:e-p270: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/tmp7rctii12.c" target datalayout = "e-m:e-p270: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/tmpl1ofhwpf.c' source_filename = "/tmp/tmpl1ofhwpf.c" target datalayout = "e-m:e-p270: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/tmpl1ofhwpf.c" target datalayout = "e-m:e-p270: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/tmpfynugsc8.c' source_filename = "/tmp/tmpfynugsc8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Constant number: %i\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 4, ptr %2, align 4 %3 = call i32 @printf(ptr noundef @.str, i32 noundef 4) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfynugsc8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Constant number: %i\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 4, ptr %2, align 4 %3 = call i32 @printf(ptr noundef @.str, i32 noundef 4) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkmksrzd3.c' source_filename = "/tmp/tmpkmksrzd3.c" target datalayout = "e-m:e-p270: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/tmpkmksrzd3.c" target datalayout = "e-m:e-p270: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"}