llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpr7gxizyn.c' source_filename = "/tmp/tmpr7gxizyn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c":\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_addr(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 store i32 0, ptr %3, align 4 br label %5 5: ; preds = %29, %1 %6 = load i32, ptr %3, align 4 %7 = icmp slt i32 %6, 16 br i1 %7, label %8, label %32 8: ; preds = %5 %9 = load ptr, ptr %2, align 8 %10 = load i32, ptr %3, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds i32, ptr %9, i64 %11 %13 = load i32, ptr %12, align 4 %14 = shl i32 %13, 8 %15 = load ptr, ptr %2, align 8 %16 = load i32, ptr %3, align 4 %17 = add nsw i32 %16, 1 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i32, ptr %15, i64 %18 %20 = load i32, ptr %19, align 4 %21 = or i32 %14, %20 store i32 %21, ptr %4, align 4 %22 = load i32, ptr %4, align 4 %23 = call i32 @debug_puthex(i32 noundef %22) %24 = load i32, ptr %3, align 4 %25 = icmp slt i32 %24, 14 br i1 %25, label %26, label %28 26: ; preds = %8 %27 = call i32 @debug_puts(ptr noundef @.str) br label %28 28: ; preds = %26, %8 br label %29 29: ; preds = %28 %30 = load i32, ptr %3, align 4 %31 = add nsw i32 %30, 2 store i32 %31, ptr %3, align 4 br label %5, !llvm.loop !6 32: ; preds = %5 ret void } declare i32 @debug_puthex(i32 noundef) #1 declare i32 @debug_puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr7gxizyn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c":\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_addr(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 store i32 0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 16 br i1 %6, label %.lr.ph, label %33 .lr.ph: ; preds = %1 br label %7 7: ; preds = %.lr.ph, %28 %8 = load ptr, ptr %2, align 8 %9 = load i32, ptr %3, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds i32, ptr %8, i64 %10 %12 = load i32, ptr %11, align 4 %13 = shl i32 %12, 8 %14 = load ptr, ptr %2, align 8 %15 = load i32, ptr %3, align 4 %16 = add nsw i32 %15, 1 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i32, ptr %14, i64 %17 %19 = load i32, ptr %18, align 4 %20 = or i32 %13, %19 store i32 %20, ptr %4, align 4 %21 = load i32, ptr %4, align 4 %22 = call i32 @debug_puthex(i32 noundef %21) %23 = load i32, ptr %3, align 4 %24 = icmp slt i32 %23, 14 br i1 %24, label %25, label %27 25: ; preds = %7 %26 = call i32 @debug_puts(ptr noundef @.str) br label %27 27: ; preds = %25, %7 br label %28 28: ; preds = %27 %29 = load i32, ptr %3, align 4 %30 = add nsw i32 %29, 2 store i32 %30, ptr %3, align 4 %31 = load i32, ptr %3, align 4 %32 = icmp slt i32 %31, 16 br i1 %32, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %33 33: ; preds = %._crit_edge, %1 ret void } declare i32 @debug_puthex(i32 noundef) #1 declare i32 @debug_puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpst768fll.c' source_filename = "/tmp/tmpst768fll.c" target datalayout = "e-m:e-p270: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/tmpst768fll.c" target datalayout = "e-m:e-p270: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/tmpyq8yxykb.c' source_filename = "/tmp/tmpyq8yxykb.c" target datalayout = "e-m:e-p270: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/tmpyq8yxykb.c" target datalayout = "e-m:e-p270: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/tmp0a79wy3q.c' source_filename = "/tmp/tmp0a79wy3q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"error\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @error(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ...) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 %9 = 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/tmp0a79wy3q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"error\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @error(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ...) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 %9 = 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/tmpaq9r32dd.c' source_filename = "/tmp/tmpaq9r32dd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"test1\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"bw\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"File opening failed\0A\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"File opening succeeded\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %3 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %3, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %8 6: ; preds = %0 %7 = call i32 @printf(ptr noundef @.str.2) br label %10 8: ; preds = %0 %9 = call i32 @printf(ptr noundef @.str.3) br label %10 10: ; preds = %8, %6 %11 = load ptr, ptr %2, align 8 %12 = call i32 @fclose(ptr noundef %11) %13 = load i32, ptr %1, align 4 ret i32 %13 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpaq9r32dd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"test1\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"bw\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"File opening failed\0A\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"File opening succeeded\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %3 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %3, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %8 6: ; preds = %0 %7 = call i32 @printf(ptr noundef @.str.2) br label %10 8: ; preds = %0 %9 = call i32 @printf(ptr noundef @.str.3) br label %10 10: ; preds = %8, %6 %11 = load ptr, ptr %2, align 8 %12 = call i32 @fclose(ptr noundef %11) %13 = load i32, ptr %1, align 4 ret i32 %13 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp42ekg3yr.c' source_filename = "/tmp/tmp42ekg3yr.c" target datalayout = "e-m:e-p270: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/tmp42ekg3yr.c" target datalayout = "e-m:e-p270: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/tmpomsmnazo.c' source_filename = "/tmp/tmpomsmnazo.c" target datalayout = "e-m:e-p270: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/tmpomsmnazo.c" target datalayout = "e-m:e-p270: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/tmptdjl5mxs.c' source_filename = "/tmp/tmptdjl5mxs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @log256f(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 float @logf(float noundef %3) #2 %5 = call float @logf(float noundef 2.560000e+02) #2 %6 = fdiv float %4, %5 ret float %6 } ; Function Attrs: nounwind declare float @logf(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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptdjl5mxs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @log256f(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 float @logf(float noundef %3) #2 %5 = call float @logf(float noundef 2.560000e+02) #2 %6 = fdiv float %4, %5 ret float %6 } ; Function Attrs: nounwind declare float @logf(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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsni8sudw.c' source_filename = "/tmp/tmpsni8sudw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hex_to_bin(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 store ptr null, ptr %7, align 8 store i32 0, ptr %8, align 4 %9 = load ptr, ptr %5, align 8 %10 = call i32 @BN_hex2bn(ptr noundef %7, ptr noundef %9) store i32 %10, ptr %8, align 4 %11 = load i32, ptr %8, align 4 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %14 13: ; preds = %3 store ptr null, ptr %4, align 8 br label %24 14: ; preds = %3 %15 = load ptr, ptr %7, align 8 %16 = call i64 @BN_num_bytes(ptr noundef %15) %17 = load i64, ptr %6, align 8 %18 = icmp sgt i64 %16, %17 br i1 %18, label %19, label %20 19: ; preds = %14 store ptr null, ptr %4, align 8 br label %24 20: ; preds = %14 %21 = load ptr, ptr %7, align 8 %22 = load ptr, ptr %4, align 8 %23 = call i32 @BN_bn2bin(ptr noundef %21, ptr noundef %22) br label %24 24: ; preds = %20, %19, %13 %25 = load ptr, ptr %7, align 8 %26 = call i32 @BN_free(ptr noundef %25) %27 = load ptr, ptr %4, align 8 ret ptr %27 } declare i32 @BN_hex2bn(ptr noundef, ptr noundef) #1 declare i64 @BN_num_bytes(ptr noundef) #1 declare i32 @BN_bn2bin(ptr noundef, ptr noundef) #1 declare i32 @BN_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/tmpsni8sudw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hex_to_bin(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 store ptr null, ptr %7, align 8 store i32 0, ptr %8, align 4 %9 = load ptr, ptr %5, align 8 %10 = call i32 @BN_hex2bn(ptr noundef %7, ptr noundef %9) store i32 %10, ptr %8, align 4 %11 = load i32, ptr %8, align 4 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %14 13: ; preds = %3 store ptr null, ptr %4, align 8 br label %24 14: ; preds = %3 %15 = load ptr, ptr %7, align 8 %16 = call i64 @BN_num_bytes(ptr noundef %15) %17 = load i64, ptr %6, align 8 %18 = icmp sgt i64 %16, %17 br i1 %18, label %19, label %20 19: ; preds = %14 store ptr null, ptr %4, align 8 br label %24 20: ; preds = %14 %21 = load ptr, ptr %7, align 8 %22 = load ptr, ptr %4, align 8 %23 = call i32 @BN_bn2bin(ptr noundef %21, ptr noundef %22) br label %24 24: ; preds = %20, %19, %13 %25 = load ptr, ptr %7, align 8 %26 = call i32 @BN_free(ptr noundef %25) %27 = load ptr, ptr %4, align 8 ret ptr %27 } declare i32 @BN_hex2bn(ptr noundef, ptr noundef) #1 declare i64 @BN_num_bytes(ptr noundef) #1 declare i32 @BN_bn2bin(ptr noundef, ptr noundef) #1 declare i32 @BN_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/tmpw6nvesnf.c' source_filename = "/tmp/tmpw6nvesnf.c" target datalayout = "e-m:e-p270: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 [32 x i8] c"allocation failure in vector()\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @vector(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = load i32, ptr %3, align 4 %8 = sub nsw i32 %6, %7 %9 = add nsw i32 %8, 1 %10 = zext i32 %9 to i64 %11 = mul i64 %10, 4 %12 = trunc i64 %11 to i32 %13 = call i64 @malloc(i32 noundef %12) %14 = inttoptr i64 %13 to ptr store ptr %14, ptr %5, align 8 %15 = load ptr, ptr %5, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %21, label %17 17: ; preds = %2 %18 = load i32, ptr @stderr, align 4 %19 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str) %20 = call i32 @exit(i32 noundef 0) #3 unreachable 21: ; preds = %2 %22 = load ptr, ptr %5, align 8 %23 = load i32, ptr %3, align 4 %24 = sext i32 %23 to i64 %25 = sub i64 0, %24 %26 = getelementptr inbounds float, ptr %22, i64 %25 ret ptr %26 } declare i64 @malloc(i32 noundef) #1 declare i32 @fprintf(i32 noundef, 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/tmpw6nvesnf.c" target datalayout = "e-m:e-p270: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 [32 x i8] c"allocation failure in vector()\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @vector(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = load i32, ptr %3, align 4 %8 = sub nsw i32 %6, %7 %9 = add nsw i32 %8, 1 %10 = zext i32 %9 to i64 %11 = mul i64 %10, 4 %12 = trunc i64 %11 to i32 %13 = call i64 @malloc(i32 noundef %12) %14 = inttoptr i64 %13 to ptr store ptr %14, ptr %5, align 8 %15 = load ptr, ptr %5, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %21, label %17 17: ; preds = %2 %18 = load i32, ptr @stderr, align 4 %19 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str) %20 = call i32 @exit(i32 noundef 0) #3 unreachable 21: ; preds = %2 %22 = load ptr, ptr %5, align 8 %23 = load i32, ptr %3, align 4 %24 = sext i32 %23 to i64 %25 = sub i64 0, %24 %26 = getelementptr inbounds float, ptr %22, i64 %25 ret ptr %26 } declare i64 @malloc(i32 noundef) #1 declare i32 @fprintf(i32 noundef, 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/tmp76mxcnwj.c' source_filename = "/tmp/tmp76mxcnwj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"Help\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_help() #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/tmp76mxcnwj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"Help\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_help() #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/tmp92g68flo.c' source_filename = "/tmp/tmp92g68flo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sha(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i64, ptr %6, align 8 %10 = call i32 @d0_blind_id_util_sha256(ptr noundef %7, ptr noundef %8, i64 noundef %9) %11 = load ptr, ptr %4, align 8 ret ptr %11 } declare i32 @d0_blind_id_util_sha256(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp92g68flo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sha(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i64, ptr %6, align 8 %10 = call i32 @d0_blind_id_util_sha256(ptr noundef %7, ptr noundef %8, i64 noundef %9) %11 = load ptr, ptr %4, align 8 ret ptr %11 } declare i32 @d0_blind_id_util_sha256(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprnenul0i.c' source_filename = "/tmp/tmprnenul0i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @jexp(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = call double @__ieee754_exp(double noundef %3) ret double %4 } declare double @__ieee754_exp(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprnenul0i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @jexp(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = call double @__ieee754_exp(double noundef %3) ret double %4 } declare double @__ieee754_exp(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgwji84w1.c' source_filename = "/tmp/tmpgwji84w1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"localhost\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"9050\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"AUTHENTICATE \22\22\0A\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"signal NEWNYM\0A\00\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [38 x i8] c"[%i: cycle_identity -> signal NEWNYM\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cycle_identity() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 @make_socket(ptr noundef @.str, ptr noundef @.str.1) store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @write(i32 noundef %4, ptr noundef @.str.2, i32 noundef 16) br label %6 6: ; preds = %0, %6 %7 = load i32, ptr %2, align 4 %8 = call i32 @write(i32 noundef %7, ptr noundef @.str.3, i32 noundef 16) store i32 %8, ptr %1, align 4 %9 = load i32, ptr @stderr, align 4 %10 = load i32, ptr %1, align 4 %11 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str.4, i32 noundef %10) %12 = call i32 @usleep(i32 noundef 300000) br label %6 } declare i32 @make_socket(ptr noundef, ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @usleep(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/tmpgwji84w1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"localhost\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"9050\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"AUTHENTICATE \22\22\0A\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"signal NEWNYM\0A\00\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [38 x i8] c"[%i: cycle_identity -> signal NEWNYM\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cycle_identity() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 @make_socket(ptr noundef @.str, ptr noundef @.str.1) store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @write(i32 noundef %4, ptr noundef @.str.2, i32 noundef 16) br label %6 6: ; preds = %6, %0 %7 = load i32, ptr %2, align 4 %8 = call i32 @write(i32 noundef %7, ptr noundef @.str.3, i32 noundef 16) store i32 %8, ptr %1, align 4 %9 = load i32, ptr @stderr, align 4 %10 = load i32, ptr %1, align 4 %11 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str.4, i32 noundef %10) %12 = call i32 @usleep(i32 noundef 300000) br label %6 } declare i32 @make_socket(ptr noundef, ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @usleep(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/tmpxity9k9y.c' source_filename = "/tmp/tmpxity9k9y.c" target datalayout = "e-m:e-p270: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/tmpxity9k9y.c" target datalayout = "e-m:e-p270: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/tmp47owfzda.c' source_filename = "/tmp/tmp47owfzda.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [50 x i8] c"\0A************ WELCOME to Piggy Bank ************\0A\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"\091. Deposit Money\0A\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"\092. Withdraw Money\0A\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"\093. Show Balance\0A\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"\094. Exit\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @menu() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) %4 = call i32 @printf(ptr noundef @.str.3) %5 = call i32 @printf(ptr noundef @.str.4) 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/tmp47owfzda.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [50 x i8] c"\0A************ WELCOME to Piggy Bank ************\0A\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"\091. Deposit Money\0A\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"\092. Withdraw Money\0A\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"\093. Show Balance\0A\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"\094. Exit\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @menu() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) %4 = call i32 @printf(ptr noundef @.str.3) %5 = call i32 @printf(ptr noundef @.str.4) 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/tmpr0g6mrvl.c' source_filename = "/tmp/tmpr0g6mrvl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getidentifierlength(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %23, %1 %5 = load ptr, ptr %2, align 8 %6 = load i32, ptr %3, align 4 %7 = sext i32 %6 to i64 %8 = getelementptr inbounds i8, ptr %5, i64 %7 %9 = load i8, ptr %8, align 1 %10 = call i64 @isalnum(i8 noundef signext %9) %11 = icmp ne i64 %10, 0 br i1 %11, label %20, label %12 12: ; preds = %4 %13 = load ptr, ptr %2, align 8 %14 = load i32, ptr %3, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %13, i64 %15 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = icmp eq i32 %18, 95 br label %20 20: ; preds = %12, %4 %21 = phi i1 [ true, %4 ], [ %19, %12 ] br i1 %21, label %22, label %26 22: ; preds = %20 br label %23 23: ; preds = %22 %24 = load i32, ptr %3, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %3, align 4 br label %4, !llvm.loop !6 26: ; preds = %20 %27 = load i32, ptr %3, align 4 ret i32 %27 } declare i64 @isalnum(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/tmpr0g6mrvl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getidentifierlength(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %23, %1 %5 = load ptr, ptr %2, align 8 %6 = load i32, ptr %3, align 4 %7 = sext i32 %6 to i64 %8 = getelementptr inbounds i8, ptr %5, i64 %7 %9 = load i8, ptr %8, align 1 %10 = call i64 @isalnum(i8 noundef signext %9) %11 = icmp ne i64 %10, 0 br i1 %11, label %20, label %12 12: ; preds = %4 %13 = load ptr, ptr %2, align 8 %14 = load i32, ptr %3, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %13, i64 %15 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = icmp eq i32 %18, 95 br label %20 20: ; preds = %12, %4 %21 = phi i1 [ true, %4 ], [ %19, %12 ] br i1 %21, label %22, label %26 22: ; preds = %20 br label %23 23: ; preds = %22 %24 = load i32, ptr %3, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %3, align 4 br label %4, !llvm.loop !6 26: ; preds = %20 %27 = load i32, ptr %3, align 4 ret i32 %27 } declare i64 @isalnum(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/tmpgb2p1zfj.c' source_filename = "/tmp/tmpgb2p1zfj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\09GOTO %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @gen_goto(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @strlen(ptr noundef %4) %6 = add nsw i32 %5, 8 %7 = sext i32 %6 to i64 %8 = mul i64 %7, 1 %9 = trunc i64 %8 to i32 %10 = call i64 @malloc(i32 noundef %9) %11 = inttoptr i64 %10 to ptr store ptr %11, ptr %3, align 8 %12 = load ptr, ptr %3, align 8 %13 = load ptr, ptr %2, align 8 %14 = call i32 @sprintf(ptr noundef %12, ptr noundef @.str, ptr noundef %13) %15 = load ptr, ptr %3, align 8 ret ptr %15 } declare i64 @malloc(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgb2p1zfj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\09GOTO %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @gen_goto(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @strlen(ptr noundef %4) %6 = add nsw i32 %5, 8 %7 = sext i32 %6 to i64 %8 = mul i64 %7, 1 %9 = trunc i64 %8 to i32 %10 = call i64 @malloc(i32 noundef %9) %11 = inttoptr i64 %10 to ptr store ptr %11, ptr %3, align 8 %12 = load ptr, ptr %3, align 8 %13 = load ptr, ptr %2, align 8 %14 = call i32 @sprintf(ptr noundef %12, ptr noundef @.str, ptr noundef %13) %15 = load ptr, ptr %3, align 8 ret ptr %15 } declare i64 @malloc(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpeypb8r75.c' source_filename = "/tmp/tmpeypb8r75.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Alo da thread %ld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @PrintHello(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 0, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = ptrtoint ptr %6 to i64 store i64 %7, ptr %5, align 8 %8 = load i64, ptr %5, align 8 %9 = call i32 @printf(ptr noundef @.str, i64 noundef %8) %10 = load i64, ptr %5, align 8 %11 = load i64, ptr %5, align 8 %12 = mul nsw i64 %10, %11 store i64 %12, ptr %4, align 8 %13 = load i64, ptr %4, align 8 %14 = inttoptr i64 %13 to ptr %15 = call i32 @pthread_exit(ptr noundef %14) %16 = load ptr, ptr %2, align 8 ret ptr %16 } declare i32 @printf(ptr noundef, i64 noundef) #1 declare i32 @pthread_exit(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpeypb8r75.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Alo da thread %ld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @PrintHello(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 0, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = ptrtoint ptr %6 to i64 store i64 %7, ptr %5, align 8 %8 = load i64, ptr %5, align 8 %9 = call i32 @printf(ptr noundef @.str, i64 noundef %8) %10 = load i64, ptr %5, align 8 %11 = load i64, ptr %5, align 8 %12 = mul nsw i64 %10, %11 store i64 %12, ptr %4, align 8 %13 = load i64, ptr %4, align 8 %14 = inttoptr i64 %13 to ptr %15 = call i32 @pthread_exit(ptr noundef %14) %16 = load ptr, ptr %2, align 8 ret ptr %16 } declare i32 @printf(ptr noundef, i64 noundef) #1 declare i32 @pthread_exit(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp43c39kaq.c' source_filename = "/tmp/tmp43c39kaq.c" target datalayout = "e-m:e-p270: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/tmp43c39kaq.c" target datalayout = "e-m:e-p270: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/tmp_3gpjzgs.c' source_filename = "/tmp/tmp_3gpjzgs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"Error opening file\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @procfile(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca [20 x i8], align 16 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 %11 = load ptr, ptr %4, align 8 %12 = call ptr @fopen(ptr noundef %11, ptr noundef @.str) store ptr %12, ptr %9, align 8 %13 = load ptr, ptr %9, align 8 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %17 15: ; preds = %2 %16 = call i32 @perror(ptr noundef @.str.1) store i32 -1, ptr %3, align 4 br label %61 17: ; preds = %2 br label %18 18: ; preds = %42, %17 %19 = getelementptr inbounds [20 x i8], ptr %10, i64 0, i64 0 %20 = load ptr, ptr %9, align 8 %21 = call ptr @fgets(ptr noundef %19, i32 noundef 20, ptr noundef %20) %22 = icmp ne ptr %21, null br i1 %22, label %23, label %58 23: ; preds = %18 store i32 0, ptr %8, align 4 store i32 0, ptr %7, align 4 br label %24 24: ; preds = %39, %23 %25 = load i32, ptr %7, align 4 %26 = icmp slt i32 %25, 16 br i1 %26, label %27, label %42 27: ; preds = %24 %28 = load i32, ptr %8, align 4 %29 = load i32, ptr %7, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds [20 x i8], ptr %10, i64 0, i64 %30 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = icmp eq i32 %33, 49 %35 = zext i1 %34 to i32 %36 = load i32, ptr %7, align 4 %37 = shl i32 %35, %36 %38 = or i32 %28, %37 store i32 %38, ptr %8, align 4 br label %39 39: ; preds = %27 %40 = load i32, ptr %7, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %7, align 4 br label %24, !llvm.loop !6 42: ; preds = %24 %43 = load i32, ptr %8, align 4 %44 = getelementptr inbounds [20 x i8], ptr %10, i64 0, i64 17 %45 = load i8, ptr %44, align 1 %46 = sext i8 %45 to i32 %47 = icmp eq i32 %46, 49 %48 = zext i1 %47 to i32 %49 = shl i32 %48, 16 %50 = or i32 %43, %49 store i32 %50, ptr %8, align 4 %51 = load i32, ptr %8, align 4 %52 = load ptr, ptr %5, align 8 %53 = load i32, ptr %6, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i32, ptr %52, i64 %54 store i32 %51, ptr %55, align 4 %56 = load i32, ptr %6, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %6, align 4 br label %18, !llvm.loop !8 58: ; preds = %18 %59 = load ptr, ptr %9, align 8 %60 = call i32 @fclose(ptr noundef %59) store i32 0, ptr %3, align 4 br label %61 61: ; preds = %58, %15 %62 = load i32, ptr %3, align 4 ret i32 %62 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare ptr @fgets(ptr 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp_3gpjzgs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"Error opening file\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @procfile(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca [20 x i8], align 16 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 %11 = load ptr, ptr %4, align 8 %12 = call ptr @fopen(ptr noundef %11, ptr noundef @.str) store ptr %12, ptr %9, align 8 %13 = load ptr, ptr %9, align 8 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %17 15: ; preds = %2 %16 = call i32 @perror(ptr noundef @.str.1) store i32 -1, ptr %3, align 4 br label %64 17: ; preds = %2 %18 = getelementptr inbounds [20 x i8], ptr %10, i64 0, i64 0 %19 = load ptr, ptr %9, align 8 %20 = call ptr @fgets(ptr noundef %18, i32 noundef 20, ptr noundef %19) %21 = icmp ne ptr %20, null br i1 %21, label %.lr.ph2, label %61 .lr.ph2: ; preds = %17 br label %22 22: ; preds = %.lr.ph2, %42 store i32 0, ptr %8, align 4 store i32 0, ptr %7, align 4 %23 = load i32, ptr %7, align 4 %24 = icmp slt i32 %23, 16 br i1 %24, label %.lr.ph, label %42 .lr.ph: ; preds = %22 br label %25 25: ; preds = %.lr.ph, %37 %26 = load i32, ptr %8, align 4 %27 = load i32, ptr %7, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds [20 x i8], ptr %10, i64 0, i64 %28 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = icmp eq i32 %31, 49 %33 = zext i1 %32 to i32 %34 = load i32, ptr %7, align 4 %35 = shl i32 %33, %34 %36 = or i32 %26, %35 store i32 %36, ptr %8, align 4 br label %37 37: ; preds = %25 %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 = icmp slt i32 %40, 16 br i1 %41, label %25, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %37 br label %42 42: ; preds = %._crit_edge, %22 %43 = load i32, ptr %8, align 4 %44 = getelementptr inbounds [20 x i8], ptr %10, i64 0, i64 17 %45 = load i8, ptr %44, align 1 %46 = sext i8 %45 to i32 %47 = icmp eq i32 %46, 49 %48 = zext i1 %47 to i32 %49 = shl i32 %48, 16 %50 = or i32 %43, %49 store i32 %50, ptr %8, align 4 %51 = load i32, ptr %8, align 4 %52 = load ptr, ptr %5, align 8 %53 = load i32, ptr %6, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i32, ptr %52, i64 %54 store i32 %51, ptr %55, align 4 %56 = load i32, ptr %6, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %6, align 4 %58 = load ptr, ptr %9, align 8 %59 = call ptr @fgets(ptr noundef %18, i32 noundef 20, ptr noundef %58) %60 = icmp ne ptr %59, null br i1 %60, label %22, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %42 br label %61 61: ; preds = %._crit_edge3, %17 %62 = load ptr, ptr %9, align 8 %63 = call i32 @fclose(ptr noundef %62) store i32 0, ptr %3, align 4 br label %64 64: ; preds = %61, %15 %65 = load i32, ptr %3, align 4 ret i32 %65 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare ptr @fgets(ptr 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmphnxazmn8.c' source_filename = "/tmp/tmphnxazmn8.c" target datalayout = "e-m:e-p270: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.str = private unnamed_addr constant [8 x i8] c"<><><<>\00", align 1 @.str = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"Magic str len is %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca [8 x i8], align 1 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %1, ptr align 1 @__const.main.str, i64 8, i1 false) %10 = getelementptr inbounds [8 x i8], ptr %1, i64 0, i64 0 %11 = call i32 @strlen(ptr noundef %10) store i32 %11, ptr %2, align 4 %12 = load i32, ptr %2, align 4 %13 = zext i32 %12 to i64 %14 = call ptr @llvm.stacksave() store ptr %14, ptr %3, align 8 %15 = alloca i32, i64 %13, align 16 store i64 %13, ptr %4, align 8 %16 = load i32, ptr %2, align 4 %17 = zext i32 %16 to i64 %18 = alloca i32, i64 %17, align 16 store i64 %17, ptr %5, align 8 store i32 0, ptr %6, align 4 br label %19 19: ; preds = %30, %0 %20 = load i32, ptr %6, align 4 %21 = load i32, ptr %2, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %23, label %33 23: ; preds = %19 %24 = load i32, ptr %6, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i32, ptr %18, i64 %25 store i32 -1, ptr %26, align 4 %27 = load i32, ptr %6, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i32, ptr %15, i64 %28 store i32 -1, ptr %29, align 4 br label %30 30: ; preds = %23 %31 = load i32, ptr %6, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %6, align 4 br label %19, !llvm.loop !6 33: ; preds = %19 %34 = getelementptr inbounds [8 x i8], ptr %1, i64 0, i64 0 %35 = load i32, ptr %2, align 4 %36 = call i32 @process_str(ptr noundef %34, ptr noundef %15, ptr noundef %18, i32 noundef %35, ptr noundef %7, ptr noundef %8) %37 = load i32, ptr %7, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %7, align 4 %39 = load i32, ptr %8, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %8, align 4 %41 = load i32, ptr %7, align 4 %42 = load i32, ptr %8, align 4 %43 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %41, i32 noundef %42) %44 = load i32, ptr %7, align 4 %45 = load i32, ptr %8, align 4 %46 = call i32 @find_magic(ptr noundef %15, ptr noundef %18, i32 noundef %44, i32 noundef %45) store i32 %46, ptr %9, align 4 %47 = load i32, ptr %9, align 4 %48 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %47) %49 = load ptr, ptr %3, align 8 call void @llvm.stackrestore(ptr %49) ret void } ; 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 @strlen(ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #3 declare i32 @process_str(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, i32 noundef, ...) #2 declare i32 @find_magic(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #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 = { "frame-pointer"="all" "no-trapping-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 willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphnxazmn8.c" target datalayout = "e-m:e-p270: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.str = private unnamed_addr constant [8 x i8] c"<><><<>\00", align 1 @.str = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"Magic str len is %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca [8 x i8], align 1 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %1, ptr align 1 @__const.main.str, i64 8, i1 false) %10 = getelementptr inbounds [8 x i8], ptr %1, i64 0, i64 0 %11 = call i32 @strlen(ptr noundef %10) store i32 %11, ptr %2, align 4 %12 = load i32, ptr %2, align 4 %13 = zext i32 %12 to i64 %14 = call ptr @llvm.stacksave() store ptr %14, ptr %3, align 8 %15 = alloca i32, i64 %13, align 16 store i64 %13, ptr %4, align 8 %16 = load i32, ptr %2, align 4 %17 = zext i32 %16 to i64 %18 = alloca i32, i64 %17, align 16 store i64 %17, ptr %5, align 8 store i32 0, ptr %6, align 4 %19 = load i32, ptr %6, align 4 %20 = load i32, ptr %2, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %.lr.ph, label %35 .lr.ph: ; preds = %0 br label %22 22: ; preds = %.lr.ph, %29 %23 = load i32, ptr %6, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i32, ptr %18, i64 %24 store i32 -1, ptr %25, align 4 %26 = load i32, ptr %6, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i32, ptr %15, i64 %27 store i32 -1, ptr %28, align 4 br label %29 29: ; preds = %22 %30 = load i32, ptr %6, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %6, align 4 %32 = load i32, ptr %6, align 4 %33 = load i32, ptr %2, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %35 35: ; preds = %._crit_edge, %0 %36 = getelementptr inbounds [8 x i8], ptr %1, i64 0, i64 0 %37 = load i32, ptr %2, align 4 %38 = call i32 @process_str(ptr noundef %36, ptr noundef %15, ptr noundef %18, i32 noundef %37, ptr noundef %7, ptr noundef %8) %39 = load i32, ptr %7, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %7, align 4 %41 = load i32, ptr %8, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %8, align 4 %43 = load i32, ptr %7, align 4 %44 = load i32, ptr %8, align 4 %45 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %43, i32 noundef %44) %46 = load i32, ptr %7, align 4 %47 = load i32, ptr %8, align 4 %48 = call i32 @find_magic(ptr noundef %15, ptr noundef %18, i32 noundef %46, i32 noundef %47) store i32 %48, ptr %9, align 4 %49 = load i32, ptr %9, align 4 %50 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %49) %51 = load ptr, ptr %3, align 8 call void @llvm.stackrestore(ptr %51) ret void } ; 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 @strlen(ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #3 declare i32 @process_str(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, i32 noundef, ...) #2 declare i32 @find_magic(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #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 = { "frame-pointer"="all" "no-trapping-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 willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp3c5_9yfc.c' source_filename = "/tmp/tmp3c5_9yfc.c" target datalayout = "e-m:e-p270: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/tmp3c5_9yfc.c" target datalayout = "e-m:e-p270: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/tmp4932g9h9.c' source_filename = "/tmp/tmp4932g9h9.c" target datalayout = "e-m:e-p270: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/tmp4932g9h9.c" target datalayout = "e-m:e-p270: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/tmplw8cwegy.c' source_filename = "/tmp/tmplw8cwegy.c" target datalayout = "e-m:e-p270: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/tmplw8cwegy.c" target datalayout = "e-m:e-p270: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/tmp28se7mq3.c' source_filename = "/tmp/tmp28se7mq3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 @EXIT_SUCCESS = dso_local global i32 0, align 4 @STDIN_FILENO = dso_local global i32 0, align 4 @STDOUT_FILENO = 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/tmp28se7mq3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 @EXIT_SUCCESS = dso_local global i32 0, align 4 @STDIN_FILENO = dso_local global i32 0, align 4 @STDOUT_FILENO = 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/tmpqnk2kv_y.c' source_filename = "/tmp/tmpqnk2kv_y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @rtp_deinitialization() #0 { %1 = call i32 (...) @rtp_close_extra() ret void } declare i32 @rtp_close_extra(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqnk2kv_y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @rtp_deinitialization() #0 { %1 = call i32 (...) @rtp_close_extra() ret void } declare i32 @rtp_close_extra(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpc0xjp3cp.c' source_filename = "/tmp/tmpc0xjp3cp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOSYS = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @mknod(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load i32, ptr @ENOSYS, align 4 store i32 %7, ptr @errno, align 4 ret i32 -1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpc0xjp3cp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOSYS = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @mknod(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load i32, ptr @ENOSYS, align 4 store i32 %7, ptr @errno, align 4 ret i32 -1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpoam5zpym.c' source_filename = "/tmp/tmpoam5zpym.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpoam5zpym.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfazo0wh1.c' source_filename = "/tmp/tmpfazo0wh1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"movl\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"%%eax,pl_foreign_long+%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Move_Ret_To_Foreign_L(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = mul nsw i32 %3, 4 %5 = call i32 @Inst_Printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %4) ret void } declare i32 @Inst_Printf(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfazo0wh1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"movl\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"%%eax,pl_foreign_long+%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Move_Ret_To_Foreign_L(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = mul nsw i32 %3, 4 %5 = call i32 @Inst_Printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %4) ret void } declare i32 @Inst_Printf(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfm4gwaec.c' source_filename = "/tmp/tmpfm4gwaec.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__strnlen(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %13 = load ptr, ptr %4, align 8 %14 = load i64, ptr %5, align 8 %15 = getelementptr inbounds i8, ptr %13, i64 %14 store ptr %15, ptr %7, align 8 %16 = load i64, ptr %5, align 8 %17 = icmp eq i64 %16, 0 br i1 %17, label %18, label %19 18: ; preds = %2 store i64 0, ptr %3, align 8 br label %169 19: ; preds = %2 %20 = load ptr, ptr %7, align 8 %21 = load ptr, ptr %4, align 8 %22 = icmp ult ptr %20, %21 %23 = zext i1 %22 to i32 %24 = call i64 @__glibc_unlikely(i32 noundef %23) %25 = icmp ne i64 %24, 0 br i1 %25, label %26, label %27 26: ; preds = %19 store ptr inttoptr (i64 -1 to ptr), ptr %7, align 8 br label %27 27: ; preds = %26, %19 %28 = load ptr, ptr %4, align 8 store ptr %28, ptr %6, align 8 br label %29 29: ; preds = %52, %27 %30 = load ptr, ptr %6, align 8 %31 = ptrtoint ptr %30 to i64 %32 = and i64 %31, 7 %33 = icmp ne i64 %32, 0 br i1 %33, label %34, label %55 34: ; preds = %29 %35 = load ptr, ptr %6, align 8 %36 = load i8, ptr %35, align 1 %37 = sext i8 %36 to i32 %38 = icmp eq i32 %37, 0 br i1 %38, label %39, label %51 39: ; preds = %34 %40 = load ptr, ptr %6, align 8 %41 = load ptr, ptr %7, align 8 %42 = icmp ugt ptr %40, %41 br i1 %42, label %43, label %45 43: ; preds = %39 %44 = load ptr, ptr %7, align 8 store ptr %44, ptr %6, align 8 br label %45 45: ; preds = %43, %39 %46 = load ptr, ptr %6, align 8 %47 = load ptr, ptr %4, align 8 %48 = ptrtoint ptr %46 to i64 %49 = ptrtoint ptr %47 to i64 %50 = sub i64 %48, %49 store i64 %50, ptr %3, align 8 br label %169 51: ; preds = %34 br label %52 52: ; preds = %51 %53 = load ptr, ptr %6, align 8 %54 = getelementptr inbounds i8, ptr %53, i32 1 store ptr %54, ptr %6, align 8 br label %29, !llvm.loop !6 55: ; preds = %29 %56 = load ptr, ptr %6, align 8 store ptr %56, ptr %8, align 8 store i64 2155905152, ptr %10, align 8 store i64 16843009, ptr %11, align 8 %57 = load i64, ptr %10, align 8 %58 = shl i64 %57, 16 %59 = shl i64 %58, 16 %60 = load i64, ptr %10, align 8 %61 = or i64 %59, %60 store i64 %61, ptr %10, align 8 %62 = load i64, ptr %11, align 8 %63 = shl i64 %62, 16 %64 = shl i64 %63, 16 %65 = load i64, ptr %11, align 8 %66 = or i64 %64, %65 store i64 %66, ptr %11, align 8 br label %67 67: ; preds = %155, %55 %68 = load ptr, ptr %8, align 8 %69 = load ptr, ptr %7, align 8 %70 = icmp ult ptr %68, %69 br i1 %70, label %71, label %157 71: ; preds = %67 %72 = load ptr, ptr %8, align 8 %73 = getelementptr inbounds i64, ptr %72, i32 1 store ptr %73, ptr %8, align 8 %74 = load i64, ptr %72, align 8 store i64 %74, ptr %9, align 8 %75 = load i64, ptr %9, align 8 %76 = load i64, ptr %11, align 8 %77 = sub i64 %75, %76 %78 = load i64, ptr %10, align 8 %79 = and i64 %77, %78 %80 = icmp ne i64 %79, 0 br i1 %80, label %81, label %155 81: ; preds = %71 %82 = load ptr, ptr %8, align 8 %83 = getelementptr inbounds i64, ptr %82, i64 -1 store ptr %83, ptr %12, align 8 %84 = load ptr, ptr %12, align 8 store ptr %84, ptr %6, align 8 %85 = load ptr, ptr %12, align 8 %86 = getelementptr inbounds i8, ptr %85, i64 0 %87 = load i8, ptr %86, align 1 %88 = sext i8 %87 to i32 %89 = icmp eq i32 %88, 0 br i1 %89, label %90, label %91 90: ; preds = %81 br label %157 91: ; preds = %81 %92 = load ptr, ptr %12, align 8 %93 = getelementptr inbounds i8, ptr %92, i64 1 store ptr %93, ptr %6, align 8 %94 = load ptr, ptr %12, align 8 %95 = getelementptr inbounds i8, ptr %94, i64 1 %96 = load i8, ptr %95, align 1 %97 = sext i8 %96 to i32 %98 = icmp eq i32 %97, 0 br i1 %98, label %99, label %100 99: ; preds = %91 br label %157 100: ; preds = %91 %101 = load ptr, ptr %12, align 8 %102 = getelementptr inbounds i8, ptr %101, i64 2 store ptr %102, ptr %6, align 8 %103 = load ptr, ptr %12, align 8 %104 = getelementptr inbounds i8, ptr %103, i64 2 %105 = load i8, ptr %104, align 1 %106 = sext i8 %105 to i32 %107 = icmp eq i32 %106, 0 br i1 %107, label %108, label %109 108: ; preds = %100 br label %157 109: ; preds = %100 %110 = load ptr, ptr %12, align 8 %111 = getelementptr inbounds i8, ptr %110, i64 3 store ptr %111, ptr %6, align 8 %112 = load ptr, ptr %12, align 8 %113 = getelementptr inbounds i8, ptr %112, i64 3 %114 = load i8, ptr %113, align 1 %115 = sext i8 %114 to i32 %116 = icmp eq i32 %115, 0 br i1 %116, label %117, label %118 117: ; preds = %109 br label %157 118: ; preds = %109 %119 = load ptr, ptr %12, align 8 %120 = getelementptr inbounds i8, ptr %119, i64 4 store ptr %120, ptr %6, align 8 %121 = load ptr, ptr %12, align 8 %122 = getelementptr inbounds i8, ptr %121, i64 4 %123 = load i8, ptr %122, align 1 %124 = sext i8 %123 to i32 %125 = icmp eq i32 %124, 0 br i1 %125, label %126, label %127 126: ; preds = %118 br label %157 127: ; preds = %118 %128 = load ptr, ptr %12, align 8 %129 = getelementptr inbounds i8, ptr %128, i64 5 store ptr %129, ptr %6, align 8 %130 = load ptr, ptr %12, align 8 %131 = getelementptr inbounds i8, ptr %130, i64 5 %132 = load i8, ptr %131, align 1 %133 = sext i8 %132 to i32 %134 = icmp eq i32 %133, 0 br i1 %134, label %135, label %136 135: ; preds = %127 br label %157 136: ; preds = %127 %137 = load ptr, ptr %12, align 8 %138 = getelementptr inbounds i8, ptr %137, i64 6 store ptr %138, ptr %6, align 8 %139 = load ptr, ptr %12, align 8 %140 = getelementptr inbounds i8, ptr %139, i64 6 %141 = load i8, ptr %140, align 1 %142 = sext i8 %141 to i32 %143 = icmp eq i32 %142, 0 br i1 %143, label %144, label %145 144: ; preds = %136 br label %157 145: ; preds = %136 %146 = load ptr, ptr %12, align 8 %147 = getelementptr inbounds i8, ptr %146, i64 7 store ptr %147, ptr %6, align 8 %148 = load ptr, ptr %12, align 8 %149 = getelementptr inbounds i8, ptr %148, i64 7 %150 = load i8, ptr %149, align 1 %151 = sext i8 %150 to i32 %152 = icmp eq i32 %151, 0 br i1 %152, label %153, label %154 153: ; preds = %145 br label %157 154: ; preds = %145 br label %155 155: ; preds = %154, %71 %156 = load ptr, ptr %7, align 8 store ptr %156, ptr %6, align 8 br label %67, !llvm.loop !8 157: ; preds = %153, %144, %135, %126, %117, %108, %99, %90, %67 %158 = load ptr, ptr %6, align 8 %159 = load ptr, ptr %7, align 8 %160 = icmp ugt ptr %158, %159 br i1 %160, label %161, label %163 161: ; preds = %157 %162 = load ptr, ptr %7, align 8 store ptr %162, ptr %6, align 8 br label %163 163: ; preds = %161, %157 %164 = load ptr, ptr %6, align 8 %165 = load ptr, ptr %4, align 8 %166 = ptrtoint ptr %164 to i64 %167 = ptrtoint ptr %165 to i64 %168 = sub i64 %166, %167 store i64 %168, ptr %3, align 8 br label %169 169: ; preds = %163, %45, %18 %170 = load i64, ptr %3, align 8 ret i64 %170 } declare i64 @__glibc_unlikely(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/tmpfm4gwaec.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__strnlen(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %13 = load ptr, ptr %4, align 8 %14 = load i64, ptr %5, align 8 %15 = getelementptr inbounds i8, ptr %13, i64 %14 store ptr %15, ptr %7, align 8 %16 = load i64, ptr %5, align 8 %17 = icmp eq i64 %16, 0 br i1 %17, label %18, label %19 18: ; preds = %2 store i64 0, ptr %3, align 8 br label %174 19: ; preds = %2 %20 = load ptr, ptr %7, align 8 %21 = load ptr, ptr %4, align 8 %22 = icmp ult ptr %20, %21 %23 = zext i1 %22 to i32 %24 = call i64 @__glibc_unlikely(i32 noundef %23) %25 = icmp ne i64 %24, 0 br i1 %25, label %26, label %27 26: ; preds = %19 store ptr inttoptr (i64 -1 to ptr), ptr %7, align 8 br label %27 27: ; preds = %26, %19 %28 = load ptr, ptr %4, align 8 store ptr %28, ptr %6, align 8 %29 = load ptr, ptr %6, align 8 %30 = ptrtoint ptr %29 to i64 %31 = and i64 %30, 7 %32 = icmp ne i64 %31, 0 br i1 %32, label %.lr.ph, label %58 .lr.ph: ; preds = %27 br label %33 33: ; preds = %.lr.ph, %51 %34 = load ptr, ptr %6, align 8 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = icmp eq i32 %36, 0 br i1 %37, label %38, label %50 38: ; preds = %33 %39 = load ptr, ptr %6, align 8 %40 = load ptr, ptr %7, align 8 %41 = icmp ugt ptr %39, %40 br i1 %41, label %42, label %44 42: ; preds = %38 %43 = load ptr, ptr %7, align 8 store ptr %43, ptr %6, align 8 br label %44 44: ; preds = %42, %38 %45 = load ptr, ptr %6, align 8 %46 = load ptr, ptr %4, align 8 %47 = ptrtoint ptr %45 to i64 %48 = ptrtoint ptr %46 to i64 %49 = sub i64 %47, %48 store i64 %49, ptr %3, align 8 br label %174 50: ; preds = %33 br label %51 51: ; preds = %50 %52 = load ptr, ptr %6, align 8 %53 = getelementptr inbounds i8, ptr %52, i32 1 store ptr %53, ptr %6, align 8 %54 = load ptr, ptr %6, align 8 %55 = ptrtoint ptr %54 to i64 %56 = and i64 %55, 7 %57 = icmp ne i64 %56, 0 br i1 %57, label %33, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %51 br label %58 58: ; preds = %._crit_edge, %27 %59 = load ptr, ptr %6, align 8 store ptr %59, ptr %8, align 8 store i64 2155905152, ptr %10, align 8 store i64 16843009, ptr %11, align 8 %60 = load i64, ptr %10, align 8 %61 = shl i64 %60, 16 %62 = shl i64 %61, 16 %63 = load i64, ptr %10, align 8 %64 = or i64 %62, %63 store i64 %64, ptr %10, align 8 %65 = load i64, ptr %11, align 8 %66 = shl i64 %65, 16 %67 = shl i64 %66, 16 %68 = load i64, ptr %11, align 8 %69 = or i64 %67, %68 store i64 %69, ptr %11, align 8 %70 = load ptr, ptr %8, align 8 %71 = load ptr, ptr %7, align 8 %72 = icmp ult ptr %70, %71 br i1 %72, label %.lr.ph2, label %.loopexit .lr.ph2: ; preds = %58 br label %73 73: ; preds = %.lr.ph2, %157 %74 = load ptr, ptr %8, align 8 %75 = getelementptr inbounds i64, ptr %74, i32 1 store ptr %75, ptr %8, align 8 %76 = load i64, ptr %74, align 8 store i64 %76, ptr %9, align 8 %77 = load i64, ptr %9, align 8 %78 = load i64, ptr %11, align 8 %79 = sub i64 %77, %78 %80 = load i64, ptr %10, align 8 %81 = and i64 %79, %80 %82 = icmp ne i64 %81, 0 br i1 %82, label %83, label %157 83: ; preds = %73 %84 = load ptr, ptr %8, align 8 %85 = getelementptr inbounds i64, ptr %84, i64 -1 store ptr %85, ptr %12, align 8 %86 = load ptr, ptr %12, align 8 store ptr %86, ptr %6, align 8 %87 = load ptr, ptr %12, align 8 %88 = getelementptr inbounds i8, ptr %87, i64 0 %89 = load i8, ptr %88, align 1 %90 = sext i8 %89 to i32 %91 = icmp eq i32 %90, 0 br i1 %91, label %92, label %93 92: ; preds = %83 br label %162 93: ; preds = %83 %94 = load ptr, ptr %12, align 8 %95 = getelementptr inbounds i8, ptr %94, i64 1 store ptr %95, ptr %6, align 8 %96 = load ptr, ptr %12, align 8 %97 = getelementptr inbounds i8, ptr %96, i64 1 %98 = load i8, ptr %97, align 1 %99 = sext i8 %98 to i32 %100 = icmp eq i32 %99, 0 br i1 %100, label %101, label %102 101: ; preds = %93 br label %162 102: ; preds = %93 %103 = load ptr, ptr %12, align 8 %104 = getelementptr inbounds i8, ptr %103, i64 2 store ptr %104, ptr %6, align 8 %105 = load ptr, ptr %12, align 8 %106 = getelementptr inbounds i8, ptr %105, i64 2 %107 = load i8, ptr %106, align 1 %108 = sext i8 %107 to i32 %109 = icmp eq i32 %108, 0 br i1 %109, label %110, label %111 110: ; preds = %102 br label %162 111: ; preds = %102 %112 = load ptr, ptr %12, align 8 %113 = getelementptr inbounds i8, ptr %112, i64 3 store ptr %113, ptr %6, align 8 %114 = load ptr, ptr %12, align 8 %115 = getelementptr inbounds i8, ptr %114, i64 3 %116 = load i8, ptr %115, align 1 %117 = sext i8 %116 to i32 %118 = icmp eq i32 %117, 0 br i1 %118, label %119, label %120 119: ; preds = %111 br label %162 120: ; preds = %111 %121 = load ptr, ptr %12, align 8 %122 = getelementptr inbounds i8, ptr %121, i64 4 store ptr %122, ptr %6, align 8 %123 = load ptr, ptr %12, align 8 %124 = getelementptr inbounds i8, ptr %123, i64 4 %125 = load i8, ptr %124, align 1 %126 = sext i8 %125 to i32 %127 = icmp eq i32 %126, 0 br i1 %127, label %128, label %129 128: ; preds = %120 br label %162 129: ; preds = %120 %130 = load ptr, ptr %12, align 8 %131 = getelementptr inbounds i8, ptr %130, i64 5 store ptr %131, ptr %6, align 8 %132 = load ptr, ptr %12, align 8 %133 = getelementptr inbounds i8, ptr %132, i64 5 %134 = load i8, ptr %133, align 1 %135 = sext i8 %134 to i32 %136 = icmp eq i32 %135, 0 br i1 %136, label %137, label %138 137: ; preds = %129 br label %162 138: ; preds = %129 %139 = load ptr, ptr %12, align 8 %140 = getelementptr inbounds i8, ptr %139, i64 6 store ptr %140, ptr %6, align 8 %141 = load ptr, ptr %12, align 8 %142 = getelementptr inbounds i8, ptr %141, i64 6 %143 = load i8, ptr %142, align 1 %144 = sext i8 %143 to i32 %145 = icmp eq i32 %144, 0 br i1 %145, label %146, label %147 146: ; preds = %138 br label %162 147: ; preds = %138 %148 = load ptr, ptr %12, align 8 %149 = getelementptr inbounds i8, ptr %148, i64 7 store ptr %149, ptr %6, align 8 %150 = load ptr, ptr %12, align 8 %151 = getelementptr inbounds i8, ptr %150, i64 7 %152 = load i8, ptr %151, align 1 %153 = sext i8 %152 to i32 %154 = icmp eq i32 %153, 0 br i1 %154, label %155, label %156 155: ; preds = %147 br label %162 156: ; preds = %147 br label %157 157: ; preds = %156, %73 %158 = load ptr, ptr %7, align 8 store ptr %158, ptr %6, align 8 %159 = load ptr, ptr %8, align 8 %160 = load ptr, ptr %7, align 8 %161 = icmp ult ptr %159, %160 br i1 %161, label %73, label %..loopexit_crit_edge, !llvm.loop !8 ..loopexit_crit_edge: ; preds = %157 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %58 br label %162 162: ; preds = %.loopexit, %155, %146, %137, %128, %119, %110, %101, %92 %163 = load ptr, ptr %6, align 8 %164 = load ptr, ptr %7, align 8 %165 = icmp ugt ptr %163, %164 br i1 %165, label %166, label %168 166: ; preds = %162 %167 = load ptr, ptr %7, align 8 store ptr %167, ptr %6, align 8 br label %168 168: ; preds = %166, %162 %169 = load ptr, ptr %6, align 8 %170 = load ptr, ptr %4, align 8 %171 = ptrtoint ptr %169 to i64 %172 = ptrtoint ptr %170 to i64 %173 = sub i64 %171, %172 store i64 %173, ptr %3, align 8 br label %174 174: ; preds = %168, %44, %18 %175 = load i64, ptr %3, align 8 ret i64 %175 } declare i64 @__glibc_unlikely(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/tmpaiutez1x.c' source_filename = "/tmp/tmpaiutez1x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"\0A-=- Menu de op\C3\A7\C3\B5es -=- \00", align 1 @.str.1 = private unnamed_addr constant [45 x i8] c"\0A-=- Per\C3\ADmetro do c\C3\ADrculo..............[1]\00", align 1 @.str.2 = private unnamed_addr constant [46 x i8] c"\0A-=- \C3\81Per\C3\ADmetro do ret\C3\A2ngulo...........[2]\00", align 1 @.str.3 = private unnamed_addr constant [45 x i8] c"\0A-=- Per\C3\ADmetro do tri\C3\A2ngulo............[3]\00", align 1 @.str.4 = private unnamed_addr constant [43 x i8] c"\0A-=- Sair..............................[4]\00", align 1 @.str.5 = private unnamed_addr constant [28 x i8] c"\0A\0A\0A-=- Digite sua op\C3\A7\C3\A3o: \00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.7 = private unnamed_addr constant [26 x i8] c"\0ADigite o valor do raio: \00", align 1 @.str.8 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @M_PI = dso_local global i32 0, align 4 @.str.9 = private unnamed_addr constant [21 x i8] c"O per\C3\ADmetro \C3\A9: %f\0A\00", align 1 @.str.10 = private unnamed_addr constant [6 x i8] c"pause\00", align 1 @.str.11 = private unnamed_addr constant [29 x i8] c"\0ADigite o valor da largura: \00", align 1 @.str.12 = private unnamed_addr constant [28 x i8] c"\0ADigite o valor da altura: \00", align 1 @.str.13 = private unnamed_addr constant [35 x i8] c"\0ADigite o valor do primeiro lado: \00", align 1 @.str.14 = private unnamed_addr constant [34 x i8] c"\0ADigite o valor do segundo lado: \00", align 1 @.str.15 = private unnamed_addr constant [35 x i8] c"\0ADigite o valor do terceiro lado: \00", align 1 @.str.16 = private unnamed_addr constant [8 x i8] c"\0A\0ASair!\00", align 1 @.str.17 = private unnamed_addr constant [42 x i8] c"\0AN\C3\BAmero digitado: TENTE OUTROS VALORES!\0A\00", align 1 @.str.18 = private unnamed_addr constant [19 x i8] c"\0AFim do programa\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca float, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca float, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %3, align 4 br label %9 9: ; preds = %64, %0 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str) %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %16 = call i32 (ptr, ...) @scanf(ptr noundef @.str.6, ptr noundef %3) %17 = load i32, ptr %3, align 4 switch i32 %17, label %61 [ i32 1, label %18 i32 2, label %30 i32 3, label %43 i32 4, label %59 ] 18: ; preds = %9 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %20 = call i32 (ptr, ...) @scanf(ptr noundef @.str.8, ptr noundef %4) %21 = load i32, ptr @M_PI, align 4 %22 = mul nsw i32 2, %21 %23 = sitofp i32 %22 to float %24 = load float, ptr %4, align 4 %25 = fmul float %23, %24 store float %25, ptr %5, align 4 %26 = load float, ptr %5, align 4 %27 = fpext float %26 to double %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, double noundef %27) %29 = call i32 @system(ptr noundef @.str.10) br label %63 30: ; preds = %9 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %32 = call i32 (ptr, ...) @scanf(ptr noundef @.str.8, ptr noundef %6) %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) %34 = call i32 (ptr, ...) @scanf(ptr noundef @.str.8, ptr noundef %7) %35 = load float, ptr %6, align 4 %36 = load float, ptr %7, align 4 %37 = fadd float %35, %36 %38 = fmul float %37, 2.000000e+00 store float %38, ptr %5, align 4 %39 = load float, ptr %5, align 4 %40 = fpext float %39 to double %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, double noundef %40) %42 = call i32 @system(ptr noundef @.str.10) br label %63 43: ; preds = %9 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) %45 = call i32 (ptr, ...) @scanf(ptr noundef @.str.8, ptr noundef %6) %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.14) %47 = call i32 (ptr, ...) @scanf(ptr noundef @.str.8, ptr noundef %7) %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.15) %49 = call i32 (ptr, ...) @scanf(ptr noundef @.str.8, ptr noundef %8) %50 = load float, ptr %6, align 4 %51 = load float, ptr %7, align 4 %52 = fadd float %50, %51 %53 = load float, ptr %8, align 4 %54 = fadd float %52, %53 store float %54, ptr %5, align 4 %55 = load float, ptr %5, align 4 %56 = fpext float %55 to double %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, double noundef %56) %58 = call i32 @system(ptr noundef @.str.10) br label %63 59: ; preds = %9 %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.16) br label %63 61: ; preds = %9 %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.17) br label %63 63: ; preds = %61, %59, %43, %30, %18 br label %64 64: ; preds = %63 %65 = load i32, ptr %3, align 4 %66 = icmp ne i32 %65, 4 br i1 %66, label %9, label %67, !llvm.loop !6 67: ; preds = %64 %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.18) %69 = call i32 @system(ptr noundef @.str.10) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ...) #1 declare i32 @system(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpaiutez1x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"\0A-=- Menu de op\C3\A7\C3\B5es -=- \00", align 1 @.str.1 = private unnamed_addr constant [45 x i8] c"\0A-=- Per\C3\ADmetro do c\C3\ADrculo..............[1]\00", align 1 @.str.2 = private unnamed_addr constant [46 x i8] c"\0A-=- \C3\81Per\C3\ADmetro do ret\C3\A2ngulo...........[2]\00", align 1 @.str.3 = private unnamed_addr constant [45 x i8] c"\0A-=- Per\C3\ADmetro do tri\C3\A2ngulo............[3]\00", align 1 @.str.4 = private unnamed_addr constant [43 x i8] c"\0A-=- Sair..............................[4]\00", align 1 @.str.5 = private unnamed_addr constant [28 x i8] c"\0A\0A\0A-=- Digite sua op\C3\A7\C3\A3o: \00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.7 = private unnamed_addr constant [26 x i8] c"\0ADigite o valor do raio: \00", align 1 @.str.8 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @M_PI = dso_local global i32 0, align 4 @.str.9 = private unnamed_addr constant [21 x i8] c"O per\C3\ADmetro \C3\A9: %f\0A\00", align 1 @.str.10 = private unnamed_addr constant [6 x i8] c"pause\00", align 1 @.str.11 = private unnamed_addr constant [29 x i8] c"\0ADigite o valor da largura: \00", align 1 @.str.12 = private unnamed_addr constant [28 x i8] c"\0ADigite o valor da altura: \00", align 1 @.str.13 = private unnamed_addr constant [35 x i8] c"\0ADigite o valor do primeiro lado: \00", align 1 @.str.14 = private unnamed_addr constant [34 x i8] c"\0ADigite o valor do segundo lado: \00", align 1 @.str.15 = private unnamed_addr constant [35 x i8] c"\0ADigite o valor do terceiro lado: \00", align 1 @.str.16 = private unnamed_addr constant [8 x i8] c"\0A\0ASair!\00", align 1 @.str.17 = private unnamed_addr constant [42 x i8] c"\0AN\C3\BAmero digitado: TENTE OUTROS VALORES!\0A\00", align 1 @.str.18 = private unnamed_addr constant [19 x i8] c"\0AFim do programa\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca float, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca float, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 0, ptr %3, align 4 br label %9 9: ; preds = %64, %0 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str) %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %16 = call i32 (ptr, ...) @scanf(ptr noundef @.str.6, ptr noundef %3) %17 = load i32, ptr %3, align 4 switch i32 %17, label %61 [ i32 1, label %18 i32 2, label %30 i32 3, label %43 i32 4, label %59 ] 18: ; preds = %9 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %20 = call i32 (ptr, ...) @scanf(ptr noundef @.str.8, ptr noundef %4) %21 = load i32, ptr @M_PI, align 4 %22 = mul nsw i32 2, %21 %23 = sitofp i32 %22 to float %24 = load float, ptr %4, align 4 %25 = fmul float %23, %24 store float %25, ptr %5, align 4 %26 = load float, ptr %5, align 4 %27 = fpext float %26 to double %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, double noundef %27) %29 = call i32 @system(ptr noundef @.str.10) br label %63 30: ; preds = %9 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %32 = call i32 (ptr, ...) @scanf(ptr noundef @.str.8, ptr noundef %6) %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) %34 = call i32 (ptr, ...) @scanf(ptr noundef @.str.8, ptr noundef %7) %35 = load float, ptr %6, align 4 %36 = load float, ptr %7, align 4 %37 = fadd float %35, %36 %38 = fmul float %37, 2.000000e+00 store float %38, ptr %5, align 4 %39 = load float, ptr %5, align 4 %40 = fpext float %39 to double %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, double noundef %40) %42 = call i32 @system(ptr noundef @.str.10) br label %63 43: ; preds = %9 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) %45 = call i32 (ptr, ...) @scanf(ptr noundef @.str.8, ptr noundef %6) %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.14) %47 = call i32 (ptr, ...) @scanf(ptr noundef @.str.8, ptr noundef %7) %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.15) %49 = call i32 (ptr, ...) @scanf(ptr noundef @.str.8, ptr noundef %8) %50 = load float, ptr %6, align 4 %51 = load float, ptr %7, align 4 %52 = fadd float %50, %51 %53 = load float, ptr %8, align 4 %54 = fadd float %52, %53 store float %54, ptr %5, align 4 %55 = load float, ptr %5, align 4 %56 = fpext float %55 to double %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, double noundef %56) %58 = call i32 @system(ptr noundef @.str.10) br label %63 59: ; preds = %9 %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.16) br label %63 61: ; preds = %9 %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.17) br label %63 63: ; preds = %61, %59, %43, %30, %18 br label %64 64: ; preds = %63 %65 = load i32, ptr %3, align 4 %66 = icmp ne i32 %65, 4 br i1 %66, label %9, label %67, !llvm.loop !6 67: ; preds = %64 %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.18) %69 = call i32 @system(ptr noundef @.str.10) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ...) #1 declare i32 @system(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp9m8i2he9.c' source_filename = "/tmp/tmp9m8i2he9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @M_PI = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @LSKeyframeAnimationFunctionEaseOutElastic(double noundef %0, double noundef %1, double noundef %2, double noundef %3) #0 { %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 store double %0, ptr %6, align 8 store double %1, ptr %7, align 8 store double %2, ptr %8, align 8 store double %3, ptr %9, align 8 store double 1.701580e+00, ptr %10, align 8 store double 0.000000e+00, ptr %11, align 8 %13 = load double, ptr %8, align 8 store double %13, ptr %12, align 8 %14 = load double, ptr %6, align 8 %15 = fcmp oeq double %14, 0.000000e+00 br i1 %15, label %16, label %18 16: ; preds = %4 %17 = load double, ptr %7, align 8 store double %17, ptr %5, align 8 br label %76 18: ; preds = %4 %19 = load double, ptr %9, align 8 %20 = load double, ptr %6, align 8 %21 = fdiv double %20, %19 store double %21, ptr %6, align 8 %22 = fcmp oeq double %21, 1.000000e+00 br i1 %22, label %23, label %27 23: ; preds = %18 %24 = load double, ptr %7, align 8 %25 = load double, ptr %8, align 8 %26 = fadd double %24, %25 store double %26, ptr %5, align 8 br label %76 27: ; preds = %18 %28 = load double, ptr %11, align 8 %29 = fcmp une double %28, 0.000000e+00 br i1 %29, label %33, label %30 30: ; preds = %27 %31 = load double, ptr %9, align 8 %32 = fmul double %31, 3.000000e-01 store double %32, ptr %11, align 8 br label %33 33: ; preds = %30, %27 %34 = load double, ptr %12, align 8 %35 = load double, ptr %8, align 8 %36 = call double @llvm.fabs.f64(double %35) %37 = fcmp olt double %34, %36 br i1 %37, label %38, label %42 38: ; preds = %33 %39 = load double, ptr %8, align 8 store double %39, ptr %12, align 8 %40 = load double, ptr %11, align 8 %41 = fdiv double %40, 4.000000e+00 store double %41, ptr %10, align 8 br label %53 42: ; preds = %33 %43 = load double, ptr %11, align 8 %44 = load i32, ptr @M_PI, align 4 %45 = mul nsw i32 2, %44 %46 = sitofp i32 %45 to double %47 = fdiv double %43, %46 %48 = load double, ptr %8, align 8 %49 = load double, ptr %12, align 8 %50 = fdiv double %48, %49 %51 = call double @asin(double noundef %50) #4 %52 = fmul double %47, %51 store double %52, ptr %10, align 8 br label %53 53: ; preds = %42, %38 %54 = load double, ptr %12, align 8 %55 = load double, ptr %6, align 8 %56 = fmul double -1.000000e+01, %55 %57 = fptosi double %56 to i32 %58 = call double @pow(i32 noundef 2, i32 noundef %57) %59 = fmul double %54, %58 %60 = load double, ptr %6, align 8 %61 = load double, ptr %9, align 8 %62 = load double, ptr %10, align 8 %63 = fneg double %62 %64 = call double @llvm.fmuladd.f64(double %60, double %61, double %63) %65 = load i32, ptr @M_PI, align 4 %66 = mul nsw i32 2, %65 %67 = sitofp i32 %66 to double %68 = fmul double %64, %67 %69 = load double, ptr %11, align 8 %70 = fdiv double %68, %69 %71 = call double @sin(double noundef %70) #4 %72 = load double, ptr %8, align 8 %73 = call double @llvm.fmuladd.f64(double %59, double %71, double %72) %74 = load double, ptr %7, align 8 %75 = fadd double %73, %74 store double %75, ptr %5, align 8 br label %76 76: ; preds = %53, %23, %16 %77 = load double, ptr %5, align 8 ret double %77 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #1 ; Function Attrs: nounwind declare double @asin(double noundef) #2 declare double @pow(i32 noundef, i32 noundef) #3 ; Function Attrs: nounwind declare double @sin(double noundef) #2 ; 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) } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { "frame-pointer"="all" "no-trapping-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 = { 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/tmp9m8i2he9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @M_PI = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @LSKeyframeAnimationFunctionEaseOutElastic(double noundef %0, double noundef %1, double noundef %2, double noundef %3) #0 { %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 store double %0, ptr %6, align 8 store double %1, ptr %7, align 8 store double %2, ptr %8, align 8 store double %3, ptr %9, align 8 store double 1.701580e+00, ptr %10, align 8 store double 0.000000e+00, ptr %11, align 8 %13 = load double, ptr %8, align 8 store double %13, ptr %12, align 8 %14 = load double, ptr %6, align 8 %15 = fcmp oeq double %14, 0.000000e+00 br i1 %15, label %16, label %18 16: ; preds = %4 %17 = load double, ptr %7, align 8 store double %17, ptr %5, align 8 br label %76 18: ; preds = %4 %19 = load double, ptr %9, align 8 %20 = load double, ptr %6, align 8 %21 = fdiv double %20, %19 store double %21, ptr %6, align 8 %22 = fcmp oeq double %21, 1.000000e+00 br i1 %22, label %23, label %27 23: ; preds = %18 %24 = load double, ptr %7, align 8 %25 = load double, ptr %8, align 8 %26 = fadd double %24, %25 store double %26, ptr %5, align 8 br label %76 27: ; preds = %18 %28 = load double, ptr %11, align 8 %29 = fcmp une double %28, 0.000000e+00 br i1 %29, label %33, label %30 30: ; preds = %27 %31 = load double, ptr %9, align 8 %32 = fmul double %31, 3.000000e-01 store double %32, ptr %11, align 8 br label %33 33: ; preds = %30, %27 %34 = load double, ptr %12, align 8 %35 = load double, ptr %8, align 8 %36 = call double @llvm.fabs.f64(double %35) %37 = fcmp olt double %34, %36 br i1 %37, label %38, label %42 38: ; preds = %33 %39 = load double, ptr %8, align 8 store double %39, ptr %12, align 8 %40 = load double, ptr %11, align 8 %41 = fdiv double %40, 4.000000e+00 store double %41, ptr %10, align 8 br label %53 42: ; preds = %33 %43 = load double, ptr %11, align 8 %44 = load i32, ptr @M_PI, align 4 %45 = mul nsw i32 2, %44 %46 = sitofp i32 %45 to double %47 = fdiv double %43, %46 %48 = load double, ptr %8, align 8 %49 = load double, ptr %12, align 8 %50 = fdiv double %48, %49 %51 = call double @asin(double noundef %50) #4 %52 = fmul double %47, %51 store double %52, ptr %10, align 8 br label %53 53: ; preds = %42, %38 %54 = load double, ptr %12, align 8 %55 = load double, ptr %6, align 8 %56 = fmul double -1.000000e+01, %55 %57 = fptosi double %56 to i32 %58 = call double @pow(i32 noundef 2, i32 noundef %57) %59 = fmul double %54, %58 %60 = load double, ptr %6, align 8 %61 = load double, ptr %9, align 8 %62 = load double, ptr %10, align 8 %63 = fneg double %62 %64 = call double @llvm.fmuladd.f64(double %60, double %61, double %63) %65 = load i32, ptr @M_PI, align 4 %66 = mul nsw i32 2, %65 %67 = sitofp i32 %66 to double %68 = fmul double %64, %67 %69 = load double, ptr %11, align 8 %70 = fdiv double %68, %69 %71 = call double @sin(double noundef %70) #4 %72 = load double, ptr %8, align 8 %73 = call double @llvm.fmuladd.f64(double %59, double %71, double %72) %74 = load double, ptr %7, align 8 %75 = fadd double %73, %74 store double %75, ptr %5, align 8 br label %76 76: ; preds = %53, %23, %16 %77 = load double, ptr %5, align 8 ret double %77 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #1 ; Function Attrs: nounwind declare double @asin(double noundef) #2 declare double @pow(i32 noundef, i32 noundef) #3 ; Function Attrs: nounwind declare double @sin(double noundef) #2 ; 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) } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { "frame-pointer"="all" "no-trapping-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 = { 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/tmprj17z7ql.c' source_filename = "/tmp/tmprj17z7ql.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"p1: Y = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %4 = call i32 (...) @create_semaphore() %5 = call i32 (...) @create_shared_memory() %6 = call i32 (...) @sem_init() %7 = call ptr (...) @attach_shared_memory1() store ptr %7, ptr %2, align 8 %8 = call ptr (...) @attach_shared_memory2() store ptr %8, ptr %3, align 8 %9 = load ptr, ptr %2, align 8 store i32 0, ptr %9, align 4 %10 = call i32 @sem_post(i32 noundef 0) br label %11 11: ; preds = %0, %11 %12 = call i32 @sem_wait(i32 noundef 1) %13 = load ptr, ptr %3, align 8 %14 = load i32, ptr %13, align 4 %15 = call i32 @printf(ptr noundef @.str, i32 noundef %14) %16 = load ptr, ptr %3, align 8 %17 = load i32, ptr %16, align 4 %18 = add nsw i32 %17, 1 %19 = load ptr, ptr %2, align 8 store i32 %18, ptr %19, align 4 %20 = call i32 @sem_post(i32 noundef 0) br label %11 } declare i32 @create_semaphore(...) #1 declare i32 @create_shared_memory(...) #1 declare i32 @sem_init(...) #1 declare ptr @attach_shared_memory1(...) #1 declare ptr @attach_shared_memory2(...) #1 declare i32 @sem_post(i32 noundef) #1 declare i32 @sem_wait(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprj17z7ql.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"p1: Y = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %4 = call i32 (...) @create_semaphore() %5 = call i32 (...) @create_shared_memory() %6 = call i32 (...) @sem_init() %7 = call ptr (...) @attach_shared_memory1() store ptr %7, ptr %2, align 8 %8 = call ptr (...) @attach_shared_memory2() store ptr %8, ptr %3, align 8 %9 = load ptr, ptr %2, align 8 store i32 0, ptr %9, align 4 %10 = call i32 @sem_post(i32 noundef 0) br label %11 11: ; preds = %11, %0 %12 = call i32 @sem_wait(i32 noundef 1) %13 = load ptr, ptr %3, align 8 %14 = load i32, ptr %13, align 4 %15 = call i32 @printf(ptr noundef @.str, i32 noundef %14) %16 = load ptr, ptr %3, align 8 %17 = load i32, ptr %16, align 4 %18 = add nsw i32 %17, 1 %19 = load ptr, ptr %2, align 8 store i32 %18, ptr %19, align 4 %20 = call i32 @sem_post(i32 noundef 0) br label %11 } declare i32 @create_semaphore(...) #1 declare i32 @create_shared_memory(...) #1 declare i32 @sem_init(...) #1 declare ptr @attach_shared_memory1(...) #1 declare ptr @attach_shared_memory2(...) #1 declare i32 @sem_post(i32 noundef) #1 declare i32 @sem_wait(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjdf46e0k.c' source_filename = "/tmp/tmpjdf46e0k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [140 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/ForgotFun/wifidog/refs/heads/master/src/gateway.c\00", align 1 @LOG_DEBUG = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [51 x i8] c"Handler for SIGCHLD called. Trying to reap a child\00", align 1 @WNOHANG = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [40 x i8] c"Handler for SIGCHLD reaped child PID %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sigchld_handler(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %5 = load i32, ptr @LOG_DEBUG, align 4 %6 = call i32 (ptr, i32, i32, ptr, ...) @_debug(ptr noundef @.str, i32 noundef 259, i32 noundef %5, ptr noundef @.str.1) %7 = load i32, ptr @WNOHANG, align 4 %8 = call i32 @waitpid(i32 noundef -1, ptr noundef %3, i32 noundef %7) store i32 %8, ptr %4, align 4 %9 = load i32, ptr @LOG_DEBUG, align 4 %10 = load i32, ptr %4, align 4 %11 = call i32 (ptr, i32, i32, ptr, ...) @_debug(ptr noundef @.str, i32 noundef 263, i32 noundef %9, ptr noundef @.str.2, i32 noundef %10) ret void } declare i32 @_debug(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ...) #1 declare i32 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjdf46e0k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [140 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/ForgotFun/wifidog/refs/heads/master/src/gateway.c\00", align 1 @LOG_DEBUG = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [51 x i8] c"Handler for SIGCHLD called. Trying to reap a child\00", align 1 @WNOHANG = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [40 x i8] c"Handler for SIGCHLD reaped child PID %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sigchld_handler(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %5 = load i32, ptr @LOG_DEBUG, align 4 %6 = call i32 (ptr, i32, i32, ptr, ...) @_debug(ptr noundef @.str, i32 noundef 259, i32 noundef %5, ptr noundef @.str.1) %7 = load i32, ptr @WNOHANG, align 4 %8 = call i32 @waitpid(i32 noundef -1, ptr noundef %3, i32 noundef %7) store i32 %8, ptr %4, align 4 %9 = load i32, ptr @LOG_DEBUG, align 4 %10 = load i32, ptr %4, align 4 %11 = call i32 (ptr, i32, i32, ptr, ...) @_debug(ptr noundef @.str, i32 noundef 263, i32 noundef %9, ptr noundef @.str.2, i32 noundef %10) ret void } declare i32 @_debug(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ...) #1 declare i32 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppv7c3tya.c' source_filename = "/tmp/tmppv7c3tya.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [36 x i8] c"Maximum number of entries reached!\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"Enter day and reminder: \00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%2d\00", align 1 @.str.3 = private unnamed_addr constant [28 x i8] c"Failed to allocate memory!\0A\00", align 1 @.str.4 = private unnamed_addr constant [14 x i8] c"Day Reminder\0A\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [50 x ptr], align 16 %3 = alloca i32, align 4 %4 = alloca [3 x i8], align 1 %5 = alloca [78 x i8], align 16 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 br label %11 11: ; preds = %0, %79 store i32 0, ptr %6, align 4 %12 = load i32, ptr %3, align 4 %13 = icmp eq i32 %12, 50 br i1 %13, label %14, label %16 14: ; preds = %11 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %98 16: ; preds = %11 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %18 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %7) %19 = load i32, ptr %7, align 4 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %22 21: ; preds = %16 br label %98 22: ; preds = %16 %23 = getelementptr inbounds [3 x i8], ptr %4, i64 0, i64 0 %24 = load i32, ptr %7, align 4 %25 = call i32 @sprintf(ptr noundef %23, ptr noundef @.str.2, i32 noundef %24) %26 = getelementptr inbounds [78 x i8], ptr %5, i64 0, i64 0 %27 = call i32 @read_line(ptr noundef %26, i32 noundef 78) store i32 0, ptr %6, align 4 br label %28 28: ; preds = %42, %22 %29 = load i32, ptr %6, align 4 %30 = load i32, ptr %3, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %32, label %45 32: ; preds = %28 %33 = getelementptr inbounds [3 x i8], ptr %4, i64 0, i64 0 %34 = load i32, ptr %6, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds [50 x ptr], ptr %2, i64 0, i64 %35 %37 = load ptr, ptr %36, align 8 %38 = call i64 @strcmp(ptr noundef %33, ptr noundef %37) %39 = icmp slt i64 %38, 0 br i1 %39, label %40, label %41 40: ; preds = %32 br label %45 41: ; preds = %32 br label %42 42: ; preds = %41 %43 = load i32, ptr %6, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %6, align 4 br label %28, !llvm.loop !6 45: ; preds = %40, %28 %46 = load i32, ptr %3, align 4 store i32 %46, ptr %8, align 4 br label %47 47: ; preds = %60, %45 %48 = load i32, ptr %8, align 4 %49 = load i32, ptr %6, align 4 %50 = icmp sgt i32 %48, %49 br i1 %50, label %51, label %63 51: ; preds = %47 %52 = load i32, ptr %8, align 4 %53 = sub nsw i32 %52, 1 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [50 x ptr], ptr %2, i64 0, i64 %54 %56 = load ptr, ptr %55, align 8 %57 = load i32, ptr %8, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds [50 x ptr], ptr %2, i64 0, i64 %58 store ptr %56, ptr %59, align 8 br label %60 60: ; preds = %51 %61 = load i32, ptr %8, align 4 %62 = sub nsw i32 %61, 1 store i32 %62, ptr %8, align 4 br label %47, !llvm.loop !8 63: ; preds = %47 %64 = getelementptr inbounds [78 x i8], ptr %5, i64 0, i64 0 %65 = call i64 @strlen(ptr noundef %64) %66 = add nsw i64 2, %65 %67 = add nsw i64 %66, 1 %68 = call ptr @malloc(i64 noundef %67) %69 = load i32, ptr %6, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds [50 x ptr], ptr %2, i64 0, i64 %70 store ptr %68, ptr %71, align 8 %72 = load i32, ptr %6, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds [50 x ptr], ptr %2, i64 0, i64 %73 %75 = load ptr, ptr %74, align 8 %76 = icmp eq ptr %75, null br i1 %76, label %77, label %79 77: ; preds = %63 %78 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %98 79: ; preds = %63 %80 = load i32, ptr %6, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds [50 x ptr], ptr %2, i64 0, i64 %81 %83 = load ptr, ptr %82, align 8 %84 = getelementptr inbounds [3 x i8], ptr %4, i64 0, i64 0 %85 = getelementptr inbounds [3 x i8], ptr %4, i64 0, i64 0 %86 = call i64 @strlen(ptr noundef %85) %87 = call i32 @strncpy(ptr noundef %83, ptr noundef %84, i64 noundef %86) %88 = load i32, ptr %6, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds [50 x ptr], ptr %2, i64 0, i64 %89 %91 = load ptr, ptr %90, align 8 %92 = getelementptr inbounds [78 x i8], ptr %5, i64 0, i64 0 %93 = getelementptr inbounds [78 x i8], ptr %5, i64 0, i64 0 %94 = call i64 @strlen(ptr noundef %93) %95 = call i32 @strncat(ptr noundef %91, ptr noundef %92, i64 noundef %94) %96 = load i32, ptr %3, align 4 %97 = add nsw i32 %96, 1 store i32 %97, ptr %3, align 4 br label %11 98: ; preds = %77, %21, %14 %99 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) store i32 0, ptr %9, align 4 br label %100 100: ; preds = %110, %98 %101 = load i32, ptr %9, align 4 %102 = load i32, ptr %3, align 4 %103 = icmp slt i32 %101, %102 br i1 %103, label %104, label %113 104: ; preds = %100 %105 = load i32, ptr %9, align 4 %106 = sext i32 %105 to i64 %107 = getelementptr inbounds [50 x ptr], ptr %2, i64 0, i64 %106 %108 = load ptr, ptr %107, align 8 %109 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %108) br label %110 110: ; preds = %104 %111 = load i32, ptr %9, align 4 %112 = add nsw i32 %111, 1 store i32 %112, ptr %9, align 4 br label %100, !llvm.loop !9 113: ; preds = %100 store i32 0, ptr %10, align 4 br label %114 114: ; preds = %124, %113 %115 = load i32, ptr %10, align 4 %116 = load i32, ptr %3, align 4 %117 = icmp slt i32 %115, %116 br i1 %117, label %118, label %127 118: ; preds = %114 %119 = load i32, ptr %10, align 4 %120 = sext i32 %119 to i64 %121 = getelementptr inbounds [50 x ptr], ptr %2, i64 0, i64 %120 %122 = load ptr, ptr %121, align 8 %123 = call i32 @free(ptr noundef %122) br label %124 124: ; preds = %118 %125 = load i32, ptr %10, align 4 %126 = add nsw i32 %125, 1 store i32 %126, ptr %10, align 4 br label %114, !llvm.loop !10 127: ; preds = %114 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @read_line(ptr noundef, i32 noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i64 noundef) #1 declare i32 @strncat(ptr noundef, ptr noundef, i64 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppv7c3tya.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [36 x i8] c"Maximum number of entries reached!\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"Enter day and reminder: \00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%2d\00", align 1 @.str.3 = private unnamed_addr constant [28 x i8] c"Failed to allocate memory!\0A\00", align 1 @.str.4 = private unnamed_addr constant [14 x i8] c"Day Reminder\0A\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [50 x ptr], align 16 %3 = alloca i32, align 4 %4 = alloca [3 x i8], align 1 %5 = alloca [78 x i8], align 16 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %6, align 4 %11 = load i32, ptr %3, align 4 %12 = icmp eq i32 %11, 50 br i1 %12, label %13, label %.lr.ph3 .lr.ph3: ; preds = %0 br label %15 ._crit_edge4: ; preds = %82 br label %13 13: ; preds = %._crit_edge4, %0 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %103 15: ; preds = %.lr.ph3, %82 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %17 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %7) %18 = load i32, ptr %7, align 4 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %21 20: ; preds = %15 br label %103 21: ; preds = %15 %22 = getelementptr inbounds [3 x i8], ptr %4, i64 0, i64 0 %23 = load i32, ptr %7, align 4 %24 = call i32 @sprintf(ptr noundef %22, ptr noundef @.str.2, i32 noundef %23) %25 = getelementptr inbounds [78 x i8], ptr %5, i64 0, i64 0 %26 = call i32 @read_line(ptr noundef %25, i32 noundef 78) store i32 0, ptr %6, align 4 %27 = load i32, ptr %6, align 4 %28 = load i32, ptr %3, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %21 br label %30 30: ; preds = %.lr.ph, %40 %31 = getelementptr inbounds [3 x i8], ptr %4, i64 0, i64 0 %32 = load i32, ptr %6, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [50 x ptr], ptr %2, i64 0, i64 %33 %35 = load ptr, ptr %34, align 8 %36 = call i64 @strcmp(ptr noundef %31, ptr noundef %35) %37 = icmp slt i64 %36, 0 br i1 %37, label %38, label %39 38: ; preds = %30 br label %46 39: ; preds = %30 br label %40 40: ; preds = %39 %41 = load i32, ptr %6, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %6, align 4 %43 = load i32, ptr %6, align 4 %44 = load i32, ptr %3, align 4 %45 = icmp slt i32 %43, %44 br i1 %45, label %30, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %40 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %21 br label %46 46: ; preds = %.loopexit, %38 %47 = load i32, ptr %3, align 4 store i32 %47, ptr %8, align 4 %48 = load i32, ptr %8, align 4 %49 = load i32, ptr %6, align 4 %50 = icmp sgt i32 %48, %49 br i1 %50, label %.lr.ph1, label %66 .lr.ph1: ; preds = %46 br label %51 51: ; preds = %.lr.ph1, %60 %52 = load i32, ptr %8, align 4 %53 = sub nsw i32 %52, 1 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [50 x ptr], ptr %2, i64 0, i64 %54 %56 = load ptr, ptr %55, align 8 %57 = load i32, ptr %8, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds [50 x ptr], ptr %2, i64 0, i64 %58 store ptr %56, ptr %59, align 8 br label %60 60: ; preds = %51 %61 = load i32, ptr %8, align 4 %62 = sub nsw i32 %61, 1 store i32 %62, ptr %8, align 4 %63 = load i32, ptr %8, align 4 %64 = load i32, ptr %6, align 4 %65 = icmp sgt i32 %63, %64 br i1 %65, label %51, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %60 br label %66 66: ; preds = %._crit_edge, %46 %67 = getelementptr inbounds [78 x i8], ptr %5, i64 0, i64 0 %68 = call i64 @strlen(ptr noundef %67) %69 = add nsw i64 2, %68 %70 = add nsw i64 %69, 1 %71 = call ptr @malloc(i64 noundef %70) %72 = load i32, ptr %6, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds [50 x ptr], ptr %2, i64 0, i64 %73 store ptr %71, ptr %74, align 8 %75 = load i32, ptr %6, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds [50 x ptr], ptr %2, i64 0, i64 %76 %78 = load ptr, ptr %77, align 8 %79 = icmp eq ptr %78, null br i1 %79, label %80, label %82 80: ; preds = %66 %81 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %103 82: ; preds = %66 %83 = load i32, ptr %6, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds [50 x ptr], ptr %2, i64 0, i64 %84 %86 = load ptr, ptr %85, align 8 %87 = getelementptr inbounds [3 x i8], ptr %4, i64 0, i64 0 %88 = getelementptr inbounds [3 x i8], ptr %4, i64 0, i64 0 %89 = call i64 @strlen(ptr noundef %88) %90 = call i32 @strncpy(ptr noundef %86, ptr noundef %87, i64 noundef %89) %91 = load i32, ptr %6, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds [50 x ptr], ptr %2, i64 0, i64 %92 %94 = load ptr, ptr %93, align 8 %95 = getelementptr inbounds [78 x i8], ptr %5, i64 0, i64 0 %96 = getelementptr inbounds [78 x i8], ptr %5, i64 0, i64 0 %97 = call i64 @strlen(ptr noundef %96) %98 = call i32 @strncat(ptr noundef %94, ptr noundef %95, i64 noundef %97) %99 = load i32, ptr %3, align 4 %100 = add nsw i32 %99, 1 store i32 %100, ptr %3, align 4 store i32 0, ptr %6, align 4 %101 = load i32, ptr %3, align 4 %102 = icmp eq i32 %101, 50 br i1 %102, label %._crit_edge4, label %15 103: ; preds = %80, %20, %13 %104 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) store i32 0, ptr %9, align 4 %105 = load i32, ptr %9, align 4 %106 = load i32, ptr %3, align 4 %107 = icmp slt i32 %105, %106 br i1 %107, label %.lr.ph6, label %120 .lr.ph6: ; preds = %103 br label %108 108: ; preds = %.lr.ph6, %114 %109 = load i32, ptr %9, align 4 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds [50 x ptr], ptr %2, i64 0, i64 %110 %112 = load ptr, ptr %111, align 8 %113 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %112) br label %114 114: ; preds = %108 %115 = load i32, ptr %9, align 4 %116 = add nsw i32 %115, 1 store i32 %116, ptr %9, align 4 %117 = load i32, ptr %9, align 4 %118 = load i32, ptr %3, align 4 %119 = icmp slt i32 %117, %118 br i1 %119, label %108, label %._crit_edge7, !llvm.loop !9 ._crit_edge7: ; preds = %114 br label %120 120: ; preds = %._crit_edge7, %103 store i32 0, ptr %10, align 4 %121 = load i32, ptr %10, align 4 %122 = load i32, ptr %3, align 4 %123 = icmp slt i32 %121, %122 br i1 %123, label %.lr.ph9, label %136 .lr.ph9: ; preds = %120 br label %124 124: ; preds = %.lr.ph9, %130 %125 = load i32, ptr %10, align 4 %126 = sext i32 %125 to i64 %127 = getelementptr inbounds [50 x ptr], ptr %2, i64 0, i64 %126 %128 = load ptr, ptr %127, align 8 %129 = call i32 @free(ptr noundef %128) br label %130 130: ; preds = %124 %131 = load i32, ptr %10, align 4 %132 = add nsw i32 %131, 1 store i32 %132, ptr %10, align 4 %133 = load i32, ptr %10, align 4 %134 = load i32, ptr %3, align 4 %135 = icmp slt i32 %133, %134 br i1 %135, label %124, label %._crit_edge10, !llvm.loop !10 ._crit_edge10: ; preds = %130 br label %136 136: ; preds = %._crit_edge10, %120 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @read_line(ptr noundef, i32 noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i64 noundef) #1 declare i32 @strncat(ptr noundef, ptr noundef, i64 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmphai78vr3.c' source_filename = "/tmp/tmphai78vr3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [94 x i8] c"Usage: ./particle_box [box width] [grid steps] [time step] [number of steps] [sigma] [kappa]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_usage() #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/tmphai78vr3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [94 x i8] c"Usage: ./particle_box [box width] [grid steps] [time step] [number of steps] [sigma] [kappa]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_usage() #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/tmpvghr7mct.c' source_filename = "/tmp/tmpvghr7mct.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @LZBSS_fread(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %9 = load i32, ptr %6, align 4 %10 = sext i32 %9 to i64 %11 = load ptr, ptr %8, align 8 %12 = load ptr, ptr %7, align 8 %13 = load ptr, ptr %12, align 8 %14 = ptrtoint ptr %11 to i64 %15 = ptrtoint ptr %13 to i64 %16 = sub i64 %14, %15 %17 = icmp sgt i64 %10, %16 br i1 %17, label %18, label %26 18: ; preds = %4 %19 = load ptr, ptr %8, align 8 %20 = load ptr, ptr %7, align 8 %21 = load ptr, ptr %20, align 8 %22 = ptrtoint ptr %19 to i64 %23 = ptrtoint ptr %21 to i64 %24 = sub i64 %22, %23 %25 = trunc i64 %24 to i32 store i32 %25, ptr %6, align 4 br label %26 26: ; preds = %18, %4 %27 = load ptr, ptr %5, align 8 %28 = load ptr, ptr %7, align 8 %29 = load ptr, ptr %28, align 8 %30 = load i32, ptr %6, align 4 %31 = call i32 @memcpy(ptr noundef %27, ptr noundef %29, i32 noundef %30) %32 = load i32, ptr %6, align 4 %33 = load ptr, ptr %7, align 8 %34 = load ptr, ptr %33, align 8 %35 = sext i32 %32 to i64 %36 = getelementptr inbounds i8, ptr %34, i64 %35 store ptr %36, ptr %33, align 8 %37 = load i32, ptr %6, align 4 ret i32 %37 } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvghr7mct.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @LZBSS_fread(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %9 = load i32, ptr %6, align 4 %10 = sext i32 %9 to i64 %11 = load ptr, ptr %8, align 8 %12 = load ptr, ptr %7, align 8 %13 = load ptr, ptr %12, align 8 %14 = ptrtoint ptr %11 to i64 %15 = ptrtoint ptr %13 to i64 %16 = sub i64 %14, %15 %17 = icmp sgt i64 %10, %16 br i1 %17, label %18, label %26 18: ; preds = %4 %19 = load ptr, ptr %8, align 8 %20 = load ptr, ptr %7, align 8 %21 = load ptr, ptr %20, align 8 %22 = ptrtoint ptr %19 to i64 %23 = ptrtoint ptr %21 to i64 %24 = sub i64 %22, %23 %25 = trunc i64 %24 to i32 store i32 %25, ptr %6, align 4 br label %26 26: ; preds = %18, %4 %27 = load ptr, ptr %5, align 8 %28 = load ptr, ptr %7, align 8 %29 = load ptr, ptr %28, align 8 %30 = load i32, ptr %6, align 4 %31 = call i32 @memcpy(ptr noundef %27, ptr noundef %29, i32 noundef %30) %32 = load i32, ptr %6, align 4 %33 = load ptr, ptr %7, align 8 %34 = load ptr, ptr %33, align 8 %35 = sext i32 %32 to i64 %36 = getelementptr inbounds i8, ptr %34, i64 %35 store ptr %36, ptr %33, align 8 %37 = load i32, ptr %6, align 4 ret i32 %37 } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxjz5qmv8.c' source_filename = "/tmp/tmpxjz5qmv8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c" %d\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c" %s\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"N\0A\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"L\0A\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"S\0A\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"O\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [1500 x i8], align 16 %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 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %3) br label %7 7: ; preds = %52, %0 %8 = load i32, ptr %3, align 4 %9 = icmp ne i32 %8, 0 br i1 %9, label %10, label %54 10: ; preds = %7 store i32 0, ptr %5, align 4 %11 = getelementptr inbounds [1500 x i8], ptr %2, i64 0, i64 0 %12 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %11) store i32 0, ptr %4, align 4 br label %13 13: ; preds = %39, %10 %14 = load i32, ptr %4, align 4 %15 = load i32, ptr %3, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %17, label %42 17: ; preds = %13 %18 = load i32, ptr %4, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds [1500 x i8], ptr %2, i64 0, i64 %19 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 switch i32 %22, label %29 [ i32 68, label %23 i32 69, label %26 ] 23: ; preds = %17 %24 = load i32, ptr %5, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %5, align 4 br label %29 26: ; preds = %17 %27 = load i32, ptr %5, align 4 %28 = add nsw i32 %27, -1 store i32 %28, ptr %5, align 4 br label %29 29: ; preds = %17, %26, %23 %30 = load i32, ptr %5, align 4 %31 = icmp sgt i32 %30, 3 br i1 %31, label %32, label %33 32: ; preds = %29 store i32 0, ptr %5, align 4 br label %38 33: ; preds = %29 %34 = load i32, ptr %5, align 4 %35 = icmp slt i32 %34, 0 br i1 %35, label %36, label %37 36: ; preds = %33 store i32 3, ptr %5, align 4 br label %37 37: ; preds = %36, %33 br label %38 38: ; preds = %37, %32 br label %39 39: ; preds = %38 %40 = load i32, ptr %4, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %4, align 4 br label %13, !llvm.loop !6 42: ; preds = %13 %43 = load i32, ptr %5, align 4 switch i32 %43, label %52 [ i32 0, label %44 i32 1, label %46 i32 2, label %48 i32 3, label %50 ] 44: ; preds = %42 %45 = call i32 @printf(ptr noundef @.str.2) br label %52 46: ; preds = %42 %47 = call i32 @printf(ptr noundef @.str.3) br label %52 48: ; preds = %42 %49 = call i32 @printf(ptr noundef @.str.4) br label %52 50: ; preds = %42 %51 = call i32 @printf(ptr noundef @.str.5) br label %52 52: ; preds = %42, %50, %48, %46, %44 %53 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %3) br label %7, !llvm.loop !8 54: ; preds = %7 ret i32 0 } declare i32 @scanf(ptr noundef, ...) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxjz5qmv8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c" %d\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c" %s\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"N\0A\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"L\0A\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"S\0A\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"O\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [1500 x i8], align 16 %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 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %3) %7 = load i32, ptr %3, align 4 %8 = icmp ne i32 %7, 0 br i1 %8, label %.lr.ph2, label %57 .lr.ph2: ; preds = %0 br label %9 9: ; preds = %.lr.ph2, %53 store i32 0, ptr %5, align 4 %10 = getelementptr inbounds [1500 x i8], ptr %2, i64 0, i64 0 %11 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %10) store i32 0, ptr %4, align 4 %12 = load i32, ptr %4, align 4 %13 = load i32, ptr %3, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %.lr.ph, label %43 .lr.ph: ; preds = %9 br label %15 15: ; preds = %.lr.ph, %37 %16 = load i32, ptr %4, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [1500 x i8], ptr %2, i64 0, i64 %17 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 switch i32 %20, label %27 [ i32 68, label %21 i32 69, label %24 ] 21: ; preds = %15 %22 = load i32, ptr %5, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %5, align 4 br label %27 24: ; preds = %15 %25 = load i32, ptr %5, align 4 %26 = add nsw i32 %25, -1 store i32 %26, ptr %5, align 4 br label %27 27: ; preds = %24, %21, %15 %28 = load i32, ptr %5, align 4 %29 = icmp sgt i32 %28, 3 br i1 %29, label %30, label %31 30: ; preds = %27 store i32 0, ptr %5, align 4 br label %36 31: ; preds = %27 %32 = load i32, ptr %5, align 4 %33 = icmp slt i32 %32, 0 br i1 %33, label %34, label %35 34: ; preds = %31 store i32 3, ptr %5, align 4 br label %35 35: ; preds = %34, %31 br label %36 36: ; preds = %35, %30 br label %37 37: ; preds = %36 %38 = load i32, ptr %4, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %4, align 4 %40 = load i32, ptr %4, align 4 %41 = load i32, ptr %3, align 4 %42 = icmp slt i32 %40, %41 br i1 %42, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %37 br label %43 43: ; preds = %._crit_edge, %9 %44 = load i32, ptr %5, align 4 switch i32 %44, label %53 [ i32 0, label %45 i32 1, label %47 i32 2, label %49 i32 3, label %51 ] 45: ; preds = %43 %46 = call i32 @printf(ptr noundef @.str.2) br label %53 47: ; preds = %43 %48 = call i32 @printf(ptr noundef @.str.3) br label %53 49: ; preds = %43 %50 = call i32 @printf(ptr noundef @.str.4) br label %53 51: ; preds = %43 %52 = call i32 @printf(ptr noundef @.str.5) br label %53 53: ; preds = %51, %49, %47, %45, %43 %54 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %3) %55 = load i32, ptr %3, align 4 %56 = icmp ne i32 %55, 0 br i1 %56, label %9, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %53 br label %57 57: ; preds = %._crit_edge3, %0 ret i32 0 } declare i32 @scanf(ptr noundef, ...) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmphkng2nbl.c' source_filename = "/tmp/tmphkng2nbl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @quicksort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = load i32, ptr %5, align 4 %10 = sub nsw i32 %8, %9 %11 = icmp sgt i32 %10, 1 br i1 %11, label %12, label %26 12: ; preds = %3 %13 = load ptr, ptr %4, align 8 %14 = load i32, ptr %5, align 4 %15 = load i32, ptr %6, align 4 %16 = call i32 @hoarepartition(ptr noundef %13, i32 noundef %14, i32 noundef %15) store i32 %16, ptr %7, align 4 %17 = load i32, ptr %7, align 4 %18 = call i32 @printf(ptr noundef @.str, i32 noundef %17) %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr %5, align 4 %21 = load i32, ptr %7, align 4 call void @quicksort(ptr noundef %19, i32 noundef %20, i32 noundef %21) %22 = load ptr, ptr %4, align 8 %23 = load i32, ptr %7, align 4 %24 = add nsw i32 %23, 1 %25 = load i32, ptr %6, align 4 call void @quicksort(ptr noundef %22, i32 noundef %24, i32 noundef %25) br label %26 26: ; preds = %12, %3 ret void } declare i32 @hoarepartition(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphkng2nbl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @quicksort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = load i32, ptr %5, align 4 %10 = sub nsw i32 %8, %9 %11 = icmp sgt i32 %10, 1 br i1 %11, label %12, label %26 12: ; preds = %3 %13 = load ptr, ptr %4, align 8 %14 = load i32, ptr %5, align 4 %15 = load i32, ptr %6, align 4 %16 = call i32 @hoarepartition(ptr noundef %13, i32 noundef %14, i32 noundef %15) store i32 %16, ptr %7, align 4 %17 = load i32, ptr %7, align 4 %18 = call i32 @printf(ptr noundef @.str, i32 noundef %17) %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr %5, align 4 %21 = load i32, ptr %7, align 4 call void @quicksort(ptr noundef %19, i32 noundef %20, i32 noundef %21) %22 = load ptr, ptr %4, align 8 %23 = load i32, ptr %7, align 4 %24 = add nsw i32 %23, 1 %25 = load i32, ptr %6, align 4 call void @quicksort(ptr noundef %22, i32 noundef %24, i32 noundef %25) br label %26 26: ; preds = %12, %3 ret void } declare i32 @hoarepartition(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpg1bhut9v.c' source_filename = "/tmp/tmpg1bhut9v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [33 x i8] c"cl_gl.h standalone test PASSED.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpg1bhut9v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [33 x i8] c"cl_gl.h standalone test PASSED.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprga038h0.c' source_filename = "/tmp/tmprga038h0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"usage: %s dirname\0A\00", align 1 @.str.1 = private unnamed_addr constant [51 x i8] c"My child is going to execute command \22ls -laR %s\22\0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"ls\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"-laR\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"/bin/ls\00", align 1 @.str.5 = private unnamed_addr constant [24 x i8] c"Command not executed !\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca [4 x ptr], align 16 store i32 0, ptr %4, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %10 = load i32, ptr %5, align 4 %11 = icmp ne i32 %10, 2 br i1 %11, label %12, label %18 12: ; preds = %3 %13 = load ptr, ptr %6, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 0 %15 = load ptr, ptr %14, align 8 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %15) %17 = call i32 @exit(i32 noundef 1) #3 unreachable 18: ; preds = %3 %19 = call i64 (...) @fork() store i64 %19, ptr %8, align 8 %20 = load i64, ptr %8, align 8 %21 = icmp sgt i64 %20, 0 br i1 %21, label %22, label %27 22: ; preds = %18 %23 = load ptr, ptr %6, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 1 %25 = load ptr, ptr %24, align 8 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %25) br label %44 27: ; preds = %18 %28 = load i64, ptr %8, align 8 %29 = icmp eq i64 %28, 0 br i1 %29, label %30, label %43 30: ; preds = %27 %31 = getelementptr inbounds [4 x ptr], ptr %9, i64 0, i64 0 store ptr @.str.2, ptr %31, align 8 %32 = getelementptr inbounds ptr, ptr %31, i64 1 store ptr @.str.3, ptr %32, align 8 %33 = getelementptr inbounds ptr, ptr %32, i64 1 %34 = load ptr, ptr %6, align 8 %35 = getelementptr inbounds ptr, ptr %34, i64 1 %36 = load ptr, ptr %35, align 8 store ptr %36, ptr %33, align 8 %37 = getelementptr inbounds ptr, ptr %33, i64 1 store ptr null, ptr %37, align 8 %38 = getelementptr inbounds [4 x ptr], ptr %9, i64 0, i64 0 %39 = load ptr, ptr %7, align 8 %40 = call i32 @execve(ptr noundef @.str.4, ptr noundef %38, ptr noundef %39) %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %42 = call i32 @exit(i32 noundef 1) #3 unreachable 43: ; preds = %27 br label %44 44: ; preds = %43, %22 %45 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @fork(...) #1 declare i32 @execve(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmprga038h0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"usage: %s dirname\0A\00", align 1 @.str.1 = private unnamed_addr constant [51 x i8] c"My child is going to execute command \22ls -laR %s\22\0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"ls\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"-laR\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"/bin/ls\00", align 1 @.str.5 = private unnamed_addr constant [24 x i8] c"Command not executed !\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca [4 x ptr], align 16 store i32 0, ptr %4, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %10 = load i32, ptr %5, align 4 %11 = icmp ne i32 %10, 2 br i1 %11, label %12, label %18 12: ; preds = %3 %13 = load ptr, ptr %6, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 0 %15 = load ptr, ptr %14, align 8 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %15) %17 = call i32 @exit(i32 noundef 1) #3 unreachable 18: ; preds = %3 %19 = call i64 (...) @fork() store i64 %19, ptr %8, align 8 %20 = load i64, ptr %8, align 8 %21 = icmp sgt i64 %20, 0 br i1 %21, label %22, label %27 22: ; preds = %18 %23 = load ptr, ptr %6, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 1 %25 = load ptr, ptr %24, align 8 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %25) br label %44 27: ; preds = %18 %28 = load i64, ptr %8, align 8 %29 = icmp eq i64 %28, 0 br i1 %29, label %30, label %43 30: ; preds = %27 %31 = getelementptr inbounds [4 x ptr], ptr %9, i64 0, i64 0 store ptr @.str.2, ptr %31, align 8 %32 = getelementptr inbounds ptr, ptr %31, i64 1 store ptr @.str.3, ptr %32, align 8 %33 = getelementptr inbounds ptr, ptr %32, i64 1 %34 = load ptr, ptr %6, align 8 %35 = getelementptr inbounds ptr, ptr %34, i64 1 %36 = load ptr, ptr %35, align 8 store ptr %36, ptr %33, align 8 %37 = getelementptr inbounds ptr, ptr %33, i64 1 store ptr null, ptr %37, align 8 %38 = getelementptr inbounds [4 x ptr], ptr %9, i64 0, i64 0 %39 = load ptr, ptr %7, align 8 %40 = call i32 @execve(ptr noundef @.str.4, ptr noundef %38, ptr noundef %39) %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %42 = call i32 @exit(i32 noundef 1) #3 unreachable 43: ; preds = %27 br label %44 44: ; preds = %43, %22 %45 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @fork(...) #1 declare i32 @execve(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpi7f_6w7h.c' source_filename = "/tmp/tmpi7f_6w7h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Cuantos niveles?\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"*\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %7 = load i32, ptr %2, align 4 store i32 %7, ptr %3, align 4 br label %8 8: ; preds = %23, %0 %9 = load i32, ptr %3, align 4 %10 = icmp sgt i32 %9, 0 br i1 %10, label %11, label %26 11: ; preds = %8 %12 = load i32, ptr %3, align 4 store i32 %12, ptr %4, align 4 br label %13 13: ; preds = %18, %11 %14 = load i32, ptr %4, align 4 %15 = icmp sgt i32 %14, 0 br i1 %15, label %16, label %21 16: ; preds = %13 %17 = call i32 @printf(ptr noundef @.str.2) br label %18 18: ; preds = %16 %19 = load i32, ptr %4, align 4 %20 = add nsw i32 %19, -1 store i32 %20, ptr %4, align 4 br label %13, !llvm.loop !6 21: ; preds = %13 %22 = call i32 @printf(ptr noundef @.str.3) br label %23 23: ; preds = %21 %24 = load i32, ptr %3, align 4 %25 = add nsw i32 %24, -1 store i32 %25, ptr %3, align 4 br label %8, !llvm.loop !8 26: ; preds = %8 ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi7f_6w7h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Cuantos niveles?\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"*\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %7 = load i32, ptr %2, align 4 store i32 %7, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = icmp sgt i32 %8, 0 br i1 %9, label %.lr.ph2, label %28 .lr.ph2: ; preds = %0 br label %10 10: ; preds = %.lr.ph2, %23 %11 = load i32, ptr %3, align 4 store i32 %11, ptr %4, align 4 %12 = load i32, ptr %4, align 4 %13 = icmp sgt i32 %12, 0 br i1 %13, label %.lr.ph, label %21 .lr.ph: ; preds = %10 br label %14 14: ; preds = %.lr.ph, %16 %15 = call i32 @printf(ptr noundef @.str.2) br label %16 16: ; preds = %14 %17 = load i32, ptr %4, align 4 %18 = add nsw i32 %17, -1 store i32 %18, ptr %4, align 4 %19 = load i32, ptr %4, align 4 %20 = icmp sgt i32 %19, 0 br i1 %20, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %21 21: ; preds = %._crit_edge, %10 %22 = call i32 @printf(ptr noundef @.str.3) br label %23 23: ; preds = %21 %24 = load i32, ptr %3, align 4 %25 = add nsw i32 %24, -1 store i32 %25, ptr %3, align 4 %26 = load i32, ptr %3, align 4 %27 = icmp sgt i32 %26, 0 br i1 %27, label %10, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %23 br label %28 28: ; preds = %._crit_edge3, %0 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmplb16n9hk.c' source_filename = "/tmp/tmplb16n9hk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_calloc(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call ptr @calloc(i32 noundef %5, i32 noundef %6) ret ptr %7 } declare ptr @calloc(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/tmplb16n9hk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_calloc(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call ptr @calloc(i32 noundef %5, i32 noundef %6) ret ptr %7 } declare ptr @calloc(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/tmpxubtbau4.c' source_filename = "/tmp/tmpxubtbau4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/proc/stat\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"%*s %Lf %Lf %Lf %Lf\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"%.0Lf\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @getcpuutil() #0 { %1 = alloca [4 x x86_fp80], align 16 %2 = alloca [4 x x86_fp80], align 16 %3 = alloca x86_fp80, align 16 %4 = alloca ptr, align 8 %5 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %5, ptr %4, align 8 %6 = load ptr, ptr %4, align 8 %7 = getelementptr inbounds [4 x x86_fp80], ptr %1, i64 0, i64 0 %8 = getelementptr inbounds [4 x x86_fp80], ptr %1, i64 0, i64 1 %9 = getelementptr inbounds [4 x x86_fp80], ptr %1, i64 0, i64 2 %10 = getelementptr inbounds [4 x x86_fp80], ptr %1, i64 0, i64 3 %11 = call i32 @fscanf(ptr noundef %6, ptr noundef @.str.2, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10) %12 = load ptr, ptr %4, align 8 %13 = call i32 @fclose(ptr noundef %12) %14 = call i32 @sleep(i32 noundef 1) %15 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %15, ptr %4, align 8 %16 = load ptr, ptr %4, align 8 %17 = getelementptr inbounds [4 x x86_fp80], ptr %2, i64 0, i64 0 %18 = getelementptr inbounds [4 x x86_fp80], ptr %2, i64 0, i64 1 %19 = getelementptr inbounds [4 x x86_fp80], ptr %2, i64 0, i64 2 %20 = getelementptr inbounds [4 x x86_fp80], ptr %2, i64 0, i64 3 %21 = call i32 @fscanf(ptr noundef %16, ptr noundef @.str.2, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20) %22 = load ptr, ptr %4, align 8 %23 = call i32 @fclose(ptr noundef %22) %24 = getelementptr inbounds [4 x x86_fp80], ptr %2, i64 0, i64 0 %25 = load x86_fp80, ptr %24, align 16 %26 = getelementptr inbounds [4 x x86_fp80], ptr %2, i64 0, i64 1 %27 = load x86_fp80, ptr %26, align 16 %28 = fadd x86_fp80 %25, %27 %29 = getelementptr inbounds [4 x x86_fp80], ptr %2, i64 0, i64 2 %30 = load x86_fp80, ptr %29, align 16 %31 = fadd x86_fp80 %28, %30 %32 = getelementptr inbounds [4 x x86_fp80], ptr %1, i64 0, i64 0 %33 = load x86_fp80, ptr %32, align 16 %34 = getelementptr inbounds [4 x x86_fp80], ptr %1, i64 0, i64 1 %35 = load x86_fp80, ptr %34, align 16 %36 = fadd x86_fp80 %33, %35 %37 = getelementptr inbounds [4 x x86_fp80], ptr %1, i64 0, i64 2 %38 = load x86_fp80, ptr %37, align 16 %39 = fadd x86_fp80 %36, %38 %40 = fsub x86_fp80 %31, %39 %41 = getelementptr inbounds [4 x x86_fp80], ptr %2, i64 0, i64 0 %42 = load x86_fp80, ptr %41, align 16 %43 = getelementptr inbounds [4 x x86_fp80], ptr %2, i64 0, i64 1 %44 = load x86_fp80, ptr %43, align 16 %45 = fadd x86_fp80 %42, %44 %46 = getelementptr inbounds [4 x x86_fp80], ptr %2, i64 0, i64 2 %47 = load x86_fp80, ptr %46, align 16 %48 = fadd x86_fp80 %45, %47 %49 = getelementptr inbounds [4 x x86_fp80], ptr %2, i64 0, i64 3 %50 = load x86_fp80, ptr %49, align 16 %51 = fadd x86_fp80 %48, %50 %52 = getelementptr inbounds [4 x x86_fp80], ptr %1, i64 0, i64 0 %53 = load x86_fp80, ptr %52, align 16 %54 = getelementptr inbounds [4 x x86_fp80], ptr %1, i64 0, i64 1 %55 = load x86_fp80, ptr %54, align 16 %56 = fadd x86_fp80 %53, %55 %57 = getelementptr inbounds [4 x x86_fp80], ptr %1, i64 0, i64 2 %58 = load x86_fp80, ptr %57, align 16 %59 = fadd x86_fp80 %56, %58 %60 = getelementptr inbounds [4 x x86_fp80], ptr %1, i64 0, i64 3 %61 = load x86_fp80, ptr %60, align 16 %62 = fadd x86_fp80 %59, %61 %63 = fsub x86_fp80 %51, %62 %64 = fdiv x86_fp80 %40, %63 %65 = fmul x86_fp80 %64, 0xK4005C800000000000000 store x86_fp80 %65, ptr %3, align 16 %66 = load x86_fp80, ptr %3, align 16 %67 = call ptr @smprintf(ptr noundef @.str.3, x86_fp80 noundef %66) ret ptr %67 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @sleep(i32 noundef) #1 declare ptr @smprintf(ptr noundef, x86_fp80 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxubtbau4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/proc/stat\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"%*s %Lf %Lf %Lf %Lf\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"%.0Lf\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @getcpuutil() #0 { %1 = alloca [4 x x86_fp80], align 16 %2 = alloca [4 x x86_fp80], align 16 %3 = alloca x86_fp80, align 16 %4 = alloca ptr, align 8 %5 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %5, ptr %4, align 8 %6 = load ptr, ptr %4, align 8 %7 = getelementptr inbounds [4 x x86_fp80], ptr %1, i64 0, i64 0 %8 = getelementptr inbounds [4 x x86_fp80], ptr %1, i64 0, i64 1 %9 = getelementptr inbounds [4 x x86_fp80], ptr %1, i64 0, i64 2 %10 = getelementptr inbounds [4 x x86_fp80], ptr %1, i64 0, i64 3 %11 = call i32 @fscanf(ptr noundef %6, ptr noundef @.str.2, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10) %12 = load ptr, ptr %4, align 8 %13 = call i32 @fclose(ptr noundef %12) %14 = call i32 @sleep(i32 noundef 1) %15 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %15, ptr %4, align 8 %16 = load ptr, ptr %4, align 8 %17 = getelementptr inbounds [4 x x86_fp80], ptr %2, i64 0, i64 0 %18 = getelementptr inbounds [4 x x86_fp80], ptr %2, i64 0, i64 1 %19 = getelementptr inbounds [4 x x86_fp80], ptr %2, i64 0, i64 2 %20 = getelementptr inbounds [4 x x86_fp80], ptr %2, i64 0, i64 3 %21 = call i32 @fscanf(ptr noundef %16, ptr noundef @.str.2, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20) %22 = load ptr, ptr %4, align 8 %23 = call i32 @fclose(ptr noundef %22) %24 = getelementptr inbounds [4 x x86_fp80], ptr %2, i64 0, i64 0 %25 = load x86_fp80, ptr %24, align 16 %26 = getelementptr inbounds [4 x x86_fp80], ptr %2, i64 0, i64 1 %27 = load x86_fp80, ptr %26, align 16 %28 = fadd x86_fp80 %25, %27 %29 = getelementptr inbounds [4 x x86_fp80], ptr %2, i64 0, i64 2 %30 = load x86_fp80, ptr %29, align 16 %31 = fadd x86_fp80 %28, %30 %32 = getelementptr inbounds [4 x x86_fp80], ptr %1, i64 0, i64 0 %33 = load x86_fp80, ptr %32, align 16 %34 = getelementptr inbounds [4 x x86_fp80], ptr %1, i64 0, i64 1 %35 = load x86_fp80, ptr %34, align 16 %36 = fadd x86_fp80 %33, %35 %37 = getelementptr inbounds [4 x x86_fp80], ptr %1, i64 0, i64 2 %38 = load x86_fp80, ptr %37, align 16 %39 = fadd x86_fp80 %36, %38 %40 = fsub x86_fp80 %31, %39 %41 = getelementptr inbounds [4 x x86_fp80], ptr %2, i64 0, i64 0 %42 = load x86_fp80, ptr %41, align 16 %43 = getelementptr inbounds [4 x x86_fp80], ptr %2, i64 0, i64 1 %44 = load x86_fp80, ptr %43, align 16 %45 = fadd x86_fp80 %42, %44 %46 = getelementptr inbounds [4 x x86_fp80], ptr %2, i64 0, i64 2 %47 = load x86_fp80, ptr %46, align 16 %48 = fadd x86_fp80 %45, %47 %49 = getelementptr inbounds [4 x x86_fp80], ptr %2, i64 0, i64 3 %50 = load x86_fp80, ptr %49, align 16 %51 = fadd x86_fp80 %48, %50 %52 = getelementptr inbounds [4 x x86_fp80], ptr %1, i64 0, i64 0 %53 = load x86_fp80, ptr %52, align 16 %54 = getelementptr inbounds [4 x x86_fp80], ptr %1, i64 0, i64 1 %55 = load x86_fp80, ptr %54, align 16 %56 = fadd x86_fp80 %53, %55 %57 = getelementptr inbounds [4 x x86_fp80], ptr %1, i64 0, i64 2 %58 = load x86_fp80, ptr %57, align 16 %59 = fadd x86_fp80 %56, %58 %60 = getelementptr inbounds [4 x x86_fp80], ptr %1, i64 0, i64 3 %61 = load x86_fp80, ptr %60, align 16 %62 = fadd x86_fp80 %59, %61 %63 = fsub x86_fp80 %51, %62 %64 = fdiv x86_fp80 %40, %63 %65 = fmul x86_fp80 %64, 0xK4005C800000000000000 store x86_fp80 %65, ptr %3, align 16 %66 = load x86_fp80, ptr %3, align 16 %67 = call ptr @smprintf(ptr noundef @.str.3, x86_fp80 noundef %66) ret ptr %67 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @sleep(i32 noundef) #1 declare ptr @smprintf(ptr noundef, x86_fp80 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpq1vokq96.c' source_filename = "/tmp/tmpq1vokq96.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Sum = %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 store i32 0, ptr %1, align 4 %5 = load i32, ptr %2, align 4 %6 = load i32, ptr %3, align 4 %7 = add nsw i32 %5, %6 store i32 %7, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = call i32 @printf(ptr noundef @.str, i32 noundef %8) 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/tmpq1vokq96.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Sum = %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 store i32 0, ptr %1, align 4 %5 = load i32, ptr %2, align 4 %6 = load i32, ptr %3, align 4 %7 = add nsw i32 %5, %6 store i32 %7, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = call i32 @printf(ptr noundef @.str, i32 noundef %8) 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/tmpmbo2ii4x.c' source_filename = "/tmp/tmpmbo2ii4x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ant_log_clean() #0 { %1 = call i32 (...) @ant_log_err_close() %2 = call i32 (...) @ant_log_url_all_close() %3 = call i32 (...) @ant_log_url_close() ret void } declare i32 @ant_log_err_close(...) #1 declare i32 @ant_log_url_all_close(...) #1 declare i32 @ant_log_url_close(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmbo2ii4x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ant_log_clean() #0 { %1 = call i32 (...) @ant_log_err_close() %2 = call i32 (...) @ant_log_url_all_close() %3 = call i32 (...) @ant_log_url_close() ret void } declare i32 @ant_log_err_close(...) #1 declare i32 @ant_log_url_all_close(...) #1 declare i32 @ant_log_url_close(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpr44kmrh0.c' source_filename = "/tmp/tmpr44kmrh0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f1(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = call double @tan(double noundef %3) #2 %5 = fdiv double 1.000000e+00, %4 ret double %5 } ; Function Attrs: nounwind declare double @tan(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr44kmrh0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f1(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = call double @tan(double noundef %3) #2 %5 = fdiv double 1.000000e+00, %4 ret double %5 } ; Function Attrs: nounwind declare double @tan(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_vam14up.c' source_filename = "/tmp/tmp_vam14up.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A call %s as: %s filename\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"[%u]\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %8, 2 br i1 %9, label %10, label %19 10: ; preds = %2 %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds ptr, ptr %11, i64 0 %13 = load ptr, ptr %12, align 8 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 0 %16 = load ptr, ptr %15, align 8 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %13, ptr noundef %16) %18 = call i32 @exit(i32 noundef 0) #3 unreachable 19: ; preds = %2 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 1 %22 = load ptr, ptr %21, align 8 %23 = call ptr @fopen(ptr noundef %22, ptr noundef @.str.1) store ptr %23, ptr %7, align 8 br label %24 24: ; preds = %28, %19 %25 = load ptr, ptr %7, align 8 %26 = call i64 @fread(ptr noundef %6, i32 noundef 4, i32 noundef 1, ptr noundef %25) %27 = icmp sgt i64 %26, 0 br i1 %27, label %28, label %31 28: ; preds = %24 %29 = load i32, ptr %6, align 4 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %29) br label %24, !llvm.loop !6 31: ; preds = %24 %32 = load i32, ptr %3, align 4 ret i32 %32 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_vam14up.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A call %s as: %s filename\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"[%u]\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %8, 2 br i1 %9, label %10, label %19 10: ; preds = %2 %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds ptr, ptr %11, i64 0 %13 = load ptr, ptr %12, align 8 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 0 %16 = load ptr, ptr %15, align 8 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %13, ptr noundef %16) %18 = call i32 @exit(i32 noundef 0) #3 unreachable 19: ; preds = %2 %20 = load ptr, ptr %5, align 8 %21 = getelementptr inbounds ptr, ptr %20, i64 1 %22 = load ptr, ptr %21, align 8 %23 = call ptr @fopen(ptr noundef %22, ptr noundef @.str.1) store ptr %23, ptr %7, align 8 %24 = load ptr, ptr %7, align 8 %25 = call i64 @fread(ptr noundef %6, i32 noundef 4, i32 noundef 1, ptr noundef %24) %26 = icmp sgt i64 %25, 0 br i1 %26, label %.lr.ph, label %33 .lr.ph: ; preds = %19 br label %27 27: ; preds = %.lr.ph, %27 %28 = load i32, ptr %6, align 4 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %28) %30 = load ptr, ptr %7, align 8 %31 = call i64 @fread(ptr noundef %6, i32 noundef 4, i32 noundef 1, ptr noundef %30) %32 = icmp sgt i64 %31, 0 br i1 %32, label %27, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %33 33: ; preds = %._crit_edge, %19 %34 = load i32, ptr %3, align 4 ret i32 %34 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmps3qiqdj0.c' source_filename = "/tmp/tmps3qiqdj0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"9600\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"b:h\00", align 1 @optarg = dso_local global ptr null, align 8 @optopt = dso_local global i8 0, align 1 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [34 x i8] c"Option -%c requires an argument.\0A\00", align 1 @.str.3 = private unnamed_addr constant [23 x i8] c"Unknown option `-%c'.\0A\00", align 1 @.str.4 = private unnamed_addr constant [34 x i8] c"Unknown option character `\\x%x'.\0A\00", align 1 @.str.5 = private unnamed_addr constant [20 x i8] c"Bad state reached.\0A\00", align 1 @.str.6 = private unnamed_addr constant [41 x i8] c"Baud rate must be at most 6 digits long\0A\00", align 1 @.str.7 = private unnamed_addr constant [27 x i8] c"Baud rate is not a number\0A\00", align 1 @optind = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [31 x i8] c"Incorrect number of arguments\0A\00", align 1 @.str.9 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.10 = private unnamed_addr constant [24 x i8] c"Could not open file %s\0A\00", align 1 @.str.11 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.12 = private unnamed_addr constant [9 x i8] c"stty -F \00", align 1 @.str.13 = private unnamed_addr constant [12 x i8] c" raw -echo \00", align 1 @.str.14 = private unnamed_addr constant [35 x i8] c"Could not set serial port options\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i8, align 1 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca i8, align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr @.str, ptr %6, align 8 br label %16 16: ; preds = %58, %2 %17 = load i32, ptr %4, align 4 %18 = load ptr, ptr %5, align 8 %19 = call signext i8 @getopt(i32 noundef %17, ptr noundef %18, ptr noundef @.str.1) store i8 %19, ptr %9, align 1 %20 = sext i8 %19 to i32 %21 = icmp ne i32 %20, -1 br i1 %21, label %22, label %59 22: ; preds = %16 %23 = load i8, ptr %9, align 1 %24 = sext i8 %23 to i32 switch i32 %24, label %55 [ i32 98, label %25 i32 104, label %27 i32 63, label %29 ] 25: ; preds = %22 %26 = load ptr, ptr @optarg, align 8 store ptr %26, ptr %6, align 8 br label %58 27: ; preds = %22 %28 = call i32 (...) @print_help() store i32 0, ptr %3, align 4 br label %183 29: ; preds = %22 %30 = load i8, ptr @optopt, align 1 %31 = sext i8 %30 to i32 %32 = icmp eq i32 %31, 98 br i1 %32, label %33, label %38 33: ; preds = %29 %34 = load i32, ptr @stderr, align 4 %35 = load i8, ptr @optopt, align 1 %36 = sext i8 %35 to i32 %37 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %34, ptr noundef @.str.2, i32 noundef %36) br label %53 38: ; preds = %29 %39 = load i8, ptr @optopt, align 1 %40 = call i32 @isprint(i8 noundef signext %39) %41 = icmp ne i32 %40, 0 br i1 %41, label %42, label %47 42: ; preds = %38 %43 = load i32, ptr @stderr, align 4 %44 = load i8, ptr @optopt, align 1 %45 = sext i8 %44 to i32 %46 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %43, ptr noundef @.str.3, i32 noundef %45) br label %52 47: ; preds = %38 %48 = load i32, ptr @stderr, align 4 %49 = load i8, ptr @optopt, align 1 %50 = sext i8 %49 to i32 %51 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %48, ptr noundef @.str.4, i32 noundef %50) br label %52 52: ; preds = %47, %42 br label %53 53: ; preds = %52, %33 %54 = call i32 (...) @print_help() store i32 1, ptr %3, align 4 br label %183 55: ; preds = %22 %56 = load i32, ptr @stderr, align 4 %57 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %56, ptr noundef @.str.5) store i32 1, ptr %3, align 4 br label %183 58: ; preds = %25 br label %16, !llvm.loop !6 59: ; preds = %16 %60 = load ptr, ptr %6, align 8 %61 = call i32 @strlen(ptr noundef %60) %62 = icmp sgt i32 %61, 6 br i1 %62, label %63, label %66 63: ; preds = %59 %64 = load i32, ptr @stderr, align 4 %65 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %64, ptr noundef @.str.6) store i32 1, ptr %3, align 4 br label %183 66: ; preds = %59 store i32 0, ptr %10, align 4 br label %67 67: ; preds = %84, %66 %68 = load i32, ptr %10, align 4 %69 = load ptr, ptr %6, align 8 %70 = call i32 @strlen(ptr noundef %69) %71 = icmp ult i32 %68, %70 br i1 %71, label %72, label %87 72: ; preds = %67 %73 = load ptr, ptr %6, align 8 %74 = load i32, ptr %10, align 4 %75 = zext i32 %74 to i64 %76 = getelementptr inbounds i8, ptr %73, i64 %75 %77 = load i8, ptr %76, align 1 %78 = call i32 @isdigit(i8 noundef signext %77) %79 = icmp ne i32 %78, 0 br i1 %79, label %83, label %80 80: ; preds = %72 %81 = load i32, ptr @stderr, align 4 %82 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %81, ptr noundef @.str.7) store i32 1, ptr %3, align 4 br label %183 83: ; preds = %72 br label %84 84: ; preds = %83 %85 = load i32, ptr %10, align 4 %86 = add i32 %85, 1 store i32 %86, ptr %10, align 4 br label %67, !llvm.loop !8 87: ; preds = %67 %88 = load i32, ptr @optind, align 4 store i32 %88, ptr %11, align 4 %89 = load i32, ptr %11, align 4 %90 = load i32, ptr %4, align 4 %91 = sub nsw i32 %90, 2 %92 = icmp ne i32 %89, %91 br i1 %92, label %93, label %96 93: ; preds = %87 %94 = load i32, ptr @stderr, align 4 %95 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %94, ptr noundef @.str.8) store i32 1, ptr %3, align 4 br label %183 96: ; preds = %87 %97 = load i32, ptr %11, align 4 store i32 %97, ptr %7, align 4 %98 = load i32, ptr %11, align 4 %99 = add nsw i32 %98, 1 store i32 %99, ptr %8, align 4 %100 = load ptr, ptr %5, align 8 %101 = load i32, ptr %7, align 4 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds ptr, ptr %100, i64 %102 %104 = load ptr, ptr %103, align 8 %105 = call ptr @fopen(ptr noundef %104, ptr noundef @.str.9) store ptr %105, ptr %12, align 8 %106 = load ptr, ptr %12, align 8 %107 = icmp eq ptr %106, null br i1 %107, label %108, label %116 108: ; preds = %96 %109 = load i32, ptr @stderr, align 4 %110 = load ptr, ptr %5, align 8 %111 = load i32, ptr %7, align 4 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds ptr, ptr %110, i64 %112 %114 = load ptr, ptr %113, align 8 %115 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %109, ptr noundef @.str.10, ptr noundef %114) store i32 1, ptr %3, align 4 br label %183 116: ; preds = %96 %117 = load ptr, ptr %5, align 8 %118 = load i32, ptr %8, align 4 %119 = sext i32 %118 to i64 %120 = getelementptr inbounds ptr, ptr %117, i64 %119 %121 = load ptr, ptr %120, align 8 %122 = call ptr @fopen(ptr noundef %121, ptr noundef @.str.11) store ptr %122, ptr %13, align 8 %123 = load ptr, ptr %13, align 8 %124 = icmp eq ptr %123, null br i1 %124, label %125, label %133 125: ; preds = %116 %126 = load i32, ptr @stderr, align 4 %127 = load ptr, ptr %5, align 8 %128 = load i32, ptr %8, align 4 %129 = sext i32 %128 to i64 %130 = getelementptr inbounds ptr, ptr %127, i64 %129 %131 = load ptr, ptr %130, align 8 %132 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %126, ptr noundef @.str.10, ptr noundef %131) store i32 1, ptr %3, align 4 br label %183 133: ; preds = %116 %134 = load ptr, ptr %5, align 8 %135 = load i32, ptr %8, align 4 %136 = sext i32 %135 to i64 %137 = getelementptr inbounds ptr, ptr %134, i64 %136 %138 = load ptr, ptr %137, align 8 %139 = call i32 @strlen(ptr noundef %138) %140 = add nsw i32 20, %139 %141 = load ptr, ptr %6, align 8 %142 = call i32 @strlen(ptr noundef %141) %143 = add nsw i32 %140, %142 %144 = call i64 @malloc(i32 noundef %143) %145 = inttoptr i64 %144 to ptr store ptr %145, ptr %14, align 8 %146 = load ptr, ptr %14, align 8 %147 = call i32 @strcpy(ptr noundef %146, ptr noundef @.str.12) %148 = load ptr, ptr %14, align 8 %149 = load ptr, ptr %5, align 8 %150 = load i32, ptr %8, align 4 %151 = sext i32 %150 to i64 %152 = getelementptr inbounds ptr, ptr %149, i64 %151 %153 = load ptr, ptr %152, align 8 %154 = call i32 @strcat(ptr noundef %148, ptr noundef %153) %155 = load ptr, ptr %14, align 8 %156 = call i32 @strcat(ptr noundef %155, ptr noundef @.str.13) %157 = load ptr, ptr %14, align 8 %158 = load ptr, ptr %6, align 8 %159 = call i32 @strcat(ptr noundef %157, ptr noundef %158) %160 = load ptr, ptr %14, align 8 %161 = call i64 @system(ptr noundef %160) %162 = icmp ne i64 %161, 0 br i1 %162, label %163, label %166 163: ; preds = %133 %164 = load i32, ptr @stderr, align 4 %165 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %164, ptr noundef @.str.14) store i32 1, ptr %3, align 4 br label %183 166: ; preds = %133 %167 = load ptr, ptr %14, align 8 %168 = call i32 @free(ptr noundef %167) %169 = call i32 @sleep(i32 noundef 2) br label %170 170: ; preds = %174, %166 %171 = load ptr, ptr %12, align 8 %172 = call i64 @fread(ptr noundef %15, i32 noundef 1, i32 noundef 1, ptr noundef %171) %173 = icmp ne i64 %172, 0 br i1 %173, label %174, label %177 174: ; preds = %170 %175 = load ptr, ptr %13, align 8 %176 = call i32 @fwrite(ptr noundef %15, i32 noundef 1, i32 noundef 1, ptr noundef %175) br label %170, !llvm.loop !9 177: ; preds = %170 %178 = call i32 @sleep(i32 noundef 2) %179 = load ptr, ptr %12, align 8 %180 = call i32 @fclose(ptr noundef %179) %181 = load ptr, ptr %13, align 8 %182 = call i32 @fclose(ptr noundef %181) store i32 0, ptr %3, align 4 br label %183 183: ; preds = %177, %163, %125, %108, %93, %80, %63, %55, %53, %27 %184 = load i32, ptr %3, align 4 ret i32 %184 } declare signext i8 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @print_help(...) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @isprint(i8 noundef signext) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @isdigit(i8 noundef signext) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i64 @system(ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @sleep(i32 noundef) #1 declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fwrite(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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmps3qiqdj0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"9600\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"b:h\00", align 1 @optarg = dso_local global ptr null, align 8 @optopt = dso_local global i8 0, align 1 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [34 x i8] c"Option -%c requires an argument.\0A\00", align 1 @.str.3 = private unnamed_addr constant [23 x i8] c"Unknown option `-%c'.\0A\00", align 1 @.str.4 = private unnamed_addr constant [34 x i8] c"Unknown option character `\\x%x'.\0A\00", align 1 @.str.5 = private unnamed_addr constant [20 x i8] c"Bad state reached.\0A\00", align 1 @.str.6 = private unnamed_addr constant [41 x i8] c"Baud rate must be at most 6 digits long\0A\00", align 1 @.str.7 = private unnamed_addr constant [27 x i8] c"Baud rate is not a number\0A\00", align 1 @optind = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [31 x i8] c"Incorrect number of arguments\0A\00", align 1 @.str.9 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.10 = private unnamed_addr constant [24 x i8] c"Could not open file %s\0A\00", align 1 @.str.11 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.12 = private unnamed_addr constant [9 x i8] c"stty -F \00", align 1 @.str.13 = private unnamed_addr constant [12 x i8] c" raw -echo \00", align 1 @.str.14 = private unnamed_addr constant [35 x i8] c"Could not set serial port options\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i8, align 1 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca i8, align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr @.str, ptr %6, align 8 %16 = load i32, ptr %4, align 4 %17 = load ptr, ptr %5, align 8 %18 = call signext i8 @getopt(i32 noundef %16, ptr noundef %17, ptr noundef @.str.1) store i8 %18, ptr %9, align 1 %19 = sext i8 %18 to i32 %20 = icmp ne i32 %19, -1 br i1 %20, label %.lr.ph, label %63 .lr.ph: ; preds = %2 br label %21 21: ; preds = %.lr.ph, %57 %22 = load i8, ptr %9, align 1 %23 = sext i8 %22 to i32 switch i32 %23, label %54 [ i32 98, label %24 i32 104, label %26 i32 63, label %28 ] 24: ; preds = %21 %25 = load ptr, ptr @optarg, align 8 store ptr %25, ptr %6, align 8 br label %57 26: ; preds = %21 %27 = call i32 (...) @print_help() store i32 0, ptr %3, align 4 br label %192 28: ; preds = %21 %29 = load i8, ptr @optopt, align 1 %30 = sext i8 %29 to i32 %31 = icmp eq i32 %30, 98 br i1 %31, label %32, label %37 32: ; preds = %28 %33 = load i32, ptr @stderr, align 4 %34 = load i8, ptr @optopt, align 1 %35 = sext i8 %34 to i32 %36 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %33, ptr noundef @.str.2, i32 noundef %35) br label %52 37: ; preds = %28 %38 = load i8, ptr @optopt, align 1 %39 = call i32 @isprint(i8 noundef signext %38) %40 = icmp ne i32 %39, 0 br i1 %40, label %41, label %46 41: ; preds = %37 %42 = load i32, ptr @stderr, align 4 %43 = load i8, ptr @optopt, align 1 %44 = sext i8 %43 to i32 %45 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %42, ptr noundef @.str.3, i32 noundef %44) br label %51 46: ; preds = %37 %47 = load i32, ptr @stderr, align 4 %48 = load i8, ptr @optopt, align 1 %49 = sext i8 %48 to i32 %50 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %47, ptr noundef @.str.4, i32 noundef %49) br label %51 51: ; preds = %46, %41 br label %52 52: ; preds = %51, %32 %53 = call i32 (...) @print_help() store i32 1, ptr %3, align 4 br label %192 54: ; preds = %21 %55 = load i32, ptr @stderr, align 4 %56 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %55, ptr noundef @.str.5) store i32 1, ptr %3, align 4 br label %192 57: ; preds = %24 %58 = load i32, ptr %4, align 4 %59 = load ptr, ptr %5, align 8 %60 = call signext i8 @getopt(i32 noundef %58, ptr noundef %59, ptr noundef @.str.1) store i8 %60, ptr %9, align 1 %61 = sext i8 %60 to i32 %62 = icmp ne i32 %61, -1 br i1 %62, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %57 br label %63 63: ; preds = %._crit_edge, %2 %64 = load ptr, ptr %6, align 8 %65 = call i32 @strlen(ptr noundef %64) %66 = icmp sgt i32 %65, 6 br i1 %66, label %67, label %70 67: ; preds = %63 %68 = load i32, ptr @stderr, align 4 %69 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %68, ptr noundef @.str.6) store i32 1, ptr %3, align 4 br label %192 70: ; preds = %63 store i32 0, ptr %10, align 4 %71 = load i32, ptr %10, align 4 %72 = load ptr, ptr %6, align 8 %73 = call i32 @strlen(ptr noundef %72) %74 = icmp ult i32 %71, %73 br i1 %74, label %.lr.ph2, label %94 .lr.ph2: ; preds = %70 br label %75 75: ; preds = %.lr.ph2, %87 %76 = load ptr, ptr %6, align 8 %77 = load i32, ptr %10, align 4 %78 = zext i32 %77 to i64 %79 = getelementptr inbounds i8, ptr %76, i64 %78 %80 = load i8, ptr %79, align 1 %81 = call i32 @isdigit(i8 noundef signext %80) %82 = icmp ne i32 %81, 0 br i1 %82, label %86, label %83 83: ; preds = %75 %84 = load i32, ptr @stderr, align 4 %85 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %84, ptr noundef @.str.7) store i32 1, ptr %3, align 4 br label %192 86: ; preds = %75 br label %87 87: ; preds = %86 %88 = load i32, ptr %10, align 4 %89 = add i32 %88, 1 store i32 %89, ptr %10, align 4 %90 = load i32, ptr %10, align 4 %91 = load ptr, ptr %6, align 8 %92 = call i32 @strlen(ptr noundef %91) %93 = icmp ult i32 %90, %92 br i1 %93, label %75, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %87 br label %94 94: ; preds = %._crit_edge3, %70 %95 = load i32, ptr @optind, align 4 store i32 %95, ptr %11, align 4 %96 = load i32, ptr %11, align 4 %97 = load i32, ptr %4, align 4 %98 = sub nsw i32 %97, 2 %99 = icmp ne i32 %96, %98 br i1 %99, label %100, label %103 100: ; preds = %94 %101 = load i32, ptr @stderr, align 4 %102 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %101, ptr noundef @.str.8) store i32 1, ptr %3, align 4 br label %192 103: ; preds = %94 %104 = load i32, ptr %11, align 4 store i32 %104, ptr %7, align 4 %105 = load i32, ptr %11, align 4 %106 = add nsw i32 %105, 1 store i32 %106, ptr %8, align 4 %107 = load ptr, ptr %5, align 8 %108 = load i32, ptr %7, align 4 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds ptr, ptr %107, i64 %109 %111 = load ptr, ptr %110, align 8 %112 = call ptr @fopen(ptr noundef %111, ptr noundef @.str.9) store ptr %112, ptr %12, align 8 %113 = load ptr, ptr %12, align 8 %114 = icmp eq ptr %113, null br i1 %114, label %115, label %123 115: ; preds = %103 %116 = load i32, ptr @stderr, align 4 %117 = load ptr, ptr %5, align 8 %118 = load i32, ptr %7, align 4 %119 = sext i32 %118 to i64 %120 = getelementptr inbounds ptr, ptr %117, i64 %119 %121 = load ptr, ptr %120, align 8 %122 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %116, ptr noundef @.str.10, ptr noundef %121) store i32 1, ptr %3, align 4 br label %192 123: ; preds = %103 %124 = load ptr, ptr %5, align 8 %125 = load i32, ptr %8, align 4 %126 = sext i32 %125 to i64 %127 = getelementptr inbounds ptr, ptr %124, i64 %126 %128 = load ptr, ptr %127, align 8 %129 = call ptr @fopen(ptr noundef %128, ptr noundef @.str.11) store ptr %129, ptr %13, align 8 %130 = load ptr, ptr %13, align 8 %131 = icmp eq ptr %130, null br i1 %131, label %132, label %140 132: ; preds = %123 %133 = load i32, ptr @stderr, align 4 %134 = load ptr, ptr %5, align 8 %135 = load i32, ptr %8, align 4 %136 = sext i32 %135 to i64 %137 = getelementptr inbounds ptr, ptr %134, i64 %136 %138 = load ptr, ptr %137, align 8 %139 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %133, ptr noundef @.str.10, ptr noundef %138) store i32 1, ptr %3, align 4 br label %192 140: ; preds = %123 %141 = load ptr, ptr %5, align 8 %142 = load i32, ptr %8, align 4 %143 = sext i32 %142 to i64 %144 = getelementptr inbounds ptr, ptr %141, i64 %143 %145 = load ptr, ptr %144, align 8 %146 = call i32 @strlen(ptr noundef %145) %147 = add nsw i32 20, %146 %148 = load ptr, ptr %6, align 8 %149 = call i32 @strlen(ptr noundef %148) %150 = add nsw i32 %147, %149 %151 = call i64 @malloc(i32 noundef %150) %152 = inttoptr i64 %151 to ptr store ptr %152, ptr %14, align 8 %153 = load ptr, ptr %14, align 8 %154 = call i32 @strcpy(ptr noundef %153, ptr noundef @.str.12) %155 = load ptr, ptr %14, align 8 %156 = load ptr, ptr %5, align 8 %157 = load i32, ptr %8, align 4 %158 = sext i32 %157 to i64 %159 = getelementptr inbounds ptr, ptr %156, i64 %158 %160 = load ptr, ptr %159, align 8 %161 = call i32 @strcat(ptr noundef %155, ptr noundef %160) %162 = load ptr, ptr %14, align 8 %163 = call i32 @strcat(ptr noundef %162, ptr noundef @.str.13) %164 = load ptr, ptr %14, align 8 %165 = load ptr, ptr %6, align 8 %166 = call i32 @strcat(ptr noundef %164, ptr noundef %165) %167 = load ptr, ptr %14, align 8 %168 = call i64 @system(ptr noundef %167) %169 = icmp ne i64 %168, 0 br i1 %169, label %170, label %173 170: ; preds = %140 %171 = load i32, ptr @stderr, align 4 %172 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %171, ptr noundef @.str.14) store i32 1, ptr %3, align 4 br label %192 173: ; preds = %140 %174 = load ptr, ptr %14, align 8 %175 = call i32 @free(ptr noundef %174) %176 = call i32 @sleep(i32 noundef 2) %177 = load ptr, ptr %12, align 8 %178 = call i64 @fread(ptr noundef %15, i32 noundef 1, i32 noundef 1, ptr noundef %177) %179 = icmp ne i64 %178, 0 br i1 %179, label %.lr.ph5, label %186 .lr.ph5: ; preds = %173 br label %180 180: ; preds = %.lr.ph5, %180 %181 = load ptr, ptr %13, align 8 %182 = call i32 @fwrite(ptr noundef %15, i32 noundef 1, i32 noundef 1, ptr noundef %181) %183 = load ptr, ptr %12, align 8 %184 = call i64 @fread(ptr noundef %15, i32 noundef 1, i32 noundef 1, ptr noundef %183) %185 = icmp ne i64 %184, 0 br i1 %185, label %180, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %180 br label %186 186: ; preds = %._crit_edge6, %173 %187 = call i32 @sleep(i32 noundef 2) %188 = load ptr, ptr %12, align 8 %189 = call i32 @fclose(ptr noundef %188) %190 = load ptr, ptr %13, align 8 %191 = call i32 @fclose(ptr noundef %190) store i32 0, ptr %3, align 4 br label %192 192: ; preds = %186, %170, %132, %115, %100, %83, %67, %54, %52, %26 %193 = load i32, ptr %3, align 4 ret i32 %193 } declare signext i8 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @print_help(...) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @isprint(i8 noundef signext) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @isdigit(i8 noundef signext) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i64 @system(ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @sleep(i32 noundef) #1 declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fwrite(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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpieusq6jk.c' source_filename = "/tmp/tmpieusq6jk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @remove_trailing_chars(ptr noundef %0, i8 noundef signext %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i8, align 1 %5 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i8 %1, ptr %4, align 1 %6 = load ptr, ptr %3, align 8 %7 = call i64 @strlen(ptr noundef %6) store i64 %7, ptr %5, align 8 br label %8 8: ; preds = %23, %2 %9 = load i64, ptr %5, align 8 %10 = icmp ugt i64 %9, 0 br i1 %10, label %11, label %21 11: ; preds = %8 %12 = load ptr, ptr %3, align 8 %13 = load i64, ptr %5, align 8 %14 = sub i64 %13, 1 %15 = getelementptr inbounds i8, ptr %12, i64 %14 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = load i8, ptr %4, align 1 %19 = sext i8 %18 to i32 %20 = icmp eq i32 %17, %19 br label %21 21: ; preds = %11, %8 %22 = phi i1 [ false, %8 ], [ %20, %11 ] br i1 %22, label %23, label %28 23: ; preds = %21 %24 = load ptr, ptr %3, align 8 %25 = load i64, ptr %5, align 8 %26 = add i64 %25, -1 store i64 %26, ptr %5, align 8 %27 = getelementptr inbounds i8, ptr %24, i64 %26 store i8 0, ptr %27, align 1 br label %8, !llvm.loop !6 28: ; preds = %21 ret void } declare i64 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpieusq6jk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @remove_trailing_chars(ptr noundef %0, i8 noundef signext %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i8, align 1 %5 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i8 %1, ptr %4, align 1 %6 = load ptr, ptr %3, align 8 %7 = call i64 @strlen(ptr noundef %6) store i64 %7, ptr %5, align 8 br label %8 8: ; preds = %23, %2 %9 = load i64, ptr %5, align 8 %10 = icmp ugt i64 %9, 0 br i1 %10, label %11, label %21 11: ; preds = %8 %12 = load ptr, ptr %3, align 8 %13 = load i64, ptr %5, align 8 %14 = sub i64 %13, 1 %15 = getelementptr inbounds i8, ptr %12, i64 %14 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = load i8, ptr %4, align 1 %19 = sext i8 %18 to i32 %20 = icmp eq i32 %17, %19 br label %21 21: ; preds = %11, %8 %22 = phi i1 [ false, %8 ], [ %20, %11 ] br i1 %22, label %23, label %28 23: ; preds = %21 %24 = load ptr, ptr %3, align 8 %25 = load i64, ptr %5, align 8 %26 = add i64 %25, -1 store i64 %26, ptr %5, align 8 %27 = getelementptr inbounds i8, ptr %24, i64 %26 store i8 0, ptr %27, align 1 br label %8, !llvm.loop !6 28: ; preds = %21 ret void } declare i64 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpn9gavxx_.c' source_filename = "/tmp/tmpn9gavxx_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"I am a simple \00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"computer.\0A\00", align 1 @.str.2 = private unnamed_addr constant [47 x i8] c"My favorite number is %d because it is first.\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 1, ptr %2, align 4 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) %4 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %5 = load i32, ptr %2, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %5) %7 = call i32 (...) @getchar() ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn9gavxx_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"I am a simple \00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"computer.\0A\00", align 1 @.str.2 = private unnamed_addr constant [47 x i8] c"My favorite number is %d because it is first.\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 1, ptr %2, align 4 %3 = call i32 (ptr, ...) @printf(ptr noundef @.str) %4 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %5 = load i32, ptr %2, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %5) %7 = call i32 (...) @getchar() ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbs5qm8eq.c' source_filename = "/tmp/tmpbs5qm8eq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @merge_sort(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = icmp sgt i32 %5, 1 br i1 %6, label %7, label %24 7: ; preds = %2 %8 = load ptr, ptr %3, align 8 %9 = getelementptr inbounds i32, ptr %8, i64 0 %10 = load i32, ptr %4, align 4 %11 = sdiv i32 %10, 2 call void @merge_sort(ptr noundef %9, i32 noundef %11) %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %4, align 4 %14 = sdiv i32 %13, 2 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i32, ptr %12, i64 %15 %17 = load i32, ptr %4, align 4 %18 = load i32, ptr %4, align 4 %19 = sdiv i32 %18, 2 %20 = sub nsw i32 %17, %19 call void @merge_sort(ptr noundef %16, i32 noundef %20) %21 = load ptr, ptr %3, align 8 %22 = load i32, ptr %4, align 4 %23 = call i32 @merge_parts(ptr noundef %21, i32 noundef %22) br label %24 24: ; preds = %7, %2 ret void } declare i32 @merge_parts(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/tmpbs5qm8eq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @merge_sort(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = icmp sgt i32 %5, 1 br i1 %6, label %7, label %24 7: ; preds = %2 %8 = load ptr, ptr %3, align 8 %9 = getelementptr inbounds i32, ptr %8, i64 0 %10 = load i32, ptr %4, align 4 %11 = sdiv i32 %10, 2 call void @merge_sort(ptr noundef %9, i32 noundef %11) %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %4, align 4 %14 = sdiv i32 %13, 2 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i32, ptr %12, i64 %15 %17 = load i32, ptr %4, align 4 %18 = load i32, ptr %4, align 4 %19 = sdiv i32 %18, 2 %20 = sub nsw i32 %17, %19 call void @merge_sort(ptr noundef %16, i32 noundef %20) %21 = load ptr, ptr %3, align 8 %22 = load i32, ptr %4, align 4 %23 = call i32 @merge_parts(ptr noundef %21, i32 noundef %22) br label %24 24: ; preds = %7, %2 ret void } declare i32 @merge_parts(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/tmp5mqavju5.c' source_filename = "/tmp/tmp5mqavju5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bsplineGen(ptr noundef %0, ptr noundef %1, i32 noundef %2, float noundef %3, float noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca float, align 4 %11 = alloca float, align 4 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca float, align 4 %16 = alloca float, align 4 %17 = alloca float, align 4 %18 = alloca float, align 4 %19 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store i32 %2, ptr %9, align 4 store float %3, ptr %10, align 4 store float %4, ptr %11, align 4 store ptr %5, ptr %12, align 8 %20 = load i32, ptr %9, align 4 %21 = add nsw i32 %20, 1 %22 = call ptr @Ccalloc(i32 noundef %21, i32 noundef 4) store ptr %22, ptr %19, align 8 %23 = load float, ptr %10, align 4 %24 = fpext float %23 to double %25 = fcmp ogt double %24, 9.900000e+29 br i1 %25, label %26, label %31 26: ; preds = %6 %27 = load ptr, ptr %19, align 8 %28 = getelementptr inbounds float, ptr %27, i64 1 store float 0.000000e+00, ptr %28, align 4 %29 = load ptr, ptr %12, align 8 %30 = getelementptr inbounds float, ptr %29, i64 1 store float 0.000000e+00, ptr %30, align 4 br label %65 31: ; preds = %6 %32 = load ptr, ptr %12, align 8 %33 = getelementptr inbounds float, ptr %32, i64 1 store float -5.000000e-01, ptr %33, align 4 %34 = load ptr, ptr %7, align 8 %35 = getelementptr inbounds float, ptr %34, i64 2 %36 = load float, ptr %35, align 4 %37 = load ptr, ptr %7, align 8 %38 = getelementptr inbounds float, ptr %37, i64 1 %39 = load float, ptr %38, align 4 %40 = fsub float %36, %39 %41 = fpext float %40 to double %42 = fdiv double 3.000000e+00, %41 %43 = load ptr, ptr %8, align 8 %44 = getelementptr inbounds float, ptr %43, i64 2 %45 = load float, ptr %44, align 4 %46 = load ptr, ptr %8, align 8 %47 = getelementptr inbounds float, ptr %46, i64 1 %48 = load float, ptr %47, align 4 %49 = fsub float %45, %48 %50 = load ptr, ptr %7, align 8 %51 = getelementptr inbounds float, ptr %50, i64 2 %52 = load float, ptr %51, align 4 %53 = load ptr, ptr %7, align 8 %54 = getelementptr inbounds float, ptr %53, i64 1 %55 = load float, ptr %54, align 4 %56 = fsub float %52, %55 %57 = fdiv float %49, %56 %58 = load float, ptr %10, align 4 %59 = fsub float %57, %58 %60 = fpext float %59 to double %61 = fmul double %42, %60 %62 = fptrunc double %61 to float %63 = load ptr, ptr %19, align 8 %64 = getelementptr inbounds float, ptr %63, i64 1 store float %62, ptr %64, align 4 br label %65 65: ; preds = %31, %26 store i32 2, ptr %13, align 4 br label %66 66: ; preds = %215, %65 %67 = load i32, ptr %13, align 4 %68 = load i32, ptr %9, align 4 %69 = sub nsw i32 %68, 1 %70 = icmp sle i32 %67, %69 br i1 %70, label %71, label %218 71: ; preds = %66 %72 = load ptr, ptr %7, align 8 %73 = load i32, ptr %13, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds float, ptr %72, i64 %74 %76 = load float, ptr %75, align 4 %77 = load ptr, ptr %7, align 8 %78 = load i32, ptr %13, align 4 %79 = sub nsw i32 %78, 1 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds float, ptr %77, i64 %80 %82 = load float, ptr %81, align 4 %83 = fsub float %76, %82 %84 = load ptr, ptr %7, align 8 %85 = load i32, ptr %13, align 4 %86 = add nsw i32 %85, 1 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds float, ptr %84, i64 %87 %89 = load float, ptr %88, align 4 %90 = load ptr, ptr %7, align 8 %91 = load i32, ptr %13, align 4 %92 = sub nsw i32 %91, 1 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds float, ptr %90, i64 %93 %95 = load float, ptr %94, align 4 %96 = fsub float %89, %95 %97 = fdiv float %83, %96 store float %97, ptr %17, align 4 %98 = load float, ptr %17, align 4 %99 = load ptr, ptr %12, align 8 %100 = load i32, ptr %13, align 4 %101 = sub nsw i32 %100, 1 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds float, ptr %99, i64 %102 %104 = load float, ptr %103, align 4 %105 = fmul float %98, %104 %106 = fpext float %105 to double %107 = fadd double %106, 2.000000e+00 %108 = fptrunc double %107 to float store float %108, ptr %15, align 4 %109 = load float, ptr %17, align 4 %110 = fpext float %109 to double %111 = fsub double %110, 1.000000e+00 %112 = load float, ptr %15, align 4 %113 = fpext float %112 to double %114 = fdiv double %111, %113 %115 = fptrunc double %114 to float %116 = load ptr, ptr %12, align 8 %117 = load i32, ptr %13, align 4 %118 = sext i32 %117 to i64 %119 = getelementptr inbounds float, ptr %116, i64 %118 store float %115, ptr %119, align 4 %120 = load ptr, ptr %8, align 8 %121 = load i32, ptr %13, align 4 %122 = add nsw i32 %121, 1 %123 = sext i32 %122 to i64 %124 = getelementptr inbounds float, ptr %120, i64 %123 %125 = load float, ptr %124, align 4 %126 = load ptr, ptr %8, align 8 %127 = load i32, ptr %13, align 4 %128 = sext i32 %127 to i64 %129 = getelementptr inbounds float, ptr %126, i64 %128 %130 = load float, ptr %129, align 4 %131 = fsub float %125, %130 %132 = load ptr, ptr %7, align 8 %133 = load i32, ptr %13, align 4 %134 = add nsw i32 %133, 1 %135 = sext i32 %134 to i64 %136 = getelementptr inbounds float, ptr %132, i64 %135 %137 = load float, ptr %136, align 4 %138 = load ptr, ptr %7, align 8 %139 = load i32, ptr %13, align 4 %140 = sext i32 %139 to i64 %141 = getelementptr inbounds float, ptr %138, i64 %140 %142 = load float, ptr %141, align 4 %143 = fsub float %137, %142 %144 = fdiv float %131, %143 %145 = load ptr, ptr %8, align 8 %146 = load i32, ptr %13, align 4 %147 = sext i32 %146 to i64 %148 = getelementptr inbounds float, ptr %145, i64 %147 %149 = load float, ptr %148, align 4 %150 = load ptr, ptr %8, align 8 %151 = load i32, ptr %13, align 4 %152 = sub nsw i32 %151, 1 %153 = sext i32 %152 to i64 %154 = getelementptr inbounds float, ptr %150, i64 %153 %155 = load float, ptr %154, align 4 %156 = fsub float %149, %155 %157 = load ptr, ptr %7, align 8 %158 = load i32, ptr %13, align 4 %159 = sext i32 %158 to i64 %160 = getelementptr inbounds float, ptr %157, i64 %159 %161 = load float, ptr %160, align 4 %162 = load ptr, ptr %7, align 8 %163 = load i32, ptr %13, align 4 %164 = sub nsw i32 %163, 1 %165 = sext i32 %164 to i64 %166 = getelementptr inbounds float, ptr %162, i64 %165 %167 = load float, ptr %166, align 4 %168 = fsub float %161, %167 %169 = fdiv float %156, %168 %170 = fsub float %144, %169 %171 = load ptr, ptr %19, align 8 %172 = load i32, ptr %13, align 4 %173 = sext i32 %172 to i64 %174 = getelementptr inbounds float, ptr %171, i64 %173 store float %170, ptr %174, align 4 %175 = load ptr, ptr %19, align 8 %176 = load i32, ptr %13, align 4 %177 = sext i32 %176 to i64 %178 = getelementptr inbounds float, ptr %175, i64 %177 %179 = load float, ptr %178, align 4 %180 = fpext float %179 to double %181 = fmul double 6.000000e+00, %180 %182 = load ptr, ptr %7, align 8 %183 = load i32, ptr %13, align 4 %184 = add nsw i32 %183, 1 %185 = sext i32 %184 to i64 %186 = getelementptr inbounds float, ptr %182, i64 %185 %187 = load float, ptr %186, align 4 %188 = load ptr, ptr %7, align 8 %189 = load i32, ptr %13, align 4 %190 = sub nsw i32 %189, 1 %191 = sext i32 %190 to i64 %192 = getelementptr inbounds float, ptr %188, i64 %191 %193 = load float, ptr %192, align 4 %194 = fsub float %187, %193 %195 = fpext float %194 to double %196 = fdiv double %181, %195 %197 = load float, ptr %17, align 4 %198 = load ptr, ptr %19, align 8 %199 = load i32, ptr %13, align 4 %200 = sub nsw i32 %199, 1 %201 = sext i32 %200 to i64 %202 = getelementptr inbounds float, ptr %198, i64 %201 %203 = load float, ptr %202, align 4 %204 = fmul float %197, %203 %205 = fpext float %204 to double %206 = fsub double %196, %205 %207 = load float, ptr %15, align 4 %208 = fpext float %207 to double %209 = fdiv double %206, %208 %210 = fptrunc double %209 to float %211 = load ptr, ptr %19, align 8 %212 = load i32, ptr %13, align 4 %213 = sext i32 %212 to i64 %214 = getelementptr inbounds float, ptr %211, i64 %213 store float %210, ptr %214, align 4 br label %215 215: ; preds = %71 %216 = load i32, ptr %13, align 4 %217 = add nsw i32 %216, 1 store i32 %217, ptr %13, align 4 br label %66, !llvm.loop !6 218: ; preds = %66 %219 = load float, ptr %11, align 4 %220 = fpext float %219 to double %221 = fcmp ogt double %220, 9.900000e+29 br i1 %221, label %222, label %223 222: ; preds = %218 store float 0.000000e+00, ptr %18, align 4 store float 0.000000e+00, ptr %16, align 4 br label %268 223: ; preds = %218 store float 5.000000e-01, ptr %16, align 4 %224 = load ptr, ptr %7, align 8 %225 = load i32, ptr %9, align 4 %226 = sext i32 %225 to i64 %227 = getelementptr inbounds float, ptr %224, i64 %226 %228 = load float, ptr %227, align 4 %229 = load ptr, ptr %7, align 8 %230 = load i32, ptr %9, align 4 %231 = sub nsw i32 %230, 1 %232 = sext i32 %231 to i64 %233 = getelementptr inbounds float, ptr %229, i64 %232 %234 = load float, ptr %233, align 4 %235 = fsub float %228, %234 %236 = fpext float %235 to double %237 = fdiv double 3.000000e+00, %236 %238 = load float, ptr %11, align 4 %239 = load ptr, ptr %8, align 8 %240 = load i32, ptr %9, align 4 %241 = sext i32 %240 to i64 %242 = getelementptr inbounds float, ptr %239, i64 %241 %243 = load float, ptr %242, align 4 %244 = load ptr, ptr %8, align 8 %245 = load i32, ptr %9, align 4 %246 = sub nsw i32 %245, 1 %247 = sext i32 %246 to i64 %248 = getelementptr inbounds float, ptr %244, i64 %247 %249 = load float, ptr %248, align 4 %250 = fsub float %243, %249 %251 = load ptr, ptr %7, align 8 %252 = load i32, ptr %9, align 4 %253 = sext i32 %252 to i64 %254 = getelementptr inbounds float, ptr %251, i64 %253 %255 = load float, ptr %254, align 4 %256 = load ptr, ptr %7, align 8 %257 = load i32, ptr %9, align 4 %258 = sub nsw i32 %257, 1 %259 = sext i32 %258 to i64 %260 = getelementptr inbounds float, ptr %256, i64 %259 %261 = load float, ptr %260, align 4 %262 = fsub float %255, %261 %263 = fdiv float %250, %262 %264 = fsub float %238, %263 %265 = fpext float %264 to double %266 = fmul double %237, %265 %267 = fptrunc double %266 to float store float %267, ptr %18, align 4 br label %268 268: ; preds = %223, %222 %269 = load float, ptr %18, align 4 %270 = load float, ptr %16, align 4 %271 = load ptr, ptr %19, align 8 %272 = load i32, ptr %9, align 4 %273 = sub nsw i32 %272, 1 %274 = sext i32 %273 to i64 %275 = getelementptr inbounds float, ptr %271, i64 %274 %276 = load float, ptr %275, align 4 %277 = fneg float %270 %278 = call float @llvm.fmuladd.f32(float %277, float %276, float %269) %279 = fpext float %278 to double %280 = load float, ptr %16, align 4 %281 = load ptr, ptr %12, align 8 %282 = load i32, ptr %9, align 4 %283 = sub nsw i32 %282, 1 %284 = sext i32 %283 to i64 %285 = getelementptr inbounds float, ptr %281, i64 %284 %286 = load float, ptr %285, align 4 %287 = fmul float %280, %286 %288 = fpext float %287 to double %289 = fadd double %288, 1.000000e+00 %290 = fdiv double %279, %289 %291 = fptrunc double %290 to float %292 = load ptr, ptr %12, align 8 %293 = load i32, ptr %9, align 4 %294 = sext i32 %293 to i64 %295 = getelementptr inbounds float, ptr %292, i64 %294 store float %291, ptr %295, align 4 %296 = load i32, ptr %9, align 4 %297 = sub nsw i32 %296, 1 store i32 %297, ptr %14, align 4 br label %298 298: ; preds = %323, %268 %299 = load i32, ptr %14, align 4 %300 = icmp sge i32 %299, 1 br i1 %300, label %301, label %326 301: ; preds = %298 %302 = load ptr, ptr %12, align 8 %303 = load i32, ptr %14, align 4 %304 = sext i32 %303 to i64 %305 = getelementptr inbounds float, ptr %302, i64 %304 %306 = load float, ptr %305, align 4 %307 = load ptr, ptr %12, align 8 %308 = load i32, ptr %14, align 4 %309 = add nsw i32 %308, 1 %310 = sext i32 %309 to i64 %311 = getelementptr inbounds float, ptr %307, i64 %310 %312 = load float, ptr %311, align 4 %313 = load ptr, ptr %19, align 8 %314 = load i32, ptr %14, align 4 %315 = sext i32 %314 to i64 %316 = getelementptr inbounds float, ptr %313, i64 %315 %317 = load float, ptr %316, align 4 %318 = call float @llvm.fmuladd.f32(float %306, float %312, float %317) %319 = load ptr, ptr %12, align 8 %320 = load i32, ptr %14, align 4 %321 = sext i32 %320 to i64 %322 = getelementptr inbounds float, ptr %319, i64 %321 store float %318, ptr %322, align 4 br label %323 323: ; preds = %301 %324 = load i32, ptr %14, align 4 %325 = add nsw i32 %324, -1 store i32 %325, ptr %14, align 4 br label %298, !llvm.loop !8 326: ; preds = %298 %327 = load ptr, ptr %19, align 8 %328 = call i32 @Cfree(ptr noundef %327) ret i32 0 } declare ptr @Ccalloc(i32 noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 declare i32 @Cfree(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5mqavju5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bsplineGen(ptr noundef %0, ptr noundef %1, i32 noundef %2, float noundef %3, float noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca float, align 4 %11 = alloca float, align 4 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca float, align 4 %16 = alloca float, align 4 %17 = alloca float, align 4 %18 = alloca float, align 4 %19 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store i32 %2, ptr %9, align 4 store float %3, ptr %10, align 4 store float %4, ptr %11, align 4 store ptr %5, ptr %12, align 8 %20 = load i32, ptr %9, align 4 %21 = add nsw i32 %20, 1 %22 = call ptr @Ccalloc(i32 noundef %21, i32 noundef 4) store ptr %22, ptr %19, align 8 %23 = load float, ptr %10, align 4 %24 = fpext float %23 to double %25 = fcmp ogt double %24, 9.900000e+29 br i1 %25, label %26, label %31 26: ; preds = %6 %27 = load ptr, ptr %19, align 8 %28 = getelementptr inbounds float, ptr %27, i64 1 store float 0.000000e+00, ptr %28, align 4 %29 = load ptr, ptr %12, align 8 %30 = getelementptr inbounds float, ptr %29, i64 1 store float 0.000000e+00, ptr %30, align 4 br label %65 31: ; preds = %6 %32 = load ptr, ptr %12, align 8 %33 = getelementptr inbounds float, ptr %32, i64 1 store float -5.000000e-01, ptr %33, align 4 %34 = load ptr, ptr %7, align 8 %35 = getelementptr inbounds float, ptr %34, i64 2 %36 = load float, ptr %35, align 4 %37 = load ptr, ptr %7, align 8 %38 = getelementptr inbounds float, ptr %37, i64 1 %39 = load float, ptr %38, align 4 %40 = fsub float %36, %39 %41 = fpext float %40 to double %42 = fdiv double 3.000000e+00, %41 %43 = load ptr, ptr %8, align 8 %44 = getelementptr inbounds float, ptr %43, i64 2 %45 = load float, ptr %44, align 4 %46 = load ptr, ptr %8, align 8 %47 = getelementptr inbounds float, ptr %46, i64 1 %48 = load float, ptr %47, align 4 %49 = fsub float %45, %48 %50 = load ptr, ptr %7, align 8 %51 = getelementptr inbounds float, ptr %50, i64 2 %52 = load float, ptr %51, align 4 %53 = load ptr, ptr %7, align 8 %54 = getelementptr inbounds float, ptr %53, i64 1 %55 = load float, ptr %54, align 4 %56 = fsub float %52, %55 %57 = fdiv float %49, %56 %58 = load float, ptr %10, align 4 %59 = fsub float %57, %58 %60 = fpext float %59 to double %61 = fmul double %42, %60 %62 = fptrunc double %61 to float %63 = load ptr, ptr %19, align 8 %64 = getelementptr inbounds float, ptr %63, i64 1 store float %62, ptr %64, align 4 br label %65 65: ; preds = %31, %26 store i32 2, ptr %13, align 4 %66 = load i32, ptr %13, align 4 %67 = load i32, ptr %9, align 4 %68 = sub nsw i32 %67, 1 %69 = icmp sle i32 %66, %68 br i1 %69, label %.lr.ph, label %221 .lr.ph: ; preds = %65 br label %70 70: ; preds = %.lr.ph, %214 %71 = load ptr, ptr %7, align 8 %72 = load i32, ptr %13, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds float, ptr %71, i64 %73 %75 = load float, ptr %74, align 4 %76 = load ptr, ptr %7, align 8 %77 = load i32, ptr %13, align 4 %78 = sub nsw i32 %77, 1 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds float, ptr %76, i64 %79 %81 = load float, ptr %80, align 4 %82 = fsub float %75, %81 %83 = load ptr, ptr %7, align 8 %84 = load i32, ptr %13, align 4 %85 = add nsw i32 %84, 1 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds float, ptr %83, i64 %86 %88 = load float, ptr %87, align 4 %89 = load ptr, ptr %7, align 8 %90 = load i32, ptr %13, align 4 %91 = sub nsw i32 %90, 1 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds float, ptr %89, i64 %92 %94 = load float, ptr %93, align 4 %95 = fsub float %88, %94 %96 = fdiv float %82, %95 store float %96, ptr %17, align 4 %97 = load float, ptr %17, align 4 %98 = load ptr, ptr %12, align 8 %99 = load i32, ptr %13, align 4 %100 = sub nsw i32 %99, 1 %101 = sext i32 %100 to i64 %102 = getelementptr inbounds float, ptr %98, i64 %101 %103 = load float, ptr %102, align 4 %104 = fmul float %97, %103 %105 = fpext float %104 to double %106 = fadd double %105, 2.000000e+00 %107 = fptrunc double %106 to float store float %107, ptr %15, align 4 %108 = load float, ptr %17, align 4 %109 = fpext float %108 to double %110 = fsub double %109, 1.000000e+00 %111 = load float, ptr %15, align 4 %112 = fpext float %111 to double %113 = fdiv double %110, %112 %114 = fptrunc double %113 to float %115 = load ptr, ptr %12, align 8 %116 = load i32, ptr %13, align 4 %117 = sext i32 %116 to i64 %118 = getelementptr inbounds float, ptr %115, i64 %117 store float %114, ptr %118, align 4 %119 = load ptr, ptr %8, align 8 %120 = load i32, ptr %13, align 4 %121 = add nsw i32 %120, 1 %122 = sext i32 %121 to i64 %123 = getelementptr inbounds float, ptr %119, i64 %122 %124 = load float, ptr %123, align 4 %125 = load ptr, ptr %8, align 8 %126 = load i32, ptr %13, align 4 %127 = sext i32 %126 to i64 %128 = getelementptr inbounds float, ptr %125, i64 %127 %129 = load float, ptr %128, align 4 %130 = fsub float %124, %129 %131 = load ptr, ptr %7, align 8 %132 = load i32, ptr %13, align 4 %133 = add nsw i32 %132, 1 %134 = sext i32 %133 to i64 %135 = getelementptr inbounds float, ptr %131, i64 %134 %136 = load float, ptr %135, align 4 %137 = load ptr, ptr %7, align 8 %138 = load i32, ptr %13, align 4 %139 = sext i32 %138 to i64 %140 = getelementptr inbounds float, ptr %137, i64 %139 %141 = load float, ptr %140, align 4 %142 = fsub float %136, %141 %143 = fdiv float %130, %142 %144 = load ptr, ptr %8, align 8 %145 = load i32, ptr %13, align 4 %146 = sext i32 %145 to i64 %147 = getelementptr inbounds float, ptr %144, i64 %146 %148 = load float, ptr %147, align 4 %149 = load ptr, ptr %8, align 8 %150 = load i32, ptr %13, align 4 %151 = sub nsw i32 %150, 1 %152 = sext i32 %151 to i64 %153 = getelementptr inbounds float, ptr %149, i64 %152 %154 = load float, ptr %153, align 4 %155 = fsub float %148, %154 %156 = load ptr, ptr %7, align 8 %157 = load i32, ptr %13, align 4 %158 = sext i32 %157 to i64 %159 = getelementptr inbounds float, ptr %156, i64 %158 %160 = load float, ptr %159, align 4 %161 = load ptr, ptr %7, align 8 %162 = load i32, ptr %13, align 4 %163 = sub nsw i32 %162, 1 %164 = sext i32 %163 to i64 %165 = getelementptr inbounds float, ptr %161, i64 %164 %166 = load float, ptr %165, align 4 %167 = fsub float %160, %166 %168 = fdiv float %155, %167 %169 = fsub float %143, %168 %170 = load ptr, ptr %19, align 8 %171 = load i32, ptr %13, align 4 %172 = sext i32 %171 to i64 %173 = getelementptr inbounds float, ptr %170, i64 %172 store float %169, ptr %173, align 4 %174 = load ptr, ptr %19, align 8 %175 = load i32, ptr %13, align 4 %176 = sext i32 %175 to i64 %177 = getelementptr inbounds float, ptr %174, i64 %176 %178 = load float, ptr %177, align 4 %179 = fpext float %178 to double %180 = fmul double 6.000000e+00, %179 %181 = load ptr, ptr %7, align 8 %182 = load i32, ptr %13, align 4 %183 = add nsw i32 %182, 1 %184 = sext i32 %183 to i64 %185 = getelementptr inbounds float, ptr %181, i64 %184 %186 = load float, ptr %185, align 4 %187 = load ptr, ptr %7, align 8 %188 = load i32, ptr %13, align 4 %189 = sub nsw i32 %188, 1 %190 = sext i32 %189 to i64 %191 = getelementptr inbounds float, ptr %187, i64 %190 %192 = load float, ptr %191, align 4 %193 = fsub float %186, %192 %194 = fpext float %193 to double %195 = fdiv double %180, %194 %196 = load float, ptr %17, align 4 %197 = load ptr, ptr %19, align 8 %198 = load i32, ptr %13, align 4 %199 = sub nsw i32 %198, 1 %200 = sext i32 %199 to i64 %201 = getelementptr inbounds float, ptr %197, i64 %200 %202 = load float, ptr %201, align 4 %203 = fmul float %196, %202 %204 = fpext float %203 to double %205 = fsub double %195, %204 %206 = load float, ptr %15, align 4 %207 = fpext float %206 to double %208 = fdiv double %205, %207 %209 = fptrunc double %208 to float %210 = load ptr, ptr %19, align 8 %211 = load i32, ptr %13, align 4 %212 = sext i32 %211 to i64 %213 = getelementptr inbounds float, ptr %210, i64 %212 store float %209, ptr %213, align 4 br label %214 214: ; preds = %70 %215 = load i32, ptr %13, align 4 %216 = add nsw i32 %215, 1 store i32 %216, ptr %13, align 4 %217 = load i32, ptr %13, align 4 %218 = load i32, ptr %9, align 4 %219 = sub nsw i32 %218, 1 %220 = icmp sle i32 %217, %219 br i1 %220, label %70, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %214 br label %221 221: ; preds = %._crit_edge, %65 %222 = load float, ptr %11, align 4 %223 = fpext float %222 to double %224 = fcmp ogt double %223, 9.900000e+29 br i1 %224, label %225, label %226 225: ; preds = %221 store float 0.000000e+00, ptr %18, align 4 store float 0.000000e+00, ptr %16, align 4 br label %271 226: ; preds = %221 store float 5.000000e-01, ptr %16, align 4 %227 = load ptr, ptr %7, align 8 %228 = load i32, ptr %9, align 4 %229 = sext i32 %228 to i64 %230 = getelementptr inbounds float, ptr %227, i64 %229 %231 = load float, ptr %230, align 4 %232 = load ptr, ptr %7, align 8 %233 = load i32, ptr %9, align 4 %234 = sub nsw i32 %233, 1 %235 = sext i32 %234 to i64 %236 = getelementptr inbounds float, ptr %232, i64 %235 %237 = load float, ptr %236, align 4 %238 = fsub float %231, %237 %239 = fpext float %238 to double %240 = fdiv double 3.000000e+00, %239 %241 = load float, ptr %11, align 4 %242 = load ptr, ptr %8, align 8 %243 = load i32, ptr %9, align 4 %244 = sext i32 %243 to i64 %245 = getelementptr inbounds float, ptr %242, i64 %244 %246 = load float, ptr %245, align 4 %247 = load ptr, ptr %8, align 8 %248 = load i32, ptr %9, align 4 %249 = sub nsw i32 %248, 1 %250 = sext i32 %249 to i64 %251 = getelementptr inbounds float, ptr %247, i64 %250 %252 = load float, ptr %251, align 4 %253 = fsub float %246, %252 %254 = load ptr, ptr %7, align 8 %255 = load i32, ptr %9, align 4 %256 = sext i32 %255 to i64 %257 = getelementptr inbounds float, ptr %254, i64 %256 %258 = load float, ptr %257, align 4 %259 = load ptr, ptr %7, align 8 %260 = load i32, ptr %9, align 4 %261 = sub nsw i32 %260, 1 %262 = sext i32 %261 to i64 %263 = getelementptr inbounds float, ptr %259, i64 %262 %264 = load float, ptr %263, align 4 %265 = fsub float %258, %264 %266 = fdiv float %253, %265 %267 = fsub float %241, %266 %268 = fpext float %267 to double %269 = fmul double %240, %268 %270 = fptrunc double %269 to float store float %270, ptr %18, align 4 br label %271 271: ; preds = %226, %225 %272 = load float, ptr %18, align 4 %273 = load float, ptr %16, align 4 %274 = load ptr, ptr %19, align 8 %275 = load i32, ptr %9, align 4 %276 = sub nsw i32 %275, 1 %277 = sext i32 %276 to i64 %278 = getelementptr inbounds float, ptr %274, i64 %277 %279 = load float, ptr %278, align 4 %280 = fneg float %273 %281 = call float @llvm.fmuladd.f32(float %280, float %279, float %272) %282 = fpext float %281 to double %283 = load float, ptr %16, align 4 %284 = load ptr, ptr %12, align 8 %285 = load i32, ptr %9, align 4 %286 = sub nsw i32 %285, 1 %287 = sext i32 %286 to i64 %288 = getelementptr inbounds float, ptr %284, i64 %287 %289 = load float, ptr %288, align 4 %290 = fmul float %283, %289 %291 = fpext float %290 to double %292 = fadd double %291, 1.000000e+00 %293 = fdiv double %282, %292 %294 = fptrunc double %293 to float %295 = load ptr, ptr %12, align 8 %296 = load i32, ptr %9, align 4 %297 = sext i32 %296 to i64 %298 = getelementptr inbounds float, ptr %295, i64 %297 store float %294, ptr %298, align 4 %299 = load i32, ptr %9, align 4 %300 = sub nsw i32 %299, 1 store i32 %300, ptr %14, align 4 %301 = load i32, ptr %14, align 4 %302 = icmp sge i32 %301, 1 br i1 %302, label %.lr.ph2, label %330 .lr.ph2: ; preds = %271 br label %303 303: ; preds = %.lr.ph2, %325 %304 = load ptr, ptr %12, align 8 %305 = load i32, ptr %14, align 4 %306 = sext i32 %305 to i64 %307 = getelementptr inbounds float, ptr %304, i64 %306 %308 = load float, ptr %307, align 4 %309 = load ptr, ptr %12, align 8 %310 = load i32, ptr %14, align 4 %311 = add nsw i32 %310, 1 %312 = sext i32 %311 to i64 %313 = getelementptr inbounds float, ptr %309, i64 %312 %314 = load float, ptr %313, align 4 %315 = load ptr, ptr %19, align 8 %316 = load i32, ptr %14, align 4 %317 = sext i32 %316 to i64 %318 = getelementptr inbounds float, ptr %315, i64 %317 %319 = load float, ptr %318, align 4 %320 = call float @llvm.fmuladd.f32(float %308, float %314, float %319) %321 = load ptr, ptr %12, align 8 %322 = load i32, ptr %14, align 4 %323 = sext i32 %322 to i64 %324 = getelementptr inbounds float, ptr %321, i64 %323 store float %320, ptr %324, align 4 br label %325 325: ; preds = %303 %326 = load i32, ptr %14, align 4 %327 = add nsw i32 %326, -1 store i32 %327, ptr %14, align 4 %328 = load i32, ptr %14, align 4 %329 = icmp sge i32 %328, 1 br i1 %329, label %303, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %325 br label %330 330: ; preds = %._crit_edge3, %271 %331 = load ptr, ptr %19, align 8 %332 = call i32 @Cfree(ptr noundef %331) ret i32 0 } declare ptr @Ccalloc(i32 noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 declare i32 @Cfree(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp7awxc138.c' source_filename = "/tmp/tmp7awxc138.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { %struct.TYPE_2__, ptr, ptr } %struct.TYPE_2__ = type { i32 } %struct.hostent = type { i32, ptr } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [43 x i8] c"Usage: %s host_name(IP address) file_name\0A\00", align 1 @AF_INET = dso_local global ptr null, align 8 @SOCK_DGRAM = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [15 x i8] c"socket failed!\00", align 1 @INADDR_ANY = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [13 x i8] c"bind failed!\00", align 1 @.str.3 = private unnamed_addr constant [32 x i8] c"could not obtain address of %s\0A\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [17 x i8] c"open file error!\00", align 1 @.str.5 = private unnamed_addr constant [18 x i8] c"read file error !\00", align 1 @.str.6 = private unnamed_addr constant [24 x i8] c"write to server 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 [1024 x i8], align 16 %11 = alloca [1024 x i8], align 16 %12 = alloca ptr, align 8 %13 = alloca %struct.sockaddr_in, align 8 %14 = alloca %struct.sockaddr_in, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %15 = load i32, ptr %4, align 4 %16 = icmp slt i32 %15, 3 br i1 %16, label %17, label %24 17: ; preds = %2 %18 = load i32, ptr @stderr, align 4 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 0 %21 = load ptr, ptr %20, align 8 %22 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str, ptr noundef %21) %23 = call i32 @exit(i32 noundef 2) #3 unreachable 24: ; preds = %2 %25 = load ptr, ptr @AF_INET, align 8 %26 = load i32, ptr @SOCK_DGRAM, align 4 %27 = call i32 @socket(ptr noundef %25, i32 noundef %26, i32 noundef 0) store i32 %27, ptr %6, align 4 %28 = icmp slt i32 %27, 0 br i1 %28, label %29, label %32 29: ; preds = %24 %30 = call i32 @perror(ptr noundef @.str.1) %31 = call i32 @exit(i32 noundef 1) #3 unreachable 32: ; preds = %24 %33 = call i32 @bzero(ptr noundef %13, i32 noundef 24) %34 = load ptr, ptr @AF_INET, align 8 %35 = getelementptr inbounds %struct.sockaddr_in, ptr %13, i32 0, i32 2 store ptr %34, ptr %35, align 8 %36 = load i32, ptr @INADDR_ANY, align 4 %37 = call i32 @htonl(i32 noundef %36) %38 = getelementptr inbounds %struct.sockaddr_in, ptr %13, i32 0, i32 0 %39 = getelementptr inbounds %struct.TYPE_2__, ptr %38, i32 0, i32 0 store i32 %37, ptr %39, align 8 %40 = call ptr @htons(i32 noundef 0) %41 = getelementptr inbounds %struct.sockaddr_in, ptr %13, i32 0, i32 1 store ptr %40, ptr %41, align 8 %42 = load i32, ptr %6, align 4 %43 = call i64 @bind(i32 noundef %42, ptr noundef %13, i32 noundef 24) %44 = icmp slt i64 %43, 0 br i1 %44, label %45, label %48 45: ; preds = %32 %46 = call i32 @perror(ptr noundef @.str.2) %47 = call i32 @exit(i32 noundef 1) #3 unreachable 48: ; preds = %32 %49 = call i32 @bzero(ptr noundef %14, i32 noundef 24) %50 = load ptr, ptr @AF_INET, align 8 %51 = getelementptr inbounds %struct.sockaddr_in, ptr %14, i32 0, i32 2 store ptr %50, ptr %51, align 8 %52 = call ptr @htons(i32 noundef 5134) %53 = getelementptr inbounds %struct.sockaddr_in, ptr %14, i32 0, i32 1 store ptr %52, ptr %53, align 8 %54 = load ptr, ptr %5, align 8 %55 = getelementptr inbounds ptr, ptr %54, i64 1 %56 = load ptr, ptr %55, align 8 %57 = call ptr @gethostbyname(ptr noundef %56) store ptr %57, ptr %12, align 8 %58 = load ptr, ptr %12, align 8 %59 = icmp eq ptr %58, null br i1 %59, label %60, label %66 60: ; preds = %48 %61 = load i32, ptr @stderr, align 4 %62 = load ptr, ptr %5, align 8 %63 = getelementptr inbounds ptr, ptr %62, i64 2 %64 = load ptr, ptr %63, align 8 %65 = call i32 @fprintf(i32 noundef %61, ptr noundef @.str.3, ptr noundef %64) store i32 -1, ptr %3, align 4 br label %112 66: ; preds = %48 %67 = load ptr, ptr %12, align 8 %68 = getelementptr inbounds %struct.hostent, ptr %67, i32 0, i32 1 %69 = load ptr, ptr %68, align 8 %70 = getelementptr inbounds i32, ptr %69, i64 0 %71 = load i32, ptr %70, align 4 %72 = getelementptr inbounds %struct.sockaddr_in, ptr %14, i32 0, i32 0 %73 = ptrtoint ptr %72 to i32 %74 = load ptr, ptr %12, align 8 %75 = getelementptr inbounds %struct.hostent, ptr %74, i32 0, i32 0 %76 = load i32, ptr %75, align 8 %77 = call i32 @bcopy(i32 noundef %71, i32 noundef %73, i32 noundef %76) %78 = load ptr, ptr %5, align 8 %79 = getelementptr inbounds ptr, ptr %78, i64 2 %80 = load ptr, ptr %79, align 8 %81 = load i32, ptr @O_RDONLY, align 4 %82 = call i32 @open(ptr noundef %80, i32 noundef %81) store i32 %82, ptr %8, align 4 %83 = load i32, ptr %8, align 4 %84 = icmp eq i32 %83, -1 br i1 %84, label %85, label %88 85: ; preds = %66 %86 = call i32 @perror(ptr noundef @.str.4) %87 = call i32 @exit(i32 noundef 1) #3 unreachable 88: ; preds = %66 %89 = load i32, ptr %8, align 4 %90 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0 %91 = call i32 @read(i32 noundef %89, ptr noundef %90, i32 noundef 1024) store i32 %91, ptr %9, align 4 %92 = load i32, ptr %9, align 4 %93 = icmp slt i32 %92, 0 br i1 %93, label %94, label %97 94: ; preds = %88 %95 = call i32 @perror(ptr noundef @.str.5) %96 = call i32 @exit(i32 noundef 1) #3 unreachable 97: ; preds = %88 %98 = load i32, ptr %9, align 4 %99 = add nsw i32 %98, 1 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 %100 store i8 0, ptr %101, align 1 store i32 24, ptr %7, align 4 %102 = load i32, ptr %6, align 4 %103 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0 %104 = load i32, ptr %9, align 4 %105 = load i32, ptr %7, align 4 %106 = call i32 @sendto(i32 noundef %102, ptr noundef %103, i32 noundef %104, i32 noundef 0, ptr noundef %14, i32 noundef %105) %107 = icmp eq i32 %106, -1 br i1 %107, label %108, label %111 108: ; preds = %97 %109 = call i32 @perror(ptr noundef @.str.6) %110 = call i32 @exit(i32 noundef 1) #3 unreachable 111: ; preds = %97 store i32 0, ptr %3, align 4 br label %112 112: ; preds = %111, %60 %113 = load i32, ptr %3, align 4 ret i32 %113 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @socket(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @htonl(i32 noundef) #1 declare ptr @htons(i32 noundef) #1 declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare ptr @gethostbyname(ptr noundef) #1 declare i32 @bcopy(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmp7awxc138.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { %struct.TYPE_2__, ptr, ptr } %struct.TYPE_2__ = type { i32 } %struct.hostent = type { i32, ptr } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [43 x i8] c"Usage: %s host_name(IP address) file_name\0A\00", align 1 @AF_INET = dso_local global ptr null, align 8 @SOCK_DGRAM = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [15 x i8] c"socket failed!\00", align 1 @INADDR_ANY = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [13 x i8] c"bind failed!\00", align 1 @.str.3 = private unnamed_addr constant [32 x i8] c"could not obtain address of %s\0A\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [17 x i8] c"open file error!\00", align 1 @.str.5 = private unnamed_addr constant [18 x i8] c"read file error !\00", align 1 @.str.6 = private unnamed_addr constant [24 x i8] c"write to server 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 [1024 x i8], align 16 %11 = alloca [1024 x i8], align 16 %12 = alloca ptr, align 8 %13 = alloca %struct.sockaddr_in, align 8 %14 = alloca %struct.sockaddr_in, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %15 = load i32, ptr %4, align 4 %16 = icmp slt i32 %15, 3 br i1 %16, label %17, label %24 17: ; preds = %2 %18 = load i32, ptr @stderr, align 4 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 0 %21 = load ptr, ptr %20, align 8 %22 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str, ptr noundef %21) %23 = call i32 @exit(i32 noundef 2) #3 unreachable 24: ; preds = %2 %25 = load ptr, ptr @AF_INET, align 8 %26 = load i32, ptr @SOCK_DGRAM, align 4 %27 = call i32 @socket(ptr noundef %25, i32 noundef %26, i32 noundef 0) store i32 %27, ptr %6, align 4 %28 = icmp slt i32 %27, 0 br i1 %28, label %29, label %32 29: ; preds = %24 %30 = call i32 @perror(ptr noundef @.str.1) %31 = call i32 @exit(i32 noundef 1) #3 unreachable 32: ; preds = %24 %33 = call i32 @bzero(ptr noundef %13, i32 noundef 24) %34 = load ptr, ptr @AF_INET, align 8 %35 = getelementptr inbounds %struct.sockaddr_in, ptr %13, i32 0, i32 2 store ptr %34, ptr %35, align 8 %36 = load i32, ptr @INADDR_ANY, align 4 %37 = call i32 @htonl(i32 noundef %36) %38 = getelementptr inbounds %struct.sockaddr_in, ptr %13, i32 0, i32 0 %39 = getelementptr inbounds %struct.TYPE_2__, ptr %38, i32 0, i32 0 store i32 %37, ptr %39, align 8 %40 = call ptr @htons(i32 noundef 0) %41 = getelementptr inbounds %struct.sockaddr_in, ptr %13, i32 0, i32 1 store ptr %40, ptr %41, align 8 %42 = load i32, ptr %6, align 4 %43 = call i64 @bind(i32 noundef %42, ptr noundef %13, i32 noundef 24) %44 = icmp slt i64 %43, 0 br i1 %44, label %45, label %48 45: ; preds = %32 %46 = call i32 @perror(ptr noundef @.str.2) %47 = call i32 @exit(i32 noundef 1) #3 unreachable 48: ; preds = %32 %49 = call i32 @bzero(ptr noundef %14, i32 noundef 24) %50 = load ptr, ptr @AF_INET, align 8 %51 = getelementptr inbounds %struct.sockaddr_in, ptr %14, i32 0, i32 2 store ptr %50, ptr %51, align 8 %52 = call ptr @htons(i32 noundef 5134) %53 = getelementptr inbounds %struct.sockaddr_in, ptr %14, i32 0, i32 1 store ptr %52, ptr %53, align 8 %54 = load ptr, ptr %5, align 8 %55 = getelementptr inbounds ptr, ptr %54, i64 1 %56 = load ptr, ptr %55, align 8 %57 = call ptr @gethostbyname(ptr noundef %56) store ptr %57, ptr %12, align 8 %58 = load ptr, ptr %12, align 8 %59 = icmp eq ptr %58, null br i1 %59, label %60, label %66 60: ; preds = %48 %61 = load i32, ptr @stderr, align 4 %62 = load ptr, ptr %5, align 8 %63 = getelementptr inbounds ptr, ptr %62, i64 2 %64 = load ptr, ptr %63, align 8 %65 = call i32 @fprintf(i32 noundef %61, ptr noundef @.str.3, ptr noundef %64) store i32 -1, ptr %3, align 4 br label %112 66: ; preds = %48 %67 = load ptr, ptr %12, align 8 %68 = getelementptr inbounds %struct.hostent, ptr %67, i32 0, i32 1 %69 = load ptr, ptr %68, align 8 %70 = getelementptr inbounds i32, ptr %69, i64 0 %71 = load i32, ptr %70, align 4 %72 = getelementptr inbounds %struct.sockaddr_in, ptr %14, i32 0, i32 0 %73 = ptrtoint ptr %72 to i32 %74 = load ptr, ptr %12, align 8 %75 = getelementptr inbounds %struct.hostent, ptr %74, i32 0, i32 0 %76 = load i32, ptr %75, align 8 %77 = call i32 @bcopy(i32 noundef %71, i32 noundef %73, i32 noundef %76) %78 = load ptr, ptr %5, align 8 %79 = getelementptr inbounds ptr, ptr %78, i64 2 %80 = load ptr, ptr %79, align 8 %81 = load i32, ptr @O_RDONLY, align 4 %82 = call i32 @open(ptr noundef %80, i32 noundef %81) store i32 %82, ptr %8, align 4 %83 = load i32, ptr %8, align 4 %84 = icmp eq i32 %83, -1 br i1 %84, label %85, label %88 85: ; preds = %66 %86 = call i32 @perror(ptr noundef @.str.4) %87 = call i32 @exit(i32 noundef 1) #3 unreachable 88: ; preds = %66 %89 = load i32, ptr %8, align 4 %90 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0 %91 = call i32 @read(i32 noundef %89, ptr noundef %90, i32 noundef 1024) store i32 %91, ptr %9, align 4 %92 = load i32, ptr %9, align 4 %93 = icmp slt i32 %92, 0 br i1 %93, label %94, label %97 94: ; preds = %88 %95 = call i32 @perror(ptr noundef @.str.5) %96 = call i32 @exit(i32 noundef 1) #3 unreachable 97: ; preds = %88 %98 = load i32, ptr %9, align 4 %99 = add nsw i32 %98, 1 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 %100 store i8 0, ptr %101, align 1 store i32 24, ptr %7, align 4 %102 = load i32, ptr %6, align 4 %103 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0 %104 = load i32, ptr %9, align 4 %105 = load i32, ptr %7, align 4 %106 = call i32 @sendto(i32 noundef %102, ptr noundef %103, i32 noundef %104, i32 noundef 0, ptr noundef %14, i32 noundef %105) %107 = icmp eq i32 %106, -1 br i1 %107, label %108, label %111 108: ; preds = %97 %109 = call i32 @perror(ptr noundef @.str.6) %110 = call i32 @exit(i32 noundef 1) #3 unreachable 111: ; preds = %97 store i32 0, ptr %3, align 4 br label %112 112: ; preds = %111, %60 %113 = load i32, ptr %3, align 4 ret i32 %113 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @socket(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @bzero(ptr noundef, i32 noundef) #1 declare i32 @htonl(i32 noundef) #1 declare ptr @htons(i32 noundef) #1 declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare ptr @gethostbyname(ptr noundef) #1 declare i32 @bcopy(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpfh_ehbbi.c' source_filename = "/tmp/tmpfh_ehbbi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline noreturn nounwind sspstrong uwtable define dso_local void @_exit(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 @_kill(i32 noundef %3, i32 noundef -1) br label %5 5: ; preds = %1, %5 br label %5 } declare i32 @_kill(i32 noundef, i32 noundef) #1 attributes #0 = { noinline noreturn nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfh_ehbbi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline noreturn nounwind sspstrong uwtable define dso_local void @_exit(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 @_kill(i32 noundef %3, i32 noundef -1) br label %5 5: ; preds = %5, %1 br label %5 } declare i32 @_kill(i32 noundef, i32 noundef) #1 attributes #0 = { noinline noreturn nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjcg6u_54.c' source_filename = "/tmp/tmpjcg6u_54.c" target datalayout = "e-m:e-p270: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 [24 x i8] c"Error 0x%x executing %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @runs(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load i32, ptr @stdout, align 4 %5 = call i32 @fflush(i32 noundef %4) %6 = load ptr, ptr %2, align 8 %7 = call i32 @system(ptr noundef %6) store i32 %7, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = icmp ne i32 %8, 0 br i1 %9, label %10, label %14 10: ; preds = %1 %11 = load i32, ptr %3, align 4 %12 = load ptr, ptr %2, align 8 %13 = call i32 @message(ptr noundef @.str, i32 noundef %11, ptr noundef %12) br label %14 14: ; preds = %10, %1 %15 = load i32, ptr @stdout, align 4 %16 = call i32 @fseek(i32 noundef %15, i64 noundef 0, i32 noundef 2) %17 = load i32, ptr %3, align 4 ret i32 %17 } declare i32 @fflush(i32 noundef) #1 declare i32 @system(ptr noundef) #1 declare i32 @message(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @fseek(i32 noundef, i64 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/tmpjcg6u_54.c" target datalayout = "e-m:e-p270: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 [24 x i8] c"Error 0x%x executing %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @runs(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load i32, ptr @stdout, align 4 %5 = call i32 @fflush(i32 noundef %4) %6 = load ptr, ptr %2, align 8 %7 = call i32 @system(ptr noundef %6) store i32 %7, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = icmp ne i32 %8, 0 br i1 %9, label %10, label %14 10: ; preds = %1 %11 = load i32, ptr %3, align 4 %12 = load ptr, ptr %2, align 8 %13 = call i32 @message(ptr noundef @.str, i32 noundef %11, ptr noundef %12) br label %14 14: ; preds = %10, %1 %15 = load i32, ptr @stdout, align 4 %16 = call i32 @fseek(i32 noundef %15, i64 noundef 0, i32 noundef 2) %17 = load i32, ptr %3, align 4 ret i32 %17 } declare i32 @fflush(i32 noundef) #1 declare i32 @system(ptr noundef) #1 declare i32 @message(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @fseek(i32 noundef, i64 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/tmpl0sspda0.c' source_filename = "/tmp/tmpl0sspda0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @d_sin(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 double, ptr %3, align 8 %5 = call double @sin(double noundef %4) #2 ret double %5 } ; Function Attrs: nounwind declare double @sin(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpl0sspda0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @d_sin(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 double, ptr %3, align 8 %5 = call double @sin(double noundef %4) #2 ret double %5 } ; Function Attrs: nounwind declare double @sin(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpk38u07t1.c' source_filename = "/tmp/tmpk38u07t1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"Usage: lex-java <SOURCE>\0A\0A\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.3 = private unnamed_addr constant [27 x i8] c"lex-java: cannot open '%s'\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"scanner_output\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.6 = private unnamed_addr constant [39 x i8] c"lex-java: cannot open 'scanner_output'\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca [4096 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 store ptr null, ptr %6, align 8 store ptr null, ptr %7, align 8 store ptr @.str, ptr %8, align 8 %10 = load i32, ptr %4, align 4 %11 = icmp ne i32 %10, 2 br i1 %11, label %12, label %16 12: ; preds = %2 %13 = load i32, ptr @stderr, align 4 %14 = load ptr, ptr %8, align 8 %15 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str.1, ptr noundef %14) br label %43 16: ; preds = %2 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 1 %19 = load ptr, ptr %18, align 8 %20 = call ptr @fopen(ptr noundef %19, ptr noundef @.str.2) store ptr %20, ptr %6, align 8 %21 = icmp eq ptr %20, null br i1 %21, label %22, label %30 22: ; preds = %16 %23 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 1 %26 = load ptr, ptr %25, align 8 %27 = call i32 @snprintf(ptr noundef %23, i32 noundef 4096, ptr noundef @.str.3, ptr noundef %26) %28 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %29 = call i32 @perror(ptr noundef %28) br label %43 30: ; preds = %16 %31 = call ptr @fopen(ptr noundef @.str.4, ptr noundef @.str.5) store ptr %31, ptr %7, align 8 %32 = icmp eq ptr %31, null br i1 %32, label %33, label %35 33: ; preds = %30 %34 = call i32 @perror(ptr noundef @.str.6) br label %43 35: ; preds = %30 %36 = load ptr, ptr %6, align 8 %37 = load ptr, ptr %7, align 8 %38 = call i32 @do_lex(ptr noundef %36, ptr noundef %37) %39 = load ptr, ptr %6, align 8 %40 = call i32 @fclose(ptr noundef %39) %41 = load ptr, ptr %7, align 8 %42 = call i32 @fclose(ptr noundef %41) store i32 0, ptr %3, align 4 br label %56 43: ; preds = %33, %22, %12 %44 = load ptr, ptr %6, align 8 %45 = icmp ne ptr %44, null br i1 %45, label %46, label %49 46: ; preds = %43 %47 = load ptr, ptr %6, align 8 %48 = call i32 @fclose(ptr noundef %47) br label %49 49: ; preds = %46, %43 %50 = load ptr, ptr %7, align 8 %51 = icmp ne ptr %50, null br i1 %51, label %52, label %55 52: ; preds = %49 %53 = load ptr, ptr %7, align 8 %54 = call i32 @fclose(ptr noundef %53) br label %55 55: ; preds = %52, %49 store i32 1, ptr %3, align 4 br label %56 56: ; preds = %55, %35 %57 = load i32, ptr %3, align 4 ret i32 %57 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @do_lex(ptr 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk38u07t1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"Usage: lex-java <SOURCE>\0A\0A\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.3 = private unnamed_addr constant [27 x i8] c"lex-java: cannot open '%s'\00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"scanner_output\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.6 = private unnamed_addr constant [39 x i8] c"lex-java: cannot open 'scanner_output'\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca [4096 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 store ptr null, ptr %6, align 8 store ptr null, ptr %7, align 8 store ptr @.str, ptr %8, align 8 %10 = load i32, ptr %4, align 4 %11 = icmp ne i32 %10, 2 br i1 %11, label %12, label %16 12: ; preds = %2 %13 = load i32, ptr @stderr, align 4 %14 = load ptr, ptr %8, align 8 %15 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str.1, ptr noundef %14) br label %43 16: ; preds = %2 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 1 %19 = load ptr, ptr %18, align 8 %20 = call ptr @fopen(ptr noundef %19, ptr noundef @.str.2) store ptr %20, ptr %6, align 8 %21 = icmp eq ptr %20, null br i1 %21, label %22, label %30 22: ; preds = %16 %23 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 1 %26 = load ptr, ptr %25, align 8 %27 = call i32 @snprintf(ptr noundef %23, i32 noundef 4096, ptr noundef @.str.3, ptr noundef %26) %28 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %29 = call i32 @perror(ptr noundef %28) br label %43 30: ; preds = %16 %31 = call ptr @fopen(ptr noundef @.str.4, ptr noundef @.str.5) store ptr %31, ptr %7, align 8 %32 = icmp eq ptr %31, null br i1 %32, label %33, label %35 33: ; preds = %30 %34 = call i32 @perror(ptr noundef @.str.6) br label %43 35: ; preds = %30 %36 = load ptr, ptr %6, align 8 %37 = load ptr, ptr %7, align 8 %38 = call i32 @do_lex(ptr noundef %36, ptr noundef %37) %39 = load ptr, ptr %6, align 8 %40 = call i32 @fclose(ptr noundef %39) %41 = load ptr, ptr %7, align 8 %42 = call i32 @fclose(ptr noundef %41) store i32 0, ptr %3, align 4 br label %56 43: ; preds = %33, %22, %12 %44 = load ptr, ptr %6, align 8 %45 = icmp ne ptr %44, null br i1 %45, label %46, label %49 46: ; preds = %43 %47 = load ptr, ptr %6, align 8 %48 = call i32 @fclose(ptr noundef %47) br label %49 49: ; preds = %46, %43 %50 = load ptr, ptr %7, align 8 %51 = icmp ne ptr %50, null br i1 %51, label %52, label %55 52: ; preds = %49 %53 = load ptr, ptr %7, align 8 %54 = call i32 @fclose(ptr noundef %53) br label %55 55: ; preds = %52, %49 store i32 1, ptr %3, align 4 br label %56 56: ; preds = %55, %35 %57 = load i32, ptr %3, align 4 ret i32 %57 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @do_lex(ptr 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5ewdkst3.c' source_filename = "/tmp/tmp5ewdkst3.c" target datalayout = "e-m:e-p270: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/tmp5ewdkst3.c" target datalayout = "e-m:e-p270: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/tmp8yo6lyn7.c' source_filename = "/tmp/tmp8yo6lyn7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @danish_ISO_8859_1_create_env() #0 { %1 = call ptr @SN_create_env(i32 noundef 1, i32 noundef 2, i32 noundef 0) ret ptr %1 } declare ptr @SN_create_env(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/tmp8yo6lyn7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @danish_ISO_8859_1_create_env() #0 { %1 = call ptr @SN_create_env(i32 noundef 1, i32 noundef 2, i32 noundef 0) ret ptr %1 } declare ptr @SN_create_env(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/tmpa4x44375.c' source_filename = "/tmp/tmpa4x44375.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @AESIntDisable(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = and i32 %5, 65536 %7 = ashr i32 %6, 16 %8 = load i32, ptr %4, align 4 %9 = and i32 %8, 393216 %10 = ashr i32 %9, 15 %11 = or i32 %7, %10 %12 = load i32, ptr %4, align 4 %13 = and i32 %12, 524288 %14 = ashr i32 %13, 18 %15 = or i32 %11, %14 %16 = xor i32 %15, -1 %17 = sext i32 %16 to i64 %18 = load i32, ptr %3, align 4 %19 = add i32 %18, -24544 %20 = zext i32 %19 to i64 %21 = inttoptr i64 %20 to ptr %22 = load volatile i64, ptr %21, align 8 %23 = and i64 %22, %17 store volatile i64 %23, ptr %21, align 8 %24 = load i32, ptr %4, align 4 %25 = and i32 %24, 65535 %26 = xor i32 %25, -1 %27 = sext i32 %26 to i64 %28 = load i32, ptr %3, align 4 %29 = add nsw i32 %28, 144 %30 = sext i32 %29 to i64 %31 = inttoptr i64 %30 to ptr %32 = load volatile i64, ptr %31, align 8 %33 = and i64 %32, %27 store volatile i64 %33, ptr %31, align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa4x44375.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @AESIntDisable(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = and i32 %5, 65536 %7 = ashr i32 %6, 16 %8 = load i32, ptr %4, align 4 %9 = and i32 %8, 393216 %10 = ashr i32 %9, 15 %11 = or i32 %7, %10 %12 = load i32, ptr %4, align 4 %13 = and i32 %12, 524288 %14 = ashr i32 %13, 18 %15 = or i32 %11, %14 %16 = xor i32 %15, -1 %17 = sext i32 %16 to i64 %18 = load i32, ptr %3, align 4 %19 = add i32 %18, -24544 %20 = zext i32 %19 to i64 %21 = inttoptr i64 %20 to ptr %22 = load volatile i64, ptr %21, align 8 %23 = and i64 %22, %17 store volatile i64 %23, ptr %21, align 8 %24 = load i32, ptr %4, align 4 %25 = and i32 %24, 65535 %26 = xor i32 %25, -1 %27 = sext i32 %26 to i64 %28 = load i32, ptr %3, align 4 %29 = add nsw i32 %28, 144 %30 = sext i32 %29 to i64 %31 = inttoptr i64 %30 to ptr %32 = load volatile i64, ptr %31, align 8 %33 = and i64 %32, %27 store volatile i64 %33, ptr %31, align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpa11v0ude.c' source_filename = "/tmp/tmpa11v0ude.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 store i32 0, ptr %1, align 4 %3 = call i32 (...) @test() store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 ret i32 %4 } declare i32 @test(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa11v0ude.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 store i32 0, ptr %1, align 4 %3 = call i32 (...) @test() store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 ret i32 %4 } declare i32 @test(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnnf69h20.c' source_filename = "/tmp/tmpnnf69h20.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @MAP_FAILED = dso_local global ptr null, 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/tmpnnf69h20.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @MAP_FAILED = dso_local global ptr null, 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/tmpj8yzlz1a.c' source_filename = "/tmp/tmpj8yzlz1a.c" target datalayout = "e-m:e-p270: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.dirent = type { ptr } @.str = private unnamed_addr constant [10 x i8] c"testsuite\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"testsuite/%s\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.3 = private unnamed_addr constant [27 x i8] c"cannot find testsuite file\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @__const.main.tmp = private unnamed_addr constant [1024 x i8] c"/usr/sbin/conntrack\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\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.4 = private unnamed_addr constant [20 x i8] c"/usr/sbin/conntrack\00", align 1 @.str.5 = private unnamed_addr constant [30 x i8] c"malformed file %s at line %d\0A\00", align 1 @.str.6 = private unnamed_addr constant [20 x i8] c"(%d) Executing: %s\0A\00", align 1 @EXIT_SUCCESS = dso_local global i64 0, align 8 @.str.7 = private unnamed_addr constant [12 x i8] c"^----- BAD\0A\00", align 1 @.str.8 = private unnamed_addr constant [7 x i8] c"=====\0A\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.9 = private unnamed_addr constant [16 x i8] c"OK: %d BAD: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca [1024 x i8], align 16 %9 = alloca ptr, align 8 %10 = alloca [1024 x i8], align 16 %11 = alloca [1024 x i8], align 16 %12 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 %13 = call ptr @opendir(ptr noundef @.str) store ptr %13, ptr %7, align 8 br label %14 14: ; preds = %139, %0 %15 = load ptr, ptr %7, align 8 %16 = call ptr @readdir(ptr noundef %15) store ptr %16, ptr %9, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %18, label %142 18: ; preds = %14 %19 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0 %20 = load ptr, ptr %9, align 8 %21 = getelementptr inbounds %struct.dirent, ptr %20, i32 0, i32 0 %22 = load ptr, ptr %21, align 8 %23 = call i32 @sprintf(ptr noundef %19, ptr noundef @.str.1, ptr noundef %22) store i32 0, ptr %5, align 4 %24 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0 %25 = call ptr @fopen(ptr noundef %24, ptr noundef @.str.2) store ptr %25, ptr %6, align 8 %26 = load ptr, ptr %6, align 8 %27 = icmp eq ptr %26, null br i1 %27, label %28, label %32 28: ; preds = %18 %29 = call i32 @perror(ptr noundef @.str.3) %30 = load i32, ptr @EXIT_FAILURE, align 4 %31 = call i32 @exit(i32 noundef %30) #4 unreachable 32: ; preds = %18 br label %33 33: ; preds = %137, %53, %32 %34 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %35 = load ptr, ptr %6, align 8 %36 = call i64 @fgets(ptr noundef %34, i32 noundef 1024, ptr noundef %35) %37 = icmp ne i64 %36, 0 br i1 %37, label %38, label %139 38: ; preds = %33 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %11, ptr align 16 @__const.main.tmp, i64 1024, i1 false) %39 = call i32 @strlen(ptr noundef @.str.4) %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 %40 store i8 32, ptr %41, align 1 %42 = load i32, ptr %5, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %5, align 4 %44 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %45 = load i8, ptr %44, align 16 %46 = sext i8 %45 to i32 %47 = icmp eq i32 %46, 35 br i1 %47, label %53, label %48 48: ; preds = %38 %49 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %50 = load i8, ptr %49, align 16 %51 = sext i8 %50 to i32 %52 = icmp eq i32 %51, 32 br i1 %52, label %53, label %54 53: ; preds = %48, %38 br label %33, !llvm.loop !6 54: ; preds = %48 %55 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %56 = call ptr @strchr(ptr noundef %55, i8 noundef signext 59) store ptr %56, ptr %12, align 8 %57 = load ptr, ptr %12, align 8 %58 = icmp ne ptr %57, null br i1 %58, label %67, label %59 59: ; preds = %54 %60 = load ptr, ptr %9, align 8 %61 = getelementptr inbounds %struct.dirent, ptr %60, i32 0, i32 0 %62 = load ptr, ptr %61, align 8 %63 = load i32, ptr %5, align 4 %64 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %62, i32 noundef %63) %65 = load i32, ptr @EXIT_FAILURE, align 4 %66 = call i32 @exit(i32 noundef %65) #4 unreachable 67: ; preds = %54 %68 = load ptr, ptr %12, align 8 store i8 0, ptr %68, align 1 %69 = load ptr, ptr %12, align 8 %70 = getelementptr inbounds i8, ptr %69, i64 2 store ptr %70, ptr %12, align 8 %71 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0 %72 = call i32 @strlen(ptr noundef @.str.4) %73 = sext i32 %72 to i64 %74 = getelementptr inbounds i8, ptr %71, i64 %73 %75 = getelementptr inbounds i8, ptr %74, i64 1 %76 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %77 = call i32 @strcpy(ptr noundef %75, ptr noundef %76) %78 = load i32, ptr %5, align 4 %79 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0 %80 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %78, ptr noundef %79) %81 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0 %82 = call i32 @system(ptr noundef %81) store i32 %82, ptr %2, align 4 %83 = load i32, ptr %2, align 4 %84 = call i64 @WIFEXITED(i32 noundef %83) %85 = icmp ne i64 %84, 0 br i1 %85, label %86, label %111 86: ; preds = %67 %87 = load i32, ptr %2, align 4 %88 = call i64 @WEXITSTATUS(i32 noundef %87) %89 = load i64, ptr @EXIT_SUCCESS, align 8 %90 = icmp eq i64 %88, %89 br i1 %90, label %91, label %111 91: ; preds = %86 %92 = load ptr, ptr %12, align 8 %93 = getelementptr inbounds i8, ptr %92, i64 0 %94 = load i8, ptr %93, align 1 %95 = sext i8 %94 to i32 %96 = icmp eq i32 %95, 79 br i1 %96, label %97, label %106 97: ; preds = %91 %98 = load ptr, ptr %12, align 8 %99 = getelementptr inbounds i8, ptr %98, i64 1 %100 = load i8, ptr %99, align 1 %101 = sext i8 %100 to i32 %102 = icmp eq i32 %101, 75 br i1 %102, label %103, label %106 103: ; preds = %97 %104 = load i32, ptr %3, align 4 %105 = add nsw i32 %104, 1 store i32 %105, ptr %3, align 4 br label %110 106: ; preds = %97, %91 %107 = load i32, ptr %4, align 4 %108 = add nsw i32 %107, 1 store i32 %108, ptr %4, align 4 %109 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %110 110: ; preds = %106, %103 br label %137 111: ; preds = %86, %67 %112 = load ptr, ptr %12, align 8 %113 = getelementptr inbounds i8, ptr %112, i64 0 %114 = load i8, ptr %113, align 1 %115 = sext i8 %114 to i32 %116 = icmp eq i32 %115, 66 br i1 %116, label %117, label %132 117: ; preds = %111 %118 = load ptr, ptr %12, align 8 %119 = getelementptr inbounds i8, ptr %118, i64 1 %120 = load i8, ptr %119, align 1 %121 = sext i8 %120 to i32 %122 = icmp eq i32 %121, 65 br i1 %122, label %123, label %132 123: ; preds = %117 %124 = load ptr, ptr %12, align 8 %125 = getelementptr inbounds i8, ptr %124, i64 2 %126 = load i8, ptr %125, align 1 %127 = sext i8 %126 to i32 %128 = icmp eq i32 %127, 68 br i1 %128, label %129, label %132 129: ; preds = %123 %130 = load i32, ptr %3, align 4 %131 = add nsw i32 %130, 1 store i32 %131, ptr %3, align 4 br label %136 132: ; preds = %123, %117, %111 %133 = load i32, ptr %4, align 4 %134 = add nsw i32 %133, 1 store i32 %134, ptr %4, align 4 %135 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %136 136: ; preds = %132, %129 br label %137 137: ; preds = %136, %110 %138 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) br label %33, !llvm.loop !6 139: ; preds = %33 %140 = load ptr, ptr %6, align 8 %141 = call i32 @fclose(ptr noundef %140) br label %14, !llvm.loop !8 142: ; preds = %14 %143 = load ptr, ptr %7, align 8 %144 = call i32 @closedir(ptr noundef %143) %145 = load i32, ptr @stdout, align 4 %146 = load i32, ptr %3, align 4 %147 = load i32, ptr %4, align 4 %148 = call i32 @fprintf(i32 noundef %145, ptr noundef @.str.9, i32 noundef %146, i32 noundef %147) %149 = load i32, ptr %1, align 4 ret i32 %149 } declare ptr @opendir(ptr noundef) #1 declare ptr @readdir(ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3 declare i32 @strlen(ptr noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @system(ptr noundef) #1 declare i64 @WIFEXITED(i32 noundef) #1 declare i64 @WEXITSTATUS(i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @closedir(ptr noundef) #1 declare i32 @fprintf(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: readwrite) } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpj8yzlz1a.c" target datalayout = "e-m:e-p270: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.dirent = type { ptr } @.str = private unnamed_addr constant [10 x i8] c"testsuite\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"testsuite/%s\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.3 = private unnamed_addr constant [27 x i8] c"cannot find testsuite file\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @__const.main.tmp = private unnamed_addr constant [1024 x i8] c"/usr/sbin/conntrack\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\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.4 = private unnamed_addr constant [20 x i8] c"/usr/sbin/conntrack\00", align 1 @.str.5 = private unnamed_addr constant [30 x i8] c"malformed file %s at line %d\0A\00", align 1 @.str.6 = private unnamed_addr constant [20 x i8] c"(%d) Executing: %s\0A\00", align 1 @EXIT_SUCCESS = dso_local global i64 0, align 8 @.str.7 = private unnamed_addr constant [12 x i8] c"^----- BAD\0A\00", align 1 @.str.8 = private unnamed_addr constant [7 x i8] c"=====\0A\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.9 = private unnamed_addr constant [16 x i8] c"OK: %d BAD: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca [1024 x i8], align 16 %9 = alloca ptr, align 8 %10 = alloca [1024 x i8], align 16 %11 = alloca [1024 x i8], align 16 %12 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 %13 = call ptr @opendir(ptr noundef @.str) store ptr %13, ptr %7, align 8 %14 = load ptr, ptr %7, align 8 %15 = call ptr @readdir(ptr noundef %14) store ptr %15, ptr %9, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %.lr.ph2, label %146 .lr.ph2: ; preds = %0 br label %17 17: ; preds = %.lr.ph2, %140 %18 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0 %19 = load ptr, ptr %9, align 8 %20 = getelementptr inbounds %struct.dirent, ptr %19, i32 0, i32 0 %21 = load ptr, ptr %20, align 8 %22 = call i32 @sprintf(ptr noundef %18, ptr noundef @.str.1, ptr noundef %21) store i32 0, ptr %5, align 4 %23 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0 %24 = call ptr @fopen(ptr noundef %23, ptr noundef @.str.2) store ptr %24, ptr %6, align 8 %25 = load ptr, ptr %6, align 8 %26 = icmp eq ptr %25, null br i1 %26, label %27, label %31 27: ; preds = %17 %28 = call i32 @perror(ptr noundef @.str.3) %29 = load i32, ptr @EXIT_FAILURE, align 4 %30 = call i32 @exit(i32 noundef %29) #4 unreachable 31: ; preds = %17 %32 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %33 = load ptr, ptr %6, align 8 %34 = call i64 @fgets(ptr noundef %32, i32 noundef 1024, ptr noundef %33) %35 = icmp ne i64 %34, 0 br i1 %35, label %.lr.ph, label %140 .lr.ph: ; preds = %31 br label %36 36: ; preds = %.lr.ph, %.backedge call void @llvm.memcpy.p0.p0.i64(ptr align 16 %11, ptr align 16 @__const.main.tmp, i64 1024, i1 false) %37 = call i32 @strlen(ptr noundef @.str.4) %38 = sext i32 %37 to i64 %39 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 %38 store i8 32, ptr %39, align 1 %40 = load i32, ptr %5, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %5, align 4 %42 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %43 = load i8, ptr %42, align 16 %44 = sext i8 %43 to i32 %45 = icmp eq i32 %44, 35 br i1 %45, label %51, label %46 46: ; preds = %36 %47 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %48 = load i8, ptr %47, align 16 %49 = sext i8 %48 to i32 %50 = icmp eq i32 %49, 32 br i1 %50, label %51, label %55 51: ; preds = %46, %36 br label %.backedge .backedge: ; preds = %51, %138 %52 = load ptr, ptr %6, align 8 %53 = call i64 @fgets(ptr noundef %32, i32 noundef 1024, ptr noundef %52) %54 = icmp ne i64 %53, 0 br i1 %54, label %36, label %._crit_edge, !llvm.loop !6 55: ; preds = %46 %56 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %57 = call ptr @strchr(ptr noundef %56, i8 noundef signext 59) store ptr %57, ptr %12, align 8 %58 = load ptr, ptr %12, align 8 %59 = icmp ne ptr %58, null br i1 %59, label %68, label %60 60: ; preds = %55 %61 = load ptr, ptr %9, align 8 %62 = getelementptr inbounds %struct.dirent, ptr %61, i32 0, i32 0 %63 = load ptr, ptr %62, align 8 %64 = load i32, ptr %5, align 4 %65 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %63, i32 noundef %64) %66 = load i32, ptr @EXIT_FAILURE, align 4 %67 = call i32 @exit(i32 noundef %66) #4 unreachable 68: ; preds = %55 %69 = load ptr, ptr %12, align 8 store i8 0, ptr %69, align 1 %70 = load ptr, ptr %12, align 8 %71 = getelementptr inbounds i8, ptr %70, i64 2 store ptr %71, ptr %12, align 8 %72 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0 %73 = call i32 @strlen(ptr noundef @.str.4) %74 = sext i32 %73 to i64 %75 = getelementptr inbounds i8, ptr %72, i64 %74 %76 = getelementptr inbounds i8, ptr %75, i64 1 %77 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %78 = call i32 @strcpy(ptr noundef %76, ptr noundef %77) %79 = load i32, ptr %5, align 4 %80 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0 %81 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %79, ptr noundef %80) %82 = getelementptr inbounds [1024 x i8], ptr %11, i64 0, i64 0 %83 = call i32 @system(ptr noundef %82) store i32 %83, ptr %2, align 4 %84 = load i32, ptr %2, align 4 %85 = call i64 @WIFEXITED(i32 noundef %84) %86 = icmp ne i64 %85, 0 br i1 %86, label %87, label %112 87: ; preds = %68 %88 = load i32, ptr %2, align 4 %89 = call i64 @WEXITSTATUS(i32 noundef %88) %90 = load i64, ptr @EXIT_SUCCESS, align 8 %91 = icmp eq i64 %89, %90 br i1 %91, label %92, label %112 92: ; preds = %87 %93 = load ptr, ptr %12, align 8 %94 = getelementptr inbounds i8, ptr %93, i64 0 %95 = load i8, ptr %94, align 1 %96 = sext i8 %95 to i32 %97 = icmp eq i32 %96, 79 br i1 %97, label %98, label %107 98: ; preds = %92 %99 = load ptr, ptr %12, align 8 %100 = getelementptr inbounds i8, ptr %99, i64 1 %101 = load i8, ptr %100, align 1 %102 = sext i8 %101 to i32 %103 = icmp eq i32 %102, 75 br i1 %103, label %104, label %107 104: ; preds = %98 %105 = load i32, ptr %3, align 4 %106 = add nsw i32 %105, 1 store i32 %106, ptr %3, align 4 br label %111 107: ; preds = %98, %92 %108 = load i32, ptr %4, align 4 %109 = add nsw i32 %108, 1 store i32 %109, ptr %4, align 4 %110 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %111 111: ; preds = %107, %104 br label %138 112: ; preds = %87, %68 %113 = load ptr, ptr %12, align 8 %114 = getelementptr inbounds i8, ptr %113, i64 0 %115 = load i8, ptr %114, align 1 %116 = sext i8 %115 to i32 %117 = icmp eq i32 %116, 66 br i1 %117, label %118, label %133 118: ; preds = %112 %119 = load ptr, ptr %12, align 8 %120 = getelementptr inbounds i8, ptr %119, i64 1 %121 = load i8, ptr %120, align 1 %122 = sext i8 %121 to i32 %123 = icmp eq i32 %122, 65 br i1 %123, label %124, label %133 124: ; preds = %118 %125 = load ptr, ptr %12, align 8 %126 = getelementptr inbounds i8, ptr %125, i64 2 %127 = load i8, ptr %126, align 1 %128 = sext i8 %127 to i32 %129 = icmp eq i32 %128, 68 br i1 %129, label %130, label %133 130: ; preds = %124 %131 = load i32, ptr %3, align 4 %132 = add nsw i32 %131, 1 store i32 %132, ptr %3, align 4 br label %137 133: ; preds = %124, %118, %112 %134 = load i32, ptr %4, align 4 %135 = add nsw i32 %134, 1 store i32 %135, ptr %4, align 4 %136 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %137 137: ; preds = %133, %130 br label %138 138: ; preds = %137, %111 %139 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) br label %.backedge ._crit_edge: ; preds = %.backedge br label %140 140: ; preds = %._crit_edge, %31 %141 = load ptr, ptr %6, align 8 %142 = call i32 @fclose(ptr noundef %141) %143 = load ptr, ptr %7, align 8 %144 = call ptr @readdir(ptr noundef %143) store ptr %144, ptr %9, align 8 %145 = icmp ne ptr %144, null br i1 %145, label %17, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %140 br label %146 146: ; preds = %._crit_edge3, %0 %147 = load ptr, ptr %7, align 8 %148 = call i32 @closedir(ptr noundef %147) %149 = load i32, ptr @stdout, align 4 %150 = load i32, ptr %3, align 4 %151 = load i32, ptr %4, align 4 %152 = call i32 @fprintf(i32 noundef %149, ptr noundef @.str.9, i32 noundef %150, i32 noundef %151) %153 = load i32, ptr %1, align 4 ret i32 %153 } declare ptr @opendir(ptr noundef) #1 declare ptr @readdir(ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3 declare i32 @strlen(ptr noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @system(ptr noundef) #1 declare i64 @WIFEXITED(i32 noundef) #1 declare i64 @WEXITSTATUS(i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @closedir(ptr noundef) #1 declare i32 @fprintf(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: readwrite) } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp_ckjh6ti.c' source_filename = "/tmp/tmp_ckjh6ti.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\E8\BE\93\E5\85\A5\E6\9C\89\E5\87\A0\E5\89\AF\E7\89\8C\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%i\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"\E6\97\A0\E6\95\88\E7\9A\84\E5\89\AF\E6\95\B0\00", align 1 @.str.3 = private unnamed_addr constant [19 x i8] c"\E4\B8\80\E5\85\B1\E6\9C\89%i\E5\BC\A0\E7\89\8C\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i32 @puts(ptr noundef @.str) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6) %9 = load i32, ptr %6, align 4 %10 = icmp slt i32 %9, 1 br i1 %10, label %11, label %13 11: ; preds = %2 %12 = call i32 @puts(ptr noundef @.str.2) store i32 1, ptr %3, align 4 br label %17 13: ; preds = %2 %14 = load i32, ptr %6, align 4 %15 = mul nsw i32 %14, 52 %16 = call i32 @printf(ptr noundef @.str.3, i32 noundef %15) store i32 0, ptr %3, align 4 br label %17 17: ; preds = %13, %11 %18 = load i32, ptr %3, align 4 ret i32 %18 } declare i32 @puts(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_ckjh6ti.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\E8\BE\93\E5\85\A5\E6\9C\89\E5\87\A0\E5\89\AF\E7\89\8C\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%i\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"\E6\97\A0\E6\95\88\E7\9A\84\E5\89\AF\E6\95\B0\00", align 1 @.str.3 = private unnamed_addr constant [19 x i8] c"\E4\B8\80\E5\85\B1\E6\9C\89%i\E5\BC\A0\E7\89\8C\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call i32 @puts(ptr noundef @.str) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6) %9 = load i32, ptr %6, align 4 %10 = icmp slt i32 %9, 1 br i1 %10, label %11, label %13 11: ; preds = %2 %12 = call i32 @puts(ptr noundef @.str.2) store i32 1, ptr %3, align 4 br label %17 13: ; preds = %2 %14 = load i32, ptr %6, align 4 %15 = mul nsw i32 %14, 52 %16 = call i32 @printf(ptr noundef @.str.3, i32 noundef %15) store i32 0, ptr %3, align 4 br label %17 17: ; preds = %13, %11 %18 = load i32, ptr %3, align 4 ret i32 %18 } declare i32 @puts(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_ymj6lnq.c' source_filename = "/tmp/tmp_ymj6lnq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_ymj6lnq.c" target datalayout = "e-m:e-p270: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/tmp919qf3_f.c' source_filename = "/tmp/tmp919qf3_f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.shmid_ds = type { i32 } @IPC_CREAT = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"shmget\00", align 1 @IPC_STAT = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [22 x i8] c"shmctl: shmctl failed\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"Shmid: %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"main: shmat\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca %struct.shmid_ds, align 4 %8 = 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 %9 = load i32, ptr @IPC_CREAT, align 4 %10 = or i32 %9, 438 %11 = call i32 @shmget(i32 noundef 9979, i32 noundef 1024, i32 noundef %10) store i32 %11, ptr %6, align 4 %12 = icmp slt i32 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %2 %14 = call i32 @perror(ptr noundef @.str) %15 = call i32 @exit(i32 noundef 1) #3 unreachable 16: ; preds = %2 %17 = load i32, ptr %6, align 4 %18 = load i32, ptr @IPC_STAT, align 4 %19 = call i32 @shmctl(i32 noundef %17, i32 noundef %18, ptr noundef %7) %20 = icmp eq i32 %19, -1 br i1 %20, label %21, label %24 21: ; preds = %16 %22 = call i32 @perror(ptr noundef @.str.1) %23 = call i32 @exit(i32 noundef 1) #3 unreachable 24: ; preds = %16 %25 = load i32, ptr %6, align 4 %26 = call i32 @printf(ptr noundef @.str.2, i32 noundef %25) %27 = load i32, ptr %6, align 4 %28 = call ptr @shmat(i32 noundef %27, ptr noundef null, i32 noundef 0) store ptr %28, ptr %8, align 8 %29 = load ptr, ptr %8, align 8 %30 = icmp eq ptr %29, inttoptr (i64 -1 to ptr) br i1 %30, label %31, label %34 31: ; preds = %24 %32 = call i32 @perror(ptr noundef @.str.3) %33 = call i32 (...) @abort() #3 unreachable 34: ; preds = %24 %35 = load ptr, ptr %8, align 8 %36 = call i32 @memset(ptr noundef %35, i32 noundef 0, i32 noundef 1024) %37 = call i64 (...) @fork() %38 = icmp eq i64 %37, 0 br i1 %38, label %39, label %42 39: ; preds = %34 %40 = load i32, ptr %6, align 4 %41 = call i32 @child(i32 noundef %40) br label %45 42: ; preds = %34 %43 = load i32, ptr %6, align 4 %44 = call i32 @parent(i32 noundef %43) br label %45 45: ; preds = %42, %39 ret i32 0 } declare i32 @shmget(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @shmctl(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare ptr @shmat(i32 noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @fork(...) #1 declare i32 @child(i32 noundef) #1 declare i32 @parent(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp919qf3_f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.shmid_ds = type { i32 } @IPC_CREAT = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"shmget\00", align 1 @IPC_STAT = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [22 x i8] c"shmctl: shmctl failed\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"Shmid: %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"main: shmat\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca %struct.shmid_ds, align 4 %8 = 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 %9 = load i32, ptr @IPC_CREAT, align 4 %10 = or i32 %9, 438 %11 = call i32 @shmget(i32 noundef 9979, i32 noundef 1024, i32 noundef %10) store i32 %11, ptr %6, align 4 %12 = icmp slt i32 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %2 %14 = call i32 @perror(ptr noundef @.str) %15 = call i32 @exit(i32 noundef 1) #3 unreachable 16: ; preds = %2 %17 = load i32, ptr %6, align 4 %18 = load i32, ptr @IPC_STAT, align 4 %19 = call i32 @shmctl(i32 noundef %17, i32 noundef %18, ptr noundef %7) %20 = icmp eq i32 %19, -1 br i1 %20, label %21, label %24 21: ; preds = %16 %22 = call i32 @perror(ptr noundef @.str.1) %23 = call i32 @exit(i32 noundef 1) #3 unreachable 24: ; preds = %16 %25 = load i32, ptr %6, align 4 %26 = call i32 @printf(ptr noundef @.str.2, i32 noundef %25) %27 = load i32, ptr %6, align 4 %28 = call ptr @shmat(i32 noundef %27, ptr noundef null, i32 noundef 0) store ptr %28, ptr %8, align 8 %29 = load ptr, ptr %8, align 8 %30 = icmp eq ptr %29, inttoptr (i64 -1 to ptr) br i1 %30, label %31, label %34 31: ; preds = %24 %32 = call i32 @perror(ptr noundef @.str.3) %33 = call i32 (...) @abort() #3 unreachable 34: ; preds = %24 %35 = load ptr, ptr %8, align 8 %36 = call i32 @memset(ptr noundef %35, i32 noundef 0, i32 noundef 1024) %37 = call i64 (...) @fork() %38 = icmp eq i64 %37, 0 br i1 %38, label %39, label %42 39: ; preds = %34 %40 = load i32, ptr %6, align 4 %41 = call i32 @child(i32 noundef %40) br label %45 42: ; preds = %34 %43 = load i32, ptr %6, align 4 %44 = call i32 @parent(i32 noundef %43) br label %45 45: ; preds = %42, %39 ret i32 0 } declare i32 @shmget(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @shmctl(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare ptr @shmat(i32 noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @fork(...) #1 declare i32 @child(i32 noundef) #1 declare i32 @parent(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpls9i9545.c' source_filename = "/tmp/tmpls9i9545.c" target datalayout = "e-m:e-p270: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/tmpls9i9545.c" target datalayout = "e-m:e-p270: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/tmp6n_o7oz6.c' source_filename = "/tmp/tmp6n_o7oz6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 i16, align 2 %3 = alloca i16, align 2 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i16 -180, ptr %2, align 2 br label %10 10: ; preds = %141, %0 %11 = load i16, ptr %2, align 2 %12 = sext i16 %11 to i32 %13 = icmp slt i32 %12, 180 br i1 %13, label %14, label %146 14: ; preds = %10 store i16 -320, ptr %3, align 2 br label %15 15: ; preds = %134, %14 %16 = load i16, ptr %3, align 2 %17 = sext i16 %16 to i32 %18 = icmp slt i32 %17, 160 br i1 %18, label %19, label %139 19: ; preds = %15 %20 = load i16, ptr %3, align 2 %21 = sext i16 %20 to i32 %22 = add nsw i32 %21, 128 %23 = load i16, ptr %3, align 2 %24 = sext i16 %23 to i32 %25 = add nsw i32 %24, 128 %26 = call signext i16 @mulShift(i32 noundef %22, i32 noundef %25) %27 = sext i16 %26 to i32 %28 = load i16, ptr %2, align 2 %29 = sext i16 %28 to i32 %30 = load i16, ptr %2, align 2 %31 = sext i16 %30 to i32 %32 = call signext i16 @mulShift(i32 noundef %29, i32 noundef %31) %33 = sext i16 %32 to i32 %34 = add nsw i32 %27, %33 %35 = icmp slt i32 %34, 8 br i1 %35, label %36, label %38 36: ; preds = %19 %37 = call i32 @putchar(i8 noundef signext 126) br label %134 38: ; preds = %19 %39 = load i16, ptr %3, align 2 %40 = sext i16 %39 to i32 %41 = sub nsw i32 %40, 32 %42 = load i16, ptr %3, align 2 %43 = sext i16 %42 to i32 %44 = sub nsw i32 %43, 32 %45 = call signext i16 @mulShift(i32 noundef %41, i32 noundef %44) %46 = sext i16 %45 to i32 %47 = load i16, ptr %2, align 2 %48 = sext i16 %47 to i32 %49 = load i16, ptr %2, align 2 %50 = sext i16 %49 to i32 %51 = call signext i16 @mulShift(i32 noundef %48, i32 noundef %50) %52 = sext i16 %51 to i32 %53 = add nsw i32 %46, %52 store i32 %53, ptr %4, align 4 %54 = load i32, ptr %4, align 4 %55 = load i32, ptr %4, align 4 %56 = load i16, ptr %3, align 2 %57 = sext i16 %56 to i32 %58 = add nsw i32 %55, %57 %59 = sub nsw i32 %58, 32 %60 = call signext i16 @mulShift(i32 noundef %54, i32 noundef %59) %61 = sext i16 %60 to i32 %62 = mul nsw i32 %61, 4 %63 = load i16, ptr %2, align 2 %64 = sext i16 %63 to i32 %65 = load i16, ptr %2, align 2 %66 = sext i16 %65 to i32 %67 = call signext i16 @mulShift(i32 noundef %64, i32 noundef %66) %68 = sext i16 %67 to i32 %69 = icmp slt i32 %62, %68 br i1 %69, label %70, label %72 70: ; preds = %38 %71 = call i32 @putchar(i8 noundef signext 126) br label %134 72: ; preds = %38 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 1, ptr %9, align 4 br label %73 73: ; preds = %125, %72 %74 = load i32, ptr %9, align 4 %75 = icmp slt i32 %74, 64 br i1 %75, label %76, label %128 76: ; preds = %73 %77 = load i32, ptr %5, align 4 %78 = call i32 @abs(i32 noundef %77) #3 %79 = icmp sle i32 %78, 256 %80 = zext i1 %79 to i32 %81 = call i32 @assert(i32 noundef %80) %82 = load i32, ptr %7, align 4 %83 = call i32 @abs(i32 noundef %82) #3 %84 = icmp sle i32 %83, 256 %85 = zext i1 %84 to i32 %86 = call i32 @assert(i32 noundef %85) %87 = load i32, ptr %5, align 4 %88 = load i32, ptr %7, align 4 %89 = mul nsw i32 2, %88 %90 = call signext i16 @mulShift(i32 noundef %87, i32 noundef %89) %91 = sext i16 %90 to i32 %92 = load i16, ptr %2, align 2 %93 = sext i16 %92 to i32 %94 = add nsw i32 %91, %93 store i32 %94, ptr %7, align 4 %95 = load i32, ptr %6, align 4 %96 = load i32, ptr %8, align 4 %97 = sub nsw i32 %95, %96 %98 = load i16, ptr %3, align 2 %99 = sext i16 %98 to i32 %100 = add nsw i32 %97, %99 store i32 %100, ptr %5, align 4 %101 = load i32, ptr %6, align 4 %102 = call i32 @abs(i32 noundef %101) #3 %103 = icmp sle i32 %102, 512 %104 = zext i1 %103 to i32 %105 = call i32 @assert(i32 noundef %104) %106 = load i32, ptr %8, align 4 %107 = call i32 @abs(i32 noundef %106) #3 %108 = icmp sle i32 %107, 512 %109 = zext i1 %108 to i32 %110 = call i32 @assert(i32 noundef %109) %111 = load i32, ptr %5, align 4 %112 = load i32, ptr %5, align 4 %113 = call signext i16 @mulShift(i32 noundef %111, i32 noundef %112) %114 = sext i16 %113 to i32 store i32 %114, ptr %6, align 4 %115 = load i32, ptr %7, align 4 %116 = load i32, ptr %7, align 4 %117 = call signext i16 @mulShift(i32 noundef %115, i32 noundef %116) %118 = sext i16 %117 to i32 store i32 %118, ptr %8, align 4 %119 = load i32, ptr %6, align 4 %120 = load i32, ptr %8, align 4 %121 = add nsw i32 %119, %120 %122 = icmp sgt i32 %121, 512 br i1 %122, label %123, label %124 123: ; preds = %76 br label %128 124: ; preds = %76 br label %125 125: ; preds = %124 %126 = load i32, ptr %9, align 4 %127 = add nsw i32 %126, 1 store i32 %127, ptr %9, align 4 br label %73, !llvm.loop !6 128: ; preds = %123, %73 %129 = load i32, ptr %9, align 4 %130 = and i32 %129, 63 %131 = add nsw i32 32, %130 %132 = trunc i32 %131 to i8 %133 = call i32 @putchar(i8 noundef signext %132) br label %134 134: ; preds = %128, %70, %36 %135 = load i16, ptr %3, align 2 %136 = sext i16 %135 to i32 %137 = add nsw i32 %136, 3 %138 = trunc i32 %137 to i16 store i16 %138, ptr %3, align 2 br label %15, !llvm.loop !8 139: ; preds = %15 %140 = call i32 @putchar(i8 noundef signext 10) br label %141 141: ; preds = %139 %142 = load i16, ptr %2, align 2 %143 = sext i16 %142 to i32 %144 = add nsw i32 %143, 3 %145 = trunc i32 %144 to i16 store i16 %145, ptr %2, align 2 br label %10, !llvm.loop !9 146: ; preds = %10 ret i32 0 } declare signext i16 @mulShift(i32 noundef, i32 noundef) #1 declare i32 @putchar(i8 noundef signext) #1 declare i32 @assert(i32 noundef) #1 ; Function Attrs: nounwind willreturn memory(none) declare i32 @abs(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 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6n_o7oz6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 i16, align 2 %3 = alloca i16, align 2 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i16 -180, ptr %2, align 2 %10 = load i16, ptr %2, align 2 %11 = sext i16 %10 to i32 %12 = icmp slt i32 %11, 180 br i1 %12, label %.lr.ph3, label %151 .lr.ph3: ; preds = %0 br label %13 13: ; preds = %.lr.ph3, %143 store i16 -320, ptr %3, align 2 %14 = load i16, ptr %3, align 2 %15 = sext i16 %14 to i32 %16 = icmp slt i32 %15, 160 br i1 %16, label %.lr.ph1, label %141 .lr.ph1: ; preds = %13 br label %17 17: ; preds = %.lr.ph1, %133 %18 = load i16, ptr %3, align 2 %19 = sext i16 %18 to i32 %20 = add nsw i32 %19, 128 %21 = load i16, ptr %3, align 2 %22 = sext i16 %21 to i32 %23 = add nsw i32 %22, 128 %24 = call signext i16 @mulShift(i32 noundef %20, i32 noundef %23) %25 = sext i16 %24 to i32 %26 = load i16, ptr %2, align 2 %27 = sext i16 %26 to i32 %28 = load i16, ptr %2, align 2 %29 = sext i16 %28 to i32 %30 = call signext i16 @mulShift(i32 noundef %27, i32 noundef %29) %31 = sext i16 %30 to i32 %32 = add nsw i32 %25, %31 %33 = icmp slt i32 %32, 8 br i1 %33, label %34, label %36 34: ; preds = %17 %35 = call i32 @putchar(i8 noundef signext 126) br label %133 36: ; preds = %17 %37 = load i16, ptr %3, align 2 %38 = sext i16 %37 to i32 %39 = sub nsw i32 %38, 32 %40 = load i16, ptr %3, align 2 %41 = sext i16 %40 to i32 %42 = sub nsw i32 %41, 32 %43 = call signext i16 @mulShift(i32 noundef %39, i32 noundef %42) %44 = sext i16 %43 to i32 %45 = load i16, ptr %2, align 2 %46 = sext i16 %45 to i32 %47 = load i16, ptr %2, align 2 %48 = sext i16 %47 to i32 %49 = call signext i16 @mulShift(i32 noundef %46, i32 noundef %48) %50 = sext i16 %49 to i32 %51 = add nsw i32 %44, %50 store i32 %51, ptr %4, align 4 %52 = load i32, ptr %4, align 4 %53 = load i32, ptr %4, align 4 %54 = load i16, ptr %3, align 2 %55 = sext i16 %54 to i32 %56 = add nsw i32 %53, %55 %57 = sub nsw i32 %56, 32 %58 = call signext i16 @mulShift(i32 noundef %52, i32 noundef %57) %59 = sext i16 %58 to i32 %60 = mul nsw i32 %59, 4 %61 = load i16, ptr %2, align 2 %62 = sext i16 %61 to i32 %63 = load i16, ptr %2, align 2 %64 = sext i16 %63 to i32 %65 = call signext i16 @mulShift(i32 noundef %62, i32 noundef %64) %66 = sext i16 %65 to i32 %67 = icmp slt i32 %60, %66 br i1 %67, label %68, label %70 68: ; preds = %36 %69 = call i32 @putchar(i8 noundef signext 126) br label %133 70: ; preds = %36 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 1, ptr %9, align 4 %71 = load i32, ptr %9, align 4 %72 = icmp slt i32 %71, 64 br i1 %72, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %70 br label %73 73: ; preds = %.lr.ph, %122 %74 = load i32, ptr %5, align 4 %75 = call i32 @abs(i32 noundef %74) #3 %76 = icmp sle i32 %75, 256 %77 = zext i1 %76 to i32 %78 = call i32 @assert(i32 noundef %77) %79 = load i32, ptr %7, align 4 %80 = call i32 @abs(i32 noundef %79) #3 %81 = icmp sle i32 %80, 256 %82 = zext i1 %81 to i32 %83 = call i32 @assert(i32 noundef %82) %84 = load i32, ptr %5, align 4 %85 = load i32, ptr %7, align 4 %86 = mul nsw i32 2, %85 %87 = call signext i16 @mulShift(i32 noundef %84, i32 noundef %86) %88 = sext i16 %87 to i32 %89 = load i16, ptr %2, align 2 %90 = sext i16 %89 to i32 %91 = add nsw i32 %88, %90 store i32 %91, ptr %7, align 4 %92 = load i32, ptr %6, align 4 %93 = load i32, ptr %8, align 4 %94 = sub nsw i32 %92, %93 %95 = load i16, ptr %3, align 2 %96 = sext i16 %95 to i32 %97 = add nsw i32 %94, %96 store i32 %97, ptr %5, align 4 %98 = load i32, ptr %6, align 4 %99 = call i32 @abs(i32 noundef %98) #3 %100 = icmp sle i32 %99, 512 %101 = zext i1 %100 to i32 %102 = call i32 @assert(i32 noundef %101) %103 = load i32, ptr %8, align 4 %104 = call i32 @abs(i32 noundef %103) #3 %105 = icmp sle i32 %104, 512 %106 = zext i1 %105 to i32 %107 = call i32 @assert(i32 noundef %106) %108 = load i32, ptr %5, align 4 %109 = load i32, ptr %5, align 4 %110 = call signext i16 @mulShift(i32 noundef %108, i32 noundef %109) %111 = sext i16 %110 to i32 store i32 %111, ptr %6, align 4 %112 = load i32, ptr %7, align 4 %113 = load i32, ptr %7, align 4 %114 = call signext i16 @mulShift(i32 noundef %112, i32 noundef %113) %115 = sext i16 %114 to i32 store i32 %115, ptr %8, align 4 %116 = load i32, ptr %6, align 4 %117 = load i32, ptr %8, align 4 %118 = add nsw i32 %116, %117 %119 = icmp sgt i32 %118, 512 br i1 %119, label %120, label %121 120: ; preds = %73 br label %127 121: ; preds = %73 br label %122 122: ; preds = %121 %123 = load i32, ptr %9, align 4 %124 = add nsw i32 %123, 1 store i32 %124, ptr %9, align 4 %125 = load i32, ptr %9, align 4 %126 = icmp slt i32 %125, 64 br i1 %126, label %73, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %122 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %70 br label %127 127: ; preds = %.loopexit, %120 %128 = load i32, ptr %9, align 4 %129 = and i32 %128, 63 %130 = add nsw i32 32, %129 %131 = trunc i32 %130 to i8 %132 = call i32 @putchar(i8 noundef signext %131) br label %133 133: ; preds = %127, %68, %34 %134 = load i16, ptr %3, align 2 %135 = sext i16 %134 to i32 %136 = add nsw i32 %135, 3 %137 = trunc i32 %136 to i16 store i16 %137, ptr %3, align 2 %138 = load i16, ptr %3, align 2 %139 = sext i16 %138 to i32 %140 = icmp slt i32 %139, 160 br i1 %140, label %17, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %133 br label %141 141: ; preds = %._crit_edge, %13 %142 = call i32 @putchar(i8 noundef signext 10) br label %143 143: ; preds = %141 %144 = load i16, ptr %2, align 2 %145 = sext i16 %144 to i32 %146 = add nsw i32 %145, 3 %147 = trunc i32 %146 to i16 store i16 %147, ptr %2, align 2 %148 = load i16, ptr %2, align 2 %149 = sext i16 %148 to i32 %150 = icmp slt i32 %149, 180 br i1 %150, label %13, label %._crit_edge4, !llvm.loop !9 ._crit_edge4: ; preds = %143 br label %151 151: ; preds = %._crit_edge4, %0 ret i32 0 } declare signext i16 @mulShift(i32 noundef, i32 noundef) #1 declare i32 @putchar(i8 noundef signext) #1 declare i32 @assert(i32 noundef) #1 ; Function Attrs: nounwind willreturn memory(none) declare i32 @abs(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 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpvi5vdvzf.c' source_filename = "/tmp/tmpvi5vdvzf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%.f\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 float, align 4 %6 = alloca float, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 %8 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) %9 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %5) %10 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %3) store float 0.000000e+00, ptr %6, align 4 store i32 0, ptr %7, align 4 br label %11 11: ; preds = %29, %0 %12 = load i32, ptr %7, align 4 %13 = load i32, ptr %2, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %15, label %32 15: ; preds = %11 %16 = load i32, ptr %7, align 4 %17 = load i32, ptr %3, align 4 %18 = sdiv i32 %16, %17 store i32 %18, ptr %4, align 4 %19 = load float, ptr %5, align 4 %20 = load float, ptr %5, align 4 %21 = load i32, ptr %4, align 4 %22 = mul nsw i32 %21, 2 %23 = sitofp i32 %22 to float %24 = fmul float %20, %23 %25 = fdiv float %24, 1.000000e+02 %26 = fsub float %19, %25 %27 = load float, ptr %6, align 4 %28 = fadd float %27, %26 store float %28, ptr %6, align 4 br label %29 29: ; preds = %15 %30 = load i32, ptr %7, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %7, align 4 br label %11, !llvm.loop !6 32: ; preds = %11 %33 = load float, ptr %6, align 4 %34 = call i32 @printf(ptr noundef @.str.2, float noundef %33) ret i32 0 } declare i32 @scanf(ptr noundef, ...) #1 declare i32 @printf(ptr noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvi5vdvzf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%.f\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 float, align 4 %6 = alloca float, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 %8 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) %9 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %5) %10 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %3) store float 0.000000e+00, ptr %6, align 4 store i32 0, ptr %7, align 4 %11 = load i32, ptr %7, align 4 %12 = load i32, ptr %2, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %.lr.ph, label %34 .lr.ph: ; preds = %0 br label %14 14: ; preds = %.lr.ph, %28 %15 = load i32, ptr %7, align 4 %16 = load i32, ptr %3, align 4 %17 = sdiv i32 %15, %16 store i32 %17, ptr %4, align 4 %18 = load float, ptr %5, align 4 %19 = load float, ptr %5, align 4 %20 = load i32, ptr %4, align 4 %21 = mul nsw i32 %20, 2 %22 = sitofp i32 %21 to float %23 = fmul float %19, %22 %24 = fdiv float %23, 1.000000e+02 %25 = fsub float %18, %24 %26 = load float, ptr %6, align 4 %27 = fadd float %26, %25 store float %27, ptr %6, align 4 br label %28 28: ; preds = %14 %29 = load i32, ptr %7, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %7, align 4 %31 = load i32, ptr %7, align 4 %32 = load i32, ptr %2, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %34 34: ; preds = %._crit_edge, %0 %35 = load float, ptr %6, align 4 %36 = call i32 @printf(ptr noundef @.str.2, float noundef %35) ret i32 0 } declare i32 @scanf(ptr noundef, ...) #1 declare i32 @printf(ptr noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp1nw7yar7.c' source_filename = "/tmp/tmp1nw7yar7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [46 x i8] c"Error in assigning pairs in backtrack %d %d!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @SetPair(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %6, align 8 %8 = load i32, ptr %4, align 4 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds i32, ptr %7, i64 %9 %11 = load i32, ptr %10, align 4 %12 = icmp ne i32 %11, -1 br i1 %12, label %20, label %13 13: ; preds = %3 %14 = load ptr, ptr %6, align 8 %15 = load i32, ptr %5, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i32, ptr %14, i64 %16 %18 = load i32, ptr %17, align 4 %19 = icmp ne i32 %18, -1 br i1 %19, label %20, label %25 20: ; preds = %13, %3 %21 = load i32, ptr %4, align 4 %22 = load i32, ptr %5, align 4 %23 = call i32 @printf(ptr noundef @.str, i32 noundef %21, i32 noundef %22) %24 = call i32 @exit(i32 noundef 1) #3 unreachable 25: ; preds = %13 %26 = load i32, ptr %5, align 4 %27 = load ptr, ptr %6, align 8 %28 = load i32, ptr %4, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i32, ptr %27, i64 %29 store i32 %26, ptr %30, align 4 %31 = load i32, ptr %4, align 4 %32 = load ptr, ptr %6, align 8 %33 = load i32, ptr %5, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i32, ptr %32, i64 %34 store i32 %31, ptr %35, align 4 ret void } 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/tmp1nw7yar7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [46 x i8] c"Error in assigning pairs in backtrack %d %d!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @SetPair(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %6, align 8 %8 = load i32, ptr %4, align 4 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds i32, ptr %7, i64 %9 %11 = load i32, ptr %10, align 4 %12 = icmp ne i32 %11, -1 br i1 %12, label %20, label %13 13: ; preds = %3 %14 = load ptr, ptr %6, align 8 %15 = load i32, ptr %5, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i32, ptr %14, i64 %16 %18 = load i32, ptr %17, align 4 %19 = icmp ne i32 %18, -1 br i1 %19, label %20, label %25 20: ; preds = %13, %3 %21 = load i32, ptr %4, align 4 %22 = load i32, ptr %5, align 4 %23 = call i32 @printf(ptr noundef @.str, i32 noundef %21, i32 noundef %22) %24 = call i32 @exit(i32 noundef 1) #3 unreachable 25: ; preds = %13 %26 = load i32, ptr %5, align 4 %27 = load ptr, ptr %6, align 8 %28 = load i32, ptr %4, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i32, ptr %27, i64 %29 store i32 %26, ptr %30, align 4 %31 = load i32, ptr %4, align 4 %32 = load ptr, ptr %6, align 8 %33 = load i32, ptr %5, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i32, ptr %32, i64 %34 store i32 %31, ptr %35, align 4 ret void } 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/tmpegx3ph88.c' source_filename = "/tmp/tmpegx3ph88.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"Usage: %s {R|W} <path>\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp slt i32 %6, 3 br i1 %7, label %8, label %13 8: ; preds = %2 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 0 %11 = load ptr, ptr %10, align 8 %12 = call i32 @fatal_error(ptr noundef @.str, ptr noundef %11) br label %13 13: ; preds = %8, %2 %14 = call i32 (...) @setup() %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 1 %17 = load ptr, ptr %16, align 8 %18 = getelementptr inbounds i8, ptr %17, i64 0 %19 = load i8, ptr %18, align 1 %20 = call signext i8 @toupper(i8 noundef signext %19) %21 = sext i8 %20 to i32 %22 = icmp eq i32 %21, 82 br i1 %22, label %23, label %32 23: ; preds = %13 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 2 %26 = load ptr, ptr %25, align 8 %27 = call i32 @open_close_input_fd(ptr noundef %26) %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds ptr, ptr %28, i64 2 %30 = load ptr, ptr %29, align 8 %31 = call i32 @open_close_input_stdio(ptr noundef %30) br label %41 32: ; preds = %13 %33 = load ptr, ptr %5, align 8 %34 = getelementptr inbounds ptr, ptr %33, i64 2 %35 = load ptr, ptr %34, align 8 %36 = call i32 @open_close_output_fd(ptr noundef %35) %37 = load ptr, ptr %5, align 8 %38 = getelementptr inbounds ptr, ptr %37, i64 2 %39 = load ptr, ptr %38, align 8 %40 = call i32 @open_close_output_stdio(ptr noundef %39) br label %41 41: ; preds = %32, %23 ret i32 0 } declare i32 @fatal_error(ptr noundef, ptr noundef) #1 declare i32 @setup(...) #1 declare signext i8 @toupper(i8 noundef signext) #1 declare i32 @open_close_input_fd(ptr noundef) #1 declare i32 @open_close_input_stdio(ptr noundef) #1 declare i32 @open_close_output_fd(ptr noundef) #1 declare i32 @open_close_output_stdio(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpegx3ph88.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"Usage: %s {R|W} <path>\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp slt i32 %6, 3 br i1 %7, label %8, label %13 8: ; preds = %2 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 0 %11 = load ptr, ptr %10, align 8 %12 = call i32 @fatal_error(ptr noundef @.str, ptr noundef %11) br label %13 13: ; preds = %8, %2 %14 = call i32 (...) @setup() %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 1 %17 = load ptr, ptr %16, align 8 %18 = getelementptr inbounds i8, ptr %17, i64 0 %19 = load i8, ptr %18, align 1 %20 = call signext i8 @toupper(i8 noundef signext %19) %21 = sext i8 %20 to i32 %22 = icmp eq i32 %21, 82 br i1 %22, label %23, label %32 23: ; preds = %13 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 2 %26 = load ptr, ptr %25, align 8 %27 = call i32 @open_close_input_fd(ptr noundef %26) %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds ptr, ptr %28, i64 2 %30 = load ptr, ptr %29, align 8 %31 = call i32 @open_close_input_stdio(ptr noundef %30) br label %41 32: ; preds = %13 %33 = load ptr, ptr %5, align 8 %34 = getelementptr inbounds ptr, ptr %33, i64 2 %35 = load ptr, ptr %34, align 8 %36 = call i32 @open_close_output_fd(ptr noundef %35) %37 = load ptr, ptr %5, align 8 %38 = getelementptr inbounds ptr, ptr %37, i64 2 %39 = load ptr, ptr %38, align 8 %40 = call i32 @open_close_output_stdio(ptr noundef %39) br label %41 41: ; preds = %32, %23 ret i32 0 } declare i32 @fatal_error(ptr noundef, ptr noundef) #1 declare i32 @setup(...) #1 declare signext i8 @toupper(i8 noundef signext) #1 declare i32 @open_close_input_fd(ptr noundef) #1 declare i32 @open_close_input_stdio(ptr noundef) #1 declare i32 @open_close_output_fd(ptr noundef) #1 declare i32 @open_close_output_stdio(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpm1o0wfhi.c' source_filename = "/tmp/tmpm1o0wfhi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"Test\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @puts(ptr noundef @.str) ret i32 0 } declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm1o0wfhi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"Test\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @puts(ptr noundef @.str) ret i32 0 } declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzqy7s5oe.c' source_filename = "/tmp/tmpzqy7s5oe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DestroyArray(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = icmp eq ptr %3, null br i1 %4, label %5, label %6 5: ; preds = %1 br label %11 6: ; preds = %1 %7 = load ptr, ptr %2, align 8 %8 = call i32 @DtorArray(ptr noundef %7) %9 = load ptr, ptr %2, align 8 %10 = call i32 @free(ptr noundef %9) br label %11 11: ; preds = %6, %5 ret void } declare i32 @DtorArray(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/tmpzqy7s5oe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DestroyArray(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = icmp eq ptr %3, null br i1 %4, label %5, label %6 5: ; preds = %1 br label %11 6: ; preds = %1 %7 = load ptr, ptr %2, align 8 %8 = call i32 @DtorArray(ptr noundef %7) %9 = load ptr, ptr %2, align 8 %10 = call i32 @free(ptr noundef %9) br label %11 11: ; preds = %6, %5 ret void } declare i32 @DtorArray(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/tmpgei_gk9v.c' source_filename = "/tmp/tmpgei_gk9v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lcm(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp eq i32 %5, 0 br i1 %6, label %10, label %7 7: ; preds = %2 %8 = load i32, ptr %4, align 4 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %11 10: ; preds = %7, %2 br label %19 11: ; preds = %7 %12 = load i32, ptr %3, align 4 %13 = load i32, ptr %4, align 4 %14 = mul nsw i32 %12, %13 %15 = load i32, ptr %3, align 4 %16 = load i32, ptr %4, align 4 %17 = call i32 @gcd(i32 noundef %15, i32 noundef %16) %18 = sdiv i32 %14, %17 br label %19 19: ; preds = %11, %10 %20 = phi i32 [ 0, %10 ], [ %18, %11 ] ret i32 %20 } 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/tmpgei_gk9v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lcm(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp eq i32 %5, 0 br i1 %6, label %10, label %7 7: ; preds = %2 %8 = load i32, ptr %4, align 4 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %11 10: ; preds = %7, %2 br label %19 11: ; preds = %7 %12 = load i32, ptr %3, align 4 %13 = load i32, ptr %4, align 4 %14 = mul nsw i32 %12, %13 %15 = load i32, ptr %3, align 4 %16 = load i32, ptr %4, align 4 %17 = call i32 @gcd(i32 noundef %15, i32 noundef %16) %18 = sdiv i32 %14, %17 br label %19 19: ; preds = %11, %10 %20 = phi i32 [ 0, %10 ], [ %18, %11 ] ret i32 %20 } 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/tmpfuiuy3zx.c' source_filename = "/tmp/tmpfuiuy3zx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nodpd() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = call ptr @set42(ptr noundef %1) store ptr %3, ptr %2, align 8 ret void } declare ptr @set42(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfuiuy3zx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nodpd() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = call ptr @set42(ptr noundef %1) store ptr %3, ptr %2, align 8 ret void } declare ptr @set42(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpc7n134e0.c' source_filename = "/tmp/tmpc7n134e0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"Flag is negative !\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [27 x i8] c"Unknown flag value : [%d]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @setFlag(i16 noundef signext %0, ptr noundef %1) #0 { %3 = alloca i16, align 2 %4 = alloca ptr, align 8 store i16 %0, ptr %3, align 2 store ptr %1, ptr %4, align 8 %5 = load i16, ptr %3, align 2 %6 = sext i16 %5 to i32 %7 = icmp slt i32 %6, 0 br i1 %7, label %8, label %12 8: ; preds = %2 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) %10 = load i32, ptr @EXIT_FAILURE, align 4 %11 = call i32 @exit(i32 noundef %10) #3 unreachable 12: ; preds = %2 %13 = load i16, ptr %3, align 2 %14 = sext i16 %13 to i32 %15 = icmp sgt i32 %14, 6 br i1 %15, label %16, label %22 16: ; preds = %12 %17 = load i16, ptr %3, align 2 %18 = sext i16 %17 to i32 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %18) %20 = load i32, ptr @EXIT_FAILURE, align 4 %21 = call i32 @exit(i32 noundef %20) #3 unreachable 22: ; preds = %12 %23 = load i16, ptr %3, align 2 %24 = call signext i16 @htons(i16 noundef signext %23) store i16 %24, ptr %3, align 2 %25 = load ptr, ptr %4, align 8 %26 = call i32 @memcpy(ptr noundef %25, ptr noundef %3, i32 noundef 2) ret i32 1 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare signext i16 @htons(i16 noundef signext) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpc7n134e0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"Flag is negative !\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [27 x i8] c"Unknown flag value : [%d]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @setFlag(i16 noundef signext %0, ptr noundef %1) #0 { %3 = alloca i16, align 2 %4 = alloca ptr, align 8 store i16 %0, ptr %3, align 2 store ptr %1, ptr %4, align 8 %5 = load i16, ptr %3, align 2 %6 = sext i16 %5 to i32 %7 = icmp slt i32 %6, 0 br i1 %7, label %8, label %12 8: ; preds = %2 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) %10 = load i32, ptr @EXIT_FAILURE, align 4 %11 = call i32 @exit(i32 noundef %10) #3 unreachable 12: ; preds = %2 %13 = load i16, ptr %3, align 2 %14 = sext i16 %13 to i32 %15 = icmp sgt i32 %14, 6 br i1 %15, label %16, label %22 16: ; preds = %12 %17 = load i16, ptr %3, align 2 %18 = sext i16 %17 to i32 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %18) %20 = load i32, ptr @EXIT_FAILURE, align 4 %21 = call i32 @exit(i32 noundef %20) #3 unreachable 22: ; preds = %12 %23 = load i16, ptr %3, align 2 %24 = call signext i16 @htons(i16 noundef signext %23) store i16 %24, ptr %3, align 2 %25 = load ptr, ptr %4, align 8 %26 = call i32 @memcpy(ptr noundef %25, ptr noundef %3, i32 noundef 2) ret i32 1 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare signext i16 @htons(i16 noundef signext) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmp8lx2c1em.c' source_filename = "/tmp/tmp8lx2c1em.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ccache_init_config(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = call i32 @ccache_init_defconfig(i32 noundef 1) %5 = load ptr, ptr %3, align 8 %6 = icmp ne ptr %5, null br i1 %6, label %7, label %13 7: ; preds = %1 %8 = load ptr, ptr %3, align 8 %9 = call i64 @ccache_read_config(ptr noundef %8) %10 = icmp sgt i64 0, %9 br i1 %10, label %11, label %12 11: ; preds = %7 store i32 -1, ptr %2, align 4 br label %15 12: ; preds = %7 br label %13 13: ; preds = %12, %1 %14 = call i32 @ccache_init_defconfig(i32 noundef 0) store i32 %14, ptr %2, align 4 br label %15 15: ; preds = %13, %11 %16 = load i32, ptr %2, align 4 ret i32 %16 } declare i32 @ccache_init_defconfig(i32 noundef) #1 declare i64 @ccache_read_config(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8lx2c1em.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ccache_init_config(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = call i32 @ccache_init_defconfig(i32 noundef 1) %5 = load ptr, ptr %3, align 8 %6 = icmp ne ptr %5, null br i1 %6, label %7, label %13 7: ; preds = %1 %8 = load ptr, ptr %3, align 8 %9 = call i64 @ccache_read_config(ptr noundef %8) %10 = icmp sgt i64 0, %9 br i1 %10, label %11, label %12 11: ; preds = %7 store i32 -1, ptr %2, align 4 br label %15 12: ; preds = %7 br label %13 13: ; preds = %12, %1 %14 = call i32 @ccache_init_defconfig(i32 noundef 0) store i32 %14, ptr %2, align 4 br label %15 15: ; preds = %13, %11 %16 = load i32, ptr %2, align 4 ret i32 %16 } declare i32 @ccache_init_defconfig(i32 noundef) #1 declare i64 @ccache_read_config(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9_iiyey7.c' source_filename = "/tmp/tmp9_iiyey7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @utest_sf_list() ret i32 0 } declare i32 @utest_sf_list(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9_iiyey7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @utest_sf_list() ret i32 0 } declare i32 @utest_sf_list(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwmw7wmlh.c' source_filename = "/tmp/tmpwmw7wmlh.c" target datalayout = "e-m:e-p270: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 [3 x i8] c"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @pause(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %11, %1 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp ult i32 %5, %6 br i1 %7, label %8, label %14 8: ; preds = %4 %9 = load i32, ptr @stdout, align 4 %10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str, i32 noundef 128) br label %11 11: ; preds = %8 %12 = load i32, ptr %3, align 4 %13 = add i32 %12, 1 store i32 %13, ptr %3, align 4 br label %4, !llvm.loop !6 14: ; preds = %4 ret void } declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwmw7wmlh.c" target datalayout = "e-m:e-p270: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 [3 x i8] c"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @pause(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = load i32, ptr %2, align 4 %6 = icmp ult i32 %4, %5 br i1 %6, label %.lr.ph, label %16 .lr.ph: ; preds = %1 br label %7 7: ; preds = %.lr.ph, %10 %8 = load i32, ptr @stdout, align 4 %9 = call i32 @fprintf(i32 noundef %8, ptr noundef @.str, i32 noundef 128) br label %10 10: ; preds = %7 %11 = load i32, ptr %3, align 4 %12 = add i32 %11, 1 store i32 %12, ptr %3, align 4 %13 = load i32, ptr %3, align 4 %14 = load i32, ptr %2, align 4 %15 = icmp ult i32 %13, %14 br i1 %15, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %10 br label %16 16: ; preds = %._crit_edge, %1 ret void } declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp6c543qk4.c' source_filename = "/tmp/tmp6c543qk4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"version1 lt|gt|le|ge|eq version2\0A\00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c"return value 0 if true, else 1\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [47 x i8] c"l = less, g = greater, t = than, e|eq = equal\0A\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"le\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"ge\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"lt\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"gt\00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"eq\00", align 1 @.str.8 = private unnamed_addr constant [21 x i8] c"unknown operator: %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %8, 4 br i1 %9, label %24, label %10 10: ; preds = %2 %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds ptr, ptr %11, i64 1 %13 = load ptr, ptr %12, align 8 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp eq i32 %15, 0 br i1 %16, label %24, label %17 17: ; preds = %10 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 3 %20 = load ptr, ptr %19, align 8 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp eq i32 %22, 0 br i1 %23, label %24, label %28 24: ; preds = %17, %10, %2 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str) %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 1, ptr %3, align 4 br label %101 28: ; preds = %17 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds ptr, ptr %29, i64 1 %31 = load ptr, ptr %30, align 8 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds ptr, ptr %32, i64 3 %34 = load ptr, ptr %33, align 8 %35 = call i32 @ver_cmp(ptr noundef %31, ptr noundef %34) store i32 %35, ptr %6, align 4 %36 = load ptr, ptr %5, align 8 %37 = getelementptr inbounds ptr, ptr %36, i64 2 %38 = load ptr, ptr %37, align 8 %39 = call i32 @strcmp(ptr noundef %38, ptr noundef @.str.3) %40 = icmp ne i32 %39, 0 br i1 %40, label %46, label %41 41: ; preds = %28 %42 = load i32, ptr %6, align 4 %43 = icmp sle i32 %42, 0 %44 = xor i1 %43, true %45 = zext i1 %44 to i32 store i32 %45, ptr %7, align 4 br label %99 46: ; preds = %28 %47 = load ptr, ptr %5, align 8 %48 = getelementptr inbounds ptr, ptr %47, i64 2 %49 = load ptr, ptr %48, align 8 %50 = call i32 @strcmp(ptr noundef %49, ptr noundef @.str.4) %51 = icmp ne i32 %50, 0 br i1 %51, label %57, label %52 52: ; preds = %46 %53 = load i32, ptr %6, align 4 %54 = icmp sge i32 %53, 0 %55 = xor i1 %54, true %56 = zext i1 %55 to i32 store i32 %56, ptr %7, align 4 br label %98 57: ; preds = %46 %58 = load ptr, ptr %5, align 8 %59 = getelementptr inbounds ptr, ptr %58, i64 2 %60 = load ptr, ptr %59, align 8 %61 = call i32 @strcmp(ptr noundef %60, ptr noundef @.str.5) %62 = icmp ne i32 %61, 0 br i1 %62, label %68, label %63 63: ; preds = %57 %64 = load i32, ptr %6, align 4 %65 = icmp slt i32 %64, 0 %66 = xor i1 %65, true %67 = zext i1 %66 to i32 store i32 %67, ptr %7, align 4 br label %97 68: ; preds = %57 %69 = load ptr, ptr %5, align 8 %70 = getelementptr inbounds ptr, ptr %69, i64 2 %71 = load ptr, ptr %70, align 8 %72 = call i32 @strcmp(ptr noundef %71, ptr noundef @.str.6) %73 = icmp ne i32 %72, 0 br i1 %73, label %79, label %74 74: ; preds = %68 %75 = load i32, ptr %6, align 4 %76 = icmp sgt i32 %75, 0 %77 = xor i1 %76, true %78 = zext i1 %77 to i32 store i32 %78, ptr %7, align 4 br label %96 79: ; preds = %68 %80 = load ptr, ptr %5, align 8 %81 = getelementptr inbounds ptr, ptr %80, i64 2 %82 = load ptr, ptr %81, align 8 %83 = call i32 @strcmp(ptr noundef %82, ptr noundef @.str.7) %84 = icmp ne i32 %83, 0 br i1 %84, label %90, label %85 85: ; preds = %79 %86 = load i32, ptr %6, align 4 %87 = icmp eq i32 %86, 0 %88 = xor i1 %87, true %89 = zext i1 %88 to i32 store i32 %89, ptr %7, align 4 br label %95 90: ; preds = %79 %91 = load ptr, ptr %5, align 8 %92 = getelementptr inbounds ptr, ptr %91, i64 2 %93 = load ptr, ptr %92, align 8 %94 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %93) store i32 1, ptr %3, align 4 br label %101 95: ; preds = %85 br label %96 96: ; preds = %95, %74 br label %97 97: ; preds = %96, %63 br label %98 98: ; preds = %97, %52 br label %99 99: ; preds = %98, %41 %100 = load i32, ptr %7, align 4 store i32 %100, ptr %3, align 4 br label %101 101: ; preds = %99, %90, %24 %102 = load i32, ptr %3, align 4 ret i32 %102 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @ver_cmp(ptr noundef, ptr noundef) #1 declare i32 @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/tmp6c543qk4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"version1 lt|gt|le|ge|eq version2\0A\00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c"return value 0 if true, else 1\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [47 x i8] c"l = less, g = greater, t = than, e|eq = equal\0A\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"le\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"ge\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"lt\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"gt\00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"eq\00", align 1 @.str.8 = private unnamed_addr constant [21 x i8] c"unknown operator: %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %8, 4 br i1 %9, label %24, label %10 10: ; preds = %2 %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds ptr, ptr %11, i64 1 %13 = load ptr, ptr %12, align 8 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp eq i32 %15, 0 br i1 %16, label %24, label %17 17: ; preds = %10 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 3 %20 = load ptr, ptr %19, align 8 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp eq i32 %22, 0 br i1 %23, label %24, label %28 24: ; preds = %17, %10, %2 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str) %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 1, ptr %3, align 4 br label %101 28: ; preds = %17 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds ptr, ptr %29, i64 1 %31 = load ptr, ptr %30, align 8 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds ptr, ptr %32, i64 3 %34 = load ptr, ptr %33, align 8 %35 = call i32 @ver_cmp(ptr noundef %31, ptr noundef %34) store i32 %35, ptr %6, align 4 %36 = load ptr, ptr %5, align 8 %37 = getelementptr inbounds ptr, ptr %36, i64 2 %38 = load ptr, ptr %37, align 8 %39 = call i32 @strcmp(ptr noundef %38, ptr noundef @.str.3) %40 = icmp ne i32 %39, 0 br i1 %40, label %46, label %41 41: ; preds = %28 %42 = load i32, ptr %6, align 4 %43 = icmp sle i32 %42, 0 %44 = xor i1 %43, true %45 = zext i1 %44 to i32 store i32 %45, ptr %7, align 4 br label %99 46: ; preds = %28 %47 = load ptr, ptr %5, align 8 %48 = getelementptr inbounds ptr, ptr %47, i64 2 %49 = load ptr, ptr %48, align 8 %50 = call i32 @strcmp(ptr noundef %49, ptr noundef @.str.4) %51 = icmp ne i32 %50, 0 br i1 %51, label %57, label %52 52: ; preds = %46 %53 = load i32, ptr %6, align 4 %54 = icmp sge i32 %53, 0 %55 = xor i1 %54, true %56 = zext i1 %55 to i32 store i32 %56, ptr %7, align 4 br label %98 57: ; preds = %46 %58 = load ptr, ptr %5, align 8 %59 = getelementptr inbounds ptr, ptr %58, i64 2 %60 = load ptr, ptr %59, align 8 %61 = call i32 @strcmp(ptr noundef %60, ptr noundef @.str.5) %62 = icmp ne i32 %61, 0 br i1 %62, label %68, label %63 63: ; preds = %57 %64 = load i32, ptr %6, align 4 %65 = icmp slt i32 %64, 0 %66 = xor i1 %65, true %67 = zext i1 %66 to i32 store i32 %67, ptr %7, align 4 br label %97 68: ; preds = %57 %69 = load ptr, ptr %5, align 8 %70 = getelementptr inbounds ptr, ptr %69, i64 2 %71 = load ptr, ptr %70, align 8 %72 = call i32 @strcmp(ptr noundef %71, ptr noundef @.str.6) %73 = icmp ne i32 %72, 0 br i1 %73, label %79, label %74 74: ; preds = %68 %75 = load i32, ptr %6, align 4 %76 = icmp sgt i32 %75, 0 %77 = xor i1 %76, true %78 = zext i1 %77 to i32 store i32 %78, ptr %7, align 4 br label %96 79: ; preds = %68 %80 = load ptr, ptr %5, align 8 %81 = getelementptr inbounds ptr, ptr %80, i64 2 %82 = load ptr, ptr %81, align 8 %83 = call i32 @strcmp(ptr noundef %82, ptr noundef @.str.7) %84 = icmp ne i32 %83, 0 br i1 %84, label %90, label %85 85: ; preds = %79 %86 = load i32, ptr %6, align 4 %87 = icmp eq i32 %86, 0 %88 = xor i1 %87, true %89 = zext i1 %88 to i32 store i32 %89, ptr %7, align 4 br label %95 90: ; preds = %79 %91 = load ptr, ptr %5, align 8 %92 = getelementptr inbounds ptr, ptr %91, i64 2 %93 = load ptr, ptr %92, align 8 %94 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %93) store i32 1, ptr %3, align 4 br label %101 95: ; preds = %85 br label %96 96: ; preds = %95, %74 br label %97 97: ; preds = %96, %63 br label %98 98: ; preds = %97, %52 br label %99 99: ; preds = %98, %41 %100 = load i32, ptr %7, align 4 store i32 %100, ptr %3, align 4 br label %101 101: ; preds = %99, %90, %24 %102 = load i32, ptr %3, align 4 ret i32 %102 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @ver_cmp(ptr noundef, ptr noundef) #1 declare i32 @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/tmpza1zd3ra.c' source_filename = "/tmp/tmpza1zd3ra.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"^i(%s/.dzen2/xbm/%s.xbm)\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"/home/nick\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @icon(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i32 @sprintf(ptr noundef %5, ptr noundef @.str, ptr noundef @.str.1, ptr noundef %6) ret void } declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpza1zd3ra.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"^i(%s/.dzen2/xbm/%s.xbm)\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"/home/nick\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @icon(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i32 @sprintf(ptr noundef %5, ptr noundef @.str, ptr noundef @.str.1, ptr noundef %6) ret void } declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpamqoai1t.c' source_filename = "/tmp/tmpamqoai1t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @pexit(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 @perror(ptr noundef %3) %5 = load i32, ptr @EXIT_FAILURE, align 4 %6 = call i32 @exit(i32 noundef %5) #3 unreachable } declare i32 @perror(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/tmpamqoai1t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @pexit(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 @perror(ptr noundef %3) %5 = load i32, ptr @EXIT_FAILURE, align 4 %6 = call i32 @exit(i32 noundef %5) #3 unreachable } declare i32 @perror(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/tmpcmkj0z7v.c' source_filename = "/tmp/tmpcmkj0z7v.c" target datalayout = "e-m:e-p270: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/tmpcmkj0z7v.c" target datalayout = "e-m:e-p270: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/tmpy69rrnx2.c' source_filename = "/tmp/tmpy69rrnx2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [53 x i8] c"---------------------------------------------------\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"\09\09%s\0A\00", align 1 @.str.2 = private unnamed_addr constant [30 x i8] c"SUN\09MON\09TUE\09WED\09THU\09FRI\09SAT\0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\09\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"%d\09\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @printMonth(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %9 = load i32, ptr %4, align 4 store i32 %9, ptr %8, align 4 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str) %11 = load ptr, ptr %6, align 8 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %11) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str) %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 1, ptr %7, align 4 br label %15 15: ; preds = %21, %3 %16 = load i32, ptr %7, align 4 %17 = load i32, ptr %4, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %19, label %24 19: ; preds = %15 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %21 21: ; preds = %19 %22 = load i32, ptr %7, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %7, align 4 br label %15, !llvm.loop !6 24: ; preds = %15 store i32 1, ptr %7, align 4 br label %25 25: ; preds = %40, %24 %26 = load i32, ptr %7, align 4 %27 = load i32, ptr %5, align 4 %28 = icmp sle i32 %26, %27 br i1 %28, label %29, label %43 29: ; preds = %25 %30 = load i32, ptr %7, align 4 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %30) %32 = load i32, ptr %8, align 4 %33 = srem i32 %32, 7 %34 = icmp eq i32 %33, 0 br i1 %34, label %35, label %37 35: ; preds = %29 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %37 37: ; preds = %35, %29 %38 = load i32, ptr %8, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %8, align 4 br label %40 40: ; preds = %37 %41 = load i32, ptr %7, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %7, align 4 br label %25, !llvm.loop !8 43: ; preds = %25 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %45 = load i32, ptr %8, align 4 %46 = srem i32 %45, 7 store i32 %46, ptr %8, align 4 %47 = load i32, ptr %8, align 4 %48 = icmp eq i32 %47, 0 br i1 %48, label %49, label %50 49: ; preds = %43 store i32 7, ptr %8, align 4 br label %50 50: ; preds = %49, %43 %51 = load i32, ptr %8, align 4 ret i32 %51 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy69rrnx2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [53 x i8] c"---------------------------------------------------\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"\09\09%s\0A\00", align 1 @.str.2 = private unnamed_addr constant [30 x i8] c"SUN\09MON\09TUE\09WED\09THU\09FRI\09SAT\0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\09\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"%d\09\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @printMonth(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %9 = load i32, ptr %4, align 4 store i32 %9, ptr %8, align 4 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str) %11 = load ptr, ptr %6, align 8 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %11) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str) %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 1, ptr %7, align 4 %15 = load i32, ptr %7, align 4 %16 = load i32, ptr %4, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %.lr.ph, label %26 .lr.ph: ; preds = %3 br label %18 18: ; preds = %.lr.ph, %20 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %20 20: ; preds = %18 %21 = load i32, ptr %7, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %7, align 4 %23 = load i32, ptr %7, align 4 %24 = load i32, ptr %4, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %26 26: ; preds = %._crit_edge, %3 store i32 1, ptr %7, align 4 %27 = load i32, ptr %7, align 4 %28 = load i32, ptr %5, align 4 %29 = icmp sle i32 %27, %28 br i1 %29, label %.lr.ph2, label %47 .lr.ph2: ; preds = %26 br label %30 30: ; preds = %.lr.ph2, %41 %31 = load i32, ptr %7, align 4 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %31) %33 = load i32, ptr %8, align 4 %34 = srem i32 %33, 7 %35 = icmp eq i32 %34, 0 br i1 %35, label %36, label %38 36: ; preds = %30 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %38 38: ; preds = %36, %30 %39 = load i32, ptr %8, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %8, align 4 br label %41 41: ; preds = %38 %42 = load i32, ptr %7, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %7, align 4 %44 = load i32, ptr %7, align 4 %45 = load i32, ptr %5, align 4 %46 = icmp sle i32 %44, %45 br i1 %46, label %30, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %41 br label %47 47: ; preds = %._crit_edge3, %26 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %49 = load i32, ptr %8, align 4 %50 = srem i32 %49, 7 store i32 %50, ptr %8, align 4 %51 = load i32, ptr %8, align 4 %52 = icmp eq i32 %51, 0 br i1 %52, label %53, label %54 53: ; preds = %47 store i32 7, ptr %8, align 4 br label %54 54: ; preds = %53, %47 %55 = load i32, ptr %8, align 4 ret i32 %55 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp_wnl_dnd.c' source_filename = "/tmp/tmp_wnl_dnd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_quaddobl_start_system_from_file(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %10 = load i32, ptr %3, align 4 %11 = zext i32 %10 to i64 %12 = call ptr @llvm.stacksave() store ptr %12, ptr %5, align 8 %13 = alloca i32, i64 %11, align 16 store i64 %11, ptr %6, align 8 store i32 0, ptr %7, align 4 br label %14 14: ; preds = %28, %2 %15 = load i32, ptr %7, align 4 %16 = load i32, ptr %3, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %18, label %31 18: ; preds = %14 %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr %7, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %19, i64 %21 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = load i32, ptr %7, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i32, ptr %13, i64 %26 store i32 %24, ptr %27, align 4 br label %28 28: ; preds = %18 %29 = load i32, ptr %7, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %7, align 4 br label %14, !llvm.loop !6 31: ; preds = %14 %32 = load ptr, ptr %9, align 8 %33 = call i32 @_ada_use_c2phc(i32 noundef 546, ptr noundef %3, ptr noundef %13, ptr noundef %32, i32 noundef 0) store i32 %33, ptr %8, align 4 %34 = load i32, ptr %8, align 4 %35 = load ptr, ptr %5, align 8 call void @llvm.stackrestore(ptr %35) ret i32 %34 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_wnl_dnd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_quaddobl_start_system_from_file(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %10 = load i32, ptr %3, align 4 %11 = zext i32 %10 to i64 %12 = call ptr @llvm.stacksave() store ptr %12, ptr %5, align 8 %13 = alloca i32, i64 %11, align 16 store i64 %11, ptr %6, align 8 store i32 0, ptr %7, align 4 %14 = load i32, ptr %7, align 4 %15 = load i32, ptr %3, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %.lr.ph, label %33 .lr.ph: ; preds = %2 br label %17 17: ; preds = %.lr.ph, %27 %18 = load ptr, ptr %4, align 8 %19 = load i32, ptr %7, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %18, i64 %20 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = load i32, ptr %7, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i32, ptr %13, i64 %25 store i32 %23, ptr %26, align 4 br label %27 27: ; preds = %17 %28 = load i32, ptr %7, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %7, align 4 %30 = load i32, ptr %7, align 4 %31 = load i32, ptr %3, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %33 33: ; preds = %._crit_edge, %2 %34 = load ptr, ptr %9, align 8 %35 = call i32 @_ada_use_c2phc(i32 noundef 546, ptr noundef %3, ptr noundef %13, ptr noundef %34, i32 noundef 0) store i32 %35, ptr %8, align 4 %36 = load i32, ptr %8, align 4 %37 = load ptr, ptr %5, align 8 call void @llvm.stackrestore(ptr %37) ret i32 %36 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpria7udae.c' source_filename = "/tmp/tmpria7udae.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"TRUE\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"FALSE\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @setconf_boolean(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 %8 = load i32, ptr %6, align 4 %9 = icmp ne i32 %8, 0 br i1 %9, label %10, label %14 10: ; preds = %3 %11 = load ptr, ptr %4, align 8 %12 = load ptr, ptr %5, align 8 %13 = call i32 @setconf(ptr noundef %11, ptr noundef %12, ptr noundef @.str) store i32 %13, ptr %7, align 4 br label %18 14: ; preds = %3 %15 = load ptr, ptr %4, align 8 %16 = load ptr, ptr %5, align 8 %17 = call i32 @setconf(ptr noundef %15, ptr noundef %16, ptr noundef @.str.1) store i32 %17, ptr %7, align 4 br label %18 18: ; preds = %14, %10 %19 = load i32, ptr %7, align 4 ret i32 %19 } declare i32 @setconf(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpria7udae.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"TRUE\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"FALSE\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @setconf_boolean(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 %8 = load i32, ptr %6, align 4 %9 = icmp ne i32 %8, 0 br i1 %9, label %10, label %14 10: ; preds = %3 %11 = load ptr, ptr %4, align 8 %12 = load ptr, ptr %5, align 8 %13 = call i32 @setconf(ptr noundef %11, ptr noundef %12, ptr noundef @.str) store i32 %13, ptr %7, align 4 br label %18 14: ; preds = %3 %15 = load ptr, ptr %4, align 8 %16 = load ptr, ptr %5, align 8 %17 = call i32 @setconf(ptr noundef %15, ptr noundef %16, ptr noundef @.str.1) store i32 %17, ptr %7, align 4 br label %18 18: ; preds = %14, %10 %19 = load i32, ptr %7, align 4 ret i32 %19 } declare i32 @setconf(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_covgamf.c' source_filename = "/tmp/tmp_covgamf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_covgamf.c" target datalayout = "e-m:e-p270: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/tmpfus3j71v.c' source_filename = "/tmp/tmpfus3j71v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_strsplit(ptr noundef %0, i8 noundef signext %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i8, align 1 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i8 %1, ptr %5, align 1 %9 = load ptr, ptr %4, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %14, label %11 11: ; preds = %2 %12 = load i8, ptr %5, align 1 %13 = icmp ne i8 %12, 0 br i1 %13, label %15, label %14 14: ; preds = %11, %2 store ptr null, ptr %3, align 8 br label %68 15: ; preds = %11 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 %16 = load ptr, ptr %4, align 8 %17 = load i8, ptr %5, align 1 %18 = call i32 @count_words(ptr noundef %16, i8 noundef signext %17) %19 = sext i32 %18 to i64 %20 = mul i64 8, %19 %21 = add i64 %20, 1 %22 = trunc i64 %21 to i32 %23 = call i64 @malloc(i32 noundef %22) %24 = inttoptr i64 %23 to ptr store ptr %24, ptr %6, align 8 %25 = icmp eq ptr %24, null br i1 %25, label %26, label %27 26: ; preds = %15 store ptr null, ptr %3, align 8 br label %68 27: ; preds = %15 br label %28 28: ; preds = %61, %27 %29 = load ptr, ptr %4, align 8 %30 = load i32, ptr %7, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %29, i64 %31 %33 = load i8, ptr %32, align 1 %34 = icmp ne i8 %33, 0 br i1 %34, label %35, label %62 35: ; preds = %28 %36 = load ptr, ptr %4, align 8 %37 = load i32, ptr %7, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i8, ptr %36, i64 %38 %40 = load i8, ptr %39, align 1 %41 = sext i8 %40 to i32 %42 = load i8, ptr %5, align 1 %43 = sext i8 %42 to i32 %44 = icmp ne i32 %41, %43 br i1 %44, label %45, label %58 45: ; preds = %35 %46 = load ptr, ptr %4, align 8 %47 = load i8, ptr %5, align 1 %48 = call ptr @put_word(ptr noundef %46, i8 noundef signext %47, ptr noundef %7) %49 = load ptr, ptr %6, align 8 %50 = load i32, ptr %8, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds ptr, ptr %49, i64 %51 store ptr %48, ptr %52, align 8 %53 = icmp eq ptr %48, null br i1 %53, label %54, label %55 54: ; preds = %45 store ptr null, ptr %3, align 8 br label %68 55: ; preds = %45 %56 = load i32, ptr %8, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %8, align 4 br label %61 58: ; preds = %35 %59 = load i32, ptr %7, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %7, align 4 br label %61 61: ; preds = %58, %55 br label %28, !llvm.loop !6 62: ; preds = %28 %63 = load ptr, ptr %6, align 8 %64 = load i32, ptr %8, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds ptr, ptr %63, i64 %65 store ptr null, ptr %66, align 8 %67 = load ptr, ptr %6, align 8 store ptr %67, ptr %3, align 8 br label %68 68: ; preds = %62, %54, %26, %14 %69 = load ptr, ptr %3, align 8 ret ptr %69 } declare i64 @malloc(i32 noundef) #1 declare i32 @count_words(ptr noundef, i8 noundef signext) #1 declare ptr @put_word(ptr noundef, i8 noundef signext, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpfus3j71v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_strsplit(ptr noundef %0, i8 noundef signext %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i8, align 1 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i8 %1, ptr %5, align 1 %9 = load ptr, ptr %4, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %14, label %11 11: ; preds = %2 %12 = load i8, ptr %5, align 1 %13 = icmp ne i8 %12, 0 br i1 %13, label %15, label %14 14: ; preds = %11, %2 store ptr null, ptr %3, align 8 br label %73 15: ; preds = %11 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 %16 = load ptr, ptr %4, align 8 %17 = load i8, ptr %5, align 1 %18 = call i32 @count_words(ptr noundef %16, i8 noundef signext %17) %19 = sext i32 %18 to i64 %20 = mul i64 8, %19 %21 = add i64 %20, 1 %22 = trunc i64 %21 to i32 %23 = call i64 @malloc(i32 noundef %22) %24 = inttoptr i64 %23 to ptr store ptr %24, ptr %6, align 8 %25 = icmp eq ptr %24, null br i1 %25, label %26, label %27 26: ; preds = %15 store ptr null, ptr %3, align 8 br label %73 27: ; preds = %15 %28 = load ptr, ptr %4, align 8 %29 = load i32, ptr %7, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %28, i64 %30 %32 = load i8, ptr %31, align 1 %33 = icmp ne i8 %32, 0 br i1 %33, label %.lr.ph, label %67 .lr.ph: ; preds = %27 br label %34 34: ; preds = %.lr.ph, %60 %35 = load ptr, ptr %4, align 8 %36 = load i32, ptr %7, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i8, ptr %35, i64 %37 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = load i8, ptr %5, align 1 %42 = sext i8 %41 to i32 %43 = icmp ne i32 %40, %42 br i1 %43, label %44, label %57 44: ; preds = %34 %45 = load ptr, ptr %4, align 8 %46 = load i8, ptr %5, align 1 %47 = call ptr @put_word(ptr noundef %45, i8 noundef signext %46, ptr noundef %7) %48 = load ptr, ptr %6, align 8 %49 = load i32, ptr %8, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds ptr, ptr %48, i64 %50 store ptr %47, ptr %51, align 8 %52 = icmp eq ptr %47, null br i1 %52, label %53, label %54 53: ; preds = %44 store ptr null, ptr %3, align 8 br label %73 54: ; preds = %44 %55 = load i32, ptr %8, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %8, align 4 br label %60 57: ; preds = %34 %58 = load i32, ptr %7, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %7, align 4 br label %60 60: ; preds = %57, %54 %61 = load ptr, ptr %4, align 8 %62 = load i32, ptr %7, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i8, ptr %61, i64 %63 %65 = load i8, ptr %64, align 1 %66 = icmp ne i8 %65, 0 br i1 %66, label %34, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %60 br label %67 67: ; preds = %._crit_edge, %27 %68 = load ptr, ptr %6, align 8 %69 = load i32, ptr %8, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds ptr, ptr %68, i64 %70 store ptr null, ptr %71, align 8 %72 = load ptr, ptr %6, align 8 store ptr %72, ptr %3, align 8 br label %73 73: ; preds = %67, %53, %26, %14 %74 = load ptr, ptr %3, align 8 ret ptr %74 } declare i64 @malloc(i32 noundef) #1 declare i32 @count_words(ptr noundef, i8 noundef signext) #1 declare ptr @put_word(ptr noundef, i8 noundef signext, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpsfbhgl3o.c' source_filename = "/tmp/tmpsfbhgl3o.c" target datalayout = "e-m:e-p270: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/tmpsfbhgl3o.c" target datalayout = "e-m:e-p270: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/tmpkswkwtir.c' source_filename = "/tmp/tmpkswkwtir.c" target datalayout = "e-m:e-p270: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 } %struct.TYPE_2__ = type { i32 } @PF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"socket\00", align 1 @AF_INET = dso_local global i32 0, align 4 @INADDR_ANY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [5 x i8] c"bind\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"listen\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"accept\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"read\00", align 1 @.str.5 = private unnamed_addr constant [26 x i8] c"\EC\9D\BD\EC\9D\80 \EB\B0\94\EC\9D\B4\ED\8A\B8 \EC\88\98 %ld\0A\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca %struct.sockaddr_in, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca %struct.sockaddr_in, align 4 %11 = alloca [100 x i8], align 16 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 -1, ptr %6, align 4 store i32 12, ptr %13, align 4 %14 = load i32, ptr @PF_INET, align 4 %15 = load i32, ptr @SOCK_STREAM, align 4 %16 = call i32 @socket(i32 noundef %14, i32 noundef %15, i32 noundef 0) store i32 %16, ptr %8, align 4 %17 = load i32, ptr %8, align 4 %18 = icmp eq i32 %17, -1 br i1 %18, label %19, label %21 19: ; preds = %2 %20 = call i32 @perror(ptr noundef @.str) br label %65 21: ; preds = %2 %22 = load i32, ptr @AF_INET, align 4 %23 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 2 store i32 %22, ptr %23, align 4 %24 = load i32, ptr @INADDR_ANY, align 4 %25 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 1 %26 = getelementptr inbounds %struct.TYPE_2__, ptr %25, i32 0, i32 0 store i32 %24, ptr %26, align 4 %27 = call i32 @htons(i32 noundef 3000) %28 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0 store i32 %27, ptr %28, align 4 %29 = load i32, ptr %8, align 4 %30 = call i32 @bind(i32 noundef %29, ptr noundef %7, i32 noundef 12) store i32 %30, ptr %6, align 4 %31 = icmp ne i32 %30, 0 br i1 %31, label %32, label %34 32: ; preds = %21 %33 = call i32 @perror(ptr noundef @.str.1) br label %65 34: ; preds = %21 %35 = load i32, ptr %8, align 4 %36 = call i32 @listen(i32 noundef %35, i32 noundef 1) %37 = icmp eq i32 %36, -1 br i1 %37, label %38, label %40 38: ; preds = %34 %39 = call i32 @perror(ptr noundef @.str.2) br label %65 40: ; preds = %34 %41 = load i32, ptr %8, align 4 %42 = call i32 @accept(i32 noundef %41, ptr noundef %10, ptr noundef %13) store i32 %42, ptr %9, align 4 %43 = load i32, ptr %9, align 4 %44 = icmp eq i32 %43, -1 br i1 %44, label %45, label %47 45: ; preds = %40 %46 = call i32 @perror(ptr noundef @.str.3) br label %65 47: ; preds = %40 %48 = load i32, ptr %9, align 4 %49 = getelementptr inbounds [100 x i8], ptr %11, i64 0, i64 0 %50 = call i32 @read(i32 noundef %48, ptr noundef %49, i32 noundef 100) store i32 %50, ptr %12, align 4 %51 = load i32, ptr %12, align 4 %52 = icmp eq i32 %51, -1 br i1 %52, label %53, label %55 53: ; preds = %47 %54 = call i32 @perror(ptr noundef @.str.4) br label %65 55: ; preds = %47 %56 = load i32, ptr %12, align 4 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %56) %58 = getelementptr inbounds [100 x i8], ptr %11, i64 0, i64 0 %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %58) %60 = load i32, ptr %9, align 4 %61 = call i32 @close(i32 noundef %60) %62 = load i32, ptr %8, align 4 %63 = call i32 @close(i32 noundef %62) %64 = call i32 (...) @getchar() br label %65 65: ; preds = %55, %53, %45, %38, %32, %19 %66 = load i32, ptr %6, align 4 ret i32 %66 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @htons(i32 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 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @close(i32 noundef) #1 declare i32 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkswkwtir.c" target datalayout = "e-m:e-p270: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 } %struct.TYPE_2__ = type { i32 } @PF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"socket\00", align 1 @AF_INET = dso_local global i32 0, align 4 @INADDR_ANY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [5 x i8] c"bind\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"listen\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"accept\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"read\00", align 1 @.str.5 = private unnamed_addr constant [26 x i8] c"\EC\9D\BD\EC\9D\80 \EB\B0\94\EC\9D\B4\ED\8A\B8 \EC\88\98 %ld\0A\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca %struct.sockaddr_in, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca %struct.sockaddr_in, align 4 %11 = alloca [100 x i8], align 16 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 -1, ptr %6, align 4 store i32 12, ptr %13, align 4 %14 = load i32, ptr @PF_INET, align 4 %15 = load i32, ptr @SOCK_STREAM, align 4 %16 = call i32 @socket(i32 noundef %14, i32 noundef %15, i32 noundef 0) store i32 %16, ptr %8, align 4 %17 = load i32, ptr %8, align 4 %18 = icmp eq i32 %17, -1 br i1 %18, label %19, label %21 19: ; preds = %2 %20 = call i32 @perror(ptr noundef @.str) br label %65 21: ; preds = %2 %22 = load i32, ptr @AF_INET, align 4 %23 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 2 store i32 %22, ptr %23, align 4 %24 = load i32, ptr @INADDR_ANY, align 4 %25 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 1 %26 = getelementptr inbounds %struct.TYPE_2__, ptr %25, i32 0, i32 0 store i32 %24, ptr %26, align 4 %27 = call i32 @htons(i32 noundef 3000) %28 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0 store i32 %27, ptr %28, align 4 %29 = load i32, ptr %8, align 4 %30 = call i32 @bind(i32 noundef %29, ptr noundef %7, i32 noundef 12) store i32 %30, ptr %6, align 4 %31 = icmp ne i32 %30, 0 br i1 %31, label %32, label %34 32: ; preds = %21 %33 = call i32 @perror(ptr noundef @.str.1) br label %65 34: ; preds = %21 %35 = load i32, ptr %8, align 4 %36 = call i32 @listen(i32 noundef %35, i32 noundef 1) %37 = icmp eq i32 %36, -1 br i1 %37, label %38, label %40 38: ; preds = %34 %39 = call i32 @perror(ptr noundef @.str.2) br label %65 40: ; preds = %34 %41 = load i32, ptr %8, align 4 %42 = call i32 @accept(i32 noundef %41, ptr noundef %10, ptr noundef %13) store i32 %42, ptr %9, align 4 %43 = load i32, ptr %9, align 4 %44 = icmp eq i32 %43, -1 br i1 %44, label %45, label %47 45: ; preds = %40 %46 = call i32 @perror(ptr noundef @.str.3) br label %65 47: ; preds = %40 %48 = load i32, ptr %9, align 4 %49 = getelementptr inbounds [100 x i8], ptr %11, i64 0, i64 0 %50 = call i32 @read(i32 noundef %48, ptr noundef %49, i32 noundef 100) store i32 %50, ptr %12, align 4 %51 = load i32, ptr %12, align 4 %52 = icmp eq i32 %51, -1 br i1 %52, label %53, label %55 53: ; preds = %47 %54 = call i32 @perror(ptr noundef @.str.4) br label %65 55: ; preds = %47 %56 = load i32, ptr %12, align 4 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %56) %58 = getelementptr inbounds [100 x i8], ptr %11, i64 0, i64 0 %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %58) %60 = load i32, ptr %9, align 4 %61 = call i32 @close(i32 noundef %60) %62 = load i32, ptr %8, align 4 %63 = call i32 @close(i32 noundef %62) %64 = call i32 (...) @getchar() br label %65 65: ; preds = %55, %53, %45, %38, %32, %19 %66 = load i32, ptr %6, align 4 ret i32 %66 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @htons(i32 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 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @close(i32 noundef) #1 declare i32 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_8thrivy.c' source_filename = "/tmp/tmp_8thrivy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%*c\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"<%s>%i</%s>\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printXmlSixDigits(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %7 = load i32, ptr %5, align 4 %8 = icmp ugt i32 %7, 0 br i1 %8, label %9, label %12 9: ; preds = %3 %10 = load i32, ptr %5, align 4 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %10, i32 noundef 32) br label %12 12: ; preds = %9, %3 %13 = load ptr, ptr %6, align 8 %14 = load ptr, ptr %4, align 8 %15 = load i32, ptr %14, align 4 %16 = load ptr, ptr %6, align 8 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %13, i32 noundef %15, ptr noundef %16) 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/tmp_8thrivy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%*c\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"<%s>%i</%s>\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printXmlSixDigits(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %7 = load i32, ptr %5, align 4 %8 = icmp ugt i32 %7, 0 br i1 %8, label %9, label %12 9: ; preds = %3 %10 = load i32, ptr %5, align 4 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %10, i32 noundef 32) br label %12 12: ; preds = %9, %3 %13 = load ptr, ptr %6, align 8 %14 = load ptr, ptr %4, align 8 %15 = load i32, ptr %14, align 4 %16 = load ptr, ptr %6, align 8 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %13, i32 noundef %15, ptr noundef %16) 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/tmpfs2aedkz.c' source_filename = "/tmp/tmpfs2aedkz.c" target datalayout = "e-m:e-p270: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/tmpfs2aedkz.c" target datalayout = "e-m:e-p270: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/tmp71u8fxj4.c' source_filename = "/tmp/tmp71u8fxj4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @geom_cross2f(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca float, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca double, align 8 %9 = alloca [2 x double], align 16 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %10 = load ptr, ptr %4, align 8 %11 = getelementptr inbounds float, ptr %10, i64 0 %12 = load float, ptr %11, align 4 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds float, ptr %13, i64 0 %15 = load float, ptr %14, align 4 %16 = load ptr, ptr %4, align 8 %17 = getelementptr inbounds float, ptr %16, i64 1 %18 = load float, ptr %17, align 4 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds float, ptr %19, i64 1 %21 = load float, ptr %20, align 4 %22 = fmul float %18, %21 %23 = call float @llvm.fmuladd.f32(float %12, float %15, float %22) store float %23, ptr %6, align 4 %24 = load ptr, ptr %4, align 8 %25 = getelementptr inbounds float, ptr %24, i64 0 %26 = load float, ptr %25, align 4 %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds float, ptr %27, i64 1 %29 = load float, ptr %28, align 4 %30 = load ptr, ptr %4, align 8 %31 = getelementptr inbounds float, ptr %30, i64 1 %32 = load float, ptr %31, align 4 %33 = load ptr, ptr %5, align 8 %34 = getelementptr inbounds float, ptr %33, i64 0 %35 = load float, ptr %34, align 4 %36 = fmul float %32, %35 %37 = fneg float %36 %38 = call float @llvm.fmuladd.f32(float %26, float %29, float %37) store float %38, ptr %7, align 4 %39 = load float, ptr %7, align 4 %40 = load float, ptr %6, align 4 %41 = fcmp ogt float %39, %40 br i1 %41, label %42, label %44 42: ; preds = %2 %43 = load float, ptr %7, align 4 store float %43, ptr %3, align 4 br label %102 44: ; preds = %2 %45 = load float, ptr %6, align 4 %46 = load ptr, ptr %4, align 8 %47 = getelementptr inbounds float, ptr %46, i64 0 %48 = load float, ptr %47, align 4 %49 = load ptr, ptr %4, align 8 %50 = getelementptr inbounds float, ptr %49, i64 0 %51 = load float, ptr %50, align 4 %52 = load ptr, ptr %4, align 8 %53 = getelementptr inbounds float, ptr %52, i64 1 %54 = load float, ptr %53, align 4 %55 = load ptr, ptr %4, align 8 %56 = getelementptr inbounds float, ptr %55, i64 1 %57 = load float, ptr %56, align 4 %58 = fmul float %54, %57 %59 = call float @llvm.fmuladd.f32(float %48, float %51, float %58) %60 = fdiv float %45, %59 %61 = call double @round(float noundef %60) store double %61, ptr %8, align 8 %62 = getelementptr inbounds [2 x double], ptr %9, i64 0, i64 0 %63 = load ptr, ptr %5, align 8 %64 = getelementptr inbounds float, ptr %63, i64 0 %65 = load float, ptr %64, align 4 %66 = fpext float %65 to double %67 = load ptr, ptr %4, align 8 %68 = getelementptr inbounds float, ptr %67, i64 0 %69 = load float, ptr %68, align 4 %70 = fpext float %69 to double %71 = load double, ptr %8, align 8 %72 = fneg double %70 %73 = call double @llvm.fmuladd.f64(double %72, double %71, double %66) store double %73, ptr %62, align 8 %74 = getelementptr inbounds double, ptr %62, i64 1 %75 = load ptr, ptr %5, align 8 %76 = getelementptr inbounds float, ptr %75, i64 1 %77 = load float, ptr %76, align 4 %78 = fpext float %77 to double %79 = load ptr, ptr %4, align 8 %80 = getelementptr inbounds float, ptr %79, i64 1 %81 = load float, ptr %80, align 4 %82 = fpext float %81 to double %83 = load double, ptr %8, align 8 %84 = fneg double %82 %85 = call double @llvm.fmuladd.f64(double %84, double %83, double %78) store double %85, ptr %74, align 8 %86 = load ptr, ptr %4, align 8 %87 = getelementptr inbounds float, ptr %86, i64 0 %88 = load float, ptr %87, align 4 %89 = fpext float %88 to double %90 = getelementptr inbounds [2 x double], ptr %9, i64 0, i64 1 %91 = load double, ptr %90, align 8 %92 = load ptr, ptr %4, align 8 %93 = getelementptr inbounds float, ptr %92, i64 1 %94 = load float, ptr %93, align 4 %95 = fpext float %94 to double %96 = getelementptr inbounds [2 x double], ptr %9, i64 0, i64 0 %97 = load double, ptr %96, align 16 %98 = fmul double %95, %97 %99 = fneg double %98 %100 = call double @llvm.fmuladd.f64(double %89, double %91, double %99) %101 = fptrunc double %100 to float store float %101, ptr %3, align 4 br label %102 102: ; preds = %44, %42 %103 = load float, ptr %3, align 4 ret float %103 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #1 declare double @round(float noundef) #2 ; 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) } 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/tmp71u8fxj4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @geom_cross2f(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca float, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca double, align 8 %9 = alloca [2 x double], align 16 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %10 = load ptr, ptr %4, align 8 %11 = getelementptr inbounds float, ptr %10, i64 0 %12 = load float, ptr %11, align 4 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds float, ptr %13, i64 0 %15 = load float, ptr %14, align 4 %16 = load ptr, ptr %4, align 8 %17 = getelementptr inbounds float, ptr %16, i64 1 %18 = load float, ptr %17, align 4 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds float, ptr %19, i64 1 %21 = load float, ptr %20, align 4 %22 = fmul float %18, %21 %23 = call float @llvm.fmuladd.f32(float %12, float %15, float %22) store float %23, ptr %6, align 4 %24 = load ptr, ptr %4, align 8 %25 = getelementptr inbounds float, ptr %24, i64 0 %26 = load float, ptr %25, align 4 %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds float, ptr %27, i64 1 %29 = load float, ptr %28, align 4 %30 = load ptr, ptr %4, align 8 %31 = getelementptr inbounds float, ptr %30, i64 1 %32 = load float, ptr %31, align 4 %33 = load ptr, ptr %5, align 8 %34 = getelementptr inbounds float, ptr %33, i64 0 %35 = load float, ptr %34, align 4 %36 = fmul float %32, %35 %37 = fneg float %36 %38 = call float @llvm.fmuladd.f32(float %26, float %29, float %37) store float %38, ptr %7, align 4 %39 = load float, ptr %7, align 4 %40 = load float, ptr %6, align 4 %41 = fcmp ogt float %39, %40 br i1 %41, label %42, label %44 42: ; preds = %2 %43 = load float, ptr %7, align 4 store float %43, ptr %3, align 4 br label %102 44: ; preds = %2 %45 = load float, ptr %6, align 4 %46 = load ptr, ptr %4, align 8 %47 = getelementptr inbounds float, ptr %46, i64 0 %48 = load float, ptr %47, align 4 %49 = load ptr, ptr %4, align 8 %50 = getelementptr inbounds float, ptr %49, i64 0 %51 = load float, ptr %50, align 4 %52 = load ptr, ptr %4, align 8 %53 = getelementptr inbounds float, ptr %52, i64 1 %54 = load float, ptr %53, align 4 %55 = load ptr, ptr %4, align 8 %56 = getelementptr inbounds float, ptr %55, i64 1 %57 = load float, ptr %56, align 4 %58 = fmul float %54, %57 %59 = call float @llvm.fmuladd.f32(float %48, float %51, float %58) %60 = fdiv float %45, %59 %61 = call double @round(float noundef %60) store double %61, ptr %8, align 8 %62 = getelementptr inbounds [2 x double], ptr %9, i64 0, i64 0 %63 = load ptr, ptr %5, align 8 %64 = getelementptr inbounds float, ptr %63, i64 0 %65 = load float, ptr %64, align 4 %66 = fpext float %65 to double %67 = load ptr, ptr %4, align 8 %68 = getelementptr inbounds float, ptr %67, i64 0 %69 = load float, ptr %68, align 4 %70 = fpext float %69 to double %71 = load double, ptr %8, align 8 %72 = fneg double %70 %73 = call double @llvm.fmuladd.f64(double %72, double %71, double %66) store double %73, ptr %62, align 8 %74 = getelementptr inbounds double, ptr %62, i64 1 %75 = load ptr, ptr %5, align 8 %76 = getelementptr inbounds float, ptr %75, i64 1 %77 = load float, ptr %76, align 4 %78 = fpext float %77 to double %79 = load ptr, ptr %4, align 8 %80 = getelementptr inbounds float, ptr %79, i64 1 %81 = load float, ptr %80, align 4 %82 = fpext float %81 to double %83 = load double, ptr %8, align 8 %84 = fneg double %82 %85 = call double @llvm.fmuladd.f64(double %84, double %83, double %78) store double %85, ptr %74, align 8 %86 = load ptr, ptr %4, align 8 %87 = getelementptr inbounds float, ptr %86, i64 0 %88 = load float, ptr %87, align 4 %89 = fpext float %88 to double %90 = getelementptr inbounds [2 x double], ptr %9, i64 0, i64 1 %91 = load double, ptr %90, align 8 %92 = load ptr, ptr %4, align 8 %93 = getelementptr inbounds float, ptr %92, i64 1 %94 = load float, ptr %93, align 4 %95 = fpext float %94 to double %96 = getelementptr inbounds [2 x double], ptr %9, i64 0, i64 0 %97 = load double, ptr %96, align 16 %98 = fmul double %95, %97 %99 = fneg double %98 %100 = call double @llvm.fmuladd.f64(double %89, double %91, double %99) %101 = fptrunc double %100 to float store float %101, ptr %3, align 4 br label %102 102: ; preds = %44, %42 %103 = load float, ptr %3, align 4 ret float %103 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #1 declare double @round(float noundef) #2 ; 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) } 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/tmpu6u4vtfr.c' source_filename = "/tmp/tmpu6u4vtfr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"[LEGO]\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @lnp_lego_hexdump(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i32 @lnp_hexdump(ptr noundef @.str, ptr noundef %5, i32 noundef %6) ret void } declare i32 @lnp_hexdump(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu6u4vtfr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"[LEGO]\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @lnp_lego_hexdump(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i32 @lnp_hexdump(ptr noundef @.str, ptr noundef %5, i32 noundef %6) ret void } declare i32 @lnp_hexdump(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwab85ztb.c' source_filename = "/tmp/tmpwab85ztb.c" target datalayout = "e-m:e-p270: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.timespec = type { i32, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local { i32, i64 } @timeadd(i32 %0, i64 %1, i32 %2, i64 %3) #0 { %5 = alloca %struct.timespec, align 8 %6 = alloca %struct.timespec, align 8 %7 = alloca %struct.timespec, align 8 %8 = getelementptr inbounds { i32, i64 }, ptr %6, i32 0, i32 0 store i32 %0, ptr %8, align 8 %9 = getelementptr inbounds { i32, i64 }, ptr %6, i32 0, i32 1 store i64 %1, ptr %9, align 8 %10 = getelementptr inbounds { i32, i64 }, ptr %7, i32 0, i32 0 store i32 %2, ptr %10, align 8 %11 = getelementptr inbounds { i32, i64 }, ptr %7, i32 0, i32 1 store i64 %3, ptr %11, align 8 %12 = getelementptr inbounds %struct.timespec, ptr %6, i32 0, i32 1 %13 = load i64, ptr %12, align 8 %14 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 1 %15 = load i64, ptr %14, align 8 %16 = add nsw i64 %13, %15 %17 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 1 store i64 %16, ptr %17, align 8 %18 = getelementptr inbounds %struct.timespec, ptr %6, i32 0, i32 0 %19 = load i32, ptr %18, align 8 %20 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 0 %21 = load i32, ptr %20, align 8 %22 = add nsw i32 %19, %21 %23 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 0 store i32 %22, ptr %23, align 8 %24 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 0 %25 = load i32, ptr %24, align 8 %26 = icmp sge i32 %25, 1000000000 br i1 %26, label %27, label %34 27: ; preds = %4 %28 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 0 %29 = load i32, ptr %28, align 8 %30 = sub nsw i32 %29, 1000000000 store i32 %30, ptr %28, align 8 %31 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 1 %32 = load i64, ptr %31, align 8 %33 = add nsw i64 %32, 1 store i64 %33, ptr %31, align 8 br label %34 34: ; preds = %27, %4 %35 = load { i32, i64 }, ptr %5, align 8 ret { i32, i64 } %35 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwab85ztb.c" target datalayout = "e-m:e-p270: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.timespec = type { i32, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local { i32, i64 } @timeadd(i32 %0, i64 %1, i32 %2, i64 %3) #0 { %5 = alloca %struct.timespec, align 8 %6 = alloca %struct.timespec, align 8 %7 = alloca %struct.timespec, align 8 %8 = getelementptr inbounds { i32, i64 }, ptr %6, i32 0, i32 0 store i32 %0, ptr %8, align 8 %9 = getelementptr inbounds { i32, i64 }, ptr %6, i32 0, i32 1 store i64 %1, ptr %9, align 8 %10 = getelementptr inbounds { i32, i64 }, ptr %7, i32 0, i32 0 store i32 %2, ptr %10, align 8 %11 = getelementptr inbounds { i32, i64 }, ptr %7, i32 0, i32 1 store i64 %3, ptr %11, align 8 %12 = getelementptr inbounds %struct.timespec, ptr %6, i32 0, i32 1 %13 = load i64, ptr %12, align 8 %14 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 1 %15 = load i64, ptr %14, align 8 %16 = add nsw i64 %13, %15 %17 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 1 store i64 %16, ptr %17, align 8 %18 = getelementptr inbounds %struct.timespec, ptr %6, i32 0, i32 0 %19 = load i32, ptr %18, align 8 %20 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 0 %21 = load i32, ptr %20, align 8 %22 = add nsw i32 %19, %21 %23 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 0 store i32 %22, ptr %23, align 8 %24 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 0 %25 = load i32, ptr %24, align 8 %26 = icmp sge i32 %25, 1000000000 br i1 %26, label %27, label %34 27: ; preds = %4 %28 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 0 %29 = load i32, ptr %28, align 8 %30 = sub nsw i32 %29, 1000000000 store i32 %30, ptr %28, align 8 %31 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 1 %32 = load i64, ptr %31, align 8 %33 = add nsw i64 %32, 1 store i64 %33, ptr %31, align 8 br label %34 34: ; preds = %27, %4 %35 = load { i32, i64 }, ptr %5, align 8 ret { i32, i64 } %35 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwbvf2o69.c' source_filename = "/tmp/tmpwbvf2o69.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @_nl_log_untranslated.last_logfilename = internal global ptr null, align 8 @_nl_log_untranslated.last_logfile = internal global ptr null, align 8 @.str = private unnamed_addr constant [2 x i8] c"a\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"domain \00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"\0Amsgid \00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"\0Amsgid_plural \00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"\0Amsgstr[0] \22\22\0A\00", align 1 @.str.5 = private unnamed_addr constant [12 x i8] c"\0Amsgstr \22\22\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @_nl_log_untranslated(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr 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 ptr, align 8 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 %12 = load ptr, ptr @_nl_log_untranslated.last_logfilename, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %19, label %14 14: ; preds = %5 %15 = load ptr, ptr %6, align 8 %16 = load ptr, ptr @_nl_log_untranslated.last_logfilename, align 8 %17 = call i64 @strcmp(ptr noundef %15, ptr noundef %16) %18 = icmp ne i64 %17, 0 br i1 %18, label %19, label %50 19: ; preds = %14, %5 %20 = load ptr, ptr @_nl_log_untranslated.last_logfilename, align 8 %21 = icmp ne ptr %20, null br i1 %21, label %22, label %31 22: ; preds = %19 %23 = load ptr, ptr @_nl_log_untranslated.last_logfile, align 8 %24 = icmp ne ptr %23, null br i1 %24, label %25, label %28 25: ; preds = %22 %26 = load ptr, ptr @_nl_log_untranslated.last_logfile, align 8 %27 = call i32 @fclose(ptr noundef %26) store ptr null, ptr @_nl_log_untranslated.last_logfile, align 8 br label %28 28: ; preds = %25, %22 %29 = load ptr, ptr @_nl_log_untranslated.last_logfilename, align 8 %30 = call i32 @free(ptr noundef %29) store ptr null, ptr @_nl_log_untranslated.last_logfilename, align 8 br label %31 31: ; preds = %28, %19 %32 = load ptr, ptr %6, align 8 %33 = call i64 @strlen(ptr noundef %32) %34 = add nsw i64 %33, 1 %35 = call i64 @malloc(i64 noundef %34) %36 = inttoptr i64 %35 to ptr store ptr %36, ptr @_nl_log_untranslated.last_logfilename, align 8 %37 = load ptr, ptr @_nl_log_untranslated.last_logfilename, align 8 %38 = icmp eq ptr %37, null br i1 %38, label %39, label %40 39: ; preds = %31 br label %78 40: ; preds = %31 %41 = load ptr, ptr @_nl_log_untranslated.last_logfilename, align 8 %42 = load ptr, ptr %6, align 8 %43 = call i32 @strcpy(ptr noundef %41, ptr noundef %42) %44 = load ptr, ptr %6, align 8 %45 = call ptr @fopen(ptr noundef %44, ptr noundef @.str) store ptr %45, ptr @_nl_log_untranslated.last_logfile, align 8 %46 = load ptr, ptr @_nl_log_untranslated.last_logfile, align 8 %47 = icmp eq ptr %46, null br i1 %47, label %48, label %49 48: ; preds = %40 br label %78 49: ; preds = %40 br label %50 50: ; preds = %49, %14 %51 = load ptr, ptr @_nl_log_untranslated.last_logfile, align 8 store ptr %51, ptr %11, align 8 %52 = load ptr, ptr %11, align 8 %53 = call i32 @fprintf(ptr noundef %52, ptr noundef @.str.1) %54 = load ptr, ptr %11, align 8 %55 = load ptr, ptr %7, align 8 %56 = call i32 @print_escaped(ptr noundef %54, ptr noundef %55) %57 = load ptr, ptr %11, align 8 %58 = call i32 @fprintf(ptr noundef %57, ptr noundef @.str.2) %59 = load ptr, ptr %11, align 8 %60 = load ptr, ptr %8, align 8 %61 = call i32 @print_escaped(ptr noundef %59, ptr noundef %60) %62 = load i32, ptr %10, align 4 %63 = icmp ne i32 %62, 0 br i1 %63, label %64, label %72 64: ; preds = %50 %65 = load ptr, ptr %11, align 8 %66 = call i32 @fprintf(ptr noundef %65, ptr noundef @.str.3) %67 = load ptr, ptr %11, align 8 %68 = load ptr, ptr %9, align 8 %69 = call i32 @print_escaped(ptr noundef %67, ptr noundef %68) %70 = load ptr, ptr %11, align 8 %71 = call i32 @fprintf(ptr noundef %70, ptr noundef @.str.4) br label %75 72: ; preds = %50 %73 = load ptr, ptr %11, align 8 %74 = call i32 @fprintf(ptr noundef %73, ptr noundef @.str.5) br label %75 75: ; preds = %72, %64 %76 = load ptr, ptr %11, align 8 %77 = call i32 @putc(i8 noundef signext 10, ptr noundef %76) br label %78 78: ; preds = %75, %48, %39 ret void } declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i64 @malloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef) #1 declare i32 @print_escaped(ptr noundef, ptr noundef) #1 declare i32 @putc(i8 noundef signext, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwbvf2o69.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @_nl_log_untranslated.last_logfilename = internal global ptr null, align 8 @_nl_log_untranslated.last_logfile = internal global ptr null, align 8 @.str = private unnamed_addr constant [2 x i8] c"a\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"domain \00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"\0Amsgid \00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"\0Amsgid_plural \00", align 1 @.str.4 = private unnamed_addr constant [15 x i8] c"\0Amsgstr[0] \22\22\0A\00", align 1 @.str.5 = private unnamed_addr constant [12 x i8] c"\0Amsgstr \22\22\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @_nl_log_untranslated(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr 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 ptr, align 8 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 %12 = load ptr, ptr @_nl_log_untranslated.last_logfilename, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %19, label %14 14: ; preds = %5 %15 = load ptr, ptr %6, align 8 %16 = load ptr, ptr @_nl_log_untranslated.last_logfilename, align 8 %17 = call i64 @strcmp(ptr noundef %15, ptr noundef %16) %18 = icmp ne i64 %17, 0 br i1 %18, label %19, label %50 19: ; preds = %14, %5 %20 = load ptr, ptr @_nl_log_untranslated.last_logfilename, align 8 %21 = icmp ne ptr %20, null br i1 %21, label %22, label %31 22: ; preds = %19 %23 = load ptr, ptr @_nl_log_untranslated.last_logfile, align 8 %24 = icmp ne ptr %23, null br i1 %24, label %25, label %28 25: ; preds = %22 %26 = load ptr, ptr @_nl_log_untranslated.last_logfile, align 8 %27 = call i32 @fclose(ptr noundef %26) store ptr null, ptr @_nl_log_untranslated.last_logfile, align 8 br label %28 28: ; preds = %25, %22 %29 = load ptr, ptr @_nl_log_untranslated.last_logfilename, align 8 %30 = call i32 @free(ptr noundef %29) store ptr null, ptr @_nl_log_untranslated.last_logfilename, align 8 br label %31 31: ; preds = %28, %19 %32 = load ptr, ptr %6, align 8 %33 = call i64 @strlen(ptr noundef %32) %34 = add nsw i64 %33, 1 %35 = call i64 @malloc(i64 noundef %34) %36 = inttoptr i64 %35 to ptr store ptr %36, ptr @_nl_log_untranslated.last_logfilename, align 8 %37 = load ptr, ptr @_nl_log_untranslated.last_logfilename, align 8 %38 = icmp eq ptr %37, null br i1 %38, label %39, label %40 39: ; preds = %31 br label %78 40: ; preds = %31 %41 = load ptr, ptr @_nl_log_untranslated.last_logfilename, align 8 %42 = load ptr, ptr %6, align 8 %43 = call i32 @strcpy(ptr noundef %41, ptr noundef %42) %44 = load ptr, ptr %6, align 8 %45 = call ptr @fopen(ptr noundef %44, ptr noundef @.str) store ptr %45, ptr @_nl_log_untranslated.last_logfile, align 8 %46 = load ptr, ptr @_nl_log_untranslated.last_logfile, align 8 %47 = icmp eq ptr %46, null br i1 %47, label %48, label %49 48: ; preds = %40 br label %78 49: ; preds = %40 br label %50 50: ; preds = %49, %14 %51 = load ptr, ptr @_nl_log_untranslated.last_logfile, align 8 store ptr %51, ptr %11, align 8 %52 = load ptr, ptr %11, align 8 %53 = call i32 @fprintf(ptr noundef %52, ptr noundef @.str.1) %54 = load ptr, ptr %11, align 8 %55 = load ptr, ptr %7, align 8 %56 = call i32 @print_escaped(ptr noundef %54, ptr noundef %55) %57 = load ptr, ptr %11, align 8 %58 = call i32 @fprintf(ptr noundef %57, ptr noundef @.str.2) %59 = load ptr, ptr %11, align 8 %60 = load ptr, ptr %8, align 8 %61 = call i32 @print_escaped(ptr noundef %59, ptr noundef %60) %62 = load i32, ptr %10, align 4 %63 = icmp ne i32 %62, 0 br i1 %63, label %64, label %72 64: ; preds = %50 %65 = load ptr, ptr %11, align 8 %66 = call i32 @fprintf(ptr noundef %65, ptr noundef @.str.3) %67 = load ptr, ptr %11, align 8 %68 = load ptr, ptr %9, align 8 %69 = call i32 @print_escaped(ptr noundef %67, ptr noundef %68) %70 = load ptr, ptr %11, align 8 %71 = call i32 @fprintf(ptr noundef %70, ptr noundef @.str.4) br label %75 72: ; preds = %50 %73 = load ptr, ptr %11, align 8 %74 = call i32 @fprintf(ptr noundef %73, ptr noundef @.str.5) br label %75 75: ; preds = %72, %64 %76 = load ptr, ptr %11, align 8 %77 = call i32 @putc(i8 noundef signext 10, ptr noundef %76) br label %78 78: ; preds = %75, %48, %39 ret void } declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i64 @malloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef) #1 declare i32 @print_escaped(ptr noundef, ptr noundef) #1 declare i32 @putc(i8 noundef signext, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE 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_ifg4zrp.c' source_filename = "/tmp/tmp_ifg4zrp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_Z6swrintf(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 float @llvm.rint.f32(float %3) ret float %4 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.rint.f32(float) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_ifg4zrp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_Z6swrintf(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 float @llvm.rint.f32(float %3) ret float %4 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.rint.f32(float) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpq4ni4s9g.c' source_filename = "/tmp/tmpq4ni4s9g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i64 (...) @getInput() %7 = icmp ne i64 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %2 %9 = call i32 (...) @search() br label %10 10: ; preds = %8, %2 ret i32 0 } declare i64 @getInput(...) #1 declare i32 @search(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq4ni4s9g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call i64 (...) @getInput() %7 = icmp ne i64 %6, 0 br i1 %7, label %8, label %10 8: ; preds = %2 %9 = call i32 (...) @search() br label %10 10: ; preds = %8, %2 ret i32 0 } declare i64 @getInput(...) #1 declare i32 @search(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}