llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpl6xrqr2e.c' source_filename = "/tmp/tmpl6xrqr2e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @interpretDuplicateTop(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 (...) @activeContextStackDuplicateTop() ret void } declare i32 @activeContextStackDuplicateTop(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpl6xrqr2e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @interpretDuplicateTop(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 (...) @activeContextStackDuplicateTop() ret void } declare i32 @activeContextStackDuplicateTop(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphajejm8t.c' source_filename = "/tmp/tmphajejm8t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ranged_random_mult(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = load i32, ptr %3, align 4 %10 = sub nsw i32 %9, 1 %11 = and i32 %8, %10 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %18 13: ; preds = %1 %14 = call i32 (...) @pcg32_random() %15 = load i32, ptr %3, align 4 %16 = sub nsw i32 %15, 1 %17 = and i32 %14, %16 store i32 %17, ptr %2, align 4 br label %49 18: ; preds = %1 %19 = load i32, ptr %3, align 4 %20 = icmp ugt i32 %19, -2147483648 br i1 %20, label %21, label %30 21: ; preds = %18 br label %22 22: ; preds = %26, %21 %23 = load i32, ptr %4, align 4 %24 = load i32, ptr %3, align 4 %25 = icmp sge i32 %23, %24 br i1 %25, label %26, label %28 26: ; preds = %22 %27 = call i32 (...) @pcg32_random() store i32 %27, ptr %4, align 4 br label %22, !llvm.loop !6 28: ; preds = %22 %29 = load i32, ptr %4, align 4 store i32 %29, ptr %2, align 4 br label %49 30: ; preds = %18 %31 = load i32, ptr %3, align 4 %32 = udiv i32 -1, %31 %33 = load i32, ptr %3, align 4 %34 = mul i32 %32, %33 %35 = sub i32 %34, 1 store i32 %35, ptr %7, align 4 br label %36 36: ; preds = %42, %30 %37 = call i32 (...) @pcg32_random() store i32 %37, ptr %4, align 4 %38 = load i32, ptr %4, align 4 %39 = load i32, ptr %3, align 4 %40 = mul nsw i32 %38, %39 store i32 %40, ptr %5, align 4 %41 = load i32, ptr %5, align 4 store i32 %41, ptr %6, align 4 br label %42 42: ; preds = %36 %43 = load i32, ptr %6, align 4 %44 = load i32, ptr %7, align 4 %45 = icmp sgt i32 %43, %44 br i1 %45, label %36, label %46, !llvm.loop !8 46: ; preds = %42 %47 = load i32, ptr %5, align 4 %48 = ashr i32 %47, 32 store i32 %48, ptr %2, align 4 br label %49 49: ; preds = %46, %28, %13 %50 = load i32, ptr %2, align 4 ret i32 %50 } declare i32 @pcg32_random(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphajejm8t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ranged_random_mult(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = load i32, ptr %3, align 4 %10 = sub nsw i32 %9, 1 %11 = and i32 %8, %10 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %18 13: ; preds = %1 %14 = call i32 (...) @pcg32_random() %15 = load i32, ptr %3, align 4 %16 = sub nsw i32 %15, 1 %17 = and i32 %14, %16 store i32 %17, ptr %2, align 4 br label %51 18: ; preds = %1 %19 = load i32, ptr %3, align 4 %20 = icmp ugt i32 %19, -2147483648 br i1 %20, label %21, label %32 21: ; preds = %18 %22 = load i32, ptr %4, align 4 %23 = load i32, ptr %3, align 4 %24 = icmp sge i32 %22, %23 br i1 %24, label %.lr.ph, label %30 .lr.ph: ; preds = %21 br label %25 25: ; preds = %.lr.ph, %25 %26 = call i32 (...) @pcg32_random() store i32 %26, ptr %4, align 4 %27 = load i32, ptr %4, align 4 %28 = load i32, ptr %3, align 4 %29 = icmp sge i32 %27, %28 br i1 %29, label %25, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %30 30: ; preds = %._crit_edge, %21 %31 = load i32, ptr %4, align 4 store i32 %31, ptr %2, align 4 br label %51 32: ; preds = %18 %33 = load i32, ptr %3, align 4 %34 = udiv i32 -1, %33 %35 = load i32, ptr %3, align 4 %36 = mul i32 %34, %35 %37 = sub i32 %36, 1 store i32 %37, ptr %7, align 4 br label %38 38: ; preds = %44, %32 %39 = call i32 (...) @pcg32_random() store i32 %39, ptr %4, align 4 %40 = load i32, ptr %4, align 4 %41 = load i32, ptr %3, align 4 %42 = mul nsw i32 %40, %41 store i32 %42, ptr %5, align 4 %43 = load i32, ptr %5, align 4 store i32 %43, ptr %6, align 4 br label %44 44: ; preds = %38 %45 = load i32, ptr %6, align 4 %46 = load i32, ptr %7, align 4 %47 = icmp sgt i32 %45, %46 br i1 %47, label %38, label %48, !llvm.loop !8 48: ; preds = %44 %49 = load i32, ptr %5, align 4 %50 = ashr i32 %49, 32 store i32 %50, ptr %2, align 4 br label %51 51: ; preds = %48, %30, %13 %52 = load i32, ptr %2, align 4 ret i32 %52 } declare i32 @pcg32_random(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpjy98kril.c' source_filename = "/tmp/tmpjy98kril.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mesh_3d_aft_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10) #0 { %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 %22 = alloca ptr, align 8 store ptr %0, ptr %12, align 8 store ptr %1, ptr %13, align 8 store ptr %2, ptr %14, align 8 store ptr %3, ptr %15, align 8 store ptr %4, ptr %16, align 8 store ptr %5, ptr %17, align 8 store ptr %6, ptr %18, align 8 store ptr %7, ptr %19, align 8 store ptr %8, ptr %20, align 8 store ptr %9, ptr %21, align 8 store ptr %10, ptr %22, align 8 %23 = load ptr, ptr %12, align 8 %24 = load ptr, ptr %13, align 8 %25 = load ptr, ptr %14, align 8 %26 = load ptr, ptr %15, align 8 %27 = load ptr, ptr %16, align 8 %28 = load ptr, ptr %17, align 8 %29 = load ptr, ptr %18, align 8 %30 = load ptr, ptr %19, align 8 %31 = load ptr, ptr %20, align 8 %32 = load i32, ptr %31, align 4 %33 = load ptr, ptr %21, align 8 %34 = load i32, ptr %33, align 4 %35 = load ptr, ptr %22, align 8 %36 = load i32, ptr %35, align 4 %37 = call i32 @mesh_3d_aft_opts(ptr noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %29, ptr noundef %30, i32 noundef %32, i32 noundef %34, i32 noundef %36, i32 noundef 0, i32 noundef 0, i32 noundef 1, i32 noundef 0) ret i32 %37 } declare i32 @mesh_3d_aft_opts(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjy98kril.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mesh_3d_aft_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10) #0 { %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 %22 = alloca ptr, align 8 store ptr %0, ptr %12, align 8 store ptr %1, ptr %13, align 8 store ptr %2, ptr %14, align 8 store ptr %3, ptr %15, align 8 store ptr %4, ptr %16, align 8 store ptr %5, ptr %17, align 8 store ptr %6, ptr %18, align 8 store ptr %7, ptr %19, align 8 store ptr %8, ptr %20, align 8 store ptr %9, ptr %21, align 8 store ptr %10, ptr %22, align 8 %23 = load ptr, ptr %12, align 8 %24 = load ptr, ptr %13, align 8 %25 = load ptr, ptr %14, align 8 %26 = load ptr, ptr %15, align 8 %27 = load ptr, ptr %16, align 8 %28 = load ptr, ptr %17, align 8 %29 = load ptr, ptr %18, align 8 %30 = load ptr, ptr %19, align 8 %31 = load ptr, ptr %20, align 8 %32 = load i32, ptr %31, align 4 %33 = load ptr, ptr %21, align 8 %34 = load i32, ptr %33, align 4 %35 = load ptr, ptr %22, align 8 %36 = load i32, ptr %35, align 4 %37 = call i32 @mesh_3d_aft_opts(ptr noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %29, ptr noundef %30, i32 noundef %32, i32 noundef %34, i32 noundef %36, i32 noundef 0, i32 noundef 0, i32 noundef 1, i32 noundef 0) ret i32 %37 } declare i32 @mesh_3d_aft_opts(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfp3wpvv5.c' source_filename = "/tmp/tmpfp3wpvv5.c" target datalayout = "e-m:e-p270: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/tmpfp3wpvv5.c" target datalayout = "e-m:e-p270: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/tmpag5rl56j.c' source_filename = "/tmp/tmpag5rl56j.c" target datalayout = "e-m:e-p270: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.in_addr, i32, i32 } %struct.in_addr = type { i32 } %struct.hostent = type { ptr } @.str = private unnamed_addr constant [22 x i8] c"Usage: %s <hostname>\0A\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"looking up hostname\00", align 1 @PF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [10 x i8] c"in socket\00", align 1 @AF_INET = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [28 x i8] c"connecting to target server\00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c"HEAD / HTTP/1.0\0D\0A\0D\0A\00", align 1 @.str.5 = private unnamed_addr constant [8 x i8] c"Server:\00", align 1 @.str.6 = private unnamed_addr constant [29 x i8] c"The web server for %s is %s\0A\00", align 1 @.str.7 = private unnamed_addr constant [23 x i8] c"Server line not found\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca %struct.sockaddr_in, align 4 %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 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %10, 2 br i1 %11, label %12, label %18 12: ; preds = %2 %13 = load ptr, ptr %5, 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) #4 unreachable 18: ; preds = %2 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 1 %21 = load ptr, ptr %20, align 8 %22 = call ptr @gethostbyname(ptr noundef %21) store ptr %22, ptr %7, align 8 %23 = icmp eq ptr %22, null br i1 %23, label %24, label %26 24: ; preds = %18 %25 = call i32 @fatal(ptr noundef @.str.1) br label %26 26: ; preds = %24, %18 %27 = load i32, ptr @PF_INET, align 4 %28 = load i32, ptr @SOCK_STREAM, align 4 %29 = call i32 @socket(i32 noundef %27, i32 noundef %28, i32 noundef 0) store i32 %29, ptr %6, align 4 %30 = icmp eq i32 %29, -1 br i1 %30, label %31, label %33 31: ; preds = %26 %32 = call i32 @fatal(ptr noundef @.str.2) br label %33 33: ; preds = %31, %26 %34 = load i32, ptr @AF_INET, align 4 %35 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 3 store i32 %34, ptr %35, align 4 %36 = call i32 @htons(i32 noundef 80) %37 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 2 store i32 %36, ptr %37, align 4 %38 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 1 %39 = load ptr, ptr %7, align 8 %40 = getelementptr inbounds %struct.hostent, ptr %39, i32 0, i32 0 %41 = load ptr, ptr %40, align 8 %42 = getelementptr inbounds i64, ptr %41, i64 0 %43 = load i64, ptr %42, align 8 %44 = inttoptr i64 %43 to ptr call void @llvm.memcpy.p0.p0.i64(ptr align 4 %38, ptr align 4 %44, i64 4, i1 false) %45 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 0 %46 = call i32 @memset(ptr noundef %45, i8 noundef signext 0, i32 noundef 8) %47 = load i32, ptr %6, align 4 %48 = call i32 @connect(i32 noundef %47, ptr noundef %8, i32 noundef 4) %49 = icmp eq i32 %48, -1 br i1 %49, label %50, label %52 50: ; preds = %33 %51 = call i32 @fatal(ptr noundef @.str.3) br label %52 52: ; preds = %50, %33 %53 = load i32, ptr %6, align 4 %54 = call i32 @send_string(i32 noundef %53, ptr noundef @.str.4) br label %55 55: ; preds = %72, %52 %56 = load i32, ptr %6, align 4 %57 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %58 = call i64 @recv_line(i32 noundef %56, ptr noundef %57) %59 = icmp ne i64 %58, 0 br i1 %59, label %60, label %73 60: ; preds = %55 %61 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %62 = call i64 @strncasecmp(ptr noundef %61, ptr noundef @.str.5, i32 noundef 7) %63 = icmp eq i64 %62, 0 br i1 %63, label %64, label %72 64: ; preds = %60 %65 = load ptr, ptr %5, align 8 %66 = getelementptr inbounds ptr, ptr %65, i64 1 %67 = load ptr, ptr %66, align 8 %68 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %69 = getelementptr inbounds i8, ptr %68, i64 8 %70 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %67, ptr noundef %69) %71 = call i32 @exit(i32 noundef 0) #4 unreachable 72: ; preds = %60 br label %55, !llvm.loop !6 73: ; preds = %55 %74 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %75 = call i32 @exit(i32 noundef 1) #4 unreachable } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @gethostbyname(ptr noundef) #1 declare i32 @fatal(ptr noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @htons(i32 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 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1 declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @send_string(i32 noundef, ptr noundef) #1 declare i64 @recv_line(i32 noundef, ptr noundef) #1 declare i64 @strncasecmp(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 = { 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpag5rl56j.c" target datalayout = "e-m:e-p270: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.in_addr, i32, i32 } %struct.in_addr = type { i32 } %struct.hostent = type { ptr } @.str = private unnamed_addr constant [22 x i8] c"Usage: %s <hostname>\0A\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"looking up hostname\00", align 1 @PF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [10 x i8] c"in socket\00", align 1 @AF_INET = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [28 x i8] c"connecting to target server\00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c"HEAD / HTTP/1.0\0D\0A\0D\0A\00", align 1 @.str.5 = private unnamed_addr constant [8 x i8] c"Server:\00", align 1 @.str.6 = private unnamed_addr constant [29 x i8] c"The web server for %s is %s\0A\00", align 1 @.str.7 = private unnamed_addr constant [23 x i8] c"Server line not found\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca %struct.sockaddr_in, align 4 %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 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %10, 2 br i1 %11, label %12, label %18 12: ; preds = %2 %13 = load ptr, ptr %5, 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) #4 unreachable 18: ; preds = %2 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 1 %21 = load ptr, ptr %20, align 8 %22 = call ptr @gethostbyname(ptr noundef %21) store ptr %22, ptr %7, align 8 %23 = icmp eq ptr %22, null br i1 %23, label %24, label %26 24: ; preds = %18 %25 = call i32 @fatal(ptr noundef @.str.1) br label %26 26: ; preds = %24, %18 %27 = load i32, ptr @PF_INET, align 4 %28 = load i32, ptr @SOCK_STREAM, align 4 %29 = call i32 @socket(i32 noundef %27, i32 noundef %28, i32 noundef 0) store i32 %29, ptr %6, align 4 %30 = icmp eq i32 %29, -1 br i1 %30, label %31, label %33 31: ; preds = %26 %32 = call i32 @fatal(ptr noundef @.str.2) br label %33 33: ; preds = %31, %26 %34 = load i32, ptr @AF_INET, align 4 %35 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 3 store i32 %34, ptr %35, align 4 %36 = call i32 @htons(i32 noundef 80) %37 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 2 store i32 %36, ptr %37, align 4 %38 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 1 %39 = load ptr, ptr %7, align 8 %40 = getelementptr inbounds %struct.hostent, ptr %39, i32 0, i32 0 %41 = load ptr, ptr %40, align 8 %42 = getelementptr inbounds i64, ptr %41, i64 0 %43 = load i64, ptr %42, align 8 %44 = inttoptr i64 %43 to ptr call void @llvm.memcpy.p0.p0.i64(ptr align 4 %38, ptr align 4 %44, i64 4, i1 false) %45 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 0 %46 = call i32 @memset(ptr noundef %45, i8 noundef signext 0, i32 noundef 8) %47 = load i32, ptr %6, align 4 %48 = call i32 @connect(i32 noundef %47, ptr noundef %8, i32 noundef 4) %49 = icmp eq i32 %48, -1 br i1 %49, label %50, label %52 50: ; preds = %33 %51 = call i32 @fatal(ptr noundef @.str.3) br label %52 52: ; preds = %50, %33 %53 = load i32, ptr %6, align 4 %54 = call i32 @send_string(i32 noundef %53, ptr noundef @.str.4) %55 = load i32, ptr %6, align 4 %56 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %57 = call i64 @recv_line(i32 noundef %55, ptr noundef %56) %58 = icmp ne i64 %57, 0 br i1 %58, label %.lr.ph, label %75 .lr.ph: ; preds = %52 br label %63 59: ; preds = %63 %60 = load i32, ptr %6, align 4 %61 = call i64 @recv_line(i32 noundef %60, ptr noundef %56) %62 = icmp ne i64 %61, 0 br i1 %62, label %63, label %._crit_edge, !llvm.loop !6 63: ; preds = %.lr.ph, %59 %64 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %65 = call i64 @strncasecmp(ptr noundef %64, ptr noundef @.str.5, i32 noundef 7) %66 = icmp eq i64 %65, 0 br i1 %66, label %67, label %59 67: ; preds = %63 %68 = load ptr, ptr %5, align 8 %69 = getelementptr inbounds ptr, ptr %68, i64 1 %70 = load ptr, ptr %69, align 8 %71 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %72 = getelementptr inbounds i8, ptr %71, i64 8 %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %70, ptr noundef %72) %74 = call i32 @exit(i32 noundef 0) #4 unreachable ._crit_edge: ; preds = %59 br label %75 75: ; preds = %._crit_edge, %52 %76 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %77 = call i32 @exit(i32 noundef 1) #4 unreachable } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @gethostbyname(ptr noundef) #1 declare i32 @fatal(ptr noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @htons(i32 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 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1 declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @send_string(i32 noundef, ptr noundef) #1 declare i64 @recv_line(i32 noundef, ptr noundef) #1 declare i64 @strncasecmp(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 = { 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"}
; ModuleID = '/tmp/tmpazn21n0k.c' source_filename = "/tmp/tmpazn21n0k.c" target datalayout = "e-m:e-p270: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 @setgroups(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr @ENOSYS, align 4 store i32 %5, 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/tmpazn21n0k.c" target datalayout = "e-m:e-p270: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 @setgroups(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr @ENOSYS, align 4 store i32 %5, 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/tmpsz5o5mql.c' source_filename = "/tmp/tmpsz5o5mql.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"vuvedi visochinata n \0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c" \00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"+ \00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %5, align 4 %6 = call i32 @printf(ptr noundef @.str) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4) store i32 1, ptr %2, align 4 br label %8 8: ; preds = %37, %0 %9 = load i32, ptr %2, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp sle i32 %9, %10 br i1 %11, label %12, label %40 12: ; preds = %8 store i32 1, ptr %3, align 4 br label %13 13: ; preds = %21, %12 %14 = load i32, ptr %3, align 4 %15 = load i32, ptr %4, align 4 %16 = load i32, ptr %2, align 4 %17 = sub nsw i32 %15, %16 %18 = icmp sle i32 %14, %17 br i1 %18, label %19, label %24 19: ; preds = %13 %20 = call i32 @printf(ptr noundef @.str.2) br label %21 21: ; preds = %19 %22 = load i32, ptr %3, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %3, align 4 br label %13, !llvm.loop !6 24: ; preds = %13 br label %25 25: ; preds = %29, %24 %26 = call i32 @printf(ptr noundef @.str.3) %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 = %25 %30 = load i32, ptr %5, align 4 %31 = load i32, ptr %2, align 4 %32 = mul nsw i32 2, %31 %33 = sub nsw i32 %32, 1 %34 = icmp ne i32 %30, %33 br i1 %34, label %25, label %35, !llvm.loop !8 35: ; preds = %29 store i32 0, ptr %5, align 4 %36 = call i32 @printf(ptr noundef @.str.4) br label %37 37: ; preds = %35 %38 = load i32, ptr %2, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %2, align 4 br label %8, !llvm.loop !9 40: ; 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} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsz5o5mql.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"vuvedi visochinata n \0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c" \00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"+ \00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %5, align 4 %6 = call i32 @printf(ptr noundef @.str) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4) store i32 1, ptr %2, align 4 %8 = load i32, ptr %2, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp sle i32 %8, %9 br i1 %10, label %.lr.ph2, label %46 .lr.ph2: ; preds = %0 br label %11 11: ; preds = %.lr.ph2, %40 store i32 1, ptr %3, align 4 %12 = load i32, ptr %3, align 4 %13 = load i32, ptr %4, align 4 %14 = load i32, ptr %2, align 4 %15 = sub nsw i32 %13, %14 %16 = icmp sle i32 %12, %15 br i1 %16, label %.lr.ph, label %27 .lr.ph: ; preds = %11 br label %17 17: ; preds = %.lr.ph, %19 %18 = call i32 @printf(ptr noundef @.str.2) br label %19 19: ; preds = %17 %20 = load i32, ptr %3, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %3, align 4 %22 = load i32, ptr %3, align 4 %23 = load i32, ptr %4, align 4 %24 = load i32, ptr %2, align 4 %25 = sub nsw i32 %23, %24 %26 = icmp sle i32 %22, %25 br i1 %26, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %27 27: ; preds = %._crit_edge, %11 br label %28 28: ; preds = %32, %27 %29 = call i32 @printf(ptr noundef @.str.3) %30 = load i32, ptr %5, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %5, align 4 br label %32 32: ; preds = %28 %33 = load i32, ptr %5, align 4 %34 = load i32, ptr %2, align 4 %35 = mul nsw i32 2, %34 %36 = sub nsw i32 %35, 1 %37 = icmp ne i32 %33, %36 br i1 %37, label %28, label %38, !llvm.loop !8 38: ; preds = %32 store i32 0, ptr %5, align 4 %39 = call i32 @printf(ptr noundef @.str.4) br label %40 40: ; preds = %38 %41 = load i32, ptr %2, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %2, align 4 %43 = load i32, ptr %2, align 4 %44 = load i32, ptr %4, align 4 %45 = icmp sle i32 %43, %44 br i1 %45, label %11, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %40 br label %46 46: ; 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} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpmx1jq0zb.c' source_filename = "/tmp/tmpmx1jq0zb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @POLLIN = 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/tmpmx1jq0zb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @POLLIN = 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/tmp9jh4afi9.c' source_filename = "/tmp/tmp9jh4afi9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 store i32 0, ptr %2, align 4 br label %3 3: ; preds = %8, %0 %4 = load i32, ptr %2, align 4 %5 = icmp slt i32 %4, 5 br i1 %5, label %6, label %11 6: ; preds = %3 %7 = call i32 (...) @stat() br label %8 8: ; preds = %6 %9 = load i32, ptr %2, align 4 %10 = add nsw i32 %9, 1 store i32 %10, ptr %2, align 4 br label %3, !llvm.loop !6 11: ; preds = %3 ret i32 0 } declare i32 @stat(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp9jh4afi9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 store i32 0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp slt i32 %3, 5 br i1 %4, label %.lr.ph, label %12 .lr.ph: ; preds = %0 br label %5 5: ; preds = %.lr.ph, %7 %6 = call i32 (...) @stat() br label %7 7: ; preds = %5 %8 = load i32, ptr %2, align 4 %9 = add nsw i32 %8, 1 store i32 %9, ptr %2, align 4 %10 = load i32, ptr %2, align 4 %11 = icmp slt i32 %10, 5 br i1 %11, label %5, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %7 br label %12 12: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @stat(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpxvfpgw04.c' source_filename = "/tmp/tmpxvfpgw04.c" target datalayout = "e-m:e-p270: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.rlimit = type { i64 } %struct.stat = type { i64 } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [162 x i8] c"Usage:\0A\0A%s [filenames]\0A\0AOnce its deed is done kill the process by sending a terminating signal.\0ASIGINT (Ctrl+C) on the controlling terminal should do the trick.\0A\00", align 1 @RLIMIT_MEMLOCK = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [37 x i8] c"error getrlimit(RLIMIT_MEMLOCK): %s\0A\00", align 1 @errno = dso_local global i64 0, align 8 @.str.2 = private unnamed_addr constant [22 x i8] c"memlock rlimit: %llu\0A\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"mlocking '%s'... \00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @EINTR = dso_local global i64 0, align 8 @.str.4 = private unnamed_addr constant [22 x i8] c"error open('%s'): %s\0A\00", align 1 @.str.5 = private unnamed_addr constant [27 x i8] c"error fstat(fd['%s']): %s\0A\00", align 1 @.str.6 = private unnamed_addr constant [229 x i8] c"error: exceeded the memlock resource limit for this process.\0ARequired limit to mlock '%s': %llu (counting already mlocked files)\0ALocked memory resource limit set to: %llu\0AIncrease the locked memory resource limit and try again.\0A\00", align 1 @PROT_READ = dso_local global i32 0, align 4 @MAP_SHARED = dso_local global i32 0, align 4 @MAP_LOCKED = dso_local global i32 0, align 4 @MAP_FAILED = dso_local global ptr null, align 8 @.str.7 = private unnamed_addr constant [35 x i8] c"error mmap(fd['%s'], 0..%lld): %s\0A\00", align 1 @.str.8 = private unnamed_addr constant [35 x i8] c"error mlock(ptr[fd['%s']]=%p): %s\0A\00", align 1 @.str.9 = private unnamed_addr constant [6 x i8] c"done\0A\00", align 1 @.str.10 = private unnamed_addr constant [26 x i8] c"nothing locked, exiting.\0A\00", align 1 @.str.11 = private unnamed_addr constant [68 x i8] c"Files locked and cache heated up. pid=%lld. Going to sleep, .zZ...\0A\00", align 1 @.str.12 = private unnamed_addr constant [10 x i8] c"/dev/null\00", align 1 @.str.13 = private unnamed_addr constant [29 x i8] c"error open('/dev/null'): %s\0A\00", align 1 @.str.14 = private unnamed_addr constant [23 x i8] c"error select(...): %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 i64, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca %struct.rlimit, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca %struct.stat, align 8 %14 = 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 %15 = load i32, ptr %4, align 4 %16 = icmp sgt i32 2, %15 br i1 %16, label %17, label %23 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 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str, ptr noundef %21) store i32 1, ptr %3, align 4 br label %186 23: ; preds = %2 %24 = load i32, ptr @RLIMIT_MEMLOCK, align 4 %25 = call i32 @getrlimit(i32 noundef %24, ptr noundef %10) %26 = icmp eq i32 -1, %25 br i1 %26, label %27, label %32 27: ; preds = %23 %28 = load i32, ptr @stderr, align 4 %29 = load i64, ptr @errno, align 8 %30 = call ptr @strerror(i64 noundef %29) %31 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %28, ptr noundef @.str.1, ptr noundef %30) store i32 1, ptr %3, align 4 br label %186 32: ; preds = %23 %33 = load i32, ptr @stderr, align 4 %34 = getelementptr inbounds %struct.rlimit, ptr %10, i32 0, i32 0 %35 = load i64, ptr %34, align 8 %36 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %33, ptr noundef @.str.2, i64 noundef %35) store i64 0, ptr %6, align 8 store i32 1, ptr %7, align 4 br label %37 37: ; preds = %151, %32 %38 = load i32, ptr %7, align 4 %39 = load i32, ptr %4, align 4 %40 = icmp slt i32 %38, %39 br i1 %40, label %41, label %154 41: ; preds = %37 %42 = load ptr, ptr %5, align 8 %43 = load i32, ptr %7, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds ptr, ptr %42, i64 %44 %46 = load ptr, ptr %45, align 8 store ptr %46, ptr %11, align 8 %47 = load i32, ptr @stderr, align 4 %48 = load ptr, ptr %11, align 8 %49 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %47, ptr noundef @.str.3, ptr noundef %48) br label %50 50: ; preds = %60, %41 %51 = load ptr, ptr %11, align 8 %52 = load i32, ptr @O_RDONLY, align 4 %53 = call i32 @open(ptr noundef %51, i32 noundef %52) store i32 %53, ptr %12, align 4 %54 = load i32, ptr %12, align 4 %55 = icmp eq i32 -1, %54 br i1 %55, label %56, label %67 56: ; preds = %50 %57 = load i64, ptr @EINTR, align 8 %58 = load i64, ptr @errno, align 8 %59 = icmp eq i64 %57, %58 br i1 %59, label %60, label %61 60: ; preds = %56 br label %50 61: ; preds = %56 %62 = load i32, ptr @stderr, align 4 %63 = load ptr, ptr %11, align 8 %64 = load i64, ptr @errno, align 8 %65 = call ptr @strerror(i64 noundef %64) %66 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %62, ptr noundef @.str.4, ptr noundef %63, ptr noundef %65) br label %151 67: ; preds = %50 %68 = load i32, ptr %12, align 4 %69 = call i32 @fstat(i32 noundef %68, ptr noundef %13) %70 = icmp eq i32 -1, %69 br i1 %70, label %71, label %77 71: ; preds = %67 %72 = load i32, ptr @stderr, align 4 %73 = load ptr, ptr %11, align 8 %74 = load i64, ptr @errno, align 8 %75 = call ptr @strerror(i64 noundef %74) %76 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %72, ptr noundef @.str.5, ptr noundef %73, ptr noundef %75) br label %146 77: ; preds = %67 %78 = load i64, ptr %6, align 8 %79 = getelementptr inbounds %struct.stat, ptr %13, i32 0, i32 0 %80 = load i64, ptr %79, align 8 %81 = add i64 %78, %80 %82 = getelementptr inbounds %struct.rlimit, ptr %10, i32 0, i32 0 %83 = load i64, ptr %82, align 8 %84 = icmp ugt i64 %81, %83 br i1 %84, label %85, label %97 85: ; preds = %77 %86 = load i32, ptr @stderr, align 4 %87 = load ptr, ptr %11, align 8 %88 = load i64, ptr %6, align 8 %89 = getelementptr inbounds %struct.stat, ptr %13, i32 0, i32 0 %90 = load i64, ptr %89, align 8 %91 = add i64 %88, %90 %92 = getelementptr inbounds %struct.rlimit, ptr %10, i32 0, i32 0 %93 = load i64, ptr %92, align 8 %94 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %86, ptr noundef @.str.6, ptr noundef %87, i64 noundef %91, i64 noundef %93) %95 = load i32, ptr %12, align 4 %96 = call i32 @close(i32 noundef %95) br label %154 97: ; preds = %77 %98 = getelementptr inbounds %struct.stat, ptr %13, i32 0, i32 0 %99 = load i64, ptr %98, align 8 %100 = load i32, ptr @PROT_READ, align 4 %101 = load i32, ptr @MAP_SHARED, align 4 %102 = load i32, ptr @MAP_LOCKED, align 4 %103 = or i32 %101, %102 %104 = load i32, ptr %12, align 4 %105 = call ptr @mmap(ptr noundef null, i64 noundef %99, i32 noundef %100, i32 noundef %103, i32 noundef %104, i32 noundef 0) store ptr %105, ptr %14, align 8 %106 = load ptr, ptr @MAP_FAILED, align 8 %107 = load ptr, ptr %14, align 8 %108 = icmp eq ptr %106, %107 br i1 %108, label %109, label %117 109: ; preds = %97 %110 = load i32, ptr @stderr, align 4 %111 = load ptr, ptr %11, align 8 %112 = getelementptr inbounds %struct.stat, ptr %13, i32 0, i32 0 %113 = load i64, ptr %112, align 8 %114 = load i64, ptr @errno, align 8 %115 = call ptr @strerror(i64 noundef %114) %116 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %110, ptr noundef @.str.7, ptr noundef %111, i64 noundef %113, ptr noundef %115) br label %146 117: ; preds = %97 %118 = load ptr, ptr %14, align 8 %119 = getelementptr inbounds %struct.stat, ptr %13, i32 0, i32 0 %120 = load i64, ptr %119, align 8 %121 = call i32 @mlock(ptr noundef %118, i64 noundef %120) %122 = icmp eq i32 -1, %121 br i1 %122, label %123, label %130 123: ; preds = %117 %124 = load i32, ptr @stderr, align 4 %125 = load ptr, ptr %11, align 8 %126 = load ptr, ptr %14, align 8 %127 = load i64, ptr @errno, align 8 %128 = call ptr @strerror(i64 noundef %127) %129 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %124, ptr noundef @.str.8, ptr noundef %125, ptr noundef %126, ptr noundef %128) br label %146 130: ; preds = %117 %131 = load i64, ptr %6, align 8 %132 = getelementptr inbounds %struct.stat, ptr %13, i32 0, i32 0 %133 = load i64, ptr %132, align 8 %134 = add i64 %131, %133 %135 = load i64, ptr %6, align 8 %136 = icmp ult i64 %134, %135 br i1 %136, label %137, label %138 137: ; preds = %130 store i64 -1, ptr %6, align 8 br label %143 138: ; preds = %130 %139 = getelementptr inbounds %struct.stat, ptr %13, i32 0, i32 0 %140 = load i64, ptr %139, align 8 %141 = load i64, ptr %6, align 8 %142 = add i64 %141, %140 store i64 %142, ptr %6, align 8 br label %143 143: ; preds = %138, %137 %144 = load i32, ptr %12, align 4 %145 = call i32 @heat_the_cache(i32 noundef %144) br label %146 146: ; preds = %143, %123, %109, %71 %147 = load i32, ptr %12, align 4 %148 = call i32 @close(i32 noundef %147) %149 = load i32, ptr @stderr, align 4 %150 = call i32 @fputs(ptr noundef @.str.9, i32 noundef %149) br label %151 151: ; preds = %146, %61 %152 = load i32, ptr %7, align 4 %153 = add nsw i32 %152, 1 store i32 %153, ptr %7, align 4 br label %37, !llvm.loop !6 154: ; preds = %85, %37 %155 = load i64, ptr %6, align 8 %156 = icmp ne i64 %155, 0 br i1 %156, label %160, label %157 157: ; preds = %154 %158 = load i32, ptr @stderr, align 4 %159 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %158, ptr noundef @.str.10) store i32 1, ptr %3, align 4 br label %186 160: ; preds = %154 %161 = load i32, ptr @stderr, align 4 %162 = call i64 (...) @getpid() %163 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %161, ptr noundef @.str.11, i64 noundef %162) %164 = load i32, ptr @O_RDONLY, align 4 %165 = call i32 @open(ptr noundef @.str.12, i32 noundef %164) store i32 %165, ptr %8, align 4 %166 = load i32, ptr %8, align 4 %167 = icmp eq i32 -1, %166 br i1 %167, label %168, label %173 168: ; preds = %160 %169 = load i32, ptr @stderr, align 4 %170 = load i64, ptr @errno, align 8 %171 = call ptr @strerror(i64 noundef %170) %172 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %169, ptr noundef @.str.13, ptr noundef %171) store i32 1, ptr %3, align 4 br label %186 173: ; preds = %160 %174 = call i32 @FD_ZERO(ptr noundef %9) %175 = load i32, ptr %8, align 4 %176 = call i32 @FD_SET(i32 noundef %175, ptr noundef %9) %177 = load i32, ptr %8, align 4 %178 = call i32 @select(i32 noundef %177, ptr noundef %9, ptr noundef null, ptr noundef null, ptr noundef null) %179 = icmp eq i32 -1, %178 br i1 %179, label %180, label %185 180: ; preds = %173 %181 = load i32, ptr @stderr, align 4 %182 = load i64, ptr @errno, align 8 %183 = call ptr @strerror(i64 noundef %182) %184 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %181, ptr noundef @.str.14, ptr noundef %183) store i32 1, ptr %3, align 4 br label %186 185: ; preds = %173 store i32 0, ptr %3, align 4 br label %186 186: ; preds = %185, %180, %168, %157, %27, %17 %187 = load i32, ptr %3, align 4 ret i32 %187 } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @getrlimit(i32 noundef, ptr noundef) #1 declare ptr @strerror(i64 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @fstat(i32 noundef, ptr noundef) #1 declare i32 @close(i32 noundef) #1 declare ptr @mmap(ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @mlock(ptr noundef, i64 noundef) #1 declare i32 @heat_the_cache(i32 noundef) #1 declare i32 @fputs(ptr noundef, i32 noundef) #1 declare i64 @getpid(...) #1 declare i32 @FD_ZERO(ptr noundef) #1 declare i32 @FD_SET(i32 noundef, ptr noundef) #1 declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxvfpgw04.c" target datalayout = "e-m:e-p270: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.rlimit = type { i64 } %struct.stat = type { i64 } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [162 x i8] c"Usage:\0A\0A%s [filenames]\0A\0AOnce its deed is done kill the process by sending a terminating signal.\0ASIGINT (Ctrl+C) on the controlling terminal should do the trick.\0A\00", align 1 @RLIMIT_MEMLOCK = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [37 x i8] c"error getrlimit(RLIMIT_MEMLOCK): %s\0A\00", align 1 @errno = dso_local global i64 0, align 8 @.str.2 = private unnamed_addr constant [22 x i8] c"memlock rlimit: %llu\0A\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"mlocking '%s'... \00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @EINTR = dso_local global i64 0, align 8 @.str.4 = private unnamed_addr constant [22 x i8] c"error open('%s'): %s\0A\00", align 1 @.str.5 = private unnamed_addr constant [27 x i8] c"error fstat(fd['%s']): %s\0A\00", align 1 @.str.6 = private unnamed_addr constant [229 x i8] c"error: exceeded the memlock resource limit for this process.\0ARequired limit to mlock '%s': %llu (counting already mlocked files)\0ALocked memory resource limit set to: %llu\0AIncrease the locked memory resource limit and try again.\0A\00", align 1 @PROT_READ = dso_local global i32 0, align 4 @MAP_SHARED = dso_local global i32 0, align 4 @MAP_LOCKED = dso_local global i32 0, align 4 @MAP_FAILED = dso_local global ptr null, align 8 @.str.7 = private unnamed_addr constant [35 x i8] c"error mmap(fd['%s'], 0..%lld): %s\0A\00", align 1 @.str.8 = private unnamed_addr constant [35 x i8] c"error mlock(ptr[fd['%s']]=%p): %s\0A\00", align 1 @.str.9 = private unnamed_addr constant [6 x i8] c"done\0A\00", align 1 @.str.10 = private unnamed_addr constant [26 x i8] c"nothing locked, exiting.\0A\00", align 1 @.str.11 = private unnamed_addr constant [68 x i8] c"Files locked and cache heated up. pid=%lld. Going to sleep, .zZ...\0A\00", align 1 @.str.12 = private unnamed_addr constant [10 x i8] c"/dev/null\00", align 1 @.str.13 = private unnamed_addr constant [29 x i8] c"error open('/dev/null'): %s\0A\00", align 1 @.str.14 = private unnamed_addr constant [23 x i8] c"error select(...): %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 i64, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca %struct.rlimit, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca %struct.stat, align 8 %14 = 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 %15 = load i32, ptr %4, align 4 %16 = icmp sgt i32 2, %15 br i1 %16, label %17, label %23 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 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str, ptr noundef %21) store i32 1, ptr %3, align 4 br label %192 23: ; preds = %2 %24 = load i32, ptr @RLIMIT_MEMLOCK, align 4 %25 = call i32 @getrlimit(i32 noundef %24, ptr noundef %10) %26 = icmp eq i32 -1, %25 br i1 %26, label %27, label %32 27: ; preds = %23 %28 = load i32, ptr @stderr, align 4 %29 = load i64, ptr @errno, align 8 %30 = call ptr @strerror(i64 noundef %29) %31 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %28, ptr noundef @.str.1, ptr noundef %30) store i32 1, ptr %3, align 4 br label %192 32: ; preds = %23 %33 = load i32, ptr @stderr, align 4 %34 = getelementptr inbounds %struct.rlimit, ptr %10, i32 0, i32 0 %35 = load i64, ptr %34, align 8 %36 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %33, ptr noundef @.str.2, i64 noundef %35) store i64 0, ptr %6, align 8 store i32 1, ptr %7, align 4 %37 = load i32, ptr %7, align 4 %38 = load i32, ptr %4, align 4 %39 = icmp slt i32 %37, %38 br i1 %39, label %.lr.ph2, label %.loopexit .lr.ph2: ; preds = %32 br label %40 40: ; preds = %.lr.ph2, %154 %41 = load ptr, ptr %5, align 8 %42 = load i32, ptr %7, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds ptr, ptr %41, i64 %43 %45 = load ptr, ptr %44, align 8 store ptr %45, ptr %11, align 8 %46 = load i32, ptr @stderr, align 4 %47 = load ptr, ptr %11, align 8 %48 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %46, ptr noundef @.str.3, ptr noundef %47) %49 = load ptr, ptr %11, align 8 %50 = load i32, ptr @O_RDONLY, align 4 %51 = call i32 @open(ptr noundef %49, i32 noundef %50) store i32 %51, ptr %12, align 4 %52 = load i32, ptr %12, align 4 %53 = icmp eq i32 -1, %52 br i1 %53, label %.lr.ph, label %70 .lr.ph: ; preds = %40 br label %60 54: ; preds = %60 %55 = load ptr, ptr %11, align 8 %56 = load i32, ptr @O_RDONLY, align 4 %57 = call i32 @open(ptr noundef %55, i32 noundef %56) store i32 %57, ptr %12, align 4 %58 = load i32, ptr %12, align 4 %59 = icmp eq i32 -1, %58 br i1 %59, label %60, label %._crit_edge 60: ; preds = %.lr.ph, %54 %61 = load i64, ptr @EINTR, align 8 %62 = load i64, ptr @errno, align 8 %63 = icmp eq i64 %61, %62 br i1 %63, label %54, label %64 64: ; preds = %60 %65 = load i32, ptr @stderr, align 4 %66 = load ptr, ptr %11, align 8 %67 = load i64, ptr @errno, align 8 %68 = call ptr @strerror(i64 noundef %67) %69 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %65, ptr noundef @.str.4, ptr noundef %66, ptr noundef %68) br label %154 ._crit_edge: ; preds = %54 br label %70 70: ; preds = %._crit_edge, %40 %71 = load i32, ptr %12, align 4 %72 = call i32 @fstat(i32 noundef %71, ptr noundef %13) %73 = icmp eq i32 -1, %72 br i1 %73, label %74, label %80 74: ; preds = %70 %75 = load i32, ptr @stderr, align 4 %76 = load ptr, ptr %11, align 8 %77 = load i64, ptr @errno, align 8 %78 = call ptr @strerror(i64 noundef %77) %79 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %75, ptr noundef @.str.5, ptr noundef %76, ptr noundef %78) br label %149 80: ; preds = %70 %81 = load i64, ptr %6, align 8 %82 = getelementptr inbounds %struct.stat, ptr %13, i32 0, i32 0 %83 = load i64, ptr %82, align 8 %84 = add i64 %81, %83 %85 = getelementptr inbounds %struct.rlimit, ptr %10, i32 0, i32 0 %86 = load i64, ptr %85, align 8 %87 = icmp ugt i64 %84, %86 br i1 %87, label %88, label %100 88: ; preds = %80 %89 = load i32, ptr @stderr, align 4 %90 = load ptr, ptr %11, align 8 %91 = load i64, ptr %6, align 8 %92 = getelementptr inbounds %struct.stat, ptr %13, i32 0, i32 0 %93 = load i64, ptr %92, align 8 %94 = add i64 %91, %93 %95 = getelementptr inbounds %struct.rlimit, ptr %10, i32 0, i32 0 %96 = load i64, ptr %95, align 8 %97 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %89, ptr noundef @.str.6, ptr noundef %90, i64 noundef %94, i64 noundef %96) %98 = load i32, ptr %12, align 4 %99 = call i32 @close(i32 noundef %98) br label %160 100: ; preds = %80 %101 = getelementptr inbounds %struct.stat, ptr %13, i32 0, i32 0 %102 = load i64, ptr %101, align 8 %103 = load i32, ptr @PROT_READ, align 4 %104 = load i32, ptr @MAP_SHARED, align 4 %105 = load i32, ptr @MAP_LOCKED, align 4 %106 = or i32 %104, %105 %107 = load i32, ptr %12, align 4 %108 = call ptr @mmap(ptr noundef null, i64 noundef %102, i32 noundef %103, i32 noundef %106, i32 noundef %107, i32 noundef 0) store ptr %108, ptr %14, align 8 %109 = load ptr, ptr @MAP_FAILED, align 8 %110 = load ptr, ptr %14, align 8 %111 = icmp eq ptr %109, %110 br i1 %111, label %112, label %120 112: ; preds = %100 %113 = load i32, ptr @stderr, align 4 %114 = load ptr, ptr %11, align 8 %115 = getelementptr inbounds %struct.stat, ptr %13, i32 0, i32 0 %116 = load i64, ptr %115, align 8 %117 = load i64, ptr @errno, align 8 %118 = call ptr @strerror(i64 noundef %117) %119 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %113, ptr noundef @.str.7, ptr noundef %114, i64 noundef %116, ptr noundef %118) br label %149 120: ; preds = %100 %121 = load ptr, ptr %14, align 8 %122 = getelementptr inbounds %struct.stat, ptr %13, i32 0, i32 0 %123 = load i64, ptr %122, align 8 %124 = call i32 @mlock(ptr noundef %121, i64 noundef %123) %125 = icmp eq i32 -1, %124 br i1 %125, label %126, label %133 126: ; preds = %120 %127 = load i32, ptr @stderr, align 4 %128 = load ptr, ptr %11, align 8 %129 = load ptr, ptr %14, align 8 %130 = load i64, ptr @errno, align 8 %131 = call ptr @strerror(i64 noundef %130) %132 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %127, ptr noundef @.str.8, ptr noundef %128, ptr noundef %129, ptr noundef %131) br label %149 133: ; preds = %120 %134 = load i64, ptr %6, align 8 %135 = getelementptr inbounds %struct.stat, ptr %13, i32 0, i32 0 %136 = load i64, ptr %135, align 8 %137 = add i64 %134, %136 %138 = load i64, ptr %6, align 8 %139 = icmp ult i64 %137, %138 br i1 %139, label %140, label %141 140: ; preds = %133 store i64 -1, ptr %6, align 8 br label %146 141: ; preds = %133 %142 = getelementptr inbounds %struct.stat, ptr %13, i32 0, i32 0 %143 = load i64, ptr %142, align 8 %144 = load i64, ptr %6, align 8 %145 = add i64 %144, %143 store i64 %145, ptr %6, align 8 br label %146 146: ; preds = %141, %140 %147 = load i32, ptr %12, align 4 %148 = call i32 @heat_the_cache(i32 noundef %147) br label %149 149: ; preds = %146, %126, %112, %74 %150 = load i32, ptr %12, align 4 %151 = call i32 @close(i32 noundef %150) %152 = load i32, ptr @stderr, align 4 %153 = call i32 @fputs(ptr noundef @.str.9, i32 noundef %152) br label %154 154: ; preds = %149, %64 %155 = load i32, ptr %7, align 4 %156 = add nsw i32 %155, 1 store i32 %156, ptr %7, align 4 %157 = load i32, ptr %7, align 4 %158 = load i32, ptr %4, align 4 %159 = icmp slt i32 %157, %158 br i1 %159, label %40, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %154 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %32 br label %160 160: ; preds = %.loopexit, %88 %161 = load i64, ptr %6, align 8 %162 = icmp ne i64 %161, 0 br i1 %162, label %166, label %163 163: ; preds = %160 %164 = load i32, ptr @stderr, align 4 %165 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %164, ptr noundef @.str.10) store i32 1, ptr %3, align 4 br label %192 166: ; preds = %160 %167 = load i32, ptr @stderr, align 4 %168 = call i64 (...) @getpid() %169 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %167, ptr noundef @.str.11, i64 noundef %168) %170 = load i32, ptr @O_RDONLY, align 4 %171 = call i32 @open(ptr noundef @.str.12, i32 noundef %170) store i32 %171, ptr %8, align 4 %172 = load i32, ptr %8, align 4 %173 = icmp eq i32 -1, %172 br i1 %173, label %174, label %179 174: ; preds = %166 %175 = load i32, ptr @stderr, align 4 %176 = load i64, ptr @errno, align 8 %177 = call ptr @strerror(i64 noundef %176) %178 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %175, ptr noundef @.str.13, ptr noundef %177) store i32 1, ptr %3, align 4 br label %192 179: ; preds = %166 %180 = call i32 @FD_ZERO(ptr noundef %9) %181 = load i32, ptr %8, align 4 %182 = call i32 @FD_SET(i32 noundef %181, ptr noundef %9) %183 = load i32, ptr %8, align 4 %184 = call i32 @select(i32 noundef %183, ptr noundef %9, ptr noundef null, ptr noundef null, ptr noundef null) %185 = icmp eq i32 -1, %184 br i1 %185, label %186, label %191 186: ; preds = %179 %187 = load i32, ptr @stderr, align 4 %188 = load i64, ptr @errno, align 8 %189 = call ptr @strerror(i64 noundef %188) %190 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %187, ptr noundef @.str.14, ptr noundef %189) store i32 1, ptr %3, align 4 br label %192 191: ; preds = %179 store i32 0, ptr %3, align 4 br label %192 192: ; preds = %191, %186, %174, %163, %27, %17 %193 = load i32, ptr %3, align 4 ret i32 %193 } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @getrlimit(i32 noundef, ptr noundef) #1 declare ptr @strerror(i64 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @fstat(i32 noundef, ptr noundef) #1 declare i32 @close(i32 noundef) #1 declare ptr @mmap(ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @mlock(ptr noundef, i64 noundef) #1 declare i32 @heat_the_cache(i32 noundef) #1 declare i32 @fputs(ptr noundef, i32 noundef) #1 declare i64 @getpid(...) #1 declare i32 @FD_ZERO(ptr noundef) #1 declare i32 @FD_SET(i32 noundef, ptr noundef) #1 declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp_e6qetc7.c' source_filename = "/tmp/tmp_e6qetc7.c" target datalayout = "e-m:e-p270: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_e6qetc7.c" target datalayout = "e-m:e-p270: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/tmpy3baz08d.c' source_filename = "/tmp/tmpy3baz08d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @random_walk_all(ptr noundef %0, i32 noundef %1, float noundef %2, float noundef %3, float noundef %4, float noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca float, align 4 %10 = alloca float, align 4 %11 = alloca float, align 4 %12 = alloca float, align 4 %13 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store i32 %1, ptr %8, align 4 store float %2, ptr %9, align 4 store float %3, ptr %10, align 4 store float %4, ptr %11, align 4 store float %5, ptr %12, align 4 store i32 0, ptr %13, align 4 br label %14 14: ; preds = %29, %6 %15 = load i32, ptr %13, align 4 %16 = load i32, ptr %8, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %18, label %32 18: ; preds = %14 %19 = load ptr, ptr %7, align 8 %20 = load i32, ptr %13, align 4 %21 = mul nsw i32 %20, 16 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds float, ptr %19, i64 %22 %24 = load float, ptr %9, align 4 %25 = load float, ptr %10, align 4 %26 = load float, ptr %11, align 4 %27 = load float, ptr %12, align 4 %28 = call i32 @random_walk(ptr noundef %23, float noundef %24, float noundef %25, float noundef %26, float noundef %27) br label %29 29: ; preds = %18 %30 = load i32, ptr %13, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %13, align 4 br label %14, !llvm.loop !6 32: ; preds = %14 ret void } declare i32 @random_walk(ptr noundef, float noundef, float noundef, float noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy3baz08d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @random_walk_all(ptr noundef %0, i32 noundef %1, float noundef %2, float noundef %3, float noundef %4, float noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca float, align 4 %10 = alloca float, align 4 %11 = alloca float, align 4 %12 = alloca float, align 4 %13 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store i32 %1, ptr %8, align 4 store float %2, ptr %9, align 4 store float %3, ptr %10, align 4 store float %4, ptr %11, align 4 store float %5, ptr %12, align 4 store i32 0, ptr %13, align 4 %14 = load i32, ptr %13, align 4 %15 = load i32, ptr %8, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %.lr.ph, label %34 .lr.ph: ; preds = %6 br label %17 17: ; preds = %.lr.ph, %28 %18 = load ptr, ptr %7, align 8 %19 = load i32, ptr %13, align 4 %20 = mul nsw i32 %19, 16 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds float, ptr %18, i64 %21 %23 = load float, ptr %9, align 4 %24 = load float, ptr %10, align 4 %25 = load float, ptr %11, align 4 %26 = load float, ptr %12, align 4 %27 = call i32 @random_walk(ptr noundef %22, float noundef %23, float noundef %24, float noundef %25, float noundef %26) br label %28 28: ; preds = %17 %29 = load i32, ptr %13, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %13, align 4 %31 = load i32, ptr %13, align 4 %32 = load i32, ptr %8, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %34 34: ; preds = %._crit_edge, %6 ret void } declare i32 @random_walk(ptr noundef, float noundef, float noundef, float noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp2qm9qhyf.c' source_filename = "/tmp/tmp2qm9qhyf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @read() #0 { %1 = call i32 (...) @_PROCEDURE_LINKAGE_TABLE_() ret void } declare i32 @_PROCEDURE_LINKAGE_TABLE_(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2qm9qhyf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @read() #0 { %1 = call i32 (...) @_PROCEDURE_LINKAGE_TABLE_() ret void } declare i32 @_PROCEDURE_LINKAGE_TABLE_(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpm9awu5nw.c' source_filename = "/tmp/tmpm9awu5nw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @update_running_processes() #0 { %1 = call i32 (...) @update_stat() ret void } declare i32 @update_stat(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm9awu5nw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @update_running_processes() #0 { %1 = call i32 (...) @update_stat() ret void } declare i32 @update_stat(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp93sbvw1w.c' source_filename = "/tmp/tmp93sbvw1w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%3d\09%3.1f\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 300, ptr %2, align 4 br label %3 3: ; preds = %11, %0 %4 = load i32, ptr %2, align 4 %5 = icmp sge i32 %4, 0 br i1 %5, label %6, label %14 6: ; preds = %3 %7 = load i32, ptr %2, align 4 %8 = load i32, ptr %2, align 4 %9 = call double @to_celsius(i32 noundef %8) %10 = call i32 @printf(ptr noundef @.str, i32 noundef %7, double noundef %9) br label %11 11: ; preds = %6 %12 = load i32, ptr %2, align 4 %13 = sub nsw i32 %12, 20 store i32 %13, ptr %2, align 4 br label %3, !llvm.loop !6 14: ; preds = %3 ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, double noundef) #1 declare double @to_celsius(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/tmp93sbvw1w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%3d\09%3.1f\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 300, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp sge i32 %3, 0 br i1 %4, label %.lr.ph, label %15 .lr.ph: ; preds = %0 br label %5 5: ; preds = %.lr.ph, %10 %6 = load i32, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = call double @to_celsius(i32 noundef %7) %9 = call i32 @printf(ptr noundef @.str, i32 noundef %6, double noundef %8) br label %10 10: ; preds = %5 %11 = load i32, ptr %2, align 4 %12 = sub nsw i32 %11, 20 store i32 %12, ptr %2, align 4 %13 = load i32, ptr %2, align 4 %14 = icmp sge i32 %13, 0 br i1 %14, label %5, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %10 br label %15 15: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, double noundef) #1 declare double @to_celsius(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/tmpkfwcwu6z.c' source_filename = "/tmp/tmpkfwcwu6z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [43 x i8] c"input parse error, odd digits in hex file\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%x\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @hex2bin() #0 { %1 = alloca [3 x i8], align 1 %2 = alloca i32, align 4 %3 = alloca i8, align 1 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %2, align 4 %6 = load i32, ptr @stdin, align 4 %7 = call i32 @fileno(i32 noundef %6) store i32 %7, ptr %4, align 4 br label %8 8: ; preds = %27, %0 %9 = load i32, ptr %4, align 4 %10 = getelementptr inbounds [3 x i8], ptr %1, i64 0, i64 0 %11 = call i32 @read(i32 noundef %9, ptr noundef %10, i32 noundef 2) store i32 %11, ptr %5, align 4 %12 = icmp sgt i32 %11, 0 br i1 %12, label %13, label %35 13: ; preds = %8 %14 = load i32, ptr %5, align 4 %15 = icmp eq i32 %14, 1 br i1 %15, label %16, label %27 16: ; preds = %13 %17 = getelementptr inbounds [3 x i8], ptr %1, i64 0, i64 0 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp ne i32 %19, 10 br i1 %20, label %21, label %25 21: ; preds = %16 %22 = load i32, ptr @stderr, align 4 %23 = call i32 @fprintf(i32 noundef %22, ptr noundef @.str) %24 = call i32 @exit(i32 noundef 1) #3 unreachable 25: ; preds = %16 %26 = call i32 @exit(i32 noundef 1) #3 unreachable 27: ; preds = %13 %28 = getelementptr inbounds [3 x i8], ptr %1, i64 0, i64 2 store i8 0, ptr %28, align 1 %29 = getelementptr inbounds [3 x i8], ptr %1, i64 0, i64 0 %30 = call i32 @sscanf(ptr noundef %29, ptr noundef @.str.1, ptr noundef %2) %31 = load i32, ptr %2, align 4 %32 = trunc i32 %31 to i8 store i8 %32, ptr %3, align 1 %33 = load i8, ptr %3, align 1 %34 = call i32 @printf(ptr noundef @.str.2, i8 noundef zeroext %33) br label %8, !llvm.loop !6 35: ; preds = %8 ret i32 0 } declare i32 @fileno(i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpkfwcwu6z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [43 x i8] c"input parse error, odd digits in hex file\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%x\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @hex2bin() #0 { %1 = alloca [3 x i8], align 1 %2 = alloca i32, align 4 %3 = alloca i8, align 1 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %2, align 4 %6 = load i32, ptr @stdin, align 4 %7 = call i32 @fileno(i32 noundef %6) store i32 %7, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = getelementptr inbounds [3 x i8], ptr %1, i64 0, i64 0 %10 = call i32 @read(i32 noundef %8, ptr noundef %9, i32 noundef 2) store i32 %10, ptr %5, align 4 %11 = icmp sgt i32 %10, 0 br i1 %11, label %.lr.ph, label %37 .lr.ph: ; preds = %0 br label %12 12: ; preds = %.lr.ph, %26 %13 = load i32, ptr %5, align 4 %14 = icmp eq i32 %13, 1 br i1 %14, label %15, label %26 15: ; preds = %12 %16 = getelementptr inbounds [3 x i8], ptr %1, i64 0, i64 0 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = icmp ne i32 %18, 10 br i1 %19, label %20, label %24 20: ; preds = %15 %21 = load i32, ptr @stderr, align 4 %22 = call i32 @fprintf(i32 noundef %21, ptr noundef @.str) %23 = call i32 @exit(i32 noundef 1) #3 unreachable 24: ; preds = %15 %25 = call i32 @exit(i32 noundef 1) #3 unreachable 26: ; preds = %12 %27 = getelementptr inbounds [3 x i8], ptr %1, i64 0, i64 2 store i8 0, ptr %27, align 1 %28 = getelementptr inbounds [3 x i8], ptr %1, i64 0, i64 0 %29 = call i32 @sscanf(ptr noundef %28, ptr noundef @.str.1, ptr noundef %2) %30 = load i32, ptr %2, align 4 %31 = trunc i32 %30 to i8 store i8 %31, ptr %3, align 1 %32 = load i8, ptr %3, align 1 %33 = call i32 @printf(ptr noundef @.str.2, i8 noundef zeroext %32) %34 = load i32, ptr %4, align 4 %35 = call i32 @read(i32 noundef %34, ptr noundef %9, i32 noundef 2) store i32 %35, ptr %5, align 4 %36 = icmp sgt i32 %35, 0 br i1 %36, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %37 37: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @fileno(i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpmbf3_qlb.c' source_filename = "/tmp/tmpmbf3_qlb.c" target datalayout = "e-m:e-p270: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/tmpmbf3_qlb.c" target datalayout = "e-m:e-p270: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/tmpm199kswp.c' source_filename = "/tmp/tmpm199kswp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong willreturn memory(read) uwtable define dso_local i32 @isgraph(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 @__C_isgraph(i32 noundef %3) ret i32 %4 } declare i32 @__C_isgraph(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong willreturn memory(read) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm199kswp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong willreturn memory(read) uwtable define dso_local i32 @isgraph(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 @__C_isgraph(i32 noundef %3) ret i32 %4 } declare i32 @__C_isgraph(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong willreturn memory(read) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_7_db6yh.c' source_filename = "/tmp/tmp_7_db6yh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @searchMatrix(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 %12 = load i32, ptr %7, align 4 %13 = sub nsw i32 %12, 1 store i32 %13, ptr %10, align 4 store i32 0, ptr %11, align 4 br label %14 14: ; preds = %55, %4 %15 = load i32, ptr %10, align 4 %16 = icmp sgt i32 %15, -1 br i1 %16, label %17, label %21 17: ; preds = %14 %18 = load i32, ptr %11, align 4 %19 = load i32, ptr %8, align 4 %20 = icmp slt i32 %18, %19 br label %21 21: ; preds = %17, %14 %22 = phi i1 [ false, %14 ], [ %20, %17 ] br i1 %22, label %23, label %56 23: ; preds = %21 %24 = load ptr, ptr %6, align 8 %25 = load i32, ptr %10, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds ptr, ptr %24, i64 %26 %28 = load ptr, ptr %27, align 8 %29 = load i32, ptr %11, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i32, ptr %28, i64 %30 %32 = load i32, ptr %31, align 4 %33 = load i32, ptr %9, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %35, label %38 35: ; preds = %23 %36 = load i32, ptr %11, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %11, align 4 br label %55 38: ; preds = %23 %39 = load ptr, ptr %6, align 8 %40 = load i32, ptr %10, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds ptr, ptr %39, i64 %41 %43 = load ptr, ptr %42, align 8 %44 = load i32, ptr %11, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i32, ptr %43, i64 %45 %47 = load i32, ptr %46, align 4 %48 = load i32, ptr %9, align 4 %49 = icmp sgt i32 %47, %48 br i1 %49, label %50, label %53 50: ; preds = %38 %51 = load i32, ptr %10, align 4 %52 = add nsw i32 %51, -1 store i32 %52, ptr %10, align 4 br label %54 53: ; preds = %38 store i32 1, ptr %5, align 4 br label %57 54: ; preds = %50 br label %55 55: ; preds = %54, %35 br label %14, !llvm.loop !6 56: ; preds = %21 store i32 0, ptr %5, align 4 br label %57 57: ; preds = %56, %53 %58 = load i32, ptr %5, align 4 ret i32 %58 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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_7_db6yh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @searchMatrix(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 %12 = load i32, ptr %7, align 4 %13 = sub nsw i32 %12, 1 store i32 %13, ptr %10, align 4 store i32 0, ptr %11, align 4 br label %14 14: ; preds = %55, %4 %15 = load i32, ptr %10, align 4 %16 = icmp sgt i32 %15, -1 br i1 %16, label %17, label %21 17: ; preds = %14 %18 = load i32, ptr %11, align 4 %19 = load i32, ptr %8, align 4 %20 = icmp slt i32 %18, %19 br label %21 21: ; preds = %17, %14 %22 = phi i1 [ false, %14 ], [ %20, %17 ] br i1 %22, label %23, label %56 23: ; preds = %21 %24 = load ptr, ptr %6, align 8 %25 = load i32, ptr %10, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds ptr, ptr %24, i64 %26 %28 = load ptr, ptr %27, align 8 %29 = load i32, ptr %11, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i32, ptr %28, i64 %30 %32 = load i32, ptr %31, align 4 %33 = load i32, ptr %9, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %35, label %38 35: ; preds = %23 %36 = load i32, ptr %11, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %11, align 4 br label %55 38: ; preds = %23 %39 = load ptr, ptr %6, align 8 %40 = load i32, ptr %10, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds ptr, ptr %39, i64 %41 %43 = load ptr, ptr %42, align 8 %44 = load i32, ptr %11, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i32, ptr %43, i64 %45 %47 = load i32, ptr %46, align 4 %48 = load i32, ptr %9, align 4 %49 = icmp sgt i32 %47, %48 br i1 %49, label %50, label %53 50: ; preds = %38 %51 = load i32, ptr %10, align 4 %52 = add nsw i32 %51, -1 store i32 %52, ptr %10, align 4 br label %54 53: ; preds = %38 store i32 1, ptr %5, align 4 br label %57 54: ; preds = %50 br label %55 55: ; preds = %54, %35 br label %14, !llvm.loop !6 56: ; preds = %21 store i32 0, ptr %5, align 4 br label %57 57: ; preds = %56, %53 %58 = load i32, ptr %5, align 4 ret i32 %58 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp_idm69kl.c' source_filename = "/tmp/tmp_idm69kl.c" target datalayout = "e-m:e-p270: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_idm69kl.c" target datalayout = "e-m:e-p270: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/tmptyc91fc4.c' source_filename = "/tmp/tmptyc91fc4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trio_append_max(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 %9 = call i32 @assert(ptr noundef %8) %10 = load ptr, ptr %6, align 8 %11 = call i32 @assert(ptr noundef %10) %12 = load ptr, ptr %4, align 8 %13 = call i64 @trio_length(ptr noundef %12) store i64 %13, ptr %7, align 8 %14 = load i64, ptr %5, align 8 %15 = load i64, ptr %7, align 8 %16 = icmp ugt i64 %14, %15 br i1 %16, label %17, label %25 17: ; preds = %3 %18 = load ptr, ptr %4, align 8 %19 = load ptr, ptr %6, align 8 %20 = load i64, ptr %5, align 8 %21 = load i64, ptr %7, align 8 %22 = sub i64 %20, %21 %23 = sub i64 %22, 1 %24 = call i32 @strncat(ptr noundef %18, ptr noundef %19, i64 noundef %23) br label %25 25: ; preds = %17, %3 ret i32 1 } declare i32 @assert(ptr noundef) #1 declare i64 @trio_length(ptr noundef) #1 declare i32 @strncat(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/tmptyc91fc4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trio_append_max(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 %9 = call i32 @assert(ptr noundef %8) %10 = load ptr, ptr %6, align 8 %11 = call i32 @assert(ptr noundef %10) %12 = load ptr, ptr %4, align 8 %13 = call i64 @trio_length(ptr noundef %12) store i64 %13, ptr %7, align 8 %14 = load i64, ptr %5, align 8 %15 = load i64, ptr %7, align 8 %16 = icmp ugt i64 %14, %15 br i1 %16, label %17, label %25 17: ; preds = %3 %18 = load ptr, ptr %4, align 8 %19 = load ptr, ptr %6, align 8 %20 = load i64, ptr %5, align 8 %21 = load i64, ptr %7, align 8 %22 = sub i64 %20, %21 %23 = sub i64 %22, 1 %24 = call i32 @strncat(ptr noundef %18, ptr noundef %19, i64 noundef %23) br label %25 25: ; preds = %17, %3 ret i32 1 } declare i32 @assert(ptr noundef) #1 declare i64 @trio_length(ptr noundef) #1 declare i32 @strncat(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/tmp5r6ir0jg.c' source_filename = "/tmp/tmp5r6ir0jg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isbdigit.c\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"isbdigit should be 0 for 0xbf\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isbdigit_0xbf() #0 { %1 = call i64 @isbdigit(i32 noundef 191) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 960, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isbdigit(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/tmp5r6ir0jg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isbdigit.c\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"isbdigit should be 0 for 0xbf\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isbdigit_0xbf() #0 { %1 = call i64 @isbdigit(i32 noundef 191) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 960, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isbdigit(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/tmp164qjmdp.c' source_filename = "/tmp/tmp164qjmdp.c" target datalayout = "e-m:e-p270: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/tmp164qjmdp.c" target datalayout = "e-m:e-p270: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/tmpm44_px4c.c' source_filename = "/tmp/tmpm44_px4c.c" target datalayout = "e-m:e-p270: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.s = private unnamed_addr constant [13 x i8] c"I am Michael\00", align 1 @.str = private unnamed_addr constant [3 x i8] c"am\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca [13 x i8], align 1 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %1, ptr align 1 @__const.main.s, i64 13, i1 false) %2 = getelementptr inbounds [13 x i8], ptr %1, i64 0, i64 0 %3 = call i32 @squeeze(ptr noundef %2, ptr noundef @.str) %4 = getelementptr inbounds [13 x i8], ptr %1, i64 0, i64 0 %5 = call i32 @printf(ptr noundef @.str.1, ptr noundef %4) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @squeeze(ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm44_px4c.c" target datalayout = "e-m:e-p270: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.s = private unnamed_addr constant [13 x i8] c"I am Michael\00", align 1 @.str = private unnamed_addr constant [3 x i8] c"am\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca [13 x i8], align 1 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %1, ptr align 1 @__const.main.s, i64 13, i1 false) %2 = getelementptr inbounds [13 x i8], ptr %1, i64 0, i64 0 %3 = call i32 @squeeze(ptr noundef %2, ptr noundef @.str) %4 = getelementptr inbounds [13 x i8], ptr %1, i64 0, i64 0 %5 = call i32 @printf(ptr noundef @.str.1, ptr noundef %4) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @squeeze(ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpybn16z18.c' source_filename = "/tmp/tmpybn16z18.c" target datalayout = "e-m:e-p270: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/tmpybn16z18.c" target datalayout = "e-m:e-p270: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/tmpfsjgyvz4.c' source_filename = "/tmp/tmpfsjgyvz4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"Out of memory\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @emalloc(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call ptr @malloc(i32 noundef %4) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %10 8: ; preds = %1 %9 = call i32 @die(ptr noundef @.str) br label %10 10: ; preds = %8, %1 %11 = load ptr, ptr %3, align 8 ret ptr %11 } declare ptr @malloc(i32 noundef) #1 declare i32 @die(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfsjgyvz4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"Out of memory\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @emalloc(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call ptr @malloc(i32 noundef %4) store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %10 8: ; preds = %1 %9 = call i32 @die(ptr noundef @.str) br label %10 10: ; preds = %8, %1 %11 = load ptr, ptr %3, align 8 ret ptr %11 } declare ptr @malloc(i32 noundef) #1 declare i32 @die(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpaa829as0.c' source_filename = "/tmp/tmpaa829as0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [38 x i8] c"You tried to read from a closed file \00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"Cannot allocate the buffer\00", align 1 @.str.2 = private unnamed_addr constant [29 x i8] c"\0AWarning:: no comment found\0A\00", align 1 @.str.3 = private unnamed_addr constant [69 x i8] c"\0AWarning::A very long comment has exceeded the maximum buffer size\0A\00", align 1 @.str.4 = private unnamed_addr constant [44 x i8] c"\0AWarnin::Flushing the rest of the comment \0A\00", align 1 @EOF = dso_local global i8 0, align 1 @.str.5 = private unnamed_addr constant [54 x i8] c"Unespected end of file: comment closed by End of file\00", align 1 @.str.6 = private unnamed_addr constant [25 x i8] c"Cannot expand the buffer\00", align 1 @.str.7 = private unnamed_addr constant [5 x i8] c"\0A%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @read_comment(ptr noundef %0, i32 noundef %1, i64 noundef %2, i16 noundef signext %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i64, align 8 %9 = alloca i16, align 2 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store i64 %2, ptr %8, align 8 store i16 %3, ptr %9, align 2 store ptr null, ptr %10, align 8 store i64 0, ptr %11, align 8 store i64 0, ptr %12, align 8 %13 = load ptr, ptr %6, align 8 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %17 15: ; preds = %4 %16 = call i32 @t_error(ptr noundef @.str) br label %17 17: ; preds = %15, %4 store i64 256, ptr %12, align 8 %18 = load i64, ptr %12, align 8 %19 = mul i64 %18, 1 %20 = call i64 @malloc(i64 noundef %19) %21 = inttoptr i64 %20 to ptr store ptr %21, ptr %10, align 8 %22 = load ptr, ptr %10, align 8 %23 = icmp eq ptr %22, null br i1 %23, label %24, label %26 24: ; preds = %17 %25 = call i32 @t_error(ptr noundef @.str.1) br label %26 26: ; preds = %24, %17 %27 = load ptr, ptr %10, align 8 %28 = load i64, ptr %12, align 8 %29 = sub nsw i64 %28, 1 %30 = getelementptr inbounds i8, ptr %27, i64 %29 store i8 0, ptr %30, align 1 %31 = load ptr, ptr %10, align 8 %32 = getelementptr inbounds i8, ptr %31, i64 2 store i8 0, ptr %32, align 1 %33 = load ptr, ptr %10, align 8 %34 = getelementptr inbounds i8, ptr %33, i64 1 store i8 0, ptr %34, align 1 %35 = load ptr, ptr %10, align 8 %36 = getelementptr inbounds i8, ptr %35, i64 0 store i8 0, ptr %36, align 1 %37 = load i32, ptr %7, align 4 %38 = icmp eq i32 %37, 1 br i1 %38, label %39, label %43 39: ; preds = %26 %40 = load ptr, ptr %10, align 8 %41 = load ptr, ptr %6, align 8 %42 = call i64 @iscomment(ptr noundef %40, ptr noundef %41) store i64 %42, ptr %11, align 8 br label %50 43: ; preds = %26 %44 = load ptr, ptr %10, align 8 %45 = getelementptr inbounds i8, ptr %44, i64 0 store i8 47, ptr %45, align 1 %46 = load ptr, ptr %10, align 8 %47 = getelementptr inbounds i8, ptr %46, i64 1 store i8 42, ptr %47, align 1 %48 = load ptr, ptr %10, align 8 %49 = getelementptr inbounds i8, ptr %48, i64 2 store i8 42, ptr %49, align 1 store i64 3, ptr %11, align 8 br label %50 50: ; preds = %43, %39 %51 = load i64, ptr %11, align 8 %52 = icmp eq i64 %51, 0 br i1 %52, label %53, label %55 53: ; preds = %50 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %5, align 4 br label %247 55: ; preds = %50 br label %56 56: ; preds = %214, %55 %57 = load i64, ptr %11, align 8 %58 = load i64, ptr %12, align 8 %59 = sub nsw i64 %58, 2 %60 = icmp slt i64 %57, %59 br i1 %60, label %61, label %101 61: ; preds = %56 %62 = load ptr, ptr %6, align 8 %63 = call signext i8 @fgetc(ptr noundef %62) %64 = load ptr, ptr %10, align 8 %65 = load i64, ptr %11, align 8 %66 = getelementptr inbounds i8, ptr %64, i64 %65 store i8 %63, ptr %66, align 1 %67 = load ptr, ptr %10, align 8 %68 = load i64, ptr %11, align 8 %69 = getelementptr inbounds i8, ptr %67, i64 %68 %70 = load i8, ptr %69, align 1 %71 = sext i8 %70 to i32 %72 = icmp eq i32 %71, 42 br i1 %72, label %73, label %97 73: ; preds = %61 %74 = load i64, ptr %11, align 8 %75 = add nsw i64 %74, 1 store i64 %75, ptr %11, align 8 %76 = load ptr, ptr %6, align 8 %77 = call signext i8 @fgetc(ptr noundef %76) %78 = load ptr, ptr %10, align 8 %79 = load i64, ptr %11, align 8 %80 = getelementptr inbounds i8, ptr %78, i64 %79 store i8 %77, ptr %80, align 1 %81 = load ptr, ptr %10, align 8 %82 = load i64, ptr %11, align 8 %83 = getelementptr inbounds i8, ptr %81, i64 %82 %84 = load i8, ptr %83, align 1 %85 = sext i8 %84 to i32 %86 = icmp eq i32 %85, 47 br i1 %86, label %87, label %93 87: ; preds = %73 %88 = load i64, ptr %11, align 8 %89 = add nsw i64 %88, 1 store i64 %89, ptr %11, align 8 %90 = load ptr, ptr %10, align 8 %91 = load i64, ptr %11, align 8 %92 = getelementptr inbounds i8, ptr %90, i64 %91 store i8 0, ptr %92, align 1 br label %224 93: ; preds = %73 %94 = load i64, ptr %11, align 8 %95 = add nsw i64 %94, 1 store i64 %95, ptr %11, align 8 br label %96 96: ; preds = %93 br label %100 97: ; preds = %61 %98 = load i64, ptr %11, align 8 %99 = add nsw i64 %98, 1 store i64 %99, ptr %11, align 8 br label %100 100: ; preds = %97, %96 br label %213 101: ; preds = %56 %102 = load i64, ptr %12, align 8 %103 = load i64, ptr %8, align 8 %104 = icmp eq i64 %102, %103 br i1 %104, label %105, label %173 105: ; preds = %101 %106 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %107 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %108 = load ptr, ptr %10, align 8 %109 = load i64, ptr %12, align 8 %110 = sub nsw i64 %109, 8 %111 = getelementptr inbounds i8, ptr %108, i64 %110 store i8 32, ptr %111, align 1 %112 = load ptr, ptr %10, align 8 %113 = load i64, ptr %12, align 8 %114 = sub nsw i64 %113, 7 %115 = getelementptr inbounds i8, ptr %112, i64 %114 store i8 46, ptr %115, align 1 %116 = load ptr, ptr %10, align 8 %117 = load i64, ptr %12, align 8 %118 = sub nsw i64 %117, 6 %119 = getelementptr inbounds i8, ptr %116, i64 %118 store i8 46, ptr %119, align 1 %120 = load ptr, ptr %10, align 8 %121 = load i64, ptr %12, align 8 %122 = sub nsw i64 %121, 5 %123 = getelementptr inbounds i8, ptr %120, i64 %122 store i8 46, ptr %123, align 1 %124 = load ptr, ptr %10, align 8 %125 = load i64, ptr %12, align 8 %126 = sub nsw i64 %125, 4 %127 = getelementptr inbounds i8, ptr %124, i64 %126 store i8 32, ptr %127, align 1 br label %128 128: ; preds = %151, %105 br label %129 129: ; preds = %136, %128 %130 = load ptr, ptr %6, align 8 %131 = call signext i8 @getc(ptr noundef %130) %132 = load ptr, ptr %10, align 8 %133 = load i64, ptr %12, align 8 %134 = sub nsw i64 %133, 3 %135 = getelementptr inbounds i8, ptr %132, i64 %134 store i8 %131, ptr %135, align 1 br label %136 136: ; preds = %129 %137 = load ptr, ptr %10, align 8 %138 = load i64, ptr %12, align 8 %139 = sub nsw i64 %138, 3 %140 = getelementptr inbounds i8, ptr %137, i64 %139 %141 = load i8, ptr %140, align 1 %142 = sext i8 %141 to i32 %143 = icmp ne i32 %142, 42 br i1 %143, label %129, label %144, !llvm.loop !6 144: ; preds = %136 %145 = load ptr, ptr %6, align 8 %146 = call signext i8 @getc(ptr noundef %145) %147 = load ptr, ptr %10, align 8 %148 = load i64, ptr %12, align 8 %149 = sub nsw i64 %148, 2 %150 = getelementptr inbounds i8, ptr %147, i64 %149 store i8 %146, ptr %150, align 1 br label %151 151: ; preds = %144 %152 = load ptr, ptr %10, align 8 %153 = load i64, ptr %12, align 8 %154 = sub nsw i64 %153, 2 %155 = getelementptr inbounds i8, ptr %152, i64 %154 %156 = load i8, ptr %155, align 1 %157 = sext i8 %156 to i32 %158 = icmp ne i32 %157, 47 br i1 %158, label %128, label %159, !llvm.loop !8 159: ; preds = %151 %160 = load ptr, ptr %10, align 8 %161 = load i64, ptr %12, align 8 %162 = sub nsw i64 %161, 2 %163 = getelementptr inbounds i8, ptr %160, i64 %162 %164 = load i8, ptr %163, align 1 %165 = sext i8 %164 to i32 %166 = load i8, ptr @EOF, align 1 %167 = sext i8 %166 to i32 %168 = icmp eq i32 %165, %167 br i1 %168, label %169, label %171 169: ; preds = %159 %170 = call i32 @t_error(ptr noundef @.str.5) br label %172 171: ; preds = %159 br label %224 172: ; preds = %169 br label %212 173: ; preds = %101 %174 = load i64, ptr %12, align 8 %175 = add nsw i64 %174, 256 %176 = load i64, ptr %8, align 8 %177 = icmp sgt i64 %175, %176 br i1 %177, label %178, label %194 178: ; preds = %173 %179 = load i64, ptr %8, align 8 store i64 %179, ptr %12, align 8 %180 = load ptr, ptr %10, align 8 %181 = load i64, ptr %12, align 8 %182 = mul i64 %181, 1 %183 = call i64 @realloc(ptr noundef %180, i64 noundef %182) %184 = inttoptr i64 %183 to ptr store ptr %184, ptr %10, align 8 %185 = load ptr, ptr %10, align 8 %186 = icmp eq ptr %185, null br i1 %186, label %187, label %189 187: ; preds = %178 %188 = call i32 @t_error(ptr noundef @.str.6) br label %189 189: ; preds = %187, %178 %190 = load ptr, ptr %10, align 8 %191 = load i64, ptr %12, align 8 %192 = sub nsw i64 %191, 1 %193 = getelementptr inbounds i8, ptr %190, i64 %192 store i8 0, ptr %193, align 1 br label %211 194: ; preds = %173 %195 = load i64, ptr %12, align 8 %196 = add nsw i64 %195, 256 store i64 %196, ptr %12, align 8 %197 = load ptr, ptr %10, align 8 %198 = load i64, ptr %12, align 8 %199 = mul i64 %198, 1 %200 = call i64 @realloc(ptr noundef %197, i64 noundef %199) %201 = inttoptr i64 %200 to ptr store ptr %201, ptr %10, align 8 %202 = load ptr, ptr %10, align 8 %203 = icmp eq ptr %202, null br i1 %203, label %204, label %206 204: ; preds = %194 %205 = call i32 @t_error(ptr noundef @.str.6) br label %206 206: ; preds = %204, %194 %207 = load ptr, ptr %10, align 8 %208 = load i64, ptr %12, align 8 %209 = sub nsw i64 %208, 1 %210 = getelementptr inbounds i8, ptr %207, i64 %209 store i8 0, ptr %210, align 1 br label %211 211: ; preds = %206, %189 br label %212 212: ; preds = %211, %172 br label %213 213: ; preds = %212, %100 br label %214 214: ; preds = %213 %215 = load ptr, ptr %10, align 8 %216 = load i64, ptr %11, align 8 %217 = sub nsw i64 %216, 1 %218 = getelementptr inbounds i8, ptr %215, i64 %217 %219 = load i8, ptr %218, align 1 %220 = sext i8 %219 to i32 %221 = load i8, ptr @EOF, align 1 %222 = sext i8 %221 to i32 %223 = icmp ne i32 %220, %222 br i1 %223, label %56, label %224, !llvm.loop !9 224: ; preds = %214, %171, %87 %225 = load ptr, ptr %10, align 8 %226 = load i64, ptr %11, align 8 %227 = sub nsw i64 %226, 1 %228 = getelementptr inbounds i8, ptr %225, i64 %227 %229 = load i8, ptr %228, align 1 %230 = sext i8 %229 to i32 %231 = load i8, ptr @EOF, align 1 %232 = sext i8 %231 to i32 %233 = icmp eq i32 %230, %232 br i1 %233, label %234, label %236 234: ; preds = %224 %235 = call i32 @t_error(ptr noundef @.str.5) br label %236 236: ; preds = %234, %224 %237 = load i16, ptr %9, align 2 %238 = icmp ne i16 %237, 0 br i1 %238, label %239, label %242 239: ; preds = %236 %240 = load ptr, ptr %10, align 8 %241 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %240) br label %242 242: ; preds = %239, %236 %243 = load ptr, ptr %10, align 8 %244 = call i32 @free(ptr noundef %243) %245 = load i64, ptr %11, align 8 %246 = trunc i64 %245 to i32 store i32 %246, ptr %5, align 4 br label %247 247: ; preds = %242, %53 %248 = load i32, ptr %5, align 4 ret i32 %248 } declare i32 @t_error(ptr noundef) #1 declare i64 @malloc(i64 noundef) #1 declare i64 @iscomment(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare signext i8 @fgetc(ptr noundef) #1 declare signext i8 @getc(ptr noundef) #1 declare i64 @realloc(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}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpaa829as0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [38 x i8] c"You tried to read from a closed file \00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"Cannot allocate the buffer\00", align 1 @.str.2 = private unnamed_addr constant [29 x i8] c"\0AWarning:: no comment found\0A\00", align 1 @.str.3 = private unnamed_addr constant [69 x i8] c"\0AWarning::A very long comment has exceeded the maximum buffer size\0A\00", align 1 @.str.4 = private unnamed_addr constant [44 x i8] c"\0AWarnin::Flushing the rest of the comment \0A\00", align 1 @EOF = dso_local global i8 0, align 1 @.str.5 = private unnamed_addr constant [54 x i8] c"Unespected end of file: comment closed by End of file\00", align 1 @.str.6 = private unnamed_addr constant [25 x i8] c"Cannot expand the buffer\00", align 1 @.str.7 = private unnamed_addr constant [5 x i8] c"\0A%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @read_comment(ptr noundef %0, i32 noundef %1, i64 noundef %2, i16 noundef signext %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i64, align 8 %9 = alloca i16, align 2 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca i64, align 8 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store i64 %2, ptr %8, align 8 store i16 %3, ptr %9, align 2 store ptr null, ptr %10, align 8 store i64 0, ptr %11, align 8 store i64 0, ptr %12, align 8 %13 = load ptr, ptr %6, align 8 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %17 15: ; preds = %4 %16 = call i32 @t_error(ptr noundef @.str) br label %17 17: ; preds = %15, %4 store i64 256, ptr %12, align 8 %18 = load i64, ptr %12, align 8 %19 = mul i64 %18, 1 %20 = call i64 @malloc(i64 noundef %19) %21 = inttoptr i64 %20 to ptr store ptr %21, ptr %10, align 8 %22 = load ptr, ptr %10, align 8 %23 = icmp eq ptr %22, null br i1 %23, label %24, label %26 24: ; preds = %17 %25 = call i32 @t_error(ptr noundef @.str.1) br label %26 26: ; preds = %24, %17 %27 = load ptr, ptr %10, align 8 %28 = load i64, ptr %12, align 8 %29 = sub nsw i64 %28, 1 %30 = getelementptr inbounds i8, ptr %27, i64 %29 store i8 0, ptr %30, align 1 %31 = load ptr, ptr %10, align 8 %32 = getelementptr inbounds i8, ptr %31, i64 2 store i8 0, ptr %32, align 1 %33 = load ptr, ptr %10, align 8 %34 = getelementptr inbounds i8, ptr %33, i64 1 store i8 0, ptr %34, align 1 %35 = load ptr, ptr %10, align 8 %36 = getelementptr inbounds i8, ptr %35, i64 0 store i8 0, ptr %36, align 1 %37 = load i32, ptr %7, align 4 %38 = icmp eq i32 %37, 1 br i1 %38, label %39, label %43 39: ; preds = %26 %40 = load ptr, ptr %10, align 8 %41 = load ptr, ptr %6, align 8 %42 = call i64 @iscomment(ptr noundef %40, ptr noundef %41) store i64 %42, ptr %11, align 8 br label %50 43: ; preds = %26 %44 = load ptr, ptr %10, align 8 %45 = getelementptr inbounds i8, ptr %44, i64 0 store i8 47, ptr %45, align 1 %46 = load ptr, ptr %10, align 8 %47 = getelementptr inbounds i8, ptr %46, i64 1 store i8 42, ptr %47, align 1 %48 = load ptr, ptr %10, align 8 %49 = getelementptr inbounds i8, ptr %48, i64 2 store i8 42, ptr %49, align 1 store i64 3, ptr %11, align 8 br label %50 50: ; preds = %43, %39 %51 = load i64, ptr %11, align 8 %52 = icmp eq i64 %51, 0 br i1 %52, label %53, label %55 53: ; preds = %50 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %5, align 4 br label %247 55: ; preds = %50 br label %56 56: ; preds = %214, %55 %57 = load i64, ptr %11, align 8 %58 = load i64, ptr %12, align 8 %59 = sub nsw i64 %58, 2 %60 = icmp slt i64 %57, %59 br i1 %60, label %61, label %101 61: ; preds = %56 %62 = load ptr, ptr %6, align 8 %63 = call signext i8 @fgetc(ptr noundef %62) %64 = load ptr, ptr %10, align 8 %65 = load i64, ptr %11, align 8 %66 = getelementptr inbounds i8, ptr %64, i64 %65 store i8 %63, ptr %66, align 1 %67 = load ptr, ptr %10, align 8 %68 = load i64, ptr %11, align 8 %69 = getelementptr inbounds i8, ptr %67, i64 %68 %70 = load i8, ptr %69, align 1 %71 = sext i8 %70 to i32 %72 = icmp eq i32 %71, 42 br i1 %72, label %73, label %97 73: ; preds = %61 %74 = load i64, ptr %11, align 8 %75 = add nsw i64 %74, 1 store i64 %75, ptr %11, align 8 %76 = load ptr, ptr %6, align 8 %77 = call signext i8 @fgetc(ptr noundef %76) %78 = load ptr, ptr %10, align 8 %79 = load i64, ptr %11, align 8 %80 = getelementptr inbounds i8, ptr %78, i64 %79 store i8 %77, ptr %80, align 1 %81 = load ptr, ptr %10, align 8 %82 = load i64, ptr %11, align 8 %83 = getelementptr inbounds i8, ptr %81, i64 %82 %84 = load i8, ptr %83, align 1 %85 = sext i8 %84 to i32 %86 = icmp eq i32 %85, 47 br i1 %86, label %87, label %93 87: ; preds = %73 %88 = load i64, ptr %11, align 8 %89 = add nsw i64 %88, 1 store i64 %89, ptr %11, align 8 %90 = load ptr, ptr %10, align 8 %91 = load i64, ptr %11, align 8 %92 = getelementptr inbounds i8, ptr %90, i64 %91 store i8 0, ptr %92, align 1 br label %224 93: ; preds = %73 %94 = load i64, ptr %11, align 8 %95 = add nsw i64 %94, 1 store i64 %95, ptr %11, align 8 br label %96 96: ; preds = %93 br label %100 97: ; preds = %61 %98 = load i64, ptr %11, align 8 %99 = add nsw i64 %98, 1 store i64 %99, ptr %11, align 8 br label %100 100: ; preds = %97, %96 br label %213 101: ; preds = %56 %102 = load i64, ptr %12, align 8 %103 = load i64, ptr %8, align 8 %104 = icmp eq i64 %102, %103 br i1 %104, label %105, label %173 105: ; preds = %101 %106 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %107 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %108 = load ptr, ptr %10, align 8 %109 = load i64, ptr %12, align 8 %110 = sub nsw i64 %109, 8 %111 = getelementptr inbounds i8, ptr %108, i64 %110 store i8 32, ptr %111, align 1 %112 = load ptr, ptr %10, align 8 %113 = load i64, ptr %12, align 8 %114 = sub nsw i64 %113, 7 %115 = getelementptr inbounds i8, ptr %112, i64 %114 store i8 46, ptr %115, align 1 %116 = load ptr, ptr %10, align 8 %117 = load i64, ptr %12, align 8 %118 = sub nsw i64 %117, 6 %119 = getelementptr inbounds i8, ptr %116, i64 %118 store i8 46, ptr %119, align 1 %120 = load ptr, ptr %10, align 8 %121 = load i64, ptr %12, align 8 %122 = sub nsw i64 %121, 5 %123 = getelementptr inbounds i8, ptr %120, i64 %122 store i8 46, ptr %123, align 1 %124 = load ptr, ptr %10, align 8 %125 = load i64, ptr %12, align 8 %126 = sub nsw i64 %125, 4 %127 = getelementptr inbounds i8, ptr %124, i64 %126 store i8 32, ptr %127, align 1 br label %128 128: ; preds = %151, %105 br label %129 129: ; preds = %136, %128 %130 = load ptr, ptr %6, align 8 %131 = call signext i8 @getc(ptr noundef %130) %132 = load ptr, ptr %10, align 8 %133 = load i64, ptr %12, align 8 %134 = sub nsw i64 %133, 3 %135 = getelementptr inbounds i8, ptr %132, i64 %134 store i8 %131, ptr %135, align 1 br label %136 136: ; preds = %129 %137 = load ptr, ptr %10, align 8 %138 = load i64, ptr %12, align 8 %139 = sub nsw i64 %138, 3 %140 = getelementptr inbounds i8, ptr %137, i64 %139 %141 = load i8, ptr %140, align 1 %142 = sext i8 %141 to i32 %143 = icmp ne i32 %142, 42 br i1 %143, label %129, label %144, !llvm.loop !6 144: ; preds = %136 %145 = load ptr, ptr %6, align 8 %146 = call signext i8 @getc(ptr noundef %145) %147 = load ptr, ptr %10, align 8 %148 = load i64, ptr %12, align 8 %149 = sub nsw i64 %148, 2 %150 = getelementptr inbounds i8, ptr %147, i64 %149 store i8 %146, ptr %150, align 1 br label %151 151: ; preds = %144 %152 = load ptr, ptr %10, align 8 %153 = load i64, ptr %12, align 8 %154 = sub nsw i64 %153, 2 %155 = getelementptr inbounds i8, ptr %152, i64 %154 %156 = load i8, ptr %155, align 1 %157 = sext i8 %156 to i32 %158 = icmp ne i32 %157, 47 br i1 %158, label %128, label %159, !llvm.loop !8 159: ; preds = %151 %160 = load ptr, ptr %10, align 8 %161 = load i64, ptr %12, align 8 %162 = sub nsw i64 %161, 2 %163 = getelementptr inbounds i8, ptr %160, i64 %162 %164 = load i8, ptr %163, align 1 %165 = sext i8 %164 to i32 %166 = load i8, ptr @EOF, align 1 %167 = sext i8 %166 to i32 %168 = icmp eq i32 %165, %167 br i1 %168, label %169, label %171 169: ; preds = %159 %170 = call i32 @t_error(ptr noundef @.str.5) br label %172 171: ; preds = %159 br label %224 172: ; preds = %169 br label %212 173: ; preds = %101 %174 = load i64, ptr %12, align 8 %175 = add nsw i64 %174, 256 %176 = load i64, ptr %8, align 8 %177 = icmp sgt i64 %175, %176 br i1 %177, label %178, label %194 178: ; preds = %173 %179 = load i64, ptr %8, align 8 store i64 %179, ptr %12, align 8 %180 = load ptr, ptr %10, align 8 %181 = load i64, ptr %12, align 8 %182 = mul i64 %181, 1 %183 = call i64 @realloc(ptr noundef %180, i64 noundef %182) %184 = inttoptr i64 %183 to ptr store ptr %184, ptr %10, align 8 %185 = load ptr, ptr %10, align 8 %186 = icmp eq ptr %185, null br i1 %186, label %187, label %189 187: ; preds = %178 %188 = call i32 @t_error(ptr noundef @.str.6) br label %189 189: ; preds = %187, %178 %190 = load ptr, ptr %10, align 8 %191 = load i64, ptr %12, align 8 %192 = sub nsw i64 %191, 1 %193 = getelementptr inbounds i8, ptr %190, i64 %192 store i8 0, ptr %193, align 1 br label %211 194: ; preds = %173 %195 = load i64, ptr %12, align 8 %196 = add nsw i64 %195, 256 store i64 %196, ptr %12, align 8 %197 = load ptr, ptr %10, align 8 %198 = load i64, ptr %12, align 8 %199 = mul i64 %198, 1 %200 = call i64 @realloc(ptr noundef %197, i64 noundef %199) %201 = inttoptr i64 %200 to ptr store ptr %201, ptr %10, align 8 %202 = load ptr, ptr %10, align 8 %203 = icmp eq ptr %202, null br i1 %203, label %204, label %206 204: ; preds = %194 %205 = call i32 @t_error(ptr noundef @.str.6) br label %206 206: ; preds = %204, %194 %207 = load ptr, ptr %10, align 8 %208 = load i64, ptr %12, align 8 %209 = sub nsw i64 %208, 1 %210 = getelementptr inbounds i8, ptr %207, i64 %209 store i8 0, ptr %210, align 1 br label %211 211: ; preds = %206, %189 br label %212 212: ; preds = %211, %172 br label %213 213: ; preds = %212, %100 br label %214 214: ; preds = %213 %215 = load ptr, ptr %10, align 8 %216 = load i64, ptr %11, align 8 %217 = sub nsw i64 %216, 1 %218 = getelementptr inbounds i8, ptr %215, i64 %217 %219 = load i8, ptr %218, align 1 %220 = sext i8 %219 to i32 %221 = load i8, ptr @EOF, align 1 %222 = sext i8 %221 to i32 %223 = icmp ne i32 %220, %222 br i1 %223, label %56, label %.loopexit, !llvm.loop !9 .loopexit: ; preds = %214 br label %224 224: ; preds = %.loopexit, %171, %87 %225 = load ptr, ptr %10, align 8 %226 = load i64, ptr %11, align 8 %227 = sub nsw i64 %226, 1 %228 = getelementptr inbounds i8, ptr %225, i64 %227 %229 = load i8, ptr %228, align 1 %230 = sext i8 %229 to i32 %231 = load i8, ptr @EOF, align 1 %232 = sext i8 %231 to i32 %233 = icmp eq i32 %230, %232 br i1 %233, label %234, label %236 234: ; preds = %224 %235 = call i32 @t_error(ptr noundef @.str.5) br label %236 236: ; preds = %234, %224 %237 = load i16, ptr %9, align 2 %238 = icmp ne i16 %237, 0 br i1 %238, label %239, label %242 239: ; preds = %236 %240 = load ptr, ptr %10, align 8 %241 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %240) br label %242 242: ; preds = %239, %236 %243 = load ptr, ptr %10, align 8 %244 = call i32 @free(ptr noundef %243) %245 = load i64, ptr %11, align 8 %246 = trunc i64 %245 to i32 store i32 %246, ptr %5, align 4 br label %247 247: ; preds = %242, %53 %248 = load i32, ptr %5, align 4 ret i32 %248 } declare i32 @t_error(ptr noundef) #1 declare i64 @malloc(i64 noundef) #1 declare i64 @iscomment(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare signext i8 @fgetc(ptr noundef) #1 declare signext i8 @getc(ptr noundef) #1 declare i64 @realloc(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}
; ModuleID = '/tmp/tmp6u3mram6.c' source_filename = "/tmp/tmp6u3mram6.c" target datalayout = "e-m:e-p270: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/tmp6u3mram6.c" target datalayout = "e-m:e-p270: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/tmpwdj_a6wv.c' source_filename = "/tmp/tmpwdj_a6wv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @errno = dso_local global i64 0, align 8 @EEXIST = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [10 x i8] c"/tmp/test\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"/tmp//test///\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"/tmp//test2///\00", align 1 @.str.4 = private unnamed_addr constant [11 x i8] c"/tmp/test2\00", align 1 @.str.5 = private unnamed_addr constant [11 x i8] c"/tmp/test3\00", align 1 @.str.6 = private unnamed_addr constant [19 x i8] c"/tmp/test3/subdir1\00", align 1 @.str.7 = private unnamed_addr constant [19 x i8] c"/tmp/test3/subdir2\00", align 1 @.str.8 = private unnamed_addr constant [19 x i8] c"/tmp/test3/subdir3\00", align 1 @.str.9 = private unnamed_addr constant [19 x i8] c"/tmp/test4/subdir4\00", align 1 @ENOENT = dso_local global i64 0, align 8 @.str.10 = private unnamed_addr constant [11 x i8] c"/tmp/test/\00", align 1 @ENOTEMPTY = dso_local global i64 0, align 8 @.str.11 = private unnamed_addr constant [5 x i8] c"/tmp\00", align 1 @EBUSY = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_vfs_dir() #0 { %1 = call i32 @mkdir(ptr noundef @.str, i32 noundef 0) %2 = icmp eq i32 %1, -1 br i1 %2, label %3, label %7 3: ; preds = %0 %4 = load i64, ptr @errno, align 8 %5 = load i64, ptr @EEXIST, align 8 %6 = icmp eq i64 %4, %5 br label %7 7: ; preds = %3, %0 %8 = phi i1 [ false, %0 ], [ %6, %3 ] %9 = zext i1 %8 to i32 %10 = call i32 @assert(i32 noundef %9) %11 = call i32 @mkdir(ptr noundef @.str.1, i32 noundef 0) %12 = icmp eq i32 %11, 0 %13 = zext i1 %12 to i32 %14 = call i32 @assert(i32 noundef %13) %15 = call i32 @mkdir(ptr noundef @.str.1, i32 noundef 0) %16 = icmp eq i32 %15, -1 br i1 %16, label %17, label %21 17: ; preds = %7 %18 = load i64, ptr @errno, align 8 %19 = load i64, ptr @EEXIST, align 8 %20 = icmp eq i64 %18, %19 br label %21 21: ; preds = %17, %7 %22 = phi i1 [ false, %7 ], [ %20, %17 ] %23 = zext i1 %22 to i32 %24 = call i32 @assert(i32 noundef %23) %25 = call i32 @mkdir(ptr noundef @.str.2, i32 noundef 0) %26 = icmp eq i32 %25, -1 br i1 %26, label %27, label %31 27: ; preds = %21 %28 = load i64, ptr @errno, align 8 %29 = load i64, ptr @EEXIST, align 8 %30 = icmp eq i64 %28, %29 br label %31 31: ; preds = %27, %21 %32 = phi i1 [ false, %21 ], [ %30, %27 ] %33 = zext i1 %32 to i32 %34 = call i32 @assert(i32 noundef %33) %35 = call i32 @rmdir(ptr noundef @.str.1) %36 = icmp eq i32 %35, 0 %37 = zext i1 %36 to i32 %38 = call i32 @assert(i32 noundef %37) %39 = call i32 @mkdir(ptr noundef @.str.1, i32 noundef 0) %40 = icmp eq i32 %39, 0 %41 = zext i1 %40 to i32 %42 = call i32 @assert(i32 noundef %41) %43 = call i32 @mkdir(ptr noundef @.str.3, i32 noundef 0) %44 = icmp eq i32 %43, 0 %45 = zext i1 %44 to i32 %46 = call i32 @assert(i32 noundef %45) %47 = call i64 @access(ptr noundef @.str.4, i32 noundef 0) %48 = icmp eq i64 %47, 0 %49 = zext i1 %48 to i32 %50 = call i32 @assert(i32 noundef %49) %51 = call i32 @mkdir(ptr noundef @.str.5, i32 noundef 0) %52 = icmp eq i32 %51, 0 %53 = zext i1 %52 to i32 %54 = call i32 @assert(i32 noundef %53) %55 = call i32 @mkdir(ptr noundef @.str.6, i32 noundef 0) %56 = icmp eq i32 %55, 0 %57 = zext i1 %56 to i32 %58 = call i32 @assert(i32 noundef %57) %59 = call i32 @mkdir(ptr noundef @.str.7, i32 noundef 0) %60 = icmp eq i32 %59, 0 %61 = zext i1 %60 to i32 %62 = call i32 @assert(i32 noundef %61) %63 = call i32 @mkdir(ptr noundef @.str.8, i32 noundef 0) %64 = icmp eq i32 %63, 0 %65 = zext i1 %64 to i32 %66 = call i32 @assert(i32 noundef %65) %67 = call i32 @mkdir(ptr noundef @.str.6, i32 noundef 0) %68 = icmp eq i32 %67, -1 br i1 %68, label %69, label %73 69: ; preds = %31 %70 = load i64, ptr @errno, align 8 %71 = load i64, ptr @EEXIST, align 8 %72 = icmp eq i64 %70, %71 br label %73 73: ; preds = %69, %31 %74 = phi i1 [ false, %31 ], [ %72, %69 ] %75 = zext i1 %74 to i32 %76 = call i32 @assert(i32 noundef %75) %77 = call i64 @access(ptr noundef @.str.7, i32 noundef 0) %78 = icmp eq i64 %77, 0 %79 = zext i1 %78 to i32 %80 = call i32 @assert(i32 noundef %79) %81 = call i32 @mkdir(ptr noundef @.str.9, i32 noundef 0) %82 = icmp eq i32 %81, -1 br i1 %82, label %83, label %87 83: ; preds = %73 %84 = load i64, ptr @errno, align 8 %85 = load i64, ptr @ENOENT, align 8 %86 = icmp eq i64 %84, %85 br label %87 87: ; preds = %83, %73 %88 = phi i1 [ false, %73 ], [ %86, %83 ] %89 = zext i1 %88 to i32 %90 = call i32 @assert(i32 noundef %89) %91 = call i32 @rmdir(ptr noundef @.str.10) %92 = icmp eq i32 %91, 0 %93 = zext i1 %92 to i32 %94 = call i32 @assert(i32 noundef %93) %95 = call i32 @rmdir(ptr noundef @.str.4) %96 = icmp eq i32 %95, 0 %97 = zext i1 %96 to i32 %98 = call i32 @assert(i32 noundef %97) %99 = call i32 @rmdir(ptr noundef @.str.5) %100 = icmp eq i32 %99, -1 br i1 %100, label %101, label %105 101: ; preds = %87 %102 = load i64, ptr @errno, align 8 %103 = load i64, ptr @ENOTEMPTY, align 8 %104 = icmp eq i64 %102, %103 br label %105 105: ; preds = %101, %87 %106 = phi i1 [ false, %87 ], [ %104, %101 ] %107 = zext i1 %106 to i32 %108 = call i32 @assert(i32 noundef %107) %109 = call i32 @rmdir(ptr noundef @.str.6) %110 = icmp eq i32 %109, 0 %111 = zext i1 %110 to i32 %112 = call i32 @assert(i32 noundef %111) %113 = call i32 @rmdir(ptr noundef @.str.7) %114 = icmp eq i32 %113, 0 %115 = zext i1 %114 to i32 %116 = call i32 @assert(i32 noundef %115) %117 = call i32 @rmdir(ptr noundef @.str.8) %118 = icmp eq i32 %117, 0 %119 = zext i1 %118 to i32 %120 = call i32 @assert(i32 noundef %119) %121 = call i32 @rmdir(ptr noundef @.str.5) %122 = icmp eq i32 %121, 0 %123 = zext i1 %122 to i32 %124 = call i32 @assert(i32 noundef %123) %125 = call i32 @rmdir(ptr noundef @.str.5) %126 = icmp eq i32 %125, -1 br i1 %126, label %127, label %131 127: ; preds = %105 %128 = load i64, ptr @errno, align 8 %129 = load i64, ptr @ENOENT, align 8 %130 = icmp eq i64 %128, %129 br label %131 131: ; preds = %127, %105 %132 = phi i1 [ false, %105 ], [ %130, %127 ] %133 = zext i1 %132 to i32 %134 = call i32 @assert(i32 noundef %133) %135 = call i32 @rmdir(ptr noundef @.str.9) %136 = icmp eq i32 %135, -1 br i1 %136, label %137, label %141 137: ; preds = %131 %138 = load i64, ptr @errno, align 8 %139 = load i64, ptr @ENOENT, align 8 %140 = icmp eq i64 %138, %139 br label %141 141: ; preds = %137, %131 %142 = phi i1 [ false, %131 ], [ %140, %137 ] %143 = zext i1 %142 to i32 %144 = call i32 @assert(i32 noundef %143) %145 = call i32 @mkdir(ptr noundef @.str.6, i32 noundef 0) %146 = icmp eq i32 %145, -1 br i1 %146, label %147, label %151 147: ; preds = %141 %148 = load i64, ptr @errno, align 8 %149 = load i64, ptr @ENOENT, align 8 %150 = icmp eq i64 %148, %149 br label %151 151: ; preds = %147, %141 %152 = phi i1 [ false, %141 ], [ %150, %147 ] %153 = zext i1 %152 to i32 %154 = call i32 @assert(i32 noundef %153) %155 = call i32 @mkdir(ptr noundef @.str, i32 noundef 0) %156 = icmp eq i32 %155, -1 br i1 %156, label %157, label %161 157: ; preds = %151 %158 = load i64, ptr @errno, align 8 %159 = load i64, ptr @EEXIST, align 8 %160 = icmp eq i64 %158, %159 br label %161 161: ; preds = %157, %151 %162 = phi i1 [ false, %151 ], [ %160, %157 ] %163 = zext i1 %162 to i32 %164 = call i32 @assert(i32 noundef %163) %165 = call i32 @rmdir(ptr noundef @.str.11) %166 = icmp eq i32 %165, -1 br i1 %166, label %167, label %171 167: ; preds = %161 %168 = load i64, ptr @errno, align 8 %169 = load i64, ptr @EBUSY, align 8 %170 = icmp eq i64 %168, %169 br label %171 171: ; preds = %167, %161 %172 = phi i1 [ false, %161 ], [ %170, %167 ] %173 = zext i1 %172 to i32 %174 = call i32 @assert(i32 noundef %173) ret i32 0 } declare i32 @assert(i32 noundef) #1 declare i32 @mkdir(ptr noundef, i32 noundef) #1 declare i32 @rmdir(ptr noundef) #1 declare i64 @access(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/tmpwdj_a6wv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @errno = dso_local global i64 0, align 8 @EEXIST = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [10 x i8] c"/tmp/test\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"/tmp//test///\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"/tmp//test2///\00", align 1 @.str.4 = private unnamed_addr constant [11 x i8] c"/tmp/test2\00", align 1 @.str.5 = private unnamed_addr constant [11 x i8] c"/tmp/test3\00", align 1 @.str.6 = private unnamed_addr constant [19 x i8] c"/tmp/test3/subdir1\00", align 1 @.str.7 = private unnamed_addr constant [19 x i8] c"/tmp/test3/subdir2\00", align 1 @.str.8 = private unnamed_addr constant [19 x i8] c"/tmp/test3/subdir3\00", align 1 @.str.9 = private unnamed_addr constant [19 x i8] c"/tmp/test4/subdir4\00", align 1 @ENOENT = dso_local global i64 0, align 8 @.str.10 = private unnamed_addr constant [11 x i8] c"/tmp/test/\00", align 1 @ENOTEMPTY = dso_local global i64 0, align 8 @.str.11 = private unnamed_addr constant [5 x i8] c"/tmp\00", align 1 @EBUSY = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_vfs_dir() #0 { %1 = call i32 @mkdir(ptr noundef @.str, i32 noundef 0) %2 = icmp eq i32 %1, -1 br i1 %2, label %3, label %7 3: ; preds = %0 %4 = load i64, ptr @errno, align 8 %5 = load i64, ptr @EEXIST, align 8 %6 = icmp eq i64 %4, %5 br label %7 7: ; preds = %3, %0 %8 = phi i1 [ false, %0 ], [ %6, %3 ] %9 = zext i1 %8 to i32 %10 = call i32 @assert(i32 noundef %9) %11 = call i32 @mkdir(ptr noundef @.str.1, i32 noundef 0) %12 = icmp eq i32 %11, 0 %13 = zext i1 %12 to i32 %14 = call i32 @assert(i32 noundef %13) %15 = call i32 @mkdir(ptr noundef @.str.1, i32 noundef 0) %16 = icmp eq i32 %15, -1 br i1 %16, label %17, label %21 17: ; preds = %7 %18 = load i64, ptr @errno, align 8 %19 = load i64, ptr @EEXIST, align 8 %20 = icmp eq i64 %18, %19 br label %21 21: ; preds = %17, %7 %22 = phi i1 [ false, %7 ], [ %20, %17 ] %23 = zext i1 %22 to i32 %24 = call i32 @assert(i32 noundef %23) %25 = call i32 @mkdir(ptr noundef @.str.2, i32 noundef 0) %26 = icmp eq i32 %25, -1 br i1 %26, label %27, label %31 27: ; preds = %21 %28 = load i64, ptr @errno, align 8 %29 = load i64, ptr @EEXIST, align 8 %30 = icmp eq i64 %28, %29 br label %31 31: ; preds = %27, %21 %32 = phi i1 [ false, %21 ], [ %30, %27 ] %33 = zext i1 %32 to i32 %34 = call i32 @assert(i32 noundef %33) %35 = call i32 @rmdir(ptr noundef @.str.1) %36 = icmp eq i32 %35, 0 %37 = zext i1 %36 to i32 %38 = call i32 @assert(i32 noundef %37) %39 = call i32 @mkdir(ptr noundef @.str.1, i32 noundef 0) %40 = icmp eq i32 %39, 0 %41 = zext i1 %40 to i32 %42 = call i32 @assert(i32 noundef %41) %43 = call i32 @mkdir(ptr noundef @.str.3, i32 noundef 0) %44 = icmp eq i32 %43, 0 %45 = zext i1 %44 to i32 %46 = call i32 @assert(i32 noundef %45) %47 = call i64 @access(ptr noundef @.str.4, i32 noundef 0) %48 = icmp eq i64 %47, 0 %49 = zext i1 %48 to i32 %50 = call i32 @assert(i32 noundef %49) %51 = call i32 @mkdir(ptr noundef @.str.5, i32 noundef 0) %52 = icmp eq i32 %51, 0 %53 = zext i1 %52 to i32 %54 = call i32 @assert(i32 noundef %53) %55 = call i32 @mkdir(ptr noundef @.str.6, i32 noundef 0) %56 = icmp eq i32 %55, 0 %57 = zext i1 %56 to i32 %58 = call i32 @assert(i32 noundef %57) %59 = call i32 @mkdir(ptr noundef @.str.7, i32 noundef 0) %60 = icmp eq i32 %59, 0 %61 = zext i1 %60 to i32 %62 = call i32 @assert(i32 noundef %61) %63 = call i32 @mkdir(ptr noundef @.str.8, i32 noundef 0) %64 = icmp eq i32 %63, 0 %65 = zext i1 %64 to i32 %66 = call i32 @assert(i32 noundef %65) %67 = call i32 @mkdir(ptr noundef @.str.6, i32 noundef 0) %68 = icmp eq i32 %67, -1 br i1 %68, label %69, label %73 69: ; preds = %31 %70 = load i64, ptr @errno, align 8 %71 = load i64, ptr @EEXIST, align 8 %72 = icmp eq i64 %70, %71 br label %73 73: ; preds = %69, %31 %74 = phi i1 [ false, %31 ], [ %72, %69 ] %75 = zext i1 %74 to i32 %76 = call i32 @assert(i32 noundef %75) %77 = call i64 @access(ptr noundef @.str.7, i32 noundef 0) %78 = icmp eq i64 %77, 0 %79 = zext i1 %78 to i32 %80 = call i32 @assert(i32 noundef %79) %81 = call i32 @mkdir(ptr noundef @.str.9, i32 noundef 0) %82 = icmp eq i32 %81, -1 br i1 %82, label %83, label %87 83: ; preds = %73 %84 = load i64, ptr @errno, align 8 %85 = load i64, ptr @ENOENT, align 8 %86 = icmp eq i64 %84, %85 br label %87 87: ; preds = %83, %73 %88 = phi i1 [ false, %73 ], [ %86, %83 ] %89 = zext i1 %88 to i32 %90 = call i32 @assert(i32 noundef %89) %91 = call i32 @rmdir(ptr noundef @.str.10) %92 = icmp eq i32 %91, 0 %93 = zext i1 %92 to i32 %94 = call i32 @assert(i32 noundef %93) %95 = call i32 @rmdir(ptr noundef @.str.4) %96 = icmp eq i32 %95, 0 %97 = zext i1 %96 to i32 %98 = call i32 @assert(i32 noundef %97) %99 = call i32 @rmdir(ptr noundef @.str.5) %100 = icmp eq i32 %99, -1 br i1 %100, label %101, label %105 101: ; preds = %87 %102 = load i64, ptr @errno, align 8 %103 = load i64, ptr @ENOTEMPTY, align 8 %104 = icmp eq i64 %102, %103 br label %105 105: ; preds = %101, %87 %106 = phi i1 [ false, %87 ], [ %104, %101 ] %107 = zext i1 %106 to i32 %108 = call i32 @assert(i32 noundef %107) %109 = call i32 @rmdir(ptr noundef @.str.6) %110 = icmp eq i32 %109, 0 %111 = zext i1 %110 to i32 %112 = call i32 @assert(i32 noundef %111) %113 = call i32 @rmdir(ptr noundef @.str.7) %114 = icmp eq i32 %113, 0 %115 = zext i1 %114 to i32 %116 = call i32 @assert(i32 noundef %115) %117 = call i32 @rmdir(ptr noundef @.str.8) %118 = icmp eq i32 %117, 0 %119 = zext i1 %118 to i32 %120 = call i32 @assert(i32 noundef %119) %121 = call i32 @rmdir(ptr noundef @.str.5) %122 = icmp eq i32 %121, 0 %123 = zext i1 %122 to i32 %124 = call i32 @assert(i32 noundef %123) %125 = call i32 @rmdir(ptr noundef @.str.5) %126 = icmp eq i32 %125, -1 br i1 %126, label %127, label %131 127: ; preds = %105 %128 = load i64, ptr @errno, align 8 %129 = load i64, ptr @ENOENT, align 8 %130 = icmp eq i64 %128, %129 br label %131 131: ; preds = %127, %105 %132 = phi i1 [ false, %105 ], [ %130, %127 ] %133 = zext i1 %132 to i32 %134 = call i32 @assert(i32 noundef %133) %135 = call i32 @rmdir(ptr noundef @.str.9) %136 = icmp eq i32 %135, -1 br i1 %136, label %137, label %141 137: ; preds = %131 %138 = load i64, ptr @errno, align 8 %139 = load i64, ptr @ENOENT, align 8 %140 = icmp eq i64 %138, %139 br label %141 141: ; preds = %137, %131 %142 = phi i1 [ false, %131 ], [ %140, %137 ] %143 = zext i1 %142 to i32 %144 = call i32 @assert(i32 noundef %143) %145 = call i32 @mkdir(ptr noundef @.str.6, i32 noundef 0) %146 = icmp eq i32 %145, -1 br i1 %146, label %147, label %151 147: ; preds = %141 %148 = load i64, ptr @errno, align 8 %149 = load i64, ptr @ENOENT, align 8 %150 = icmp eq i64 %148, %149 br label %151 151: ; preds = %147, %141 %152 = phi i1 [ false, %141 ], [ %150, %147 ] %153 = zext i1 %152 to i32 %154 = call i32 @assert(i32 noundef %153) %155 = call i32 @mkdir(ptr noundef @.str, i32 noundef 0) %156 = icmp eq i32 %155, -1 br i1 %156, label %157, label %161 157: ; preds = %151 %158 = load i64, ptr @errno, align 8 %159 = load i64, ptr @EEXIST, align 8 %160 = icmp eq i64 %158, %159 br label %161 161: ; preds = %157, %151 %162 = phi i1 [ false, %151 ], [ %160, %157 ] %163 = zext i1 %162 to i32 %164 = call i32 @assert(i32 noundef %163) %165 = call i32 @rmdir(ptr noundef @.str.11) %166 = icmp eq i32 %165, -1 br i1 %166, label %167, label %171 167: ; preds = %161 %168 = load i64, ptr @errno, align 8 %169 = load i64, ptr @EBUSY, align 8 %170 = icmp eq i64 %168, %169 br label %171 171: ; preds = %167, %161 %172 = phi i1 [ false, %161 ], [ %170, %167 ] %173 = zext i1 %172 to i32 %174 = call i32 @assert(i32 noundef %173) ret i32 0 } declare i32 @assert(i32 noundef) #1 declare i32 @mkdir(ptr noundef, i32 noundef) #1 declare i32 @rmdir(ptr noundef) #1 declare i64 @access(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/tmpw27ujs94.c' source_filename = "/tmp/tmpw27ujs94.c" target datalayout = "e-m:e-p270: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/tmpw27ujs94.c" target datalayout = "e-m:e-p270: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/tmp03myj3mu.c' source_filename = "/tmp/tmp03myj3mu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"./runtnt.sh cnd PN\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"TRPN.txt\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @EOF = dso_local global i8 0, align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"%*i %*i %li\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @RunProcessFile() #0 { %1 = alloca i8, align 1 %2 = alloca i32, align 4 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store i64 0, ptr %4, align 8 store i32 0, ptr %2, align 4 br label %6 6: ; preds = %33, %0 %7 = load i32, ptr %2, align 4 %8 = icmp slt i32 %7, 3 br i1 %8, label %9, label %36 9: ; preds = %6 %10 = call i32 @system(ptr noundef @.str) %11 = call ptr @fopen(ptr noundef @.str.1, ptr noundef @.str.2) store ptr %11, ptr %5, align 8 br label %12 12: ; preds = %29, %9 %13 = load ptr, ptr %5, align 8 %14 = call signext i8 @fgetc(ptr noundef %13) store i8 %14, ptr %1, align 1 %15 = sext i8 %14 to i32 %16 = load i8, ptr @EOF, align 1 %17 = sext i8 %16 to i32 %18 = icmp ne i32 %15, %17 br i1 %18, label %19, label %30 19: ; preds = %12 %20 = load i8, ptr %1, align 1 %21 = sext i8 %20 to i32 %22 = icmp eq i32 %21, 35 br i1 %22, label %23, label %29 23: ; preds = %19 %24 = load ptr, ptr %5, align 8 %25 = call i32 @fscanf(ptr noundef %24, ptr noundef @.str.3, ptr noundef %3) %26 = load i64, ptr %3, align 8 %27 = load i64, ptr %4, align 8 %28 = add nsw i64 %27, %26 store i64 %28, ptr %4, align 8 br label %29 29: ; preds = %23, %19 br label %12, !llvm.loop !6 30: ; preds = %12 %31 = load ptr, ptr %5, align 8 %32 = call i32 @fclose(ptr noundef %31) br label %33 33: ; preds = %30 %34 = load i32, ptr %2, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %2, align 4 br label %6, !llvm.loop !8 36: ; preds = %6 %37 = load i64, ptr %4, align 8 %38 = sdiv i64 %37, 3 store i64 %38, ptr %4, align 8 %39 = load i64, ptr %4, align 8 ret i64 %39 } declare i32 @system(ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare signext i8 @fgetc(ptr noundef) #1 declare i32 @fscanf(ptr noundef, 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp03myj3mu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"./runtnt.sh cnd PN\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"TRPN.txt\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @EOF = dso_local global i8 0, align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"%*i %*i %li\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @RunProcessFile() #0 { %1 = alloca i8, align 1 %2 = alloca i32, align 4 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store i64 0, ptr %4, align 8 store i32 0, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp slt i32 %6, 3 br i1 %7, label %.lr.ph2, label %42 .lr.ph2: ; preds = %0 br label %8 8: ; preds = %.lr.ph2, %37 %9 = call i32 @system(ptr noundef @.str) %10 = call ptr @fopen(ptr noundef @.str.1, ptr noundef @.str.2) store ptr %10, ptr %5, align 8 %11 = load ptr, ptr %5, align 8 %12 = call signext i8 @fgetc(ptr noundef %11) store i8 %12, ptr %1, align 1 %13 = sext i8 %12 to i32 %14 = load i8, ptr @EOF, align 1 %15 = sext i8 %14 to i32 %16 = icmp ne i32 %13, %15 br i1 %16, label %.lr.ph, label %34 .lr.ph: ; preds = %8 br label %17 17: ; preds = %.lr.ph, %27 %18 = load i8, ptr %1, align 1 %19 = sext i8 %18 to i32 %20 = icmp eq i32 %19, 35 br i1 %20, label %21, label %27 21: ; preds = %17 %22 = load ptr, ptr %5, align 8 %23 = call i32 @fscanf(ptr noundef %22, ptr noundef @.str.3, ptr noundef %3) %24 = load i64, ptr %3, align 8 %25 = load i64, ptr %4, align 8 %26 = add nsw i64 %25, %24 store i64 %26, ptr %4, align 8 br label %27 27: ; preds = %21, %17 %28 = load ptr, ptr %5, align 8 %29 = call signext i8 @fgetc(ptr noundef %28) store i8 %29, ptr %1, align 1 %30 = sext i8 %29 to i32 %31 = load i8, ptr @EOF, align 1 %32 = sext i8 %31 to i32 %33 = icmp ne i32 %30, %32 br i1 %33, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %34 34: ; preds = %._crit_edge, %8 %35 = load ptr, ptr %5, align 8 %36 = call i32 @fclose(ptr noundef %35) br label %37 37: ; preds = %34 %38 = load i32, ptr %2, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %2, align 4 %40 = load i32, ptr %2, align 4 %41 = icmp slt i32 %40, 3 br i1 %41, label %8, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %37 br label %42 42: ; preds = %._crit_edge3, %0 %43 = load i64, ptr %4, align 8 %44 = sdiv i64 %43, 3 store i64 %44, ptr %4, align 8 %45 = load i64, ptr %4, align 8 ret i64 %45 } declare i32 @system(ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare signext i8 @fgetc(ptr noundef) #1 declare i32 @fscanf(ptr noundef, 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpkb75ext_.c' source_filename = "/tmp/tmpkb75ext_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gser(ptr noundef %0, double noundef %1, double noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca ptr, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 store ptr %0, ptr %5, align 8 store double %1, ptr %6, align 8 store double %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %14 = load double, ptr %6, align 8 %15 = call double @lgamma(double noundef %14) #4 store double %15, ptr %10, align 8 %16 = load double, ptr %6, align 8 store double %16, ptr %11, align 8 %17 = load double, ptr %6, align 8 %18 = fdiv double 1.000000e+00, %17 store double %18, ptr %12, align 8 %19 = load double, ptr %12, align 8 store double %19, ptr %13, align 8 br label %20 20: ; preds = %29, %4 %21 = load double, ptr %13, align 8 %22 = call i32 @fabs(double noundef %21) %23 = sitofp i32 %22 to double %24 = load double, ptr %12, align 8 %25 = call i32 @fabs(double noundef %24) %26 = sitofp i32 %25 to double %27 = fmul double %26, 0x3E7AD7F29ABCAF48 %28 = fcmp ogt double %23, %27 br i1 %28, label %29, label %40 29: ; preds = %20 %30 = load double, ptr %11, align 8 %31 = fadd double %30, 1.000000e+00 store double %31, ptr %11, align 8 %32 = load double, ptr %7, align 8 %33 = load double, ptr %11, align 8 %34 = fdiv double %32, %33 %35 = load double, ptr %13, align 8 %36 = fmul double %35, %34 store double %36, ptr %13, align 8 %37 = load double, ptr %13, align 8 %38 = load double, ptr %12, align 8 %39 = fadd double %38, %37 store double %39, ptr %12, align 8 br label %20, !llvm.loop !6 40: ; preds = %20 %41 = load double, ptr %12, align 8 %42 = load double, ptr %7, align 8 %43 = fneg double %42 %44 = load double, ptr %6, align 8 %45 = load double, ptr %7, align 8 %46 = call double @log(double noundef %45) #4 %47 = call double @llvm.fmuladd.f64(double %44, double %46, double %43) %48 = load double, ptr %10, align 8 %49 = fsub double %47, %48 %50 = call double @exp(double noundef %49) #4 %51 = fmul double %41, %50 store double %51, ptr %9, align 8 %52 = load double, ptr %9, align 8 %53 = load ptr, ptr %5, align 8 store double %52, ptr %53, align 8 %54 = load double, ptr %10, align 8 %55 = load ptr, ptr %8, align 8 store double %54, ptr %55, align 8 ret void } ; Function Attrs: nounwind declare double @lgamma(double noundef) #1 declare i32 @fabs(double noundef) #2 ; Function Attrs: nounwind declare double @exp(double noundef) #1 ; Function Attrs: nounwind declare double @log(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkb75ext_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gser(ptr noundef %0, double noundef %1, double noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca ptr, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 store ptr %0, ptr %5, align 8 store double %1, ptr %6, align 8 store double %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %14 = load double, ptr %6, align 8 %15 = call double @lgamma(double noundef %14) #4 store double %15, ptr %10, align 8 %16 = load double, ptr %6, align 8 store double %16, ptr %11, align 8 %17 = load double, ptr %6, align 8 %18 = fdiv double 1.000000e+00, %17 store double %18, ptr %12, align 8 %19 = load double, ptr %12, align 8 store double %19, ptr %13, align 8 %20 = load double, ptr %13, align 8 %21 = call i32 @fabs(double noundef %20) %22 = sitofp i32 %21 to double %23 = load double, ptr %12, align 8 %24 = call i32 @fabs(double noundef %23) %25 = sitofp i32 %24 to double %26 = fmul double %25, 0x3E7AD7F29ABCAF48 %27 = fcmp ogt double %22, %26 br i1 %27, label %.lr.ph, label %47 .lr.ph: ; preds = %4 br label %28 28: ; preds = %.lr.ph, %28 %29 = load double, ptr %11, align 8 %30 = fadd double %29, 1.000000e+00 store double %30, ptr %11, align 8 %31 = load double, ptr %7, align 8 %32 = load double, ptr %11, align 8 %33 = fdiv double %31, %32 %34 = load double, ptr %13, align 8 %35 = fmul double %34, %33 store double %35, ptr %13, align 8 %36 = load double, ptr %13, align 8 %37 = load double, ptr %12, align 8 %38 = fadd double %37, %36 store double %38, ptr %12, align 8 %39 = load double, ptr %13, align 8 %40 = call i32 @fabs(double noundef %39) %41 = sitofp i32 %40 to double %42 = load double, ptr %12, align 8 %43 = call i32 @fabs(double noundef %42) %44 = sitofp i32 %43 to double %45 = fmul double %44, 0x3E7AD7F29ABCAF48 %46 = fcmp ogt double %41, %45 br i1 %46, label %28, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %47 47: ; preds = %._crit_edge, %4 %48 = load double, ptr %12, align 8 %49 = load double, ptr %7, align 8 %50 = fneg double %49 %51 = load double, ptr %6, align 8 %52 = load double, ptr %7, align 8 %53 = call double @log(double noundef %52) #4 %54 = call double @llvm.fmuladd.f64(double %51, double %53, double %50) %55 = load double, ptr %10, align 8 %56 = fsub double %54, %55 %57 = call double @exp(double noundef %56) #4 %58 = fmul double %48, %57 store double %58, ptr %9, align 8 %59 = load double, ptr %9, align 8 %60 = load ptr, ptr %5, align 8 store double %59, ptr %60, align 8 %61 = load double, ptr %10, align 8 %62 = load ptr, ptr %8, align 8 store double %61, ptr %62, align 8 ret void } ; Function Attrs: nounwind declare double @lgamma(double noundef) #1 declare i32 @fabs(double noundef) #2 ; Function Attrs: nounwind declare double @exp(double noundef) #1 ; Function Attrs: nounwind declare double @log(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpppy7z7md.c' source_filename = "/tmp/tmpppy7z7md.c" target datalayout = "e-m:e-p270: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/tmpppy7z7md.c" target datalayout = "e-m:e-p270: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/tmpe1b_sfar.c' source_filename = "/tmp/tmpe1b_sfar.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"One\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"Two\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"Three\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"Four\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"Five\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"Six\00", align 1 @.str.7 = private unnamed_addr constant [6 x i8] c"Seven\00", align 1 @.str.8 = private unnamed_addr constant [6 x i8] c"Eight\00", align 1 @.str.9 = private unnamed_addr constant [5 x i8] c"Nine\00", align 1 @__const.convert.num = private unnamed_addr constant [10 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6, ptr @.str.7, ptr @.str.8, ptr @.str.9], align 16 @.str.10 = private unnamed_addr constant [7 x i8] c"Twenty\00", align 1 @.str.11 = private unnamed_addr constant [7 x i8] c"Thirty\00", align 1 @.str.12 = private unnamed_addr constant [7 x i8] c"Fourty\00", align 1 @.str.13 = private unnamed_addr constant [6 x i8] c"Fifty\00", align 1 @.str.14 = private unnamed_addr constant [6 x i8] c"Sixty\00", align 1 @.str.15 = private unnamed_addr constant [8 x i8] c"Seventy\00", align 1 @.str.16 = private unnamed_addr constant [7 x i8] c"Eighty\00", align 1 @.str.17 = private unnamed_addr constant [6 x i8] c"Ninty\00", align 1 @__const.convert.for_ten = private unnamed_addr constant [10 x ptr] [ptr @.str, ptr @.str, ptr @.str.10, ptr @.str.11, ptr @.str.12, ptr @.str.13, ptr @.str.14, ptr @.str.15, ptr @.str.16, ptr @.str.17], align 16 @.str.18 = private unnamed_addr constant [4 x i8] c"Ten\00", align 1 @.str.19 = private unnamed_addr constant [7 x i8] c"Eleven\00", align 1 @.str.20 = private unnamed_addr constant [7 x i8] c"Twelve\00", align 1 @.str.21 = private unnamed_addr constant [9 x i8] c"Thirteen\00", align 1 @.str.22 = private unnamed_addr constant [9 x i8] c"Fourteen\00", align 1 @.str.23 = private unnamed_addr constant [8 x i8] c"Fifteen\00", align 1 @.str.24 = private unnamed_addr constant [8 x i8] c"Sixteen\00", align 1 @.str.25 = private unnamed_addr constant [10 x i8] c"Seventeen\00", align 1 @.str.26 = private unnamed_addr constant [9 x i8] c"Eighteen\00", align 1 @.str.27 = private unnamed_addr constant [8 x i8] c"Ninteen\00", align 1 @__const.convert.af_ten = private unnamed_addr constant [10 x ptr] [ptr @.str.18, ptr @.str.19, ptr @.str.20, ptr @.str.21, ptr @.str.22, ptr @.str.23, ptr @.str.24, ptr @.str.25, ptr @.str.26, ptr @.str.27], align 16 @.str.28 = private unnamed_addr constant [24 x i8] c"\0AThe year in words is:\0A\00", align 1 @.str.29 = private unnamed_addr constant [12 x i8] c"%s thousand\00", align 1 @.str.30 = private unnamed_addr constant [12 x i8] c" %s hundred\00", align 1 @.str.31 = private unnamed_addr constant [7 x i8] c" %s %s\00", align 1 @.str.32 = private unnamed_addr constant [4 x i8] c" %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @convert(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [10 x ptr], align 16 %10 = alloca [10 x ptr], align 16 %11 = alloca [10 x ptr], align 16 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.convert.num, i64 80, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %10, ptr align 16 @__const.convert.for_ten, i64 80, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %11, ptr align 16 @__const.convert.af_ten, i64 80, i1 false) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.28) %13 = load i32, ptr %5, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds [10 x ptr], ptr %9, i64 0, i64 %14 %16 = load ptr, ptr %15, align 8 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.29, ptr noundef %16) %18 = load i32, ptr %6, align 4 %19 = icmp ne i32 %18, 0 br i1 %19, label %20, label %26 20: ; preds = %4 %21 = load i32, ptr %6, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [10 x ptr], ptr %9, i64 0, i64 %22 %24 = load ptr, ptr %23, align 8 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.30, ptr noundef %24) br label %26 26: ; preds = %20, %4 %27 = load i32, ptr %7, align 4 %28 = icmp ne i32 %27, 1 br i1 %28, label %29, label %39 29: ; preds = %26 %30 = load i32, ptr %7, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [10 x ptr], ptr %10, i64 0, i64 %31 %33 = load ptr, ptr %32, align 8 %34 = load i32, ptr %8, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds [10 x ptr], ptr %9, i64 0, i64 %35 %37 = load ptr, ptr %36, align 8 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.31, ptr noundef %33, ptr noundef %37) br label %45 39: ; preds = %26 %40 = load i32, ptr %8, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [10 x ptr], ptr %11, i64 0, i64 %41 %43 = load ptr, ptr %42, align 8 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.32, ptr noundef %43) br label %45 45: ; preds = %39, %29 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 @printf(ptr noundef, ...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpe1b_sfar.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"One\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"Two\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"Three\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"Four\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"Five\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"Six\00", align 1 @.str.7 = private unnamed_addr constant [6 x i8] c"Seven\00", align 1 @.str.8 = private unnamed_addr constant [6 x i8] c"Eight\00", align 1 @.str.9 = private unnamed_addr constant [5 x i8] c"Nine\00", align 1 @__const.convert.num = private unnamed_addr constant [10 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6, ptr @.str.7, ptr @.str.8, ptr @.str.9], align 16 @.str.10 = private unnamed_addr constant [7 x i8] c"Twenty\00", align 1 @.str.11 = private unnamed_addr constant [7 x i8] c"Thirty\00", align 1 @.str.12 = private unnamed_addr constant [7 x i8] c"Fourty\00", align 1 @.str.13 = private unnamed_addr constant [6 x i8] c"Fifty\00", align 1 @.str.14 = private unnamed_addr constant [6 x i8] c"Sixty\00", align 1 @.str.15 = private unnamed_addr constant [8 x i8] c"Seventy\00", align 1 @.str.16 = private unnamed_addr constant [7 x i8] c"Eighty\00", align 1 @.str.17 = private unnamed_addr constant [6 x i8] c"Ninty\00", align 1 @__const.convert.for_ten = private unnamed_addr constant [10 x ptr] [ptr @.str, ptr @.str, ptr @.str.10, ptr @.str.11, ptr @.str.12, ptr @.str.13, ptr @.str.14, ptr @.str.15, ptr @.str.16, ptr @.str.17], align 16 @.str.18 = private unnamed_addr constant [4 x i8] c"Ten\00", align 1 @.str.19 = private unnamed_addr constant [7 x i8] c"Eleven\00", align 1 @.str.20 = private unnamed_addr constant [7 x i8] c"Twelve\00", align 1 @.str.21 = private unnamed_addr constant [9 x i8] c"Thirteen\00", align 1 @.str.22 = private unnamed_addr constant [9 x i8] c"Fourteen\00", align 1 @.str.23 = private unnamed_addr constant [8 x i8] c"Fifteen\00", align 1 @.str.24 = private unnamed_addr constant [8 x i8] c"Sixteen\00", align 1 @.str.25 = private unnamed_addr constant [10 x i8] c"Seventeen\00", align 1 @.str.26 = private unnamed_addr constant [9 x i8] c"Eighteen\00", align 1 @.str.27 = private unnamed_addr constant [8 x i8] c"Ninteen\00", align 1 @__const.convert.af_ten = private unnamed_addr constant [10 x ptr] [ptr @.str.18, ptr @.str.19, ptr @.str.20, ptr @.str.21, ptr @.str.22, ptr @.str.23, ptr @.str.24, ptr @.str.25, ptr @.str.26, ptr @.str.27], align 16 @.str.28 = private unnamed_addr constant [24 x i8] c"\0AThe year in words is:\0A\00", align 1 @.str.29 = private unnamed_addr constant [12 x i8] c"%s thousand\00", align 1 @.str.30 = private unnamed_addr constant [12 x i8] c" %s hundred\00", align 1 @.str.31 = private unnamed_addr constant [7 x i8] c" %s %s\00", align 1 @.str.32 = private unnamed_addr constant [4 x i8] c" %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @convert(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [10 x ptr], align 16 %10 = alloca [10 x ptr], align 16 %11 = alloca [10 x ptr], align 16 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.convert.num, i64 80, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %10, ptr align 16 @__const.convert.for_ten, i64 80, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %11, ptr align 16 @__const.convert.af_ten, i64 80, i1 false) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.28) %13 = load i32, ptr %5, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds [10 x ptr], ptr %9, i64 0, i64 %14 %16 = load ptr, ptr %15, align 8 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.29, ptr noundef %16) %18 = load i32, ptr %6, align 4 %19 = icmp ne i32 %18, 0 br i1 %19, label %20, label %26 20: ; preds = %4 %21 = load i32, ptr %6, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [10 x ptr], ptr %9, i64 0, i64 %22 %24 = load ptr, ptr %23, align 8 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.30, ptr noundef %24) br label %26 26: ; preds = %20, %4 %27 = load i32, ptr %7, align 4 %28 = icmp ne i32 %27, 1 br i1 %28, label %29, label %39 29: ; preds = %26 %30 = load i32, ptr %7, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [10 x ptr], ptr %10, i64 0, i64 %31 %33 = load ptr, ptr %32, align 8 %34 = load i32, ptr %8, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds [10 x ptr], ptr %9, i64 0, i64 %35 %37 = load ptr, ptr %36, align 8 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.31, ptr noundef %33, ptr noundef %37) br label %45 39: ; preds = %26 %40 = load i32, ptr %8, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [10 x ptr], ptr %11, i64 0, i64 %41 %43 = load ptr, ptr %42, align 8 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.32, ptr noundef %43) br label %45 45: ; preds = %39, %29 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 @printf(ptr noundef, ...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdw_20qpx.c' source_filename = "/tmp/tmpdw_20qpx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %10 = load ptr, ptr %5, align 8 store ptr %10, ptr %8, align 8 %11 = load ptr, ptr %6, align 8 store ptr %11, ptr %9, align 8 br label %12 12: ; preds = %32, %3 %13 = load i64, ptr %7, align 8 %14 = add i64 %13, -1 store i64 %14, ptr %7, align 8 %15 = icmp ne i64 %13, 0 br i1 %15, label %16, label %37 16: ; preds = %12 %17 = load ptr, ptr %8, align 8 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = load ptr, ptr %9, align 8 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp ne i32 %19, %22 br i1 %23, label %24, label %32 24: ; preds = %16 %25 = load ptr, ptr %8, align 8 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = load ptr, ptr %9, align 8 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 %31 = sub nsw i32 %27, %30 store i32 %31, ptr %4, align 4 br label %38 32: ; preds = %16 %33 = load ptr, ptr %8, align 8 %34 = getelementptr inbounds i8, ptr %33, i32 1 store ptr %34, ptr %8, align 8 %35 = load ptr, ptr %9, align 8 %36 = getelementptr inbounds i8, ptr %35, i32 1 store ptr %36, ptr %9, align 8 br label %12, !llvm.loop !6 37: ; preds = %12 store i32 0, ptr %4, align 4 br label %38 38: ; preds = %37, %24 %39 = load i32, ptr %4, align 4 ret i32 %39 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpdw_20qpx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %10 = load ptr, ptr %5, align 8 store ptr %10, ptr %8, align 8 %11 = load ptr, ptr %6, align 8 store ptr %11, ptr %9, align 8 %12 = load i64, ptr %7, align 8 %13 = add i64 %12, -1 store i64 %13, ptr %7, align 8 %14 = icmp ne i64 %12, 0 br i1 %14, label %.lr.ph, label %39 .lr.ph: ; preds = %3 br label %15 15: ; preds = %.lr.ph, %31 %16 = load ptr, ptr %8, align 8 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = load ptr, ptr %9, align 8 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = icmp ne i32 %18, %21 br i1 %22, label %23, label %31 23: ; preds = %15 %24 = load ptr, ptr %8, align 8 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = load ptr, ptr %9, align 8 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = sub nsw i32 %26, %29 store i32 %30, ptr %4, align 4 br label %40 31: ; preds = %15 %32 = load ptr, ptr %8, align 8 %33 = getelementptr inbounds i8, ptr %32, i32 1 store ptr %33, ptr %8, align 8 %34 = load ptr, ptr %9, align 8 %35 = getelementptr inbounds i8, ptr %34, i32 1 store ptr %35, ptr %9, align 8 %36 = load i64, ptr %7, align 8 %37 = add i64 %36, -1 store i64 %37, ptr %7, align 8 %38 = icmp ne i64 %36, 0 br i1 %38, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %31 br label %39 39: ; preds = %._crit_edge, %3 store i32 0, ptr %4, align 4 br label %40 40: ; preds = %39, %23 %41 = load i32, ptr %4, align 4 ret i32 %41 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpwpctd6bn.c' source_filename = "/tmp/tmpwpctd6bn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @FS_ReadFileAndCache(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @LoadFile(ptr noundef %5, ptr noundef %6, i32 noundef 0, i32 noundef 0) ret i32 %7 } declare i32 @LoadFile(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwpctd6bn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @FS_ReadFileAndCache(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @LoadFile(ptr noundef %5, ptr noundef %6, i32 noundef 0, i32 noundef 0) ret i32 %7 } declare i32 @LoadFile(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpz_843rq5.c' source_filename = "/tmp/tmpz_843rq5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @qPH(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 store double %0, ptr %3, align 8 %5 = load double, ptr %3, align 8 %6 = fcmp ogt double %5, 1.200000e+01 br i1 %6, label %7, label %8 7: ; preds = %1 store double 3.000000e+00, ptr %2, align 8 br label %22 8: ; preds = %1 %9 = load double, ptr %3, align 8 %10 = fcmp olt double %9, 2.000000e+00 br i1 %10, label %11, label %12 11: ; preds = %8 store double 2.000000e+00, ptr %2, align 8 br label %22 12: ; preds = %8 %13 = load double, ptr %3, align 8 %14 = load double, ptr %3, align 8 %15 = call double @pow(double noundef %14, double noundef 2.000000e+00) #3 %16 = fmul double 0xBFB9465E89225311, %15 %17 = call double @llvm.fmuladd.f64(double 1.230000e+00, double %13, double %16) store double %17, ptr %4, align 8 %18 = load double, ptr %3, align 8 %19 = load double, ptr %4, align 8 %20 = call double @pow(double noundef %18, double noundef %19) #3 %21 = call double @llvm.fmuladd.f64(double 5.421000e-02, double %20, double 5.213000e+00) store double %21, ptr %2, align 8 br label %22 22: ; preds = %12, %11, %7 %23 = load double, ptr %2, align 8 ret double %23 } ; Function Attrs: nounwind declare double @pow(double noundef, double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz_843rq5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @qPH(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 store double %0, ptr %3, align 8 %5 = load double, ptr %3, align 8 %6 = fcmp ogt double %5, 1.200000e+01 br i1 %6, label %7, label %8 7: ; preds = %1 store double 3.000000e+00, ptr %2, align 8 br label %22 8: ; preds = %1 %9 = load double, ptr %3, align 8 %10 = fcmp olt double %9, 2.000000e+00 br i1 %10, label %11, label %12 11: ; preds = %8 store double 2.000000e+00, ptr %2, align 8 br label %22 12: ; preds = %8 %13 = load double, ptr %3, align 8 %14 = load double, ptr %3, align 8 %15 = call double @pow(double noundef %14, double noundef 2.000000e+00) #3 %16 = fmul double 0xBFB9465E89225311, %15 %17 = call double @llvm.fmuladd.f64(double 1.230000e+00, double %13, double %16) store double %17, ptr %4, align 8 %18 = load double, ptr %3, align 8 %19 = load double, ptr %4, align 8 %20 = call double @pow(double noundef %18, double noundef %19) #3 %21 = call double @llvm.fmuladd.f64(double 5.421000e-02, double %20, double 5.213000e+00) store double %21, ptr %2, align 8 br label %22 22: ; preds = %12, %11, %7 %23 = load double, ptr %2, align 8 ret double %23 } ; Function Attrs: nounwind declare double @pow(double noundef, double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpb5i9iro1.c' source_filename = "/tmp/tmpb5i9iro1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @strsep(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %11 = load ptr, ptr %4, align 8 %12 = load ptr, ptr %11, align 8 store ptr %12, ptr %6, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %15 14: ; preds = %2 store ptr null, ptr %3, align 8 br label %46 15: ; preds = %2 %16 = load ptr, ptr %6, align 8 store ptr %16, ptr %10, align 8 br label %17 17: ; preds = %45, %15 %18 = load ptr, ptr %6, align 8 %19 = getelementptr inbounds i8, ptr %18, i32 1 store ptr %19, ptr %6, align 8 %20 = load i8, ptr %18, align 1 %21 = sext i8 %20 to i32 store i32 %21, ptr %8, align 4 %22 = load ptr, ptr %5, align 8 store ptr %22, ptr %7, align 8 br label %23 23: ; preds = %42, %17 %24 = load ptr, ptr %7, align 8 %25 = getelementptr inbounds i8, ptr %24, i32 1 store ptr %25, ptr %7, align 8 %26 = load i8, ptr %24, align 1 %27 = sext i8 %26 to i32 store i32 %27, ptr %9, align 4 %28 = load i32, ptr %8, align 4 %29 = icmp eq i32 %27, %28 br i1 %29, label %30, label %41 30: ; preds = %23 %31 = load i32, ptr %8, align 4 %32 = icmp eq i32 %31, 0 br i1 %32, label %33, label %34 33: ; preds = %30 store ptr null, ptr %6, align 8 br label %37 34: ; preds = %30 %35 = load ptr, ptr %6, align 8 %36 = getelementptr inbounds i8, ptr %35, i64 -1 store i8 0, ptr %36, align 1 br label %37 37: ; preds = %34, %33 %38 = load ptr, ptr %6, align 8 %39 = load ptr, ptr %4, align 8 store ptr %38, ptr %39, align 8 %40 = load ptr, ptr %10, align 8 store ptr %40, ptr %3, align 8 br label %46 41: ; preds = %23 br label %42 42: ; preds = %41 %43 = load i32, ptr %9, align 4 %44 = icmp ne i32 %43, 0 br i1 %44, label %23, label %45, !llvm.loop !6 45: ; preds = %42 br label %17 46: ; preds = %37, %14 %47 = load ptr, ptr %3, align 8 ret ptr %47 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpb5i9iro1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @strsep(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %11 = load ptr, ptr %4, align 8 %12 = load ptr, ptr %11, align 8 store ptr %12, ptr %6, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %15 14: ; preds = %2 store ptr null, ptr %3, align 8 br label %46 15: ; preds = %2 %16 = load ptr, ptr %6, align 8 store ptr %16, ptr %10, align 8 br label %17 17: ; preds = %45, %15 %18 = load ptr, ptr %6, align 8 %19 = getelementptr inbounds i8, ptr %18, i32 1 store ptr %19, ptr %6, align 8 %20 = load i8, ptr %18, align 1 %21 = sext i8 %20 to i32 store i32 %21, ptr %8, align 4 %22 = load ptr, ptr %5, align 8 store ptr %22, ptr %7, align 8 br label %23 23: ; preds = %42, %17 %24 = load ptr, ptr %7, align 8 %25 = getelementptr inbounds i8, ptr %24, i32 1 store ptr %25, ptr %7, align 8 %26 = load i8, ptr %24, align 1 %27 = sext i8 %26 to i32 store i32 %27, ptr %9, align 4 %28 = load i32, ptr %8, align 4 %29 = icmp eq i32 %27, %28 br i1 %29, label %30, label %41 30: ; preds = %23 %31 = load i32, ptr %8, align 4 %32 = icmp eq i32 %31, 0 br i1 %32, label %33, label %34 33: ; preds = %30 store ptr null, ptr %6, align 8 br label %37 34: ; preds = %30 %35 = load ptr, ptr %6, align 8 %36 = getelementptr inbounds i8, ptr %35, i64 -1 store i8 0, ptr %36, align 1 br label %37 37: ; preds = %34, %33 %38 = load ptr, ptr %6, align 8 %39 = load ptr, ptr %4, align 8 store ptr %38, ptr %39, align 8 %40 = load ptr, ptr %10, align 8 store ptr %40, ptr %3, align 8 br label %46 41: ; preds = %23 br label %42 42: ; preds = %41 %43 = load i32, ptr %9, align 4 %44 = icmp ne i32 %43, 0 br i1 %44, label %23, label %45, !llvm.loop !6 45: ; preds = %42 br label %17 46: ; preds = %37, %14 %47 = load ptr, ptr %3, align 8 ret ptr %47 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpbx8zebbq.c' source_filename = "/tmp/tmpbx8zebbq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"Error on write\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @my_putchar(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 %3 = alloca i32, align 4 store i8 %0, ptr %2, align 1 %4 = call i32 @write(i32 noundef 1, ptr noundef %2, i32 noundef 1) store i32 %4, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp eq i32 %5, -1 br i1 %6, label %7, label %10 7: ; preds = %1 %8 = call i32 @my_putstr(ptr noundef @.str) %9 = call i32 @exit(i32 noundef -1) #3 unreachable 10: ; preds = %1 ret void } declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @my_putstr(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/tmpbx8zebbq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"Error on write\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @my_putchar(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 %3 = alloca i32, align 4 store i8 %0, ptr %2, align 1 %4 = call i32 @write(i32 noundef 1, ptr noundef %2, i32 noundef 1) store i32 %4, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp eq i32 %5, -1 br i1 %6, label %7, label %10 7: ; preds = %1 %8 = call i32 @my_putstr(ptr noundef @.str) %9 = call i32 @exit(i32 noundef -1) #3 unreachable 10: ; preds = %1 ret void } declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @my_putstr(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/tmpo2wr1zaf.c' source_filename = "/tmp/tmpo2wr1zaf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @buf_add_uint32(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @htonl(i32 noundef %6) store i32 %7, ptr %5, align 4 %8 = load ptr, ptr %3, align 8 %9 = call i32 @memcpy(ptr noundef %8, ptr noundef %5, i32 noundef 4) ret void } declare i32 @htonl(i32 noundef) #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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo2wr1zaf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @buf_add_uint32(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @htonl(i32 noundef %6) store i32 %7, ptr %5, align 4 %8 = load ptr, ptr %3, align 8 %9 = call i32 @memcpy(ptr noundef %8, ptr noundef %5, i32 noundef 4) ret void } declare i32 @htonl(i32 noundef) #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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkd3zuhl2.c' source_filename = "/tmp/tmpkd3zuhl2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"Starting server! %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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %5, align 8 %7 = getelementptr inbounds ptr, ptr %6, i64 1 %8 = load ptr, ptr %7, align 8 %9 = call i32 @printf(ptr noundef @.str, ptr noundef %8) ret i32 0 } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkd3zuhl2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"Starting server! %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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %5, align 8 %7 = getelementptr inbounds ptr, ptr %6, i64 1 %8 = load ptr, ptr %7, align 8 %9 = call i32 @printf(ptr noundef @.str, ptr noundef %8) ret i32 0 } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_3l0vf_v.c' source_filename = "/tmp/tmp_3l0vf_v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @printf(ptr noundef @.str, ptr noundef %3) ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_3l0vf_v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @printf(ptr noundef @.str, ptr noundef %3) ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4tcadwp0.c' source_filename = "/tmp/tmp4tcadwp0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"Enter year: \0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"It is a leap year\0A\00", align 1 @.str.3 = private unnamed_addr constant [23 x i8] c"It is not a leap year\0A\00", align 1 @.str.4 = private unnamed_addr constant [24 x i8] c"It is not a leap year \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %5 = load i32, ptr %2, align 4 %6 = srem i32 %5, 4 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %24 8: ; preds = %0 %9 = load i32, ptr %2, align 4 %10 = srem i32 %9, 100 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %21 12: ; preds = %8 %13 = load i32, ptr %2, align 4 %14 = srem i32 %13, 400 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %18 16: ; preds = %12 %17 = call i32 @printf(ptr noundef @.str.2) br label %20 18: ; preds = %12 %19 = call i32 @printf(ptr noundef @.str.3) br label %20 20: ; preds = %18, %16 br label %23 21: ; preds = %8 %22 = call i32 @printf(ptr noundef @.str.2) br label %23 23: ; preds = %21, %20 br label %26 24: ; preds = %0 %25 = call i32 @printf(ptr noundef @.str.4) br label %26 26: ; preds = %24, %23 ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4tcadwp0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"Enter year: \0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"It is a leap year\0A\00", align 1 @.str.3 = private unnamed_addr constant [23 x i8] c"It is not a leap year\0A\00", align 1 @.str.4 = private unnamed_addr constant [24 x i8] c"It is not a leap year \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %5 = load i32, ptr %2, align 4 %6 = srem i32 %5, 4 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %24 8: ; preds = %0 %9 = load i32, ptr %2, align 4 %10 = srem i32 %9, 100 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %21 12: ; preds = %8 %13 = load i32, ptr %2, align 4 %14 = srem i32 %13, 400 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %18 16: ; preds = %12 %17 = call i32 @printf(ptr noundef @.str.2) br label %20 18: ; preds = %12 %19 = call i32 @printf(ptr noundef @.str.3) br label %20 20: ; preds = %18, %16 br label %23 21: ; preds = %8 %22 = call i32 @printf(ptr noundef @.str.2) br label %23 23: ; preds = %21, %20 br label %26 24: ; preds = %0 %25 = call i32 @printf(ptr noundef @.str.4) br label %26 26: ; preds = %24, %23 ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpz3vu9fz8.c' source_filename = "/tmp/tmpz3vu9fz8.c" target datalayout = "e-m:e-p270: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/tmpz3vu9fz8.c" target datalayout = "e-m:e-p270: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/tmpk114vgw7.c' source_filename = "/tmp/tmpk114vgw7.c" target datalayout = "e-m:e-p270: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 [52 x i8] c"This program supports the following flag prefixes:\0A\00", align 1 @.str.1 = private unnamed_addr constant [69 x i8] c"\09--all- (i.e. --all-v for all Hermes libraries to use verbose mode)\0A\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"\09--%s-\0A\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_valid_multi_params_prefixes(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load i32, ptr @stderr, align 4 %7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef @.str) %8 = load i32, ptr @stderr, align 4 %9 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str.1) store i32 0, ptr %5, align 4 br label %10 10: ; preds = %22, %2 %11 = load i32, ptr %5, align 4 %12 = load i32, ptr %4, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %14, label %25 14: ; preds = %10 %15 = load i32, ptr @stderr, align 4 %16 = load ptr, ptr %3, align 8 %17 = load i32, ptr %5, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds ptr, ptr %16, i64 %18 %20 = load ptr, ptr %19, align 8 %21 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %15, ptr noundef @.str.2, ptr noundef %20) br label %22 22: ; preds = %14 %23 = load i32, ptr %5, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %5, align 4 br label %10, !llvm.loop !6 25: ; preds = %10 %26 = load i32, ptr @stderr, align 4 %27 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %26, ptr noundef @.str.3) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk114vgw7.c" target datalayout = "e-m:e-p270: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 [52 x i8] c"This program supports the following flag prefixes:\0A\00", align 1 @.str.1 = private unnamed_addr constant [69 x i8] c"\09--all- (i.e. --all-v for all Hermes libraries to use verbose mode)\0A\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"\09--%s-\0A\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_valid_multi_params_prefixes(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load i32, ptr @stderr, align 4 %7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef @.str) %8 = load i32, ptr @stderr, align 4 %9 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str.1) store i32 0, ptr %5, align 4 %10 = load i32, ptr %5, align 4 %11 = load i32, ptr %4, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %.lr.ph, label %27 .lr.ph: ; preds = %2 br label %13 13: ; preds = %.lr.ph, %21 %14 = load i32, ptr @stderr, align 4 %15 = load ptr, ptr %3, align 8 %16 = load i32, ptr %5, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds ptr, ptr %15, i64 %17 %19 = load ptr, ptr %18, align 8 %20 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %14, ptr noundef @.str.2, ptr noundef %19) br label %21 21: ; preds = %13 %22 = load i32, ptr %5, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %5, align 4 %24 = load i32, ptr %5, align 4 %25 = load i32, ptr %4, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %27 27: ; preds = %._crit_edge, %2 %28 = load i32, ptr @stderr, align 4 %29 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %28, ptr noundef @.str.3) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpstvjybbq.c' source_filename = "/tmp/tmpstvjybbq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__signbitl(x86_fp80 noundef %0) #0 { %2 = alloca x86_fp80, align 16 store x86_fp80 %0, ptr %2, align 16 %3 = load x86_fp80, ptr %2, align 16 %4 = call i32 @__signbit(x86_fp80 noundef %3) ret i32 %4 } declare i32 @__signbit(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/tmpstvjybbq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__signbitl(x86_fp80 noundef %0) #0 { %2 = alloca x86_fp80, align 16 store x86_fp80 %0, ptr %2, align 16 %3 = load x86_fp80, ptr %2, align 16 %4 = call i32 @__signbit(x86_fp80 noundef %3) ret i32 %4 } declare i32 @__signbit(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/tmped01qsop.c' source_filename = "/tmp/tmped01qsop.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ScuSendExternalInterrupt09() #0 { %1 = call i32 @SendInterrupt(i32 noundef 89, i32 noundef 1, i32 noundef 32768, i32 noundef 33554432) ret void } declare i32 @SendInterrupt(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmped01qsop.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ScuSendExternalInterrupt09() #0 { %1 = call i32 @SendInterrupt(i32 noundef 89, i32 noundef 1, i32 noundef 32768, i32 noundef 33554432) ret void } declare i32 @SendInterrupt(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyqpmcyrs.c' source_filename = "/tmp/tmpyqpmcyrs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"rt\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"#ideal\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"#delta\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"true\0A\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"false\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cov_check(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca [80 x i8], align 16 %8 = alloca [80 x i8], align 16 %9 = alloca [80 x i8], align 16 %10 = alloca [80 x i8], align 16 %11 = alloca x86_fp80, align 16 %12 = alloca x86_fp80, align 16 %13 = alloca x86_fp80, align 16 %14 = alloca x86_fp80, align 16 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 store i32 10, ptr %18, align 4 %19 = load ptr, ptr %4, align 8 %20 = call ptr @fopen(ptr noundef %19, ptr noundef @.str) store ptr %20, ptr %15, align 8 br label %21 21: ; preds = %35, %3 %22 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 0 %23 = load ptr, ptr %15, align 8 %24 = call ptr @fgets(ptr noundef %22, i32 noundef 80, ptr noundef %23) %25 = icmp ne ptr %24, null br i1 %25, label %26, label %36 26: ; preds = %21 %27 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 0 %28 = load i8, ptr %27, align 16 %29 = sext i8 %28 to i32 %30 = icmp ne i32 %29, 35 br i1 %30, label %31, label %35 31: ; preds = %26 %32 = getelementptr inbounds [80 x i8], ptr %8, i64 0, i64 0 %33 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 0 %34 = call i32 @strcpy(ptr noundef %32, ptr noundef %33) br label %35 35: ; preds = %31, %26 br label %21, !llvm.loop !6 36: ; preds = %21 %37 = load ptr, ptr %15, align 8 %38 = call i32 @fclose(ptr noundef %37) %39 = load ptr, ptr %5, align 8 %40 = call ptr @fopen(ptr noundef %39, ptr noundef @.str) store ptr %40, ptr %16, align 8 br label %41 41: ; preds = %63, %36 %42 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 0 %43 = load ptr, ptr %16, align 8 %44 = call ptr @fgets(ptr noundef %42, i32 noundef 80, ptr noundef %43) %45 = icmp ne ptr %44, null br i1 %45, label %46, label %64 46: ; preds = %41 %47 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 0 %48 = call i64 @strncmp(ptr noundef %47, ptr noundef @.str.1, i32 noundef 6) %49 = icmp eq i64 %48, 0 br i1 %49, label %50, label %54 50: ; preds = %46 %51 = getelementptr inbounds [80 x i8], ptr %9, i64 0, i64 0 %52 = load ptr, ptr %16, align 8 %53 = call ptr @fgets(ptr noundef %51, i32 noundef 80, ptr noundef %52) br label %63 54: ; preds = %46 %55 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 0 %56 = call i64 @strncmp(ptr noundef %55, ptr noundef @.str.2, i32 noundef 6) %57 = icmp eq i64 %56, 0 br i1 %57, label %58, label %62 58: ; preds = %54 %59 = getelementptr inbounds [80 x i8], ptr %10, i64 0, i64 0 %60 = load ptr, ptr %16, align 8 %61 = call ptr @fgets(ptr noundef %59, i32 noundef 80, ptr noundef %60) br label %62 62: ; preds = %58, %54 br label %63 63: ; preds = %62, %50 br label %41, !llvm.loop !8 64: ; preds = %41 %65 = load ptr, ptr %16, align 8 %66 = call i32 @fclose(ptr noundef %65) %67 = getelementptr inbounds [80 x i8], ptr %8, i64 0, i64 0 %68 = load i32, ptr %18, align 4 %69 = call x86_fp80 @cov_deserialize(ptr noundef %67, i32 noundef %68) store x86_fp80 %69, ptr %11, align 16 %70 = getelementptr inbounds [80 x i8], ptr %9, i64 0, i64 0 %71 = load i32, ptr %18, align 4 %72 = call x86_fp80 @cov_deserialize(ptr noundef %70, i32 noundef %71) store x86_fp80 %72, ptr %12, align 16 %73 = getelementptr inbounds [80 x i8], ptr %10, i64 0, i64 0 %74 = load i32, ptr %18, align 4 %75 = call x86_fp80 @cov_deserialize(ptr noundef %73, i32 noundef %74) store x86_fp80 %75, ptr %13, align 16 %76 = load x86_fp80, ptr %11, align 16 %77 = load x86_fp80, ptr %12, align 16 %78 = fcmp ogt x86_fp80 %76, %77 br i1 %78, label %79, label %83 79: ; preds = %64 %80 = load x86_fp80, ptr %11, align 16 %81 = load x86_fp80, ptr %12, align 16 %82 = fsub x86_fp80 %80, %81 store x86_fp80 %82, ptr %14, align 16 br label %87 83: ; preds = %64 %84 = load x86_fp80, ptr %12, align 16 %85 = load x86_fp80, ptr %11, align 16 %86 = fsub x86_fp80 %84, %85 store x86_fp80 %86, ptr %14, align 16 br label %87 87: ; preds = %83, %79 %88 = load ptr, ptr %6, align 8 %89 = call ptr @fopen(ptr noundef %88, ptr noundef @.str.3) store ptr %89, ptr %17, align 8 %90 = load x86_fp80, ptr %13, align 16 %91 = load x86_fp80, ptr %14, align 16 %92 = fcmp oge x86_fp80 %90, %91 br i1 %92, label %93, label %96 93: ; preds = %87 %94 = load ptr, ptr %17, align 8 %95 = call i32 @fprintf(ptr noundef %94, ptr noundef @.str.4) br label %99 96: ; preds = %87 %97 = load ptr, ptr %17, align 8 %98 = call i32 @fprintf(ptr noundef %97, ptr noundef @.str.5) br label %99 99: ; preds = %96, %93 %100 = load ptr, ptr %17, align 8 %101 = call i32 @fclose(ptr noundef %100) ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare x86_fp80 @cov_deserialize(ptr noundef, i32 noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyqpmcyrs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"rt\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"#ideal\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"#delta\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"true\0A\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"false\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cov_check(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca [80 x i8], align 16 %8 = alloca [80 x i8], align 16 %9 = alloca [80 x i8], align 16 %10 = alloca [80 x i8], align 16 %11 = alloca x86_fp80, align 16 %12 = alloca x86_fp80, align 16 %13 = alloca x86_fp80, align 16 %14 = alloca x86_fp80, align 16 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 store i32 10, ptr %18, align 4 %19 = load ptr, ptr %4, align 8 %20 = call ptr @fopen(ptr noundef %19, ptr noundef @.str) store ptr %20, ptr %15, align 8 %21 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 0 %22 = load ptr, ptr %15, align 8 %23 = call ptr @fgets(ptr noundef %21, i32 noundef 80, ptr noundef %22) %24 = icmp ne ptr %23, null br i1 %24, label %.lr.ph, label %38 .lr.ph: ; preds = %3 br label %25 25: ; preds = %.lr.ph, %34 %26 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 0 %27 = load i8, ptr %26, align 16 %28 = sext i8 %27 to i32 %29 = icmp ne i32 %28, 35 br i1 %29, label %30, label %34 30: ; preds = %25 %31 = getelementptr inbounds [80 x i8], ptr %8, i64 0, i64 0 %32 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 0 %33 = call i32 @strcpy(ptr noundef %31, ptr noundef %32) br label %34 34: ; preds = %30, %25 %35 = load ptr, ptr %15, align 8 %36 = call ptr @fgets(ptr noundef %21, i32 noundef 80, ptr noundef %35) %37 = icmp ne ptr %36, null br i1 %37, label %25, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %34 br label %38 38: ; preds = %._crit_edge, %3 %39 = load ptr, ptr %15, align 8 %40 = call i32 @fclose(ptr noundef %39) %41 = load ptr, ptr %5, align 8 %42 = call ptr @fopen(ptr noundef %41, ptr noundef @.str) store ptr %42, ptr %16, align 8 %43 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 0 %44 = load ptr, ptr %16, align 8 %45 = call ptr @fgets(ptr noundef %43, i32 noundef 80, ptr noundef %44) %46 = icmp ne ptr %45, null br i1 %46, label %.lr.ph2, label %68 .lr.ph2: ; preds = %38 br label %47 47: ; preds = %.lr.ph2, %64 %48 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 0 %49 = call i64 @strncmp(ptr noundef %48, ptr noundef @.str.1, i32 noundef 6) %50 = icmp eq i64 %49, 0 br i1 %50, label %51, label %55 51: ; preds = %47 %52 = getelementptr inbounds [80 x i8], ptr %9, i64 0, i64 0 %53 = load ptr, ptr %16, align 8 %54 = call ptr @fgets(ptr noundef %52, i32 noundef 80, ptr noundef %53) br label %64 55: ; preds = %47 %56 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 0 %57 = call i64 @strncmp(ptr noundef %56, ptr noundef @.str.2, i32 noundef 6) %58 = icmp eq i64 %57, 0 br i1 %58, label %59, label %63 59: ; preds = %55 %60 = getelementptr inbounds [80 x i8], ptr %10, i64 0, i64 0 %61 = load ptr, ptr %16, align 8 %62 = call ptr @fgets(ptr noundef %60, i32 noundef 80, ptr noundef %61) br label %63 63: ; preds = %59, %55 br label %64 64: ; preds = %63, %51 %65 = load ptr, ptr %16, align 8 %66 = call ptr @fgets(ptr noundef %43, i32 noundef 80, ptr noundef %65) %67 = icmp ne ptr %66, null br i1 %67, label %47, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %64 br label %68 68: ; preds = %._crit_edge3, %38 %69 = load ptr, ptr %16, align 8 %70 = call i32 @fclose(ptr noundef %69) %71 = getelementptr inbounds [80 x i8], ptr %8, i64 0, i64 0 %72 = load i32, ptr %18, align 4 %73 = call x86_fp80 @cov_deserialize(ptr noundef %71, i32 noundef %72) store x86_fp80 %73, ptr %11, align 16 %74 = getelementptr inbounds [80 x i8], ptr %9, i64 0, i64 0 %75 = load i32, ptr %18, align 4 %76 = call x86_fp80 @cov_deserialize(ptr noundef %74, i32 noundef %75) store x86_fp80 %76, ptr %12, align 16 %77 = getelementptr inbounds [80 x i8], ptr %10, i64 0, i64 0 %78 = load i32, ptr %18, align 4 %79 = call x86_fp80 @cov_deserialize(ptr noundef %77, i32 noundef %78) store x86_fp80 %79, ptr %13, align 16 %80 = load x86_fp80, ptr %11, align 16 %81 = load x86_fp80, ptr %12, align 16 %82 = fcmp ogt x86_fp80 %80, %81 br i1 %82, label %83, label %87 83: ; preds = %68 %84 = load x86_fp80, ptr %11, align 16 %85 = load x86_fp80, ptr %12, align 16 %86 = fsub x86_fp80 %84, %85 store x86_fp80 %86, ptr %14, align 16 br label %91 87: ; preds = %68 %88 = load x86_fp80, ptr %12, align 16 %89 = load x86_fp80, ptr %11, align 16 %90 = fsub x86_fp80 %88, %89 store x86_fp80 %90, ptr %14, align 16 br label %91 91: ; preds = %87, %83 %92 = load ptr, ptr %6, align 8 %93 = call ptr @fopen(ptr noundef %92, ptr noundef @.str.3) store ptr %93, ptr %17, align 8 %94 = load x86_fp80, ptr %13, align 16 %95 = load x86_fp80, ptr %14, align 16 %96 = fcmp oge x86_fp80 %94, %95 br i1 %96, label %97, label %100 97: ; preds = %91 %98 = load ptr, ptr %17, align 8 %99 = call i32 @fprintf(ptr noundef %98, ptr noundef @.str.4) br label %103 100: ; preds = %91 %101 = load ptr, ptr %17, align 8 %102 = call i32 @fprintf(ptr noundef %101, ptr noundef @.str.5) br label %103 103: ; preds = %100, %97 %104 = load ptr, ptr %17, align 8 %105 = call i32 @fclose(ptr noundef %104) ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare x86_fp80 @cov_deserialize(ptr noundef, i32 noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpgud_ps5p.c' source_filename = "/tmp/tmpgud_ps5p.c" target datalayout = "e-m:e-p270: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, i32, i32 } @.str = private unnamed_addr constant [10 x i8] c"127.0.0.1\00", align 1 @.str.1 = private unnamed_addr constant [45 x i8] c"param err:\0AUsage: %s ip port | %s port | %s\0A\00", align 1 @AF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [11 x i8] c"socket err\00", align 1 @.str.3 = private unnamed_addr constant [25 x i8] c"Send data to %s:%d ...\0A\0A\00", align 1 @stdin = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [10 x i8] c"Send: %s\0A\00", align 1 @.str.5 = private unnamed_addr constant [27 x i8] c"Send scuccess, length:%d\0A\0A\00", align 1 @.str.6 = private unnamed_addr constant [10 x i8] c"send err\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 %struct.sockaddr_in, align 4 %9 = alloca i32, align 4 %10 = alloca [200 x i8], align 16 %11 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr @.str, ptr %6, align 8 store i32 6666, ptr %7, align 4 %12 = load i32, ptr %4, align 4 %13 = icmp sgt i32 %12, 3 br i1 %13, label %14, label %25 14: ; preds = %2 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 0 %17 = load ptr, ptr %16, align 8 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 0 %20 = load ptr, ptr %19, align 8 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 0 %23 = load ptr, ptr %22, align 8 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %17, ptr noundef %20, ptr noundef %23) br label %46 25: ; preds = %2 %26 = load i32, ptr %4, align 4 %27 = icmp eq i32 %26, 3 br i1 %27, label %28, label %36 28: ; preds = %25 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds ptr, ptr %29, i64 1 %31 = load ptr, ptr %30, align 8 store ptr %31, ptr %6, align 8 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds ptr, ptr %32, i64 2 %34 = load ptr, ptr %33, align 8 %35 = call i32 @atoi(ptr noundef %34) store i32 %35, ptr %7, align 4 br label %45 36: ; preds = %25 %37 = load i32, ptr %4, align 4 %38 = icmp eq i32 %37, 2 br i1 %38, label %39, label %44 39: ; preds = %36 %40 = load ptr, ptr %5, align 8 %41 = getelementptr inbounds ptr, ptr %40, i64 1 %42 = load ptr, ptr %41, align 8 %43 = call i32 @atoi(ptr noundef %42) store i32 %43, ptr %7, align 4 br label %44 44: ; preds = %39, %36 br label %45 45: ; preds = %44, %28 br label %46 46: ; preds = %45, %14 %47 = load i32, ptr @AF_INET, align 4 %48 = load i32, ptr @SOCK_DGRAM, align 4 %49 = call i32 @socket(i32 noundef %47, i32 noundef %48, i32 noundef 0) store i32 %49, ptr %9, align 4 %50 = icmp slt i32 %49, 0 br i1 %50, label %51, label %54 51: ; preds = %46 %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %53 = call i32 @exit(i32 noundef 1) #3 unreachable 54: ; preds = %46 %55 = load i32, ptr @AF_INET, align 4 %56 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 2 store i32 %55, ptr %56, align 4 %57 = load i32, ptr %7, align 4 %58 = call i32 @htons(i32 noundef %57) %59 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 1 store i32 %58, ptr %59, align 4 %60 = load ptr, ptr %6, align 8 %61 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 0 %62 = call i32 @inet_aton(ptr noundef %60, ptr noundef %61) %63 = load ptr, ptr %6, align 8 %64 = load i32, ptr %7, align 4 %65 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %63, i32 noundef %64) br label %66 66: ; preds = %88, %54 %67 = getelementptr inbounds [200 x i8], ptr %10, i64 0, i64 0 %68 = load i32, ptr @stdin, align 4 %69 = call i64 @fgets(ptr noundef %67, i32 noundef 200, i32 noundef %68) %70 = icmp ne i64 %69, 0 br i1 %70, label %71, label %91 71: ; preds = %66 %72 = getelementptr inbounds [200 x i8], ptr %10, i64 0, i64 0 %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %72) %74 = load i32, ptr %9, align 4 %75 = getelementptr inbounds [200 x i8], ptr %10, i64 0, i64 0 %76 = getelementptr inbounds [200 x i8], ptr %10, i64 0, i64 0 %77 = call i32 @strlen(ptr noundef %76) %78 = call i32 @sendto(i32 noundef %74, ptr noundef %75, i32 noundef %77, i32 noundef 0, ptr noundef %8, i32 noundef 12) store i32 %78, ptr %11, align 4 %79 = load i32, ptr %11, align 4 %80 = getelementptr inbounds [200 x i8], ptr %10, i64 0, i64 0 %81 = call i32 @strlen(ptr noundef %80) %82 = icmp eq i32 %79, %81 br i1 %82, label %83, label %86 83: ; preds = %71 %84 = load i32, ptr %11, align 4 %85 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %84) br label %88 86: ; preds = %71 %87 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %88 88: ; preds = %86, %83 %89 = getelementptr inbounds [200 x i8], ptr %10, i64 0, i64 0 %90 = call i32 @memset(ptr noundef %89, i32 noundef 0, i32 noundef 200) br label %66, !llvm.loop !6 91: ; preds = %66 %92 = load i32, ptr %9, align 4 %93 = call i32 @close(i32 noundef %92) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @htons(i32 noundef) #1 declare i32 @inet_aton(ptr noundef, ptr noundef) #1 declare i64 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpgud_ps5p.c" target datalayout = "e-m:e-p270: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, i32, i32 } @.str = private unnamed_addr constant [10 x i8] c"127.0.0.1\00", align 1 @.str.1 = private unnamed_addr constant [45 x i8] c"param err:\0AUsage: %s ip port | %s port | %s\0A\00", align 1 @AF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [11 x i8] c"socket err\00", align 1 @.str.3 = private unnamed_addr constant [25 x i8] c"Send data to %s:%d ...\0A\0A\00", align 1 @stdin = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [10 x i8] c"Send: %s\0A\00", align 1 @.str.5 = private unnamed_addr constant [27 x i8] c"Send scuccess, length:%d\0A\0A\00", align 1 @.str.6 = private unnamed_addr constant [10 x i8] c"send err\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 %struct.sockaddr_in, align 4 %9 = alloca i32, align 4 %10 = alloca [200 x i8], align 16 %11 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr @.str, ptr %6, align 8 store i32 6666, ptr %7, align 4 %12 = load i32, ptr %4, align 4 %13 = icmp sgt i32 %12, 3 br i1 %13, label %14, label %25 14: ; preds = %2 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 0 %17 = load ptr, ptr %16, align 8 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 0 %20 = load ptr, ptr %19, align 8 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 0 %23 = load ptr, ptr %22, align 8 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %17, ptr noundef %20, ptr noundef %23) br label %46 25: ; preds = %2 %26 = load i32, ptr %4, align 4 %27 = icmp eq i32 %26, 3 br i1 %27, label %28, label %36 28: ; preds = %25 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds ptr, ptr %29, i64 1 %31 = load ptr, ptr %30, align 8 store ptr %31, ptr %6, align 8 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds ptr, ptr %32, i64 2 %34 = load ptr, ptr %33, align 8 %35 = call i32 @atoi(ptr noundef %34) store i32 %35, ptr %7, align 4 br label %45 36: ; preds = %25 %37 = load i32, ptr %4, align 4 %38 = icmp eq i32 %37, 2 br i1 %38, label %39, label %44 39: ; preds = %36 %40 = load ptr, ptr %5, align 8 %41 = getelementptr inbounds ptr, ptr %40, i64 1 %42 = load ptr, ptr %41, align 8 %43 = call i32 @atoi(ptr noundef %42) store i32 %43, ptr %7, align 4 br label %44 44: ; preds = %39, %36 br label %45 45: ; preds = %44, %28 br label %46 46: ; preds = %45, %14 %47 = load i32, ptr @AF_INET, align 4 %48 = load i32, ptr @SOCK_DGRAM, align 4 %49 = call i32 @socket(i32 noundef %47, i32 noundef %48, i32 noundef 0) store i32 %49, ptr %9, align 4 %50 = icmp slt i32 %49, 0 br i1 %50, label %51, label %54 51: ; preds = %46 %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %53 = call i32 @exit(i32 noundef 1) #3 unreachable 54: ; preds = %46 %55 = load i32, ptr @AF_INET, align 4 %56 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 2 store i32 %55, ptr %56, align 4 %57 = load i32, ptr %7, align 4 %58 = call i32 @htons(i32 noundef %57) %59 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 1 store i32 %58, ptr %59, align 4 %60 = load ptr, ptr %6, align 8 %61 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 0 %62 = call i32 @inet_aton(ptr noundef %60, ptr noundef %61) %63 = load ptr, ptr %6, align 8 %64 = load i32, ptr %7, align 4 %65 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %63, i32 noundef %64) %66 = getelementptr inbounds [200 x i8], ptr %10, i64 0, i64 0 %67 = load i32, ptr @stdin, align 4 %68 = call i64 @fgets(ptr noundef %66, i32 noundef 200, i32 noundef %67) %69 = icmp ne i64 %68, 0 br i1 %69, label %.lr.ph, label %93 .lr.ph: ; preds = %54 br label %70 70: ; preds = %.lr.ph, %87 %71 = getelementptr inbounds [200 x i8], ptr %10, i64 0, i64 0 %72 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %71) %73 = load i32, ptr %9, align 4 %74 = getelementptr inbounds [200 x i8], ptr %10, i64 0, i64 0 %75 = getelementptr inbounds [200 x i8], ptr %10, i64 0, i64 0 %76 = call i32 @strlen(ptr noundef %75) %77 = call i32 @sendto(i32 noundef %73, ptr noundef %74, i32 noundef %76, i32 noundef 0, ptr noundef %8, i32 noundef 12) store i32 %77, ptr %11, align 4 %78 = load i32, ptr %11, align 4 %79 = getelementptr inbounds [200 x i8], ptr %10, i64 0, i64 0 %80 = call i32 @strlen(ptr noundef %79) %81 = icmp eq i32 %78, %80 br i1 %81, label %82, label %85 82: ; preds = %70 %83 = load i32, ptr %11, align 4 %84 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %83) br label %87 85: ; preds = %70 %86 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %87 87: ; preds = %85, %82 %88 = getelementptr inbounds [200 x i8], ptr %10, i64 0, i64 0 %89 = call i32 @memset(ptr noundef %88, i32 noundef 0, i32 noundef 200) %90 = load i32, ptr @stdin, align 4 %91 = call i64 @fgets(ptr noundef %66, i32 noundef 200, i32 noundef %90) %92 = icmp ne i64 %91, 0 br i1 %92, label %70, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %87 br label %93 93: ; preds = %._crit_edge, %54 %94 = load i32, ptr %9, align 4 %95 = call i32 @close(i32 noundef %94) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @htons(i32 noundef) #1 declare i32 @inet_aton(ptr noundef, ptr noundef) #1 declare i64 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpnyic8e_z.c' source_filename = "/tmp/tmpnyic8e_z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @BGBMID_LoadWAV_32Mono16(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call ptr @BGBMID_LoadWAV_RateMono16(ptr noundef %5, ptr noundef %6, i32 noundef 32000) ret ptr %7 } declare ptr @BGBMID_LoadWAV_RateMono16(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/tmpnyic8e_z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @BGBMID_LoadWAV_32Mono16(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call ptr @BGBMID_LoadWAV_RateMono16(ptr noundef %5, ptr noundef %6, i32 noundef 32000) ret ptr %7 } declare ptr @BGBMID_LoadWAV_RateMono16(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/tmpl5cjpamb.c' source_filename = "/tmp/tmpl5cjpamb.c" target datalayout = "e-m:e-p270: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/tmpl5cjpamb.c" target datalayout = "e-m:e-p270: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/tmp021cw2ee.c' source_filename = "/tmp/tmp021cw2ee.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local x86_fp80 @_Z9swscalblnel(x86_fp80 noundef %0, i64 noundef %1) #0 { %3 = alloca x86_fp80, align 16 %4 = alloca i64, align 8 store x86_fp80 %0, ptr %3, align 16 store i64 %1, ptr %4, align 8 %5 = load x86_fp80, ptr %3, align 16 %6 = load i64, ptr %4, align 8 %7 = call x86_fp80 @scalblnl(x86_fp80 noundef %5, i64 noundef %6) #2 ret x86_fp80 %7 } ; Function Attrs: nounwind declare x86_fp80 @scalblnl(x86_fp80 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp021cw2ee.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local x86_fp80 @_Z9swscalblnel(x86_fp80 noundef %0, i64 noundef %1) #0 { %3 = alloca x86_fp80, align 16 %4 = alloca i64, align 8 store x86_fp80 %0, ptr %3, align 16 store i64 %1, ptr %4, align 8 %5 = load x86_fp80, ptr %3, align 16 %6 = load i64, ptr %4, align 8 %7 = call x86_fp80 @scalblnl(x86_fp80 noundef %5, i64 noundef %6) #2 ret x86_fp80 %7 } ; Function Attrs: nounwind declare x86_fp80 @scalblnl(x86_fp80 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpu_wn7qdi.c' source_filename = "/tmp/tmpu_wn7qdi.c" target datalayout = "e-m:e-p270: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/tmpu_wn7qdi.c" target datalayout = "e-m:e-p270: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/tmpeaz3ohgm.c' source_filename = "/tmp/tmpeaz3ohgm.c" target datalayout = "e-m:e-p270: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.fig06_08.n = private unnamed_addr constant [10 x i32] [i32 19, i32 3, i32 15, i32 7, i32 11, i32 9, i32 13, i32 5, i32 17, i32 1], align 16 @.str = private unnamed_addr constant [12 x i8] c"%s%13s%17s\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"Element\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"Value\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"Histogram\00", align 1 @.str.4 = private unnamed_addr constant [16 x i8] c"%7u%13d \00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.6 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fig06_08() #0 { %1 = alloca [10 x i32], align 16 %2 = alloca i64, align 8 %3 = alloca i32, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.fig06_08.n, i64 40, i1 false) %4 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef @.str.3) store i64 0, ptr %2, align 8 br label %5 5: ; preds = %27, %0 %6 = load i64, ptr %2, align 8 %7 = icmp ult i64 %6, 10 br i1 %7, label %8, label %30 8: ; preds = %5 %9 = load i64, ptr %2, align 8 %10 = load i64, ptr %2, align 8 %11 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 %10 %12 = load i32, ptr %11, align 4 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i64 noundef %9, i32 noundef %12) store i32 1, ptr %3, align 4 br label %14 14: ; preds = %22, %8 %15 = load i32, ptr %3, align 4 %16 = load i64, ptr %2, align 8 %17 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 %16 %18 = load i32, ptr %17, align 4 %19 = icmp sle i32 %15, %18 br i1 %19, label %20, label %25 20: ; preds = %14 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef 42) br label %22 22: ; preds = %20 %23 = load i32, ptr %3, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %3, align 4 br label %14, !llvm.loop !6 25: ; preds = %14 %26 = call i32 @puts(ptr noundef @.str.6) br label %27 27: ; preds = %25 %28 = load i64, ptr %2, align 8 %29 = add i64 %28, 1 store i64 %29, ptr %2, align 8 br label %5, !llvm.loop !8 30: ; preds = %5 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 @printf(ptr noundef, ...) #2 declare i32 @puts(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpeaz3ohgm.c" target datalayout = "e-m:e-p270: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.fig06_08.n = private unnamed_addr constant [10 x i32] [i32 19, i32 3, i32 15, i32 7, i32 11, i32 9, i32 13, i32 5, i32 17, i32 1], align 16 @.str = private unnamed_addr constant [12 x i8] c"%s%13s%17s\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"Element\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"Value\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"Histogram\00", align 1 @.str.4 = private unnamed_addr constant [16 x i8] c"%7u%13d \00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.6 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fig06_08() #0 { %1 = alloca [10 x i32], align 16 %2 = alloca i64, align 8 %3 = alloca i32, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.fig06_08.n, i64 40, i1 false) %4 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef @.str.3) store i64 0, ptr %2, align 8 %5 = load i64, ptr %2, align 8 %6 = icmp ult i64 %5, 10 br i1 %6, label %.lr.ph2, label %35 .lr.ph2: ; preds = %0 br label %7 7: ; preds = %.lr.ph2, %30 %8 = load i64, ptr %2, align 8 %9 = load i64, ptr %2, align 8 %10 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 %9 %11 = load i32, ptr %10, align 4 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i64 noundef %8, i32 noundef %11) store i32 1, ptr %3, align 4 %13 = load i32, ptr %3, align 4 %14 = load i64, ptr %2, align 8 %15 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 %14 %16 = load i32, ptr %15, align 4 %17 = icmp sle i32 %13, %16 br i1 %17, label %.lr.ph, label %28 .lr.ph: ; preds = %7 br label %18 18: ; preds = %.lr.ph, %20 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef 42) br label %20 20: ; preds = %18 %21 = load i32, ptr %3, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %3, align 4 %23 = load i32, ptr %3, align 4 %24 = load i64, ptr %2, align 8 %25 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 %24 %26 = load i32, ptr %25, align 4 %27 = icmp sle i32 %23, %26 br i1 %27, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %28 28: ; preds = %._crit_edge, %7 %29 = call i32 @puts(ptr noundef @.str.6) br label %30 30: ; preds = %28 %31 = load i64, ptr %2, align 8 %32 = add i64 %31, 1 store i64 %32, ptr %2, align 8 %33 = load i64, ptr %2, align 8 %34 = icmp ult i64 %33, 10 br i1 %34, label %7, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %30 br label %35 35: ; preds = %._crit_edge3, %0 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 @printf(ptr noundef, ...) #2 declare i32 @puts(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpzv42ydhv.c' source_filename = "/tmp/tmpzv42ydhv.c" target datalayout = "e-m:e-p270: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.a = private unnamed_addr constant [5 x i32] [i32 1, i32 3, i32 5, i32 7, i32 9], align 16 @.str = private unnamed_addr constant [4 x i8] c"%p\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%ld\0A\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"%p,%p,%p\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [5 x i32], align 16 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.a, i64 20, i1 false) store i32 0, ptr %3, align 4 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %12, %0 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 5 br i1 %6, label %7, label %15 7: ; preds = %4 %8 = load i32, ptr %3, align 4 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 %9 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %10) br label %12 12: ; preds = %7 %13 = load i32, ptr %3, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %3, align 4 br label %4, !llvm.loop !6 15: ; preds = %4 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef 4) %17 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 0 %18 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 0 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %2, ptr noundef %17, ptr noundef %18) %20 = getelementptr inbounds [5 x i32], ptr %2, i64 1 %21 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 0 %22 = getelementptr inbounds i32, ptr %21, i64 1 %23 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 0 %24 = getelementptr inbounds i32, ptr %23, i64 1 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %20, ptr noundef %22, ptr noundef %24) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzv42ydhv.c" target datalayout = "e-m:e-p270: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.a = private unnamed_addr constant [5 x i32] [i32 1, i32 3, i32 5, i32 7, i32 9], align 16 @.str = private unnamed_addr constant [4 x i8] c"%p\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%ld\0A\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"%p,%p,%p\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [5 x i32], align 16 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.a, i64 20, i1 false) store i32 0, ptr %3, align 4 store i32 0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp slt i32 %4, 5 br i1 %5, label %.lr.ph, label %16 .lr.ph: ; preds = %0 br label %6 6: ; preds = %.lr.ph, %11 %7 = load i32, ptr %3, align 4 %8 = sext i32 %7 to i64 %9 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 %8 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %9) br label %11 11: ; preds = %6 %12 = load i32, ptr %3, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %3, align 4 %14 = load i32, ptr %3, align 4 %15 = icmp slt i32 %14, 5 br i1 %15, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %11 br label %16 16: ; preds = %._crit_edge, %0 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef 4) %18 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 0 %19 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 0 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %2, ptr noundef %18, ptr noundef %19) %21 = getelementptr inbounds [5 x i32], ptr %2, i64 1 %22 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 0 %23 = getelementptr inbounds i32, ptr %22, i64 1 %24 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 0 %25 = getelementptr inbounds i32, ptr %24, i64 1 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %21, ptr noundef %23, ptr noundef %25) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpa3r127j7.c' source_filename = "/tmp/tmpa3r127j7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @seq_name.buf = internal global [80 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [8 x i8] c"{}();\22=\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"\\%03o\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @seq_name(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i8, align 1 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store ptr @seq_name.buf, ptr %5, align 8 br label %7 7: ; preds = %72, %2 %8 = load i32, ptr %4, align 4 %9 = add nsw i32 %8, -1 store i32 %9, ptr %4, align 4 %10 = icmp ne i32 %8, 0 br i1 %10, label %11, label %73 11: ; preds = %7 %12 = load ptr, ptr %3, align 8 %13 = getelementptr inbounds i8, ptr %12, i32 1 store ptr %13, ptr %3, align 8 %14 = load i8, ptr %12, align 1 store i8 %14, ptr %6, align 1 %15 = load i8, ptr %6, align 1 %16 = zext i8 %15 to i32 %17 = icmp eq i32 %16, 94 br i1 %17, label %26, label %18 18: ; preds = %11 %19 = load i8, ptr %6, align 1 %20 = zext i8 %19 to i32 %21 = icmp ne i32 %20, 0 br i1 %21, label %22, label %29 22: ; preds = %18 %23 = load i8, ptr %6, align 1 %24 = call i64 @strchr(ptr noundef @.str, i8 noundef zeroext %23) %25 = icmp ne i64 %24, 0 br i1 %25, label %26, label %29 26: ; preds = %22, %11 %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds i8, ptr %27, i32 1 store ptr %28, ptr %5, align 8 store i8 92, ptr %27, align 1 br label %29 29: ; preds = %26, %22, %18 %30 = load i8, ptr %6, align 1 %31 = zext i8 %30 to i32 %32 = icmp slt i32 %31, 32 br i1 %32, label %33, label %42 33: ; preds = %29 %34 = load ptr, ptr %5, align 8 %35 = getelementptr inbounds i8, ptr %34, i32 1 store ptr %35, ptr %5, align 8 store i8 94, ptr %34, align 1 %36 = load i8, ptr %6, align 1 %37 = zext i8 %36 to i32 %38 = or i32 %37, 64 %39 = trunc i32 %38 to i8 %40 = load ptr, ptr %5, align 8 %41 = getelementptr inbounds i8, ptr %40, i32 1 store ptr %41, ptr %5, align 8 store i8 %39, ptr %40, align 1 br label %72 42: ; preds = %29 %43 = load i8, ptr %6, align 1 %44 = zext i8 %43 to i32 %45 = icmp eq i32 %44, 127 br i1 %45, label %46, label %51 46: ; preds = %42 %47 = load ptr, ptr %5, align 8 %48 = getelementptr inbounds i8, ptr %47, i32 1 store ptr %48, ptr %5, align 8 store i8 94, ptr %47, align 1 %49 = load ptr, ptr %5, align 8 %50 = getelementptr inbounds i8, ptr %49, i32 1 store ptr %50, ptr %5, align 8 store i8 63, ptr %49, align 1 br label %71 51: ; preds = %42 %52 = load i8, ptr %6, align 1 %53 = zext i8 %52 to i32 %54 = and i32 %53, 128 %55 = icmp ne i32 %54, 0 br i1 %55, label %56, label %66 56: ; preds = %51 %57 = load ptr, ptr %5, align 8 %58 = load i8, ptr %6, align 1 %59 = zext i8 %58 to i32 %60 = call i32 @sprintf(ptr noundef %57, ptr noundef @.str.1, i32 noundef %59) %61 = load ptr, ptr %5, align 8 %62 = call i32 @strlen(ptr noundef %61) %63 = load ptr, ptr %5, align 8 %64 = sext i32 %62 to i64 %65 = getelementptr inbounds i8, ptr %63, i64 %64 store ptr %65, ptr %5, align 8 br label %70 66: ; preds = %51 %67 = load i8, ptr %6, align 1 %68 = load ptr, ptr %5, align 8 %69 = getelementptr inbounds i8, ptr %68, i32 1 store ptr %69, ptr %5, align 8 store i8 %67, ptr %68, align 1 br label %70 70: ; preds = %66, %56 br label %71 71: ; preds = %70, %46 br label %72 72: ; preds = %71, %33 br label %7, !llvm.loop !6 73: ; preds = %7 %74 = load ptr, ptr %5, align 8 store i8 0, ptr %74, align 1 ret ptr @seq_name.buf } declare i64 @strchr(ptr noundef, i8 noundef zeroext) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa3r127j7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @seq_name.buf = internal global [80 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [8 x i8] c"{}();\22=\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"\\%03o\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @seq_name(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i8, align 1 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store ptr @seq_name.buf, ptr %5, align 8 %7 = load i32, ptr %4, align 4 %8 = add nsw i32 %7, -1 store i32 %8, ptr %4, align 4 %9 = icmp ne i32 %7, 0 br i1 %9, label %.lr.ph, label %75 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %71 %11 = load ptr, ptr %3, align 8 %12 = getelementptr inbounds i8, ptr %11, i32 1 store ptr %12, ptr %3, align 8 %13 = load i8, ptr %11, align 1 store i8 %13, ptr %6, align 1 %14 = load i8, ptr %6, align 1 %15 = zext i8 %14 to i32 %16 = icmp eq i32 %15, 94 br i1 %16, label %25, label %17 17: ; preds = %10 %18 = load i8, ptr %6, align 1 %19 = zext i8 %18 to i32 %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %28 21: ; preds = %17 %22 = load i8, ptr %6, align 1 %23 = call i64 @strchr(ptr noundef @.str, i8 noundef zeroext %22) %24 = icmp ne i64 %23, 0 br i1 %24, label %25, label %28 25: ; preds = %21, %10 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds i8, ptr %26, i32 1 store ptr %27, ptr %5, align 8 store i8 92, ptr %26, align 1 br label %28 28: ; preds = %25, %21, %17 %29 = load i8, ptr %6, align 1 %30 = zext i8 %29 to i32 %31 = icmp slt i32 %30, 32 br i1 %31, label %32, label %41 32: ; preds = %28 %33 = load ptr, ptr %5, align 8 %34 = getelementptr inbounds i8, ptr %33, i32 1 store ptr %34, ptr %5, align 8 store i8 94, ptr %33, align 1 %35 = load i8, ptr %6, align 1 %36 = zext i8 %35 to i32 %37 = or i32 %36, 64 %38 = trunc i32 %37 to i8 %39 = load ptr, ptr %5, align 8 %40 = getelementptr inbounds i8, ptr %39, i32 1 store ptr %40, ptr %5, align 8 store i8 %38, ptr %39, align 1 br label %71 41: ; preds = %28 %42 = load i8, ptr %6, align 1 %43 = zext i8 %42 to i32 %44 = icmp eq i32 %43, 127 br i1 %44, label %45, label %50 45: ; preds = %41 %46 = load ptr, ptr %5, align 8 %47 = getelementptr inbounds i8, ptr %46, i32 1 store ptr %47, ptr %5, align 8 store i8 94, ptr %46, align 1 %48 = load ptr, ptr %5, align 8 %49 = getelementptr inbounds i8, ptr %48, i32 1 store ptr %49, ptr %5, align 8 store i8 63, ptr %48, align 1 br label %70 50: ; preds = %41 %51 = load i8, ptr %6, align 1 %52 = zext i8 %51 to i32 %53 = and i32 %52, 128 %54 = icmp ne i32 %53, 0 br i1 %54, label %55, label %65 55: ; preds = %50 %56 = load ptr, ptr %5, align 8 %57 = load i8, ptr %6, align 1 %58 = zext i8 %57 to i32 %59 = call i32 @sprintf(ptr noundef %56, ptr noundef @.str.1, i32 noundef %58) %60 = load ptr, ptr %5, align 8 %61 = call i32 @strlen(ptr noundef %60) %62 = load ptr, ptr %5, align 8 %63 = sext i32 %61 to i64 %64 = getelementptr inbounds i8, ptr %62, i64 %63 store ptr %64, ptr %5, align 8 br label %69 65: ; preds = %50 %66 = load i8, ptr %6, align 1 %67 = load ptr, ptr %5, align 8 %68 = getelementptr inbounds i8, ptr %67, i32 1 store ptr %68, ptr %5, align 8 store i8 %66, ptr %67, align 1 br label %69 69: ; preds = %65, %55 br label %70 70: ; preds = %69, %45 br label %71 71: ; preds = %70, %32 %72 = load i32, ptr %4, align 4 %73 = add nsw i32 %72, -1 store i32 %73, ptr %4, align 4 %74 = icmp ne i32 %72, 0 br i1 %74, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %71 br label %75 75: ; preds = %._crit_edge, %2 %76 = load ptr, ptr %5, align 8 store i8 0, ptr %76, align 1 ret ptr @seq_name.buf } declare i64 @strchr(ptr noundef, i8 noundef zeroext) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmprfckaca4.c' source_filename = "/tmp/tmprfckaca4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"hat\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"pan\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"eks\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"wye\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"zee\00", align 1 @__const.main.names = private unnamed_addr constant [5 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4], align 16 @RAND_MAX = dso_local global i64 0, align 8 @.str.5 = private unnamed_addr constant [34 x i8] c"a=%s,b=%s,i=%d,x=%.18lf,y=%.18lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [5 x ptr], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.names, i64 40, i1 false) store i32 5, ptr %3, align 4 %11 = call i32 @time(i32 noundef 0) %12 = call i32 (...) @getpid() %13 = xor i32 %11, %12 %14 = call i32 @srand(i32 noundef %13) store i32 0, ptr %4, align 4 br label %15 15: ; preds = %46, %0 %16 = call i32 (...) @rand() %17 = load i32, ptr %3, align 4 %18 = srem i32 %16, %17 store i32 %18, ptr %5, align 4 %19 = call i32 (...) @rand() %20 = load i32, ptr %3, align 4 %21 = srem i32 %19, %20 store i32 %21, ptr %6, align 4 %22 = load i32, ptr %5, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [5 x ptr], ptr %2, i64 0, i64 %23 %25 = load ptr, ptr %24, align 8 store ptr %25, ptr %7, align 8 %26 = load i32, ptr %6, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [5 x ptr], ptr %2, i64 0, i64 %27 %29 = load ptr, ptr %28, align 8 store ptr %29, ptr %8, align 8 %30 = call i32 (...) @rand() %31 = sitofp i32 %30 to double %32 = load i64, ptr @RAND_MAX, align 8 %33 = sitofp i64 %32 to double %34 = fdiv double %31, %33 store double %34, ptr %9, align 8 %35 = call i32 (...) @rand() %36 = sitofp i32 %35 to double %37 = load i64, ptr @RAND_MAX, align 8 %38 = sitofp i64 %37 to double %39 = fdiv double %36, %38 store double %39, ptr %10, align 8 %40 = load ptr, ptr %7, align 8 %41 = load ptr, ptr %8, align 8 %42 = load i32, ptr %4, align 4 %43 = load double, ptr %9, align 8 %44 = load double, ptr %10, align 8 %45 = call i32 @printf(ptr noundef @.str.5, ptr noundef %40, ptr noundef %41, i32 noundef %42, double noundef %43, double noundef %44) br label %46 46: ; preds = %15 %47 = load i32, ptr %4, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %4, align 4 br label %15 } ; 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 @srand(i32 noundef) #2 declare i32 @time(i32 noundef) #2 declare i32 @getpid(...) #2 declare i32 @rand(...) #2 declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, i32 noundef, double noundef, double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprfckaca4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"hat\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"pan\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"eks\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"wye\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"zee\00", align 1 @__const.main.names = private unnamed_addr constant [5 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4], align 16 @RAND_MAX = dso_local global i64 0, align 8 @.str.5 = private unnamed_addr constant [34 x i8] c"a=%s,b=%s,i=%d,x=%.18lf,y=%.18lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [5 x ptr], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.names, i64 40, i1 false) store i32 5, ptr %3, align 4 %11 = call i32 @time(i32 noundef 0) %12 = call i32 (...) @getpid() %13 = xor i32 %11, %12 %14 = call i32 @srand(i32 noundef %13) store i32 0, ptr %4, align 4 br label %15 15: ; preds = %46, %0 %16 = call i32 (...) @rand() %17 = load i32, ptr %3, align 4 %18 = srem i32 %16, %17 store i32 %18, ptr %5, align 4 %19 = call i32 (...) @rand() %20 = load i32, ptr %3, align 4 %21 = srem i32 %19, %20 store i32 %21, ptr %6, align 4 %22 = load i32, ptr %5, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [5 x ptr], ptr %2, i64 0, i64 %23 %25 = load ptr, ptr %24, align 8 store ptr %25, ptr %7, align 8 %26 = load i32, ptr %6, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [5 x ptr], ptr %2, i64 0, i64 %27 %29 = load ptr, ptr %28, align 8 store ptr %29, ptr %8, align 8 %30 = call i32 (...) @rand() %31 = sitofp i32 %30 to double %32 = load i64, ptr @RAND_MAX, align 8 %33 = sitofp i64 %32 to double %34 = fdiv double %31, %33 store double %34, ptr %9, align 8 %35 = call i32 (...) @rand() %36 = sitofp i32 %35 to double %37 = load i64, ptr @RAND_MAX, align 8 %38 = sitofp i64 %37 to double %39 = fdiv double %36, %38 store double %39, ptr %10, align 8 %40 = load ptr, ptr %7, align 8 %41 = load ptr, ptr %8, align 8 %42 = load i32, ptr %4, align 4 %43 = load double, ptr %9, align 8 %44 = load double, ptr %10, align 8 %45 = call i32 @printf(ptr noundef @.str.5, ptr noundef %40, ptr noundef %41, i32 noundef %42, double noundef %43, double noundef %44) br label %46 46: ; preds = %15 %47 = load i32, ptr %4, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %4, align 4 br label %15 } ; 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 @srand(i32 noundef) #2 declare i32 @time(i32 noundef) #2 declare i32 @getpid(...) #2 declare i32 @rand(...) #2 declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, i32 noundef, double noundef, double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpt6vxla5c.c' source_filename = "/tmp/tmpt6vxla5c.c" target datalayout = "e-m:e-p270: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/tmpt6vxla5c.c" target datalayout = "e-m:e-p270: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/tmpw52drxe_.c' source_filename = "/tmp/tmpw52drxe_.c" target datalayout = "e-m:e-p270: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/tmpw52drxe_.c" target datalayout = "e-m:e-p270: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/tmpdk82xhbq.c' source_filename = "/tmp/tmpdk82xhbq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Element is %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Test(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %7, align 4 br label %9 9: ; preds = %26, %3 %10 = load i32, ptr %7, align 4 %11 = load i32, ptr %6, align 4 %12 = sub nsw i32 %11, 1 %13 = icmp slt i32 %10, %12 br i1 %13, label %14, label %29 14: ; preds = %9 %15 = load ptr, ptr %5, align 8 %16 = load i32, ptr %7, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i32, ptr %15, i64 %17 %19 = load i32, ptr %18, align 4 %20 = load i32, ptr %4, align 4 %21 = icmp eq i32 %19, %20 br i1 %21, label %22, label %25 22: ; preds = %14 %23 = load i32, ptr %8, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %8, align 4 br label %25 25: ; preds = %22, %14 br label %26 26: ; preds = %25 %27 = load i32, ptr %7, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %7, align 4 br label %9, !llvm.loop !6 29: ; preds = %9 %30 = load i32, ptr %6, align 4 %31 = sdiv i32 %30, 2 store i32 %31, ptr %8, align 4 %32 = icmp ne i32 %31, 0 br i1 %32, label %33, label %36 33: ; preds = %29 %34 = load i32, ptr %4, align 4 %35 = call i32 @printf(ptr noundef @.str, i32 noundef %34) br label %44 36: ; preds = %29 %37 = load ptr, ptr %5, align 8 %38 = load i32, ptr %6, align 4 %39 = sub nsw i32 %38, 1 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i32, ptr %37, i64 %40 %42 = load i32, ptr %41, align 4 %43 = call i32 @printf(ptr noundef @.str, i32 noundef %42) br label %44 44: ; preds = %36, %33 ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdk82xhbq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Element is %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Test(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %7, align 4 %9 = load i32, ptr %7, align 4 %10 = load i32, ptr %6, align 4 %11 = sub nsw i32 %10, 1 %12 = icmp slt i32 %9, %11 br i1 %12, label %.lr.ph, label %32 .lr.ph: ; preds = %3 br label %13 13: ; preds = %.lr.ph, %25 %14 = load ptr, ptr %5, align 8 %15 = load i32, ptr %7, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i32, ptr %14, i64 %16 %18 = load i32, ptr %17, align 4 %19 = load i32, ptr %4, align 4 %20 = icmp eq i32 %18, %19 br i1 %20, label %21, label %24 21: ; preds = %13 %22 = load i32, ptr %8, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %8, align 4 br label %24 24: ; preds = %21, %13 br label %25 25: ; preds = %24 %26 = load i32, ptr %7, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %7, align 4 %28 = load i32, ptr %7, align 4 %29 = load i32, ptr %6, align 4 %30 = sub nsw i32 %29, 1 %31 = icmp slt i32 %28, %30 br i1 %31, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %32 32: ; preds = %._crit_edge, %3 %33 = load i32, ptr %6, align 4 %34 = sdiv i32 %33, 2 store i32 %34, ptr %8, align 4 %35 = icmp ne i32 %34, 0 br i1 %35, label %36, label %39 36: ; preds = %32 %37 = load i32, ptr %4, align 4 %38 = call i32 @printf(ptr noundef @.str, i32 noundef %37) br label %47 39: ; preds = %32 %40 = load ptr, ptr %5, align 8 %41 = load i32, ptr %6, align 4 %42 = sub nsw i32 %41, 1 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i32, ptr %40, i64 %43 %45 = load i32, ptr %44, align 4 %46 = call i32 @printf(ptr noundef @.str, i32 noundef %45) br label %47 47: ; preds = %39, %36 ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp5f85ucdg.c' source_filename = "/tmp/tmp5f85ucdg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32, i32, i32 } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [31 x i8] c"Path length is more than 1024\0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"^/itu/users/\00", align 1 @REG_EXTENDED = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [38 x i8] c"Could not compile regex rule for path\00", align 1 @REG_NOMATCH = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [32 x i8] c"Path is not matched with regex\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [29 x i8] c"^/itu/s0[1-8]d0[1-9]|1[0-1]/\00", align 1 @.str.5 = private unnamed_addr constant [44 x i8] c"Could not compile regex rule for real path\00", align 1 @.str.6 = private unnamed_addr constant [37 x i8] c"Real path is not matched with regex\0A\00", align 1 @.str.7 = private unnamed_addr constant [6 x i8] c"^300$\00", align 1 @.str.8 = private unnamed_addr constant [37 x i8] c"Could not compile regex rule for gid\00", align 1 @.str.9 = private unnamed_addr constant [31 x i8] c"GID is not matched with regex\0A\00", align 1 @.str.10 = private unnamed_addr constant [18 x i8] c"^[1-9][0-9]{3,5}$\00", align 1 @.str.11 = private unnamed_addr constant [37 x i8] c"Could not compile regex rule for uid\00", align 1 @.str.12 = private unnamed_addr constant [31 x i8] c"UID is not matched with regex\0A\00", align 1 @.str.13 = private unnamed_addr constant [6 x i8] c"^007$\00", align 1 @.str.14 = private unnamed_addr constant [39 x i8] c"Could not compile regex rule for umask\00", align 1 @.str.15 = private unnamed_addr constant [33 x i8] c"Umask is not matched with regex\0A\00", align 1 @.str.16 = private unnamed_addr constant [65 x i8] c"UID not matched with parent directory's UID. Parent:%d - UID:%d\0A\00", align 1 @.str.17 = private unnamed_addr constant [65 x i8] c"GID not matched with parent directory's GID. Parent:%d - GID:%d\0A\00", align 1 @.str.18 = private unnamed_addr constant [5 x i8] c"stat\00", align 1 @.str.19 = private unnamed_addr constant [6 x i8] c"chown\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [1024 x i8], align 16 %7 = alloca [1024 x i8], align 16 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca %struct.stat, align 4 %17 = alloca %struct.stat, align 4 %18 = 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 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 4 %21 = load ptr, ptr %20, align 8 %22 = call i32 @strlen(ptr noundef %21) %23 = icmp sgt i32 %22, 1024 br i1 %23, label %24, label %27 24: ; preds = %2 %25 = load i32, ptr @stderr, align 4 %26 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %25, ptr noundef @.str) br label %27 27: ; preds = %24, %2 call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 1024, i1 false) %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds ptr, ptr %28, i64 4 %30 = load ptr, ptr %29, align 8 %31 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %32 = call i32 @b64_decode(ptr noundef %30, ptr noundef %31) %33 = load ptr, ptr %5, align 8 %34 = getelementptr inbounds ptr, ptr %33, i64 4 %35 = load ptr, ptr %34, align 8 %36 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %37 = call i32 @b64_decode(ptr noundef %35, ptr noundef %36) %38 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %39 = call i32 @dirname(ptr noundef %38) %40 = load i32, ptr @REG_EXTENDED, align 4 %41 = call i32 @regcomp(ptr noundef %9, ptr noundef @.str.1, i32 noundef %40) store i32 %41, ptr %12, align 4 %42 = load i32, ptr %12, align 4 %43 = icmp ne i32 %42, 0 br i1 %43, label %44, label %47 44: ; preds = %27 %45 = call i32 @perror(ptr noundef @.str.2) %46 = call i32 @exit(i32 noundef 1) #4 unreachable 47: ; preds = %27 %48 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %49 = call i32 @regexec(ptr noundef %9, ptr noundef %48, i32 noundef 0, ptr noundef null, i32 noundef 0) store i32 %49, ptr %12, align 4 %50 = load i32, ptr %12, align 4 %51 = load i32, ptr @REG_NOMATCH, align 4 %52 = icmp eq i32 %50, %51 br i1 %52, label %53, label %58 53: ; preds = %47 %54 = load i32, ptr @stderr, align 4 %55 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %54, ptr noundef @.str.3) %56 = load i32, ptr @EXIT_FAILURE, align 4 %57 = call i32 @exit(i32 noundef %56) #4 unreachable 58: ; preds = %47 %59 = call i32 @regfree(ptr noundef %9) %60 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %61 = call ptr @realpath(ptr noundef %60, ptr noundef null) store ptr %61, ptr %13, align 8 %62 = load ptr, ptr %13, align 8 %63 = icmp ne ptr %62, null br i1 %63, label %64, label %85 64: ; preds = %58 %65 = load i32, ptr @REG_EXTENDED, align 4 %66 = call i32 @regcomp(ptr noundef %9, ptr noundef @.str.4, i32 noundef %65) store i32 %66, ptr %12, align 4 %67 = load i32, ptr %12, align 4 %68 = icmp ne i32 %67, 0 br i1 %68, label %69, label %72 69: ; preds = %64 %70 = call i32 @perror(ptr noundef @.str.5) %71 = call i32 @exit(i32 noundef 1) #4 unreachable 72: ; preds = %64 %73 = load ptr, ptr %13, align 8 %74 = call i32 @regexec(ptr noundef %9, ptr noundef %73, i32 noundef 0, ptr noundef null, i32 noundef 0) store i32 %74, ptr %12, align 4 %75 = load i32, ptr %12, align 4 %76 = load i32, ptr @REG_NOMATCH, align 4 %77 = icmp eq i32 %75, %76 br i1 %77, label %78, label %83 78: ; preds = %72 %79 = load i32, ptr @stderr, align 4 %80 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %79, ptr noundef @.str.6) %81 = load i32, ptr @EXIT_FAILURE, align 4 %82 = call i32 @exit(i32 noundef %81) #4 unreachable 83: ; preds = %72 %84 = call i32 @regfree(ptr noundef %9) br label %85 85: ; preds = %83, %58 %86 = load i32, ptr @REG_EXTENDED, align 4 %87 = call i32 @regcomp(ptr noundef %11, ptr noundef @.str.7, i32 noundef %86) store i32 %87, ptr %12, align 4 %88 = load i32, ptr %12, align 4 %89 = icmp ne i32 %88, 0 br i1 %89, label %90, label %93 90: ; preds = %85 %91 = call i32 @perror(ptr noundef @.str.8) %92 = call i32 @exit(i32 noundef 1) #4 unreachable 93: ; preds = %85 %94 = load ptr, ptr %5, align 8 %95 = getelementptr inbounds ptr, ptr %94, i64 2 %96 = load ptr, ptr %95, align 8 %97 = call i32 @regexec(ptr noundef %11, ptr noundef %96, i32 noundef 0, ptr noundef null, i32 noundef 0) store i32 %97, ptr %12, align 4 %98 = load i32, ptr %12, align 4 %99 = load i32, ptr @REG_NOMATCH, align 4 %100 = icmp eq i32 %98, %99 br i1 %100, label %101, label %106 101: ; preds = %93 %102 = load i32, ptr @stderr, align 4 %103 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %102, ptr noundef @.str.9) %104 = load i32, ptr @EXIT_FAILURE, align 4 %105 = call i32 @exit(i32 noundef %104) #4 unreachable 106: ; preds = %93 %107 = call i32 @regfree(ptr noundef %11) %108 = load i32, ptr @REG_EXTENDED, align 4 %109 = call i32 @regcomp(ptr noundef %10, ptr noundef @.str.10, i32 noundef %108) store i32 %109, ptr %12, align 4 %110 = load i32, ptr %12, align 4 %111 = icmp ne i32 %110, 0 br i1 %111, label %112, label %115 112: ; preds = %106 %113 = call i32 @perror(ptr noundef @.str.11) %114 = call i32 @exit(i32 noundef 1) #4 unreachable 115: ; preds = %106 %116 = load ptr, ptr %5, align 8 %117 = getelementptr inbounds ptr, ptr %116, i64 1 %118 = load ptr, ptr %117, align 8 %119 = call i32 @regexec(ptr noundef %10, ptr noundef %118, i32 noundef 0, ptr noundef null, i32 noundef 0) store i32 %119, ptr %12, align 4 %120 = load i32, ptr %12, align 4 %121 = load i32, ptr @REG_NOMATCH, align 4 %122 = icmp eq i32 %120, %121 br i1 %122, label %123, label %128 123: ; preds = %115 %124 = load i32, ptr @stderr, align 4 %125 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %124, ptr noundef @.str.12) %126 = load i32, ptr @EXIT_FAILURE, align 4 %127 = call i32 @exit(i32 noundef %126) #4 unreachable 128: ; preds = %115 %129 = load i32, ptr @REG_EXTENDED, align 4 %130 = call i32 @regcomp(ptr noundef %8, ptr noundef @.str.13, i32 noundef %129) store i32 %130, ptr %12, align 4 %131 = load i32, ptr %12, align 4 %132 = icmp ne i32 %131, 0 br i1 %132, label %133, label %136 133: ; preds = %128 %134 = call i32 @perror(ptr noundef @.str.14) %135 = call i32 @exit(i32 noundef 1) #4 unreachable 136: ; preds = %128 %137 = load ptr, ptr %5, align 8 %138 = getelementptr inbounds ptr, ptr %137, i64 3 %139 = load ptr, ptr %138, align 8 %140 = call i32 @regexec(ptr noundef %8, ptr noundef %139, i32 noundef 0, ptr noundef null, i32 noundef 0) store i32 %140, ptr %12, align 4 %141 = load i32, ptr %12, align 4 %142 = load i32, ptr @REG_NOMATCH, align 4 %143 = icmp eq i32 %141, %142 br i1 %143, label %144, label %149 144: ; preds = %136 %145 = load i32, ptr @stderr, align 4 %146 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %145, ptr noundef @.str.15) %147 = load i32, ptr @EXIT_FAILURE, align 4 %148 = call i32 @exit(i32 noundef %147) #4 unreachable 149: ; preds = %136 %150 = call i32 @regfree(ptr noundef %8) %151 = load ptr, ptr %5, align 8 %152 = getelementptr inbounds ptr, ptr %151, i64 1 %153 = load ptr, ptr %152, align 8 %154 = call i32 @atoi(ptr noundef %153) store i32 %154, ptr %14, align 4 %155 = load ptr, ptr %5, align 8 %156 = getelementptr inbounds ptr, ptr %155, i64 2 %157 = load ptr, ptr %156, align 8 %158 = call i32 @atoi(ptr noundef %157) store i32 %158, ptr %15, align 4 %159 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %160 = call i32 @stat(ptr noundef %159, ptr noundef %16) %161 = getelementptr inbounds %struct.stat, ptr %16, i32 0, i32 0 %162 = load i32, ptr %161, align 4 %163 = load i32, ptr %14, align 4 %164 = icmp ne i32 %162, %163 br i1 %164, label %165, label %173 165: ; preds = %149 %166 = load i32, ptr @stderr, align 4 %167 = getelementptr inbounds %struct.stat, ptr %16, i32 0, i32 0 %168 = load i32, ptr %167, align 4 %169 = load i32, ptr %14, align 4 %170 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %166, ptr noundef @.str.16, i32 noundef %168, i32 noundef %169) %171 = load i32, ptr @EXIT_FAILURE, align 4 %172 = call i32 @exit(i32 noundef %171) #4 unreachable 173: ; preds = %149 %174 = getelementptr inbounds %struct.stat, ptr %16, i32 0, i32 1 %175 = load i32, ptr %174, align 4 %176 = load i32, ptr %15, align 4 %177 = icmp ne i32 %175, %176 br i1 %177, label %178, label %186 178: ; preds = %173 %179 = load i32, ptr @stderr, align 4 %180 = getelementptr inbounds %struct.stat, ptr %16, i32 0, i32 1 %181 = load i32, ptr %180, align 4 %182 = load i32, ptr %15, align 4 %183 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %179, ptr noundef @.str.17, i32 noundef %181, i32 noundef %182) %184 = load i32, ptr @EXIT_FAILURE, align 4 %185 = call i32 @exit(i32 noundef %184) #4 unreachable 186: ; preds = %173 %187 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %188 = call i32 @stat(ptr noundef %187, ptr noundef %17) %189 = icmp eq i32 %188, -1 br i1 %189, label %190, label %194 190: ; preds = %186 %191 = call i32 @perror(ptr noundef @.str.18) %192 = load i32, ptr @EXIT_FAILURE, align 4 %193 = call i32 @exit(i32 noundef %192) #4 unreachable 194: ; preds = %186 %195 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %196 = load i32, ptr %14, align 4 %197 = sext i32 %196 to i64 %198 = load i32, ptr %15, align 4 %199 = sext i32 %198 to i64 %200 = call i32 @chown(ptr noundef %195, i64 noundef %197, i64 noundef %199) store i32 %200, ptr %18, align 4 %201 = load i32, ptr %18, align 4 %202 = icmp eq i32 %201, -1 br i1 %202, label %203, label %207 203: ; preds = %194 %204 = call i32 @perror(ptr noundef @.str.19) %205 = load i32, ptr @EXIT_FAILURE, align 4 %206 = call i32 @exit(i32 noundef %205) #4 unreachable 207: ; preds = %194 %208 = getelementptr inbounds %struct.stat, ptr %17, i32 0, i32 2 %209 = load i32, ptr %208, align 4 %210 = call i64 @S_ISDIR(i32 noundef %209) %211 = icmp ne i64 %210, 0 br i1 %211, label %212, label %220 212: ; preds = %207 %213 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %214 = load ptr, ptr %5, align 8 %215 = getelementptr inbounds ptr, ptr %214, i64 3 %216 = load ptr, ptr %215, align 8 %217 = call i64 @strtol(ptr noundef %216, i32 noundef 0, i32 noundef 8) %218 = sub nsw i64 511, %217 %219 = call i32 @chmod(ptr noundef %213, i64 noundef %218) br label %228 220: ; preds = %207 %221 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %222 = load ptr, ptr %5, align 8 %223 = getelementptr inbounds ptr, ptr %222, i64 3 %224 = load ptr, ptr %223, align 8 %225 = call i64 @strtol(ptr noundef %224, i32 noundef 0, i32 noundef 8) %226 = sub nsw i64 439, %225 %227 = call i32 @chmod(ptr noundef %221, i64 noundef %226) br label %228 228: ; preds = %220, %212 br label %229 229: ; preds = %228 %230 = load i32, ptr @EXIT_SUCCESS, align 4 %231 = call i32 @exit(i32 noundef %230) #4 unreachable } declare i32 @strlen(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i32 @b64_decode(ptr noundef, ptr noundef) #1 declare i32 @dirname(ptr noundef) #1 declare i32 @regcomp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @regexec(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @regfree(ptr noundef) #1 declare ptr @realpath(ptr noundef, ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @stat(ptr noundef, ptr noundef) #1 declare i32 @chown(ptr noundef, i64 noundef, i64 noundef) #1 declare i64 @S_ISDIR(i32 noundef) #1 declare i32 @chmod(ptr noundef, i64 noundef) #1 declare i64 @strtol(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 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5f85ucdg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32, i32, i32 } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [31 x i8] c"Path length is more than 1024\0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"^/itu/users/\00", align 1 @REG_EXTENDED = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [38 x i8] c"Could not compile regex rule for path\00", align 1 @REG_NOMATCH = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [32 x i8] c"Path is not matched with regex\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [29 x i8] c"^/itu/s0[1-8]d0[1-9]|1[0-1]/\00", align 1 @.str.5 = private unnamed_addr constant [44 x i8] c"Could not compile regex rule for real path\00", align 1 @.str.6 = private unnamed_addr constant [37 x i8] c"Real path is not matched with regex\0A\00", align 1 @.str.7 = private unnamed_addr constant [6 x i8] c"^300$\00", align 1 @.str.8 = private unnamed_addr constant [37 x i8] c"Could not compile regex rule for gid\00", align 1 @.str.9 = private unnamed_addr constant [31 x i8] c"GID is not matched with regex\0A\00", align 1 @.str.10 = private unnamed_addr constant [18 x i8] c"^[1-9][0-9]{3,5}$\00", align 1 @.str.11 = private unnamed_addr constant [37 x i8] c"Could not compile regex rule for uid\00", align 1 @.str.12 = private unnamed_addr constant [31 x i8] c"UID is not matched with regex\0A\00", align 1 @.str.13 = private unnamed_addr constant [6 x i8] c"^007$\00", align 1 @.str.14 = private unnamed_addr constant [39 x i8] c"Could not compile regex rule for umask\00", align 1 @.str.15 = private unnamed_addr constant [33 x i8] c"Umask is not matched with regex\0A\00", align 1 @.str.16 = private unnamed_addr constant [65 x i8] c"UID not matched with parent directory's UID. Parent:%d - UID:%d\0A\00", align 1 @.str.17 = private unnamed_addr constant [65 x i8] c"GID not matched with parent directory's GID. Parent:%d - GID:%d\0A\00", align 1 @.str.18 = private unnamed_addr constant [5 x i8] c"stat\00", align 1 @.str.19 = private unnamed_addr constant [6 x i8] c"chown\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [1024 x i8], align 16 %7 = alloca [1024 x i8], align 16 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca %struct.stat, align 4 %17 = alloca %struct.stat, align 4 %18 = 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 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 4 %21 = load ptr, ptr %20, align 8 %22 = call i32 @strlen(ptr noundef %21) %23 = icmp sgt i32 %22, 1024 br i1 %23, label %24, label %27 24: ; preds = %2 %25 = load i32, ptr @stderr, align 4 %26 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %25, ptr noundef @.str) br label %27 27: ; preds = %24, %2 call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 1024, i1 false) %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds ptr, ptr %28, i64 4 %30 = load ptr, ptr %29, align 8 %31 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %32 = call i32 @b64_decode(ptr noundef %30, ptr noundef %31) %33 = load ptr, ptr %5, align 8 %34 = getelementptr inbounds ptr, ptr %33, i64 4 %35 = load ptr, ptr %34, align 8 %36 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %37 = call i32 @b64_decode(ptr noundef %35, ptr noundef %36) %38 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %39 = call i32 @dirname(ptr noundef %38) %40 = load i32, ptr @REG_EXTENDED, align 4 %41 = call i32 @regcomp(ptr noundef %9, ptr noundef @.str.1, i32 noundef %40) store i32 %41, ptr %12, align 4 %42 = load i32, ptr %12, align 4 %43 = icmp ne i32 %42, 0 br i1 %43, label %44, label %47 44: ; preds = %27 %45 = call i32 @perror(ptr noundef @.str.2) %46 = call i32 @exit(i32 noundef 1) #4 unreachable 47: ; preds = %27 %48 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %49 = call i32 @regexec(ptr noundef %9, ptr noundef %48, i32 noundef 0, ptr noundef null, i32 noundef 0) store i32 %49, ptr %12, align 4 %50 = load i32, ptr %12, align 4 %51 = load i32, ptr @REG_NOMATCH, align 4 %52 = icmp eq i32 %50, %51 br i1 %52, label %53, label %58 53: ; preds = %47 %54 = load i32, ptr @stderr, align 4 %55 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %54, ptr noundef @.str.3) %56 = load i32, ptr @EXIT_FAILURE, align 4 %57 = call i32 @exit(i32 noundef %56) #4 unreachable 58: ; preds = %47 %59 = call i32 @regfree(ptr noundef %9) %60 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %61 = call ptr @realpath(ptr noundef %60, ptr noundef null) store ptr %61, ptr %13, align 8 %62 = load ptr, ptr %13, align 8 %63 = icmp ne ptr %62, null br i1 %63, label %64, label %85 64: ; preds = %58 %65 = load i32, ptr @REG_EXTENDED, align 4 %66 = call i32 @regcomp(ptr noundef %9, ptr noundef @.str.4, i32 noundef %65) store i32 %66, ptr %12, align 4 %67 = load i32, ptr %12, align 4 %68 = icmp ne i32 %67, 0 br i1 %68, label %69, label %72 69: ; preds = %64 %70 = call i32 @perror(ptr noundef @.str.5) %71 = call i32 @exit(i32 noundef 1) #4 unreachable 72: ; preds = %64 %73 = load ptr, ptr %13, align 8 %74 = call i32 @regexec(ptr noundef %9, ptr noundef %73, i32 noundef 0, ptr noundef null, i32 noundef 0) store i32 %74, ptr %12, align 4 %75 = load i32, ptr %12, align 4 %76 = load i32, ptr @REG_NOMATCH, align 4 %77 = icmp eq i32 %75, %76 br i1 %77, label %78, label %83 78: ; preds = %72 %79 = load i32, ptr @stderr, align 4 %80 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %79, ptr noundef @.str.6) %81 = load i32, ptr @EXIT_FAILURE, align 4 %82 = call i32 @exit(i32 noundef %81) #4 unreachable 83: ; preds = %72 %84 = call i32 @regfree(ptr noundef %9) br label %85 85: ; preds = %83, %58 %86 = load i32, ptr @REG_EXTENDED, align 4 %87 = call i32 @regcomp(ptr noundef %11, ptr noundef @.str.7, i32 noundef %86) store i32 %87, ptr %12, align 4 %88 = load i32, ptr %12, align 4 %89 = icmp ne i32 %88, 0 br i1 %89, label %90, label %93 90: ; preds = %85 %91 = call i32 @perror(ptr noundef @.str.8) %92 = call i32 @exit(i32 noundef 1) #4 unreachable 93: ; preds = %85 %94 = load ptr, ptr %5, align 8 %95 = getelementptr inbounds ptr, ptr %94, i64 2 %96 = load ptr, ptr %95, align 8 %97 = call i32 @regexec(ptr noundef %11, ptr noundef %96, i32 noundef 0, ptr noundef null, i32 noundef 0) store i32 %97, ptr %12, align 4 %98 = load i32, ptr %12, align 4 %99 = load i32, ptr @REG_NOMATCH, align 4 %100 = icmp eq i32 %98, %99 br i1 %100, label %101, label %106 101: ; preds = %93 %102 = load i32, ptr @stderr, align 4 %103 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %102, ptr noundef @.str.9) %104 = load i32, ptr @EXIT_FAILURE, align 4 %105 = call i32 @exit(i32 noundef %104) #4 unreachable 106: ; preds = %93 %107 = call i32 @regfree(ptr noundef %11) %108 = load i32, ptr @REG_EXTENDED, align 4 %109 = call i32 @regcomp(ptr noundef %10, ptr noundef @.str.10, i32 noundef %108) store i32 %109, ptr %12, align 4 %110 = load i32, ptr %12, align 4 %111 = icmp ne i32 %110, 0 br i1 %111, label %112, label %115 112: ; preds = %106 %113 = call i32 @perror(ptr noundef @.str.11) %114 = call i32 @exit(i32 noundef 1) #4 unreachable 115: ; preds = %106 %116 = load ptr, ptr %5, align 8 %117 = getelementptr inbounds ptr, ptr %116, i64 1 %118 = load ptr, ptr %117, align 8 %119 = call i32 @regexec(ptr noundef %10, ptr noundef %118, i32 noundef 0, ptr noundef null, i32 noundef 0) store i32 %119, ptr %12, align 4 %120 = load i32, ptr %12, align 4 %121 = load i32, ptr @REG_NOMATCH, align 4 %122 = icmp eq i32 %120, %121 br i1 %122, label %123, label %128 123: ; preds = %115 %124 = load i32, ptr @stderr, align 4 %125 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %124, ptr noundef @.str.12) %126 = load i32, ptr @EXIT_FAILURE, align 4 %127 = call i32 @exit(i32 noundef %126) #4 unreachable 128: ; preds = %115 %129 = load i32, ptr @REG_EXTENDED, align 4 %130 = call i32 @regcomp(ptr noundef %8, ptr noundef @.str.13, i32 noundef %129) store i32 %130, ptr %12, align 4 %131 = load i32, ptr %12, align 4 %132 = icmp ne i32 %131, 0 br i1 %132, label %133, label %136 133: ; preds = %128 %134 = call i32 @perror(ptr noundef @.str.14) %135 = call i32 @exit(i32 noundef 1) #4 unreachable 136: ; preds = %128 %137 = load ptr, ptr %5, align 8 %138 = getelementptr inbounds ptr, ptr %137, i64 3 %139 = load ptr, ptr %138, align 8 %140 = call i32 @regexec(ptr noundef %8, ptr noundef %139, i32 noundef 0, ptr noundef null, i32 noundef 0) store i32 %140, ptr %12, align 4 %141 = load i32, ptr %12, align 4 %142 = load i32, ptr @REG_NOMATCH, align 4 %143 = icmp eq i32 %141, %142 br i1 %143, label %144, label %149 144: ; preds = %136 %145 = load i32, ptr @stderr, align 4 %146 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %145, ptr noundef @.str.15) %147 = load i32, ptr @EXIT_FAILURE, align 4 %148 = call i32 @exit(i32 noundef %147) #4 unreachable 149: ; preds = %136 %150 = call i32 @regfree(ptr noundef %8) %151 = load ptr, ptr %5, align 8 %152 = getelementptr inbounds ptr, ptr %151, i64 1 %153 = load ptr, ptr %152, align 8 %154 = call i32 @atoi(ptr noundef %153) store i32 %154, ptr %14, align 4 %155 = load ptr, ptr %5, align 8 %156 = getelementptr inbounds ptr, ptr %155, i64 2 %157 = load ptr, ptr %156, align 8 %158 = call i32 @atoi(ptr noundef %157) store i32 %158, ptr %15, align 4 %159 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %160 = call i32 @stat(ptr noundef %159, ptr noundef %16) %161 = getelementptr inbounds %struct.stat, ptr %16, i32 0, i32 0 %162 = load i32, ptr %161, align 4 %163 = load i32, ptr %14, align 4 %164 = icmp ne i32 %162, %163 br i1 %164, label %165, label %173 165: ; preds = %149 %166 = load i32, ptr @stderr, align 4 %167 = getelementptr inbounds %struct.stat, ptr %16, i32 0, i32 0 %168 = load i32, ptr %167, align 4 %169 = load i32, ptr %14, align 4 %170 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %166, ptr noundef @.str.16, i32 noundef %168, i32 noundef %169) %171 = load i32, ptr @EXIT_FAILURE, align 4 %172 = call i32 @exit(i32 noundef %171) #4 unreachable 173: ; preds = %149 %174 = getelementptr inbounds %struct.stat, ptr %16, i32 0, i32 1 %175 = load i32, ptr %174, align 4 %176 = load i32, ptr %15, align 4 %177 = icmp ne i32 %175, %176 br i1 %177, label %178, label %186 178: ; preds = %173 %179 = load i32, ptr @stderr, align 4 %180 = getelementptr inbounds %struct.stat, ptr %16, i32 0, i32 1 %181 = load i32, ptr %180, align 4 %182 = load i32, ptr %15, align 4 %183 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %179, ptr noundef @.str.17, i32 noundef %181, i32 noundef %182) %184 = load i32, ptr @EXIT_FAILURE, align 4 %185 = call i32 @exit(i32 noundef %184) #4 unreachable 186: ; preds = %173 %187 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %188 = call i32 @stat(ptr noundef %187, ptr noundef %17) %189 = icmp eq i32 %188, -1 br i1 %189, label %190, label %194 190: ; preds = %186 %191 = call i32 @perror(ptr noundef @.str.18) %192 = load i32, ptr @EXIT_FAILURE, align 4 %193 = call i32 @exit(i32 noundef %192) #4 unreachable 194: ; preds = %186 %195 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %196 = load i32, ptr %14, align 4 %197 = sext i32 %196 to i64 %198 = load i32, ptr %15, align 4 %199 = sext i32 %198 to i64 %200 = call i32 @chown(ptr noundef %195, i64 noundef %197, i64 noundef %199) store i32 %200, ptr %18, align 4 %201 = load i32, ptr %18, align 4 %202 = icmp eq i32 %201, -1 br i1 %202, label %203, label %207 203: ; preds = %194 %204 = call i32 @perror(ptr noundef @.str.19) %205 = load i32, ptr @EXIT_FAILURE, align 4 %206 = call i32 @exit(i32 noundef %205) #4 unreachable 207: ; preds = %194 %208 = getelementptr inbounds %struct.stat, ptr %17, i32 0, i32 2 %209 = load i32, ptr %208, align 4 %210 = call i64 @S_ISDIR(i32 noundef %209) %211 = icmp ne i64 %210, 0 br i1 %211, label %212, label %220 212: ; preds = %207 %213 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %214 = load ptr, ptr %5, align 8 %215 = getelementptr inbounds ptr, ptr %214, i64 3 %216 = load ptr, ptr %215, align 8 %217 = call i64 @strtol(ptr noundef %216, i32 noundef 0, i32 noundef 8) %218 = sub nsw i64 511, %217 %219 = call i32 @chmod(ptr noundef %213, i64 noundef %218) br label %228 220: ; preds = %207 %221 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0 %222 = load ptr, ptr %5, align 8 %223 = getelementptr inbounds ptr, ptr %222, i64 3 %224 = load ptr, ptr %223, align 8 %225 = call i64 @strtol(ptr noundef %224, i32 noundef 0, i32 noundef 8) %226 = sub nsw i64 439, %225 %227 = call i32 @chmod(ptr noundef %221, i64 noundef %226) br label %228 228: ; preds = %220, %212 br label %229 229: ; preds = %228 %230 = load i32, ptr @EXIT_SUCCESS, align 4 %231 = call i32 @exit(i32 noundef %230) #4 unreachable } declare i32 @strlen(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i32 @b64_decode(ptr noundef, ptr noundef) #1 declare i32 @dirname(ptr noundef) #1 declare i32 @regcomp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @regexec(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @regfree(ptr noundef) #1 declare ptr @realpath(ptr noundef, ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @stat(ptr noundef, ptr noundef) #1 declare i32 @chown(ptr noundef, i64 noundef, i64 noundef) #1 declare i64 @S_ISDIR(i32 noundef) #1 declare i32 @chmod(ptr noundef, i64 noundef) #1 declare i64 @strtol(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 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppvg0zync.c' source_filename = "/tmp/tmppvg0zync.c" target datalayout = "e-m:e-p270: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.fixabc.up = private unnamed_addr constant [8 x i8] c"'\00\00\00\00\00\00\00", align 1 @__const.fixabc.down = private unnamed_addr constant [8 x i8] c",\00\00\00\00\00\00\00", align 1 @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"'\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c",\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fixabc(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca [8 x i8], align 1 %10 = alloca [8 x i8], align 1 %11 = alloca [8 x i8], align 1 %12 = alloca [8 x i8], align 1 store ptr %0, ptr %2, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %11, ptr align 1 @__const.fixabc.up, i64 8, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %12, ptr align 1 @__const.fixabc.down, i64 8, i1 false) br label %13 13: ; preds = %31, %1 %14 = load ptr, ptr %2, align 8 %15 = call ptr @strchr(ptr noundef %14, i8 noundef signext 32) store ptr %15, ptr %8, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %17, label %33 17: ; preds = %13 br label %18 18: ; preds = %24, %17 %19 = load ptr, ptr %8, align 8 %20 = getelementptr inbounds i8, ptr %19, i64 1 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp ne i32 %22, 0 br i1 %23, label %24, label %31 24: ; preds = %18 %25 = load ptr, ptr %8, align 8 %26 = getelementptr inbounds i8, ptr %25, i64 1 %27 = load i8, ptr %26, align 1 %28 = load ptr, ptr %8, align 8 store i8 %27, ptr %28, align 1 %29 = load ptr, ptr %8, align 8 %30 = getelementptr inbounds i8, ptr %29, i32 1 store ptr %30, ptr %8, align 8 br label %18, !llvm.loop !6 31: ; preds = %18 %32 = load ptr, ptr %8, align 8 store i8 0, ptr %32, align 1 br label %13, !llvm.loop !8 33: ; preds = %13 %34 = load ptr, ptr %2, align 8 %35 = call i32 @strlen(ptr noundef %34) store i32 %35, ptr %5, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %4, align 4 br label %36 36: ; preds = %71, %33 %37 = load i32, ptr %4, align 4 %38 = load i32, ptr %5, align 4 %39 = icmp slt i32 %37, %38 br i1 %39, label %40, label %74 40: ; preds = %36 %41 = load ptr, ptr %2, align 8 %42 = load i32, ptr %4, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i8, ptr %41, i64 %43 %45 = load i8, ptr %44, align 1 %46 = sext i8 %45 to i32 store i32 %46, ptr %3, align 4 %47 = load i32, ptr %3, align 4 %48 = call signext i8 @tolower(i32 noundef %47) %49 = sext i8 %48 to i32 %50 = icmp sge i32 %49, 97 br i1 %50, label %51, label %57 51: ; preds = %40 %52 = load i32, ptr %3, align 4 %53 = call signext i8 @tolower(i32 noundef %52) %54 = sext i8 %53 to i32 %55 = icmp sle i32 %54, 103 br i1 %55, label %56, label %57 56: ; preds = %51 store i32 1, ptr %7, align 4 br label %70 57: ; preds = %51, %40 %58 = load i32, ptr %7, align 4 %59 = icmp ne i32 %58, 0 br i1 %59, label %60, label %69 60: ; preds = %57 %61 = load i32, ptr %3, align 4 %62 = call i64 @isdigit(i32 noundef %61) %63 = icmp ne i64 %62, 0 br i1 %63, label %67, label %64 64: ; preds = %60 %65 = load i32, ptr %3, align 4 %66 = icmp eq i32 %65, 45 br i1 %66, label %67, label %68 67: ; preds = %64, %60 br label %74 68: ; preds = %64 br label %69 69: ; preds = %68, %57 br label %70 70: ; preds = %69, %56 br label %71 71: ; preds = %70 %72 = load i32, ptr %4, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %4, align 4 br label %36, !llvm.loop !9 74: ; preds = %67, %36 store i32 0, ptr %6, align 4 %75 = load i32, ptr %4, align 4 %76 = load i32, ptr %5, align 4 %77 = icmp slt i32 %75, %76 br i1 %77, label %78, label %84 78: ; preds = %74 %79 = load ptr, ptr %2, align 8 %80 = load i32, ptr %4, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds i8, ptr %79, i64 %81 %83 = call i32 @sscanf(ptr noundef %82, ptr noundef @.str, ptr noundef %6) br label %84 84: ; preds = %78, %74 %85 = load ptr, ptr %2, align 8 %86 = load i32, ptr %4, align 4 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds i8, ptr %85, i64 %87 store i8 0, ptr %88, align 1 br label %89 89: ; preds = %105, %84 %90 = load i32, ptr %6, align 4 %91 = icmp ne i32 %90, 0 br i1 %91, label %92, label %106 92: ; preds = %89 %93 = load i32, ptr %6, align 4 %94 = icmp sgt i32 %93, 0 br i1 %94, label %95, label %100 95: ; preds = %92 %96 = load ptr, ptr %2, align 8 %97 = call i32 @strcat(ptr noundef %96, ptr noundef @.str.1) %98 = load i32, ptr %6, align 4 %99 = add nsw i32 %98, -1 store i32 %99, ptr %6, align 4 br label %105 100: ; preds = %92 %101 = load ptr, ptr %2, align 8 %102 = call i32 @strcat(ptr noundef %101, ptr noundef @.str.2) %103 = load i32, ptr %6, align 4 %104 = add nsw i32 %103, 1 store i32 %104, ptr %6, align 4 br label %105 105: ; preds = %100, %95 br label %89, !llvm.loop !10 106: ; preds = %89 %107 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 0 %108 = getelementptr inbounds [8 x i8], ptr %11, i64 0, i64 0 %109 = call i32 @strncpy(ptr noundef %107, ptr noundef %108, i32 noundef 7) %110 = getelementptr inbounds [8 x i8], ptr %10, i64 0, i64 0 %111 = getelementptr inbounds [8 x i8], ptr %12, i64 0, i64 0 %112 = call i32 @strncpy(ptr noundef %110, ptr noundef %111, i32 noundef 7) %113 = getelementptr inbounds [8 x i8], ptr %11, i64 0, i64 0 %114 = call i32 @strcpy(ptr noundef %113, ptr noundef @.str.1) %115 = getelementptr inbounds [8 x i8], ptr %12, i64 0, i64 0 %116 = call i32 @strcpy(ptr noundef %115, ptr noundef @.str.2) %117 = load ptr, ptr %2, align 8 %118 = call i32 @remove_bad_updown(ptr noundef %117) %119 = getelementptr inbounds [8 x i8], ptr %11, i64 0, i64 0 %120 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 0 %121 = call i32 @strncpy(ptr noundef %119, ptr noundef %120, i32 noundef 7) %122 = getelementptr inbounds [8 x i8], ptr %12, i64 0, i64 0 %123 = getelementptr inbounds [8 x i8], ptr %10, i64 0, i64 0 %124 = call i32 @strncpy(ptr noundef %122, ptr noundef %123, i32 noundef 7) store i32 65, ptr %3, align 4 br label %125 125: ; preds = %151, %106 %126 = load i32, ptr %3, align 4 %127 = icmp sle i32 %126, 71 br i1 %127, label %128, label %154 128: ; preds = %125 %129 = load ptr, ptr %2, align 8 %130 = load i32, ptr %3, align 4 %131 = trunc i32 %130 to i8 %132 = call ptr @strchr(ptr noundef %129, i8 noundef signext %131) store ptr %132, ptr %8, align 8 %133 = load ptr, ptr %8, align 8 %134 = icmp eq ptr %133, null br i1 %134, label %135, label %136 135: ; preds = %128 br label %151 136: ; preds = %128 %137 = load ptr, ptr %2, align 8 %138 = call ptr @strchr(ptr noundef %137, i8 noundef signext 39) %139 = icmp ne ptr %138, null br i1 %139, label %140, label %150 140: ; preds = %136 %141 = load i32, ptr %3, align 4 %142 = call signext i8 @tolower(i32 noundef %141) %143 = load ptr, ptr %8, align 8 store i8 %142, ptr %143, align 1 %144 = load ptr, ptr %2, align 8 %145 = load ptr, ptr %2, align 8 %146 = call i32 @strlen(ptr noundef %145) %147 = sub nsw i32 %146, 1 %148 = sext i32 %147 to i64 %149 = getelementptr inbounds i8, ptr %144, i64 %148 store i8 0, ptr %149, align 1 br label %150 150: ; preds = %140, %136 br label %151 151: ; preds = %150, %135 %152 = load i32, ptr %3, align 4 %153 = add nsw i32 %152, 1 store i32 %153, ptr %3, align 4 br label %125, !llvm.loop !11 154: ; preds = %125 store i32 97, ptr %3, align 4 br label %155 155: ; preds = %181, %154 %156 = load i32, ptr %3, align 4 %157 = icmp sle i32 %156, 103 br i1 %157, label %158, label %184 158: ; preds = %155 %159 = load ptr, ptr %2, align 8 %160 = load i32, ptr %3, align 4 %161 = trunc i32 %160 to i8 %162 = call ptr @strchr(ptr noundef %159, i8 noundef signext %161) store ptr %162, ptr %8, align 8 %163 = load ptr, ptr %8, align 8 %164 = icmp eq ptr %163, null br i1 %164, label %165, label %166 165: ; preds = %158 br label %181 166: ; preds = %158 %167 = load ptr, ptr %2, align 8 %168 = call ptr @strchr(ptr noundef %167, i8 noundef signext 44) %169 = icmp ne ptr %168, null br i1 %169, label %170, label %180 170: ; preds = %166 %171 = load i32, ptr %3, align 4 %172 = call signext i8 @toupper(i32 noundef %171) %173 = load ptr, ptr %8, align 8 store i8 %172, ptr %173, align 1 %174 = load ptr, ptr %2, align 8 %175 = load ptr, ptr %2, align 8 %176 = call i32 @strlen(ptr noundef %175) %177 = sub nsw i32 %176, 1 %178 = sext i32 %177 to i64 %179 = getelementptr inbounds i8, ptr %174, i64 %178 store i8 0, ptr %179, align 1 br label %180 180: ; preds = %170, %166 br label %181 181: ; preds = %180, %165 %182 = load i32, ptr %3, align 4 %183 = add nsw i32 %182, 1 store i32 %183, ptr %3, align 4 br label %155, !llvm.loop !12 184: ; preds = %155 ret i32 1 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #2 declare i32 @strlen(ptr noundef) #2 declare signext i8 @tolower(i32 noundef) #2 declare i64 @isdigit(i32 noundef) #2 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @strcat(ptr noundef, ptr noundef) #2 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @strcpy(ptr noundef, ptr noundef) #2 declare i32 @remove_bad_updown(ptr noundef) #2 declare signext i8 @toupper(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppvg0zync.c" target datalayout = "e-m:e-p270: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.fixabc.up = private unnamed_addr constant [8 x i8] c"'\00\00\00\00\00\00\00", align 1 @__const.fixabc.down = private unnamed_addr constant [8 x i8] c",\00\00\00\00\00\00\00", align 1 @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"'\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c",\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fixabc(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca [8 x i8], align 1 %10 = alloca [8 x i8], align 1 %11 = alloca [8 x i8], align 1 %12 = alloca [8 x i8], align 1 store ptr %0, ptr %2, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %11, ptr align 1 @__const.fixabc.up, i64 8, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %12, ptr align 1 @__const.fixabc.down, i64 8, i1 false) %13 = load ptr, ptr %2, align 8 %14 = call ptr @strchr(ptr noundef %13, i8 noundef signext 32) store ptr %14, ptr %8, align 8 %15 = icmp ne ptr %14, null br i1 %15, label %.lr.ph2, label %39 .lr.ph2: ; preds = %1 br label %16 16: ; preds = %.lr.ph2, %34 %17 = load ptr, ptr %8, align 8 %18 = getelementptr inbounds i8, ptr %17, i64 1 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp ne i32 %20, 0 br i1 %21, label %.lr.ph, label %34 .lr.ph: ; preds = %16 br label %22 22: ; preds = %.lr.ph, %22 %23 = load ptr, ptr %8, align 8 %24 = getelementptr inbounds i8, ptr %23, i64 1 %25 = load i8, ptr %24, align 1 %26 = load ptr, ptr %8, align 8 store i8 %25, ptr %26, align 1 %27 = load ptr, ptr %8, align 8 %28 = getelementptr inbounds i8, ptr %27, i32 1 store ptr %28, ptr %8, align 8 %29 = load ptr, ptr %8, align 8 %30 = getelementptr inbounds i8, ptr %29, i64 1 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = icmp ne i32 %32, 0 br i1 %33, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %34 34: ; preds = %._crit_edge, %16 %35 = load ptr, ptr %8, align 8 store i8 0, ptr %35, align 1 %36 = load ptr, ptr %2, align 8 %37 = call ptr @strchr(ptr noundef %36, i8 noundef signext 32) store ptr %37, ptr %8, align 8 %38 = icmp ne ptr %37, null br i1 %38, label %16, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %34 br label %39 39: ; preds = %._crit_edge3, %1 %40 = load ptr, ptr %2, align 8 %41 = call i32 @strlen(ptr noundef %40) store i32 %41, ptr %5, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %4, align 4 %42 = load i32, ptr %4, align 4 %43 = load i32, ptr %5, align 4 %44 = icmp slt i32 %42, %43 br i1 %44, label %.lr.ph5, label %.loopexit .lr.ph5: ; preds = %39 br label %45 45: ; preds = %.lr.ph5, %76 %46 = load ptr, ptr %2, align 8 %47 = load i32, ptr %4, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i8, ptr %46, i64 %48 %50 = load i8, ptr %49, align 1 %51 = sext i8 %50 to i32 store i32 %51, ptr %3, align 4 %52 = load i32, ptr %3, align 4 %53 = call signext i8 @tolower(i32 noundef %52) %54 = sext i8 %53 to i32 %55 = icmp sge i32 %54, 97 br i1 %55, label %56, label %62 56: ; preds = %45 %57 = load i32, ptr %3, align 4 %58 = call signext i8 @tolower(i32 noundef %57) %59 = sext i8 %58 to i32 %60 = icmp sle i32 %59, 103 br i1 %60, label %61, label %62 61: ; preds = %56 store i32 1, ptr %7, align 4 br label %75 62: ; preds = %56, %45 %63 = load i32, ptr %7, align 4 %64 = icmp ne i32 %63, 0 br i1 %64, label %65, label %74 65: ; preds = %62 %66 = load i32, ptr %3, align 4 %67 = call i64 @isdigit(i32 noundef %66) %68 = icmp ne i64 %67, 0 br i1 %68, label %72, label %69 69: ; preds = %65 %70 = load i32, ptr %3, align 4 %71 = icmp eq i32 %70, 45 br i1 %71, label %72, label %73 72: ; preds = %69, %65 br label %82 73: ; preds = %69 br label %74 74: ; preds = %73, %62 br label %75 75: ; preds = %74, %61 br label %76 76: ; preds = %75 %77 = load i32, ptr %4, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %4, align 4 %79 = load i32, ptr %4, align 4 %80 = load i32, ptr %5, align 4 %81 = icmp slt i32 %79, %80 br i1 %81, label %45, label %..loopexit_crit_edge, !llvm.loop !9 ..loopexit_crit_edge: ; preds = %76 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %39 br label %82 82: ; preds = %.loopexit, %72 store i32 0, ptr %6, align 4 %83 = load i32, ptr %4, align 4 %84 = load i32, ptr %5, align 4 %85 = icmp slt i32 %83, %84 br i1 %85, label %86, label %92 86: ; preds = %82 %87 = load ptr, ptr %2, align 8 %88 = load i32, ptr %4, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds i8, ptr %87, i64 %89 %91 = call i32 @sscanf(ptr noundef %90, ptr noundef @.str, ptr noundef %6) br label %92 92: ; preds = %86, %82 %93 = load ptr, ptr %2, align 8 %94 = load i32, ptr %4, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds i8, ptr %93, i64 %95 store i8 0, ptr %96, align 1 %97 = load i32, ptr %6, align 4 %98 = icmp ne i32 %97, 0 br i1 %98, label %.lr.ph7, label %115 .lr.ph7: ; preds = %92 br label %99 99: ; preds = %.lr.ph7, %112 %100 = load i32, ptr %6, align 4 %101 = icmp sgt i32 %100, 0 br i1 %101, label %102, label %107 102: ; preds = %99 %103 = load ptr, ptr %2, align 8 %104 = call i32 @strcat(ptr noundef %103, ptr noundef @.str.1) %105 = load i32, ptr %6, align 4 %106 = add nsw i32 %105, -1 store i32 %106, ptr %6, align 4 br label %112 107: ; preds = %99 %108 = load ptr, ptr %2, align 8 %109 = call i32 @strcat(ptr noundef %108, ptr noundef @.str.2) %110 = load i32, ptr %6, align 4 %111 = add nsw i32 %110, 1 store i32 %111, ptr %6, align 4 br label %112 112: ; preds = %107, %102 %113 = load i32, ptr %6, align 4 %114 = icmp ne i32 %113, 0 br i1 %114, label %99, label %._crit_edge8, !llvm.loop !10 ._crit_edge8: ; preds = %112 br label %115 115: ; preds = %._crit_edge8, %92 %116 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 0 %117 = getelementptr inbounds [8 x i8], ptr %11, i64 0, i64 0 %118 = call i32 @strncpy(ptr noundef %116, ptr noundef %117, i32 noundef 7) %119 = getelementptr inbounds [8 x i8], ptr %10, i64 0, i64 0 %120 = getelementptr inbounds [8 x i8], ptr %12, i64 0, i64 0 %121 = call i32 @strncpy(ptr noundef %119, ptr noundef %120, i32 noundef 7) %122 = getelementptr inbounds [8 x i8], ptr %11, i64 0, i64 0 %123 = call i32 @strcpy(ptr noundef %122, ptr noundef @.str.1) %124 = getelementptr inbounds [8 x i8], ptr %12, i64 0, i64 0 %125 = call i32 @strcpy(ptr noundef %124, ptr noundef @.str.2) %126 = load ptr, ptr %2, align 8 %127 = call i32 @remove_bad_updown(ptr noundef %126) %128 = getelementptr inbounds [8 x i8], ptr %11, i64 0, i64 0 %129 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 0 %130 = call i32 @strncpy(ptr noundef %128, ptr noundef %129, i32 noundef 7) %131 = getelementptr inbounds [8 x i8], ptr %12, i64 0, i64 0 %132 = getelementptr inbounds [8 x i8], ptr %10, i64 0, i64 0 %133 = call i32 @strncpy(ptr noundef %131, ptr noundef %132, i32 noundef 7) store i32 65, ptr %3, align 4 %134 = load i32, ptr %3, align 4 %135 = icmp sle i32 %134, 71 br i1 %135, label %.lr.ph10, label %164 .lr.ph10: ; preds = %115 br label %136 136: ; preds = %.lr.ph10, %159 %137 = load ptr, ptr %2, align 8 %138 = load i32, ptr %3, align 4 %139 = trunc i32 %138 to i8 %140 = call ptr @strchr(ptr noundef %137, i8 noundef signext %139) store ptr %140, ptr %8, align 8 %141 = load ptr, ptr %8, align 8 %142 = icmp eq ptr %141, null br i1 %142, label %143, label %144 143: ; preds = %136 br label %159 144: ; preds = %136 %145 = load ptr, ptr %2, align 8 %146 = call ptr @strchr(ptr noundef %145, i8 noundef signext 39) %147 = icmp ne ptr %146, null br i1 %147, label %148, label %158 148: ; preds = %144 %149 = load i32, ptr %3, align 4 %150 = call signext i8 @tolower(i32 noundef %149) %151 = load ptr, ptr %8, align 8 store i8 %150, ptr %151, align 1 %152 = load ptr, ptr %2, align 8 %153 = load ptr, ptr %2, align 8 %154 = call i32 @strlen(ptr noundef %153) %155 = sub nsw i32 %154, 1 %156 = sext i32 %155 to i64 %157 = getelementptr inbounds i8, ptr %152, i64 %156 store i8 0, ptr %157, align 1 br label %158 158: ; preds = %148, %144 br label %159 159: ; preds = %158, %143 %160 = load i32, ptr %3, align 4 %161 = add nsw i32 %160, 1 store i32 %161, ptr %3, align 4 %162 = load i32, ptr %3, align 4 %163 = icmp sle i32 %162, 71 br i1 %163, label %136, label %._crit_edge11, !llvm.loop !11 ._crit_edge11: ; preds = %159 br label %164 164: ; preds = %._crit_edge11, %115 store i32 97, ptr %3, align 4 %165 = load i32, ptr %3, align 4 %166 = icmp sle i32 %165, 103 br i1 %166, label %.lr.ph13, label %195 .lr.ph13: ; preds = %164 br label %167 167: ; preds = %.lr.ph13, %190 %168 = load ptr, ptr %2, align 8 %169 = load i32, ptr %3, align 4 %170 = trunc i32 %169 to i8 %171 = call ptr @strchr(ptr noundef %168, i8 noundef signext %170) store ptr %171, ptr %8, align 8 %172 = load ptr, ptr %8, align 8 %173 = icmp eq ptr %172, null br i1 %173, label %174, label %175 174: ; preds = %167 br label %190 175: ; preds = %167 %176 = load ptr, ptr %2, align 8 %177 = call ptr @strchr(ptr noundef %176, i8 noundef signext 44) %178 = icmp ne ptr %177, null br i1 %178, label %179, label %189 179: ; preds = %175 %180 = load i32, ptr %3, align 4 %181 = call signext i8 @toupper(i32 noundef %180) %182 = load ptr, ptr %8, align 8 store i8 %181, ptr %182, align 1 %183 = load ptr, ptr %2, align 8 %184 = load ptr, ptr %2, align 8 %185 = call i32 @strlen(ptr noundef %184) %186 = sub nsw i32 %185, 1 %187 = sext i32 %186 to i64 %188 = getelementptr inbounds i8, ptr %183, i64 %187 store i8 0, ptr %188, align 1 br label %189 189: ; preds = %179, %175 br label %190 190: ; preds = %189, %174 %191 = load i32, ptr %3, align 4 %192 = add nsw i32 %191, 1 store i32 %192, ptr %3, align 4 %193 = load i32, ptr %3, align 4 %194 = icmp sle i32 %193, 103 br i1 %194, label %167, label %._crit_edge14, !llvm.loop !12 ._crit_edge14: ; preds = %190 br label %195 195: ; preds = %._crit_edge14, %164 ret i32 1 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #2 declare i32 @strlen(ptr noundef) #2 declare signext i8 @tolower(i32 noundef) #2 declare i64 @isdigit(i32 noundef) #2 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @strcat(ptr noundef, ptr noundef) #2 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @strcpy(ptr noundef, ptr noundef) #2 declare i32 @remove_bad_updown(ptr noundef) #2 declare signext i8 @toupper(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '/tmp/tmph3_9vj4y.c' source_filename = "/tmp/tmph3_9vj4y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %union.sigval = type { i32 } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [16 x i8] c"usage : %s pid\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 @SIGINT = dso_local global i32 0, align 4 @SIGRTMIN = dso_local global i32 0, align 4 @SIGUSR1 = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca %union.sigval, 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 ne i32 %8, 2 br i1 %9, label %10, label %18 10: ; preds = %2 %11 = load i32, ptr @stderr, align 4 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 0 %14 = load ptr, ptr %13, align 8 %15 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str, ptr noundef %14) %16 = load i32, ptr @EXIT_SUCCESS, align 4 %17 = call i32 @exit(i32 noundef %16) #3 unreachable 18: ; preds = %2 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 1 %21 = load ptr, ptr %20, align 8 %22 = call i32 @atoi(ptr noundef %21) store i32 %22, ptr %6, align 4 %23 = load i32, ptr %6, align 4 %24 = load i32, ptr @SIGINT, align 4 %25 = getelementptr inbounds %union.sigval, ptr %7, i32 0, i32 0 %26 = load i32, ptr %25, align 4 %27 = call i32 @sigqueue(i32 noundef %23, i32 noundef %24, i32 %26) %28 = load i32, ptr %6, align 4 %29 = load i32, ptr @SIGINT, align 4 %30 = getelementptr inbounds %union.sigval, ptr %7, i32 0, i32 0 %31 = load i32, ptr %30, align 4 %32 = call i32 @sigqueue(i32 noundef %28, i32 noundef %29, i32 %31) %33 = load i32, ptr %6, align 4 %34 = load i32, ptr @SIGINT, align 4 %35 = getelementptr inbounds %union.sigval, ptr %7, i32 0, i32 0 %36 = load i32, ptr %35, align 4 %37 = call i32 @sigqueue(i32 noundef %33, i32 noundef %34, i32 %36) %38 = load i32, ptr %6, align 4 %39 = load i32, ptr @SIGRTMIN, align 4 %40 = getelementptr inbounds %union.sigval, ptr %7, i32 0, i32 0 %41 = load i32, ptr %40, align 4 %42 = call i32 @sigqueue(i32 noundef %38, i32 noundef %39, i32 %41) %43 = load i32, ptr %6, align 4 %44 = load i32, ptr @SIGRTMIN, align 4 %45 = getelementptr inbounds %union.sigval, ptr %7, i32 0, i32 0 %46 = load i32, ptr %45, align 4 %47 = call i32 @sigqueue(i32 noundef %43, i32 noundef %44, i32 %46) %48 = load i32, ptr %6, align 4 %49 = load i32, ptr @SIGRTMIN, align 4 %50 = getelementptr inbounds %union.sigval, ptr %7, i32 0, i32 0 %51 = load i32, ptr %50, align 4 %52 = call i32 @sigqueue(i32 noundef %48, i32 noundef %49, i32 %51) %53 = call i32 @sleep(i32 noundef 1) %54 = load i32, ptr %6, align 4 %55 = load i32, ptr @SIGUSR1, align 4 %56 = call i32 @kill(i32 noundef %54, i32 noundef %55) ret i32 0 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @atoi(ptr noundef) #1 declare i32 @sigqueue(i32 noundef, i32 noundef, i32) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @kill(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 = { 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/tmph3_9vj4y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %union.sigval = type { i32 } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [16 x i8] c"usage : %s pid\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 @SIGINT = dso_local global i32 0, align 4 @SIGRTMIN = dso_local global i32 0, align 4 @SIGUSR1 = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca %union.sigval, 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 ne i32 %8, 2 br i1 %9, label %10, label %18 10: ; preds = %2 %11 = load i32, ptr @stderr, align 4 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 0 %14 = load ptr, ptr %13, align 8 %15 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str, ptr noundef %14) %16 = load i32, ptr @EXIT_SUCCESS, align 4 %17 = call i32 @exit(i32 noundef %16) #3 unreachable 18: ; preds = %2 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 1 %21 = load ptr, ptr %20, align 8 %22 = call i32 @atoi(ptr noundef %21) store i32 %22, ptr %6, align 4 %23 = load i32, ptr %6, align 4 %24 = load i32, ptr @SIGINT, align 4 %25 = getelementptr inbounds %union.sigval, ptr %7, i32 0, i32 0 %26 = load i32, ptr %25, align 4 %27 = call i32 @sigqueue(i32 noundef %23, i32 noundef %24, i32 %26) %28 = load i32, ptr %6, align 4 %29 = load i32, ptr @SIGINT, align 4 %30 = getelementptr inbounds %union.sigval, ptr %7, i32 0, i32 0 %31 = load i32, ptr %30, align 4 %32 = call i32 @sigqueue(i32 noundef %28, i32 noundef %29, i32 %31) %33 = load i32, ptr %6, align 4 %34 = load i32, ptr @SIGINT, align 4 %35 = getelementptr inbounds %union.sigval, ptr %7, i32 0, i32 0 %36 = load i32, ptr %35, align 4 %37 = call i32 @sigqueue(i32 noundef %33, i32 noundef %34, i32 %36) %38 = load i32, ptr %6, align 4 %39 = load i32, ptr @SIGRTMIN, align 4 %40 = getelementptr inbounds %union.sigval, ptr %7, i32 0, i32 0 %41 = load i32, ptr %40, align 4 %42 = call i32 @sigqueue(i32 noundef %38, i32 noundef %39, i32 %41) %43 = load i32, ptr %6, align 4 %44 = load i32, ptr @SIGRTMIN, align 4 %45 = getelementptr inbounds %union.sigval, ptr %7, i32 0, i32 0 %46 = load i32, ptr %45, align 4 %47 = call i32 @sigqueue(i32 noundef %43, i32 noundef %44, i32 %46) %48 = load i32, ptr %6, align 4 %49 = load i32, ptr @SIGRTMIN, align 4 %50 = getelementptr inbounds %union.sigval, ptr %7, i32 0, i32 0 %51 = load i32, ptr %50, align 4 %52 = call i32 @sigqueue(i32 noundef %48, i32 noundef %49, i32 %51) %53 = call i32 @sleep(i32 noundef 1) %54 = load i32, ptr %6, align 4 %55 = load i32, ptr @SIGUSR1, align 4 %56 = call i32 @kill(i32 noundef %54, i32 noundef %55) ret i32 0 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @atoi(ptr noundef) #1 declare i32 @sigqueue(i32 noundef, i32 noundef, i32) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @kill(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 = { 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/tmpaagka3u9.c' source_filename = "/tmp/tmpaagka3u9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stringEquals(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @strcmp(ptr noundef %6, ptr noundef %7) store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp eq i32 %9, 0 %11 = zext i1 %10 to i32 ret i32 %11 } 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/tmpaagka3u9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stringEquals(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @strcmp(ptr noundef %6, ptr noundef %7) store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp eq i32 %9, 0 %11 = zext i1 %10 to i32 ret i32 %11 } 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/tmpi68c2n_f.c' source_filename = "/tmp/tmpi68c2n_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" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @exc_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @exc_type(ptr noundef %3) switch i32 %4, label %9 [ i32 1, label %5 i32 2, label %8 ] 5: ; preds = %1 %6 = load ptr, ptr %2, align 8 %7 = call i32 @free(ptr noundef %6) br label %8 8: ; preds = %1, %5 br label %9 9: ; preds = %8, %1 ret void } declare i32 @exc_type(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/tmpi68c2n_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" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @exc_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @exc_type(ptr noundef %3) switch i32 %4, label %9 [ i32 1, label %5 i32 2, label %8 ] 5: ; preds = %1 %6 = load ptr, ptr %2, align 8 %7 = call i32 @free(ptr noundef %6) br label %8 8: ; preds = %5, %1 br label %9 9: ; preds = %8, %1 ret void } declare i32 @exc_type(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/tmpvz_unu5o.c' source_filename = "/tmp/tmpvz_unu5o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = dso_local global ptr null, align 8 @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"%s: cannot open %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"%s: error writing stdout\0A\00", align 1 @.str.3 = private unnamed_addr constant [26 x i8] c"Run time: %u clock ticks\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, 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 ptr, ptr %5, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 0 %11 = load ptr, ptr %10, align 8 store ptr %11, ptr %7, align 8 %12 = call i64 (...) @clock() store i64 %12, ptr %8, align 8 %13 = load i32, ptr %4, align 4 %14 = icmp eq i32 %13, 1 br i1 %14, label %15, label %19 15: ; preds = %2 %16 = load ptr, ptr @stdin, align 8 %17 = load i32, ptr @stdout, align 4 %18 = call i32 @filecopy(ptr noundef %16, i32 noundef %17) ret i32 0 19: ; preds = %2 br label %20 20: ; preds = %41, %19 %21 = load i32, ptr %4, align 4 %22 = add nsw i32 %21, -1 store i32 %22, ptr %4, align 4 %23 = icmp sgt i32 %22, 0 br i1 %23, label %24, label %42 24: ; preds = %20 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds ptr, ptr %25, i32 1 store ptr %26, ptr %5, align 8 %27 = load ptr, ptr %26, align 8 %28 = call ptr @fopen(ptr noundef %27, ptr noundef @.str) store ptr %28, ptr %6, align 8 %29 = icmp eq ptr %28, null br i1 %29, label %30, label %35 30: ; preds = %24 %31 = load ptr, ptr %7, align 8 %32 = load ptr, ptr %5, align 8 %33 = load ptr, ptr %32, align 8 %34 = call i32 (ptr, ptr, ...) @error(ptr noundef @.str.1, ptr noundef %31, ptr noundef %33) br label %41 35: ; preds = %24 %36 = load ptr, ptr %6, align 8 %37 = load i32, ptr @stdout, align 4 %38 = call i32 @filecopy(ptr noundef %36, i32 noundef %37) %39 = load ptr, ptr %6, align 8 %40 = call i32 @fclose(ptr noundef %39) br label %41 41: ; preds = %35, %30 br label %20, !llvm.loop !6 42: ; preds = %20 %43 = load i32, ptr @stdout, align 4 %44 = call i64 @ferror(i32 noundef %43) %45 = icmp ne i64 %44, 0 br i1 %45, label %46, label %49 46: ; preds = %42 %47 = load ptr, ptr %7, align 8 %48 = call i32 (ptr, ptr, ...) @error(ptr noundef @.str.2, ptr noundef %47) br label %49 49: ; preds = %46, %42 %50 = call i64 (...) @clock() %51 = load i64, ptr %8, align 8 %52 = sub nsw i64 %50, %51 %53 = trunc i64 %52 to i32 %54 = call i32 @printf(ptr noundef @.str.3, i32 noundef %53) %55 = load i32, ptr @EXIT_SUCCESS, align 4 %56 = call i32 @exit(i32 noundef %55) #3 unreachable } declare i64 @clock(...) #1 declare i32 @filecopy(ptr noundef, i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @error(ptr noundef, ptr noundef, ...) #1 declare i32 @fclose(ptr noundef) #1 declare i64 @ferror(i32 noundef) #1 declare i32 @printf(ptr 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvz_unu5o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = dso_local global ptr null, align 8 @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"%s: cannot open %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"%s: error writing stdout\0A\00", align 1 @.str.3 = private unnamed_addr constant [26 x i8] c"Run time: %u clock ticks\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i64, 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 ptr, ptr %5, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 0 %11 = load ptr, ptr %10, align 8 store ptr %11, ptr %7, align 8 %12 = call i64 (...) @clock() store i64 %12, ptr %8, align 8 %13 = load i32, ptr %4, align 4 %14 = icmp eq i32 %13, 1 br i1 %14, label %15, label %19 15: ; preds = %2 %16 = load ptr, ptr @stdin, align 8 %17 = load i32, ptr @stdout, align 4 %18 = call i32 @filecopy(ptr noundef %16, i32 noundef %17) ret i32 0 19: ; preds = %2 %20 = load i32, ptr %4, align 4 %21 = add nsw i32 %20, -1 store i32 %21, ptr %4, align 4 %22 = icmp sgt i32 %21, 0 br i1 %22, label %.lr.ph, label %44 .lr.ph: ; preds = %19 br label %23 23: ; preds = %.lr.ph, %40 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds ptr, ptr %24, i32 1 store ptr %25, ptr %5, align 8 %26 = load ptr, ptr %25, align 8 %27 = call ptr @fopen(ptr noundef %26, ptr noundef @.str) store ptr %27, ptr %6, align 8 %28 = icmp eq ptr %27, null br i1 %28, label %29, label %34 29: ; preds = %23 %30 = load ptr, ptr %7, align 8 %31 = load ptr, ptr %5, align 8 %32 = load ptr, ptr %31, align 8 %33 = call i32 (ptr, ptr, ...) @error(ptr noundef @.str.1, ptr noundef %30, ptr noundef %32) br label %40 34: ; preds = %23 %35 = load ptr, ptr %6, align 8 %36 = load i32, ptr @stdout, align 4 %37 = call i32 @filecopy(ptr noundef %35, i32 noundef %36) %38 = load ptr, ptr %6, align 8 %39 = call i32 @fclose(ptr noundef %38) br label %40 40: ; preds = %34, %29 %41 = load i32, ptr %4, align 4 %42 = add nsw i32 %41, -1 store i32 %42, ptr %4, align 4 %43 = icmp sgt i32 %42, 0 br i1 %43, label %23, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %40 br label %44 44: ; preds = %._crit_edge, %19 %45 = load i32, ptr @stdout, align 4 %46 = call i64 @ferror(i32 noundef %45) %47 = icmp ne i64 %46, 0 br i1 %47, label %48, label %51 48: ; preds = %44 %49 = load ptr, ptr %7, align 8 %50 = call i32 (ptr, ptr, ...) @error(ptr noundef @.str.2, ptr noundef %49) br label %51 51: ; preds = %48, %44 %52 = call i64 (...) @clock() %53 = load i64, ptr %8, align 8 %54 = sub nsw i64 %52, %53 %55 = trunc i64 %54 to i32 %56 = call i32 @printf(ptr noundef @.str.3, i32 noundef %55) %57 = load i32, ptr @EXIT_SUCCESS, align 4 %58 = call i32 @exit(i32 noundef %57) #3 unreachable } declare i64 @clock(...) #1 declare i32 @filecopy(ptr noundef, i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @error(ptr noundef, ptr noundef, ...) #1 declare i32 @fclose(ptr noundef) #1 declare i64 @ferror(i32 noundef) #1 declare i32 @printf(ptr 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpvpjw3mzq.c' source_filename = "/tmp/tmpvpjw3mzq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [2 x i8] c"x\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 store i32 0, ptr %6, align 4 br label %8 8: ; preds = %14, %2 %9 = load i32, ptr %6, align 4 %10 = icmp slt i32 %9, 100 br i1 %10, label %11, label %17 11: ; preds = %8 %12 = call i32 @printf(ptr noundef @.str) %13 = call i32 @sleep(i32 noundef 1) br label %14 14: ; preds = %11 %15 = load i32, ptr %6, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %6, align 4 br label %8, !llvm.loop !6 17: ; preds = %8 store i32 0, ptr %7, align 4 br label %18 18: ; preds = %25, %17 %19 = load i32, ptr %7, align 4 %20 = icmp slt i32 %19, 100 br i1 %20, label %21, label %28 21: ; preds = %18 %22 = load i32, ptr @stderr, align 4 %23 = call i32 @fprintf(i32 noundef %22, ptr noundef @.str.1) %24 = call i32 @sleep(i32 noundef 1) br label %25 25: ; preds = %21 %26 = load i32, ptr %7, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %7, align 4 br label %18, !llvm.loop !8 28: ; preds = %18 ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvpjw3mzq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [2 x i8] c"x\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 store i32 0, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = icmp slt i32 %8, 100 br i1 %9, label %.lr.ph, label %18 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %13 %11 = call i32 @printf(ptr noundef @.str) %12 = call i32 @sleep(i32 noundef 1) br label %13 13: ; preds = %10 %14 = load i32, ptr %6, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %6, align 4 %16 = load i32, ptr %6, align 4 %17 = icmp slt i32 %16, 100 br i1 %17, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %18 18: ; preds = %._crit_edge, %2 store i32 0, ptr %7, align 4 %19 = load i32, ptr %7, align 4 %20 = icmp slt i32 %19, 100 br i1 %20, label %.lr.ph2, label %30 .lr.ph2: ; preds = %18 br label %21 21: ; preds = %.lr.ph2, %25 %22 = load i32, ptr @stderr, align 4 %23 = call i32 @fprintf(i32 noundef %22, ptr noundef @.str.1) %24 = call i32 @sleep(i32 noundef 1) br label %25 25: ; preds = %21 %26 = load i32, ptr %7, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %7, align 4 %28 = load i32, ptr %7, align 4 %29 = icmp slt i32 %28, 100 br i1 %29, label %21, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %25 br label %30 30: ; preds = %._crit_edge3, %18 ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp90wgvrmr.c' source_filename = "/tmp/tmp90wgvrmr.c" target datalayout = "e-m:e-p270: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/tmp90wgvrmr.c" target datalayout = "e-m:e-p270: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/tmp7q359m4t.c' source_filename = "/tmp/tmp7q359m4t.c" target datalayout = "e-m:e-p270: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 [76 x i8] c"The program %s reads a list of Delaney-Dress symbols and prints a summary.\0A\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"Usage: %s [options]\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"Valid options:\0A\00", align 1 @.str.3 = private unnamed_addr constant [39 x i8] c" -h : Print this help and return.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @help(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) %6 = load i32, ptr @stderr, align 4 %7 = load ptr, ptr %2, align 8 %8 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef @.str.1, ptr noundef %7) %9 = load i32, ptr @stderr, align 4 %10 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %9, ptr noundef @.str.2) %11 = load i32, ptr @stderr, align 4 %12 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %11, ptr noundef @.str.3) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7q359m4t.c" target datalayout = "e-m:e-p270: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 [76 x i8] c"The program %s reads a list of Delaney-Dress symbols and prints a summary.\0A\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"Usage: %s [options]\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"Valid options:\0A\00", align 1 @.str.3 = private unnamed_addr constant [39 x i8] c" -h : Print this help and return.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @help(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) %6 = load i32, ptr @stderr, align 4 %7 = load ptr, ptr %2, align 8 %8 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef @.str.1, ptr noundef %7) %9 = load i32, ptr @stderr, align 4 %10 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %9, ptr noundef @.str.2) %11 = load i32, ptr @stderr, align 4 %12 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %11, ptr noundef @.str.3) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppvck6qis.c' source_filename = "/tmp/tmppvck6qis.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"data/select.db\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [33 x i8] c"error\09:\09files %s can not open !\0A\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"data/option.ini\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.5 = private unnamed_addr constant [33 x i8] c"error\09:\09files %s can not save !\0A\00", align 1 @.str.6 = private unnamed_addr constant [14 x i8] c"password = %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @new_start() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %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 %9 6: ; preds = %0 %7 = call i32 @printf(ptr noundef @.str.2, ptr noundef @.str) %8 = call i32 @exit(i32 noundef 1) #3 unreachable 9: ; preds = %0 store i32 0, ptr %1, align 4 br label %10 10: ; preds = %23, %9 %11 = load ptr, ptr %2, align 8 %12 = call i32 @feof(ptr noundef %11) %13 = icmp ne i32 %12, 0 %14 = xor i1 %13, true br i1 %14, label %15, label %24 15: ; preds = %10 %16 = load ptr, ptr %2, align 8 %17 = call signext i8 @fgetc(ptr noundef %16) %18 = sext i8 %17 to i32 %19 = icmp eq i32 %18, 94 br i1 %19, label %20, label %23 20: ; preds = %15 %21 = load i32, ptr %1, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %1, align 4 br label %23 23: ; preds = %20, %15 br label %10, !llvm.loop !6 24: ; preds = %10 %25 = load ptr, ptr %2, align 8 %26 = call i32 @fclose(ptr noundef %25) %27 = call ptr @fopen(ptr noundef @.str.3, ptr noundef @.str.4) store ptr %27, ptr %2, align 8 %28 = icmp eq ptr %27, null br i1 %28, label %29, label %32 29: ; preds = %24 %30 = call i32 @printf(ptr noundef @.str.5, ptr noundef @.str.3) %31 = call i32 @exit(i32 noundef 1) #3 unreachable 32: ; preds = %24 %33 = load ptr, ptr %2, align 8 %34 = call i32 @fprintf(ptr noundef %33, ptr noundef @.str.6, i32 noundef 6796286) %35 = load ptr, ptr %2, align 8 %36 = call i32 @fclose(ptr noundef %35) ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @feof(ptr noundef) #1 declare signext i8 @fgetc(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @fprintf(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppvck6qis.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"data/select.db\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [33 x i8] c"error\09:\09files %s can not open !\0A\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"data/option.ini\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.5 = private unnamed_addr constant [33 x i8] c"error\09:\09files %s can not save !\0A\00", align 1 @.str.6 = private unnamed_addr constant [14 x i8] c"password = %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @new_start() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %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 %9 6: ; preds = %0 %7 = call i32 @printf(ptr noundef @.str.2, ptr noundef @.str) %8 = call i32 @exit(i32 noundef 1) #3 unreachable 9: ; preds = %0 store i32 0, ptr %1, align 4 %10 = load ptr, ptr %2, align 8 %11 = call i32 @feof(ptr noundef %10) %12 = icmp ne i32 %11, 0 %13 = xor i1 %12, true br i1 %13, label %.lr.ph, label %27 .lr.ph: ; preds = %9 br label %14 14: ; preds = %.lr.ph, %22 %15 = load ptr, ptr %2, align 8 %16 = call signext i8 @fgetc(ptr noundef %15) %17 = sext i8 %16 to i32 %18 = icmp eq i32 %17, 94 br i1 %18, label %19, label %22 19: ; preds = %14 %20 = load i32, ptr %1, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %1, align 4 br label %22 22: ; preds = %19, %14 %23 = load ptr, ptr %2, align 8 %24 = call i32 @feof(ptr noundef %23) %25 = icmp ne i32 %24, 0 %26 = xor i1 %25, true br i1 %26, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %27 27: ; preds = %._crit_edge, %9 %28 = load ptr, ptr %2, align 8 %29 = call i32 @fclose(ptr noundef %28) %30 = call ptr @fopen(ptr noundef @.str.3, ptr noundef @.str.4) store ptr %30, ptr %2, align 8 %31 = icmp eq ptr %30, null br i1 %31, label %32, label %35 32: ; preds = %27 %33 = call i32 @printf(ptr noundef @.str.5, ptr noundef @.str.3) %34 = call i32 @exit(i32 noundef 1) #3 unreachable 35: ; preds = %27 %36 = load ptr, ptr %2, align 8 %37 = call i32 @fprintf(ptr noundef %36, ptr noundef @.str.6, i32 noundef 6796286) %38 = load ptr, ptr %2, align 8 %39 = call i32 @fclose(ptr noundef %38) ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @feof(ptr noundef) #1 declare signext i8 @fgetc(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @fprintf(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmph7vayvum.c' source_filename = "/tmp/tmph7vayvum.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @page_cleanup(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 ptr, ptr %3, align 8 %5 = icmp ne ptr %4, null br i1 %5, label %6, label %10 6: ; preds = %1 %7 = load ptr, ptr %2, align 8 %8 = load ptr, ptr %7, align 8 %9 = call i32 @buddy_free(ptr noundef %8) br label %10 10: ; preds = %6, %1 ret void } declare i32 @buddy_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/tmph7vayvum.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @page_cleanup(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 ptr, ptr %3, align 8 %5 = icmp ne ptr %4, null br i1 %5, label %6, label %10 6: ; preds = %1 %7 = load ptr, ptr %2, align 8 %8 = load ptr, ptr %7, align 8 %9 = call i32 @buddy_free(ptr noundef %8) br label %10 10: ; preds = %6, %1 ret void } declare i32 @buddy_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/tmpmi_0jlfg.c' source_filename = "/tmp/tmpmi_0jlfg.c" target datalayout = "e-m:e-p270: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/tmpmi_0jlfg.c" target datalayout = "e-m:e-p270: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/tmp827inh5p.c' source_filename = "/tmp/tmp827inh5p.c" target datalayout = "e-m:e-p270: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/tmp827inh5p.c" target datalayout = "e-m:e-p270: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/tmpvw0j1alq.c' source_filename = "/tmp/tmpvw0j1alq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [500 x i32], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %6) %8 = getelementptr inbounds [500 x i32], ptr %3, i64 0, i64 0 %9 = call i32 @scanf(ptr noundef @.str, ptr noundef %8) %10 = getelementptr inbounds [500 x i32], ptr %3, i64 0, i64 0 %11 = load i32, ptr %10, align 16 store i32 %11, ptr %2, align 4 %12 = getelementptr inbounds [500 x i32], ptr %3, i64 0, i64 0 %13 = load i32, ptr %12, align 16 store i32 %13, ptr %4, align 4 store i32 1, ptr %5, align 4 br label %14 14: ; preds = %27, %0 %15 = load i32, ptr %5, align 4 %16 = load i32, ptr %6, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %18, label %30 18: ; preds = %14 %19 = load i32, ptr %5, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds [500 x i32], ptr %3, i64 0, i64 %20 %22 = call i32 @scanf(ptr noundef @.str, ptr noundef %21) %23 = load i32, ptr %5, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [500 x i32], ptr %3, i64 0, i64 %24 %26 = call i32 @minmax(ptr noundef %25, ptr noundef %6, ptr noundef %5, ptr noundef %2, ptr noundef %4) br label %27 27: ; preds = %18 %28 = load i32, ptr %5, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %5, align 4 br label %14, !llvm.loop !6 30: ; preds = %14 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @minmax(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvw0j1alq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [500 x i32], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %6) %8 = getelementptr inbounds [500 x i32], ptr %3, i64 0, i64 0 %9 = call i32 @scanf(ptr noundef @.str, ptr noundef %8) %10 = getelementptr inbounds [500 x i32], ptr %3, i64 0, i64 0 %11 = load i32, ptr %10, align 16 store i32 %11, ptr %2, align 4 %12 = getelementptr inbounds [500 x i32], ptr %3, i64 0, i64 0 %13 = load i32, ptr %12, align 16 store i32 %13, ptr %4, align 4 store i32 1, ptr %5, align 4 %14 = load i32, ptr %5, align 4 %15 = load i32, ptr %6, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %.lr.ph, label %32 .lr.ph: ; preds = %0 br label %17 17: ; preds = %.lr.ph, %26 %18 = load i32, ptr %5, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds [500 x i32], ptr %3, i64 0, i64 %19 %21 = call i32 @scanf(ptr noundef @.str, ptr noundef %20) %22 = load i32, ptr %5, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [500 x i32], ptr %3, i64 0, i64 %23 %25 = call i32 @minmax(ptr noundef %24, ptr noundef %6, ptr noundef %5, ptr noundef %2, ptr noundef %4) br label %26 26: ; preds = %17 %27 = load i32, ptr %5, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %5, align 4 %29 = load i32, ptr %5, align 4 %30 = load i32, ptr %6, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %32 32: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @minmax(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpn4urq9v1.c' source_filename = "/tmp/tmpn4urq9v1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @n_getline(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %6, align 4 br label %7 7: ; preds = %28, %2 %8 = load i32, ptr %6, align 4 %9 = load i32, ptr %4, align 4 %10 = sub nsw i32 %9, 1 %11 = icmp slt i32 %8, %10 br i1 %11, label %12, label %19 12: ; preds = %7 %13 = call i32 (...) @getchar() store i32 %13, ptr %5, align 4 %14 = load i32, ptr @EOF, align 4 %15 = icmp ne i32 %13, %14 br i1 %15, label %16, label %19 16: ; preds = %12 %17 = load i32, ptr %5, align 4 %18 = icmp ne i32 %17, 10 br label %19 19: ; preds = %16, %12, %7 %20 = phi i1 [ false, %12 ], [ false, %7 ], [ %18, %16 ] br i1 %20, label %21, label %31 21: ; preds = %19 %22 = load i32, ptr %5, align 4 %23 = trunc i32 %22 to i8 %24 = load ptr, ptr %3, align 8 %25 = load i32, ptr %6, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %24, i64 %26 store i8 %23, ptr %27, align 1 br label %28 28: ; preds = %21 %29 = load i32, ptr %6, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %6, align 4 br label %7, !llvm.loop !6 31: ; preds = %19 %32 = load i32, ptr %5, align 4 %33 = icmp eq i32 %32, 10 br i1 %33, label %34, label %43 34: ; preds = %31 %35 = load i32, ptr %5, align 4 %36 = trunc i32 %35 to i8 %37 = load ptr, ptr %3, align 8 %38 = load i32, ptr %6, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i8, ptr %37, i64 %39 store i8 %36, ptr %40, align 1 %41 = load i32, ptr %6, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %6, align 4 br label %43 43: ; preds = %34, %31 %44 = load ptr, ptr %3, align 8 %45 = load i32, ptr %6, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i8, ptr %44, i64 %46 store i8 0, ptr %47, align 1 %48 = load i32, ptr %6, align 4 ret i32 %48 } 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn4urq9v1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @n_getline(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %6, align 4 br label %7 7: ; preds = %28, %2 %8 = load i32, ptr %6, align 4 %9 = load i32, ptr %4, align 4 %10 = sub nsw i32 %9, 1 %11 = icmp slt i32 %8, %10 br i1 %11, label %12, label %19 12: ; preds = %7 %13 = call i32 (...) @getchar() store i32 %13, ptr %5, align 4 %14 = load i32, ptr @EOF, align 4 %15 = icmp ne i32 %13, %14 br i1 %15, label %16, label %19 16: ; preds = %12 %17 = load i32, ptr %5, align 4 %18 = icmp ne i32 %17, 10 br label %19 19: ; preds = %16, %12, %7 %20 = phi i1 [ false, %12 ], [ false, %7 ], [ %18, %16 ] br i1 %20, label %21, label %31 21: ; preds = %19 %22 = load i32, ptr %5, align 4 %23 = trunc i32 %22 to i8 %24 = load ptr, ptr %3, align 8 %25 = load i32, ptr %6, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %24, i64 %26 store i8 %23, ptr %27, align 1 br label %28 28: ; preds = %21 %29 = load i32, ptr %6, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %6, align 4 br label %7, !llvm.loop !6 31: ; preds = %19 %32 = load i32, ptr %5, align 4 %33 = icmp eq i32 %32, 10 br i1 %33, label %34, label %43 34: ; preds = %31 %35 = load i32, ptr %5, align 4 %36 = trunc i32 %35 to i8 %37 = load ptr, ptr %3, align 8 %38 = load i32, ptr %6, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i8, ptr %37, i64 %39 store i8 %36, ptr %40, align 1 %41 = load i32, ptr %6, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %6, align 4 br label %43 43: ; preds = %34, %31 %44 = load ptr, ptr %3, align 8 %45 = load i32, ptr %6, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i8, ptr %44, i64 %46 store i8 0, ptr %47, align 1 %48 = load i32, ptr %6, align 4 ret i32 %48 } 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp6gsoy2ym.c' source_filename = "/tmp/tmp6gsoy2ym.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [2 x i8] c" \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 @scanf(ptr noundef @.str, ptr noundef %4) store i32 0, ptr %2, align 4 br label %6 6: ; preds = %89, %0 %7 = load i32, ptr %2, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %10, label %92 10: ; preds = %6 store i32 0, ptr %3, align 4 br label %11 11: ; preds = %84, %10 %12 = load i32, ptr %3, align 4 %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %15, label %87 15: ; preds = %11 %16 = load i32, ptr %2, align 4 %17 = icmp eq i32 %16, 1 br i1 %17, label %18, label %26 18: ; preds = %15 %19 = load i32, ptr %3, align 4 %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %26 21: ; preds = %18 %22 = load i32, ptr %3, align 4 %23 = load i32, ptr %4, align 4 %24 = sub nsw i32 %23, 1 %25 = icmp ne i32 %22, %24 br i1 %25, label %79, label %26 26: ; preds = %21, %18, %15 %27 = load i32, ptr %2, align 4 %28 = load i32, ptr %4, align 4 %29 = sub nsw i32 %28, 2 %30 = icmp eq i32 %27, %29 br i1 %30, label %31, label %39 31: ; preds = %26 %32 = load i32, ptr %3, align 4 %33 = icmp ne i32 %32, 0 br i1 %33, label %34, label %39 34: ; preds = %31 %35 = load i32, ptr %3, align 4 %36 = load i32, ptr %4, align 4 %37 = sub nsw i32 %36, 1 %38 = icmp ne i32 %35, %37 br i1 %38, label %79, label %39 39: ; preds = %34, %31, %26 %40 = load i32, ptr %2, align 4 %41 = icmp ne i32 %40, 1 br i1 %41, label %42, label %58 42: ; preds = %39 %43 = load i32, ptr %2, align 4 %44 = load i32, ptr %4, align 4 %45 = sub nsw i32 %44, 2 %46 = icmp ne i32 %43, %45 br i1 %46, label %47, label %58 47: ; preds = %42 %48 = load i32, ptr %2, align 4 %49 = icmp ne i32 %48, 0 br i1 %49, label %50, label %58 50: ; preds = %47 %51 = load i32, ptr %2, align 4 %52 = load i32, ptr %4, align 4 %53 = sub nsw i32 %52, 1 %54 = icmp ne i32 %51, %53 br i1 %54, label %55, label %58 55: ; preds = %50 %56 = load i32, ptr %3, align 4 %57 = icmp eq i32 %56, 1 br i1 %57, label %79, label %58 58: ; preds = %55, %50, %47, %42, %39 %59 = load i32, ptr %2, align 4 %60 = icmp ne i32 %59, 1 br i1 %60, label %61, label %81 61: ; preds = %58 %62 = load i32, ptr %2, align 4 %63 = load i32, ptr %4, align 4 %64 = sub nsw i32 %63, 2 %65 = icmp ne i32 %62, %64 br i1 %65, label %66, label %81 66: ; preds = %61 %67 = load i32, ptr %2, align 4 %68 = load i32, ptr %4, align 4 %69 = sub nsw i32 %68, 1 %70 = icmp ne i32 %67, %69 br i1 %70, label %71, label %81 71: ; preds = %66 %72 = load i32, ptr %3, align 4 %73 = load i32, ptr %4, align 4 %74 = sub nsw i32 %73, 2 %75 = icmp eq i32 %72, %74 br i1 %75, label %76, label %81 76: ; preds = %71 %77 = load i32, ptr %2, align 4 %78 = icmp ne i32 %77, 0 br i1 %78, label %79, label %81 79: ; preds = %76, %55, %34, %21 %80 = call i32 @printf(ptr noundef @.str.1) br label %83 81: ; preds = %76, %71, %66, %61, %58 %82 = call i32 @printf(ptr noundef @.str.2) br label %83 83: ; preds = %81, %79 br label %84 84: ; preds = %83 %85 = load i32, ptr %3, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %3, align 4 br label %11, !llvm.loop !6 87: ; preds = %11 %88 = call i32 @printf(ptr noundef @.str.3) br label %89 89: ; preds = %87 %90 = load i32, ptr %2, align 4 %91 = add nsw i32 %90, 1 store i32 %91, ptr %2, align 4 br label %6, !llvm.loop !8 92: ; preds = %6 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6gsoy2ym.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [2 x i8] c" \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 @scanf(ptr noundef @.str, ptr noundef %4) store i32 0, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %.lr.ph2, label %96 .lr.ph2: ; preds = %0 br label %9 9: ; preds = %.lr.ph2, %90 store i32 0, ptr %3, align 4 %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %4, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %.lr.ph, label %88 .lr.ph: ; preds = %9 br label %13 13: ; preds = %.lr.ph, %82 %14 = load i32, ptr %2, align 4 %15 = icmp eq i32 %14, 1 br i1 %15, label %16, label %24 16: ; preds = %13 %17 = load i32, ptr %3, align 4 %18 = icmp ne i32 %17, 0 br i1 %18, label %19, label %24 19: ; preds = %16 %20 = load i32, ptr %3, align 4 %21 = load i32, ptr %4, align 4 %22 = sub nsw i32 %21, 1 %23 = icmp ne i32 %20, %22 br i1 %23, label %77, label %24 24: ; preds = %19, %16, %13 %25 = load i32, ptr %2, align 4 %26 = load i32, ptr %4, align 4 %27 = sub nsw i32 %26, 2 %28 = icmp eq i32 %25, %27 br i1 %28, label %29, label %37 29: ; preds = %24 %30 = load i32, ptr %3, align 4 %31 = icmp ne i32 %30, 0 br i1 %31, label %32, label %37 32: ; preds = %29 %33 = load i32, ptr %3, align 4 %34 = load i32, ptr %4, align 4 %35 = sub nsw i32 %34, 1 %36 = icmp ne i32 %33, %35 br i1 %36, label %77, label %37 37: ; preds = %32, %29, %24 %38 = load i32, ptr %2, align 4 %39 = icmp ne i32 %38, 1 br i1 %39, label %40, label %56 40: ; preds = %37 %41 = load i32, ptr %2, align 4 %42 = load i32, ptr %4, align 4 %43 = sub nsw i32 %42, 2 %44 = icmp ne i32 %41, %43 br i1 %44, label %45, label %56 45: ; preds = %40 %46 = load i32, ptr %2, align 4 %47 = icmp ne i32 %46, 0 br i1 %47, label %48, label %56 48: ; preds = %45 %49 = load i32, ptr %2, align 4 %50 = load i32, ptr %4, align 4 %51 = sub nsw i32 %50, 1 %52 = icmp ne i32 %49, %51 br i1 %52, label %53, label %56 53: ; preds = %48 %54 = load i32, ptr %3, align 4 %55 = icmp eq i32 %54, 1 br i1 %55, label %77, label %56 56: ; preds = %53, %48, %45, %40, %37 %57 = load i32, ptr %2, align 4 %58 = icmp ne i32 %57, 1 br i1 %58, label %59, label %79 59: ; preds = %56 %60 = load i32, ptr %2, align 4 %61 = load i32, ptr %4, align 4 %62 = sub nsw i32 %61, 2 %63 = icmp ne i32 %60, %62 br i1 %63, label %64, label %79 64: ; preds = %59 %65 = load i32, ptr %2, align 4 %66 = load i32, ptr %4, align 4 %67 = sub nsw i32 %66, 1 %68 = icmp ne i32 %65, %67 br i1 %68, label %69, label %79 69: ; preds = %64 %70 = load i32, ptr %3, align 4 %71 = load i32, ptr %4, align 4 %72 = sub nsw i32 %71, 2 %73 = icmp eq i32 %70, %72 br i1 %73, label %74, label %79 74: ; preds = %69 %75 = load i32, ptr %2, align 4 %76 = icmp ne i32 %75, 0 br i1 %76, label %77, label %79 77: ; preds = %74, %53, %32, %19 %78 = call i32 @printf(ptr noundef @.str.1) br label %81 79: ; preds = %74, %69, %64, %59, %56 %80 = call i32 @printf(ptr noundef @.str.2) br label %81 81: ; preds = %79, %77 br label %82 82: ; preds = %81 %83 = load i32, ptr %3, align 4 %84 = add nsw i32 %83, 1 store i32 %84, ptr %3, align 4 %85 = load i32, ptr %3, align 4 %86 = load i32, ptr %4, align 4 %87 = icmp slt i32 %85, %86 br i1 %87, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %82 br label %88 88: ; preds = %._crit_edge, %9 %89 = call i32 @printf(ptr noundef @.str.3) br label %90 90: ; preds = %88 %91 = load i32, ptr %2, align 4 %92 = add nsw i32 %91, 1 store i32 %92, ptr %2, align 4 %93 = load i32, ptr %2, align 4 %94 = load i32, ptr %4, align 4 %95 = icmp slt i32 %93, %94 br i1 %95, label %9, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %90 br label %96 96: ; preds = %._crit_edge3, %0 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp9d2t8pjl.c' source_filename = "/tmp/tmp9d2t8pjl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [20 x i8] c"\0Aconcatenated : %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"\0Astring is palindrome\0A\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"\0AString is not palindrome\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [100 x i8], align 16 %3 = alloca [100 x i8], align 16 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 store ptr null, ptr %4, align 8 store i32 0, ptr %8, align 4 %9 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %10 = load i32, ptr @stdin, align 4 %11 = call i32 @fgets(ptr noundef %9, i32 noundef 100, i32 noundef %10) %12 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %13 = call i32 @strlen(ptr noundef %12) store i32 %13, ptr %5, align 4 %14 = load i32, ptr %5, align 4 %15 = add nsw i32 %14, -1 store i32 %15, ptr %5, align 4 %16 = load i32, ptr %5, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %17 store i8 0, ptr %18, align 1 %19 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0 %20 = load i32, ptr @stdin, align 4 %21 = call i32 @fgets(ptr noundef %19, i32 noundef 100, i32 noundef %20) %22 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0 %23 = call i32 @strlen(ptr noundef %22) store i32 %23, ptr %6, align 4 %24 = load i32, ptr %6, align 4 %25 = add nsw i32 %24, -1 store i32 %25, ptr %6, align 4 %26 = load i32, ptr %6, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 %27 store i8 0, ptr %28, align 1 %29 = load i32, ptr %5, align 4 %30 = load i32, ptr %6, align 4 %31 = add nsw i32 %29, %30 store i32 %31, ptr %7, align 4 %32 = load i32, ptr %7, align 4 %33 = call ptr @malloc(i32 noundef %32) store ptr %33, ptr %4, align 8 %34 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %35 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0 %36 = load ptr, ptr %4, align 8 %37 = call i32 @concatenateStr(ptr noundef %34, ptr noundef %35, ptr noundef %36) %38 = load ptr, ptr %4, align 8 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %38) %40 = load ptr, ptr %4, align 8 %41 = call i32 @checkPalindrome(ptr noundef %40) store i32 %41, ptr %8, align 4 %42 = load i32, ptr %8, align 4 %43 = icmp ne i32 %42, 0 br i1 %43, label %44, label %46 44: ; preds = %0 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %48 46: ; preds = %0 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %48 48: ; preds = %46, %44 ret i32 0 } declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @concatenateStr(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @checkPalindrome(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9d2t8pjl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [20 x i8] c"\0Aconcatenated : %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"\0Astring is palindrome\0A\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"\0AString is not palindrome\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [100 x i8], align 16 %3 = alloca [100 x i8], align 16 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 store ptr null, ptr %4, align 8 store i32 0, ptr %8, align 4 %9 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %10 = load i32, ptr @stdin, align 4 %11 = call i32 @fgets(ptr noundef %9, i32 noundef 100, i32 noundef %10) %12 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %13 = call i32 @strlen(ptr noundef %12) store i32 %13, ptr %5, align 4 %14 = load i32, ptr %5, align 4 %15 = add nsw i32 %14, -1 store i32 %15, ptr %5, align 4 %16 = load i32, ptr %5, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %17 store i8 0, ptr %18, align 1 %19 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0 %20 = load i32, ptr @stdin, align 4 %21 = call i32 @fgets(ptr noundef %19, i32 noundef 100, i32 noundef %20) %22 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0 %23 = call i32 @strlen(ptr noundef %22) store i32 %23, ptr %6, align 4 %24 = load i32, ptr %6, align 4 %25 = add nsw i32 %24, -1 store i32 %25, ptr %6, align 4 %26 = load i32, ptr %6, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 %27 store i8 0, ptr %28, align 1 %29 = load i32, ptr %5, align 4 %30 = load i32, ptr %6, align 4 %31 = add nsw i32 %29, %30 store i32 %31, ptr %7, align 4 %32 = load i32, ptr %7, align 4 %33 = call ptr @malloc(i32 noundef %32) store ptr %33, ptr %4, align 8 %34 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %35 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0 %36 = load ptr, ptr %4, align 8 %37 = call i32 @concatenateStr(ptr noundef %34, ptr noundef %35, ptr noundef %36) %38 = load ptr, ptr %4, align 8 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %38) %40 = load ptr, ptr %4, align 8 %41 = call i32 @checkPalindrome(ptr noundef %40) store i32 %41, ptr %8, align 4 %42 = load i32, ptr %8, align 4 %43 = icmp ne i32 %42, 0 br i1 %43, label %44, label %46 44: ; preds = %0 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %48 46: ; preds = %0 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %48 48: ; preds = %46, %44 ret i32 0 } declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @concatenateStr(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @checkPalindrome(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE 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_jru5hbz.c' source_filename = "/tmp/tmp_jru5hbz.c" target datalayout = "e-m:e-p270: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_jru5hbz.c" target datalayout = "e-m:e-p270: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/tmprsimbcl8.c' source_filename = "/tmp/tmprsimbcl8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"hello\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"harro\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"strcpy:\0A\00", align 1 @.str.3 = private unnamed_addr constant [32 x i8] c"\09Before:\0A\09\09p = [%s]\0A\09\09r = [%s]\0A\00", align 1 @.str.4 = private unnamed_addr constant [31 x i8] c"\09After:\0A\09\09p = [%s]\0A\09\09r = [%s]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store ptr @.str, ptr %2, align 8 store ptr @.str.1, ptr %3, align 8 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %5 = load ptr, ptr %2, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %5, ptr noundef %6) %8 = load ptr, ptr %3, align 8 %9 = load ptr, ptr %2, align 8 %10 = call i32 @strcpy(ptr noundef %8, ptr noundef %9) %11 = load ptr, ptr %2, align 8 %12 = load ptr, ptr %3, align 8 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %11, ptr noundef %12) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprsimbcl8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"hello\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"harro\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"strcpy:\0A\00", align 1 @.str.3 = private unnamed_addr constant [32 x i8] c"\09Before:\0A\09\09p = [%s]\0A\09\09r = [%s]\0A\00", align 1 @.str.4 = private unnamed_addr constant [31 x i8] c"\09After:\0A\09\09p = [%s]\0A\09\09r = [%s]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store ptr @.str, ptr %2, align 8 store ptr @.str.1, ptr %3, align 8 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %5 = load ptr, ptr %2, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %5, ptr noundef %6) %8 = load ptr, ptr %3, align 8 %9 = load ptr, ptr %2, align 8 %10 = call i32 @strcpy(ptr noundef %8, ptr noundef %9) %11 = load ptr, ptr %2, align 8 %12 = load ptr, ptr %3, align 8 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %11, ptr noundef %12) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpovalxsit.c' source_filename = "/tmp/tmpovalxsit.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @beaglelogic_munmap(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = load i32, ptr %4, align 4 %8 = call i64 @beaglelogic_get_buffersize(i32 noundef %7, ptr noundef %6) %9 = icmp ne i64 %8, 0 br i1 %9, label %10, label %11 10: ; preds = %2 store i32 -1, ptr %3, align 4 br label %15 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = load i64, ptr %6, align 8 %14 = call i32 @munmap(ptr noundef %12, i64 noundef %13) store i32 %14, ptr %3, align 4 br label %15 15: ; preds = %11, %10 %16 = load i32, ptr %3, align 4 ret i32 %16 } declare i64 @beaglelogic_get_buffersize(i32 noundef, ptr noundef) #1 declare i32 @munmap(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/tmpovalxsit.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @beaglelogic_munmap(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = load i32, ptr %4, align 4 %8 = call i64 @beaglelogic_get_buffersize(i32 noundef %7, ptr noundef %6) %9 = icmp ne i64 %8, 0 br i1 %9, label %10, label %11 10: ; preds = %2 store i32 -1, ptr %3, align 4 br label %15 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = load i64, ptr %6, align 8 %14 = call i32 @munmap(ptr noundef %12, i64 noundef %13) store i32 %14, ptr %3, align 4 br label %15 15: ; preds = %11, %10 %16 = load i32, ptr %3, align 4 ret i32 %16 } declare i64 @beaglelogic_get_buffersize(i32 noundef, ptr noundef) #1 declare i32 @munmap(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/tmp85shpqoi.c' source_filename = "/tmp/tmp85shpqoi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { %struct.TYPE_2__, i32, i32 } %struct.TYPE_2__ = type { i32 } @.str = private unnamed_addr constant [22 x i8] c"Usage: %s portnumber\0A\00", align 1 @AF_INET = dso_local global i32 0, align 4 @INADDR_ANY = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [7 x i8] c"socket\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"bind\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"recvfrom\00", align 1 @.str.4 = private unnamed_addr constant [33 x i8] c"Receive message from client: %s\0A\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"sendto\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 %struct.sockaddr_in, align 4 %7 = alloca [1024 x i8], align 16 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %13 = load i32, ptr %4, align 4 %14 = icmp ne i32 %13, 2 br i1 %14, label %15, label %20 15: ; preds = %2 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 0 %18 = load ptr, ptr %17, align 8 %19 = call i32 @printf(ptr noundef @.str, ptr noundef %18) store i32 -1, ptr %3, align 4 br label %86 20: ; preds = %2 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 1 %23 = load ptr, ptr %22, align 8 %24 = call i32 @atoi(ptr noundef %23) store i32 %24, ptr %8, align 4 %25 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 12) %26 = load i32, ptr @AF_INET, align 4 %27 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2 store i32 %26, ptr %27, align 4 %28 = load i32, ptr %8, align 4 %29 = call i32 @htons(i32 noundef %28) %30 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 1 store i32 %29, ptr %30, align 4 %31 = load i32, ptr @INADDR_ANY, align 4 %32 = call i32 @htonl(i32 noundef %31) %33 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 0 %34 = getelementptr inbounds %struct.TYPE_2__, ptr %33, i32 0, i32 0 store i32 %32, ptr %34, align 4 %35 = load i32, ptr @AF_INET, align 4 %36 = load i32, ptr @SOCK_DGRAM, align 4 %37 = call i32 @socket(i32 noundef %35, i32 noundef %36, i32 noundef 0) store i32 %37, ptr %11, align 4 %38 = icmp slt i32 %37, 0 br i1 %38, label %39, label %41 39: ; preds = %20 %40 = call i32 @perror(ptr noundef @.str.1) br label %83 41: ; preds = %20 %42 = load i32, ptr %11, align 4 %43 = call i64 @bind(i32 noundef %42, ptr noundef %6, i32 noundef 12) %44 = icmp slt i64 %43, 0 br i1 %44, label %45, label %47 45: ; preds = %41 %46 = call i32 @perror(ptr noundef @.str.2) br label %83 47: ; preds = %41 br label %48 48: ; preds = %47, %82 store i32 12, ptr %12, align 4 %49 = load i32, ptr %11, align 4 %50 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %51 = call i32 @recvfrom(i32 noundef %49, ptr noundef %50, i32 noundef 1024, i32 noundef 0, ptr noundef %6, ptr noundef %12) store i32 %51, ptr %10, align 4 %52 = icmp slt i32 %51, 0 br i1 %52, label %53, label %55 53: ; preds = %48 %54 = call i32 @perror(ptr noundef @.str.3) br label %83 55: ; preds = %48 %56 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %57 = call i32 @printf(ptr noundef @.str.4, ptr noundef %56) store i32 0, ptr %9, align 4 br label %58 58: ; preds = %71, %55 %59 = load i32, ptr %9, align 4 %60 = load i32, ptr %10, align 4 %61 = icmp slt i32 %59, %60 br i1 %61, label %62, label %74 62: ; preds = %58 %63 = load i32, ptr %9, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 %64 %66 = load i8, ptr %65, align 1 %67 = call signext i8 @toupper(i8 noundef signext %66) %68 = load i32, ptr %9, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 %69 store i8 %67, ptr %70, align 1 br label %71 71: ; preds = %62 %72 = load i32, ptr %9, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %9, align 4 br label %58, !llvm.loop !6 74: ; preds = %58 %75 = load i32, ptr %11, align 4 %76 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %77 = load i32, ptr %10, align 4 %78 = call i64 @sendto(i32 noundef %75, ptr noundef %76, i32 noundef %77, i32 noundef 0, ptr noundef %6, i32 noundef 12) %79 = icmp slt i64 %78, 0 br i1 %79, label %80, label %82 80: ; preds = %74 %81 = call i32 @perror(ptr noundef @.str.5) br label %83 82: ; preds = %74 br label %48 83: ; preds = %80, %53, %45, %39 %84 = load i32, ptr %11, align 4 %85 = call i32 @close(i32 noundef %84) store i32 -1, ptr %3, align 4 br label %86 86: ; preds = %83, %15 %87 = load i32, ptr %3, align 4 ret i32 %87 } declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @htonl(i32 noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare signext i8 @toupper(i8 noundef signext) #1 declare i64 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp85shpqoi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { %struct.TYPE_2__, i32, i32 } %struct.TYPE_2__ = type { i32 } @.str = private unnamed_addr constant [22 x i8] c"Usage: %s portnumber\0A\00", align 1 @AF_INET = dso_local global i32 0, align 4 @INADDR_ANY = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [7 x i8] c"socket\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"bind\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"recvfrom\00", align 1 @.str.4 = private unnamed_addr constant [33 x i8] c"Receive message from client: %s\0A\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"sendto\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 %struct.sockaddr_in, align 4 %7 = alloca [1024 x i8], align 16 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %13 = load i32, ptr %4, align 4 %14 = icmp ne i32 %13, 2 br i1 %14, label %15, label %20 15: ; preds = %2 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 0 %18 = load ptr, ptr %17, align 8 %19 = call i32 @printf(ptr noundef @.str, ptr noundef %18) store i32 -1, ptr %3, align 4 br label %90 20: ; preds = %2 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 1 %23 = load ptr, ptr %22, align 8 %24 = call i32 @atoi(ptr noundef %23) store i32 %24, ptr %8, align 4 %25 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 12) %26 = load i32, ptr @AF_INET, align 4 %27 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2 store i32 %26, ptr %27, align 4 %28 = load i32, ptr %8, align 4 %29 = call i32 @htons(i32 noundef %28) %30 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 1 store i32 %29, ptr %30, align 4 %31 = load i32, ptr @INADDR_ANY, align 4 %32 = call i32 @htonl(i32 noundef %31) %33 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 0 %34 = getelementptr inbounds %struct.TYPE_2__, ptr %33, i32 0, i32 0 store i32 %32, ptr %34, align 4 %35 = load i32, ptr @AF_INET, align 4 %36 = load i32, ptr @SOCK_DGRAM, align 4 %37 = call i32 @socket(i32 noundef %35, i32 noundef %36, i32 noundef 0) store i32 %37, ptr %11, align 4 %38 = icmp slt i32 %37, 0 br i1 %38, label %39, label %41 39: ; preds = %20 %40 = call i32 @perror(ptr noundef @.str.1) br label %87 41: ; preds = %20 %42 = load i32, ptr %11, align 4 %43 = call i64 @bind(i32 noundef %42, ptr noundef %6, i32 noundef 12) %44 = icmp slt i64 %43, 0 br i1 %44, label %45, label %47 45: ; preds = %41 %46 = call i32 @perror(ptr noundef @.str.2) br label %87 47: ; preds = %41 store i32 12, ptr %12, align 4 %48 = load i32, ptr %11, align 4 %49 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %50 = call i32 @recvfrom(i32 noundef %48, ptr noundef %49, i32 noundef 1024, i32 noundef 0, ptr noundef %6, ptr noundef %12) store i32 %50, ptr %10, align 4 %51 = icmp slt i32 %50, 0 br i1 %51, label %56, label %.lr.ph2 .lr.ph2: ; preds = %47 br label %58 52: ; preds = %79 store i32 12, ptr %12, align 4 %53 = load i32, ptr %11, align 4 %54 = call i32 @recvfrom(i32 noundef %53, ptr noundef %49, i32 noundef 1024, i32 noundef 0, ptr noundef %6, ptr noundef %12) store i32 %54, ptr %10, align 4 %55 = icmp slt i32 %54, 0 br i1 %55, label %._crit_edge3, label %58 ._crit_edge3: ; preds = %52 br label %56 56: ; preds = %._crit_edge3, %47 %57 = call i32 @perror(ptr noundef @.str.3) br label %87 58: ; preds = %.lr.ph2, %52 %59 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %60 = call i32 @printf(ptr noundef @.str.4, ptr noundef %59) store i32 0, ptr %9, align 4 %61 = load i32, ptr %9, align 4 %62 = load i32, ptr %10, align 4 %63 = icmp slt i32 %61, %62 br i1 %63, label %.lr.ph, label %79 .lr.ph: ; preds = %58 br label %64 64: ; preds = %.lr.ph, %73 %65 = load i32, ptr %9, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 %66 %68 = load i8, ptr %67, align 1 %69 = call signext i8 @toupper(i8 noundef signext %68) %70 = load i32, ptr %9, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 %71 store i8 %69, ptr %72, align 1 br label %73 73: ; preds = %64 %74 = load i32, ptr %9, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %9, align 4 %76 = load i32, ptr %9, align 4 %77 = load i32, ptr %10, align 4 %78 = icmp slt i32 %76, %77 br i1 %78, label %64, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %73 br label %79 79: ; preds = %._crit_edge, %58 %80 = load i32, ptr %11, align 4 %81 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0 %82 = load i32, ptr %10, align 4 %83 = call i64 @sendto(i32 noundef %80, ptr noundef %81, i32 noundef %82, i32 noundef 0, ptr noundef %6, i32 noundef 12) %84 = icmp slt i64 %83, 0 br i1 %84, label %85, label %52 85: ; preds = %79 %86 = call i32 @perror(ptr noundef @.str.5) br label %87 87: ; preds = %85, %56, %45, %39 %88 = load i32, ptr %11, align 4 %89 = call i32 @close(i32 noundef %88) store i32 -1, ptr %3, align 4 br label %90 90: ; preds = %87, %15 %91 = load i32, ptr %3, align 4 ret i32 %91 } declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @htonl(i32 noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare signext i8 @toupper(i8 noundef signext) #1 declare i64 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmphscjzru4.c' source_filename = "/tmp/tmphscjzru4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @concataddr(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call ptr @formataddr(ptr noundef %5, ptr noundef %6) ret ptr %7 } declare ptr @formataddr(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/tmphscjzru4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @concataddr(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call ptr @formataddr(ptr noundef %5, ptr noundef %6) ret ptr %7 } declare ptr @formataddr(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/tmpy5rgiq4c.c' source_filename = "/tmp/tmpy5rgiq4c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"0x%s\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%x\00", align 1 @LOG_WARNING = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [29 x i8] c"Ung\C3\BCltige Hex Zeichen in %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @hex2chr(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [16 x i8], align 16 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 -1, ptr %4, align 4 %5 = getelementptr inbounds [16 x i8], ptr %3, i64 0, i64 0 %6 = load ptr, ptr %2, align 8 %7 = call i32 @snprintf(ptr noundef %5, i32 noundef 16, ptr noundef @.str, ptr noundef %6) %8 = load ptr, ptr %2, align 8 %9 = call i32 @sscanf(ptr noundef %8, ptr noundef @.str.1, ptr noundef %4) %10 = icmp ne i32 %9, 1 br i1 %10, label %11, label %15 11: ; preds = %1 %12 = load i32, ptr @LOG_WARNING, align 4 %13 = load ptr, ptr %2, align 8 %14 = call i32 @logIT(i32 noundef %12, ptr noundef @.str.2, ptr noundef %13) br label %15 15: ; preds = %11, %1 %16 = load i32, ptr %4, align 4 %17 = trunc i32 %16 to i8 ret i8 %17 } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @logIT(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy5rgiq4c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"0x%s\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%x\00", align 1 @LOG_WARNING = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [29 x i8] c"Ung\C3\BCltige Hex Zeichen in %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @hex2chr(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [16 x i8], align 16 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 -1, ptr %4, align 4 %5 = getelementptr inbounds [16 x i8], ptr %3, i64 0, i64 0 %6 = load ptr, ptr %2, align 8 %7 = call i32 @snprintf(ptr noundef %5, i32 noundef 16, ptr noundef @.str, ptr noundef %6) %8 = load ptr, ptr %2, align 8 %9 = call i32 @sscanf(ptr noundef %8, ptr noundef @.str.1, ptr noundef %4) %10 = icmp ne i32 %9, 1 br i1 %10, label %11, label %15 11: ; preds = %1 %12 = load i32, ptr @LOG_WARNING, align 4 %13 = load ptr, ptr %2, align 8 %14 = call i32 @logIT(i32 noundef %12, ptr noundef @.str.2, ptr noundef %13) br label %15 15: ; preds = %11, %1 %16 = load i32, ptr %4, align 4 %17 = trunc i32 %16 to i8 ret i8 %17 } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @logIT(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_rs080zh.c' source_filename = "/tmp/tmp_rs080zh.c" target datalayout = "e-m:e-p270: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_rs080zh.c" target datalayout = "e-m:e-p270: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/tmp35xyn7io.c' source_filename = "/tmp/tmp35xyn7io.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_trim_spaces(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i64 0, ptr %4, align 8 store i32 0, ptr %5, align 4 %7 = load ptr, ptr %3, align 8 %8 = icmp ne ptr %7, null %9 = zext i1 %8 to i32 %10 = call i32 @assert(i32 noundef %9) %11 = load ptr, ptr %3, align 8 %12 = call i64 @strlen(ptr noundef %11) store i64 %12, ptr %4, align 8 %13 = load i64, ptr %4, align 8 %14 = icmp ne i64 %13, 0 br i1 %14, label %16, label %15 15: ; preds = %1 store ptr null, ptr %2, align 8 br label %49 16: ; preds = %1 br label %17 17: ; preds = %22, %16 %18 = load ptr, ptr %3, align 8 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp eq i32 %20, 32 br i1 %21, label %22, label %27 22: ; preds = %17 %23 = load ptr, ptr %3, align 8 %24 = getelementptr inbounds i8, ptr %23, i32 1 store ptr %24, ptr %3, align 8 %25 = load i32, ptr %5, align 4 %26 = add i32 %25, 1 store i32 %26, ptr %5, align 4 br label %17, !llvm.loop !6 27: ; preds = %17 %28 = load i32, ptr %5, align 4 %29 = zext i32 %28 to i64 %30 = load i64, ptr %4, align 8 %31 = icmp uge i64 %29, %30 br i1 %31, label %32, label %33 32: ; preds = %27 store ptr null, ptr %2, align 8 br label %49 33: ; preds = %27 %34 = load ptr, ptr %3, align 8 %35 = load i64, ptr %4, align 8 %36 = getelementptr inbounds i8, ptr %34, i64 %35 %37 = getelementptr inbounds i8, ptr %36, i64 -1 store ptr %37, ptr %6, align 8 br label %38 38: ; preds = %43, %33 %39 = load ptr, ptr %6, align 8 %40 = load i8, ptr %39, align 1 %41 = sext i8 %40 to i32 %42 = icmp eq i32 %41, 32 br i1 %42, label %43, label %47 43: ; preds = %38 %44 = load ptr, ptr %6, align 8 store i8 0, ptr %44, align 1 %45 = load ptr, ptr %6, align 8 %46 = getelementptr inbounds i8, ptr %45, i32 -1 store ptr %46, ptr %6, align 8 br label %38, !llvm.loop !8 47: ; preds = %38 %48 = load ptr, ptr %3, align 8 store ptr %48, ptr %2, align 8 br label %49 49: ; preds = %47, %32, %15 %50 = load ptr, ptr %2, align 8 ret ptr %50 } declare i32 @assert(i32 noundef) #1 declare i64 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp35xyn7io.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_trim_spaces(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i64 0, ptr %4, align 8 store i32 0, ptr %5, align 4 %7 = load ptr, ptr %3, align 8 %8 = icmp ne ptr %7, null %9 = zext i1 %8 to i32 %10 = call i32 @assert(i32 noundef %9) %11 = load ptr, ptr %3, align 8 %12 = call i64 @strlen(ptr noundef %11) store i64 %12, ptr %4, align 8 %13 = load i64, ptr %4, align 8 %14 = icmp ne i64 %13, 0 br i1 %14, label %16, label %15 15: ; preds = %1 store ptr null, ptr %2, align 8 br label %55 16: ; preds = %1 %17 = load ptr, ptr %3, align 8 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp eq i32 %19, 32 br i1 %20, label %.lr.ph, label %30 .lr.ph: ; preds = %16 br label %21 21: ; preds = %.lr.ph, %21 %22 = load ptr, ptr %3, align 8 %23 = getelementptr inbounds i8, ptr %22, i32 1 store ptr %23, ptr %3, align 8 %24 = load i32, ptr %5, align 4 %25 = add i32 %24, 1 store i32 %25, ptr %5, align 4 %26 = load ptr, ptr %3, align 8 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = icmp eq i32 %28, 32 br i1 %29, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %30 30: ; preds = %._crit_edge, %16 %31 = load i32, ptr %5, align 4 %32 = zext i32 %31 to i64 %33 = load i64, ptr %4, align 8 %34 = icmp uge i64 %32, %33 br i1 %34, label %35, label %36 35: ; preds = %30 store ptr null, ptr %2, align 8 br label %55 36: ; preds = %30 %37 = load ptr, ptr %3, align 8 %38 = load i64, ptr %4, align 8 %39 = getelementptr inbounds i8, ptr %37, i64 %38 %40 = getelementptr inbounds i8, ptr %39, i64 -1 store ptr %40, ptr %6, align 8 %41 = load ptr, ptr %6, align 8 %42 = load i8, ptr %41, align 1 %43 = sext i8 %42 to i32 %44 = icmp eq i32 %43, 32 br i1 %44, label %.lr.ph2, label %53 .lr.ph2: ; preds = %36 br label %45 45: ; preds = %.lr.ph2, %45 %46 = load ptr, ptr %6, align 8 store i8 0, ptr %46, align 1 %47 = load ptr, ptr %6, align 8 %48 = getelementptr inbounds i8, ptr %47, i32 -1 store ptr %48, ptr %6, align 8 %49 = load ptr, ptr %6, align 8 %50 = load i8, ptr %49, align 1 %51 = sext i8 %50 to i32 %52 = icmp eq i32 %51, 32 br i1 %52, label %45, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %45 br label %53 53: ; preds = %._crit_edge3, %36 %54 = load ptr, ptr %3, align 8 store ptr %54, ptr %2, align 8 br label %55 55: ; preds = %53, %35, %15 %56 = load ptr, ptr %2, align 8 ret ptr %56 } declare i32 @assert(i32 noundef) #1 declare i64 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpeyptdnj6.c' source_filename = "/tmp/tmpeyptdnj6.c" target datalayout = "e-m:e-p270: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/tmpeyptdnj6.c" target datalayout = "e-m:e-p270: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/tmp4r7fecch.c' source_filename = "/tmp/tmp4r7fecch.c" target datalayout = "e-m:e-p270: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/tmp4r7fecch.c" target datalayout = "e-m:e-p270: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/tmpg_4mty5d.c' source_filename = "/tmp/tmpg_4mty5d.c" target datalayout = "e-m:e-p270: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/tmpg_4mty5d.c" target datalayout = "e-m:e-p270: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/tmpivug0sip.c' source_filename = "/tmp/tmpivug0sip.c" target datalayout = "e-m:e-p270: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 { i32, i64 } @.str = private unnamed_addr constant [2 x i8] c".\00", align 1 @.str.1 = private unnamed_addr constant [43 x i8] c"please specify one directory name to open\0A\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"opening directory failed\00", align 1 @errno = dso_local global i64 0, align 8 @.str.3 = private unnamed_addr constant [14 x i8] c"readdir error\00", align 1 @.str.4 = private unnamed_addr constant [23 x i8] c"inode: %lld, name: %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 ptr, align 8 %7 = alloca ptr, align 8 %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 store ptr @.str, ptr %6, align 8 %9 = load i32, ptr %4, align 4 %10 = icmp eq i32 %9, 2 br i1 %10, label %11, label %15 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 1 %14 = load ptr, ptr %13, align 8 store ptr %14, ptr %6, align 8 br label %15 15: ; preds = %11, %2 %16 = load i32, ptr %4, align 4 %17 = icmp sgt i32 %16, 2 br i1 %17, label %18, label %21 18: ; preds = %15 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %20 = call i32 @exit(i32 noundef 1) #3 unreachable 21: ; preds = %15 %22 = load ptr, ptr %6, align 8 %23 = call ptr @opendir(ptr noundef %22) store ptr %23, ptr %7, align 8 %24 = load ptr, ptr %7, align 8 %25 = icmp eq ptr %24, null br i1 %25, label %26, label %29 26: ; preds = %21 %27 = call i32 @perror(ptr noundef @.str.2) %28 = call i32 @exit(i32 noundef 2) #3 unreachable 29: ; preds = %21 br label %30 30: ; preds = %29, %42 store i64 0, ptr @errno, align 8 %31 = load ptr, ptr %7, align 8 %32 = call ptr @readdir(ptr noundef %31) store ptr %32, ptr %8, align 8 %33 = load ptr, ptr %8, align 8 %34 = icmp eq ptr %33, null br i1 %34, label %35, label %42 35: ; preds = %30 %36 = load i64, ptr @errno, align 8 %37 = icmp ne i64 %36, 0 br i1 %37, label %38, label %41 38: ; preds = %35 %39 = call i32 @perror(ptr noundef @.str.3) %40 = call i32 @exit(i32 noundef 3) #3 unreachable 41: ; preds = %35 br label %50 42: ; preds = %30 %43 = load ptr, ptr %8, align 8 %44 = getelementptr inbounds %struct.dirent, ptr %43, i32 0, i32 1 %45 = load i64, ptr %44, align 8 %46 = load ptr, ptr %8, align 8 %47 = getelementptr inbounds %struct.dirent, ptr %46, i32 0, i32 0 %48 = load i32, ptr %47, align 8 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i64 noundef %45, i32 noundef %48) br label %30 50: ; preds = %41 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @opendir(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare ptr @readdir(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpivug0sip.c" target datalayout = "e-m:e-p270: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 { i32, i64 } @.str = private unnamed_addr constant [2 x i8] c".\00", align 1 @.str.1 = private unnamed_addr constant [43 x i8] c"please specify one directory name to open\0A\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"opening directory failed\00", align 1 @errno = dso_local global i64 0, align 8 @.str.3 = private unnamed_addr constant [14 x i8] c"readdir error\00", align 1 @.str.4 = private unnamed_addr constant [23 x i8] c"inode: %lld, name: %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 ptr, align 8 %7 = alloca ptr, align 8 %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 store ptr @.str, ptr %6, align 8 %9 = load i32, ptr %4, align 4 %10 = icmp eq i32 %9, 2 br i1 %10, label %11, label %15 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 1 %14 = load ptr, ptr %13, align 8 store ptr %14, ptr %6, align 8 br label %15 15: ; preds = %11, %2 %16 = load i32, ptr %4, align 4 %17 = icmp sgt i32 %16, 2 br i1 %17, label %18, label %21 18: ; preds = %15 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %20 = call i32 @exit(i32 noundef 1) #3 unreachable 21: ; preds = %15 %22 = load ptr, ptr %6, align 8 %23 = call ptr @opendir(ptr noundef %22) store ptr %23, ptr %7, align 8 %24 = load ptr, ptr %7, align 8 %25 = icmp eq ptr %24, null br i1 %25, label %26, label %29 26: ; preds = %21 %27 = call i32 @perror(ptr noundef @.str.2) %28 = call i32 @exit(i32 noundef 2) #3 unreachable 29: ; preds = %21 store i64 0, ptr @errno, align 8 %30 = load ptr, ptr %7, align 8 %31 = call ptr @readdir(ptr noundef %30) store ptr %31, ptr %8, align 8 %32 = load ptr, ptr %8, align 8 %33 = icmp eq ptr %32, null br i1 %33, label %34, label %.lr.ph .lr.ph: ; preds = %29 br label %41 ._crit_edge: ; preds = %41 br label %34 34: ; preds = %._crit_edge, %29 %35 = load i64, ptr @errno, align 8 %36 = icmp ne i64 %35, 0 br i1 %36, label %37, label %40 37: ; preds = %34 %38 = call i32 @perror(ptr noundef @.str.3) %39 = call i32 @exit(i32 noundef 3) #3 unreachable 40: ; preds = %34 br label %53 41: ; preds = %.lr.ph, %41 %42 = load ptr, ptr %8, align 8 %43 = getelementptr inbounds %struct.dirent, ptr %42, i32 0, i32 1 %44 = load i64, ptr %43, align 8 %45 = load ptr, ptr %8, align 8 %46 = getelementptr inbounds %struct.dirent, ptr %45, i32 0, i32 0 %47 = load i32, ptr %46, align 8 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i64 noundef %44, i32 noundef %47) store i64 0, ptr @errno, align 8 %49 = load ptr, ptr %7, align 8 %50 = call ptr @readdir(ptr noundef %49) store ptr %50, ptr %8, align 8 %51 = load ptr, ptr %8, align 8 %52 = icmp eq ptr %51, null br i1 %52, label %._crit_edge, label %41 53: ; preds = %40 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @opendir(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare ptr @readdir(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmp11uvqdk_.c' source_filename = "/tmp/tmp11uvqdk_.c" target datalayout = "e-m:e-p270: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/tmp11uvqdk_.c" target datalayout = "e-m:e-p270: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/tmprlzbea95.c' source_filename = "/tmp/tmprlzbea95.c" target datalayout = "e-m:e-p270: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/tmprlzbea95.c" target datalayout = "e-m:e-p270: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/tmpycdclxp3.c' source_filename = "/tmp/tmpycdclxp3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @send(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 = %20, %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 = sext i8 %9 to i32 %11 = icmp ne i32 %10, 10 br i1 %11, label %12, label %23 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 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %18) br label %20 20: ; preds = %12 %21 = load i32, ptr %3, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %3, align 4 br label %4, !llvm.loop !6 23: ; preds = %4 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpycdclxp3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @send(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %4 = load ptr, ptr %2, align 8 %5 = load i32, ptr %3, align 4 %6 = sext i32 %5 to i64 %7 = getelementptr inbounds i8, ptr %4, i64 %6 %8 = load i8, ptr %7, align 1 %9 = sext i8 %8 to i32 %10 = icmp ne i32 %9, 10 br i1 %10, label %.lr.ph, label %29 .lr.ph: ; preds = %1 br label %11 11: ; preds = %.lr.ph, %19 %12 = load ptr, ptr %2, align 8 %13 = load i32, ptr %3, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i8, ptr %12, i64 %14 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %17) br label %19 19: ; preds = %11 %20 = load i32, ptr %3, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %3, align 4 %22 = load ptr, ptr %2, align 8 %23 = load i32, ptr %3, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i8, ptr %22, i64 %24 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp ne i32 %27, 10 br i1 %28, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %29 29: ; preds = %._crit_edge, %1 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp36zp40u0.c' source_filename = "/tmp/tmp36zp40u0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i32, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @utime_now() #0 { %1 = alloca %struct.timeval, align 8 %2 = call i32 @gettimeofday(ptr noundef %1, ptr noundef null) %3 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1 %4 = load i64, ptr %3, align 8 %5 = trunc i64 %4 to i32 %6 = mul nsw i32 %5, 1000000 %7 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0 %8 = load i32, ptr %7, align 8 %9 = add nsw i32 %6, %8 ret i32 %9 } declare i32 @gettimeofday(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/tmp36zp40u0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i32, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @utime_now() #0 { %1 = alloca %struct.timeval, align 8 %2 = call i32 @gettimeofday(ptr noundef %1, ptr noundef null) %3 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1 %4 = load i64, ptr %3, align 8 %5 = trunc i64 %4 to i32 %6 = mul nsw i32 %5, 1000000 %7 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0 %8 = load i32, ptr %7, align 8 %9 = add nsw i32 %6, %8 ret i32 %9 } declare i32 @gettimeofday(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/tmpaoz6b_5z.c' source_filename = "/tmp/tmpaoz6b_5z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A\0A\0A\0A\0A \0A\0A\0A\0A\0A \0A\0A\0A\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [35 x i8] c" * Game's Name: Pebble Dropping\0A\00", align 1 @.str.2 = private unnamed_addr constant [55 x i8] c" * Developer: Minhas Kamal (BSSE-0509, IIT-5th, DU)\0A\00", align 1 @.str.3 = private unnamed_addr constant [26 x i8] c" * Date: 24.April.2013\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @developer() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 @printf(ptr noundef @.str.1) %5 = call i32 @printf(ptr noundef @.str.2) %6 = call i32 @printf(ptr noundef @.str.3) store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %7 = call i32 (...) @clock() store i32 %7, ptr %1, align 4 br label %8 8: ; preds = %13, %0 %9 = load i32, ptr %2, align 4 %10 = load i32, ptr %1, align 4 %11 = sub nsw i32 %9, %10 %12 = icmp slt i32 %11, 1800 br i1 %12, label %13, label %15 13: ; preds = %8 %14 = call i32 (...) @clock() store i32 %14, ptr %2, align 4 br label %8, !llvm.loop !6 15: ; preds = %8 ret void } declare i32 @printf(ptr noundef) #1 declare i32 @clock(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpaoz6b_5z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A\0A\0A\0A\0A \0A\0A\0A\0A\0A \0A\0A\0A\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [35 x i8] c" * Game's Name: Pebble Dropping\0A\00", align 1 @.str.2 = private unnamed_addr constant [55 x i8] c" * Developer: Minhas Kamal (BSSE-0509, IIT-5th, DU)\0A\00", align 1 @.str.3 = private unnamed_addr constant [26 x i8] c" * Date: 24.April.2013\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @developer() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 @printf(ptr noundef @.str.1) %5 = call i32 @printf(ptr noundef @.str.2) %6 = call i32 @printf(ptr noundef @.str.3) store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %7 = call i32 (...) @clock() store i32 %7, ptr %1, align 4 %8 = load i32, ptr %2, align 4 %9 = load i32, ptr %1, align 4 %10 = sub nsw i32 %8, %9 %11 = icmp slt i32 %10, 1800 br i1 %11, label %.lr.ph, label %18 .lr.ph: ; preds = %0 br label %12 12: ; preds = %.lr.ph, %12 %13 = call i32 (...) @clock() store i32 %13, ptr %2, align 4 %14 = load i32, ptr %2, align 4 %15 = load i32, ptr %1, align 4 %16 = sub nsw i32 %14, %15 %17 = icmp slt i32 %16, 1800 br i1 %17, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %18 18: ; preds = %._crit_edge, %0 ret void } declare i32 @printf(ptr noundef) #1 declare i32 @clock(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp03bskdgs.c' source_filename = "/tmp/tmp03bskdgs.c" target datalayout = "e-m:e-p270: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 [6 x i8] c"%s/%s\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"/sys/class/dvb\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"frontend\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_frontend_entry(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca [64 x i8], align 16 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = call ptr @readdir(ptr noundef %8) store ptr %9, ptr %6, align 8 %10 = load ptr, ptr %6, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %26 12: ; preds = %2 %13 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0 %14 = load ptr, ptr %6, align 8 %15 = getelementptr inbounds %struct.dirent, ptr %14, i32 0, i32 0 %16 = load ptr, ptr %15, align 8 %17 = call i32 @sprintf(ptr noundef %13, ptr noundef @.str, ptr noundef @.str.1, ptr noundef %16) %18 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0 %19 = call i64 @strstr(ptr noundef %18, ptr noundef @.str.2) %20 = icmp ne i64 %19, 0 br i1 %20, label %21, label %25 21: ; preds = %12 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0 %24 = call i32 @strcpy(ptr noundef %22, ptr noundef %23) store i32 0, ptr %3, align 4 br label %27 25: ; preds = %12 store i32 -2, ptr %3, align 4 br label %27 26: ; preds = %2 store i32 -1, ptr %3, align 4 br label %27 27: ; preds = %26, %25, %21 %28 = load i32, ptr %3, align 4 ret i32 %28 } declare ptr @readdir(ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @strstr(ptr noundef, ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp03bskdgs.c" target datalayout = "e-m:e-p270: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 [6 x i8] c"%s/%s\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"/sys/class/dvb\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"frontend\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_frontend_entry(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca [64 x i8], align 16 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = call ptr @readdir(ptr noundef %8) store ptr %9, ptr %6, align 8 %10 = load ptr, ptr %6, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %26 12: ; preds = %2 %13 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0 %14 = load ptr, ptr %6, align 8 %15 = getelementptr inbounds %struct.dirent, ptr %14, i32 0, i32 0 %16 = load ptr, ptr %15, align 8 %17 = call i32 @sprintf(ptr noundef %13, ptr noundef @.str, ptr noundef @.str.1, ptr noundef %16) %18 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0 %19 = call i64 @strstr(ptr noundef %18, ptr noundef @.str.2) %20 = icmp ne i64 %19, 0 br i1 %20, label %21, label %25 21: ; preds = %12 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0 %24 = call i32 @strcpy(ptr noundef %22, ptr noundef %23) store i32 0, ptr %3, align 4 br label %27 25: ; preds = %12 store i32 -2, ptr %3, align 4 br label %27 26: ; preds = %2 store i32 -1, ptr %3, align 4 br label %27 27: ; preds = %26, %25, %21 %28 = load i32, ptr %3, align 4 ret i32 %28 } declare ptr @readdir(ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @strstr(ptr noundef, ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprowbvhdy.c' source_filename = "/tmp/tmprowbvhdy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @buffer_read_remain_len(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 @_read_remain(ptr noundef %3) ret i32 %4 } declare i32 @_read_remain(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprowbvhdy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @buffer_read_remain_len(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 @_read_remain(ptr noundef %3) ret i32 %4 } declare i32 @_read_remain(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4one1ap1.c' source_filename = "/tmp/tmp4one1ap1.c" target datalayout = "e-m:e-p270: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/tmp4one1ap1.c" target datalayout = "e-m:e-p270: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/tmpf1sbs393.c' source_filename = "/tmp/tmpf1sbs393.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @get_line.buffer = internal global [1048576 x i8] zeroinitializer, align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_line(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr null, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = call ptr @fgets(ptr noundef @get_line.buffer, i32 noundef 1048576, ptr noundef %7) %9 = icmp ne ptr %8, null br i1 %9, label %11, label %10 10: ; preds = %1 store ptr null, ptr %2, align 8 br label %66 11: ; preds = %1 %12 = call i32 @strrchr(ptr noundef @get_line.buffer, i8 noundef signext 10) %13 = icmp ne i32 %12, 0 br i1 %13, label %64, label %14 14: ; preds = %11 %15 = call i32 @strlen(ptr noundef @get_line.buffer) %16 = icmp eq i32 %15, 1048575 br i1 %16, label %17, label %64 17: ; preds = %14 store i32 1048576, ptr %5, align 4 br label %18 18: ; preds = %57, %17 %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr %5, align 4 %21 = mul nsw i32 2, %20 %22 = sext i32 %21 to i64 %23 = mul i64 %22, 1 %24 = trunc i64 %23 to i32 %25 = call ptr @realloc(ptr noundef %19, i32 noundef %24) store ptr %25, ptr %6, align 8 %26 = load ptr, ptr %6, align 8 %27 = icmp ne ptr %26, null br i1 %27, label %31, label %28 28: ; preds = %18 %29 = load ptr, ptr %4, align 8 %30 = call i32 @free(ptr noundef %29) store ptr null, ptr %4, align 8 store ptr null, ptr %2, align 8 br label %66 31: ; preds = %18 %32 = load ptr, ptr %4, align 8 %33 = icmp ne ptr %32, null br i1 %33, label %38, label %34 34: ; preds = %31 %35 = load ptr, ptr %6, align 8 %36 = call i32 @strlen(ptr noundef @get_line.buffer) %37 = call i32 @strncpy(ptr noundef %35, ptr noundef @get_line.buffer, i32 noundef %36) br label %38 38: ; preds = %34, %31 %39 = load ptr, ptr %6, align 8 store ptr %39, ptr %4, align 8 br label %40 40: ; preds = %38 %41 = load ptr, ptr %4, align 8 %42 = load i32, ptr %5, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i8, ptr %41, i64 %43 %45 = getelementptr inbounds i8, ptr %44, i64 -1 %46 = load i32, ptr %5, align 4 %47 = add nsw i32 %46, 1 %48 = load ptr, ptr %3, align 8 %49 = call ptr @fgets(ptr noundef %45, i32 noundef %47, ptr noundef %48) store ptr %49, ptr %6, align 8 %50 = load ptr, ptr %6, align 8 %51 = icmp ne ptr %50, null br i1 %51, label %54, label %52 52: ; preds = %40 %53 = load ptr, ptr %4, align 8 store ptr %53, ptr %2, align 8 br label %66 54: ; preds = %40 %55 = load i32, ptr %5, align 4 %56 = mul nsw i32 %55, 2 store i32 %56, ptr %5, align 4 br label %57 57: ; preds = %54 %58 = load ptr, ptr %4, align 8 %59 = call i32 @strrchr(ptr noundef %58, i8 noundef signext 10) %60 = icmp ne i32 %59, 0 %61 = xor i1 %60, true br i1 %61, label %18, label %62, !llvm.loop !6 62: ; preds = %57 %63 = load ptr, ptr %4, align 8 store ptr %63, ptr %2, align 8 br label %66 64: ; preds = %14, %11 %65 = call ptr @xxstrdup(ptr noundef @get_line.buffer) store ptr %65, ptr %2, align 8 br label %66 66: ; preds = %64, %62, %52, %28, %10 %67 = load ptr, ptr %2, align 8 ret ptr %67 } declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @strrchr(ptr noundef, i8 noundef signext) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @realloc(ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @xxstrdup(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpf1sbs393.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @get_line.buffer = internal global [1048576 x i8] zeroinitializer, align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_line(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr null, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = call ptr @fgets(ptr noundef @get_line.buffer, i32 noundef 1048576, ptr noundef %7) %9 = icmp ne ptr %8, null br i1 %9, label %11, label %10 10: ; preds = %1 store ptr null, ptr %2, align 8 br label %66 11: ; preds = %1 %12 = call i32 @strrchr(ptr noundef @get_line.buffer, i8 noundef signext 10) %13 = icmp ne i32 %12, 0 br i1 %13, label %64, label %14 14: ; preds = %11 %15 = call i32 @strlen(ptr noundef @get_line.buffer) %16 = icmp eq i32 %15, 1048575 br i1 %16, label %17, label %64 17: ; preds = %14 store i32 1048576, ptr %5, align 4 br label %18 18: ; preds = %57, %17 %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr %5, align 4 %21 = mul nsw i32 2, %20 %22 = sext i32 %21 to i64 %23 = mul i64 %22, 1 %24 = trunc i64 %23 to i32 %25 = call ptr @realloc(ptr noundef %19, i32 noundef %24) store ptr %25, ptr %6, align 8 %26 = load ptr, ptr %6, align 8 %27 = icmp ne ptr %26, null br i1 %27, label %31, label %28 28: ; preds = %18 %29 = load ptr, ptr %4, align 8 %30 = call i32 @free(ptr noundef %29) store ptr null, ptr %4, align 8 store ptr null, ptr %2, align 8 br label %66 31: ; preds = %18 %32 = load ptr, ptr %4, align 8 %33 = icmp ne ptr %32, null br i1 %33, label %38, label %34 34: ; preds = %31 %35 = load ptr, ptr %6, align 8 %36 = call i32 @strlen(ptr noundef @get_line.buffer) %37 = call i32 @strncpy(ptr noundef %35, ptr noundef @get_line.buffer, i32 noundef %36) br label %38 38: ; preds = %34, %31 %39 = load ptr, ptr %6, align 8 store ptr %39, ptr %4, align 8 br label %40 40: ; preds = %38 %41 = load ptr, ptr %4, align 8 %42 = load i32, ptr %5, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i8, ptr %41, i64 %43 %45 = getelementptr inbounds i8, ptr %44, i64 -1 %46 = load i32, ptr %5, align 4 %47 = add nsw i32 %46, 1 %48 = load ptr, ptr %3, align 8 %49 = call ptr @fgets(ptr noundef %45, i32 noundef %47, ptr noundef %48) store ptr %49, ptr %6, align 8 %50 = load ptr, ptr %6, align 8 %51 = icmp ne ptr %50, null br i1 %51, label %54, label %52 52: ; preds = %40 %53 = load ptr, ptr %4, align 8 store ptr %53, ptr %2, align 8 br label %66 54: ; preds = %40 %55 = load i32, ptr %5, align 4 %56 = mul nsw i32 %55, 2 store i32 %56, ptr %5, align 4 br label %57 57: ; preds = %54 %58 = load ptr, ptr %4, align 8 %59 = call i32 @strrchr(ptr noundef %58, i8 noundef signext 10) %60 = icmp ne i32 %59, 0 %61 = xor i1 %60, true br i1 %61, label %18, label %62, !llvm.loop !6 62: ; preds = %57 %63 = load ptr, ptr %4, align 8 store ptr %63, ptr %2, align 8 br label %66 64: ; preds = %14, %11 %65 = call ptr @xxstrdup(ptr noundef @get_line.buffer) store ptr %65, ptr %2, align 8 br label %66 66: ; preds = %64, %62, %52, %28, %10 %67 = load ptr, ptr %2, align 8 ret ptr %67 } declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @strrchr(ptr noundef, i8 noundef signext) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @realloc(ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @xxstrdup(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpialjcy8_.c' source_filename = "/tmp/tmpialjcy8_.c" target datalayout = "e-m:e-p270: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/tmpialjcy8_.c" target datalayout = "e-m:e-p270: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/tmp16mmplkg.c' source_filename = "/tmp/tmp16mmplkg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @longestValidParentheses2(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 %9 = call i32 @strlen(ptr noundef %8) store i32 %9, ptr %4, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %10, 2 br i1 %11, label %12, label %13 12: ; preds = %1 store i32 0, ptr %2, align 4 br label %141 13: ; preds = %1 store i32 0, ptr %5, align 4 %14 = load i32, ptr %4, align 4 %15 = sext i32 %14 to i64 %16 = mul i64 4, %15 %17 = trunc i64 %16 to i32 %18 = call i64 @malloc(i32 noundef %17) %19 = inttoptr i64 %18 to ptr store ptr %19, ptr %6, align 8 %20 = load ptr, ptr %6, align 8 %21 = load i32, ptr %4, align 4 %22 = sext i32 %21 to i64 %23 = mul i64 4, %22 %24 = trunc i64 %23 to i32 %25 = call i32 @memset(ptr noundef %20, i32 noundef 0, i32 noundef %24) store i32 1, ptr %7, align 4 br label %26 26: ; preds = %136, %13 %27 = load i32, ptr %7, align 4 %28 = load i32, ptr %4, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %30, label %139 30: ; preds = %26 %31 = load ptr, ptr %3, align 8 %32 = load i32, ptr %7, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i8, ptr %31, i64 %33 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = icmp eq i32 %36, 41 br i1 %37, label %38, label %135 38: ; preds = %30 %39 = load ptr, ptr %3, align 8 %40 = load i32, ptr %7, align 4 %41 = sub nsw i32 %40, 1 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i8, ptr %39, i64 %42 %44 = load i8, ptr %43, align 1 %45 = sext i8 %44 to i32 %46 = icmp eq i32 %45, 40 br i1 %46, label %47, label %67 47: ; preds = %38 %48 = load ptr, ptr %6, align 8 %49 = load i32, ptr %7, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i32, ptr %48, i64 %50 store i32 2, ptr %51, align 4 %52 = load i32, ptr %7, align 4 %53 = icmp sgt i32 %52, 1 br i1 %53, label %54, label %66 54: ; preds = %47 %55 = load ptr, ptr %6, align 8 %56 = load i32, ptr %7, align 4 %57 = sub nsw i32 %56, 2 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds i32, ptr %55, i64 %58 %60 = load i32, ptr %59, align 4 %61 = add nsw i32 2, %60 %62 = load ptr, ptr %6, align 8 %63 = load i32, ptr %7, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds i32, ptr %62, i64 %64 store i32 %61, ptr %65, align 4 br label %66 66: ; preds = %54, %47 br label %120 67: ; preds = %38 %68 = load i32, ptr %7, align 4 %69 = load ptr, ptr %6, align 8 %70 = load i32, ptr %7, align 4 %71 = sub nsw i32 %70, 1 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds i32, ptr %69, i64 %72 %74 = load i32, ptr %73, align 4 %75 = sub nsw i32 %68, %74 %76 = icmp sgt i32 %75, 0 br i1 %76, label %77, label %119 77: ; preds = %67 %78 = load ptr, ptr %3, align 8 %79 = load i32, ptr %7, align 4 %80 = load ptr, ptr %6, align 8 %81 = load i32, ptr %7, align 4 %82 = sub nsw i32 %81, 1 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds i32, ptr %80, i64 %83 %85 = load i32, ptr %84, align 4 %86 = sub nsw i32 %79, %85 %87 = sub nsw i32 %86, 1 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds i8, ptr %78, i64 %88 %90 = load i8, ptr %89, align 1 %91 = sext i8 %90 to i32 %92 = icmp eq i32 %91, 40 br i1 %92, label %93, label %119 93: ; preds = %77 %94 = load ptr, ptr %6, align 8 %95 = load i32, ptr %7, align 4 %96 = sub nsw i32 %95, 1 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds i32, ptr %94, i64 %97 %99 = load i32, ptr %98, align 4 %100 = load ptr, ptr %6, align 8 %101 = load i32, ptr %7, align 4 %102 = load ptr, ptr %6, align 8 %103 = load i32, ptr %7, align 4 %104 = sub nsw i32 %103, 1 %105 = sext i32 %104 to i64 %106 = getelementptr inbounds i32, ptr %102, i64 %105 %107 = load i32, ptr %106, align 4 %108 = sub nsw i32 %101, %107 %109 = sub nsw i32 %108, 2 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds i32, ptr %100, i64 %110 %112 = load i32, ptr %111, align 4 %113 = add nsw i32 %99, %112 %114 = add nsw i32 %113, 2 %115 = load ptr, ptr %6, align 8 %116 = load i32, ptr %7, align 4 %117 = sext i32 %116 to i64 %118 = getelementptr inbounds i32, ptr %115, i64 %117 store i32 %114, ptr %118, align 4 br label %119 119: ; preds = %93, %77, %67 br label %120 120: ; preds = %119, %66 %121 = load ptr, ptr %6, align 8 %122 = load i32, ptr %7, align 4 %123 = sext i32 %122 to i64 %124 = getelementptr inbounds i32, ptr %121, i64 %123 %125 = load i32, ptr %124, align 4 %126 = load i32, ptr %5, align 4 %127 = icmp sgt i32 %125, %126 br i1 %127, label %128, label %134 128: ; preds = %120 %129 = load ptr, ptr %6, align 8 %130 = load i32, ptr %7, align 4 %131 = sext i32 %130 to i64 %132 = getelementptr inbounds i32, ptr %129, i64 %131 %133 = load i32, ptr %132, align 4 store i32 %133, ptr %5, align 4 br label %134 134: ; preds = %128, %120 br label %135 135: ; preds = %134, %30 br label %136 136: ; preds = %135 %137 = load i32, ptr %7, align 4 %138 = add nsw i32 %137, 1 store i32 %138, ptr %7, align 4 br label %26, !llvm.loop !6 139: ; preds = %26 %140 = load i32, ptr %5, align 4 store i32 %140, ptr %2, align 4 br label %141 141: ; preds = %139, %12 %142 = load i32, ptr %2, align 4 ret i32 %142 } declare i32 @strlen(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp16mmplkg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @longestValidParentheses2(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 %9 = call i32 @strlen(ptr noundef %8) store i32 %9, ptr %4, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %10, 2 br i1 %11, label %12, label %13 12: ; preds = %1 store i32 0, ptr %2, align 4 br label %143 13: ; preds = %1 store i32 0, ptr %5, align 4 %14 = load i32, ptr %4, align 4 %15 = sext i32 %14 to i64 %16 = mul i64 4, %15 %17 = trunc i64 %16 to i32 %18 = call i64 @malloc(i32 noundef %17) %19 = inttoptr i64 %18 to ptr store ptr %19, ptr %6, align 8 %20 = load ptr, ptr %6, align 8 %21 = load i32, ptr %4, align 4 %22 = sext i32 %21 to i64 %23 = mul i64 4, %22 %24 = trunc i64 %23 to i32 %25 = call i32 @memset(ptr noundef %20, i32 noundef 0, i32 noundef %24) store i32 1, ptr %7, align 4 %26 = load i32, ptr %7, align 4 %27 = load i32, ptr %4, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %.lr.ph, label %141 .lr.ph: ; preds = %13 br label %29 29: ; preds = %.lr.ph, %135 %30 = load ptr, ptr %3, align 8 %31 = load i32, ptr %7, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i8, ptr %30, i64 %32 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = icmp eq i32 %35, 41 br i1 %36, label %37, label %134 37: ; preds = %29 %38 = load ptr, ptr %3, align 8 %39 = load i32, ptr %7, align 4 %40 = sub nsw i32 %39, 1 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i8, ptr %38, i64 %41 %43 = load i8, ptr %42, align 1 %44 = sext i8 %43 to i32 %45 = icmp eq i32 %44, 40 br i1 %45, label %46, label %66 46: ; preds = %37 %47 = load ptr, ptr %6, align 8 %48 = load i32, ptr %7, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i32, ptr %47, i64 %49 store i32 2, ptr %50, align 4 %51 = load i32, ptr %7, align 4 %52 = icmp sgt i32 %51, 1 br i1 %52, label %53, label %65 53: ; preds = %46 %54 = load ptr, ptr %6, align 8 %55 = load i32, ptr %7, align 4 %56 = sub nsw i32 %55, 2 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds i32, ptr %54, i64 %57 %59 = load i32, ptr %58, align 4 %60 = add nsw i32 2, %59 %61 = load ptr, ptr %6, align 8 %62 = load i32, ptr %7, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i32, ptr %61, i64 %63 store i32 %60, ptr %64, align 4 br label %65 65: ; preds = %53, %46 br label %119 66: ; preds = %37 %67 = load i32, ptr %7, align 4 %68 = load ptr, ptr %6, align 8 %69 = load i32, ptr %7, align 4 %70 = sub nsw i32 %69, 1 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds i32, ptr %68, i64 %71 %73 = load i32, ptr %72, align 4 %74 = sub nsw i32 %67, %73 %75 = icmp sgt i32 %74, 0 br i1 %75, label %76, label %118 76: ; preds = %66 %77 = load ptr, ptr %3, align 8 %78 = load i32, ptr %7, align 4 %79 = load ptr, ptr %6, align 8 %80 = load i32, ptr %7, align 4 %81 = sub nsw i32 %80, 1 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds i32, ptr %79, i64 %82 %84 = load i32, ptr %83, align 4 %85 = sub nsw i32 %78, %84 %86 = sub nsw i32 %85, 1 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds i8, ptr %77, i64 %87 %89 = load i8, ptr %88, align 1 %90 = sext i8 %89 to i32 %91 = icmp eq i32 %90, 40 br i1 %91, label %92, label %118 92: ; preds = %76 %93 = load ptr, ptr %6, align 8 %94 = load i32, ptr %7, align 4 %95 = sub nsw i32 %94, 1 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds i32, ptr %93, i64 %96 %98 = load i32, ptr %97, align 4 %99 = load ptr, ptr %6, align 8 %100 = load i32, ptr %7, align 4 %101 = load ptr, ptr %6, align 8 %102 = load i32, ptr %7, align 4 %103 = sub nsw i32 %102, 1 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds i32, ptr %101, i64 %104 %106 = load i32, ptr %105, align 4 %107 = sub nsw i32 %100, %106 %108 = sub nsw i32 %107, 2 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds i32, ptr %99, i64 %109 %111 = load i32, ptr %110, align 4 %112 = add nsw i32 %98, %111 %113 = add nsw i32 %112, 2 %114 = load ptr, ptr %6, align 8 %115 = load i32, ptr %7, align 4 %116 = sext i32 %115 to i64 %117 = getelementptr inbounds i32, ptr %114, i64 %116 store i32 %113, ptr %117, align 4 br label %118 118: ; preds = %92, %76, %66 br label %119 119: ; preds = %118, %65 %120 = load ptr, ptr %6, align 8 %121 = load i32, ptr %7, align 4 %122 = sext i32 %121 to i64 %123 = getelementptr inbounds i32, ptr %120, i64 %122 %124 = load i32, ptr %123, align 4 %125 = load i32, ptr %5, align 4 %126 = icmp sgt i32 %124, %125 br i1 %126, label %127, label %133 127: ; preds = %119 %128 = load ptr, ptr %6, align 8 %129 = load i32, ptr %7, align 4 %130 = sext i32 %129 to i64 %131 = getelementptr inbounds i32, ptr %128, i64 %130 %132 = load i32, ptr %131, align 4 store i32 %132, ptr %5, align 4 br label %133 133: ; preds = %127, %119 br label %134 134: ; preds = %133, %29 br label %135 135: ; preds = %134 %136 = load i32, ptr %7, align 4 %137 = add nsw i32 %136, 1 store i32 %137, ptr %7, align 4 %138 = load i32, ptr %7, align 4 %139 = load i32, ptr %4, align 4 %140 = icmp slt i32 %138, %139 br i1 %140, label %29, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %135 br label %141 141: ; preds = %._crit_edge, %13 %142 = load i32, ptr %5, align 4 store i32 %142, ptr %2, align 4 br label %143 143: ; preds = %141, %12 %144 = load i32, ptr %2, align 4 ret i32 %144 } declare i32 @strlen(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}