llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpnp5no1z3.c' source_filename = "/tmp/tmpnp5no1z3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clear_standard_tracker() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = load ptr, ptr %2, align 8 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @_ada_use_c2phc4c(i32 noundef 509, ptr noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef 0) store i32 %8, ptr %1, align 4 %9 = load i32, ptr %1, align 4 ret i32 %9 } declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, 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/tmpnp5no1z3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clear_standard_tracker() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = load ptr, ptr %2, align 8 %6 = load ptr, ptr %3, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @_ada_use_c2phc4c(i32 noundef 509, ptr noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef 0) store i32 %8, ptr %1, align 4 %9 = load i32, ptr %1, align 4 ret i32 %9 } declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, 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/tmpewiauepb.c' source_filename = "/tmp/tmpewiauepb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"%02hhx \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 @dump_data(ptr noundef %0, i16 noundef zeroext %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i16, align 2 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i16 %1, ptr %4, align 2 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %19, %2 %7 = load i32, ptr %5, align 4 %8 = load i16, ptr %4, align 2 %9 = zext i16 %8 to i32 %10 = icmp slt i32 %7, %9 br i1 %10, label %11, label %22 11: ; preds = %6 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %5, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i8, ptr %12, i64 %14 %16 = load i8, ptr %15, align 1 %17 = zext 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 %5, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %5, align 4 br label %6, !llvm.loop !6 22: ; preds = %6 %23 = 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/tmpewiauepb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"%02hhx \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 @dump_data(ptr noundef %0, i16 noundef zeroext %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i16, align 2 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i16 %1, ptr %4, align 2 store i32 0, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = load i16, ptr %4, align 2 %8 = zext i16 %7 to i32 %9 = icmp slt i32 %6, %8 br i1 %9, label %.lr.ph, label %25 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %18 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i8, ptr %11, i64 %13 %15 = load i8, ptr %14, align 1 %16 = zext i8 %15 to i32 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %16) br label %18 18: ; preds = %10 %19 = load i32, ptr %5, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %5, align 4 %21 = load i32, ptr %5, align 4 %22 = load i16, ptr %4, align 2 %23 = zext i16 %22 to i32 %24 = icmp slt i32 %21, %23 br i1 %24, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %18 br label %25 25: ; preds = %._crit_edge, %2 %26 = 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/tmp36pkyb0a.c' source_filename = "/tmp/tmp36pkyb0a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i16 @isValidFilePath(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i16, align 2 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = call i32 @strlen(ptr noundef %7) store i32 %8, ptr %3, align 4 store i16 1, ptr %4, align 2 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 br label %9 9: ; preds = %52, %1 %10 = load i32, ptr %5, align 4 %11 = load i32, ptr %3, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %13, label %55 13: ; preds = %9 %14 = load ptr, ptr %2, align 8 %15 = load i32, ptr %5, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %14, i64 %16 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp eq i32 %19, 46 br i1 %20, label %21, label %24 21: ; preds = %13 %22 = load i32, ptr %6, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %6, align 4 br label %24 24: ; preds = %21, %13 %25 = load ptr, ptr %2, align 8 %26 = load i32, ptr %5, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i8, ptr %25, i64 %27 %29 = load i8, ptr %28, align 1 %30 = call i32 @isalnum(i8 noundef signext %29) %31 = icmp ne i32 %30, 0 br i1 %31, label %48, label %32 32: ; preds = %24 %33 = load ptr, ptr %2, align 8 %34 = load i32, ptr %5, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i8, ptr %33, i64 %35 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = icmp ne i32 %38, 32 br i1 %39, label %40, label %48 40: ; preds = %32 %41 = load ptr, ptr %2, align 8 %42 = load i32, ptr %5, 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 %47 = icmp ne i32 %46, 46 br i1 %47, label %51, label %48 48: ; preds = %40, %32, %24 %49 = load i32, ptr %6, align 4 %50 = icmp eq i32 %49, 2 br i1 %50, label %51, label %52 51: ; preds = %48, %40 store i16 0, ptr %4, align 2 br label %55 52: ; preds = %48 %53 = load i32, ptr %5, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %5, align 4 br label %9, !llvm.loop !6 55: ; preds = %51, %9 %56 = load i16, ptr %4, align 2 ret i16 %56 } declare i32 @strlen(ptr noundef) #1 declare i32 @isalnum(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp36pkyb0a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i16 @isValidFilePath(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i16, align 2 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = call i32 @strlen(ptr noundef %7) store i32 %8, ptr %3, align 4 store i16 1, ptr %4, align 2 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %1 br label %12 12: ; preds = %.lr.ph, %51 %13 = load ptr, ptr %2, align 8 %14 = load i32, ptr %5, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %13, i64 %15 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = icmp eq i32 %18, 46 br i1 %19, label %20, label %23 20: ; preds = %12 %21 = load i32, ptr %6, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %6, align 4 br label %23 23: ; preds = %20, %12 %24 = load ptr, ptr %2, align 8 %25 = load i32, ptr %5, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %24, i64 %26 %28 = load i8, ptr %27, align 1 %29 = call i32 @isalnum(i8 noundef signext %28) %30 = icmp ne i32 %29, 0 br i1 %30, label %47, label %31 31: ; preds = %23 %32 = load ptr, ptr %2, align 8 %33 = load i32, ptr %5, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i8, ptr %32, i64 %34 %36 = load i8, ptr %35, align 1 %37 = sext i8 %36 to i32 %38 = icmp ne i32 %37, 32 br i1 %38, label %39, label %47 39: ; preds = %31 %40 = load ptr, ptr %2, align 8 %41 = load i32, ptr %5, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i8, ptr %40, i64 %42 %44 = load i8, ptr %43, align 1 %45 = sext i8 %44 to i32 %46 = icmp ne i32 %45, 46 br i1 %46, label %50, label %47 47: ; preds = %39, %31, %23 %48 = load i32, ptr %6, align 4 %49 = icmp eq i32 %48, 2 br i1 %49, label %50, label %51 50: ; preds = %47, %39 store i16 0, ptr %4, align 2 br label %57 51: ; preds = %47 %52 = load i32, ptr %5, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %5, align 4 %54 = load i32, ptr %5, align 4 %55 = load i32, ptr %3, align 4 %56 = icmp slt i32 %54, %55 br i1 %56, label %12, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %51 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %1 br label %57 57: ; preds = %.loopexit, %50 %58 = load i16, ptr %4, align 2 ret i16 %58 } declare i32 @strlen(ptr noundef) #1 declare i32 @isalnum(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmprniyo6fx.c' source_filename = "/tmp/tmprniyo6fx.c" target datalayout = "e-m:e-p270: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/tmprniyo6fx.c" target datalayout = "e-m:e-p270: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/tmprc6avls3.c' source_filename = "/tmp/tmprc6avls3.c" target datalayout = "e-m:e-p270: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/tmprc6avls3.c" target datalayout = "e-m:e-p270: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/tmp108en500.c' source_filename = "/tmp/tmp108en500.c" target datalayout = "e-m:e-p270: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/tmp108en500.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_60ingi2.c' source_filename = "/tmp/tmp_60ingi2.c" target datalayout = "e-m:e-p270: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_60ingi2.c" target datalayout = "e-m:e-p270: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/tmpul5e44yj.c' source_filename = "/tmp/tmpul5e44yj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Hello, Nerves\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 ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpul5e44yj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Hello, Nerves\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 ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5ck193w0.c' source_filename = "/tmp/tmp5ck193w0.c" target datalayout = "e-m:e-p270: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/tmp5ck193w0.c" target datalayout = "e-m:e-p270: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/tmpan6izzx1.c' source_filename = "/tmp/tmpan6izzx1.c" target datalayout = "e-m:e-p270: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/tmpan6izzx1.c" target datalayout = "e-m:e-p270: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/tmp3gu4ryds.c' source_filename = "/tmp/tmp3gu4ryds.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fn1(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 @strcpy(ptr noundef %5, ptr noundef %6) %8 = load ptr, ptr %3, align 8 %9 = call ptr @strchr(ptr noundef %8, i8 noundef signext 0) ret ptr %9 } declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3gu4ryds.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fn1(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 @strcpy(ptr noundef %5, ptr noundef %6) %8 = load ptr, ptr %3, align 8 %9 = call ptr @strchr(ptr noundef %8, i8 noundef signext 0) ret ptr %9 } declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdeqw0y8n.c' source_filename = "/tmp/tmpdeqw0y8n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @F_OK = dso_local global i32 0, align 4 @X_OK = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @check_thatbinary(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = load i32, ptr @F_OK, align 4 %6 = call i32 @access(ptr noundef %4, i32 noundef %5) %7 = icmp eq i32 %6, -1 br i1 %7, label %13, label %8 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 %10 = load i32, ptr @X_OK, align 4 %11 = call i32 @access(ptr noundef %9, i32 noundef %10) %12 = icmp eq i32 %11, -1 br i1 %12, label %13, label %14 13: ; preds = %8, %1 store i32 1, ptr %2, align 4 br label %15 14: ; preds = %8 store i32 0, ptr %2, align 4 br label %15 15: ; preds = %14, %13 %16 = load i32, ptr %2, align 4 ret i32 %16 } declare i32 @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/tmpdeqw0y8n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @F_OK = dso_local global i32 0, align 4 @X_OK = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @check_thatbinary(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = load i32, ptr @F_OK, align 4 %6 = call i32 @access(ptr noundef %4, i32 noundef %5) %7 = icmp eq i32 %6, -1 br i1 %7, label %13, label %8 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 %10 = load i32, ptr @X_OK, align 4 %11 = call i32 @access(ptr noundef %9, i32 noundef %10) %12 = icmp eq i32 %11, -1 br i1 %12, label %13, label %14 13: ; preds = %8, %1 store i32 1, ptr %2, align 4 br label %15 14: ; preds = %8 store i32 0, ptr %2, align 4 br label %15 15: ; preds = %14, %13 %16 = load i32, ptr %2, align 4 ret i32 %16 } declare i32 @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/tmpxnlfwdm8.c' source_filename = "/tmp/tmpxnlfwdm8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"Digite [1] para homem \0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"Digite [2] para mulher \0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%i\00", align 1 @.str.3 = private unnamed_addr constant [23 x i8] c"Escolha uma op\C3\A7\C3\A3o: \0A\00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c"Qual seu peso (KG):\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.6 = private unnamed_addr constant [22 x i8] c"Qual sua altura (CM):\00", align 1 @.str.7 = private unnamed_addr constant [23 x i8] c"Qual sua idade (ANOS):\00", align 1 @.str.8 = private unnamed_addr constant [44 x i8] c"Sua taxa metabolica basal \C3\A9: %6.2f Kcal. \0A\00", align 1 @.str.9 = private unnamed_addr constant [28 x i8] c"Qual seu fator atividade? \0A\00", align 1 @.str.10 = private unnamed_addr constant [67 x i8] c"Digite [1] para Sedent\C3\A1rio - Pouco ou nenhum exerc\C3\ADcio di\C3\A1rio \0A\00", align 1 @.str.11 = private unnamed_addr constant [76 x i8] c"Digite [2] para Levemente Ativo - Exerc\C3\ADcio leve de 1 a 3 dias na semana \0A\00", align 1 @.str.12 = private unnamed_addr constant [80 x i8] c"Digite [3] para Moderadamente Ativo - Exerc\C3\ADcio leve de 3 a 5 dias na semana \0A\00", align 1 @.str.13 = private unnamed_addr constant [77 x i8] c"Digite [4] para Bastante Ativo - Exerc\C3\ADcio pesado de 6 a 7 dias na semana \0A\00", align 1 @.str.14 = private unnamed_addr constant [103 x i8] c"Digite [5] para Muito Ativo - Exerc\C3\ADcio pesado todos os dias da semana ou treinos duas vezes ao dia \0A\00", align 1 @.str.15 = private unnamed_addr constant [33 x i8] c"Escolha um fator de atividade: \0A\00", align 1 @.str.16 = private unnamed_addr constant [44 x i8] c"Seu gasto cal\C3\B3rico di\C3\A1rio \C3\A9 %6.2f Kcal \0A\00", align 1 @.str.17 = private unnamed_addr constant [21 x i8] c"Qual seu objetivo? \0A\00", align 1 @.str.18 = private unnamed_addr constant [40 x i8] c"Digite [1] para ganhar massa muscular \0A\00", align 1 @.str.19 = private unnamed_addr constant [33 x i8] c"Digite [2] para perder gordura \0A\00", align 1 @.str.20 = private unnamed_addr constant [32 x i8] c"Digite [3] para manter o peso \0A\00", align 1 @.str.21 = private unnamed_addr constant [43 x i8] c"Voc\C3\AA precisa ingerir %6.2f Kcal por dia \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 float, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca float, align 4 %9 = alloca float, align 4 %10 = alloca float, align 4 %11 = alloca float, align 4 %12 = alloca float, align 4 %13 = alloca float, align 4 %14 = alloca float, align 4 %15 = alloca float, align 4 %16 = alloca float, align 4 %17 = alloca float, align 4 store i32 0, ptr %1, align 4 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str) %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %20 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %2) br label %21 21: ; preds = %29, %0 %22 = load i32, ptr %2, align 4 %23 = icmp ne i32 %22, 1 br i1 %23, label %24, label %27 24: ; preds = %21 %25 = load i32, ptr %2, align 4 %26 = icmp ne i32 %25, 2 br label %27 27: ; preds = %24, %21 %28 = phi i1 [ false, %21 ], [ %26, %24 ] br i1 %28, label %29, label %34 29: ; preds = %27 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %31 = call i32 (ptr, ...) @printf(ptr noundef @.str) %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %33 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %2) br label %21, !llvm.loop !6 34: ; preds = %27 %35 = load i32, ptr %2, align 4 switch i32 %35, label %169 [ i32 1, label %36 i32 2, label %103 ] 36: ; preds = %34 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %38 = call i32 (ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %5) %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %40 = call i32 (ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %6) %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %42 = call i32 (ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %7) %43 = load float, ptr %5, align 4 %44 = fpext float %43 to double %45 = call double @llvm.fmuladd.f64(double 1.370000e+01, double %44, double 6.600000e+01) %46 = load float, ptr %6, align 4 %47 = fmul float 5.000000e+00, %46 %48 = fpext float %47 to double %49 = fadd double %45, %48 %50 = load float, ptr %7, align 4 %51 = fpext float %50 to double %52 = call double @llvm.fmuladd.f64(double -6.800000e+00, double %51, double %49) %53 = fptrunc double %52 to float store float %53, ptr %8, align 4 %54 = load float, ptr %8, align 4 %55 = fpext float %54 to double %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, double noundef %55) %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) %61 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.14) %63 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %3) br label %64 64: ; preds = %81, %36 %65 = load i32, ptr %3, align 4 %66 = icmp ne i32 %65, 1 br i1 %66, label %67, label %79 67: ; preds = %64 %68 = load i32, ptr %3, align 4 %69 = icmp ne i32 %68, 2 br i1 %69, label %70, label %79 70: ; preds = %67 %71 = load i32, ptr %3, align 4 %72 = icmp ne i32 %71, 3 br i1 %72, label %73, label %79 73: ; preds = %70 %74 = load i32, ptr %3, align 4 %75 = icmp ne i32 %74, 4 br i1 %75, label %76, label %79 76: ; preds = %73 %77 = load i32, ptr %3, align 4 %78 = icmp ne i32 %77, 5 br label %79 79: ; preds = %76, %73, %70, %67, %64 %80 = phi i1 [ false, %73 ], [ false, %70 ], [ false, %67 ], [ false, %64 ], [ %78, %76 ] br i1 %80, label %81, label %89 81: ; preds = %79 %82 = call i32 (ptr, ...) @printf(ptr noundef @.str.15) %83 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %84 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %85 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) %86 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) %87 = call i32 (ptr, ...) @printf(ptr noundef @.str.14) %88 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %3) br label %64, !llvm.loop !8 89: ; preds = %79 %90 = load i32, ptr %3, align 4 switch i32 %90, label %96 [ i32 1, label %91 i32 2, label %92 i32 3, label %93 i32 4, label %94 i32 5, label %95 ] 91: ; preds = %89 store float 0x3FF3333340000000, ptr %17, align 4 br label %96 92: ; preds = %89 store float 0x3FF5EB8520000000, ptr %17, align 4 br label %96 93: ; preds = %89 store float 0x3FF8CCCCC0000000, ptr %17, align 4 br label %96 94: ; preds = %89 store float 0x3FFB851EC0000000, ptr %17, align 4 br label %96 95: ; preds = %89 store float 0x3FFE666660000000, ptr %17, align 4 br label %96 96: ; preds = %89, %95, %94, %93, %92, %91 %97 = load float, ptr %8, align 4 %98 = load float, ptr %17, align 4 %99 = fmul float %97, %98 store float %99, ptr %9, align 4 %100 = load float, ptr %9, align 4 %101 = fpext float %100 to double %102 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef %101) br label %169 103: ; preds = %34 %104 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %105 = call i32 (ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %11) %106 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %107 = call i32 (ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %12) %108 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %109 = call i32 (ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %13) %110 = load float, ptr %11, align 4 %111 = fpext float %110 to double %112 = call double @llvm.fmuladd.f64(double 0x4023333333333333, double %111, double 6.550000e+02) %113 = load float, ptr %12, align 4 %114 = fpext float %113 to double %115 = call double @llvm.fmuladd.f64(double 1.800000e+00, double %114, double %112) %116 = load float, ptr %13, align 4 %117 = fpext float %116 to double %118 = call double @llvm.fmuladd.f64(double -4.700000e+00, double %117, double %115) %119 = fptrunc double %118 to float store float %119, ptr %14, align 4 %120 = load float, ptr %14, align 4 %121 = fpext float %120 to double %122 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, double noundef %121) %123 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %124 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %125 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %126 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) %127 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) %128 = call i32 (ptr, ...) @printf(ptr noundef @.str.14) %129 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %3) br label %130 130: ; preds = %147, %103 %131 = load i32, ptr %3, align 4 %132 = icmp ne i32 %131, 1 br i1 %132, label %133, label %145 133: ; preds = %130 %134 = load i32, ptr %3, align 4 %135 = icmp ne i32 %134, 2 br i1 %135, label %136, label %145 136: ; preds = %133 %137 = load i32, ptr %3, align 4 %138 = icmp ne i32 %137, 3 br i1 %138, label %139, label %145 139: ; preds = %136 %140 = load i32, ptr %3, align 4 %141 = icmp ne i32 %140, 4 br i1 %141, label %142, label %145 142: ; preds = %139 %143 = load i32, ptr %3, align 4 %144 = icmp ne i32 %143, 5 br label %145 145: ; preds = %142, %139, %136, %133, %130 %146 = phi i1 [ false, %139 ], [ false, %136 ], [ false, %133 ], [ false, %130 ], [ %144, %142 ] br i1 %146, label %147, label %155 147: ; preds = %145 %148 = call i32 (ptr, ...) @printf(ptr noundef @.str.15) %149 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %150 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %151 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) %152 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) %153 = call i32 (ptr, ...) @printf(ptr noundef @.str.14) %154 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %3) br label %130, !llvm.loop !9 155: ; preds = %145 %156 = load i32, ptr %3, align 4 switch i32 %156, label %162 [ i32 1, label %157 i32 2, label %158 i32 3, label %159 i32 4, label %160 i32 5, label %161 ] 157: ; preds = %155 store float 0x3FF3333340000000, ptr %17, align 4 br label %162 158: ; preds = %155 store float 0x3FF5EB8520000000, ptr %17, align 4 br label %162 159: ; preds = %155 store float 0x3FF8CCCCC0000000, ptr %17, align 4 br label %162 160: ; preds = %155 store float 0x3FFB851EC0000000, ptr %17, align 4 br label %162 161: ; preds = %155 store float 0x3FFE666660000000, ptr %17, align 4 br label %162 162: ; preds = %155, %161, %160, %159, %158, %157 %163 = load float, ptr %14, align 4 %164 = load float, ptr %17, align 4 %165 = fmul float %163, %164 store float %165, ptr %15, align 4 %166 = load float, ptr %15, align 4 %167 = fpext float %166 to double %168 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef %167) br label %169 169: ; preds = %34, %162, %96 %170 = call i32 (ptr, ...) @printf(ptr noundef @.str.17) %171 = call i32 (ptr, ...) @printf(ptr noundef @.str.18) %172 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) %173 = call i32 (ptr, ...) @printf(ptr noundef @.str.20) %174 = load i32, ptr %2, align 4 %175 = icmp eq i32 %174, 1 br i1 %175, label %176, label %209 176: ; preds = %169 %177 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %4) br label %178 178: ; preds = %189, %176 %179 = load i32, ptr %4, align 4 %180 = icmp ne i32 %179, 1 br i1 %180, label %181, label %187 181: ; preds = %178 %182 = load i32, ptr %4, align 4 %183 = icmp ne i32 %182, 2 br i1 %183, label %184, label %187 184: ; preds = %181 %185 = load i32, ptr %4, align 4 %186 = icmp ne i32 %185, 3 br label %187 187: ; preds = %184, %181, %178 %188 = phi i1 [ false, %181 ], [ false, %178 ], [ %186, %184 ] br i1 %188, label %189, label %195 189: ; preds = %187 %190 = call i32 (ptr, ...) @printf(ptr noundef @.str.17) %191 = call i32 (ptr, ...) @printf(ptr noundef @.str.18) %192 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) %193 = call i32 (ptr, ...) @printf(ptr noundef @.str.20) %194 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %4) br label %178, !llvm.loop !10 195: ; preds = %187 %196 = load i32, ptr %4, align 4 switch i32 %196, label %205 [ i32 1, label %197 i32 2, label %200 i32 3, label %203 ] 197: ; preds = %195 %198 = load float, ptr %9, align 4 %199 = fadd float %198, 5.000000e+02 store float %199, ptr %10, align 4 br label %205 200: ; preds = %195 %201 = load float, ptr %9, align 4 %202 = fsub float %201, 5.000000e+02 store float %202, ptr %10, align 4 br label %205 203: ; preds = %195 %204 = load float, ptr %9, align 4 store float %204, ptr %10, align 4 br label %205 205: ; preds = %195, %203, %200, %197 %206 = load float, ptr %10, align 4 %207 = fpext float %206 to double %208 = call i32 (ptr, ...) @printf(ptr noundef @.str.21, double noundef %207) br label %242 209: ; preds = %169 %210 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %4) br label %211 211: ; preds = %222, %209 %212 = load i32, ptr %4, align 4 %213 = icmp ne i32 %212, 1 br i1 %213, label %214, label %220 214: ; preds = %211 %215 = load i32, ptr %4, align 4 %216 = icmp ne i32 %215, 2 br i1 %216, label %217, label %220 217: ; preds = %214 %218 = load i32, ptr %4, align 4 %219 = icmp ne i32 %218, 3 br label %220 220: ; preds = %217, %214, %211 %221 = phi i1 [ false, %214 ], [ false, %211 ], [ %219, %217 ] br i1 %221, label %222, label %228 222: ; preds = %220 %223 = call i32 (ptr, ...) @printf(ptr noundef @.str.17) %224 = call i32 (ptr, ...) @printf(ptr noundef @.str.18) %225 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) %226 = call i32 (ptr, ...) @printf(ptr noundef @.str.20) %227 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %4) br label %211, !llvm.loop !11 228: ; preds = %220 %229 = load i32, ptr %4, align 4 switch i32 %229, label %238 [ i32 1, label %230 i32 2, label %233 i32 3, label %236 ] 230: ; preds = %228 %231 = load float, ptr %15, align 4 %232 = fadd float %231, 5.000000e+02 store float %232, ptr %16, align 4 br label %238 233: ; preds = %228 %234 = load float, ptr %15, align 4 %235 = fsub float %234, 5.000000e+02 store float %235, ptr %16, align 4 br label %238 236: ; preds = %228 %237 = load float, ptr %15, align 4 store float %237, ptr %16, align 4 br label %238 238: ; preds = %228, %236, %233, %230 %239 = load float, ptr %16, align 4 %240 = fpext float %239 to double %241 = call i32 (ptr, ...) @printf(ptr noundef @.str.21, double noundef %240) br label %242 242: ; preds = %238, %205 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxnlfwdm8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"Digite [1] para homem \0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"Digite [2] para mulher \0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%i\00", align 1 @.str.3 = private unnamed_addr constant [23 x i8] c"Escolha uma op\C3\A7\C3\A3o: \0A\00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c"Qual seu peso (KG):\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.6 = private unnamed_addr constant [22 x i8] c"Qual sua altura (CM):\00", align 1 @.str.7 = private unnamed_addr constant [23 x i8] c"Qual sua idade (ANOS):\00", align 1 @.str.8 = private unnamed_addr constant [44 x i8] c"Sua taxa metabolica basal \C3\A9: %6.2f Kcal. \0A\00", align 1 @.str.9 = private unnamed_addr constant [28 x i8] c"Qual seu fator atividade? \0A\00", align 1 @.str.10 = private unnamed_addr constant [67 x i8] c"Digite [1] para Sedent\C3\A1rio - Pouco ou nenhum exerc\C3\ADcio di\C3\A1rio \0A\00", align 1 @.str.11 = private unnamed_addr constant [76 x i8] c"Digite [2] para Levemente Ativo - Exerc\C3\ADcio leve de 1 a 3 dias na semana \0A\00", align 1 @.str.12 = private unnamed_addr constant [80 x i8] c"Digite [3] para Moderadamente Ativo - Exerc\C3\ADcio leve de 3 a 5 dias na semana \0A\00", align 1 @.str.13 = private unnamed_addr constant [77 x i8] c"Digite [4] para Bastante Ativo - Exerc\C3\ADcio pesado de 6 a 7 dias na semana \0A\00", align 1 @.str.14 = private unnamed_addr constant [103 x i8] c"Digite [5] para Muito Ativo - Exerc\C3\ADcio pesado todos os dias da semana ou treinos duas vezes ao dia \0A\00", align 1 @.str.15 = private unnamed_addr constant [33 x i8] c"Escolha um fator de atividade: \0A\00", align 1 @.str.16 = private unnamed_addr constant [44 x i8] c"Seu gasto cal\C3\B3rico di\C3\A1rio \C3\A9 %6.2f Kcal \0A\00", align 1 @.str.17 = private unnamed_addr constant [21 x i8] c"Qual seu objetivo? \0A\00", align 1 @.str.18 = private unnamed_addr constant [40 x i8] c"Digite [1] para ganhar massa muscular \0A\00", align 1 @.str.19 = private unnamed_addr constant [33 x i8] c"Digite [2] para perder gordura \0A\00", align 1 @.str.20 = private unnamed_addr constant [32 x i8] c"Digite [3] para manter o peso \0A\00", align 1 @.str.21 = private unnamed_addr constant [43 x i8] c"Voc\C3\AA precisa ingerir %6.2f Kcal por dia \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 float, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca float, align 4 %9 = alloca float, align 4 %10 = alloca float, align 4 %11 = alloca float, align 4 %12 = alloca float, align 4 %13 = alloca float, align 4 %14 = alloca float, align 4 %15 = alloca float, align 4 %16 = alloca float, align 4 %17 = alloca float, align 4 store i32 0, ptr %1, align 4 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str) %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %20 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %2) br label %21 21: ; preds = %29, %0 %22 = load i32, ptr %2, align 4 %23 = icmp ne i32 %22, 1 br i1 %23, label %24, label %27 24: ; preds = %21 %25 = load i32, ptr %2, align 4 %26 = icmp ne i32 %25, 2 br label %27 27: ; preds = %24, %21 %28 = phi i1 [ false, %21 ], [ %26, %24 ] br i1 %28, label %29, label %34 29: ; preds = %27 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %31 = call i32 (ptr, ...) @printf(ptr noundef @.str) %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %33 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %2) br label %21, !llvm.loop !6 34: ; preds = %27 %35 = load i32, ptr %2, align 4 switch i32 %35, label %169 [ i32 1, label %36 i32 2, label %103 ] 36: ; preds = %34 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %38 = call i32 (ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %5) %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %40 = call i32 (ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %6) %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %42 = call i32 (ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %7) %43 = load float, ptr %5, align 4 %44 = fpext float %43 to double %45 = call double @llvm.fmuladd.f64(double 1.370000e+01, double %44, double 6.600000e+01) %46 = load float, ptr %6, align 4 %47 = fmul float 5.000000e+00, %46 %48 = fpext float %47 to double %49 = fadd double %45, %48 %50 = load float, ptr %7, align 4 %51 = fpext float %50 to double %52 = call double @llvm.fmuladd.f64(double -6.800000e+00, double %51, double %49) %53 = fptrunc double %52 to float store float %53, ptr %8, align 4 %54 = load float, ptr %8, align 4 %55 = fpext float %54 to double %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, double noundef %55) %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) %61 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.14) %63 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %3) br label %64 64: ; preds = %81, %36 %65 = load i32, ptr %3, align 4 %66 = icmp ne i32 %65, 1 br i1 %66, label %67, label %79 67: ; preds = %64 %68 = load i32, ptr %3, align 4 %69 = icmp ne i32 %68, 2 br i1 %69, label %70, label %79 70: ; preds = %67 %71 = load i32, ptr %3, align 4 %72 = icmp ne i32 %71, 3 br i1 %72, label %73, label %79 73: ; preds = %70 %74 = load i32, ptr %3, align 4 %75 = icmp ne i32 %74, 4 br i1 %75, label %76, label %79 76: ; preds = %73 %77 = load i32, ptr %3, align 4 %78 = icmp ne i32 %77, 5 br label %79 79: ; preds = %76, %73, %70, %67, %64 %80 = phi i1 [ false, %73 ], [ false, %70 ], [ false, %67 ], [ false, %64 ], [ %78, %76 ] br i1 %80, label %81, label %89 81: ; preds = %79 %82 = call i32 (ptr, ...) @printf(ptr noundef @.str.15) %83 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %84 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %85 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) %86 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) %87 = call i32 (ptr, ...) @printf(ptr noundef @.str.14) %88 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %3) br label %64, !llvm.loop !8 89: ; preds = %79 %90 = load i32, ptr %3, align 4 switch i32 %90, label %96 [ i32 1, label %91 i32 2, label %92 i32 3, label %93 i32 4, label %94 i32 5, label %95 ] 91: ; preds = %89 store float 0x3FF3333340000000, ptr %17, align 4 br label %96 92: ; preds = %89 store float 0x3FF5EB8520000000, ptr %17, align 4 br label %96 93: ; preds = %89 store float 0x3FF8CCCCC0000000, ptr %17, align 4 br label %96 94: ; preds = %89 store float 0x3FFB851EC0000000, ptr %17, align 4 br label %96 95: ; preds = %89 store float 0x3FFE666660000000, ptr %17, align 4 br label %96 96: ; preds = %95, %94, %93, %92, %91, %89 %97 = load float, ptr %8, align 4 %98 = load float, ptr %17, align 4 %99 = fmul float %97, %98 store float %99, ptr %9, align 4 %100 = load float, ptr %9, align 4 %101 = fpext float %100 to double %102 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef %101) br label %169 103: ; preds = %34 %104 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %105 = call i32 (ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %11) %106 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %107 = call i32 (ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %12) %108 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %109 = call i32 (ptr, ...) @scanf(ptr noundef @.str.5, ptr noundef %13) %110 = load float, ptr %11, align 4 %111 = fpext float %110 to double %112 = call double @llvm.fmuladd.f64(double 0x4023333333333333, double %111, double 6.550000e+02) %113 = load float, ptr %12, align 4 %114 = fpext float %113 to double %115 = call double @llvm.fmuladd.f64(double 1.800000e+00, double %114, double %112) %116 = load float, ptr %13, align 4 %117 = fpext float %116 to double %118 = call double @llvm.fmuladd.f64(double -4.700000e+00, double %117, double %115) %119 = fptrunc double %118 to float store float %119, ptr %14, align 4 %120 = load float, ptr %14, align 4 %121 = fpext float %120 to double %122 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, double noundef %121) %123 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %124 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %125 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %126 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) %127 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) %128 = call i32 (ptr, ...) @printf(ptr noundef @.str.14) %129 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %3) br label %130 130: ; preds = %147, %103 %131 = load i32, ptr %3, align 4 %132 = icmp ne i32 %131, 1 br i1 %132, label %133, label %145 133: ; preds = %130 %134 = load i32, ptr %3, align 4 %135 = icmp ne i32 %134, 2 br i1 %135, label %136, label %145 136: ; preds = %133 %137 = load i32, ptr %3, align 4 %138 = icmp ne i32 %137, 3 br i1 %138, label %139, label %145 139: ; preds = %136 %140 = load i32, ptr %3, align 4 %141 = icmp ne i32 %140, 4 br i1 %141, label %142, label %145 142: ; preds = %139 %143 = load i32, ptr %3, align 4 %144 = icmp ne i32 %143, 5 br label %145 145: ; preds = %142, %139, %136, %133, %130 %146 = phi i1 [ false, %139 ], [ false, %136 ], [ false, %133 ], [ false, %130 ], [ %144, %142 ] br i1 %146, label %147, label %155 147: ; preds = %145 %148 = call i32 (ptr, ...) @printf(ptr noundef @.str.15) %149 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %150 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %151 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) %152 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) %153 = call i32 (ptr, ...) @printf(ptr noundef @.str.14) %154 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %3) br label %130, !llvm.loop !9 155: ; preds = %145 %156 = load i32, ptr %3, align 4 switch i32 %156, label %162 [ i32 1, label %157 i32 2, label %158 i32 3, label %159 i32 4, label %160 i32 5, label %161 ] 157: ; preds = %155 store float 0x3FF3333340000000, ptr %17, align 4 br label %162 158: ; preds = %155 store float 0x3FF5EB8520000000, ptr %17, align 4 br label %162 159: ; preds = %155 store float 0x3FF8CCCCC0000000, ptr %17, align 4 br label %162 160: ; preds = %155 store float 0x3FFB851EC0000000, ptr %17, align 4 br label %162 161: ; preds = %155 store float 0x3FFE666660000000, ptr %17, align 4 br label %162 162: ; preds = %161, %160, %159, %158, %157, %155 %163 = load float, ptr %14, align 4 %164 = load float, ptr %17, align 4 %165 = fmul float %163, %164 store float %165, ptr %15, align 4 %166 = load float, ptr %15, align 4 %167 = fpext float %166 to double %168 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef %167) br label %169 169: ; preds = %162, %96, %34 %170 = call i32 (ptr, ...) @printf(ptr noundef @.str.17) %171 = call i32 (ptr, ...) @printf(ptr noundef @.str.18) %172 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) %173 = call i32 (ptr, ...) @printf(ptr noundef @.str.20) %174 = load i32, ptr %2, align 4 %175 = icmp eq i32 %174, 1 br i1 %175, label %176, label %209 176: ; preds = %169 %177 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %4) br label %178 178: ; preds = %189, %176 %179 = load i32, ptr %4, align 4 %180 = icmp ne i32 %179, 1 br i1 %180, label %181, label %187 181: ; preds = %178 %182 = load i32, ptr %4, align 4 %183 = icmp ne i32 %182, 2 br i1 %183, label %184, label %187 184: ; preds = %181 %185 = load i32, ptr %4, align 4 %186 = icmp ne i32 %185, 3 br label %187 187: ; preds = %184, %181, %178 %188 = phi i1 [ false, %181 ], [ false, %178 ], [ %186, %184 ] br i1 %188, label %189, label %195 189: ; preds = %187 %190 = call i32 (ptr, ...) @printf(ptr noundef @.str.17) %191 = call i32 (ptr, ...) @printf(ptr noundef @.str.18) %192 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) %193 = call i32 (ptr, ...) @printf(ptr noundef @.str.20) %194 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %4) br label %178, !llvm.loop !10 195: ; preds = %187 %196 = load i32, ptr %4, align 4 switch i32 %196, label %205 [ i32 1, label %197 i32 2, label %200 i32 3, label %203 ] 197: ; preds = %195 %198 = load float, ptr %9, align 4 %199 = fadd float %198, 5.000000e+02 store float %199, ptr %10, align 4 br label %205 200: ; preds = %195 %201 = load float, ptr %9, align 4 %202 = fsub float %201, 5.000000e+02 store float %202, ptr %10, align 4 br label %205 203: ; preds = %195 %204 = load float, ptr %9, align 4 store float %204, ptr %10, align 4 br label %205 205: ; preds = %203, %200, %197, %195 %206 = load float, ptr %10, align 4 %207 = fpext float %206 to double %208 = call i32 (ptr, ...) @printf(ptr noundef @.str.21, double noundef %207) br label %242 209: ; preds = %169 %210 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %4) br label %211 211: ; preds = %222, %209 %212 = load i32, ptr %4, align 4 %213 = icmp ne i32 %212, 1 br i1 %213, label %214, label %220 214: ; preds = %211 %215 = load i32, ptr %4, align 4 %216 = icmp ne i32 %215, 2 br i1 %216, label %217, label %220 217: ; preds = %214 %218 = load i32, ptr %4, align 4 %219 = icmp ne i32 %218, 3 br label %220 220: ; preds = %217, %214, %211 %221 = phi i1 [ false, %214 ], [ false, %211 ], [ %219, %217 ] br i1 %221, label %222, label %228 222: ; preds = %220 %223 = call i32 (ptr, ...) @printf(ptr noundef @.str.17) %224 = call i32 (ptr, ...) @printf(ptr noundef @.str.18) %225 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) %226 = call i32 (ptr, ...) @printf(ptr noundef @.str.20) %227 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %4) br label %211, !llvm.loop !11 228: ; preds = %220 %229 = load i32, ptr %4, align 4 switch i32 %229, label %238 [ i32 1, label %230 i32 2, label %233 i32 3, label %236 ] 230: ; preds = %228 %231 = load float, ptr %15, align 4 %232 = fadd float %231, 5.000000e+02 store float %232, ptr %16, align 4 br label %238 233: ; preds = %228 %234 = load float, ptr %15, align 4 %235 = fsub float %234, 5.000000e+02 store float %235, ptr %16, align 4 br label %238 236: ; preds = %228 %237 = load float, ptr %15, align 4 store float %237, ptr %16, align 4 br label %238 238: ; preds = %236, %233, %230, %228 %239 = load float, ptr %16, align 4 %240 = fpext float %239 to double %241 = call i32 (ptr, ...) @printf(ptr noundef @.str.21, double noundef %240) br label %242 242: ; preds = %238, %205 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmpib8a94c3.c' source_filename = "/tmp/tmpib8a94c3.c" target datalayout = "e-m:e-p270: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.string = private unnamed_addr constant [15 x i8] c"Hello World! \0A\00", align 1 @.str = private unnamed_addr constant [11 x i8] c"pipe error\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"fork error\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [2 x i32], align 4 %3 = alloca i32, align 4 %4 = alloca i64, align 8 %5 = alloca [14 x i8], align 1 %6 = alloca [1 x i8], align 1 %7 = alloca [15 x i8], align 1 %8 = alloca [1 x i8], align 1 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %7, ptr align 1 @__const.main.string, i64 15, i1 false) %9 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0 %10 = call i64 @pipe(ptr noundef %9) %11 = icmp slt i64 %10, 0 br i1 %11, label %12, label %15 12: ; preds = %0 %13 = call i32 @perror(ptr noundef @.str) %14 = call i32 @exit(i32 noundef 1) #4 unreachable 15: ; preds = %0 %16 = call i64 (...) @fork() store i64 %16, ptr %4, align 8 %17 = icmp slt i64 %16, 0 br i1 %17, label %18, label %21 18: ; preds = %15 %19 = call i32 @perror(ptr noundef @.str.1) %20 = call i32 @exit(i32 noundef 1) #4 unreachable 21: ; preds = %15 %22 = load i64, ptr %4, align 8 %23 = icmp ne i64 %22, 0 br i1 %23, label %24, label %46 24: ; preds = %21 %25 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0 %26 = load i32, ptr %25, align 4 %27 = call i32 @close(i32 noundef %26) %28 = getelementptr inbounds [1 x i8], ptr %8, i64 0, i64 0 store i8 -1, ptr %28, align 1 br label %29 29: ; preds = %34, %24 %30 = getelementptr inbounds [1 x i8], ptr %8, i64 0, i64 0 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = icmp ne i32 %32, 113 br i1 %33, label %34, label %41 34: ; preds = %29 %35 = call signext i8 (...) @getchar() %36 = getelementptr inbounds [1 x i8], ptr %8, i64 0, i64 0 store i8 %35, ptr %36, align 1 %37 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 1 %38 = load i32, ptr %37, align 4 %39 = getelementptr inbounds [1 x i8], ptr %8, i64 0, i64 0 %40 = call i32 @write(i32 noundef %38, ptr noundef %39, i32 noundef 1) br label %29, !llvm.loop !6 41: ; preds = %29 %42 = call i32 @wait(ptr noundef null) %43 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 1 %44 = load i32, ptr %43, align 4 %45 = call i32 @close(i32 noundef %44) br label %76 46: ; preds = %21 %47 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 1 %48 = load i32, ptr %47, align 4 %49 = call i32 @close(i32 noundef %48) %50 = getelementptr inbounds [1 x i8], ptr %6, i64 0, i64 0 store i8 -1, ptr %50, align 1 br label %51 51: ; preds = %70, %46 %52 = getelementptr inbounds [1 x i8], ptr %6, i64 0, i64 0 %53 = load i8, ptr %52, align 1 %54 = sext i8 %53 to i32 %55 = icmp ne i32 %54, 113 br i1 %55, label %56, label %71 56: ; preds = %51 %57 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0 %58 = load i32, ptr %57, align 4 %59 = getelementptr inbounds [1 x i8], ptr %6, i64 0, i64 0 %60 = call i32 @read(i32 noundef %58, ptr noundef %59, i32 noundef 1) %61 = getelementptr inbounds [1 x i8], ptr %6, i64 0, i64 0 %62 = load i8, ptr %61, align 1 %63 = call i64 @isalpha(i8 noundef signext %62) %64 = icmp ne i64 %63, 0 br i1 %64, label %65, label %70 65: ; preds = %56 %66 = getelementptr inbounds [1 x i8], ptr %6, i64 0, i64 0 %67 = load i8, ptr %66, align 1 %68 = call i32 @toupper(i8 noundef signext %67) %69 = call i32 @putchar(i32 noundef %68) br label %70 70: ; preds = %65, %56 br label %51, !llvm.loop !8 71: ; preds = %51 %72 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0 %73 = load i32, ptr %72, align 4 %74 = call i32 @close(i32 noundef %73) %75 = call i32 @exit(i32 noundef 0) #4 unreachable 76: ; preds = %41 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 i64 @pipe(ptr noundef) #2 declare i32 @perror(ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i64 @fork(...) #2 declare i32 @close(i32 noundef) #2 declare signext i8 @getchar(...) #2 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @wait(ptr noundef) #2 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #2 declare i64 @isalpha(i8 noundef signext) #2 declare i32 @putchar(i32 noundef) #2 declare i32 @toupper(i8 noundef signext) #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" } 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpib8a94c3.c" target datalayout = "e-m:e-p270: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.string = private unnamed_addr constant [15 x i8] c"Hello World! \0A\00", align 1 @.str = private unnamed_addr constant [11 x i8] c"pipe error\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"fork error\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [2 x i32], align 4 %3 = alloca i32, align 4 %4 = alloca i64, align 8 %5 = alloca [14 x i8], align 1 %6 = alloca [1 x i8], align 1 %7 = alloca [15 x i8], align 1 %8 = alloca [1 x i8], align 1 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %7, ptr align 1 @__const.main.string, i64 15, i1 false) %9 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0 %10 = call i64 @pipe(ptr noundef %9) %11 = icmp slt i64 %10, 0 br i1 %11, label %12, label %15 12: ; preds = %0 %13 = call i32 @perror(ptr noundef @.str) %14 = call i32 @exit(i32 noundef 1) #4 unreachable 15: ; preds = %0 %16 = call i64 (...) @fork() store i64 %16, ptr %4, align 8 %17 = icmp slt i64 %16, 0 br i1 %17, label %18, label %21 18: ; preds = %15 %19 = call i32 @perror(ptr noundef @.str.1) %20 = call i32 @exit(i32 noundef 1) #4 unreachable 21: ; preds = %15 %22 = load i64, ptr %4, align 8 %23 = icmp ne i64 %22, 0 br i1 %23, label %24, label %48 24: ; preds = %21 %25 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0 %26 = load i32, ptr %25, align 4 %27 = call i32 @close(i32 noundef %26) %28 = getelementptr inbounds [1 x i8], ptr %8, i64 0, i64 0 store i8 -1, ptr %28, align 1 %29 = getelementptr inbounds [1 x i8], ptr %8, i64 0, i64 0 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = icmp ne i32 %31, 113 br i1 %32, label %.lr.ph2, label %43 .lr.ph2: ; preds = %24 br label %33 33: ; preds = %.lr.ph2, %33 %34 = call signext i8 (...) @getchar() %35 = getelementptr inbounds [1 x i8], ptr %8, i64 0, i64 0 store i8 %34, ptr %35, align 1 %36 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 1 %37 = load i32, ptr %36, align 4 %38 = getelementptr inbounds [1 x i8], ptr %8, i64 0, i64 0 %39 = call i32 @write(i32 noundef %37, ptr noundef %38, i32 noundef 1) %40 = load i8, ptr %29, align 1 %41 = sext i8 %40 to i32 %42 = icmp ne i32 %41, 113 br i1 %42, label %33, label %._crit_edge3, !llvm.loop !6 ._crit_edge3: ; preds = %33 br label %43 43: ; preds = %._crit_edge3, %24 %44 = call i32 @wait(ptr noundef null) %45 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 1 %46 = load i32, ptr %45, align 4 %47 = call i32 @close(i32 noundef %46) br label %80 48: ; preds = %21 %49 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 1 %50 = load i32, ptr %49, align 4 %51 = call i32 @close(i32 noundef %50) %52 = getelementptr inbounds [1 x i8], ptr %6, i64 0, i64 0 store i8 -1, ptr %52, align 1 %53 = getelementptr inbounds [1 x i8], ptr %6, i64 0, i64 0 %54 = load i8, ptr %53, align 1 %55 = sext i8 %54 to i32 %56 = icmp ne i32 %55, 113 br i1 %56, label %.lr.ph, label %75 .lr.ph: ; preds = %48 br label %57 57: ; preds = %.lr.ph, %71 %58 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0 %59 = load i32, ptr %58, align 4 %60 = getelementptr inbounds [1 x i8], ptr %6, i64 0, i64 0 %61 = call i32 @read(i32 noundef %59, ptr noundef %60, i32 noundef 1) %62 = getelementptr inbounds [1 x i8], ptr %6, i64 0, i64 0 %63 = load i8, ptr %62, align 1 %64 = call i64 @isalpha(i8 noundef signext %63) %65 = icmp ne i64 %64, 0 br i1 %65, label %66, label %71 66: ; preds = %57 %67 = getelementptr inbounds [1 x i8], ptr %6, i64 0, i64 0 %68 = load i8, ptr %67, align 1 %69 = call i32 @toupper(i8 noundef signext %68) %70 = call i32 @putchar(i32 noundef %69) br label %71 71: ; preds = %66, %57 %72 = load i8, ptr %53, align 1 %73 = sext i8 %72 to i32 %74 = icmp ne i32 %73, 113 br i1 %74, label %57, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %71 br label %75 75: ; preds = %._crit_edge, %48 %76 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0 %77 = load i32, ptr %76, align 4 %78 = call i32 @close(i32 noundef %77) %79 = call i32 @exit(i32 noundef 0) #4 unreachable 80: ; preds = %43 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 i64 @pipe(ptr noundef) #2 declare i32 @perror(ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i64 @fork(...) #2 declare i32 @close(i32 noundef) #2 declare signext i8 @getchar(...) #2 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @wait(ptr noundef) #2 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #2 declare i64 @isalpha(i8 noundef signext) #2 declare i32 @putchar(i32 noundef) #2 declare i32 @toupper(i8 noundef signext) #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" } 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp2h7mclyf.c' source_filename = "/tmp/tmp2h7mclyf.c" target datalayout = "e-m:e-p270: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/tmp2h7mclyf.c" target datalayout = "e-m:e-p270: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/tmpoq0bg5mp.c' source_filename = "/tmp/tmpoq0bg5mp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @initial_condition(ptr noundef %0, i32 noundef %1, double noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca double, align 8 %7 = alloca i32, align 4 %8 = alloca double, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store double %2, ptr %6, align 8 store i32 0, ptr %7, align 4 br label %9 9: ; preds = %28, %3 %10 = load i32, ptr %7, align 4 %11 = load i32, ptr %5, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %13, label %31 13: ; preds = %9 %14 = load i32, ptr %7, align 4 %15 = sitofp i32 %14 to double %16 = load double, ptr %6, align 8 %17 = fmul double %15, %16 store double %17, ptr %8, align 8 %18 = load double, ptr %8, align 8 %19 = fsub double %18, 3.000000e-01 %20 = call double @pow(double noundef %19, double noundef 2.000000e+00) #2 %21 = fneg double %20 %22 = fdiv double %21, 1.000000e-02 %23 = call double @exp(double noundef %22) #2 %24 = load ptr, ptr %4, align 8 %25 = load i32, ptr %7, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds double, ptr %24, i64 %26 store double %23, ptr %27, align 8 br label %28 28: ; preds = %13 %29 = load i32, ptr %7, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %7, align 4 br label %9, !llvm.loop !6 31: ; preds = %9 ret void } ; Function Attrs: nounwind declare double @exp(double noundef) #1 ; Function Attrs: nounwind declare double @pow(double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpoq0bg5mp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @initial_condition(ptr noundef %0, i32 noundef %1, double noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca double, align 8 %7 = alloca i32, align 4 %8 = alloca double, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store double %2, ptr %6, align 8 store i32 0, ptr %7, align 4 %9 = load i32, ptr %7, align 4 %10 = load i32, ptr %5, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %.lr.ph, label %33 .lr.ph: ; preds = %3 br label %12 12: ; preds = %.lr.ph, %27 %13 = load i32, ptr %7, align 4 %14 = sitofp i32 %13 to double %15 = load double, ptr %6, align 8 %16 = fmul double %14, %15 store double %16, ptr %8, align 8 %17 = load double, ptr %8, align 8 %18 = fsub double %17, 3.000000e-01 %19 = call double @pow(double noundef %18, double noundef 2.000000e+00) #2 %20 = fneg double %19 %21 = fdiv double %20, 1.000000e-02 %22 = call double @exp(double noundef %21) #2 %23 = load ptr, ptr %4, align 8 %24 = load i32, ptr %7, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds double, ptr %23, i64 %25 store double %22, ptr %26, align 8 br label %27 27: ; preds = %12 %28 = load i32, ptr %7, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %7, align 4 %30 = load i32, ptr %7, align 4 %31 = load i32, ptr %5, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %33 33: ; preds = %._crit_edge, %3 ret void } ; Function Attrs: nounwind declare double @exp(double noundef) #1 ; Function Attrs: nounwind declare double @pow(double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpll4vez8x.c' source_filename = "/tmp/tmpll4vez8x.c" target datalayout = "e-m:e-p270: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/tmpll4vez8x.c" target datalayout = "e-m:e-p270: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/tmpliruyo5c.c' source_filename = "/tmp/tmpliruyo5c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Get_args(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store i32 %0, ptr %6, align 4 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %11 = load i32, ptr %6, align 4 %12 = icmp ne i32 %11, 4 br i1 %12, label %13, label %18 13: ; preds = %5 %14 = load ptr, ptr %7, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 0 %16 = load ptr, ptr %15, align 8 %17 = call i32 @Usage(ptr noundef %16) br label %18 18: ; preds = %13, %5 %19 = load ptr, ptr %7, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 1 %21 = load ptr, ptr %20, align 8 %22 = call i32 @strtol(ptr noundef %21, ptr noundef null, i32 noundef 10) %23 = load ptr, ptr %8, align 8 store i32 %22, ptr %23, align 4 %24 = load ptr, ptr %7, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 2 %26 = load ptr, ptr %25, align 8 %27 = call i32 @strtol(ptr noundef %26, ptr noundef null, i32 noundef 10) %28 = load ptr, ptr %9, align 8 store i32 %27, ptr %28, align 4 %29 = load ptr, ptr %7, align 8 %30 = getelementptr inbounds ptr, ptr %29, i64 3 %31 = load ptr, ptr %30, align 8 %32 = call i32 @strtol(ptr noundef %31, ptr noundef null, i32 noundef 10) %33 = load ptr, ptr %10, align 8 store i32 %32, ptr %33, align 4 %34 = load ptr, ptr %8, align 8 %35 = load i32, ptr %34, align 4 %36 = icmp sle i32 %35, 0 br i1 %36, label %45, label %37 37: ; preds = %18 %38 = load ptr, ptr %9, align 8 %39 = load i32, ptr %38, align 4 %40 = icmp sle i32 %39, 0 br i1 %40, label %45, label %41 41: ; preds = %37 %42 = load ptr, ptr %10, align 8 %43 = load i32, ptr %42, align 4 %44 = icmp sle i32 %43, 0 br i1 %44, label %45, label %50 45: ; preds = %41, %37, %18 %46 = load ptr, ptr %7, align 8 %47 = getelementptr inbounds ptr, ptr %46, i64 0 %48 = load ptr, ptr %47, align 8 %49 = call i32 @Usage(ptr noundef %48) br label %50 50: ; preds = %45, %41 ret void } declare i32 @Usage(ptr noundef) #1 declare i32 @strtol(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/tmpliruyo5c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Get_args(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store i32 %0, ptr %6, align 4 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %11 = load i32, ptr %6, align 4 %12 = icmp ne i32 %11, 4 br i1 %12, label %13, label %18 13: ; preds = %5 %14 = load ptr, ptr %7, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 0 %16 = load ptr, ptr %15, align 8 %17 = call i32 @Usage(ptr noundef %16) br label %18 18: ; preds = %13, %5 %19 = load ptr, ptr %7, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 1 %21 = load ptr, ptr %20, align 8 %22 = call i32 @strtol(ptr noundef %21, ptr noundef null, i32 noundef 10) %23 = load ptr, ptr %8, align 8 store i32 %22, ptr %23, align 4 %24 = load ptr, ptr %7, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 2 %26 = load ptr, ptr %25, align 8 %27 = call i32 @strtol(ptr noundef %26, ptr noundef null, i32 noundef 10) %28 = load ptr, ptr %9, align 8 store i32 %27, ptr %28, align 4 %29 = load ptr, ptr %7, align 8 %30 = getelementptr inbounds ptr, ptr %29, i64 3 %31 = load ptr, ptr %30, align 8 %32 = call i32 @strtol(ptr noundef %31, ptr noundef null, i32 noundef 10) %33 = load ptr, ptr %10, align 8 store i32 %32, ptr %33, align 4 %34 = load ptr, ptr %8, align 8 %35 = load i32, ptr %34, align 4 %36 = icmp sle i32 %35, 0 br i1 %36, label %45, label %37 37: ; preds = %18 %38 = load ptr, ptr %9, align 8 %39 = load i32, ptr %38, align 4 %40 = icmp sle i32 %39, 0 br i1 %40, label %45, label %41 41: ; preds = %37 %42 = load ptr, ptr %10, align 8 %43 = load i32, ptr %42, align 4 %44 = icmp sle i32 %43, 0 br i1 %44, label %45, label %50 45: ; preds = %41, %37, %18 %46 = load ptr, ptr %7, align 8 %47 = getelementptr inbounds ptr, ptr %46, i64 0 %48 = load ptr, ptr %47, align 8 %49 = call i32 @Usage(ptr noundef %48) br label %50 50: ; preds = %45, %41 ret void } declare i32 @Usage(ptr noundef) #1 declare i32 @strtol(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/tmpeddbj0fp.c' source_filename = "/tmp/tmpeddbj0fp.c" target datalayout = "e-m:e-p270: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/tmpeddbj0fp.c" target datalayout = "e-m:e-p270: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/tmp9k6w8iq1.c' source_filename = "/tmp/tmp9k6w8iq1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"/bin/sh\00", align 1 @__const.get_shell.argv = private unnamed_addr constant [2 x ptr] [ptr @.str, ptr null], align 16 @.str.1 = private unnamed_addr constant [30 x i8] c"[+] Root shell success !! :)\0A\00", align 1 @.str.2 = private unnamed_addr constant [33 x i8] c"[-] failed to get root shell :(\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @get_shell() #0 { %1 = alloca [2 x ptr], align 16 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.get_shell.argv, i64 16, i1 false) %2 = call i64 (...) @getuid() %3 = icmp eq i64 %2, 0 br i1 %3, label %4, label %8 4: ; preds = %0 %5 = call i32 @printf(ptr noundef @.str.1) %6 = getelementptr inbounds [2 x ptr], ptr %1, i64 0, i64 0 %7 = call i32 @execve(ptr noundef @.str, ptr noundef %6, ptr noundef null) br label %8 8: ; preds = %4, %0 %9 = call i32 @printf(ptr noundef @.str.2) 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 i64 @getuid(...) #2 declare i32 @printf(ptr noundef) #2 declare i32 @execve(ptr noundef, 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/tmp9k6w8iq1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"/bin/sh\00", align 1 @__const.get_shell.argv = private unnamed_addr constant [2 x ptr] [ptr @.str, ptr null], align 16 @.str.1 = private unnamed_addr constant [30 x i8] c"[+] Root shell success !! :)\0A\00", align 1 @.str.2 = private unnamed_addr constant [33 x i8] c"[-] failed to get root shell :(\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @get_shell() #0 { %1 = alloca [2 x ptr], align 16 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.get_shell.argv, i64 16, i1 false) %2 = call i64 (...) @getuid() %3 = icmp eq i64 %2, 0 br i1 %3, label %4, label %8 4: ; preds = %0 %5 = call i32 @printf(ptr noundef @.str.1) %6 = getelementptr inbounds [2 x ptr], ptr %1, i64 0, i64 0 %7 = call i32 @execve(ptr noundef @.str, ptr noundef %6, ptr noundef null) br label %8 8: ; preds = %4, %0 %9 = call i32 @printf(ptr noundef @.str.2) 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 i64 @getuid(...) #2 declare i32 @printf(ptr noundef) #2 declare i32 @execve(ptr noundef, 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/tmpwxy4h44d.c' source_filename = "/tmp/tmpwxy4h44d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SSIZE_MAX = dso_local global i64 0, align 8 @.str = private unnamed_addr constant [15 x i8] c"read too large\00", align 1 @errno = dso_local global i64 0, align 8 @EINTR = dso_local global i64 0, align 8 @EWOULDBLOCK = dso_local global i64 0, align 8 @EAGAIN = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [11 x i8] c"read error\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"connection closed\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ssh_net_read(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %11 = load i64, ptr %7, align 8 %12 = load i64, ptr @SSIZE_MAX, align 8 %13 = icmp ugt i64 %11, %12 br i1 %13, label %14, label %16 14: ; preds = %3 %15 = call i32 @ssh_set_error(ptr noundef @.str) store i64 0, ptr @errno, align 8 store i32 -1, ptr %4, align 4 br label %67 16: ; preds = %3 %17 = load ptr, ptr %6, align 8 store ptr %17, ptr %9, align 8 %18 = load i64, ptr %7, align 8 %19 = trunc i64 %18 to i32 store i32 %19, ptr %8, align 4 br label %20 20: ; preds = %56, %34, %16 %21 = load i32, ptr %8, align 4 %22 = icmp sgt i32 %21, 0 br i1 %22, label %23, label %64 23: ; preds = %20 %24 = load i32, ptr %5, align 4 %25 = load ptr, ptr %9, align 8 %26 = load i32, ptr %8, align 4 %27 = call i32 @read(i32 noundef %24, ptr noundef %25, i32 noundef %26) store i32 %27, ptr %10, align 4 %28 = load i32, ptr %10, align 4 %29 = icmp slt i32 %28, 0 br i1 %29, label %30, label %51 30: ; preds = %23 %31 = load i64, ptr @errno, align 8 %32 = load i64, ptr @EINTR, align 8 %33 = icmp eq i64 %31, %32 br i1 %33, label %34, label %35 34: ; preds = %30 br label %20, !llvm.loop !6 35: ; preds = %30 %36 = load i64, ptr @errno, align 8 %37 = load i64, ptr @EWOULDBLOCK, align 8 %38 = icmp eq i64 %36, %37 br i1 %38, label %43, label %39 39: ; preds = %35 %40 = load i64, ptr @errno, align 8 %41 = load i64, ptr @EAGAIN, align 8 %42 = icmp eq i64 %40, %41 br i1 %42, label %43, label %49 43: ; preds = %39, %35 %44 = load i64, ptr %7, align 8 %45 = load i32, ptr %8, align 4 %46 = sext i32 %45 to i64 %47 = sub i64 %44, %46 %48 = trunc i64 %47 to i32 store i32 %48, ptr %4, align 4 br label %67 49: ; preds = %39 %50 = call i32 @ssh_set_error(ptr noundef @.str.1) store i32 -1, ptr %4, align 4 br label %67 51: ; preds = %23 %52 = load i32, ptr %10, align 4 %53 = icmp eq i32 %52, 0 br i1 %53, label %54, label %56 54: ; preds = %51 %55 = call i32 @ssh_set_error(ptr noundef @.str.2) store i64 0, ptr @errno, align 8 store i32 -1, ptr %4, align 4 br label %67 56: ; preds = %51 %57 = load i32, ptr %10, align 4 %58 = load ptr, ptr %9, align 8 %59 = sext i32 %57 to i64 %60 = getelementptr inbounds i32, ptr %58, i64 %59 store ptr %60, ptr %9, align 8 %61 = load i32, ptr %10, align 4 %62 = load i32, ptr %8, align 4 %63 = sub nsw i32 %62, %61 store i32 %63, ptr %8, align 4 br label %20, !llvm.loop !6 64: ; preds = %20 %65 = load i64, ptr %7, align 8 %66 = trunc i64 %65 to i32 store i32 %66, ptr %4, align 4 br label %67 67: ; preds = %64, %54, %49, %43, %14 %68 = load i32, ptr %4, align 4 ret i32 %68 } declare i32 @ssh_set_error(ptr noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpwxy4h44d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SSIZE_MAX = dso_local global i64 0, align 8 @.str = private unnamed_addr constant [15 x i8] c"read too large\00", align 1 @errno = dso_local global i64 0, align 8 @EINTR = dso_local global i64 0, align 8 @EWOULDBLOCK = dso_local global i64 0, align 8 @EAGAIN = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [11 x i8] c"read error\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"connection closed\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ssh_net_read(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %11 = load i64, ptr %7, align 8 %12 = load i64, ptr @SSIZE_MAX, align 8 %13 = icmp ugt i64 %11, %12 br i1 %13, label %14, label %16 14: ; preds = %3 %15 = call i32 @ssh_set_error(ptr noundef @.str) store i64 0, ptr @errno, align 8 store i32 -1, ptr %4, align 4 br label %68 16: ; preds = %3 %17 = load ptr, ptr %6, align 8 store ptr %17, ptr %9, align 8 %18 = load i64, ptr %7, align 8 %19 = trunc i64 %18 to i32 store i32 %19, ptr %8, align 4 %20 = load i32, ptr %8, align 4 %21 = icmp sgt i32 %20, 0 br i1 %21, label %.lr.ph, label %65 .lr.ph: ; preds = %16 br label %22 22: ; preds = %.lr.ph, %.backedge %23 = load i32, ptr %5, align 4 %24 = load ptr, ptr %9, align 8 %25 = load i32, ptr %8, align 4 %26 = call i32 @read(i32 noundef %23, ptr noundef %24, i32 noundef %25) store i32 %26, ptr %10, align 4 %27 = load i32, ptr %10, align 4 %28 = icmp slt i32 %27, 0 br i1 %28, label %29, label %52 29: ; preds = %22 %30 = load i64, ptr @errno, align 8 %31 = load i64, ptr @EINTR, align 8 %32 = icmp eq i64 %30, %31 br i1 %32, label %33, label %36 33: ; preds = %29 br label %.backedge .backedge: ; preds = %33, %57 %34 = load i32, ptr %8, align 4 %35 = icmp sgt i32 %34, 0 br i1 %35, label %22, label %._crit_edge, !llvm.loop !6 36: ; preds = %29 %37 = load i64, ptr @errno, align 8 %38 = load i64, ptr @EWOULDBLOCK, align 8 %39 = icmp eq i64 %37, %38 br i1 %39, label %44, label %40 40: ; preds = %36 %41 = load i64, ptr @errno, align 8 %42 = load i64, ptr @EAGAIN, align 8 %43 = icmp eq i64 %41, %42 br i1 %43, label %44, label %50 44: ; preds = %40, %36 %45 = load i64, ptr %7, align 8 %46 = load i32, ptr %8, align 4 %47 = sext i32 %46 to i64 %48 = sub i64 %45, %47 %49 = trunc i64 %48 to i32 store i32 %49, ptr %4, align 4 br label %68 50: ; preds = %40 %51 = call i32 @ssh_set_error(ptr noundef @.str.1) store i32 -1, ptr %4, align 4 br label %68 52: ; preds = %22 %53 = load i32, ptr %10, align 4 %54 = icmp eq i32 %53, 0 br i1 %54, label %55, label %57 55: ; preds = %52 %56 = call i32 @ssh_set_error(ptr noundef @.str.2) store i64 0, ptr @errno, align 8 store i32 -1, ptr %4, align 4 br label %68 57: ; preds = %52 %58 = load i32, ptr %10, align 4 %59 = load ptr, ptr %9, align 8 %60 = sext i32 %58 to i64 %61 = getelementptr inbounds i32, ptr %59, i64 %60 store ptr %61, ptr %9, align 8 %62 = load i32, ptr %10, align 4 %63 = load i32, ptr %8, align 4 %64 = sub nsw i32 %63, %62 store i32 %64, ptr %8, align 4 br label %.backedge ._crit_edge: ; preds = %.backedge br label %65 65: ; preds = %._crit_edge, %16 %66 = load i64, ptr %7, align 8 %67 = trunc i64 %66 to i32 store i32 %67, ptr %4, align 4 br label %68 68: ; preds = %65, %55, %50, %44, %14 %69 = load i32, ptr %4, align 4 ret i32 %69 } declare i32 @ssh_set_error(ptr noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp6iig3c1q.c' source_filename = "/tmp/tmp6iig3c1q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"Version: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"0.1\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @version() #0 { %1 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1) 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/tmp6iig3c1q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"Version: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"0.1\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @version() #0 { %1 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1) 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/tmp0a8w9upx.c' source_filename = "/tmp/tmp0a8w9upx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 i32, align 4 %4 = alloca i32, align 4 %5 = alloca [500 x i32], align 16 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) store i32 0, ptr %6, align 4 br label %8 8: ; preds = %17, %0 %9 = load i32, ptr %6, align 4 %10 = load i32, ptr %2, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %12, label %20 12: ; preds = %8 %13 = load i32, ptr %6, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds [500 x i32], ptr %5, i64 0, i64 %14 %16 = call i32 @scanf(ptr noundef @.str, ptr noundef %15) br label %17 17: ; preds = %12 %18 = load i32, ptr %6, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %6, align 4 br label %8, !llvm.loop !6 20: ; preds = %8 %21 = getelementptr inbounds [500 x i32], ptr %5, i64 0, i64 0 %22 = load i32, ptr %2, align 4 %23 = call i32 @minmax(ptr noundef %21, i32 noundef %22, ptr noundef %3, ptr noundef %4) %24 = load i32, ptr %4, align 4 %25 = load i32, ptr %3, align 4 %26 = add nsw i32 %24, %25 %27 = call i32 @printf(ptr noundef @.str, i32 noundef %26) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @minmax(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0a8w9upx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 i32, align 4 %4 = alloca i32, align 4 %5 = alloca [500 x i32], align 16 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) store i32 0, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = load i32, ptr %2, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %.lr.ph, label %22 .lr.ph: ; preds = %0 br label %11 11: ; preds = %.lr.ph, %16 %12 = load i32, ptr %6, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds [500 x i32], ptr %5, i64 0, i64 %13 %15 = call i32 @scanf(ptr noundef @.str, ptr noundef %14) br label %16 16: ; preds = %11 %17 = load i32, ptr %6, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %6, align 4 %19 = load i32, ptr %6, align 4 %20 = load i32, ptr %2, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %22 22: ; preds = %._crit_edge, %0 %23 = getelementptr inbounds [500 x i32], ptr %5, i64 0, i64 0 %24 = load i32, ptr %2, align 4 %25 = call i32 @minmax(ptr noundef %23, i32 noundef %24, ptr noundef %3, ptr noundef %4) %26 = load i32, ptr %4, align 4 %27 = load i32, ptr %3, align 4 %28 = add nsw i32 %26, %27 %29 = call i32 @printf(ptr noundef @.str, i32 noundef %28) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @minmax(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpi5p7ob5i.c' source_filename = "/tmp/tmpi5p7ob5i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @midi_mem_calloc(i32 noundef %0, i64 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 store i32 %0, ptr %5, align 4 store i64 %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %10 = load i32, ptr %5, align 4 %11 = icmp sgt i32 %10, 0 %12 = zext i1 %11 to i32 %13 = call i32 @assert(i32 noundef %12) %14 = load i64, ptr %6, align 8 %15 = icmp sgt i64 %14, 0 %16 = zext i1 %15 to i32 %17 = call i32 @assert(i32 noundef %16) %18 = load i32, ptr %5, align 4 %19 = load i64, ptr %6, align 8 %20 = call ptr @calloc(i32 noundef %18, i64 noundef %19) store ptr %20, ptr %9, align 8 %21 = load ptr, ptr %9, align 8 %22 = icmp ne ptr %21, null %23 = zext i1 %22 to i32 %24 = call i32 @assert(i32 noundef %23) %25 = load ptr, ptr %9, align 8 ret ptr %25 } declare i32 @assert(i32 noundef) #1 declare ptr @calloc(i32 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi5p7ob5i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @midi_mem_calloc(i32 noundef %0, i64 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 store i32 %0, ptr %5, align 4 store i64 %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %10 = load i32, ptr %5, align 4 %11 = icmp sgt i32 %10, 0 %12 = zext i1 %11 to i32 %13 = call i32 @assert(i32 noundef %12) %14 = load i64, ptr %6, align 8 %15 = icmp sgt i64 %14, 0 %16 = zext i1 %15 to i32 %17 = call i32 @assert(i32 noundef %16) %18 = load i32, ptr %5, align 4 %19 = load i64, ptr %6, align 8 %20 = call ptr @calloc(i32 noundef %18, i64 noundef %19) store ptr %20, ptr %9, align 8 %21 = load ptr, ptr %9, align 8 %22 = icmp ne ptr %21, null %23 = zext i1 %22 to i32 %24 = call i32 @assert(i32 noundef %23) %25 = load ptr, ptr %9, align 8 ret ptr %25 } declare i32 @assert(i32 noundef) #1 declare ptr @calloc(i32 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpeamnyhaw.c' source_filename = "/tmp/tmpeamnyhaw.c" target datalayout = "e-m:e-p270: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/tmpeamnyhaw.c" target datalayout = "e-m:e-p270: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/tmpvqydd341.c' source_filename = "/tmp/tmpvqydd341.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) %9 = call i32 @scanf(ptr noundef @.str, ptr noundef %4) %10 = load i32, ptr %2, align 4 %11 = load i32, ptr %4, align 4 %12 = shl i32 1, %11 %13 = and i32 %10, %12 store i32 %13, ptr %6, align 4 %14 = load i32, ptr %6, align 4 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %19 16: ; preds = %0 %17 = load i32, ptr %3, align 4 %18 = icmp eq i32 %17, 0 br i1 %18, label %25, label %19 19: ; preds = %16, %0 %20 = load i32, ptr %6, align 4 %21 = icmp ne i32 %20, 0 br i1 %21, label %22, label %28 22: ; preds = %19 %23 = load i32, ptr %3, align 4 %24 = icmp eq i32 %23, 1 br i1 %24, label %25, label %28 25: ; preds = %22, %16 %26 = load i32, ptr %2, align 4 %27 = call i32 @printf(ptr noundef @.str, i32 noundef %26) br label %44 28: ; preds = %22, %19 %29 = load i32, ptr %3, align 4 %30 = icmp eq i32 %29, 0 br i1 %30, label %31, label %36 31: ; preds = %28 %32 = load i32, ptr %2, align 4 %33 = load i32, ptr %4, align 4 %34 = shl i32 1, %33 %35 = xor i32 %32, %34 store i32 %35, ptr %5, align 4 br label %41 36: ; preds = %28 %37 = load i32, ptr %2, align 4 %38 = load i32, ptr %4, align 4 %39 = shl i32 1, %38 %40 = or i32 %37, %39 store i32 %40, ptr %5, align 4 br label %41 41: ; preds = %36, %31 %42 = load i32, ptr %5, align 4 %43 = call i32 @printf(ptr noundef @.str, i32 noundef %42) br label %44 44: ; preds = %41, %25 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvqydd341.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) %9 = call i32 @scanf(ptr noundef @.str, ptr noundef %4) %10 = load i32, ptr %2, align 4 %11 = load i32, ptr %4, align 4 %12 = shl i32 1, %11 %13 = and i32 %10, %12 store i32 %13, ptr %6, align 4 %14 = load i32, ptr %6, align 4 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %19 16: ; preds = %0 %17 = load i32, ptr %3, align 4 %18 = icmp eq i32 %17, 0 br i1 %18, label %25, label %19 19: ; preds = %16, %0 %20 = load i32, ptr %6, align 4 %21 = icmp ne i32 %20, 0 br i1 %21, label %22, label %28 22: ; preds = %19 %23 = load i32, ptr %3, align 4 %24 = icmp eq i32 %23, 1 br i1 %24, label %25, label %28 25: ; preds = %22, %16 %26 = load i32, ptr %2, align 4 %27 = call i32 @printf(ptr noundef @.str, i32 noundef %26) br label %44 28: ; preds = %22, %19 %29 = load i32, ptr %3, align 4 %30 = icmp eq i32 %29, 0 br i1 %30, label %31, label %36 31: ; preds = %28 %32 = load i32, ptr %2, align 4 %33 = load i32, ptr %4, align 4 %34 = shl i32 1, %33 %35 = xor i32 %32, %34 store i32 %35, ptr %5, align 4 br label %41 36: ; preds = %28 %37 = load i32, ptr %2, align 4 %38 = load i32, ptr %4, align 4 %39 = shl i32 1, %38 %40 = or i32 %37, %39 store i32 %40, ptr %5, align 4 br label %41 41: ; preds = %36, %31 %42 = load i32, ptr %5, align 4 %43 = call i32 @printf(ptr noundef @.str, i32 noundef %42) br label %44 44: ; preds = %41, %25 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6qt2wgbv.c' source_filename = "/tmp/tmp6qt2wgbv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @R_OK = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @file_is_readable(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = load i32, ptr @R_OK, align 4 %6 = call i32 @access(ptr noundef %4, i32 noundef %5) %7 = icmp ne i32 %6, -1 br i1 %7, label %8, label %9 8: ; preds = %1 store i32 1, ptr %2, align 4 br label %10 9: ; preds = %1 store i32 0, ptr %2, align 4 br label %10 10: ; preds = %9, %8 %11 = load i32, ptr %2, align 4 ret i32 %11 } declare i32 @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/tmp6qt2wgbv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @R_OK = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @file_is_readable(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = load i32, ptr @R_OK, align 4 %6 = call i32 @access(ptr noundef %4, i32 noundef %5) %7 = icmp ne i32 %6, -1 br i1 %7, label %8, label %9 8: ; preds = %1 store i32 1, ptr %2, align 4 br label %10 9: ; preds = %1 store i32 0, ptr %2, align 4 br label %10 10: ; preds = %9, %8 %11 = load i32, ptr %2, align 4 ret i32 %11 } declare i32 @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/tmpoooe2t6m.c' source_filename = "/tmp/tmpoooe2t6m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [30 x i8] c"Teste of randomqtdPayer()...\0A\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"Found: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_randomqtdPayer() #0 { %1 = alloca i32, align 4 %2 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %1, align 4 %3 = call i32 @randomqtdPayer(ptr noundef %1) %4 = load i32, ptr %1, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %4) ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @randomqtdPayer(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpoooe2t6m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [30 x i8] c"Teste of randomqtdPayer()...\0A\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"Found: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_randomqtdPayer() #0 { %1 = alloca i32, align 4 %2 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %1, align 4 %3 = call i32 @randomqtdPayer(ptr noundef %1) %4 = load i32, ptr %1, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %4) ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @randomqtdPayer(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpi5utzzdn.c' source_filename = "/tmp/tmpi5utzzdn.c" target datalayout = "e-m:e-p270: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 [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @endpost() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) 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/tmpi5utzzdn.c" target datalayout = "e-m:e-p270: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 [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @endpost() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) 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/tmplwn2w9vo.c' source_filename = "/tmp/tmplwn2w9vo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"Press enter to continue...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @pause() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 (...) @getchar() ret void } declare i32 @printf(ptr noundef) #1 declare i32 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplwn2w9vo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [28 x i8] c"Press enter to continue...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @pause() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 (...) @getchar() ret void } declare i32 @printf(ptr noundef) #1 declare i32 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp613ov7oo.c' source_filename = "/tmp/tmp613ov7oo.c" target datalayout = "e-m:e-p270: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.global_ctors = appending global [1 x { i32, ptr, ptr }] [{ i32, ptr, ptr } { i32 65535, ptr @easy_time_start_, ptr null }] ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @easy_time_start_() #0 { %1 = call i32 (...) @tzset() ret void } declare i32 @tzset(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp613ov7oo.c" target datalayout = "e-m:e-p270: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.global_ctors = appending global [1 x { i32, ptr, ptr }] [{ i32, ptr, ptr } { i32 65535, ptr @easy_time_start_, ptr null }] ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @easy_time_start_() #0 { %1 = call i32 (...) @tzset() ret void } declare i32 @tzset(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxd8x71yw.c' source_filename = "/tmp/tmpxd8x71yw.c" target datalayout = "e-m:e-p270: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/tmpxd8x71yw.c" target datalayout = "e-m:e-p270: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/tmpgaymehf3.c' source_filename = "/tmp/tmpgaymehf3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @utf8_next_char(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = icmp ne ptr %4, null br i1 %5, label %7, label %6 6: ; preds = %1 store ptr null, ptr %2, align 8 br label %90 7: ; preds = %1 %8 = load ptr, ptr %3, align 8 %9 = getelementptr inbounds i8, ptr %8, i64 0 %10 = load i8, ptr %9, align 1 %11 = zext i8 %10 to i32 %12 = and i32 %11, 224 %13 = icmp eq i32 %12, 192 br i1 %13, label %14, label %25 14: ; preds = %7 %15 = load ptr, ptr %3, align 8 %16 = getelementptr inbounds i8, ptr %15, i64 1 %17 = load i8, ptr %16, align 1 %18 = icmp ne i8 %17, 0 br i1 %18, label %22, label %19 19: ; preds = %14 %20 = load ptr, ptr %3, align 8 %21 = getelementptr inbounds i8, ptr %20, i64 1 store ptr %21, ptr %2, align 8 br label %90 22: ; preds = %14 %23 = load ptr, ptr %3, align 8 %24 = getelementptr inbounds i8, ptr %23, i64 2 store ptr %24, ptr %2, align 8 br label %90 25: ; preds = %7 %26 = load ptr, ptr %3, align 8 %27 = getelementptr inbounds i8, ptr %26, i64 0 %28 = load i8, ptr %27, align 1 %29 = zext i8 %28 to i32 %30 = and i32 %29, 240 %31 = icmp eq i32 %30, 224 br i1 %31, label %32, label %51 32: ; preds = %25 %33 = load ptr, ptr %3, align 8 %34 = getelementptr inbounds i8, ptr %33, i64 1 %35 = load i8, ptr %34, align 1 %36 = icmp ne i8 %35, 0 br i1 %36, label %40, label %37 37: ; preds = %32 %38 = load ptr, ptr %3, align 8 %39 = getelementptr inbounds i8, ptr %38, i64 1 store ptr %39, ptr %2, align 8 br label %90 40: ; preds = %32 %41 = load ptr, ptr %3, align 8 %42 = getelementptr inbounds i8, ptr %41, i64 2 %43 = load i8, ptr %42, align 1 %44 = icmp ne i8 %43, 0 br i1 %44, label %48, label %45 45: ; preds = %40 %46 = load ptr, ptr %3, align 8 %47 = getelementptr inbounds i8, ptr %46, i64 2 store ptr %47, ptr %2, align 8 br label %90 48: ; preds = %40 %49 = load ptr, ptr %3, align 8 %50 = getelementptr inbounds i8, ptr %49, i64 3 store ptr %50, ptr %2, align 8 br label %90 51: ; preds = %25 %52 = load ptr, ptr %3, align 8 %53 = getelementptr inbounds i8, ptr %52, i64 0 %54 = load i8, ptr %53, align 1 %55 = zext i8 %54 to i32 %56 = and i32 %55, 248 %57 = icmp eq i32 %56, 240 br i1 %57, label %58, label %85 58: ; preds = %51 %59 = load ptr, ptr %3, align 8 %60 = getelementptr inbounds i8, ptr %59, i64 1 %61 = load i8, ptr %60, align 1 %62 = icmp ne i8 %61, 0 br i1 %62, label %66, label %63 63: ; preds = %58 %64 = load ptr, ptr %3, align 8 %65 = getelementptr inbounds i8, ptr %64, i64 1 store ptr %65, ptr %2, align 8 br label %90 66: ; preds = %58 %67 = load ptr, ptr %3, align 8 %68 = getelementptr inbounds i8, ptr %67, i64 2 %69 = load i8, ptr %68, align 1 %70 = icmp ne i8 %69, 0 br i1 %70, label %74, label %71 71: ; preds = %66 %72 = load ptr, ptr %3, align 8 %73 = getelementptr inbounds i8, ptr %72, i64 2 store ptr %73, ptr %2, align 8 br label %90 74: ; preds = %66 %75 = load ptr, ptr %3, align 8 %76 = getelementptr inbounds i8, ptr %75, i64 3 %77 = load i8, ptr %76, align 1 %78 = icmp ne i8 %77, 0 br i1 %78, label %82, label %79 79: ; preds = %74 %80 = load ptr, ptr %3, align 8 %81 = getelementptr inbounds i8, ptr %80, i64 3 store ptr %81, ptr %2, align 8 br label %90 82: ; preds = %74 %83 = load ptr, ptr %3, align 8 %84 = getelementptr inbounds i8, ptr %83, i64 4 store ptr %84, ptr %2, align 8 br label %90 85: ; preds = %51 br label %86 86: ; preds = %85 br label %87 87: ; preds = %86 %88 = load ptr, ptr %3, align 8 %89 = getelementptr inbounds i8, ptr %88, i64 1 store ptr %89, ptr %2, align 8 br label %90 90: ; preds = %87, %82, %79, %71, %63, %48, %45, %37, %22, %19, %6 %91 = load ptr, ptr %2, align 8 ret ptr %91 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgaymehf3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @utf8_next_char(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = icmp ne ptr %4, null br i1 %5, label %7, label %6 6: ; preds = %1 store ptr null, ptr %2, align 8 br label %90 7: ; preds = %1 %8 = load ptr, ptr %3, align 8 %9 = getelementptr inbounds i8, ptr %8, i64 0 %10 = load i8, ptr %9, align 1 %11 = zext i8 %10 to i32 %12 = and i32 %11, 224 %13 = icmp eq i32 %12, 192 br i1 %13, label %14, label %25 14: ; preds = %7 %15 = load ptr, ptr %3, align 8 %16 = getelementptr inbounds i8, ptr %15, i64 1 %17 = load i8, ptr %16, align 1 %18 = icmp ne i8 %17, 0 br i1 %18, label %22, label %19 19: ; preds = %14 %20 = load ptr, ptr %3, align 8 %21 = getelementptr inbounds i8, ptr %20, i64 1 store ptr %21, ptr %2, align 8 br label %90 22: ; preds = %14 %23 = load ptr, ptr %3, align 8 %24 = getelementptr inbounds i8, ptr %23, i64 2 store ptr %24, ptr %2, align 8 br label %90 25: ; preds = %7 %26 = load ptr, ptr %3, align 8 %27 = getelementptr inbounds i8, ptr %26, i64 0 %28 = load i8, ptr %27, align 1 %29 = zext i8 %28 to i32 %30 = and i32 %29, 240 %31 = icmp eq i32 %30, 224 br i1 %31, label %32, label %51 32: ; preds = %25 %33 = load ptr, ptr %3, align 8 %34 = getelementptr inbounds i8, ptr %33, i64 1 %35 = load i8, ptr %34, align 1 %36 = icmp ne i8 %35, 0 br i1 %36, label %40, label %37 37: ; preds = %32 %38 = load ptr, ptr %3, align 8 %39 = getelementptr inbounds i8, ptr %38, i64 1 store ptr %39, ptr %2, align 8 br label %90 40: ; preds = %32 %41 = load ptr, ptr %3, align 8 %42 = getelementptr inbounds i8, ptr %41, i64 2 %43 = load i8, ptr %42, align 1 %44 = icmp ne i8 %43, 0 br i1 %44, label %48, label %45 45: ; preds = %40 %46 = load ptr, ptr %3, align 8 %47 = getelementptr inbounds i8, ptr %46, i64 2 store ptr %47, ptr %2, align 8 br label %90 48: ; preds = %40 %49 = load ptr, ptr %3, align 8 %50 = getelementptr inbounds i8, ptr %49, i64 3 store ptr %50, ptr %2, align 8 br label %90 51: ; preds = %25 %52 = load ptr, ptr %3, align 8 %53 = getelementptr inbounds i8, ptr %52, i64 0 %54 = load i8, ptr %53, align 1 %55 = zext i8 %54 to i32 %56 = and i32 %55, 248 %57 = icmp eq i32 %56, 240 br i1 %57, label %58, label %85 58: ; preds = %51 %59 = load ptr, ptr %3, align 8 %60 = getelementptr inbounds i8, ptr %59, i64 1 %61 = load i8, ptr %60, align 1 %62 = icmp ne i8 %61, 0 br i1 %62, label %66, label %63 63: ; preds = %58 %64 = load ptr, ptr %3, align 8 %65 = getelementptr inbounds i8, ptr %64, i64 1 store ptr %65, ptr %2, align 8 br label %90 66: ; preds = %58 %67 = load ptr, ptr %3, align 8 %68 = getelementptr inbounds i8, ptr %67, i64 2 %69 = load i8, ptr %68, align 1 %70 = icmp ne i8 %69, 0 br i1 %70, label %74, label %71 71: ; preds = %66 %72 = load ptr, ptr %3, align 8 %73 = getelementptr inbounds i8, ptr %72, i64 2 store ptr %73, ptr %2, align 8 br label %90 74: ; preds = %66 %75 = load ptr, ptr %3, align 8 %76 = getelementptr inbounds i8, ptr %75, i64 3 %77 = load i8, ptr %76, align 1 %78 = icmp ne i8 %77, 0 br i1 %78, label %82, label %79 79: ; preds = %74 %80 = load ptr, ptr %3, align 8 %81 = getelementptr inbounds i8, ptr %80, i64 3 store ptr %81, ptr %2, align 8 br label %90 82: ; preds = %74 %83 = load ptr, ptr %3, align 8 %84 = getelementptr inbounds i8, ptr %83, i64 4 store ptr %84, ptr %2, align 8 br label %90 85: ; preds = %51 br label %86 86: ; preds = %85 br label %87 87: ; preds = %86 %88 = load ptr, ptr %3, align 8 %89 = getelementptr inbounds i8, ptr %88, i64 1 store ptr %89, ptr %2, align 8 br label %90 90: ; preds = %87, %82, %79, %71, %63, %48, %45, %37, %22, %19, %6 %91 = load ptr, ptr %2, align 8 ret ptr %91 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpj7kh4cn8.c' source_filename = "/tmp/tmpj7kh4cn8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c":\09`\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"'\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fmtchk(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load i32, ptr @stdout, align 4 %5 = call i32 @fputs(ptr noundef %3, i32 noundef %4) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = load ptr, ptr %2, align 8 %8 = call i32 (ptr, ...) @printf(ptr noundef %7, i32 noundef 18) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret void } declare i32 @fputs(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpj7kh4cn8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c":\09`\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"'\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fmtchk(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load i32, ptr @stdout, align 4 %5 = call i32 @fputs(ptr noundef %3, i32 noundef %4) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = load ptr, ptr %2, align 8 %8 = call i32 (ptr, ...) @printf(ptr noundef %7, i32 noundef 18) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret void } declare i32 @fputs(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9e7gjsi0.c' source_filename = "/tmp/tmp9e7gjsi0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [43 x i8] c"Height or width too small for decimation.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @decimate(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = 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 %11 = load ptr, ptr %6, align 8 %12 = load i32, ptr %11, align 4 %13 = icmp ult i32 %12, 2 br i1 %13, label %18, label %14 14: ; preds = %3 %15 = load ptr, ptr %5, align 8 %16 = load i32, ptr %15, align 4 %17 = icmp ult i32 %16, 2 br i1 %17, label %18, label %20 18: ; preds = %14, %3 %19 = call i32 @printf(ptr noundef @.str) br label %66 20: ; preds = %14 %21 = load ptr, ptr %4, align 8 store ptr %21, ptr %7, align 8 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 br label %22 22: ; preds = %54, %20 %23 = load i32, ptr %9, align 4 %24 = load ptr, ptr %6, align 8 %25 = load i32, ptr %24, align 4 %26 = sub i32 %25, 1 %27 = icmp ult i32 %23, %26 br i1 %27, label %28, label %57 28: ; preds = %22 %29 = load i32, ptr %9, align 4 %30 = load ptr, ptr %5, align 8 %31 = load i32, ptr %30, align 4 %32 = mul i32 %29, %31 store i32 %32, ptr %8, align 4 store i32 0, ptr %10, align 4 br label %33 33: ; preds = %50, %28 %34 = load i32, ptr %10, align 4 %35 = load ptr, ptr %5, align 8 %36 = load i32, ptr %35, align 4 %37 = sub i32 %36, 1 %38 = icmp ult i32 %34, %37 br i1 %38, label %39, label %53 39: ; preds = %33 %40 = load ptr, ptr %4, align 8 %41 = load i32, ptr %8, align 4 %42 = zext i32 %41 to i64 %43 = getelementptr inbounds i8, ptr %40, i64 %42 %44 = load i8, ptr %43, align 1 %45 = load ptr, ptr %7, align 8 store i8 %44, ptr %45, align 1 %46 = load ptr, ptr %7, align 8 %47 = getelementptr inbounds i8, ptr %46, i32 1 store ptr %47, ptr %7, align 8 %48 = load i32, ptr %8, align 4 %49 = add i32 %48, 2 store i32 %49, ptr %8, align 4 br label %50 50: ; preds = %39 %51 = load i32, ptr %10, align 4 %52 = add nsw i32 %51, 2 store i32 %52, ptr %10, align 4 br label %33, !llvm.loop !6 53: ; preds = %33 br label %54 54: ; preds = %53 %55 = load i32, ptr %9, align 4 %56 = add nsw i32 %55, 2 store i32 %56, ptr %9, align 4 br label %22, !llvm.loop !8 57: ; preds = %22 %58 = load ptr, ptr %5, align 8 %59 = load i32, ptr %58, align 4 %60 = udiv i32 %59, 2 %61 = load ptr, ptr %5, align 8 store i32 %60, ptr %61, align 4 %62 = load ptr, ptr %6, align 8 %63 = load i32, ptr %62, align 4 %64 = udiv i32 %63, 2 %65 = load ptr, ptr %6, align 8 store i32 %64, ptr %65, align 4 br label %66 66: ; preds = %57, %18 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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9e7gjsi0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [43 x i8] c"Height or width too small for decimation.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @decimate(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = 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 %11 = load ptr, ptr %6, align 8 %12 = load i32, ptr %11, align 4 %13 = icmp ult i32 %12, 2 br i1 %13, label %18, label %14 14: ; preds = %3 %15 = load ptr, ptr %5, align 8 %16 = load i32, ptr %15, align 4 %17 = icmp ult i32 %16, 2 br i1 %17, label %18, label %20 18: ; preds = %14, %3 %19 = call i32 @printf(ptr noundef @.str) br label %74 20: ; preds = %14 %21 = load ptr, ptr %4, align 8 store ptr %21, ptr %7, align 8 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 %22 = load i32, ptr %9, align 4 %23 = load ptr, ptr %6, align 8 %24 = load i32, ptr %23, align 4 %25 = sub i32 %24, 1 %26 = icmp ult i32 %22, %25 br i1 %26, label %.lr.ph2, label %65 .lr.ph2: ; preds = %20 br label %27 27: ; preds = %.lr.ph2, %57 %28 = load i32, ptr %9, align 4 %29 = load ptr, ptr %5, align 8 %30 = load i32, ptr %29, align 4 %31 = mul i32 %28, %30 store i32 %31, ptr %8, align 4 store i32 0, ptr %10, align 4 %32 = load i32, ptr %10, align 4 %33 = load ptr, ptr %5, align 8 %34 = load i32, ptr %33, align 4 %35 = sub i32 %34, 1 %36 = icmp ult i32 %32, %35 br i1 %36, label %.lr.ph, label %56 .lr.ph: ; preds = %27 br label %37 37: ; preds = %.lr.ph, %48 %38 = load ptr, ptr %4, align 8 %39 = load i32, ptr %8, align 4 %40 = zext i32 %39 to i64 %41 = getelementptr inbounds i8, ptr %38, i64 %40 %42 = load i8, ptr %41, align 1 %43 = load ptr, ptr %7, align 8 store i8 %42, ptr %43, align 1 %44 = load ptr, ptr %7, align 8 %45 = getelementptr inbounds i8, ptr %44, i32 1 store ptr %45, ptr %7, align 8 %46 = load i32, ptr %8, align 4 %47 = add i32 %46, 2 store i32 %47, ptr %8, align 4 br label %48 48: ; preds = %37 %49 = load i32, ptr %10, align 4 %50 = add nsw i32 %49, 2 store i32 %50, ptr %10, align 4 %51 = load i32, ptr %10, align 4 %52 = load ptr, ptr %5, align 8 %53 = load i32, ptr %52, align 4 %54 = sub i32 %53, 1 %55 = icmp ult i32 %51, %54 br i1 %55, label %37, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %48 br label %56 56: ; preds = %._crit_edge, %27 br label %57 57: ; preds = %56 %58 = load i32, ptr %9, align 4 %59 = add nsw i32 %58, 2 store i32 %59, ptr %9, align 4 %60 = load i32, ptr %9, align 4 %61 = load ptr, ptr %6, align 8 %62 = load i32, ptr %61, align 4 %63 = sub i32 %62, 1 %64 = icmp ult i32 %60, %63 br i1 %64, label %27, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %57 br label %65 65: ; preds = %._crit_edge3, %20 %66 = load ptr, ptr %5, align 8 %67 = load i32, ptr %66, align 4 %68 = udiv i32 %67, 2 %69 = load ptr, ptr %5, align 8 store i32 %68, ptr %69, align 4 %70 = load ptr, ptr %6, align 8 %71 = load i32, ptr %70, align 4 %72 = udiv i32 %71, 2 %73 = load ptr, ptr %6, align 8 store i32 %72, ptr %73, align 4 br label %74 74: ; preds = %65, %18 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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpsevxn891.c' source_filename = "/tmp/tmpsevxn891.c" target datalayout = "e-m:e-p270: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/tmpsevxn891.c" target datalayout = "e-m:e-p270: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/tmpnuit3zug.c' source_filename = "/tmp/tmpnuit3zug.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_RDONLY = 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/tmpnuit3zug.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_RDONLY = 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/tmpt2dcodbf.c' source_filename = "/tmp/tmpt2dcodbf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sys_stat64(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 @printargs(ptr noundef %3) ret i32 %4 } declare i32 @printargs(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpt2dcodbf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sys_stat64(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 @printargs(ptr noundef %3) ret i32 %4 } declare i32 @printargs(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8k5hxbpe.c' source_filename = "/tmp/tmp8k5hxbpe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @TimeCPU() #0 { %1 = call i64 (...) @get_cpu_secs() %2 = sitofp i64 %1 to double ret double %2 } declare i64 @get_cpu_secs(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8k5hxbpe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @TimeCPU() #0 { %1 = call i64 (...) @get_cpu_secs() %2 = sitofp i64 %1 to double ret double %2 } declare i64 @get_cpu_secs(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpu42ld2o0.c' source_filename = "/tmp/tmpu42ld2o0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @_SC_PAGESIZE = dso_local global i32 0, align 4 @PROT_NONE = dso_local global i32 0, align 4 @MAP_PRIVATE = dso_local global i32 0, align 4 @MAP_ANONYMOUS = dso_local global i32 0, align 4 @MAP_FAILED = dso_local global ptr null, align 8 @PROT_READ = dso_local global i32 0, align 4 @PROT_WRITE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca 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 i64, align 8 %8 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i32 10000000, ptr %3, align 4 store i32 4, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = mul nsw i32 100, %9 store i32 %10, ptr %6, align 4 %11 = load i32, ptr @_SC_PAGESIZE, align 4 %12 = call i64 @sysconf(i32 noundef %11) store i64 %12, ptr %8, align 8 %13 = load i64, ptr %8, align 8 %14 = icmp ult i64 %13, 8 br i1 %14, label %21, label %15 15: ; preds = %0 %16 = load i64, ptr %8, align 8 %17 = load i32, ptr %3, align 4 %18 = sext i32 %17 to i64 %19 = mul i64 %18, 8 %20 = icmp ugt i64 %16, %19 br i1 %20, label %21, label %22 21: ; preds = %15, %0 store i32 0, ptr %1, align 4 br label %120 22: ; preds = %15 %23 = load i32, ptr %3, align 4 %24 = load i32, ptr %5, align 4 %25 = mul nsw i32 %23, %24 %26 = sext i32 %25 to i64 %27 = mul i64 %26, 8 %28 = trunc i64 %27 to i32 %29 = load i32, ptr @PROT_NONE, align 4 %30 = load i32, ptr @MAP_PRIVATE, align 4 %31 = load i32, ptr @MAP_ANONYMOUS, align 4 %32 = or i32 %30, %31 %33 = call ptr @mmap(ptr noundef null, i32 noundef %28, i32 noundef %29, i32 noundef %32, i32 noundef -1, i32 noundef 0) store ptr %33, ptr %2, align 8 %34 = load ptr, ptr %2, align 8 %35 = load ptr, ptr @MAP_FAILED, align 8 %36 = icmp eq ptr %34, %35 br i1 %36, label %37, label %38 37: ; preds = %22 store i32 0, ptr %1, align 4 br label %120 38: ; preds = %22 %39 = load ptr, ptr %2, align 8 %40 = load i64, ptr %8, align 8 %41 = load i32, ptr @PROT_READ, align 4 %42 = load i32, ptr @PROT_WRITE, align 4 %43 = or i32 %41, %42 %44 = call i64 @mprotect(ptr noundef %39, i64 noundef %40, i32 noundef %43) %45 = icmp ne i64 %44, 0 br i1 %45, label %46, label %47 46: ; preds = %38 store i32 0, ptr %1, align 4 br label %120 47: ; preds = %38 %48 = load i32, ptr %3, align 4 %49 = sext i32 %48 to i64 %50 = mul i64 %49, 8 %51 = load i64, ptr %8, align 8 %52 = udiv i64 %50, %51 %53 = load i64, ptr %8, align 8 %54 = mul i64 %52, %53 store i64 %54, ptr %7, align 8 %55 = load ptr, ptr %2, align 8 %56 = load i64, ptr %7, align 8 %57 = getelementptr inbounds i8, ptr %55, i64 %56 %58 = load i64, ptr %8, align 8 %59 = load i32, ptr @PROT_READ, align 4 %60 = load i32, ptr @PROT_WRITE, align 4 %61 = or i32 %59, %60 %62 = call i64 @mprotect(ptr noundef %57, i64 noundef %58, i32 noundef %61) %63 = icmp ne i64 %62, 0 br i1 %63, label %64, label %65 64: ; preds = %47 store i32 0, ptr %1, align 4 br label %120 65: ; preds = %47 %66 = load i32, ptr %3, align 4 %67 = mul nsw i32 2, %66 %68 = sext i32 %67 to i64 %69 = mul i64 %68, 8 %70 = load i64, ptr %8, align 8 %71 = udiv i64 %69, %70 %72 = load i64, ptr %8, align 8 %73 = mul i64 %71, %72 store i64 %73, ptr %7, align 8 %74 = load ptr, ptr %2, align 8 %75 = load i64, ptr %7, align 8 %76 = getelementptr inbounds i8, ptr %74, i64 %75 %77 = load i64, ptr %8, align 8 %78 = load i32, ptr @PROT_READ, align 4 %79 = load i32, ptr @PROT_WRITE, align 4 %80 = or i32 %78, %79 %81 = call i64 @mprotect(ptr noundef %76, i64 noundef %77, i32 noundef %80) %82 = icmp ne i64 %81, 0 br i1 %82, label %83, label %84 83: ; preds = %65 store i32 0, ptr %1, align 4 br label %120 84: ; preds = %65 %85 = load i32, ptr %3, align 4 %86 = mul nsw i32 3, %85 %87 = sext i32 %86 to i64 %88 = mul i64 %87, 8 %89 = load i64, ptr %8, align 8 %90 = udiv i64 %88, %89 %91 = load i64, ptr %8, align 8 %92 = mul i64 %90, %91 store i64 %92, ptr %7, align 8 %93 = load ptr, ptr %2, align 8 %94 = load i64, ptr %7, align 8 %95 = getelementptr inbounds i8, ptr %93, i64 %94 %96 = load i64, ptr %8, align 8 %97 = load i32, ptr @PROT_READ, align 4 %98 = load i32, ptr @PROT_WRITE, align 4 %99 = or i32 %97, %98 %100 = call i64 @mprotect(ptr noundef %95, i64 noundef %96, i32 noundef %99) %101 = icmp ne i64 %100, 0 br i1 %101, label %102, label %103 102: ; preds = %84 store i32 0, ptr %1, align 4 br label %120 103: ; preds = %84 store i32 0, ptr %4, align 4 br label %104 104: ; preds = %115, %103 %105 = load i32, ptr %4, align 4 %106 = load i32, ptr %6, align 4 %107 = icmp slt i32 %105, %106 br i1 %107, label %108, label %119 108: ; preds = %104 %109 = load ptr, ptr %2, align 8 %110 = load i32, ptr %3, align 4 %111 = load i32, ptr %4, align 4 %112 = load i32, ptr %5, align 4 %113 = load i32, ptr %6, align 4 %114 = call i32 @test_func(ptr noundef %109, i32 noundef %110, i32 noundef %111, i32 noundef %112, i32 noundef %113) br label %115 115: ; preds = %108 %116 = load i32, ptr %5, align 4 %117 = load i32, ptr %4, align 4 %118 = add nsw i32 %117, %116 store i32 %118, ptr %4, align 4 br label %104, !llvm.loop !6 119: ; preds = %104 store i32 0, ptr %1, align 4 br label %120 120: ; preds = %119, %102, %83, %64, %46, %37, %21 %121 = load i32, ptr %1, align 4 ret i32 %121 } declare i64 @sysconf(i32 noundef) #1 declare ptr @mmap(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i64 @mprotect(ptr noundef, i64 noundef, i32 noundef) #1 declare i32 @test_func(ptr 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu42ld2o0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @_SC_PAGESIZE = dso_local global i32 0, align 4 @PROT_NONE = dso_local global i32 0, align 4 @MAP_PRIVATE = dso_local global i32 0, align 4 @MAP_ANONYMOUS = dso_local global i32 0, align 4 @MAP_FAILED = dso_local global ptr null, align 8 @PROT_READ = dso_local global i32 0, align 4 @PROT_WRITE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca 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 i64, align 8 %8 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i32 10000000, ptr %3, align 4 store i32 4, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = mul nsw i32 100, %9 store i32 %10, ptr %6, align 4 %11 = load i32, ptr @_SC_PAGESIZE, align 4 %12 = call i64 @sysconf(i32 noundef %11) store i64 %12, ptr %8, align 8 %13 = load i64, ptr %8, align 8 %14 = icmp ult i64 %13, 8 br i1 %14, label %21, label %15 15: ; preds = %0 %16 = load i64, ptr %8, align 8 %17 = load i32, ptr %3, align 4 %18 = sext i32 %17 to i64 %19 = mul i64 %18, 8 %20 = icmp ugt i64 %16, %19 br i1 %20, label %21, label %22 21: ; preds = %15, %0 store i32 0, ptr %1, align 4 br label %122 22: ; preds = %15 %23 = load i32, ptr %3, align 4 %24 = load i32, ptr %5, align 4 %25 = mul nsw i32 %23, %24 %26 = sext i32 %25 to i64 %27 = mul i64 %26, 8 %28 = trunc i64 %27 to i32 %29 = load i32, ptr @PROT_NONE, align 4 %30 = load i32, ptr @MAP_PRIVATE, align 4 %31 = load i32, ptr @MAP_ANONYMOUS, align 4 %32 = or i32 %30, %31 %33 = call ptr @mmap(ptr noundef null, i32 noundef %28, i32 noundef %29, i32 noundef %32, i32 noundef -1, i32 noundef 0) store ptr %33, ptr %2, align 8 %34 = load ptr, ptr %2, align 8 %35 = load ptr, ptr @MAP_FAILED, align 8 %36 = icmp eq ptr %34, %35 br i1 %36, label %37, label %38 37: ; preds = %22 store i32 0, ptr %1, align 4 br label %122 38: ; preds = %22 %39 = load ptr, ptr %2, align 8 %40 = load i64, ptr %8, align 8 %41 = load i32, ptr @PROT_READ, align 4 %42 = load i32, ptr @PROT_WRITE, align 4 %43 = or i32 %41, %42 %44 = call i64 @mprotect(ptr noundef %39, i64 noundef %40, i32 noundef %43) %45 = icmp ne i64 %44, 0 br i1 %45, label %46, label %47 46: ; preds = %38 store i32 0, ptr %1, align 4 br label %122 47: ; preds = %38 %48 = load i32, ptr %3, align 4 %49 = sext i32 %48 to i64 %50 = mul i64 %49, 8 %51 = load i64, ptr %8, align 8 %52 = udiv i64 %50, %51 %53 = load i64, ptr %8, align 8 %54 = mul i64 %52, %53 store i64 %54, ptr %7, align 8 %55 = load ptr, ptr %2, align 8 %56 = load i64, ptr %7, align 8 %57 = getelementptr inbounds i8, ptr %55, i64 %56 %58 = load i64, ptr %8, align 8 %59 = load i32, ptr @PROT_READ, align 4 %60 = load i32, ptr @PROT_WRITE, align 4 %61 = or i32 %59, %60 %62 = call i64 @mprotect(ptr noundef %57, i64 noundef %58, i32 noundef %61) %63 = icmp ne i64 %62, 0 br i1 %63, label %64, label %65 64: ; preds = %47 store i32 0, ptr %1, align 4 br label %122 65: ; preds = %47 %66 = load i32, ptr %3, align 4 %67 = mul nsw i32 2, %66 %68 = sext i32 %67 to i64 %69 = mul i64 %68, 8 %70 = load i64, ptr %8, align 8 %71 = udiv i64 %69, %70 %72 = load i64, ptr %8, align 8 %73 = mul i64 %71, %72 store i64 %73, ptr %7, align 8 %74 = load ptr, ptr %2, align 8 %75 = load i64, ptr %7, align 8 %76 = getelementptr inbounds i8, ptr %74, i64 %75 %77 = load i64, ptr %8, align 8 %78 = load i32, ptr @PROT_READ, align 4 %79 = load i32, ptr @PROT_WRITE, align 4 %80 = or i32 %78, %79 %81 = call i64 @mprotect(ptr noundef %76, i64 noundef %77, i32 noundef %80) %82 = icmp ne i64 %81, 0 br i1 %82, label %83, label %84 83: ; preds = %65 store i32 0, ptr %1, align 4 br label %122 84: ; preds = %65 %85 = load i32, ptr %3, align 4 %86 = mul nsw i32 3, %85 %87 = sext i32 %86 to i64 %88 = mul i64 %87, 8 %89 = load i64, ptr %8, align 8 %90 = udiv i64 %88, %89 %91 = load i64, ptr %8, align 8 %92 = mul i64 %90, %91 store i64 %92, ptr %7, align 8 %93 = load ptr, ptr %2, align 8 %94 = load i64, ptr %7, align 8 %95 = getelementptr inbounds i8, ptr %93, i64 %94 %96 = load i64, ptr %8, align 8 %97 = load i32, ptr @PROT_READ, align 4 %98 = load i32, ptr @PROT_WRITE, align 4 %99 = or i32 %97, %98 %100 = call i64 @mprotect(ptr noundef %95, i64 noundef %96, i32 noundef %99) %101 = icmp ne i64 %100, 0 br i1 %101, label %102, label %103 102: ; preds = %84 store i32 0, ptr %1, align 4 br label %122 103: ; preds = %84 store i32 0, ptr %4, align 4 %104 = load i32, ptr %4, align 4 %105 = load i32, ptr %6, align 4 %106 = icmp slt i32 %104, %105 br i1 %106, label %.lr.ph, label %121 .lr.ph: ; preds = %103 br label %107 107: ; preds = %.lr.ph, %114 %108 = load ptr, ptr %2, align 8 %109 = load i32, ptr %3, align 4 %110 = load i32, ptr %4, align 4 %111 = load i32, ptr %5, align 4 %112 = load i32, ptr %6, align 4 %113 = call i32 @test_func(ptr noundef %108, i32 noundef %109, i32 noundef %110, i32 noundef %111, i32 noundef %112) br label %114 114: ; preds = %107 %115 = load i32, ptr %5, align 4 %116 = load i32, ptr %4, align 4 %117 = add nsw i32 %116, %115 store i32 %117, ptr %4, align 4 %118 = load i32, ptr %4, align 4 %119 = load i32, ptr %6, align 4 %120 = icmp slt i32 %118, %119 br i1 %120, label %107, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %114 br label %121 121: ; preds = %._crit_edge, %103 store i32 0, ptr %1, align 4 br label %122 122: ; preds = %121, %102, %83, %64, %46, %37, %21 %123 = load i32, ptr %1, align 4 ret i32 %123 } declare i64 @sysconf(i32 noundef) #1 declare ptr @mmap(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i64 @mprotect(ptr noundef, i64 noundef, i32 noundef) #1 declare i32 @test_func(ptr 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpxzp4cyey.c' source_filename = "/tmp/tmpxzp4cyey.c" target datalayout = "e-m:e-p270: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/tmpxzp4cyey.c" target datalayout = "e-m:e-p270: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/tmpehf6u28w.c' source_filename = "/tmp/tmpehf6u28w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @main.kek = internal constant [32 x i8] c"\00\01\02\03\04\05\06\07\08\09\0A\0B\0C\0D\0E\0F\10\11\12\13\14\15\16\17\18\19\1A\1B\1C\1D\1E\1F", align 16 @main.key = internal constant [32 x i8] c"\00\11\223DUfw\88\99\AA\BB\CC\DD\EE\FF\00\01\02\03\04\05\06\07\08\09\0A\0B\0C\0D\0E\0F", align 16 @main.e1 = internal constant [24 x i8] c"\1F\A6\8B\0A\81\12\B4G\AE\F3K\D8\FBZ{\82\9D>\86#q\D2\CF\E5", align 16 @main.e2 = internal constant [24 x i8] c"\96w\8B%\AEl\A45\F9+[\97\C0P\AE\D2F\8A\B8\A1z\D8N]", align 16 @main.e3 = internal constant [24 x i8] c"d\E8\C3\F9\CE\0F[\A2c\E9wy\05\81\8A*\93\C8\19\1E}n\8A\E7", align 16 @main.e4 = internal constant [32 x i8] c"\03\1D3&N\15\D32h\F2N\C2`t>\DC\E1\C6\C7\DD\EErZ\93k\A8\14\91\\gb\D2", align 16 @main.e5 = internal constant [32 x i8] c"\A8\F9\BC\16\12\C6\8B?\F6\E6\F4\FB\E3\0Eq\E4v\9C\8B\80\A3,\B8\95\8C\D5\D1}k%M\A1", align 16 @main.e6 = internal constant [40 x i8] c"(\C9\F4\04\C4\B8\10\F4\CB\CC\B3\\\FB\87\F8&?W\86\E2\D8\0E\D3&\CB\C7\F0\E7\1A\99\F4;\FB\98\8B\9Bz\02\DD!", align 16 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [20 x i8] c"Key test result %d\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 i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %7, align 4 %8 = call i32 @AES_wrap_unwrap_test(ptr noundef @main.kek, i32 noundef 128, ptr noundef null, ptr noundef @main.e1, ptr noundef @main.key, i32 noundef 16) store i32 %8, ptr %6, align 4 %9 = load i32, ptr %6, align 4 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %14 11: ; preds = %2 %12 = load i32, ptr %7, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %7, align 4 br label %14 14: ; preds = %11, %2 %15 = load i32, ptr @stderr, align 4 %16 = load i32, ptr %6, align 4 %17 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str, i32 noundef %16) %18 = call i32 @AES_wrap_unwrap_test(ptr noundef @main.kek, i32 noundef 192, ptr noundef null, ptr noundef @main.e2, ptr noundef @main.key, i32 noundef 16) store i32 %18, ptr %6, align 4 %19 = load i32, ptr %6, align 4 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %24 21: ; preds = %14 %22 = load i32, ptr %7, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %7, align 4 br label %24 24: ; preds = %21, %14 %25 = load i32, ptr @stderr, align 4 %26 = load i32, ptr %6, align 4 %27 = call i32 @fprintf(i32 noundef %25, ptr noundef @.str, i32 noundef %26) %28 = call i32 @AES_wrap_unwrap_test(ptr noundef @main.kek, i32 noundef 256, ptr noundef null, ptr noundef @main.e3, ptr noundef @main.key, i32 noundef 16) store i32 %28, ptr %6, align 4 %29 = load i32, ptr %6, align 4 %30 = icmp eq i32 %29, 0 br i1 %30, label %31, label %34 31: ; preds = %24 %32 = load i32, ptr %7, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %7, align 4 br label %34 34: ; preds = %31, %24 %35 = load i32, ptr @stderr, align 4 %36 = load i32, ptr %6, align 4 %37 = call i32 @fprintf(i32 noundef %35, ptr noundef @.str, i32 noundef %36) %38 = call i32 @AES_wrap_unwrap_test(ptr noundef @main.kek, i32 noundef 192, ptr noundef null, ptr noundef @main.e4, ptr noundef @main.key, i32 noundef 24) store i32 %38, ptr %6, align 4 %39 = load i32, ptr %6, align 4 %40 = icmp eq i32 %39, 0 br i1 %40, label %41, label %44 41: ; preds = %34 %42 = load i32, ptr %7, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %7, align 4 br label %44 44: ; preds = %41, %34 %45 = load i32, ptr @stderr, align 4 %46 = load i32, ptr %6, align 4 %47 = call i32 @fprintf(i32 noundef %45, ptr noundef @.str, i32 noundef %46) %48 = call i32 @AES_wrap_unwrap_test(ptr noundef @main.kek, i32 noundef 256, ptr noundef null, ptr noundef @main.e5, ptr noundef @main.key, i32 noundef 24) store i32 %48, ptr %6, align 4 %49 = load i32, ptr %6, align 4 %50 = icmp eq i32 %49, 0 br i1 %50, label %51, label %54 51: ; preds = %44 %52 = load i32, ptr %7, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %7, align 4 br label %54 54: ; preds = %51, %44 %55 = load i32, ptr @stderr, align 4 %56 = load i32, ptr %6, align 4 %57 = call i32 @fprintf(i32 noundef %55, ptr noundef @.str, i32 noundef %56) %58 = call i32 @AES_wrap_unwrap_test(ptr noundef @main.kek, i32 noundef 256, ptr noundef null, ptr noundef @main.e6, ptr noundef @main.key, i32 noundef 32) store i32 %58, ptr %6, align 4 %59 = load i32, ptr %6, align 4 %60 = icmp eq i32 %59, 0 br i1 %60, label %61, label %64 61: ; preds = %54 %62 = load i32, ptr %7, align 4 %63 = add nsw i32 %62, 1 store i32 %63, ptr %7, align 4 br label %64 64: ; preds = %61, %54 %65 = load i32, ptr @stderr, align 4 %66 = load i32, ptr %6, align 4 %67 = call i32 @fprintf(i32 noundef %65, ptr noundef @.str, i32 noundef %66) %68 = load i32, ptr %7, align 4 ret i32 %68 } declare i32 @AES_wrap_unwrap_test(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpehf6u28w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @main.kek = internal constant [32 x i8] c"\00\01\02\03\04\05\06\07\08\09\0A\0B\0C\0D\0E\0F\10\11\12\13\14\15\16\17\18\19\1A\1B\1C\1D\1E\1F", align 16 @main.key = internal constant [32 x i8] c"\00\11\223DUfw\88\99\AA\BB\CC\DD\EE\FF\00\01\02\03\04\05\06\07\08\09\0A\0B\0C\0D\0E\0F", align 16 @main.e1 = internal constant [24 x i8] c"\1F\A6\8B\0A\81\12\B4G\AE\F3K\D8\FBZ{\82\9D>\86#q\D2\CF\E5", align 16 @main.e2 = internal constant [24 x i8] c"\96w\8B%\AEl\A45\F9+[\97\C0P\AE\D2F\8A\B8\A1z\D8N]", align 16 @main.e3 = internal constant [24 x i8] c"d\E8\C3\F9\CE\0F[\A2c\E9wy\05\81\8A*\93\C8\19\1E}n\8A\E7", align 16 @main.e4 = internal constant [32 x i8] c"\03\1D3&N\15\D32h\F2N\C2`t>\DC\E1\C6\C7\DD\EErZ\93k\A8\14\91\\gb\D2", align 16 @main.e5 = internal constant [32 x i8] c"\A8\F9\BC\16\12\C6\8B?\F6\E6\F4\FB\E3\0Eq\E4v\9C\8B\80\A3,\B8\95\8C\D5\D1}k%M\A1", align 16 @main.e6 = internal constant [40 x i8] c"(\C9\F4\04\C4\B8\10\F4\CB\CC\B3\\\FB\87\F8&?W\86\E2\D8\0E\D3&\CB\C7\F0\E7\1A\99\F4;\FB\98\8B\9Bz\02\DD!", align 16 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [20 x i8] c"Key test result %d\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 i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %7, align 4 %8 = call i32 @AES_wrap_unwrap_test(ptr noundef @main.kek, i32 noundef 128, ptr noundef null, ptr noundef @main.e1, ptr noundef @main.key, i32 noundef 16) store i32 %8, ptr %6, align 4 %9 = load i32, ptr %6, align 4 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %14 11: ; preds = %2 %12 = load i32, ptr %7, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %7, align 4 br label %14 14: ; preds = %11, %2 %15 = load i32, ptr @stderr, align 4 %16 = load i32, ptr %6, align 4 %17 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str, i32 noundef %16) %18 = call i32 @AES_wrap_unwrap_test(ptr noundef @main.kek, i32 noundef 192, ptr noundef null, ptr noundef @main.e2, ptr noundef @main.key, i32 noundef 16) store i32 %18, ptr %6, align 4 %19 = load i32, ptr %6, align 4 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %24 21: ; preds = %14 %22 = load i32, ptr %7, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %7, align 4 br label %24 24: ; preds = %21, %14 %25 = load i32, ptr @stderr, align 4 %26 = load i32, ptr %6, align 4 %27 = call i32 @fprintf(i32 noundef %25, ptr noundef @.str, i32 noundef %26) %28 = call i32 @AES_wrap_unwrap_test(ptr noundef @main.kek, i32 noundef 256, ptr noundef null, ptr noundef @main.e3, ptr noundef @main.key, i32 noundef 16) store i32 %28, ptr %6, align 4 %29 = load i32, ptr %6, align 4 %30 = icmp eq i32 %29, 0 br i1 %30, label %31, label %34 31: ; preds = %24 %32 = load i32, ptr %7, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %7, align 4 br label %34 34: ; preds = %31, %24 %35 = load i32, ptr @stderr, align 4 %36 = load i32, ptr %6, align 4 %37 = call i32 @fprintf(i32 noundef %35, ptr noundef @.str, i32 noundef %36) %38 = call i32 @AES_wrap_unwrap_test(ptr noundef @main.kek, i32 noundef 192, ptr noundef null, ptr noundef @main.e4, ptr noundef @main.key, i32 noundef 24) store i32 %38, ptr %6, align 4 %39 = load i32, ptr %6, align 4 %40 = icmp eq i32 %39, 0 br i1 %40, label %41, label %44 41: ; preds = %34 %42 = load i32, ptr %7, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %7, align 4 br label %44 44: ; preds = %41, %34 %45 = load i32, ptr @stderr, align 4 %46 = load i32, ptr %6, align 4 %47 = call i32 @fprintf(i32 noundef %45, ptr noundef @.str, i32 noundef %46) %48 = call i32 @AES_wrap_unwrap_test(ptr noundef @main.kek, i32 noundef 256, ptr noundef null, ptr noundef @main.e5, ptr noundef @main.key, i32 noundef 24) store i32 %48, ptr %6, align 4 %49 = load i32, ptr %6, align 4 %50 = icmp eq i32 %49, 0 br i1 %50, label %51, label %54 51: ; preds = %44 %52 = load i32, ptr %7, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %7, align 4 br label %54 54: ; preds = %51, %44 %55 = load i32, ptr @stderr, align 4 %56 = load i32, ptr %6, align 4 %57 = call i32 @fprintf(i32 noundef %55, ptr noundef @.str, i32 noundef %56) %58 = call i32 @AES_wrap_unwrap_test(ptr noundef @main.kek, i32 noundef 256, ptr noundef null, ptr noundef @main.e6, ptr noundef @main.key, i32 noundef 32) store i32 %58, ptr %6, align 4 %59 = load i32, ptr %6, align 4 %60 = icmp eq i32 %59, 0 br i1 %60, label %61, label %64 61: ; preds = %54 %62 = load i32, ptr %7, align 4 %63 = add nsw i32 %62, 1 store i32 %63, ptr %7, align 4 br label %64 64: ; preds = %61, %54 %65 = load i32, ptr @stderr, align 4 %66 = load i32, ptr %6, align 4 %67 = call i32 @fprintf(i32 noundef %65, ptr noundef @.str, i32 noundef %66) %68 = load i32, ptr %7, align 4 ret i32 %68 } declare i32 @AES_wrap_unwrap_test(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmg9dx8r3.c' source_filename = "/tmp/tmpmg9dx8r3.c" target datalayout = "e-m:e-p270: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 [87 x i8] c"usage: %s [-h] | [-0123456789] [-l label.idx] [-i image.idx] [-b basename] [-p] [-r]\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"\09-h : this help message.\0A\00", align 1 @.str.2 = private unnamed_addr constant [36 x i8] c"\09-l : idx file listing the labels.\0A\00", align 1 @.str.3 = private unnamed_addr constant [51 x i8] c"\09-i : idx file containing the image descriptions.\0A\00", align 1 @.str.4 = private unnamed_addr constant [28 x i8] c"\09-p : extact to PGM files.\0A\00", align 1 @.str.5 = private unnamed_addr constant [35 x i8] c"\09-b : basename for the PGM files.\0A\00", align 1 @.str.6 = private unnamed_addr constant [46 x i8] c"\09-r : reverse video (used together with -p).\0A\00", align 1 @.str.7 = private unnamed_addr constant [61 x i8] c"\09-0 .. -9 : Label / Pattern to extract from idx image file.\0A\00", align 1 @.str.8 = private unnamed_addr constant [92 x i8] c"\0AIf -p is not specified, the array values are printed on stdout separated by a blank line.\0A\00", align 1 @EX_USAGE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) %6 = load i32, ptr @stderr, align 4 %7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef @.str.1) %8 = load i32, ptr @stderr, align 4 %9 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str.2) %10 = load i32, ptr @stderr, align 4 %11 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %10, ptr noundef @.str.3) %12 = load i32, ptr @stderr, align 4 %13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str.4) %14 = load i32, ptr @stderr, align 4 %15 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %14, ptr noundef @.str.5) %16 = load i32, ptr @stderr, align 4 %17 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %16, ptr noundef @.str.6) %18 = load i32, ptr @stderr, align 4 %19 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str.7) %20 = load i32, ptr @stderr, align 4 %21 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %20, ptr noundef @.str.8) %22 = load i32, ptr @EX_USAGE, align 4 %23 = call i32 @exit(i32 noundef %22) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmg9dx8r3.c" target datalayout = "e-m:e-p270: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 [87 x i8] c"usage: %s [-h] | [-0123456789] [-l label.idx] [-i image.idx] [-b basename] [-p] [-r]\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"\09-h : this help message.\0A\00", align 1 @.str.2 = private unnamed_addr constant [36 x i8] c"\09-l : idx file listing the labels.\0A\00", align 1 @.str.3 = private unnamed_addr constant [51 x i8] c"\09-i : idx file containing the image descriptions.\0A\00", align 1 @.str.4 = private unnamed_addr constant [28 x i8] c"\09-p : extact to PGM files.\0A\00", align 1 @.str.5 = private unnamed_addr constant [35 x i8] c"\09-b : basename for the PGM files.\0A\00", align 1 @.str.6 = private unnamed_addr constant [46 x i8] c"\09-r : reverse video (used together with -p).\0A\00", align 1 @.str.7 = private unnamed_addr constant [61 x i8] c"\09-0 .. -9 : Label / Pattern to extract from idx image file.\0A\00", align 1 @.str.8 = private unnamed_addr constant [92 x i8] c"\0AIf -p is not specified, the array values are printed on stdout separated by a blank line.\0A\00", align 1 @EX_USAGE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) %6 = load i32, ptr @stderr, align 4 %7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef @.str.1) %8 = load i32, ptr @stderr, align 4 %9 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str.2) %10 = load i32, ptr @stderr, align 4 %11 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %10, ptr noundef @.str.3) %12 = load i32, ptr @stderr, align 4 %13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str.4) %14 = load i32, ptr @stderr, align 4 %15 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %14, ptr noundef @.str.5) %16 = load i32, ptr @stderr, align 4 %17 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %16, ptr noundef @.str.6) %18 = load i32, ptr @stderr, align 4 %19 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str.7) %20 = load i32, ptr @stderr, align 4 %21 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %20, ptr noundef @.str.8) %22 = load i32, ptr @EX_USAGE, align 4 %23 = call i32 @exit(i32 noundef %22) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpazbyp8nt.c' source_filename = "/tmp/tmpazbyp8nt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_Z7swfrexpdPi(double noundef %0, ptr noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca ptr, align 8 store double %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load double, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call double @frexp(double noundef %5, ptr noundef %6) #2 ret double %7 } ; Function Attrs: nounwind declare double @frexp(double 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 = { 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/tmpazbyp8nt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_Z7swfrexpdPi(double noundef %0, ptr noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca ptr, align 8 store double %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load double, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call double @frexp(double noundef %5, ptr noundef %6) #2 ret double %7 } ; Function Attrs: nounwind declare double @frexp(double 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 = { 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/tmppruxuhj0.c' source_filename = "/tmp/tmppruxuhj0.c" target datalayout = "e-m:e-p270: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/tmppruxuhj0.c" target datalayout = "e-m:e-p270: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/tmpeihfuk7z.c' source_filename = "/tmp/tmpeihfuk7z.c" target datalayout = "e-m:e-p270: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/tmpeihfuk7z.c" target datalayout = "e-m:e-p270: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/tmpjkxcmd_b.c' source_filename = "/tmp/tmpjkxcmd_b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.termios = type { i32 } @_IONBF = dso_local global i32 0, align 4 @ECHO = dso_local global i32 0, align 4 @ISIG = dso_local global i32 0, align 4 @TCSAFLUSH = dso_local global i32 0, align 4 @TCSANOW = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @config_tty(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca %struct.termios, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr %4, align 8 %8 = load i32, ptr @_IONBF, align 4 %9 = call i64 @setvbuf(ptr noundef %7, ptr noundef null, i32 noundef %8, i32 noundef 0) %10 = icmp ne i64 %9, 0 br i1 %10, label %11, label %12 11: ; preds = %2 store i32 -1, ptr %3, align 4 br label %39 12: ; preds = %2 %13 = load ptr, ptr %4, align 8 %14 = call i32 @fileno(ptr noundef %13) %15 = load ptr, ptr %5, align 8 %16 = call i64 @tcgetattr(i32 noundef %14, ptr noundef %15) %17 = icmp eq i64 %16, 0 br i1 %17, label %18, label %38 18: ; preds = %12 %19 = load ptr, ptr %5, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %6, ptr align 4 %19, i64 4, i1 false) %20 = call i32 @cfmakeraw(ptr noundef %6) %21 = load i32, ptr @ECHO, align 4 %22 = load i32, ptr @ISIG, align 4 %23 = or i32 %21, %22 %24 = xor i32 %23, -1 %25 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 0 %26 = load i32, ptr %25, align 4 %27 = and i32 %26, %24 store i32 %27, ptr %25, align 4 %28 = load ptr, ptr %4, align 8 %29 = call i32 @fileno(ptr noundef %28) %30 = load i32, ptr @TCSAFLUSH, align 4 %31 = or i32 %30, 0 %32 = load i32, ptr @TCSANOW, align 4 %33 = or i32 %31, %32 %34 = call i64 @tcsetattr(i32 noundef %29, i32 noundef %33, ptr noundef %6) %35 = icmp eq i64 %34, 0 br i1 %35, label %36, label %37 36: ; preds = %18 store i32 0, ptr %3, align 4 br label %39 37: ; preds = %18 store i32 -1, ptr %3, align 4 br label %39 38: ; preds = %12 store i32 -1, ptr %3, align 4 br label %39 39: ; preds = %38, %37, %36, %11 %40 = load i32, ptr %3, align 4 ret i32 %40 } declare i64 @setvbuf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @tcgetattr(i32 noundef, ptr noundef) #1 declare i32 @fileno(ptr noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @cfmakeraw(ptr noundef) #1 declare i64 @tcsetattr(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjkxcmd_b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.termios = type { i32 } @_IONBF = dso_local global i32 0, align 4 @ECHO = dso_local global i32 0, align 4 @ISIG = dso_local global i32 0, align 4 @TCSAFLUSH = dso_local global i32 0, align 4 @TCSANOW = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @config_tty(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca %struct.termios, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr %4, align 8 %8 = load i32, ptr @_IONBF, align 4 %9 = call i64 @setvbuf(ptr noundef %7, ptr noundef null, i32 noundef %8, i32 noundef 0) %10 = icmp ne i64 %9, 0 br i1 %10, label %11, label %12 11: ; preds = %2 store i32 -1, ptr %3, align 4 br label %39 12: ; preds = %2 %13 = load ptr, ptr %4, align 8 %14 = call i32 @fileno(ptr noundef %13) %15 = load ptr, ptr %5, align 8 %16 = call i64 @tcgetattr(i32 noundef %14, ptr noundef %15) %17 = icmp eq i64 %16, 0 br i1 %17, label %18, label %38 18: ; preds = %12 %19 = load ptr, ptr %5, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %6, ptr align 4 %19, i64 4, i1 false) %20 = call i32 @cfmakeraw(ptr noundef %6) %21 = load i32, ptr @ECHO, align 4 %22 = load i32, ptr @ISIG, align 4 %23 = or i32 %21, %22 %24 = xor i32 %23, -1 %25 = getelementptr inbounds %struct.termios, ptr %6, i32 0, i32 0 %26 = load i32, ptr %25, align 4 %27 = and i32 %26, %24 store i32 %27, ptr %25, align 4 %28 = load ptr, ptr %4, align 8 %29 = call i32 @fileno(ptr noundef %28) %30 = load i32, ptr @TCSAFLUSH, align 4 %31 = or i32 %30, 0 %32 = load i32, ptr @TCSANOW, align 4 %33 = or i32 %31, %32 %34 = call i64 @tcsetattr(i32 noundef %29, i32 noundef %33, ptr noundef %6) %35 = icmp eq i64 %34, 0 br i1 %35, label %36, label %37 36: ; preds = %18 store i32 0, ptr %3, align 4 br label %39 37: ; preds = %18 store i32 -1, ptr %3, align 4 br label %39 38: ; preds = %12 store i32 -1, ptr %3, align 4 br label %39 39: ; preds = %38, %37, %36, %11 %40 = load i32, ptr %3, align 4 ret i32 %40 } declare i64 @setvbuf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @tcgetattr(i32 noundef, ptr noundef) #1 declare i32 @fileno(ptr noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @cfmakeraw(ptr noundef) #1 declare i64 @tcsetattr(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8i3m_bu8.c' source_filename = "/tmp/tmp8i3m_bu8.c" target datalayout = "e-m:e-p270: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/tmp8i3m_bu8.c" target datalayout = "e-m:e-p270: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/tmpwdt1b7xc.c' source_filename = "/tmp/tmpwdt1b7xc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @handler(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 @printf(ptr noundef @.str) %4 = load i32, ptr @stdout, align 4 %5 = call i32 @fflush(i32 noundef %4) %6 = call i32 @alarm(i32 noundef 1) ret void } declare i32 @printf(ptr noundef) #1 declare i32 @fflush(i32 noundef) #1 declare i32 @alarm(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/tmpwdt1b7xc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @handler(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 @printf(ptr noundef @.str) %4 = load i32, ptr @stdout, align 4 %5 = call i32 @fflush(i32 noundef %4) %6 = call i32 @alarm(i32 noundef 1) ret void } declare i32 @printf(ptr noundef) #1 declare i32 @fflush(i32 noundef) #1 declare i32 @alarm(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/tmp4go_7qto.c' source_filename = "/tmp/tmp4go_7qto.c" target datalayout = "e-m:e-p270: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/tmp4go_7qto.c" target datalayout = "e-m:e-p270: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/tmpjzrybn1v.c' source_filename = "/tmp/tmpjzrybn1v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store ptr @.str, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call ptr @corta_string(ptr noundef %3) store ptr %4, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @printf(ptr noundef @.str.1, ptr noundef %5) ret i32 0 } declare ptr @corta_string(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjzrybn1v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store ptr @.str, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call ptr @corta_string(ptr noundef %3) store ptr %4, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @printf(ptr noundef @.str.1, ptr noundef %5) ret i32 0 } declare ptr @corta_string(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbhckn820.c' source_filename = "/tmp/tmpbhckn820.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @FALSE = dso_local global i32 0, align 4 @stdscr = dso_local global i32 0, align 4 @TRUE = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [12 x i8] c"Hello World\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 store i32 0, ptr %1, align 4 store i32 10, ptr %2, align 4 store i32 10, ptr %3, align 4 %4 = call i32 (...) @initscr() %5 = call i32 (...) @noecho() %6 = load i32, ptr @FALSE, align 4 %7 = call i32 @curs_set(i32 noundef %6) %8 = load i32, ptr @stdscr, align 4 %9 = load i32, ptr @TRUE, align 4 %10 = call i32 @keypad(i32 noundef %8, i32 noundef %9) %11 = call i32 @atexit(ptr noundef @endwin) br label %12 12: ; preds = %0, %36 %13 = call i32 (...) @clear() %14 = load i32, ptr %3, align 4 %15 = load i32, ptr %2, align 4 %16 = call i32 @mvprintw(i32 noundef %14, i32 noundef %15, ptr noundef @.str) %17 = call i32 (...) @refresh() %18 = call i32 (...) @getch() switch i32 %18, label %34 [ i32 130, label %19 i32 128, label %20 i32 132, label %23 i32 129, label %26 i32 131, label %29 i32 113, label %32 ] 19: ; preds = %12 br label %36 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 %36 23: ; preds = %12 %24 = load i32, ptr %3, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %3, align 4 br label %36 26: ; preds = %12 %27 = load i32, ptr %2, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %2, align 4 br label %36 29: ; preds = %12 %30 = load i32, ptr %2, align 4 %31 = add nsw i32 %30, -1 store i32 %31, ptr %2, align 4 br label %36 32: ; preds = %12 %33 = call i32 @exit(i32 noundef 0) #3 unreachable 34: ; preds = %12 %35 = call i32 (...) @refresh() br label %36 36: ; preds = %34, %29, %26, %23, %20, %19 br label %12 } declare i32 @initscr(...) #1 declare i32 @noecho(...) #1 declare i32 @curs_set(i32 noundef) #1 declare i32 @keypad(i32 noundef, i32 noundef) #1 declare i32 @atexit(ptr noundef) #1 declare i32 @endwin(...) #1 declare i32 @clear(...) #1 declare i32 @mvprintw(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @refresh(...) #1 declare i32 @getch(...) #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/tmpbhckn820.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @FALSE = dso_local global i32 0, align 4 @stdscr = dso_local global i32 0, align 4 @TRUE = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [12 x i8] c"Hello World\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 store i32 0, ptr %1, align 4 store i32 10, ptr %2, align 4 store i32 10, ptr %3, align 4 %4 = call i32 (...) @initscr() %5 = call i32 (...) @noecho() %6 = load i32, ptr @FALSE, align 4 %7 = call i32 @curs_set(i32 noundef %6) %8 = load i32, ptr @stdscr, align 4 %9 = load i32, ptr @TRUE, align 4 %10 = call i32 @keypad(i32 noundef %8, i32 noundef %9) %11 = call i32 @atexit(ptr noundef @endwin) br label %12 12: ; preds = %36, %0 %13 = call i32 (...) @clear() %14 = load i32, ptr %3, align 4 %15 = load i32, ptr %2, align 4 %16 = call i32 @mvprintw(i32 noundef %14, i32 noundef %15, ptr noundef @.str) %17 = call i32 (...) @refresh() %18 = call i32 (...) @getch() switch i32 %18, label %34 [ i32 130, label %19 i32 128, label %20 i32 132, label %23 i32 129, label %26 i32 131, label %29 i32 113, label %32 ] 19: ; preds = %12 br label %36 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 %36 23: ; preds = %12 %24 = load i32, ptr %3, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %3, align 4 br label %36 26: ; preds = %12 %27 = load i32, ptr %2, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %2, align 4 br label %36 29: ; preds = %12 %30 = load i32, ptr %2, align 4 %31 = add nsw i32 %30, -1 store i32 %31, ptr %2, align 4 br label %36 32: ; preds = %12 %33 = call i32 @exit(i32 noundef 0) #3 unreachable 34: ; preds = %12 %35 = call i32 (...) @refresh() br label %36 36: ; preds = %34, %29, %26, %23, %20, %19 br label %12 } declare i32 @initscr(...) #1 declare i32 @noecho(...) #1 declare i32 @curs_set(i32 noundef) #1 declare i32 @keypad(i32 noundef, i32 noundef) #1 declare i32 @atexit(ptr noundef) #1 declare i32 @endwin(...) #1 declare i32 @clear(...) #1 declare i32 @mvprintw(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @refresh(...) #1 declare i32 @getch(...) #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/tmpndml1h5p.c' source_filename = "/tmp/tmpndml1h5p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Carater e shift: \00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%c %d\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%c\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3) %6 = load i8, ptr %2, align 1 %7 = load i32, ptr %3, align 4 %8 = call i32 @converte(i8 noundef signext %6, i32 noundef %7) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %8) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @converte(i8 noundef signext, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpndml1h5p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Carater e shift: \00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%c %d\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%c\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i8, align 1 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3) %6 = load i8, ptr %2, align 1 %7 = load i32, ptr %3, align 4 %8 = call i32 @converte(i8 noundef signext %6, i32 noundef %7) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %8) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @converte(i8 noundef signext, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptlv85zbi.c' source_filename = "/tmp/tmptlv85zbi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1 @EOF = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 br label %9 9: ; preds = %65, %0 %10 = call i64 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4) %11 = load i64, ptr @EOF, align 8 %12 = icmp ne i64 %10, %11 br i1 %12, label %13, label %68 13: ; preds = %9 %14 = load i32, ptr %2, align 4 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %23 16: ; preds = %13 %17 = load i32, ptr %3, align 4 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %23 19: ; preds = %16 %20 = load i32, ptr %4, align 4 %21 = icmp eq i32 %20, 0 br i1 %21, label %22, label %23 22: ; preds = %19 br label %68 23: ; preds = %19, %16, %13 store i32 0, ptr %8, align 4 store i32 1, ptr %5, align 4 br label %24 24: ; preds = %62, %23 %25 = load i32, ptr %5, align 4 %26 = load i32, ptr %4, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %28, label %65 28: ; preds = %24 store i32 1, ptr %6, align 4 br label %29 29: ; preds = %58, %28 %30 = load i32, ptr %6, align 4 %31 = load i32, ptr %4, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %33, label %61 33: ; preds = %29 %34 = load i32, ptr %5, align 4 %35 = load i32, ptr %2, align 4 %36 = call i32 @tax(i32 noundef %34, i32 noundef %35) %37 = load i32, ptr %6, align 4 %38 = load i32, ptr %2, align 4 %39 = call i32 @tax(i32 noundef %37, i32 noundef %38) %40 = add nsw i32 %36, %39 %41 = load i32, ptr %4, align 4 %42 = icmp eq i32 %40, %41 br i1 %42, label %43, label %57 43: ; preds = %33 %44 = load i32, ptr %5, align 4 %45 = load i32, ptr %3, align 4 %46 = call i32 @tax(i32 noundef %44, i32 noundef %45) %47 = load i32, ptr %6, align 4 %48 = load i32, ptr %3, align 4 %49 = call i32 @tax(i32 noundef %47, i32 noundef %48) %50 = add nsw i32 %46, %49 store i32 %50, ptr %7, align 4 %51 = load i32, ptr %8, align 4 %52 = load i32, ptr %7, align 4 %53 = icmp slt i32 %51, %52 br i1 %53, label %54, label %56 54: ; preds = %43 %55 = load i32, ptr %7, align 4 store i32 %55, ptr %8, align 4 br label %56 56: ; preds = %54, %43 br label %57 57: ; preds = %56, %33 br label %58 58: ; preds = %57 %59 = load i32, ptr %6, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %6, align 4 br label %29, !llvm.loop !6 61: ; preds = %29 br label %62 62: ; preds = %61 %63 = load i32, ptr %5, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %5, align 4 br label %24, !llvm.loop !8 65: ; preds = %24 %66 = load i32, ptr %8, align 4 %67 = call i32 @printf(ptr noundef @.str.1, i32 noundef %66) br label %9, !llvm.loop !9 68: ; preds = %22, %9 ret i32 0 } declare i64 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @tax(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptlv85zbi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1 @EOF = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 %9 = call i64 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4) %10 = load i64, ptr @EOF, align 8 %11 = icmp ne i64 %9, %10 br i1 %11, label %.lr.ph5, label %.loopexit .lr.ph5: ; preds = %0 br label %12 12: ; preds = %.lr.ph5, %68 %13 = load i32, ptr %2, align 4 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %22 15: ; preds = %12 %16 = load i32, ptr %3, align 4 %17 = icmp eq i32 %16, 0 br i1 %17, label %18, label %22 18: ; preds = %15 %19 = load i32, ptr %4, align 4 %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %22 21: ; preds = %18 br label %74 22: ; preds = %18, %15, %12 store i32 0, ptr %8, align 4 store i32 1, ptr %5, align 4 %23 = load i32, ptr %5, align 4 %24 = load i32, ptr %4, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %.lr.ph2, label %68 .lr.ph2: ; preds = %22 br label %26 26: ; preds = %.lr.ph2, %62 store i32 1, ptr %6, align 4 %27 = load i32, ptr %6, align 4 %28 = load i32, ptr %4, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %.lr.ph, label %61 .lr.ph: ; preds = %26 br label %30 30: ; preds = %.lr.ph, %55 %31 = load i32, ptr %5, align 4 %32 = load i32, ptr %2, align 4 %33 = call i32 @tax(i32 noundef %31, i32 noundef %32) %34 = load i32, ptr %6, align 4 %35 = load i32, ptr %2, align 4 %36 = call i32 @tax(i32 noundef %34, i32 noundef %35) %37 = add nsw i32 %33, %36 %38 = load i32, ptr %4, align 4 %39 = icmp eq i32 %37, %38 br i1 %39, label %40, label %54 40: ; preds = %30 %41 = load i32, ptr %5, align 4 %42 = load i32, ptr %3, align 4 %43 = call i32 @tax(i32 noundef %41, i32 noundef %42) %44 = load i32, ptr %6, align 4 %45 = load i32, ptr %3, align 4 %46 = call i32 @tax(i32 noundef %44, i32 noundef %45) %47 = add nsw i32 %43, %46 store i32 %47, ptr %7, align 4 %48 = load i32, ptr %8, align 4 %49 = load i32, ptr %7, align 4 %50 = icmp slt i32 %48, %49 br i1 %50, label %51, label %53 51: ; preds = %40 %52 = load i32, ptr %7, align 4 store i32 %52, ptr %8, align 4 br label %53 53: ; preds = %51, %40 br label %54 54: ; preds = %53, %30 br label %55 55: ; preds = %54 %56 = load i32, ptr %6, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %6, align 4 %58 = load i32, ptr %6, align 4 %59 = load i32, ptr %4, align 4 %60 = icmp slt i32 %58, %59 br i1 %60, label %30, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %55 br label %61 61: ; preds = %._crit_edge, %26 br label %62 62: ; preds = %61 %63 = load i32, ptr %5, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %5, align 4 %65 = load i32, ptr %5, align 4 %66 = load i32, ptr %4, align 4 %67 = icmp slt i32 %65, %66 br i1 %67, label %26, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %62 br label %68 68: ; preds = %._crit_edge3, %22 %69 = load i32, ptr %8, align 4 %70 = call i32 @printf(ptr noundef @.str.1, i32 noundef %69) %71 = call i64 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4) %72 = load i64, ptr @EOF, align 8 %73 = icmp ne i64 %71, %72 br i1 %73, label %12, label %..loopexit_crit_edge, !llvm.loop !9 ..loopexit_crit_edge: ; preds = %68 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %0 br label %74 74: ; preds = %.loopexit, %21 ret i32 0 } declare i64 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @tax(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpjsr8b53h.c' source_filename = "/tmp/tmpjsr8b53h.c" target datalayout = "e-m:e-p270: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/tmpjsr8b53h.c" target datalayout = "e-m:e-p270: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/tmpu95jayxc.c' source_filename = "/tmp/tmpu95jayxc.c" target datalayout = "e-m:e-p270: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/tmpu95jayxc.c" target datalayout = "e-m:e-p270: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/tmpyq44mtt9.c' source_filename = "/tmp/tmpyq44mtt9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @func_do_something() #0 { %1 = call ptr (...) @func_ret_null() ret ptr %1 } declare ptr @func_ret_null(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyq44mtt9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @func_do_something() #0 { %1 = call ptr (...) @func_ret_null() ret ptr %1 } declare ptr @func_ret_null(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE 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_cf9rygc.c' source_filename = "/tmp/tmp_cf9rygc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rc6_encrypt(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 i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca [4 x i32], align 16 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %17 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 0 store ptr %17, ptr %16, align 8 %18 = load ptr, ptr %16, align 8 %19 = load ptr, ptr %4, align 8 %20 = call i32 @memcpy(ptr noundef %18, ptr noundef %19, i32 noundef 16) %21 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 0 %22 = load i32, ptr %21, align 16 store i32 %22, ptr %7, align 4 %23 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 1 %24 = load i32, ptr %23, align 4 store i32 %24, ptr %8, align 4 %25 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 2 %26 = load i32, ptr %25, align 8 store i32 %26, ptr %9, align 4 %27 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 3 %28 = load i32, ptr %27, align 4 store i32 %28, ptr %10, align 4 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds i32, ptr %29, i64 0 %31 = load i32, ptr %30, align 4 %32 = load i32, ptr %8, align 4 %33 = add i32 %32, %31 store i32 %33, ptr %8, align 4 %34 = load ptr, ptr %5, align 8 %35 = getelementptr inbounds i32, ptr %34, i64 1 %36 = load i32, ptr %35, align 4 %37 = load i32, ptr %10, align 4 %38 = add i32 %37, %36 store i32 %38, ptr %10, align 4 store i32 1, ptr %15, align 4 br label %39 39: ; preds = %117, %3 %40 = load i32, ptr %15, align 4 %41 = icmp ule i32 %40, 20 br i1 %41, label %42, label %120 42: ; preds = %39 %43 = load i32, ptr %8, align 4 %44 = load i32, ptr %8, align 4 %45 = shl i32 %44, 1 %46 = add i32 %45, 1 %47 = mul i32 %43, %46 %48 = shl i32 %47, 5 %49 = load i32, ptr %8, align 4 %50 = load i32, ptr %8, align 4 %51 = shl i32 %50, 1 %52 = add i32 %51, 1 %53 = mul i32 %49, %52 %54 = lshr i32 %53, 27 %55 = or i32 %48, %54 store i32 %55, ptr %12, align 4 %56 = load i32, ptr %10, align 4 %57 = load i32, ptr %10, align 4 %58 = shl i32 %57, 1 %59 = add i32 %58, 1 %60 = mul i32 %56, %59 %61 = shl i32 %60, 5 %62 = load i32, ptr %10, align 4 %63 = load i32, ptr %10, align 4 %64 = shl i32 %63, 1 %65 = add i32 %64, 1 %66 = mul i32 %62, %65 %67 = lshr i32 %66, 27 %68 = or i32 %61, %67 store i32 %68, ptr %13, align 4 %69 = load i32, ptr %7, align 4 %70 = load i32, ptr %12, align 4 %71 = xor i32 %69, %70 %72 = load i32, ptr %13, align 4 %73 = and i32 %72, 31 %74 = shl i32 %71, %73 %75 = load i32, ptr %7, align 4 %76 = load i32, ptr %12, align 4 %77 = xor i32 %75, %76 %78 = load i32, ptr %13, align 4 %79 = and i32 %78, 31 %80 = sub i32 32, %79 %81 = lshr i32 %77, %80 %82 = or i32 %74, %81 %83 = load ptr, ptr %5, align 8 %84 = load i32, ptr %15, align 4 %85 = shl i32 %84, 1 %86 = zext i32 %85 to i64 %87 = getelementptr inbounds i32, ptr %83, i64 %86 %88 = load i32, ptr %87, align 4 %89 = add i32 %82, %88 store i32 %89, ptr %7, align 4 %90 = load i32, ptr %9, align 4 %91 = load i32, ptr %13, align 4 %92 = xor i32 %90, %91 %93 = load i32, ptr %12, align 4 %94 = and i32 %93, 31 %95 = shl i32 %92, %94 %96 = load i32, ptr %9, align 4 %97 = load i32, ptr %13, align 4 %98 = xor i32 %96, %97 %99 = load i32, ptr %12, align 4 %100 = and i32 %99, 31 %101 = sub i32 32, %100 %102 = lshr i32 %98, %101 %103 = or i32 %95, %102 %104 = load ptr, ptr %5, align 8 %105 = load i32, ptr %15, align 4 %106 = shl i32 %105, 1 %107 = add i32 %106, 1 %108 = zext i32 %107 to i64 %109 = getelementptr inbounds i32, ptr %104, i64 %108 %110 = load i32, ptr %109, align 4 %111 = add i32 %103, %110 store i32 %111, ptr %9, align 4 %112 = load i32, ptr %7, align 4 store i32 %112, ptr %14, align 4 %113 = load i32, ptr %8, align 4 store i32 %113, ptr %7, align 4 %114 = load i32, ptr %9, align 4 store i32 %114, ptr %8, align 4 %115 = load i32, ptr %10, align 4 store i32 %115, ptr %9, align 4 %116 = load i32, ptr %14, align 4 store i32 %116, ptr %10, align 4 br label %117 117: ; preds = %42 %118 = load i32, ptr %15, align 4 %119 = add i32 %118, 1 store i32 %119, ptr %15, align 4 br label %39, !llvm.loop !6 120: ; preds = %39 %121 = load ptr, ptr %5, align 8 %122 = getelementptr inbounds i32, ptr %121, i64 42 %123 = load i32, ptr %122, align 4 %124 = load i32, ptr %7, align 4 %125 = add i32 %124, %123 store i32 %125, ptr %7, align 4 %126 = load ptr, ptr %5, align 8 %127 = getelementptr inbounds i32, ptr %126, i64 43 %128 = load i32, ptr %127, align 4 %129 = load i32, ptr %9, align 4 %130 = add i32 %129, %128 store i32 %130, ptr %9, align 4 %131 = load i32, ptr %7, align 4 %132 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 0 store i32 %131, ptr %132, align 16 %133 = load i32, ptr %8, align 4 %134 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 1 store i32 %133, ptr %134, align 4 %135 = load i32, ptr %9, align 4 %136 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 2 store i32 %135, ptr %136, align 8 %137 = load i32, ptr %10, align 4 %138 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 3 store i32 %137, ptr %138, align 4 %139 = load ptr, ptr %6, align 8 %140 = load ptr, ptr %16, align 8 %141 = call i32 @memcpy(ptr noundef %139, ptr noundef %140, i32 noundef 16) ret void } 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_cf9rygc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rc6_encrypt(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 i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca [4 x i32], align 16 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %17 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 0 store ptr %17, ptr %16, align 8 %18 = load ptr, ptr %16, align 8 %19 = load ptr, ptr %4, align 8 %20 = call i32 @memcpy(ptr noundef %18, ptr noundef %19, i32 noundef 16) %21 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 0 %22 = load i32, ptr %21, align 16 store i32 %22, ptr %7, align 4 %23 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 1 %24 = load i32, ptr %23, align 4 store i32 %24, ptr %8, align 4 %25 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 2 %26 = load i32, ptr %25, align 8 store i32 %26, ptr %9, align 4 %27 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 3 %28 = load i32, ptr %27, align 4 store i32 %28, ptr %10, align 4 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds i32, ptr %29, i64 0 %31 = load i32, ptr %30, align 4 %32 = load i32, ptr %8, align 4 %33 = add i32 %32, %31 store i32 %33, ptr %8, align 4 %34 = load ptr, ptr %5, align 8 %35 = getelementptr inbounds i32, ptr %34, i64 1 %36 = load i32, ptr %35, align 4 %37 = load i32, ptr %10, align 4 %38 = add i32 %37, %36 store i32 %38, ptr %10, align 4 store i32 1, ptr %15, align 4 %39 = load i32, ptr %15, align 4 %40 = icmp ule i32 %39, 20 br i1 %40, label %.lr.ph, label %121 .lr.ph: ; preds = %3 br label %41 41: ; preds = %.lr.ph, %116 %42 = load i32, ptr %8, align 4 %43 = load i32, ptr %8, align 4 %44 = shl i32 %43, 1 %45 = add i32 %44, 1 %46 = mul i32 %42, %45 %47 = shl i32 %46, 5 %48 = load i32, ptr %8, align 4 %49 = load i32, ptr %8, align 4 %50 = shl i32 %49, 1 %51 = add i32 %50, 1 %52 = mul i32 %48, %51 %53 = lshr i32 %52, 27 %54 = or i32 %47, %53 store i32 %54, ptr %12, align 4 %55 = load i32, ptr %10, align 4 %56 = load i32, ptr %10, align 4 %57 = shl i32 %56, 1 %58 = add i32 %57, 1 %59 = mul i32 %55, %58 %60 = shl i32 %59, 5 %61 = load i32, ptr %10, align 4 %62 = load i32, ptr %10, align 4 %63 = shl i32 %62, 1 %64 = add i32 %63, 1 %65 = mul i32 %61, %64 %66 = lshr i32 %65, 27 %67 = or i32 %60, %66 store i32 %67, ptr %13, align 4 %68 = load i32, ptr %7, align 4 %69 = load i32, ptr %12, align 4 %70 = xor i32 %68, %69 %71 = load i32, ptr %13, align 4 %72 = and i32 %71, 31 %73 = shl i32 %70, %72 %74 = load i32, ptr %7, align 4 %75 = load i32, ptr %12, align 4 %76 = xor i32 %74, %75 %77 = load i32, ptr %13, align 4 %78 = and i32 %77, 31 %79 = sub i32 32, %78 %80 = lshr i32 %76, %79 %81 = or i32 %73, %80 %82 = load ptr, ptr %5, align 8 %83 = load i32, ptr %15, align 4 %84 = shl i32 %83, 1 %85 = zext i32 %84 to i64 %86 = getelementptr inbounds i32, ptr %82, i64 %85 %87 = load i32, ptr %86, align 4 %88 = add i32 %81, %87 store i32 %88, ptr %7, align 4 %89 = load i32, ptr %9, align 4 %90 = load i32, ptr %13, align 4 %91 = xor i32 %89, %90 %92 = load i32, ptr %12, align 4 %93 = and i32 %92, 31 %94 = shl i32 %91, %93 %95 = load i32, ptr %9, align 4 %96 = load i32, ptr %13, align 4 %97 = xor i32 %95, %96 %98 = load i32, ptr %12, align 4 %99 = and i32 %98, 31 %100 = sub i32 32, %99 %101 = lshr i32 %97, %100 %102 = or i32 %94, %101 %103 = load ptr, ptr %5, align 8 %104 = load i32, ptr %15, align 4 %105 = shl i32 %104, 1 %106 = add i32 %105, 1 %107 = zext i32 %106 to i64 %108 = getelementptr inbounds i32, ptr %103, i64 %107 %109 = load i32, ptr %108, align 4 %110 = add i32 %102, %109 store i32 %110, ptr %9, align 4 %111 = load i32, ptr %7, align 4 store i32 %111, ptr %14, align 4 %112 = load i32, ptr %8, align 4 store i32 %112, ptr %7, align 4 %113 = load i32, ptr %9, align 4 store i32 %113, ptr %8, align 4 %114 = load i32, ptr %10, align 4 store i32 %114, ptr %9, align 4 %115 = load i32, ptr %14, align 4 store i32 %115, ptr %10, align 4 br label %116 116: ; preds = %41 %117 = load i32, ptr %15, align 4 %118 = add i32 %117, 1 store i32 %118, ptr %15, align 4 %119 = load i32, ptr %15, align 4 %120 = icmp ule i32 %119, 20 br i1 %120, label %41, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %116 br label %121 121: ; preds = %._crit_edge, %3 %122 = load ptr, ptr %5, align 8 %123 = getelementptr inbounds i32, ptr %122, i64 42 %124 = load i32, ptr %123, align 4 %125 = load i32, ptr %7, align 4 %126 = add i32 %125, %124 store i32 %126, ptr %7, align 4 %127 = load ptr, ptr %5, align 8 %128 = getelementptr inbounds i32, ptr %127, i64 43 %129 = load i32, ptr %128, align 4 %130 = load i32, ptr %9, align 4 %131 = add i32 %130, %129 store i32 %131, ptr %9, align 4 %132 = load i32, ptr %7, align 4 %133 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 0 store i32 %132, ptr %133, align 16 %134 = load i32, ptr %8, align 4 %135 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 1 store i32 %134, ptr %135, align 4 %136 = load i32, ptr %9, align 4 %137 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 2 store i32 %136, ptr %137, align 8 %138 = load i32, ptr %10, align 4 %139 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 3 store i32 %138, ptr %139, align 4 %140 = load ptr, ptr %6, align 8 %141 = load ptr, ptr %16, align 8 %142 = call i32 @memcpy(ptr noundef %140, ptr noundef %141, i32 noundef 16) ret void } 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmptmnps174.c' source_filename = "/tmp/tmptmnps174.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @GL_COLOR_BUFFER_BIT = dso_local global i32 0, align 4 @GL_DEPTH_BUFFER_BIT = dso_local global i32 0, align 4 @GL_POINTS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @render2(i64 noundef %0, i64 noundef %1, i32 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store i64 %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %10 = load i64, ptr %4, align 8 %11 = inttoptr i64 %10 to ptr store ptr %11, ptr %7, align 8 %12 = load i64, ptr %5, align 8 %13 = inttoptr i64 %12 to ptr store ptr %13, ptr %8, align 8 %14 = load i32, ptr @GL_COLOR_BUFFER_BIT, align 4 %15 = load i32, ptr @GL_DEPTH_BUFFER_BIT, align 4 %16 = or i32 %14, %15 %17 = call i32 @glClear(i32 noundef %16) %18 = call i32 (...) @glLoadIdentity() %19 = call i32 @glTranslatef(double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef -3.000000e+01) %20 = call i32 @glColor3f(double noundef 1.000000e+00, double noundef 1.000000e+00, double noundef 1.000000e+00) store i32 0, ptr %9, align 4 br label %21 21: ; preds = %43, %3 %22 = load i32, ptr %9, align 4 %23 = load i32, ptr %6, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %25, label %46 25: ; preds = %21 %26 = load i32, ptr @GL_POINTS, align 4 %27 = call i32 @glBegin(i32 noundef %26) %28 = load ptr, ptr %7, align 8 %29 = load i32, ptr %9, align 4 %30 = mul nsw i32 %29, 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds float, ptr %28, i64 %31 %33 = load float, ptr %32, align 4 %34 = load ptr, ptr %7, align 8 %35 = load i32, ptr %9, align 4 %36 = mul nsw i32 %35, 4 %37 = add nsw i32 %36, 1 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds float, ptr %34, i64 %38 %40 = load float, ptr %39, align 4 %41 = call i32 @glVertex3f(float noundef %33, float noundef %40, double noundef 0.000000e+00) %42 = call i32 (...) @glEnd() br label %43 43: ; preds = %25 %44 = load i32, ptr %9, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %9, align 4 br label %21, !llvm.loop !6 46: ; preds = %21 %47 = call i32 (...) @glutSwapBuffers() ret void } declare i32 @glClear(i32 noundef) #1 declare i32 @glLoadIdentity(...) #1 declare i32 @glTranslatef(double noundef, double noundef, double noundef) #1 declare i32 @glColor3f(double noundef, double noundef, double noundef) #1 declare i32 @glBegin(i32 noundef) #1 declare i32 @glVertex3f(float noundef, float noundef, double noundef) #1 declare i32 @glEnd(...) #1 declare i32 @glutSwapBuffers(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmptmnps174.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @GL_COLOR_BUFFER_BIT = dso_local global i32 0, align 4 @GL_DEPTH_BUFFER_BIT = dso_local global i32 0, align 4 @GL_POINTS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @render2(i64 noundef %0, i64 noundef %1, i32 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store i64 %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %10 = load i64, ptr %4, align 8 %11 = inttoptr i64 %10 to ptr store ptr %11, ptr %7, align 8 %12 = load i64, ptr %5, align 8 %13 = inttoptr i64 %12 to ptr store ptr %13, ptr %8, align 8 %14 = load i32, ptr @GL_COLOR_BUFFER_BIT, align 4 %15 = load i32, ptr @GL_DEPTH_BUFFER_BIT, align 4 %16 = or i32 %14, %15 %17 = call i32 @glClear(i32 noundef %16) %18 = call i32 (...) @glLoadIdentity() %19 = call i32 @glTranslatef(double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef -3.000000e+01) %20 = call i32 @glColor3f(double noundef 1.000000e+00, double noundef 1.000000e+00, double noundef 1.000000e+00) store i32 0, ptr %9, align 4 %21 = load i32, ptr %9, align 4 %22 = load i32, ptr %6, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %.lr.ph, label %48 .lr.ph: ; preds = %3 br label %24 24: ; preds = %.lr.ph, %42 %25 = load i32, ptr @GL_POINTS, align 4 %26 = call i32 @glBegin(i32 noundef %25) %27 = load ptr, ptr %7, align 8 %28 = load i32, ptr %9, align 4 %29 = mul nsw i32 %28, 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds float, ptr %27, i64 %30 %32 = load float, ptr %31, align 4 %33 = load ptr, ptr %7, align 8 %34 = load i32, ptr %9, align 4 %35 = mul nsw i32 %34, 4 %36 = add nsw i32 %35, 1 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds float, ptr %33, i64 %37 %39 = load float, ptr %38, align 4 %40 = call i32 @glVertex3f(float noundef %32, float noundef %39, double noundef 0.000000e+00) %41 = call i32 (...) @glEnd() br label %42 42: ; preds = %24 %43 = load i32, ptr %9, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %9, align 4 %45 = load i32, ptr %9, align 4 %46 = load i32, ptr %6, align 4 %47 = icmp slt i32 %45, %46 br i1 %47, label %24, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %42 br label %48 48: ; preds = %._crit_edge, %3 %49 = call i32 (...) @glutSwapBuffers() ret void } declare i32 @glClear(i32 noundef) #1 declare i32 @glLoadIdentity(...) #1 declare i32 @glTranslatef(double noundef, double noundef, double noundef) #1 declare i32 @glColor3f(double noundef, double noundef, double noundef) #1 declare i32 @glBegin(i32 noundef) #1 declare i32 @glVertex3f(float noundef, float noundef, double noundef) #1 declare i32 @glEnd(...) #1 declare i32 @glutSwapBuffers(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpk9rn6oei.c' source_filename = "/tmp/tmpk9rn6oei.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\1B[6n\00", align 1 @STDOUT_FILENO = dso_local global i32 0, align 4 @STDIN_FILENO = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @btktermio_get_cursor_row() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [10 x i8], align 1 %5 = alloca ptr, align 8 store i32 0, ptr %2, align 4 store i32 0, ptr %3, align 4 store ptr @.str, ptr %5, align 8 %6 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 0 %7 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 10) %8 = load i32, ptr @STDOUT_FILENO, align 4 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %5, align 8 %11 = call i32 @strlen(ptr noundef %10) %12 = call i32 @write(i32 noundef %8, ptr noundef %9, i32 noundef %11) %13 = load i32, ptr @STDIN_FILENO, align 4 %14 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 0 %15 = call i32 @read(i32 noundef %13, ptr noundef %14, i32 noundef 10) store i32 %15, ptr %2, align 4 store i32 0, ptr %1, align 4 br label %16 16: ; preds = %82, %0 %17 = load i32, ptr %1, align 4 %18 = load i32, ptr %2, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %20, label %85 20: ; preds = %16 %21 = load i32, ptr %1, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 %22 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp eq i32 %25, 27 br i1 %26, label %34, label %27 27: ; preds = %20 %28 = load i32, ptr %1, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 %29 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = icmp eq i32 %32, 91 br i1 %33, label %34, label %35 34: ; preds = %27, %20 br label %82 35: ; preds = %27 %36 = load i32, ptr %1, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 %37 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = icmp sge i32 %40, 48 br i1 %41, label %42, label %59 42: ; preds = %35 %43 = load i32, ptr %1, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 %44 %46 = load i8, ptr %45, align 1 %47 = sext i8 %46 to i32 %48 = icmp sle i32 %47, 57 br i1 %48, label %49, label %59 49: ; preds = %42 %50 = load i32, ptr %3, align 4 %51 = mul nsw i32 %50, 10 %52 = load i32, ptr %1, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 %53 %55 = load i8, ptr %54, align 1 %56 = sext i8 %55 to i32 %57 = sub nsw i32 %56, 48 %58 = add nsw i32 %51, %57 store i32 %58, ptr %3, align 4 br label %59 59: ; preds = %49, %42, %35 %60 = load i32, ptr %1, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 %61 %63 = load i8, ptr %62, align 1 %64 = sext i8 %63 to i32 %65 = icmp eq i32 %64, 59 br i1 %65, label %80, label %66 66: ; preds = %59 %67 = load i32, ptr %1, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 %68 %70 = load i8, ptr %69, align 1 %71 = sext i8 %70 to i32 %72 = icmp eq i32 %71, 82 br i1 %72, label %80, label %73 73: ; preds = %66 %74 = load i32, ptr %1, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 %75 %77 = load i8, ptr %76, align 1 %78 = sext i8 %77 to i32 %79 = icmp eq i32 %78, 0 br i1 %79, label %80, label %81 80: ; preds = %73, %66, %59 br label %85 81: ; preds = %73 br label %82 82: ; preds = %81, %34 %83 = load i32, ptr %1, align 4 %84 = add nsw i32 %83, 1 store i32 %84, ptr %1, align 4 br label %16, !llvm.loop !6 85: ; preds = %80, %16 %86 = load i32, ptr %3, align 4 ret i32 %86 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpk9rn6oei.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\1B[6n\00", align 1 @STDOUT_FILENO = dso_local global i32 0, align 4 @STDIN_FILENO = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @btktermio_get_cursor_row() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [10 x i8], align 1 %5 = alloca ptr, align 8 store i32 0, ptr %2, align 4 store i32 0, ptr %3, align 4 store ptr @.str, ptr %5, align 8 %6 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 0 %7 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 10) %8 = load i32, ptr @STDOUT_FILENO, align 4 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %5, align 8 %11 = call i32 @strlen(ptr noundef %10) %12 = call i32 @write(i32 noundef %8, ptr noundef %9, i32 noundef %11) %13 = load i32, ptr @STDIN_FILENO, align 4 %14 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 0 %15 = call i32 @read(i32 noundef %13, ptr noundef %14, i32 noundef 10) store i32 %15, ptr %2, align 4 store i32 0, ptr %1, align 4 %16 = load i32, ptr %1, align 4 %17 = load i32, ptr %2, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %0 br label %19 19: ; preds = %.lr.ph, %81 %20 = load i32, ptr %1, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 %21 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = icmp eq i32 %24, 27 br i1 %25, label %33, label %26 26: ; preds = %19 %27 = load i32, ptr %1, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 %28 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = icmp eq i32 %31, 91 br i1 %32, label %33, label %34 33: ; preds = %26, %19 br label %81 34: ; preds = %26 %35 = load i32, ptr %1, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 %36 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = icmp sge i32 %39, 48 br i1 %40, label %41, label %58 41: ; preds = %34 %42 = load i32, ptr %1, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 %43 %45 = load i8, ptr %44, align 1 %46 = sext i8 %45 to i32 %47 = icmp sle i32 %46, 57 br i1 %47, label %48, label %58 48: ; preds = %41 %49 = load i32, ptr %3, align 4 %50 = mul nsw i32 %49, 10 %51 = load i32, ptr %1, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 %52 %54 = load i8, ptr %53, align 1 %55 = sext i8 %54 to i32 %56 = sub nsw i32 %55, 48 %57 = add nsw i32 %50, %56 store i32 %57, ptr %3, align 4 br label %58 58: ; preds = %48, %41, %34 %59 = load i32, ptr %1, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 %60 %62 = load i8, ptr %61, align 1 %63 = sext i8 %62 to i32 %64 = icmp eq i32 %63, 59 br i1 %64, label %79, label %65 65: ; preds = %58 %66 = load i32, ptr %1, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 %67 %69 = load i8, ptr %68, align 1 %70 = sext i8 %69 to i32 %71 = icmp eq i32 %70, 82 br i1 %71, label %79, label %72 72: ; preds = %65 %73 = load i32, ptr %1, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 %74 %76 = load i8, ptr %75, align 1 %77 = sext i8 %76 to i32 %78 = icmp eq i32 %77, 0 br i1 %78, label %79, label %80 79: ; preds = %72, %65, %58 br label %87 80: ; preds = %72 br label %81 81: ; preds = %80, %33 %82 = load i32, ptr %1, align 4 %83 = add nsw i32 %82, 1 store i32 %83, ptr %1, align 4 %84 = load i32, ptr %1, align 4 %85 = load i32, ptr %2, align 4 %86 = icmp slt i32 %84, %85 br i1 %86, label %19, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %81 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %0 br label %87 87: ; preds = %.loopexit, %79 %88 = load i32, ptr %3, align 4 ret i32 %88 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpc8h1wq85.c' source_filename = "/tmp/tmpc8h1wq85.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memory_resize(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i64, ptr %4, align 8 %7 = call ptr @realloc(ptr noundef %5, i64 noundef %6) #2 ret ptr %7 } ; Function Attrs: allocsize(1) declare ptr @realloc(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 = { allocsize(1) "frame-pointer"="all" "no-trapping-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 = { allocsize(1) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpc8h1wq85.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memory_resize(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i64, ptr %4, align 8 %7 = call ptr @realloc(ptr noundef %5, i64 noundef %6) #2 ret ptr %7 } ; Function Attrs: allocsize(1) declare ptr @realloc(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 = { allocsize(1) "frame-pointer"="all" "no-trapping-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 = { allocsize(1) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp81b0sssn.c' source_filename = "/tmp/tmp81b0sssn.c" target datalayout = "e-m:e-p270: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/tmp81b0sssn.c" target datalayout = "e-m:e-p270: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/tmpa3tae_is.c' source_filename = "/tmp/tmpa3tae_is.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @call_static_l1() #0 { %1 = call ptr (...) @static_l1() %2 = getelementptr inbounds i8, ptr %1, i64 1 ret ptr %2 } declare ptr @static_l1(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa3tae_is.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @call_static_l1() #0 { %1 = call ptr (...) @static_l1() %2 = getelementptr inbounds i8, ptr %1, i64 1 ret ptr %2 } declare ptr @static_l1(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6m9a8tun.c' source_filename = "/tmp/tmp6m9a8tun.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @property_set_string(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 @value_new_string(ptr noundef %6) %8 = call i32 @property_set_value(ptr noundef %5, i32 noundef %7) ret void } declare i32 @property_set_value(ptr noundef, i32 noundef) #1 declare i32 @value_new_string(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6m9a8tun.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @property_set_string(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 @value_new_string(ptr noundef %6) %8 = call i32 @property_set_value(ptr noundef %5, i32 noundef %7) ret void } declare i32 @property_set_value(ptr noundef, i32 noundef) #1 declare i32 @value_new_string(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpf6tm2ei9.c' source_filename = "/tmp/tmpf6tm2ei9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [30 x i8] c"Please enter the next input: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%i\00", align 1 @.str.2 = private unnamed_addr constant [35 x i8] c"Do you want to exit the programm?:\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.4 = private unnamed_addr constant [36 x i8] c"Biggest: %i, smallest: %i, Avg: %f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca float, align 4 %8 = alloca i8, align 1 store i32 0, ptr %1, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 store i8 110, ptr %8, align 1 br label %9 9: ; preds = %32, %0 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str) %11 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2) %12 = load i32, ptr %2, align 4 %13 = load i32, ptr %3, align 4 %14 = add nsw i32 %13, %12 store i32 %14, ptr %3, align 4 %15 = load i32, ptr %4, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %4, align 4 %17 = load i32, ptr %2, align 4 %18 = load i32, ptr %5, align 4 %19 = icmp sgt i32 %17, %18 br i1 %19, label %20, label %22 20: ; preds = %9 %21 = load i32, ptr %2, align 4 store i32 %21, ptr %5, align 4 br label %29 22: ; preds = %9 %23 = load i32, ptr %2, align 4 %24 = load i32, ptr %6, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %26, label %28 26: ; preds = %22 %27 = load i32, ptr %2, align 4 store i32 %27, ptr %6, align 4 br label %28 28: ; preds = %26, %22 br label %29 29: ; preds = %28, %20 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %31 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %8) br label %32 32: ; preds = %29 %33 = load i8, ptr %8, align 1 %34 = sext i8 %33 to i32 %35 = icmp ne i32 %34, 121 br i1 %35, label %9, label %36, !llvm.loop !6 36: ; preds = %32 %37 = load i32, ptr %3, align 4 %38 = sitofp i32 %37 to float %39 = load i32, ptr %4, align 4 %40 = sitofp i32 %39 to float %41 = fdiv float %38, %40 store float %41, ptr %7, align 4 %42 = load i32, ptr %5, align 4 %43 = load i32, ptr %6, align 4 %44 = load float, ptr %7, align 4 %45 = fpext float %44 to double %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %42, i32 noundef %43, double noundef %45) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpf6tm2ei9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [30 x i8] c"Please enter the next input: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%i\00", align 1 @.str.2 = private unnamed_addr constant [35 x i8] c"Do you want to exit the programm?:\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.4 = private unnamed_addr constant [36 x i8] c"Biggest: %i, smallest: %i, Avg: %f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca float, align 4 %8 = alloca i8, align 1 store i32 0, ptr %1, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 store i8 110, ptr %8, align 1 br label %9 9: ; preds = %32, %0 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str) %11 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2) %12 = load i32, ptr %2, align 4 %13 = load i32, ptr %3, align 4 %14 = add nsw i32 %13, %12 store i32 %14, ptr %3, align 4 %15 = load i32, ptr %4, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %4, align 4 %17 = load i32, ptr %2, align 4 %18 = load i32, ptr %5, align 4 %19 = icmp sgt i32 %17, %18 br i1 %19, label %20, label %22 20: ; preds = %9 %21 = load i32, ptr %2, align 4 store i32 %21, ptr %5, align 4 br label %29 22: ; preds = %9 %23 = load i32, ptr %2, align 4 %24 = load i32, ptr %6, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %26, label %28 26: ; preds = %22 %27 = load i32, ptr %2, align 4 store i32 %27, ptr %6, align 4 br label %28 28: ; preds = %26, %22 br label %29 29: ; preds = %28, %20 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %31 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %8) br label %32 32: ; preds = %29 %33 = load i8, ptr %8, align 1 %34 = sext i8 %33 to i32 %35 = icmp ne i32 %34, 121 br i1 %35, label %9, label %36, !llvm.loop !6 36: ; preds = %32 %37 = load i32, ptr %3, align 4 %38 = sitofp i32 %37 to float %39 = load i32, ptr %4, align 4 %40 = sitofp i32 %39 to float %41 = fdiv float %38, %40 store float %41, ptr %7, align 4 %42 = load i32, ptr %5, align 4 %43 = load i32, ptr %6, align 4 %44 = load float, ptr %7, align 4 %45 = fpext float %44 to double %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %42, i32 noundef %43, double noundef %45) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp4ba83smf.c' source_filename = "/tmp/tmp4ba83smf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @next(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %10 = load ptr, ptr %6, align 8 %11 = load i32, ptr %10, align 4 store i32 %11, ptr %8, align 4 %12 = load ptr, ptr %5, align 8 %13 = load i32, ptr %8, 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 = icmp eq i32 %17, 0 br i1 %18, label %19, label %20 19: ; preds = %3 store ptr null, ptr %4, align 8 br label %60 20: ; preds = %3 br label %21 21: ; preds = %29, %20 %22 = load ptr, ptr %5, align 8 %23 = load i32, ptr %8, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i8, ptr %22, i64 %24 %26 = load i8, ptr %25, align 1 %27 = call i64 @isalpha(i8 noundef signext %26) %28 = icmp ne i64 %27, 0 br i1 %28, label %29, label %32 29: ; preds = %21 %30 = load i32, ptr %8, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %8, align 4 br label %21, !llvm.loop !6 32: ; preds = %21 %33 = load i32, ptr %8, align 4 %34 = load ptr, ptr %6, align 8 %35 = load i32, ptr %34, align 4 %36 = icmp eq i32 %33, %35 br i1 %36, label %37, label %40 37: ; preds = %32 %38 = load i32, ptr %8, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %8, align 4 br label %40 40: ; preds = %37, %32 %41 = load i32, ptr %8, align 4 %42 = load ptr, ptr %6, align 8 %43 = load i32, ptr %42, align 4 %44 = sub nsw i32 %41, %43 store i32 %44, ptr %9, align 4 %45 = load ptr, ptr %7, align 8 %46 = load ptr, ptr %5, align 8 %47 = load ptr, ptr %6, align 8 %48 = load i32, ptr %47, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i8, ptr %46, i64 %49 %51 = load i32, ptr %9, align 4 %52 = call i32 @strncpy(ptr noundef %45, ptr noundef %50, i32 noundef %51) %53 = load ptr, ptr %7, align 8 %54 = load i32, ptr %9, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i8, ptr %53, i64 %55 store i8 0, ptr %56, align 1 %57 = load i32, ptr %8, align 4 %58 = load ptr, ptr %6, align 8 store i32 %57, ptr %58, align 4 %59 = load ptr, ptr %7, align 8 store ptr %59, ptr %4, align 8 br label %60 60: ; preds = %40, %19 %61 = load ptr, ptr %4, align 8 ret ptr %61 } declare i64 @isalpha(i8 noundef signext) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4ba83smf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @next(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %10 = load ptr, ptr %6, align 8 %11 = load i32, ptr %10, align 4 store i32 %11, ptr %8, align 4 %12 = load ptr, ptr %5, align 8 %13 = load i32, ptr %8, 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 = icmp eq i32 %17, 0 br i1 %18, label %19, label %20 19: ; preds = %3 store ptr null, ptr %4, align 8 br label %66 20: ; preds = %3 %21 = load ptr, ptr %5, align 8 %22 = load i32, ptr %8, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %21, i64 %23 %25 = load i8, ptr %24, align 1 %26 = call i64 @isalpha(i8 noundef signext %25) %27 = icmp ne i64 %26, 0 br i1 %27, label %.lr.ph, label %38 .lr.ph: ; preds = %20 br label %28 28: ; preds = %.lr.ph, %28 %29 = load i32, ptr %8, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %8, align 4 %31 = load ptr, ptr %5, align 8 %32 = load i32, ptr %8, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i8, ptr %31, i64 %33 %35 = load i8, ptr %34, align 1 %36 = call i64 @isalpha(i8 noundef signext %35) %37 = icmp ne i64 %36, 0 br i1 %37, label %28, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %38 38: ; preds = %._crit_edge, %20 %39 = load i32, ptr %8, align 4 %40 = load ptr, ptr %6, align 8 %41 = load i32, ptr %40, align 4 %42 = icmp eq i32 %39, %41 br i1 %42, label %43, label %46 43: ; preds = %38 %44 = load i32, ptr %8, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %8, align 4 br label %46 46: ; preds = %43, %38 %47 = load i32, ptr %8, align 4 %48 = load ptr, ptr %6, align 8 %49 = load i32, ptr %48, align 4 %50 = sub nsw i32 %47, %49 store i32 %50, ptr %9, align 4 %51 = load ptr, ptr %7, align 8 %52 = load ptr, ptr %5, align 8 %53 = load ptr, ptr %6, align 8 %54 = load i32, ptr %53, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i8, ptr %52, i64 %55 %57 = load i32, ptr %9, align 4 %58 = call i32 @strncpy(ptr noundef %51, ptr noundef %56, i32 noundef %57) %59 = load ptr, ptr %7, align 8 %60 = load i32, ptr %9, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i8, ptr %59, i64 %61 store i8 0, ptr %62, align 1 %63 = load i32, ptr %8, align 4 %64 = load ptr, ptr %6, align 8 store i32 %63, ptr %64, align 4 %65 = load ptr, ptr %7, align 8 store ptr %65, ptr %4, align 8 br label %66 66: ; preds = %46, %19 %67 = load ptr, ptr %4, align 8 ret ptr %67 } declare i64 @isalpha(i8 noundef signext) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp1mwpahy9.c' source_filename = "/tmp/tmp1mwpahy9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"BerkeleyDB support not compiled\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @aw_bdb_del(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %9 = call i32 @fatal(ptr noundef @.str) ret i32 0 } declare i32 @fatal(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1mwpahy9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"BerkeleyDB support not compiled\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @aw_bdb_del(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %9 = call i32 @fatal(ptr noundef @.str) ret i32 0 } declare i32 @fatal(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpopw04jh4.c' source_filename = "/tmp/tmpopw04jh4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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".se/\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c".dk/\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c".uo.uk/\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c".com/\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @url_havpri2(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = getelementptr inbounds i8, ptr %4, i64 7 %6 = call ptr @strstr(ptr noundef %5, ptr noundef @.str) %7 = icmp ne ptr %6, null br i1 %7, label %23, label %8 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 %10 = getelementptr inbounds i8, ptr %9, i64 7 %11 = call ptr @strstr(ptr noundef %10, ptr noundef @.str.1) %12 = icmp ne ptr %11, null br i1 %12, label %23, label %13 13: ; preds = %8 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds i8, ptr %14, i64 7 %16 = call ptr @strstr(ptr noundef %15, ptr noundef @.str.2) %17 = icmp ne ptr %16, null br i1 %17, label %23, label %18 18: ; preds = %13 %19 = load ptr, ptr %3, align 8 %20 = getelementptr inbounds i8, ptr %19, i64 7 %21 = call ptr @strstr(ptr noundef %20, ptr noundef @.str.3) %22 = icmp ne ptr %21, null br i1 %22, label %23, label %24 23: ; preds = %18, %13, %8, %1 store i32 1, ptr %2, align 4 br label %25 24: ; preds = %18 store i32 0, ptr %2, align 4 br label %25 25: ; preds = %24, %23 %26 = load i32, ptr %2, align 4 ret i32 %26 } declare ptr @strstr(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/tmpopw04jh4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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".se/\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c".dk/\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c".uo.uk/\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c".com/\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @url_havpri2(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = getelementptr inbounds i8, ptr %4, i64 7 %6 = call ptr @strstr(ptr noundef %5, ptr noundef @.str) %7 = icmp ne ptr %6, null br i1 %7, label %23, label %8 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 %10 = getelementptr inbounds i8, ptr %9, i64 7 %11 = call ptr @strstr(ptr noundef %10, ptr noundef @.str.1) %12 = icmp ne ptr %11, null br i1 %12, label %23, label %13 13: ; preds = %8 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds i8, ptr %14, i64 7 %16 = call ptr @strstr(ptr noundef %15, ptr noundef @.str.2) %17 = icmp ne ptr %16, null br i1 %17, label %23, label %18 18: ; preds = %13 %19 = load ptr, ptr %3, align 8 %20 = getelementptr inbounds i8, ptr %19, i64 7 %21 = call ptr @strstr(ptr noundef %20, ptr noundef @.str.3) %22 = icmp ne ptr %21, null br i1 %22, label %23, label %24 23: ; preds = %18, %13, %8, %1 store i32 1, ptr %2, align 4 br label %25 24: ; preds = %18 store i32 0, ptr %2, align 4 br label %25 25: ; preds = %24, %23 %26 = load i32, ptr %2, align 4 ret i32 %26 } declare ptr @strstr(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/tmpno0ugne8.c' source_filename = "/tmp/tmpno0ugne8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @update_ics_width.old_width = internal global i32 0, align 4 @.str = private unnamed_addr constant [14 x i8] c"set width %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @update_ics_width() #0 { %1 = alloca i32, align 4 %2 = call i32 (...) @get_term_width() store i32 %2, ptr %1, align 4 %3 = load i32, ptr @update_ics_width.old_width, align 4 %4 = load i32, ptr %1, align 4 %5 = icmp ne i32 %3, %4 br i1 %5, label %6, label %9 6: ; preds = %0 %7 = load i32, ptr %1, align 4 %8 = call i32 @ics_printf(ptr noundef @.str, i32 noundef %7) br label %9 9: ; preds = %6, %0 %10 = load i32, ptr %1, align 4 store i32 %10, ptr @update_ics_width.old_width, align 4 ret void } declare i32 @get_term_width(...) #1 declare i32 @ics_printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpno0ugne8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @update_ics_width.old_width = internal global i32 0, align 4 @.str = private unnamed_addr constant [14 x i8] c"set width %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @update_ics_width() #0 { %1 = alloca i32, align 4 %2 = call i32 (...) @get_term_width() store i32 %2, ptr %1, align 4 %3 = load i32, ptr @update_ics_width.old_width, align 4 %4 = load i32, ptr %1, align 4 %5 = icmp ne i32 %3, %4 br i1 %5, label %6, label %9 6: ; preds = %0 %7 = load i32, ptr %1, align 4 %8 = call i32 @ics_printf(ptr noundef @.str, i32 noundef %7) br label %9 9: ; preds = %6, %0 %10 = load i32, ptr %1, align 4 store i32 %10, ptr @update_ics_width.old_width, align 4 ret void } declare i32 @get_term_width(...) #1 declare i32 @ics_printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpurptvpva.c' source_filename = "/tmp/tmpurptvpva.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"write\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp slt i32 %6, 2 br i1 %7, label %8, label %9 8: ; preds = %2 store i32 99, ptr %3, align 4 br label %25 9: ; preds = %2 %10 = call i32 @write(i32 noundef 1, ptr noundef @.str, i32 noundef 1) %11 = icmp ne i32 %10, 1 br i1 %11, label %12, label %14 12: ; preds = %9 %13 = call i32 @perror(ptr noundef @.str.1) store i32 99, ptr %3, align 4 br label %25 14: ; preds = %9 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 1 %17 = load ptr, ptr %16, align 8 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 1 %20 = call i32 @execvp(ptr noundef %17, ptr noundef %19) %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 @perror(ptr noundef %23) store i32 99, ptr %3, align 4 br label %25 25: ; preds = %14, %12, %8 %26 = load i32, ptr %3, align 4 ret i32 %26 } declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @execvp(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/tmpurptvpva.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"write\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp slt i32 %6, 2 br i1 %7, label %8, label %9 8: ; preds = %2 store i32 99, ptr %3, align 4 br label %25 9: ; preds = %2 %10 = call i32 @write(i32 noundef 1, ptr noundef @.str, i32 noundef 1) %11 = icmp ne i32 %10, 1 br i1 %11, label %12, label %14 12: ; preds = %9 %13 = call i32 @perror(ptr noundef @.str.1) store i32 99, ptr %3, align 4 br label %25 14: ; preds = %9 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 1 %17 = load ptr, ptr %16, align 8 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 1 %20 = call i32 @execvp(ptr noundef %17, ptr noundef %19) %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 @perror(ptr noundef %23) store i32 99, ptr %3, align 4 br label %25 25: ; preds = %14, %12, %8 %26 = load i32, ptr %3, align 4 ret i32 %26 } declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @execvp(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/tmpf59s7a2l.c' source_filename = "/tmp/tmpf59s7a2l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @M_PI = dso_local global double 0.000000e+00, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpf59s7a2l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @M_PI = dso_local global double 0.000000e+00, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcr0pt4kf.c' source_filename = "/tmp/tmpcr0pt4kf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dosomething() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 br label %2 2: ; preds = %7, %0 %3 = load i32, ptr %1, align 4 %4 = icmp slt i32 %3, 900000 br i1 %4, label %5, label %10 5: ; preds = %2 %6 = call i32 (...) @clock() br label %7 7: ; preds = %5 %8 = load i32, ptr %1, align 4 %9 = add nsw i32 %8, 1 store i32 %9, ptr %1, align 4 br label %2, !llvm.loop !6 10: ; preds = %2 ret void } 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/tmpcr0pt4kf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dosomething() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = load i32, ptr %1, align 4 %3 = icmp slt i32 %2, 900000 br i1 %3, label %.lr.ph, label %11 .lr.ph: ; preds = %0 br label %4 4: ; preds = %.lr.ph, %6 %5 = call i32 (...) @clock() br label %6 6: ; preds = %4 %7 = load i32, ptr %1, align 4 %8 = add nsw i32 %7, 1 store i32 %8, ptr %1, align 4 %9 = load i32, ptr %1, align 4 %10 = icmp slt i32 %9, 900000 br i1 %10, label %4, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %6 br label %11 11: ; preds = %._crit_edge, %0 ret void } 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/tmpp6nglbk7.c' source_filename = "/tmp/tmpp6nglbk7.c" target datalayout = "e-m:e-p270: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/tmpp6nglbk7.c" target datalayout = "e-m:e-p270: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/tmpvh1j9zzd.c' source_filename = "/tmp/tmpvh1j9zzd.c" target datalayout = "e-m:e-p270: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/tmpvh1j9zzd.c" target datalayout = "e-m:e-p270: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/tmpd3atk49r.c' source_filename = "/tmp/tmpd3atk49r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @crypt_destroy(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @free(ptr noundef %3) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpd3atk49r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @crypt_destroy(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @free(ptr noundef %3) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4ns_l4o4.c' source_filename = "/tmp/tmp4ns_l4o4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"Hello World, I am in CptS 121!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4ns_l4o4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"Hello World, I am in CptS 121!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9foz_cix.c' source_filename = "/tmp/tmp9foz_cix.c" target datalayout = "e-m:e-p270: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/tmp9foz_cix.c" target datalayout = "e-m:e-p270: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/tmppn0zj6_b.c' source_filename = "/tmp/tmppn0zj6_b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @g(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, i32 noundef %6) #0 { %8 = alloca double, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca double, align 8 store ptr %0, ptr %9, align 8 store i32 %1, ptr %10, align 4 store i32 %2, ptr %11, align 4 store i32 %3, ptr %12, align 4 store i32 %4, ptr %13, align 4 store ptr %5, ptr %14, align 8 store i32 %6, ptr %15, align 4 %18 = load i32, ptr %10, align 4 %19 = load i32, ptr %15, align 4 %20 = sub nsw i32 %18, %19 %21 = icmp slt i32 %20, 0 br i1 %21, label %33, label %22 22: ; preds = %7 %23 = load i32, ptr %10, align 4 %24 = load i32, ptr %12, align 4 %25 = icmp sgt i32 %23, %24 br i1 %25, label %33, label %26 26: ; preds = %22 %27 = load i32, ptr %11, align 4 %28 = icmp slt i32 %27, 0 br i1 %28, label %33, label %29 29: ; preds = %26 %30 = load i32, ptr %11, align 4 %31 = load i32, ptr %13, align 4 %32 = icmp sgt i32 %30, %31 br i1 %32, label %33, label %34 33: ; preds = %29, %26, %22, %7 store double 0.000000e+00, ptr %8, align 8 br label %85 34: ; preds = %29 %35 = load ptr, ptr %14, align 8 %36 = getelementptr inbounds double, ptr %35, i64 0 %37 = load double, ptr %36, align 8 %38 = load ptr, ptr %9, align 8 %39 = load i32, ptr %10, align 4 %40 = load i32, ptr %11, align 4 %41 = load i32, ptr %12, align 4 %42 = load i32, ptr %13, align 4 %43 = call i64 @coord(i32 noundef %39, i32 noundef %40, i32 noundef %41, i32 noundef %42) %44 = getelementptr inbounds double, ptr %38, i64 %43 %45 = load double, ptr %44, align 8 %46 = fmul double %37, %45 store double %46, ptr %17, align 8 store i32 1, ptr %16, align 4 br label %47 47: ; preds = %80, %34 %48 = load i32, ptr %16, align 4 %49 = load i32, ptr %15, align 4 %50 = icmp slt i32 %48, %49 br i1 %50, label %51, label %83 51: ; preds = %47 %52 = load ptr, ptr %14, align 8 %53 = load i32, ptr %16, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds double, ptr %52, i64 %54 %56 = load double, ptr %55, align 8 %57 = load ptr, ptr %9, align 8 %58 = load i32, ptr %10, align 4 %59 = load i32, ptr %16, align 4 %60 = sub nsw i32 %58, %59 %61 = load i32, ptr %11, align 4 %62 = load i32, ptr %12, align 4 %63 = load i32, ptr %13, align 4 %64 = call i64 @coord(i32 noundef %60, i32 noundef %61, i32 noundef %62, i32 noundef %63) %65 = getelementptr inbounds double, ptr %57, i64 %64 %66 = load double, ptr %65, align 8 %67 = load ptr, ptr %9, align 8 %68 = load i32, ptr %10, align 4 %69 = load i32, ptr %16, align 4 %70 = add nsw i32 %68, %69 %71 = load i32, ptr %11, align 4 %72 = load i32, ptr %12, align 4 %73 = load i32, ptr %13, align 4 %74 = call i64 @coord(i32 noundef %70, i32 noundef %71, i32 noundef %72, i32 noundef %73) %75 = getelementptr inbounds double, ptr %67, i64 %74 %76 = load double, ptr %75, align 8 %77 = fadd double %66, %76 %78 = load double, ptr %17, align 8 %79 = call double @llvm.fmuladd.f64(double %56, double %77, double %78) store double %79, ptr %17, align 8 br label %80 80: ; preds = %51 %81 = load i32, ptr %16, align 4 %82 = add nsw i32 %81, 1 store i32 %82, ptr %16, align 4 br label %47, !llvm.loop !6 83: ; preds = %47 %84 = load double, ptr %17, align 8 store double %84, ptr %8, align 8 br label %85 85: ; preds = %83, %33 %86 = load double, ptr %8, align 8 ret double %86 } declare i64 @coord(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppn0zj6_b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @g(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, i32 noundef %6) #0 { %8 = alloca double, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca double, align 8 store ptr %0, ptr %9, align 8 store i32 %1, ptr %10, align 4 store i32 %2, ptr %11, align 4 store i32 %3, ptr %12, align 4 store i32 %4, ptr %13, align 4 store ptr %5, ptr %14, align 8 store i32 %6, ptr %15, align 4 %18 = load i32, ptr %10, align 4 %19 = load i32, ptr %15, align 4 %20 = sub nsw i32 %18, %19 %21 = icmp slt i32 %20, 0 br i1 %21, label %33, label %22 22: ; preds = %7 %23 = load i32, ptr %10, align 4 %24 = load i32, ptr %12, align 4 %25 = icmp sgt i32 %23, %24 br i1 %25, label %33, label %26 26: ; preds = %22 %27 = load i32, ptr %11, align 4 %28 = icmp slt i32 %27, 0 br i1 %28, label %33, label %29 29: ; preds = %26 %30 = load i32, ptr %11, align 4 %31 = load i32, ptr %13, align 4 %32 = icmp sgt i32 %30, %31 br i1 %32, label %33, label %34 33: ; preds = %29, %26, %22, %7 store double 0.000000e+00, ptr %8, align 8 br label %87 34: ; preds = %29 %35 = load ptr, ptr %14, align 8 %36 = getelementptr inbounds double, ptr %35, i64 0 %37 = load double, ptr %36, align 8 %38 = load ptr, ptr %9, align 8 %39 = load i32, ptr %10, align 4 %40 = load i32, ptr %11, align 4 %41 = load i32, ptr %12, align 4 %42 = load i32, ptr %13, align 4 %43 = call i64 @coord(i32 noundef %39, i32 noundef %40, i32 noundef %41, i32 noundef %42) %44 = getelementptr inbounds double, ptr %38, i64 %43 %45 = load double, ptr %44, align 8 %46 = fmul double %37, %45 store double %46, ptr %17, align 8 store i32 1, ptr %16, align 4 %47 = load i32, ptr %16, align 4 %48 = load i32, ptr %15, align 4 %49 = icmp slt i32 %47, %48 br i1 %49, label %.lr.ph, label %85 .lr.ph: ; preds = %34 br label %50 50: ; preds = %.lr.ph, %79 %51 = load ptr, ptr %14, align 8 %52 = load i32, ptr %16, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds double, ptr %51, i64 %53 %55 = load double, ptr %54, align 8 %56 = load ptr, ptr %9, align 8 %57 = load i32, ptr %10, align 4 %58 = load i32, ptr %16, align 4 %59 = sub nsw i32 %57, %58 %60 = load i32, ptr %11, align 4 %61 = load i32, ptr %12, align 4 %62 = load i32, ptr %13, align 4 %63 = call i64 @coord(i32 noundef %59, i32 noundef %60, i32 noundef %61, i32 noundef %62) %64 = getelementptr inbounds double, ptr %56, i64 %63 %65 = load double, ptr %64, align 8 %66 = load ptr, ptr %9, align 8 %67 = load i32, ptr %10, align 4 %68 = load i32, ptr %16, align 4 %69 = add nsw i32 %67, %68 %70 = load i32, ptr %11, align 4 %71 = load i32, ptr %12, align 4 %72 = load i32, ptr %13, align 4 %73 = call i64 @coord(i32 noundef %69, i32 noundef %70, i32 noundef %71, i32 noundef %72) %74 = getelementptr inbounds double, ptr %66, i64 %73 %75 = load double, ptr %74, align 8 %76 = fadd double %65, %75 %77 = load double, ptr %17, align 8 %78 = call double @llvm.fmuladd.f64(double %55, double %76, double %77) store double %78, ptr %17, align 8 br label %79 79: ; preds = %50 %80 = load i32, ptr %16, align 4 %81 = add nsw i32 %80, 1 store i32 %81, ptr %16, align 4 %82 = load i32, ptr %16, align 4 %83 = load i32, ptr %15, align 4 %84 = icmp slt i32 %82, %83 br i1 %84, label %50, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %79 br label %85 85: ; preds = %._crit_edge, %34 %86 = load double, ptr %17, align 8 store double %86, ptr %8, align 8 br label %87 87: ; preds = %85, %33 %88 = load double, ptr %8, align 8 ret double %88 } declare i64 @coord(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpru_00fms.c' source_filename = "/tmp/tmpru_00fms.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @best_move(ptr noundef %0, ptr noundef %1, i8 noundef signext %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i8, align 1 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i8, align 1 %12 = alloca [6 x [6 x i8]], align 16 %13 = alloca i32, align 4 %14 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i8 %2, ptr %6, align 1 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 %15 = load i8, ptr %6, align 1 %16 = sext i8 %15 to i32 %17 = icmp eq i32 %16, 79 %18 = zext i1 %17 to i64 %19 = select i1 %17, i32 64, i32 79 %20 = trunc i32 %19 to i8 store i8 %20, ptr %11, align 1 call void @llvm.memset.p0.i64(ptr align 16 %12, i8 0, i64 36, i1 false) store i32 0, ptr %13, align 4 store i32 0, ptr %14, align 4 store i32 0, ptr %7, align 4 br label %21 21: ; preds = %88, %3 %22 = load i32, ptr %7, align 4 %23 = icmp slt i32 %22, 6 br i1 %23, label %24, label %91 24: ; preds = %21 store i32 0, ptr %8, align 4 br label %25 25: ; preds = %84, %24 %26 = load i32, ptr %8, align 4 %27 = icmp slt i32 %26, 6 br i1 %27, label %28, label %87 28: ; preds = %25 %29 = load ptr, ptr %5, align 8 %30 = load i32, ptr %7, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [6 x i32], ptr %29, i64 %31 %33 = load i32, ptr %8, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds [6 x i32], ptr %32, i64 0, i64 %34 %36 = load i32, ptr %35, align 4 %37 = icmp ne i32 %36, 0 br i1 %37, label %39, label %38 38: ; preds = %28 br label %84 39: ; preds = %28 store i32 0, ptr %9, align 4 br label %40 40: ; preds = %66, %39 %41 = load i32, ptr %9, align 4 %42 = icmp slt i32 %41, 6 br i1 %42, label %43, label %69 43: ; preds = %40 store i32 0, ptr %10, align 4 br label %44 44: ; preds = %62, %43 %45 = load i32, ptr %10, align 4 %46 = icmp slt i32 %45, 6 br i1 %46, label %47, label %65 47: ; preds = %44 %48 = load ptr, ptr %4, align 8 %49 = load i32, ptr %9, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds [6 x i8], ptr %48, i64 %50 %52 = load i32, ptr %10, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [6 x i8], ptr %51, i64 0, i64 %53 %55 = load i8, ptr %54, align 1 %56 = load i32, ptr %9, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds [6 x [6 x i8]], ptr %12, i64 0, i64 %57 %59 = load i32, ptr %10, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds [6 x i8], ptr %58, i64 0, i64 %60 store i8 %55, ptr %61, align 1 br label %62 62: ; preds = %47 %63 = load i32, ptr %10, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %10, align 4 br label %44, !llvm.loop !6 65: ; preds = %44 br label %66 66: ; preds = %65 %67 = load i32, ptr %9, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %9, align 4 br label %40, !llvm.loop !8 69: ; preds = %40 %70 = getelementptr inbounds [6 x [6 x i8]], ptr %12, i64 0, i64 0 %71 = load i32, ptr %7, align 4 %72 = load i32, ptr %8, align 4 %73 = load i8, ptr %6, align 1 %74 = call i32 @make_move(ptr noundef %70, i32 noundef %71, i32 noundef %72, i8 noundef signext %73) %75 = getelementptr inbounds [6 x [6 x i8]], ptr %12, i64 0, i64 0 %76 = load i8, ptr %6, align 1 %77 = call i32 @get_score(ptr noundef %75, i8 noundef signext %76) store i32 %77, ptr %14, align 4 %78 = load i32, ptr %13, align 4 %79 = load i32, ptr %14, align 4 %80 = icmp slt i32 %78, %79 br i1 %80, label %81, label %83 81: ; preds = %69 %82 = load i32, ptr %14, align 4 store i32 %82, ptr %13, align 4 br label %83 83: ; preds = %81, %69 br label %84 84: ; preds = %83, %38 %85 = load i32, ptr %8, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %8, align 4 br label %25, !llvm.loop !9 87: ; preds = %25 br label %88 88: ; preds = %87 %89 = load i32, ptr %7, align 4 %90 = add nsw i32 %89, 1 store i32 %90, ptr %7, align 4 br label %21, !llvm.loop !10 91: ; preds = %21 %92 = load i32, ptr %13, align 4 ret i32 %92 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @make_move(ptr noundef, i32 noundef, i32 noundef, i8 noundef signext) #2 declare i32 @get_score(ptr noundef, i8 noundef signext) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpru_00fms.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @best_move(ptr noundef %0, ptr noundef %1, i8 noundef signext %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i8, align 1 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i8, align 1 %12 = alloca [6 x [6 x i8]], align 16 %13 = alloca i32, align 4 %14 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i8 %2, ptr %6, align 1 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 %15 = load i8, ptr %6, align 1 %16 = sext i8 %15 to i32 %17 = icmp eq i32 %16, 79 %18 = zext i1 %17 to i64 %19 = select i1 %17, i32 64, i32 79 %20 = trunc i32 %19 to i8 store i8 %20, ptr %11, align 1 call void @llvm.memset.p0.i64(ptr align 16 %12, i8 0, i64 36, i1 false) store i32 0, ptr %13, align 4 store i32 0, ptr %14, align 4 store i32 0, ptr %7, align 4 %21 = load i32, ptr %7, align 4 %22 = icmp slt i32 %21, 6 br i1 %22, label %.lr.ph8, label %95 .lr.ph8: ; preds = %3 br label %23 23: ; preds = %.lr.ph8, %90 store i32 0, ptr %8, align 4 %24 = load i32, ptr %8, align 4 %25 = icmp slt i32 %24, 6 br i1 %25, label %.lr.ph5, label %89 .lr.ph5: ; preds = %23 br label %26 26: ; preds = %.lr.ph5, %84 %27 = load ptr, ptr %5, align 8 %28 = load i32, ptr %7, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds [6 x i32], ptr %27, i64 %29 %31 = load i32, ptr %8, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [6 x i32], ptr %30, i64 0, i64 %32 %34 = load i32, ptr %33, align 4 %35 = icmp ne i32 %34, 0 br i1 %35, label %37, label %36 36: ; preds = %26 br label %84 37: ; preds = %26 store i32 0, ptr %9, align 4 %38 = load i32, ptr %9, align 4 %39 = icmp slt i32 %38, 6 br i1 %39, label %.lr.ph2, label %69 .lr.ph2: ; preds = %37 br label %40 40: ; preds = %.lr.ph2, %64 store i32 0, ptr %10, align 4 %41 = load i32, ptr %10, align 4 %42 = icmp slt i32 %41, 6 br i1 %42, label %.lr.ph, label %63 .lr.ph: ; preds = %40 br label %43 43: ; preds = %.lr.ph, %58 %44 = load ptr, ptr %4, align 8 %45 = load i32, ptr %9, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds [6 x i8], ptr %44, i64 %46 %48 = load i32, ptr %10, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds [6 x i8], ptr %47, i64 0, i64 %49 %51 = load i8, ptr %50, align 1 %52 = load i32, ptr %9, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [6 x [6 x i8]], ptr %12, i64 0, i64 %53 %55 = load i32, ptr %10, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds [6 x i8], ptr %54, i64 0, i64 %56 store i8 %51, ptr %57, align 1 br label %58 58: ; preds = %43 %59 = load i32, ptr %10, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %10, align 4 %61 = load i32, ptr %10, align 4 %62 = icmp slt i32 %61, 6 br i1 %62, label %43, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %58 br label %63 63: ; preds = %._crit_edge, %40 br label %64 64: ; preds = %63 %65 = load i32, ptr %9, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %9, align 4 %67 = load i32, ptr %9, align 4 %68 = icmp slt i32 %67, 6 br i1 %68, label %40, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %64 br label %69 69: ; preds = %._crit_edge3, %37 %70 = getelementptr inbounds [6 x [6 x i8]], ptr %12, i64 0, i64 0 %71 = load i32, ptr %7, align 4 %72 = load i32, ptr %8, align 4 %73 = load i8, ptr %6, align 1 %74 = call i32 @make_move(ptr noundef %70, i32 noundef %71, i32 noundef %72, i8 noundef signext %73) %75 = getelementptr inbounds [6 x [6 x i8]], ptr %12, i64 0, i64 0 %76 = load i8, ptr %6, align 1 %77 = call i32 @get_score(ptr noundef %75, i8 noundef signext %76) store i32 %77, ptr %14, align 4 %78 = load i32, ptr %13, align 4 %79 = load i32, ptr %14, align 4 %80 = icmp slt i32 %78, %79 br i1 %80, label %81, label %83 81: ; preds = %69 %82 = load i32, ptr %14, align 4 store i32 %82, ptr %13, align 4 br label %83 83: ; preds = %81, %69 br label %84 84: ; preds = %83, %36 %85 = load i32, ptr %8, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %8, align 4 %87 = load i32, ptr %8, align 4 %88 = icmp slt i32 %87, 6 br i1 %88, label %26, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %84 br label %89 89: ; preds = %._crit_edge6, %23 br label %90 90: ; preds = %89 %91 = load i32, ptr %7, align 4 %92 = add nsw i32 %91, 1 store i32 %92, ptr %7, align 4 %93 = load i32, ptr %7, align 4 %94 = icmp slt i32 %93, 6 br i1 %94, label %23, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %90 br label %95 95: ; preds = %._crit_edge9, %3 %96 = load i32, ptr %13, align 4 ret i32 %96 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @make_move(ptr noundef, i32 noundef, i32 noundef, i8 noundef signext) #2 declare i32 @get_score(ptr noundef, i8 noundef signext) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpbjm8vdbn.c' source_filename = "/tmp/tmpbjm8vdbn.c" target datalayout = "e-m:e-p270: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.TYPE_5__ = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @xdr_uint64_t(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = getelementptr inbounds %struct.TYPE_5__, ptr %8, i32 0, i32 0 %10 = load i32, ptr %9, align 4 switch i32 %10, label %45 [ i32 129, label %11 i32 130, label %27 i32 128, label %44 ] 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = load i32, ptr %12, align 4 %14 = ashr i32 %13, 32 store i32 %14, ptr %6, align 4 %15 = load ptr, ptr %5, align 8 %16 = load i32, ptr %15, align 4 store i32 %16, ptr %7, align 4 %17 = load ptr, ptr %4, align 8 %18 = call i32 @XDR_PUTINT32(ptr noundef %17, ptr noundef %6) %19 = icmp ne i32 %18, 0 br i1 %19, label %20, label %24 20: ; preds = %11 %21 = load ptr, ptr %4, align 8 %22 = call i32 @XDR_PUTINT32(ptr noundef %21, ptr noundef %7) %23 = icmp ne i32 %22, 0 br label %24 24: ; preds = %20, %11 %25 = phi i1 [ false, %11 ], [ %23, %20 ] %26 = zext i1 %25 to i32 store i32 %26, ptr %3, align 4 br label %46 27: ; preds = %2 %28 = load ptr, ptr %4, align 8 %29 = call i32 @XDR_GETINT32(ptr noundef %28, ptr noundef %6) %30 = icmp ne i32 %29, 0 br i1 %30, label %31, label %35 31: ; preds = %27 %32 = load ptr, ptr %4, align 8 %33 = call i32 @XDR_GETINT32(ptr noundef %32, ptr noundef %7) %34 = icmp ne i32 %33, 0 br i1 %34, label %36, label %35 35: ; preds = %31, %27 store i32 0, ptr %3, align 4 br label %46 36: ; preds = %31 %37 = load i32, ptr %6, align 4 %38 = shl i32 %37, 32 %39 = load ptr, ptr %5, align 8 store i32 %38, ptr %39, align 4 %40 = load i32, ptr %7, align 4 %41 = load ptr, ptr %5, align 8 %42 = load i32, ptr %41, align 4 %43 = or i32 %42, %40 store i32 %43, ptr %41, align 4 store i32 1, ptr %3, align 4 br label %46 44: ; preds = %2 store i32 1, ptr %3, align 4 br label %46 45: ; preds = %2 store i32 0, ptr %3, align 4 br label %46 46: ; preds = %45, %44, %36, %35, %24 %47 = load i32, ptr %3, align 4 ret i32 %47 } declare i32 @XDR_PUTINT32(ptr noundef, ptr noundef) #1 declare i32 @XDR_GETINT32(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/tmpbjm8vdbn.c" target datalayout = "e-m:e-p270: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.TYPE_5__ = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @xdr_uint64_t(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = getelementptr inbounds %struct.TYPE_5__, ptr %8, i32 0, i32 0 %10 = load i32, ptr %9, align 4 switch i32 %10, label %45 [ i32 129, label %11 i32 130, label %27 i32 128, label %44 ] 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = load i32, ptr %12, align 4 %14 = ashr i32 %13, 32 store i32 %14, ptr %6, align 4 %15 = load ptr, ptr %5, align 8 %16 = load i32, ptr %15, align 4 store i32 %16, ptr %7, align 4 %17 = load ptr, ptr %4, align 8 %18 = call i32 @XDR_PUTINT32(ptr noundef %17, ptr noundef %6) %19 = icmp ne i32 %18, 0 br i1 %19, label %20, label %24 20: ; preds = %11 %21 = load ptr, ptr %4, align 8 %22 = call i32 @XDR_PUTINT32(ptr noundef %21, ptr noundef %7) %23 = icmp ne i32 %22, 0 br label %24 24: ; preds = %20, %11 %25 = phi i1 [ false, %11 ], [ %23, %20 ] %26 = zext i1 %25 to i32 store i32 %26, ptr %3, align 4 br label %46 27: ; preds = %2 %28 = load ptr, ptr %4, align 8 %29 = call i32 @XDR_GETINT32(ptr noundef %28, ptr noundef %6) %30 = icmp ne i32 %29, 0 br i1 %30, label %31, label %35 31: ; preds = %27 %32 = load ptr, ptr %4, align 8 %33 = call i32 @XDR_GETINT32(ptr noundef %32, ptr noundef %7) %34 = icmp ne i32 %33, 0 br i1 %34, label %36, label %35 35: ; preds = %31, %27 store i32 0, ptr %3, align 4 br label %46 36: ; preds = %31 %37 = load i32, ptr %6, align 4 %38 = shl i32 %37, 32 %39 = load ptr, ptr %5, align 8 store i32 %38, ptr %39, align 4 %40 = load i32, ptr %7, align 4 %41 = load ptr, ptr %5, align 8 %42 = load i32, ptr %41, align 4 %43 = or i32 %42, %40 store i32 %43, ptr %41, align 4 store i32 1, ptr %3, align 4 br label %46 44: ; preds = %2 store i32 1, ptr %3, align 4 br label %46 45: ; preds = %2 store i32 0, ptr %3, align 4 br label %46 46: ; preds = %45, %44, %36, %35, %24 %47 = load i32, ptr %3, align 4 ret i32 %47 } declare i32 @XDR_PUTINT32(ptr noundef, ptr noundef) #1 declare i32 @XDR_GETINT32(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/tmpkhbk__g5.c' source_filename = "/tmp/tmpkhbk__g5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"null\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%x\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @hexdump(ptr noundef %0, i32 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 %9 = alloca i32, align 4 %10 = alloca [1000 x i8], align 16 %11 = alloca [10 x i8], align 1 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 %12 = load ptr, ptr %5, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %17 14: ; preds = %3 %15 = load i32, ptr %7, align 4 %16 = call i32 (i32, ptr, ...) @Dprintf(i32 noundef %15, ptr noundef @.str) store i32 -1, ptr %4, align 4 br label %93 17: ; preds = %3 store i32 0, ptr %8, align 4 br label %18 18: ; preds = %81, %17 %19 = load i32, ptr %8, align 4 %20 = load i32, ptr %6, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %22, label %84 22: ; preds = %18 %23 = getelementptr inbounds [10 x i8], ptr %11, i64 0, i64 0 %24 = load ptr, ptr %5, align 8 %25 = load i32, ptr %8, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %24, i64 %26 %28 = load i8, ptr %27, align 1 %29 = call i32 @sprintf(ptr noundef %23, ptr noundef @.str.1, i8 noundef signext %28) store i32 %29, ptr %9, align 4 %30 = load i32, ptr %9, align 4 %31 = icmp slt i32 %30, 2 br i1 %31, label %32, label %51 32: ; preds = %22 %33 = load i32, ptr %8, align 4 %34 = srem i32 %33, 16 %35 = mul nsw i32 %34, 3 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds [1000 x i8], ptr %10, i64 0, i64 %36 store i8 48, ptr %37, align 1 %38 = getelementptr inbounds [1000 x i8], ptr %10, i64 0, i64 0 %39 = load i32, ptr %8, align 4 %40 = srem i32 %39, 16 %41 = mul nsw i32 %40, 3 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i8, ptr %38, i64 %42 %44 = getelementptr inbounds i8, ptr %43, i64 1 %45 = getelementptr inbounds [10 x i8], ptr %11, i64 0, i64 0 %46 = load i32, ptr %9, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i8, ptr %45, i64 %47 %49 = getelementptr inbounds i8, ptr %48, i64 -1 %50 = call i32 @strcpy(ptr noundef %44, ptr noundef %49) br label %64 51: ; preds = %22 %52 = getelementptr inbounds [1000 x i8], ptr %10, i64 0, i64 0 %53 = load i32, ptr %8, align 4 %54 = srem i32 %53, 16 %55 = mul nsw i32 %54, 3 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds i8, ptr %52, i64 %56 %58 = getelementptr inbounds [10 x i8], ptr %11, i64 0, i64 0 %59 = load i32, ptr %9, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i8, ptr %58, i64 %60 %62 = getelementptr inbounds i8, ptr %61, i64 -2 %63 = call i32 @strcpy(ptr noundef %57, ptr noundef %62) br label %64 64: ; preds = %51, %32 %65 = getelementptr inbounds [1000 x i8], ptr %10, i64 0, i64 0 %66 = load i32, ptr %8, align 4 %67 = srem i32 %66, 16 %68 = mul nsw i32 %67, 3 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds i8, ptr %65, i64 %69 %71 = getelementptr inbounds i8, ptr %70, i64 2 %72 = call i32 @strcpy(ptr noundef %71, ptr noundef @.str.2) %73 = load i32, ptr %8, align 4 %74 = srem i32 %73, 16 %75 = icmp eq i32 %74, 15 br i1 %75, label %76, label %80 76: ; preds = %64 %77 = load i32, ptr %7, align 4 %78 = getelementptr inbounds [1000 x i8], ptr %10, i64 0, i64 0 %79 = call i32 (i32, ptr, ...) @Dprintf(i32 noundef %77, ptr noundef @.str.3, ptr noundef %78) br label %80 80: ; preds = %76, %64 br label %81 81: ; preds = %80 %82 = load i32, ptr %8, align 4 %83 = add nsw i32 %82, 1 store i32 %83, ptr %8, align 4 br label %18, !llvm.loop !6 84: ; preds = %18 %85 = load i32, ptr %8, align 4 %86 = srem i32 %85, 16 %87 = icmp ne i32 %86, 0 br i1 %87, label %88, label %92 88: ; preds = %84 %89 = load i32, ptr %7, align 4 %90 = getelementptr inbounds [1000 x i8], ptr %10, i64 0, i64 0 %91 = call i32 (i32, ptr, ...) @Dprintf(i32 noundef %89, ptr noundef @.str.3, ptr noundef %90) br label %92 92: ; preds = %88, %84 store i32 1, ptr %4, align 4 br label %93 93: ; preds = %92, %14 %94 = load i32, ptr %4, align 4 ret i32 %94 } declare i32 @Dprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef signext) #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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkhbk__g5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"null\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%x\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @hexdump(ptr noundef %0, i32 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 %9 = alloca i32, align 4 %10 = alloca [1000 x i8], align 16 %11 = alloca [10 x i8], align 1 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 %12 = load ptr, ptr %5, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %17 14: ; preds = %3 %15 = load i32, ptr %7, align 4 %16 = call i32 (i32, ptr, ...) @Dprintf(i32 noundef %15, ptr noundef @.str) store i32 -1, ptr %4, align 4 br label %95 17: ; preds = %3 store i32 0, ptr %8, align 4 %18 = load i32, ptr %8, align 4 %19 = load i32, ptr %6, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %.lr.ph, label %86 .lr.ph: ; preds = %17 br label %21 21: ; preds = %.lr.ph, %80 %22 = getelementptr inbounds [10 x i8], ptr %11, i64 0, i64 0 %23 = load ptr, ptr %5, align 8 %24 = load i32, ptr %8, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %23, i64 %25 %27 = load i8, ptr %26, align 1 %28 = call i32 @sprintf(ptr noundef %22, ptr noundef @.str.1, i8 noundef signext %27) store i32 %28, ptr %9, align 4 %29 = load i32, ptr %9, align 4 %30 = icmp slt i32 %29, 2 br i1 %30, label %31, label %50 31: ; preds = %21 %32 = load i32, ptr %8, align 4 %33 = srem i32 %32, 16 %34 = mul nsw i32 %33, 3 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds [1000 x i8], ptr %10, i64 0, i64 %35 store i8 48, ptr %36, align 1 %37 = getelementptr inbounds [1000 x i8], ptr %10, i64 0, i64 0 %38 = load i32, ptr %8, align 4 %39 = srem i32 %38, 16 %40 = mul nsw i32 %39, 3 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i8, ptr %37, i64 %41 %43 = getelementptr inbounds i8, ptr %42, i64 1 %44 = getelementptr inbounds [10 x i8], ptr %11, i64 0, i64 0 %45 = load i32, ptr %9, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i8, ptr %44, i64 %46 %48 = getelementptr inbounds i8, ptr %47, i64 -1 %49 = call i32 @strcpy(ptr noundef %43, ptr noundef %48) br label %63 50: ; preds = %21 %51 = getelementptr inbounds [1000 x i8], ptr %10, i64 0, i64 0 %52 = load i32, ptr %8, align 4 %53 = srem i32 %52, 16 %54 = mul nsw i32 %53, 3 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i8, ptr %51, i64 %55 %57 = getelementptr inbounds [10 x i8], ptr %11, i64 0, i64 0 %58 = load i32, ptr %9, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds i8, ptr %57, i64 %59 %61 = getelementptr inbounds i8, ptr %60, i64 -2 %62 = call i32 @strcpy(ptr noundef %56, ptr noundef %61) br label %63 63: ; preds = %50, %31 %64 = getelementptr inbounds [1000 x i8], ptr %10, i64 0, i64 0 %65 = load i32, ptr %8, align 4 %66 = srem i32 %65, 16 %67 = mul nsw i32 %66, 3 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds i8, ptr %64, i64 %68 %70 = getelementptr inbounds i8, ptr %69, i64 2 %71 = call i32 @strcpy(ptr noundef %70, ptr noundef @.str.2) %72 = load i32, ptr %8, align 4 %73 = srem i32 %72, 16 %74 = icmp eq i32 %73, 15 br i1 %74, label %75, label %79 75: ; preds = %63 %76 = load i32, ptr %7, align 4 %77 = getelementptr inbounds [1000 x i8], ptr %10, i64 0, i64 0 %78 = call i32 (i32, ptr, ...) @Dprintf(i32 noundef %76, ptr noundef @.str.3, ptr noundef %77) br label %79 79: ; preds = %75, %63 br label %80 80: ; preds = %79 %81 = load i32, ptr %8, align 4 %82 = add nsw i32 %81, 1 store i32 %82, ptr %8, align 4 %83 = load i32, ptr %8, align 4 %84 = load i32, ptr %6, align 4 %85 = icmp slt i32 %83, %84 br i1 %85, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %80 br label %86 86: ; preds = %._crit_edge, %17 %87 = load i32, ptr %8, align 4 %88 = srem i32 %87, 16 %89 = icmp ne i32 %88, 0 br i1 %89, label %90, label %94 90: ; preds = %86 %91 = load i32, ptr %7, align 4 %92 = getelementptr inbounds [1000 x i8], ptr %10, i64 0, i64 0 %93 = call i32 (i32, ptr, ...) @Dprintf(i32 noundef %91, ptr noundef @.str.3, ptr noundef %92) br label %94 94: ; preds = %90, %86 store i32 1, ptr %4, align 4 br label %95 95: ; preds = %94, %14 %96 = load i32, ptr %4, align 4 ret i32 %96 } declare i32 @Dprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef signext) #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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpbn7_zw4j.c' source_filename = "/tmp/tmpbn7_zw4j.c" target datalayout = "e-m:e-p270: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/tmpbn7_zw4j.c" target datalayout = "e-m:e-p270: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/tmpo1b4xir1.c' source_filename = "/tmp/tmpo1b4xir1.c" target datalayout = "e-m:e-p270: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/tmpo1b4xir1.c" target datalayout = "e-m:e-p270: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/tmppwzszwmj.c' source_filename = "/tmp/tmppwzszwmj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MergeSort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %6, align 4 %8 = load i32, ptr %5, align 4 %9 = sub nsw i32 %7, %8 %10 = icmp sgt i32 %9, 0 br i1 %10, label %11, label %31 11: ; preds = %3 %12 = load ptr, ptr %4, align 8 %13 = load i32, ptr %5, align 4 %14 = load i32, ptr %5, align 4 %15 = load i32, ptr %6, align 4 %16 = add nsw i32 %14, %15 %17 = sdiv i32 %16, 2 %18 = call i32 @floor(i32 noundef %17) call void @MergeSort(ptr noundef %12, i32 noundef %13, i32 noundef %18) %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr %5, align 4 %21 = load i32, ptr %6, align 4 %22 = add nsw i32 %20, %21 %23 = sdiv i32 %22, 2 %24 = call i32 @floor(i32 noundef %23) %25 = add nsw i32 %24, 1 %26 = load i32, ptr %6, align 4 call void @MergeSort(ptr noundef %19, i32 noundef %25, i32 noundef %26) %27 = load ptr, ptr %4, align 8 %28 = load i32, ptr %5, align 4 %29 = load i32, ptr %6, align 4 %30 = call i32 @Merge(ptr noundef %27, i32 noundef %28, i32 noundef %29) br label %31 31: ; preds = %11, %3 ret void } declare i32 @floor(i32 noundef) #1 declare i32 @Merge(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/tmppwzszwmj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MergeSort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %6, align 4 %8 = load i32, ptr %5, align 4 %9 = sub nsw i32 %7, %8 %10 = icmp sgt i32 %9, 0 br i1 %10, label %11, label %31 11: ; preds = %3 %12 = load ptr, ptr %4, align 8 %13 = load i32, ptr %5, align 4 %14 = load i32, ptr %5, align 4 %15 = load i32, ptr %6, align 4 %16 = add nsw i32 %14, %15 %17 = sdiv i32 %16, 2 %18 = call i32 @floor(i32 noundef %17) call void @MergeSort(ptr noundef %12, i32 noundef %13, i32 noundef %18) %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr %5, align 4 %21 = load i32, ptr %6, align 4 %22 = add nsw i32 %20, %21 %23 = sdiv i32 %22, 2 %24 = call i32 @floor(i32 noundef %23) %25 = add nsw i32 %24, 1 %26 = load i32, ptr %6, align 4 call void @MergeSort(ptr noundef %19, i32 noundef %25, i32 noundef %26) %27 = load ptr, ptr %4, align 8 %28 = load i32, ptr %5, align 4 %29 = load i32, ptr %6, align 4 %30 = call i32 @Merge(ptr noundef %27, i32 noundef %28, i32 noundef %29) br label %31 31: ; preds = %11, %3 ret void } declare i32 @floor(i32 noundef) #1 declare i32 @Merge(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/tmp5gdvig0j.c' source_filename = "/tmp/tmp5gdvig0j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @handler(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca [256 x i8], align 16 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %10 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %11 = load ptr, ptr %5, align 8 %12 = load i64, ptr %6, align 8 %13 = call i32 @memcpy(ptr noundef %10, ptr noundef %11, i64 noundef %12) %14 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %15 = call i32 @uds_client_connect(ptr noundef %14) store i32 %15, ptr %8, align 4 br label %16 16: ; preds = %21, %3 %17 = load i32, ptr %4, align 4 %18 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %19 = call i32 @recv(i32 noundef %17, ptr noundef %18, i32 noundef 256, i32 noundef 0) store i32 %19, ptr %9, align 4 %20 = icmp sge i32 %19, 0 br i1 %20, label %21, label %26 21: ; preds = %16 %22 = load i32, ptr %8, align 4 %23 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %24 = load i32, ptr %9, align 4 %25 = call i32 @send(i32 noundef %22, ptr noundef %23, i32 noundef %24, i32 noundef 0) br label %16, !llvm.loop !6 26: ; preds = %16 %27 = load i32, ptr %8, align 4 %28 = call i32 @close(i32 noundef %27) ret void } declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1 declare i32 @uds_client_connect(ptr noundef) #1 declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @send(i32 noundef, 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp5gdvig0j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @handler(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca [256 x i8], align 16 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %10 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %11 = load ptr, ptr %5, align 8 %12 = load i64, ptr %6, align 8 %13 = call i32 @memcpy(ptr noundef %10, ptr noundef %11, i64 noundef %12) %14 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %15 = call i32 @uds_client_connect(ptr noundef %14) store i32 %15, ptr %8, align 4 %16 = load i32, ptr %4, align 4 %17 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %18 = call i32 @recv(i32 noundef %16, ptr noundef %17, i32 noundef 256, i32 noundef 0) store i32 %18, ptr %9, align 4 %19 = icmp sge i32 %18, 0 br i1 %19, label %.lr.ph, label %28 .lr.ph: ; preds = %3 br label %20 20: ; preds = %.lr.ph, %20 %21 = load i32, ptr %8, align 4 %22 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %23 = load i32, ptr %9, align 4 %24 = call i32 @send(i32 noundef %21, ptr noundef %22, i32 noundef %23, i32 noundef 0) %25 = load i32, ptr %4, align 4 %26 = call i32 @recv(i32 noundef %25, ptr noundef %17, i32 noundef 256, i32 noundef 0) store i32 %26, ptr %9, align 4 %27 = icmp sge i32 %26, 0 br i1 %27, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %28 28: ; preds = %._crit_edge, %3 %29 = load i32, ptr %8, align 4 %30 = call i32 @close(i32 noundef %29) ret void } declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1 declare i32 @uds_client_connect(ptr noundef) #1 declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @send(i32 noundef, 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp99f1uabo.c' source_filename = "/tmp/tmp99f1uabo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ls\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"-l\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"-a\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"-h\00", align 1 @__const.main.arg = private unnamed_addr constant [5 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr null], align 16 @.str.4 = private unnamed_addr constant [8 x i8] c"/bin/ls\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"execv\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [5 x ptr], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.arg, i64 40, i1 false) %7 = getelementptr inbounds [5 x ptr], ptr %6, i64 0, i64 0 %8 = call i32 @execv(ptr noundef @.str.4, ptr noundef %7) %9 = call i32 @perror(ptr noundef @.str.5) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @execv(ptr noundef, ptr noundef) #2 declare i32 @perror(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/tmp99f1uabo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ls\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"-l\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"-a\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"-h\00", align 1 @__const.main.arg = private unnamed_addr constant [5 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr null], align 16 @.str.4 = private unnamed_addr constant [8 x i8] c"/bin/ls\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"execv\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [5 x ptr], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.arg, i64 40, i1 false) %7 = getelementptr inbounds [5 x ptr], ptr %6, i64 0, i64 0 %8 = call i32 @execv(ptr noundef @.str.4, ptr noundef %7) %9 = call i32 @perror(ptr noundef @.str.5) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @execv(ptr noundef, ptr noundef) #2 declare i32 @perror(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/tmparpr2r9d.c' source_filename = "/tmp/tmparpr2r9d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A\00", align 1 @.str.1 = private unnamed_addr constant [18 x i8] c"Program terminate\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"Keyboard input with echo\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"Display output\00", align 1 @.str.4 = private unnamed_addr constant [32 x i8] c"Wait for auxiliary device input\00", align 1 @.str.5 = private unnamed_addr constant [17 x i8] c"Auxiliary output\00", align 1 @.str.6 = private unnamed_addr constant [15 x i8] c"Printer output\00", align 1 @.str.7 = private unnamed_addr constant [19 x i8] c"Direct console I/O\00", align 1 @.str.8 = private unnamed_addr constant [43 x i8] c"Wait for direct console input without echo\00", align 1 @.str.9 = private unnamed_addr constant [36 x i8] c"Wait for console input without echo\00", align 1 @.str.10 = private unnamed_addr constant [13 x i8] c"Print string\00", align 1 @.str.11 = private unnamed_addr constant [24 x i8] c"Buffered keyboard input\00", align 1 @.str.12 = private unnamed_addr constant [28 x i8] c"Check standard input status\00", align 1 @.str.13 = private unnamed_addr constant [48 x i8] c"Clear keyboard buffer, invoke keyboard function\00", align 1 @.str.14 = private unnamed_addr constant [11 x i8] c"Disk reset\00", align 1 @.str.15 = private unnamed_addr constant [12 x i8] c"Select disk\00", align 1 @.str.16 = private unnamed_addr constant [20 x i8] c"Open file using FCB\00", align 1 @.str.17 = private unnamed_addr constant [21 x i8] c"Close file using FCB\00", align 1 @.str.18 = private unnamed_addr constant [33 x i8] c"Search for first entry using FCB\00", align 1 @.str.19 = private unnamed_addr constant [32 x i8] c"Search for next entry using FCB\00", align 1 @.str.20 = private unnamed_addr constant [22 x i8] c"Delete file using FCB\00", align 1 @.str.21 = private unnamed_addr constant [26 x i8] c"Sequential read using FCB\00", align 1 @.str.22 = private unnamed_addr constant [27 x i8] c"Sequential write using FCB\00", align 1 @.str.23 = private unnamed_addr constant [24 x i8] c"Create a file using FCB\00", align 1 @.str.24 = private unnamed_addr constant [22 x i8] c"Rename file using FCB\00", align 1 @.str.25 = private unnamed_addr constant [44 x i8] c"DOS dummy function (CP/M) (not used/listed)\00", align 1 @.str.26 = private unnamed_addr constant [26 x i8] c"Get current default drive\00", align 1 @.str.27 = private unnamed_addr constant [26 x i8] c"Set disk transfer address\00", align 1 @.str.28 = private unnamed_addr constant [33 x i8] c"Get allocation table information\00", align 1 @.str.29 = private unnamed_addr constant [46 x i8] c"Get allocation table info for specific device\00", align 1 @.str.30 = private unnamed_addr constant [60 x i8] c"Get pointer to default drive parameter table (undocumented)\00", align 1 @.str.31 = private unnamed_addr constant [22 x i8] c"Random read using FCB\00", align 1 @.str.32 = private unnamed_addr constant [23 x i8] c"Random write using FCB\00", align 1 @.str.33 = private unnamed_addr constant [24 x i8] c"Get file size using FCB\00", align 1 @.str.34 = private unnamed_addr constant [34 x i8] c"Set relative record field for FCB\00", align 1 @.str.35 = private unnamed_addr constant [21 x i8] c"Set interrupt vector\00", align 1 @.str.36 = private unnamed_addr constant [27 x i8] c"Create new program segment\00", align 1 @.str.37 = private unnamed_addr constant [28 x i8] c"Random block read using FCB\00", align 1 @.str.38 = private unnamed_addr constant [29 x i8] c"Random block write using FCB\00", align 1 @.str.39 = private unnamed_addr constant [23 x i8] c"Parse filename for FCB\00", align 1 @.str.40 = private unnamed_addr constant [9 x i8] c"Get date\00", align 1 @.str.41 = private unnamed_addr constant [9 x i8] c"Set date\00", align 1 @.str.42 = private unnamed_addr constant [9 x i8] c"Get time\00", align 1 @.str.43 = private unnamed_addr constant [9 x i8] c"Set time\00", align 1 @.str.44 = private unnamed_addr constant [24 x i8] c"Set/reset verify switch\00", align 1 @.str.45 = private unnamed_addr constant [26 x i8] c"Get disk transfer address\00", align 1 @.str.46 = private unnamed_addr constant [23 x i8] c"Get DOS version number\00", align 1 @.str.47 = private unnamed_addr constant [28 x i8] c"Terminate and stay resident\00", align 1 @.str.48 = private unnamed_addr constant [52 x i8] c"Get pointer to drive parameter table (undocumented)\00", align 1 @.str.49 = private unnamed_addr constant [48 x i8] c"Get/set Ctrl-Break check state & get boot drive\00", align 1 @.str.50 = private unnamed_addr constant [48 x i8] c"Get address to DOS critical flag (undocumented)\00", align 1 @.str.51 = private unnamed_addr constant [21 x i8] c"Get interrupt vector\00", align 1 @.str.52 = private unnamed_addr constant [20 x i8] c"Get disk free space\00", align 1 @.str.53 = private unnamed_addr constant [40 x i8] c"Get/set switch character (undocumented)\00", align 1 @.str.54 = private unnamed_addr constant [38 x i8] c"Get/set country dependent information\00", align 1 @.str.55 = private unnamed_addr constant [28 x i8] c"Create subdirectory (mkdir)\00", align 1 @.str.56 = private unnamed_addr constant [28 x i8] c"Remove subdirectory (rmdir)\00", align 1 @.str.57 = private unnamed_addr constant [36 x i8] c"Change current subdirectory (chdir)\00", align 1 @.str.58 = private unnamed_addr constant [25 x i8] c"Create file using handle\00", align 1 @.str.59 = private unnamed_addr constant [23 x i8] c"Open file using handle\00", align 1 @.str.60 = private unnamed_addr constant [24 x i8] c"Close file using handle\00", align 1 @.str.61 = private unnamed_addr constant [33 x i8] c"Read file or device using handle\00", align 1 @.str.62 = private unnamed_addr constant [34 x i8] c"Write file or device using handle\00", align 1 @.str.63 = private unnamed_addr constant [12 x i8] c"Delete file\00", align 1 @.str.64 = private unnamed_addr constant [31 x i8] c"Move file pointer using handle\00", align 1 @.str.65 = private unnamed_addr constant [17 x i8] c"Change file mode\00", align 1 @.str.66 = private unnamed_addr constant [32 x i8] c"I/O control for devices (IOCTL)\00", align 1 @.str.67 = private unnamed_addr constant [22 x i8] c"Duplicate file handle\00", align 1 @.str.68 = private unnamed_addr constant [28 x i8] c"Force duplicate file handle\00", align 1 @.str.69 = private unnamed_addr constant [22 x i8] c"Get current directory\00", align 1 @.str.70 = private unnamed_addr constant [23 x i8] c"Allocate memory blocks\00", align 1 @.str.71 = private unnamed_addr constant [29 x i8] c"Free allocated memory blocks\00", align 1 @.str.72 = private unnamed_addr constant [31 x i8] c"Modify allocated memory blocks\00", align 1 @.str.73 = private unnamed_addr constant [52 x i8] c"EXEC load and execute program (func 1 undocumented)\00", align 1 @.str.74 = private unnamed_addr constant [35 x i8] c"Terminate process with return code\00", align 1 @.str.75 = private unnamed_addr constant [33 x i8] c"Get return code of a sub-process\00", align 1 @.str.76 = private unnamed_addr constant [25 x i8] c"Find first matching file\00", align 1 @.str.77 = private unnamed_addr constant [24 x i8] c"Find next matching file\00", align 1 @.str.78 = private unnamed_addr constant [38 x i8] c"Set current process id (undocumented)\00", align 1 @.str.79 = private unnamed_addr constant [38 x i8] c"Get current process id (undocumented)\00", align 1 @.str.80 = private unnamed_addr constant [43 x i8] c"Get pointer to DOS 'INVARS' (undocumented)\00", align 1 @.str.81 = private unnamed_addr constant [46 x i8] c"Generate drive parameter table (undocumented)\00", align 1 @.str.82 = private unnamed_addr constant [19 x i8] c"Get verify setting\00", align 1 @.str.83 = private unnamed_addr constant [26 x i8] c"Create PSP (undocumented)\00", align 1 @.str.84 = private unnamed_addr constant [12 x i8] c"Rename file\00", align 1 @.str.85 = private unnamed_addr constant [40 x i8] c"Get/set file date and time using handle\00", align 1 @.str.86 = private unnamed_addr constant [56 x i8] c"Get/set memory allocation strategy (3.x+, undocumented)\00", align 1 @.str.87 = private unnamed_addr constant [38 x i8] c"Get extended error information (3.x+)\00", align 1 @.str.88 = private unnamed_addr constant [29 x i8] c"Create temporary file (3.x+)\00", align 1 @.str.89 = private unnamed_addr constant [23 x i8] c"Create new file (3.x+)\00", align 1 @.str.90 = private unnamed_addr constant [31 x i8] c"Lock/unlock file access (3.x+)\00", align 1 @.str.91 = private unnamed_addr constant [47 x i8] c"Critical error information (undocumented 3.x+)\00", align 1 @.str.92 = private unnamed_addr constant [24 x i8] c"Network services (3.1+)\00", align 1 @.str.93 = private unnamed_addr constant [27 x i8] c"Network redirection (3.1+)\00", align 1 @.str.94 = private unnamed_addr constant [50 x i8] c"Get fully qualified file name (undocumented 3.x+)\00", align 1 @.str.95 = private unnamed_addr constant [45 x i8] c"Get address of program segment prefix (3.x+)\00", align 1 @.str.96 = private unnamed_addr constant [45 x i8] c"Get system lead byte table (MSDOS 2.25 only)\00", align 1 @.str.97 = private unnamed_addr constant [50 x i8] c"Set device driver look ahead (undocumented 3.3+)\00", align 1 @.str.98 = private unnamed_addr constant [40 x i8] c"Get extended country information (3.3+)\00", align 1 @.str.99 = private unnamed_addr constant [32 x i8] c"Get/set global code page (3.3+)\00", align 1 @.str.100 = private unnamed_addr constant [24 x i8] c"Set handle count (3.3+)\00", align 1 @.str.101 = private unnamed_addr constant [20 x i8] c"Flush buffer (3.3+)\00", align 1 @.str.102 = private unnamed_addr constant [51 x i8] c"Get/set disk serial number (undocumented DOS 4.0+)\00", align 1 @.str.103 = private unnamed_addr constant [24 x i8] c"DOS reserved (DOS 4.0+)\00", align 1 @.str.104 = private unnamed_addr constant [13 x i8] c"DOS reserved\00", align 1 @.str.105 = private unnamed_addr constant [28 x i8] c"Extended open/create (4.x+)\00", align 1 @.str.106 = private unnamed_addr constant [34 x i8] c"OEM INT 21 handler (undocumented)\00", align 1 @.str.107 = private unnamed_addr constant [8 x i8] c"unknown\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @dos_fn_man(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = call i32 @printf(ptr noundef @.str) %4 = load i8, ptr %2, align 1 %5 = sext i8 %4 to i32 switch i32 %5, label %224 [ i32 0, label %6 i32 1, label %8 i32 2, label %10 i32 3, label %12 i32 4, label %14 i32 5, label %16 i32 6, label %18 i32 7, label %20 i32 8, label %22 i32 9, label %24 i32 10, label %26 i32 11, label %28 i32 12, label %30 i32 13, label %32 i32 14, label %34 i32 15, label %36 i32 16, label %38 i32 17, label %40 i32 18, label %42 i32 19, label %44 i32 20, label %46 i32 21, label %48 i32 22, label %50 i32 23, label %52 i32 24, label %54 i32 25, label %56 i32 26, label %58 i32 27, label %60 i32 28, label %62 i32 29, label %64 i32 30, label %66 i32 31, label %68 i32 32, label %70 i32 33, label %72 i32 34, label %74 i32 35, label %76 i32 36, label %78 i32 37, label %80 i32 38, label %82 i32 39, label %84 i32 40, label %86 i32 41, label %88 i32 42, label %90 i32 43, label %92 i32 44, label %94 i32 45, label %96 i32 46, label %98 i32 47, label %100 i32 48, label %102 i32 49, label %104 i32 50, label %106 i32 51, label %108 i32 52, label %110 i32 53, label %112 i32 54, label %114 i32 55, label %116 i32 56, label %118 i32 57, label %120 i32 58, label %122 i32 59, label %124 i32 60, label %126 i32 61, label %128 i32 62, label %130 i32 63, label %132 i32 64, label %134 i32 65, label %136 i32 66, label %138 i32 67, label %140 i32 68, label %142 i32 69, label %144 i32 70, label %146 i32 71, label %148 i32 72, label %150 i32 73, label %152 i32 74, label %154 i32 75, label %156 i32 76, label %158 i32 77, label %160 i32 78, label %162 i32 79, label %164 i32 80, label %166 i32 81, label %168 i32 82, label %170 i32 83, label %172 i32 84, label %174 i32 85, label %176 i32 86, label %178 i32 87, label %180 i32 88, label %182 i32 89, label %184 i32 90, label %186 i32 91, label %188 i32 92, label %190 i32 93, label %192 i32 94, label %194 i32 95, label %196 i32 96, label %198 i32 98, label %200 i32 99, label %202 i32 100, label %204 i32 101, label %206 i32 102, label %208 i32 103, label %210 i32 104, label %212 i32 105, label %214 i32 106, label %216 i32 107, label %218 i32 108, label %220 i32 248, label %222 i32 249, label %222 i32 250, label %222 i32 251, label %222 i32 252, label %222 i32 253, label %222 i32 254, label %222 i32 255, label %222 ] 6: ; preds = %1 %7 = call i32 @printf(ptr noundef @.str.1) br label %226 8: ; preds = %1 %9 = call i32 @printf(ptr noundef @.str.2) br label %226 10: ; preds = %1 %11 = call i32 @printf(ptr noundef @.str.3) br label %226 12: ; preds = %1 %13 = call i32 @printf(ptr noundef @.str.4) br label %226 14: ; preds = %1 %15 = call i32 @printf(ptr noundef @.str.5) br label %226 16: ; preds = %1 %17 = call i32 @printf(ptr noundef @.str.6) br label %226 18: ; preds = %1 %19 = call i32 @printf(ptr noundef @.str.7) br label %226 20: ; preds = %1 %21 = call i32 @printf(ptr noundef @.str.8) br label %226 22: ; preds = %1 %23 = call i32 @printf(ptr noundef @.str.9) br label %226 24: ; preds = %1 %25 = call i32 @printf(ptr noundef @.str.10) br label %226 26: ; preds = %1 %27 = call i32 @printf(ptr noundef @.str.11) br label %226 28: ; preds = %1 %29 = call i32 @printf(ptr noundef @.str.12) br label %226 30: ; preds = %1 %31 = call i32 @printf(ptr noundef @.str.13) br label %226 32: ; preds = %1 %33 = call i32 @printf(ptr noundef @.str.14) br label %226 34: ; preds = %1 %35 = call i32 @printf(ptr noundef @.str.15) br label %226 36: ; preds = %1 %37 = call i32 @printf(ptr noundef @.str.16) br label %226 38: ; preds = %1 %39 = call i32 @printf(ptr noundef @.str.17) br label %226 40: ; preds = %1 %41 = call i32 @printf(ptr noundef @.str.18) br label %226 42: ; preds = %1 %43 = call i32 @printf(ptr noundef @.str.19) br label %226 44: ; preds = %1 %45 = call i32 @printf(ptr noundef @.str.20) br label %226 46: ; preds = %1 %47 = call i32 @printf(ptr noundef @.str.21) br label %226 48: ; preds = %1 %49 = call i32 @printf(ptr noundef @.str.22) br label %226 50: ; preds = %1 %51 = call i32 @printf(ptr noundef @.str.23) br label %226 52: ; preds = %1 %53 = call i32 @printf(ptr noundef @.str.24) br label %226 54: ; preds = %1 %55 = call i32 @printf(ptr noundef @.str.25) br label %226 56: ; preds = %1 %57 = call i32 @printf(ptr noundef @.str.26) br label %226 58: ; preds = %1 %59 = call i32 @printf(ptr noundef @.str.27) br label %226 60: ; preds = %1 %61 = call i32 @printf(ptr noundef @.str.28) br label %226 62: ; preds = %1 %63 = call i32 @printf(ptr noundef @.str.29) br label %226 64: ; preds = %1 %65 = call i32 @printf(ptr noundef @.str.25) br label %226 66: ; preds = %1 %67 = call i32 @printf(ptr noundef @.str.25) br label %226 68: ; preds = %1 %69 = call i32 @printf(ptr noundef @.str.30) br label %226 70: ; preds = %1 %71 = call i32 @printf(ptr noundef @.str.25) br label %226 72: ; preds = %1 %73 = call i32 @printf(ptr noundef @.str.31) br label %226 74: ; preds = %1 %75 = call i32 @printf(ptr noundef @.str.32) br label %226 76: ; preds = %1 %77 = call i32 @printf(ptr noundef @.str.33) br label %226 78: ; preds = %1 %79 = call i32 @printf(ptr noundef @.str.34) br label %226 80: ; preds = %1 %81 = call i32 @printf(ptr noundef @.str.35) br label %226 82: ; preds = %1 %83 = call i32 @printf(ptr noundef @.str.36) br label %226 84: ; preds = %1 %85 = call i32 @printf(ptr noundef @.str.37) br label %226 86: ; preds = %1 %87 = call i32 @printf(ptr noundef @.str.38) br label %226 88: ; preds = %1 %89 = call i32 @printf(ptr noundef @.str.39) br label %226 90: ; preds = %1 %91 = call i32 @printf(ptr noundef @.str.40) br label %226 92: ; preds = %1 %93 = call i32 @printf(ptr noundef @.str.41) br label %226 94: ; preds = %1 %95 = call i32 @printf(ptr noundef @.str.42) br label %226 96: ; preds = %1 %97 = call i32 @printf(ptr noundef @.str.43) br label %226 98: ; preds = %1 %99 = call i32 @printf(ptr noundef @.str.44) br label %226 100: ; preds = %1 %101 = call i32 @printf(ptr noundef @.str.45) br label %226 102: ; preds = %1 %103 = call i32 @printf(ptr noundef @.str.46) br label %226 104: ; preds = %1 %105 = call i32 @printf(ptr noundef @.str.47) br label %226 106: ; preds = %1 %107 = call i32 @printf(ptr noundef @.str.48) br label %226 108: ; preds = %1 %109 = call i32 @printf(ptr noundef @.str.49) br label %226 110: ; preds = %1 %111 = call i32 @printf(ptr noundef @.str.50) br label %226 112: ; preds = %1 %113 = call i32 @printf(ptr noundef @.str.51) br label %226 114: ; preds = %1 %115 = call i32 @printf(ptr noundef @.str.52) br label %226 116: ; preds = %1 %117 = call i32 @printf(ptr noundef @.str.53) br label %226 118: ; preds = %1 %119 = call i32 @printf(ptr noundef @.str.54) br label %226 120: ; preds = %1 %121 = call i32 @printf(ptr noundef @.str.55) br label %226 122: ; preds = %1 %123 = call i32 @printf(ptr noundef @.str.56) br label %226 124: ; preds = %1 %125 = call i32 @printf(ptr noundef @.str.57) br label %226 126: ; preds = %1 %127 = call i32 @printf(ptr noundef @.str.58) br label %226 128: ; preds = %1 %129 = call i32 @printf(ptr noundef @.str.59) br label %226 130: ; preds = %1 %131 = call i32 @printf(ptr noundef @.str.60) br label %226 132: ; preds = %1 %133 = call i32 @printf(ptr noundef @.str.61) br label %226 134: ; preds = %1 %135 = call i32 @printf(ptr noundef @.str.62) br label %226 136: ; preds = %1 %137 = call i32 @printf(ptr noundef @.str.63) br label %226 138: ; preds = %1 %139 = call i32 @printf(ptr noundef @.str.64) br label %226 140: ; preds = %1 %141 = call i32 @printf(ptr noundef @.str.65) br label %226 142: ; preds = %1 %143 = call i32 @printf(ptr noundef @.str.66) br label %226 144: ; preds = %1 %145 = call i32 @printf(ptr noundef @.str.67) br label %226 146: ; preds = %1 %147 = call i32 @printf(ptr noundef @.str.68) br label %226 148: ; preds = %1 %149 = call i32 @printf(ptr noundef @.str.69) br label %226 150: ; preds = %1 %151 = call i32 @printf(ptr noundef @.str.70) br label %226 152: ; preds = %1 %153 = call i32 @printf(ptr noundef @.str.71) br label %226 154: ; preds = %1 %155 = call i32 @printf(ptr noundef @.str.72) br label %226 156: ; preds = %1 %157 = call i32 @printf(ptr noundef @.str.73) br label %226 158: ; preds = %1 %159 = call i32 @printf(ptr noundef @.str.74) br label %226 160: ; preds = %1 %161 = call i32 @printf(ptr noundef @.str.75) br label %226 162: ; preds = %1 %163 = call i32 @printf(ptr noundef @.str.76) br label %226 164: ; preds = %1 %165 = call i32 @printf(ptr noundef @.str.77) br label %226 166: ; preds = %1 %167 = call i32 @printf(ptr noundef @.str.78) br label %226 168: ; preds = %1 %169 = call i32 @printf(ptr noundef @.str.79) br label %226 170: ; preds = %1 %171 = call i32 @printf(ptr noundef @.str.80) br label %226 172: ; preds = %1 %173 = call i32 @printf(ptr noundef @.str.81) br label %226 174: ; preds = %1 %175 = call i32 @printf(ptr noundef @.str.82) br label %226 176: ; preds = %1 %177 = call i32 @printf(ptr noundef @.str.83) br label %226 178: ; preds = %1 %179 = call i32 @printf(ptr noundef @.str.84) br label %226 180: ; preds = %1 %181 = call i32 @printf(ptr noundef @.str.85) br label %226 182: ; preds = %1 %183 = call i32 @printf(ptr noundef @.str.86) br label %226 184: ; preds = %1 %185 = call i32 @printf(ptr noundef @.str.87) br label %226 186: ; preds = %1 %187 = call i32 @printf(ptr noundef @.str.88) br label %226 188: ; preds = %1 %189 = call i32 @printf(ptr noundef @.str.89) br label %226 190: ; preds = %1 %191 = call i32 @printf(ptr noundef @.str.90) br label %226 192: ; preds = %1 %193 = call i32 @printf(ptr noundef @.str.91) br label %226 194: ; preds = %1 %195 = call i32 @printf(ptr noundef @.str.92) br label %226 196: ; preds = %1 %197 = call i32 @printf(ptr noundef @.str.93) br label %226 198: ; preds = %1 %199 = call i32 @printf(ptr noundef @.str.94) br label %226 200: ; preds = %1 %201 = call i32 @printf(ptr noundef @.str.95) br label %226 202: ; preds = %1 %203 = call i32 @printf(ptr noundef @.str.96) br label %226 204: ; preds = %1 %205 = call i32 @printf(ptr noundef @.str.97) br label %226 206: ; preds = %1 %207 = call i32 @printf(ptr noundef @.str.98) br label %226 208: ; preds = %1 %209 = call i32 @printf(ptr noundef @.str.99) br label %226 210: ; preds = %1 %211 = call i32 @printf(ptr noundef @.str.100) br label %226 212: ; preds = %1 %213 = call i32 @printf(ptr noundef @.str.101) br label %226 214: ; preds = %1 %215 = call i32 @printf(ptr noundef @.str.102) br label %226 216: ; preds = %1 %217 = call i32 @printf(ptr noundef @.str.103) br label %226 218: ; preds = %1 %219 = call i32 @printf(ptr noundef @.str.104) br label %226 220: ; preds = %1 %221 = call i32 @printf(ptr noundef @.str.105) br label %226 222: ; preds = %1, %1, %1, %1, %1, %1, %1, %1 %223 = call i32 @printf(ptr noundef @.str.106) br label %226 224: ; preds = %1 %225 = call i32 @printf(ptr noundef @.str.107) br label %226 226: ; preds = %224, %222, %220, %218, %216, %214, %212, %210, %208, %206, %204, %202, %200, %198, %196, %194, %192, %190, %188, %186, %184, %182, %180, %178, %176, %174, %172, %170, %168, %166, %164, %162, %160, %158, %156, %154, %152, %150, %148, %146, %144, %142, %140, %138, %136, %134, %132, %130, %128, %126, %124, %122, %120, %118, %116, %114, %112, %110, %108, %106, %104, %102, %100, %98, %96, %94, %92, %90, %88, %86, %84, %82, %80, %78, %76, %74, %72, %70, %68, %66, %64, %62, %60, %58, %56, %54, %52, %50, %48, %46, %44, %42, %40, %38, %36, %34, %32, %30, %28, %26, %24, %22, %20, %18, %16, %14, %12, %10, %8, %6 ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmparpr2r9d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A\00", align 1 @.str.1 = private unnamed_addr constant [18 x i8] c"Program terminate\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"Keyboard input with echo\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"Display output\00", align 1 @.str.4 = private unnamed_addr constant [32 x i8] c"Wait for auxiliary device input\00", align 1 @.str.5 = private unnamed_addr constant [17 x i8] c"Auxiliary output\00", align 1 @.str.6 = private unnamed_addr constant [15 x i8] c"Printer output\00", align 1 @.str.7 = private unnamed_addr constant [19 x i8] c"Direct console I/O\00", align 1 @.str.8 = private unnamed_addr constant [43 x i8] c"Wait for direct console input without echo\00", align 1 @.str.9 = private unnamed_addr constant [36 x i8] c"Wait for console input without echo\00", align 1 @.str.10 = private unnamed_addr constant [13 x i8] c"Print string\00", align 1 @.str.11 = private unnamed_addr constant [24 x i8] c"Buffered keyboard input\00", align 1 @.str.12 = private unnamed_addr constant [28 x i8] c"Check standard input status\00", align 1 @.str.13 = private unnamed_addr constant [48 x i8] c"Clear keyboard buffer, invoke keyboard function\00", align 1 @.str.14 = private unnamed_addr constant [11 x i8] c"Disk reset\00", align 1 @.str.15 = private unnamed_addr constant [12 x i8] c"Select disk\00", align 1 @.str.16 = private unnamed_addr constant [20 x i8] c"Open file using FCB\00", align 1 @.str.17 = private unnamed_addr constant [21 x i8] c"Close file using FCB\00", align 1 @.str.18 = private unnamed_addr constant [33 x i8] c"Search for first entry using FCB\00", align 1 @.str.19 = private unnamed_addr constant [32 x i8] c"Search for next entry using FCB\00", align 1 @.str.20 = private unnamed_addr constant [22 x i8] c"Delete file using FCB\00", align 1 @.str.21 = private unnamed_addr constant [26 x i8] c"Sequential read using FCB\00", align 1 @.str.22 = private unnamed_addr constant [27 x i8] c"Sequential write using FCB\00", align 1 @.str.23 = private unnamed_addr constant [24 x i8] c"Create a file using FCB\00", align 1 @.str.24 = private unnamed_addr constant [22 x i8] c"Rename file using FCB\00", align 1 @.str.25 = private unnamed_addr constant [44 x i8] c"DOS dummy function (CP/M) (not used/listed)\00", align 1 @.str.26 = private unnamed_addr constant [26 x i8] c"Get current default drive\00", align 1 @.str.27 = private unnamed_addr constant [26 x i8] c"Set disk transfer address\00", align 1 @.str.28 = private unnamed_addr constant [33 x i8] c"Get allocation table information\00", align 1 @.str.29 = private unnamed_addr constant [46 x i8] c"Get allocation table info for specific device\00", align 1 @.str.30 = private unnamed_addr constant [60 x i8] c"Get pointer to default drive parameter table (undocumented)\00", align 1 @.str.31 = private unnamed_addr constant [22 x i8] c"Random read using FCB\00", align 1 @.str.32 = private unnamed_addr constant [23 x i8] c"Random write using FCB\00", align 1 @.str.33 = private unnamed_addr constant [24 x i8] c"Get file size using FCB\00", align 1 @.str.34 = private unnamed_addr constant [34 x i8] c"Set relative record field for FCB\00", align 1 @.str.35 = private unnamed_addr constant [21 x i8] c"Set interrupt vector\00", align 1 @.str.36 = private unnamed_addr constant [27 x i8] c"Create new program segment\00", align 1 @.str.37 = private unnamed_addr constant [28 x i8] c"Random block read using FCB\00", align 1 @.str.38 = private unnamed_addr constant [29 x i8] c"Random block write using FCB\00", align 1 @.str.39 = private unnamed_addr constant [23 x i8] c"Parse filename for FCB\00", align 1 @.str.40 = private unnamed_addr constant [9 x i8] c"Get date\00", align 1 @.str.41 = private unnamed_addr constant [9 x i8] c"Set date\00", align 1 @.str.42 = private unnamed_addr constant [9 x i8] c"Get time\00", align 1 @.str.43 = private unnamed_addr constant [9 x i8] c"Set time\00", align 1 @.str.44 = private unnamed_addr constant [24 x i8] c"Set/reset verify switch\00", align 1 @.str.45 = private unnamed_addr constant [26 x i8] c"Get disk transfer address\00", align 1 @.str.46 = private unnamed_addr constant [23 x i8] c"Get DOS version number\00", align 1 @.str.47 = private unnamed_addr constant [28 x i8] c"Terminate and stay resident\00", align 1 @.str.48 = private unnamed_addr constant [52 x i8] c"Get pointer to drive parameter table (undocumented)\00", align 1 @.str.49 = private unnamed_addr constant [48 x i8] c"Get/set Ctrl-Break check state & get boot drive\00", align 1 @.str.50 = private unnamed_addr constant [48 x i8] c"Get address to DOS critical flag (undocumented)\00", align 1 @.str.51 = private unnamed_addr constant [21 x i8] c"Get interrupt vector\00", align 1 @.str.52 = private unnamed_addr constant [20 x i8] c"Get disk free space\00", align 1 @.str.53 = private unnamed_addr constant [40 x i8] c"Get/set switch character (undocumented)\00", align 1 @.str.54 = private unnamed_addr constant [38 x i8] c"Get/set country dependent information\00", align 1 @.str.55 = private unnamed_addr constant [28 x i8] c"Create subdirectory (mkdir)\00", align 1 @.str.56 = private unnamed_addr constant [28 x i8] c"Remove subdirectory (rmdir)\00", align 1 @.str.57 = private unnamed_addr constant [36 x i8] c"Change current subdirectory (chdir)\00", align 1 @.str.58 = private unnamed_addr constant [25 x i8] c"Create file using handle\00", align 1 @.str.59 = private unnamed_addr constant [23 x i8] c"Open file using handle\00", align 1 @.str.60 = private unnamed_addr constant [24 x i8] c"Close file using handle\00", align 1 @.str.61 = private unnamed_addr constant [33 x i8] c"Read file or device using handle\00", align 1 @.str.62 = private unnamed_addr constant [34 x i8] c"Write file or device using handle\00", align 1 @.str.63 = private unnamed_addr constant [12 x i8] c"Delete file\00", align 1 @.str.64 = private unnamed_addr constant [31 x i8] c"Move file pointer using handle\00", align 1 @.str.65 = private unnamed_addr constant [17 x i8] c"Change file mode\00", align 1 @.str.66 = private unnamed_addr constant [32 x i8] c"I/O control for devices (IOCTL)\00", align 1 @.str.67 = private unnamed_addr constant [22 x i8] c"Duplicate file handle\00", align 1 @.str.68 = private unnamed_addr constant [28 x i8] c"Force duplicate file handle\00", align 1 @.str.69 = private unnamed_addr constant [22 x i8] c"Get current directory\00", align 1 @.str.70 = private unnamed_addr constant [23 x i8] c"Allocate memory blocks\00", align 1 @.str.71 = private unnamed_addr constant [29 x i8] c"Free allocated memory blocks\00", align 1 @.str.72 = private unnamed_addr constant [31 x i8] c"Modify allocated memory blocks\00", align 1 @.str.73 = private unnamed_addr constant [52 x i8] c"EXEC load and execute program (func 1 undocumented)\00", align 1 @.str.74 = private unnamed_addr constant [35 x i8] c"Terminate process with return code\00", align 1 @.str.75 = private unnamed_addr constant [33 x i8] c"Get return code of a sub-process\00", align 1 @.str.76 = private unnamed_addr constant [25 x i8] c"Find first matching file\00", align 1 @.str.77 = private unnamed_addr constant [24 x i8] c"Find next matching file\00", align 1 @.str.78 = private unnamed_addr constant [38 x i8] c"Set current process id (undocumented)\00", align 1 @.str.79 = private unnamed_addr constant [38 x i8] c"Get current process id (undocumented)\00", align 1 @.str.80 = private unnamed_addr constant [43 x i8] c"Get pointer to DOS 'INVARS' (undocumented)\00", align 1 @.str.81 = private unnamed_addr constant [46 x i8] c"Generate drive parameter table (undocumented)\00", align 1 @.str.82 = private unnamed_addr constant [19 x i8] c"Get verify setting\00", align 1 @.str.83 = private unnamed_addr constant [26 x i8] c"Create PSP (undocumented)\00", align 1 @.str.84 = private unnamed_addr constant [12 x i8] c"Rename file\00", align 1 @.str.85 = private unnamed_addr constant [40 x i8] c"Get/set file date and time using handle\00", align 1 @.str.86 = private unnamed_addr constant [56 x i8] c"Get/set memory allocation strategy (3.x+, undocumented)\00", align 1 @.str.87 = private unnamed_addr constant [38 x i8] c"Get extended error information (3.x+)\00", align 1 @.str.88 = private unnamed_addr constant [29 x i8] c"Create temporary file (3.x+)\00", align 1 @.str.89 = private unnamed_addr constant [23 x i8] c"Create new file (3.x+)\00", align 1 @.str.90 = private unnamed_addr constant [31 x i8] c"Lock/unlock file access (3.x+)\00", align 1 @.str.91 = private unnamed_addr constant [47 x i8] c"Critical error information (undocumented 3.x+)\00", align 1 @.str.92 = private unnamed_addr constant [24 x i8] c"Network services (3.1+)\00", align 1 @.str.93 = private unnamed_addr constant [27 x i8] c"Network redirection (3.1+)\00", align 1 @.str.94 = private unnamed_addr constant [50 x i8] c"Get fully qualified file name (undocumented 3.x+)\00", align 1 @.str.95 = private unnamed_addr constant [45 x i8] c"Get address of program segment prefix (3.x+)\00", align 1 @.str.96 = private unnamed_addr constant [45 x i8] c"Get system lead byte table (MSDOS 2.25 only)\00", align 1 @.str.97 = private unnamed_addr constant [50 x i8] c"Set device driver look ahead (undocumented 3.3+)\00", align 1 @.str.98 = private unnamed_addr constant [40 x i8] c"Get extended country information (3.3+)\00", align 1 @.str.99 = private unnamed_addr constant [32 x i8] c"Get/set global code page (3.3+)\00", align 1 @.str.100 = private unnamed_addr constant [24 x i8] c"Set handle count (3.3+)\00", align 1 @.str.101 = private unnamed_addr constant [20 x i8] c"Flush buffer (3.3+)\00", align 1 @.str.102 = private unnamed_addr constant [51 x i8] c"Get/set disk serial number (undocumented DOS 4.0+)\00", align 1 @.str.103 = private unnamed_addr constant [24 x i8] c"DOS reserved (DOS 4.0+)\00", align 1 @.str.104 = private unnamed_addr constant [13 x i8] c"DOS reserved\00", align 1 @.str.105 = private unnamed_addr constant [28 x i8] c"Extended open/create (4.x+)\00", align 1 @.str.106 = private unnamed_addr constant [34 x i8] c"OEM INT 21 handler (undocumented)\00", align 1 @.str.107 = private unnamed_addr constant [8 x i8] c"unknown\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @dos_fn_man(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = call i32 @printf(ptr noundef @.str) %4 = load i8, ptr %2, align 1 %5 = sext i8 %4 to i32 switch i32 %5, label %224 [ i32 0, label %6 i32 1, label %8 i32 2, label %10 i32 3, label %12 i32 4, label %14 i32 5, label %16 i32 6, label %18 i32 7, label %20 i32 8, label %22 i32 9, label %24 i32 10, label %26 i32 11, label %28 i32 12, label %30 i32 13, label %32 i32 14, label %34 i32 15, label %36 i32 16, label %38 i32 17, label %40 i32 18, label %42 i32 19, label %44 i32 20, label %46 i32 21, label %48 i32 22, label %50 i32 23, label %52 i32 24, label %54 i32 25, label %56 i32 26, label %58 i32 27, label %60 i32 28, label %62 i32 29, label %64 i32 30, label %66 i32 31, label %68 i32 32, label %70 i32 33, label %72 i32 34, label %74 i32 35, label %76 i32 36, label %78 i32 37, label %80 i32 38, label %82 i32 39, label %84 i32 40, label %86 i32 41, label %88 i32 42, label %90 i32 43, label %92 i32 44, label %94 i32 45, label %96 i32 46, label %98 i32 47, label %100 i32 48, label %102 i32 49, label %104 i32 50, label %106 i32 51, label %108 i32 52, label %110 i32 53, label %112 i32 54, label %114 i32 55, label %116 i32 56, label %118 i32 57, label %120 i32 58, label %122 i32 59, label %124 i32 60, label %126 i32 61, label %128 i32 62, label %130 i32 63, label %132 i32 64, label %134 i32 65, label %136 i32 66, label %138 i32 67, label %140 i32 68, label %142 i32 69, label %144 i32 70, label %146 i32 71, label %148 i32 72, label %150 i32 73, label %152 i32 74, label %154 i32 75, label %156 i32 76, label %158 i32 77, label %160 i32 78, label %162 i32 79, label %164 i32 80, label %166 i32 81, label %168 i32 82, label %170 i32 83, label %172 i32 84, label %174 i32 85, label %176 i32 86, label %178 i32 87, label %180 i32 88, label %182 i32 89, label %184 i32 90, label %186 i32 91, label %188 i32 92, label %190 i32 93, label %192 i32 94, label %194 i32 95, label %196 i32 96, label %198 i32 98, label %200 i32 99, label %202 i32 100, label %204 i32 101, label %206 i32 102, label %208 i32 103, label %210 i32 104, label %212 i32 105, label %214 i32 106, label %216 i32 107, label %218 i32 108, label %220 i32 248, label %222 i32 249, label %222 i32 250, label %222 i32 251, label %222 i32 252, label %222 i32 253, label %222 i32 254, label %222 i32 255, label %222 ] 6: ; preds = %1 %7 = call i32 @printf(ptr noundef @.str.1) br label %226 8: ; preds = %1 %9 = call i32 @printf(ptr noundef @.str.2) br label %226 10: ; preds = %1 %11 = call i32 @printf(ptr noundef @.str.3) br label %226 12: ; preds = %1 %13 = call i32 @printf(ptr noundef @.str.4) br label %226 14: ; preds = %1 %15 = call i32 @printf(ptr noundef @.str.5) br label %226 16: ; preds = %1 %17 = call i32 @printf(ptr noundef @.str.6) br label %226 18: ; preds = %1 %19 = call i32 @printf(ptr noundef @.str.7) br label %226 20: ; preds = %1 %21 = call i32 @printf(ptr noundef @.str.8) br label %226 22: ; preds = %1 %23 = call i32 @printf(ptr noundef @.str.9) br label %226 24: ; preds = %1 %25 = call i32 @printf(ptr noundef @.str.10) br label %226 26: ; preds = %1 %27 = call i32 @printf(ptr noundef @.str.11) br label %226 28: ; preds = %1 %29 = call i32 @printf(ptr noundef @.str.12) br label %226 30: ; preds = %1 %31 = call i32 @printf(ptr noundef @.str.13) br label %226 32: ; preds = %1 %33 = call i32 @printf(ptr noundef @.str.14) br label %226 34: ; preds = %1 %35 = call i32 @printf(ptr noundef @.str.15) br label %226 36: ; preds = %1 %37 = call i32 @printf(ptr noundef @.str.16) br label %226 38: ; preds = %1 %39 = call i32 @printf(ptr noundef @.str.17) br label %226 40: ; preds = %1 %41 = call i32 @printf(ptr noundef @.str.18) br label %226 42: ; preds = %1 %43 = call i32 @printf(ptr noundef @.str.19) br label %226 44: ; preds = %1 %45 = call i32 @printf(ptr noundef @.str.20) br label %226 46: ; preds = %1 %47 = call i32 @printf(ptr noundef @.str.21) br label %226 48: ; preds = %1 %49 = call i32 @printf(ptr noundef @.str.22) br label %226 50: ; preds = %1 %51 = call i32 @printf(ptr noundef @.str.23) br label %226 52: ; preds = %1 %53 = call i32 @printf(ptr noundef @.str.24) br label %226 54: ; preds = %1 %55 = call i32 @printf(ptr noundef @.str.25) br label %226 56: ; preds = %1 %57 = call i32 @printf(ptr noundef @.str.26) br label %226 58: ; preds = %1 %59 = call i32 @printf(ptr noundef @.str.27) br label %226 60: ; preds = %1 %61 = call i32 @printf(ptr noundef @.str.28) br label %226 62: ; preds = %1 %63 = call i32 @printf(ptr noundef @.str.29) br label %226 64: ; preds = %1 %65 = call i32 @printf(ptr noundef @.str.25) br label %226 66: ; preds = %1 %67 = call i32 @printf(ptr noundef @.str.25) br label %226 68: ; preds = %1 %69 = call i32 @printf(ptr noundef @.str.30) br label %226 70: ; preds = %1 %71 = call i32 @printf(ptr noundef @.str.25) br label %226 72: ; preds = %1 %73 = call i32 @printf(ptr noundef @.str.31) br label %226 74: ; preds = %1 %75 = call i32 @printf(ptr noundef @.str.32) br label %226 76: ; preds = %1 %77 = call i32 @printf(ptr noundef @.str.33) br label %226 78: ; preds = %1 %79 = call i32 @printf(ptr noundef @.str.34) br label %226 80: ; preds = %1 %81 = call i32 @printf(ptr noundef @.str.35) br label %226 82: ; preds = %1 %83 = call i32 @printf(ptr noundef @.str.36) br label %226 84: ; preds = %1 %85 = call i32 @printf(ptr noundef @.str.37) br label %226 86: ; preds = %1 %87 = call i32 @printf(ptr noundef @.str.38) br label %226 88: ; preds = %1 %89 = call i32 @printf(ptr noundef @.str.39) br label %226 90: ; preds = %1 %91 = call i32 @printf(ptr noundef @.str.40) br label %226 92: ; preds = %1 %93 = call i32 @printf(ptr noundef @.str.41) br label %226 94: ; preds = %1 %95 = call i32 @printf(ptr noundef @.str.42) br label %226 96: ; preds = %1 %97 = call i32 @printf(ptr noundef @.str.43) br label %226 98: ; preds = %1 %99 = call i32 @printf(ptr noundef @.str.44) br label %226 100: ; preds = %1 %101 = call i32 @printf(ptr noundef @.str.45) br label %226 102: ; preds = %1 %103 = call i32 @printf(ptr noundef @.str.46) br label %226 104: ; preds = %1 %105 = call i32 @printf(ptr noundef @.str.47) br label %226 106: ; preds = %1 %107 = call i32 @printf(ptr noundef @.str.48) br label %226 108: ; preds = %1 %109 = call i32 @printf(ptr noundef @.str.49) br label %226 110: ; preds = %1 %111 = call i32 @printf(ptr noundef @.str.50) br label %226 112: ; preds = %1 %113 = call i32 @printf(ptr noundef @.str.51) br label %226 114: ; preds = %1 %115 = call i32 @printf(ptr noundef @.str.52) br label %226 116: ; preds = %1 %117 = call i32 @printf(ptr noundef @.str.53) br label %226 118: ; preds = %1 %119 = call i32 @printf(ptr noundef @.str.54) br label %226 120: ; preds = %1 %121 = call i32 @printf(ptr noundef @.str.55) br label %226 122: ; preds = %1 %123 = call i32 @printf(ptr noundef @.str.56) br label %226 124: ; preds = %1 %125 = call i32 @printf(ptr noundef @.str.57) br label %226 126: ; preds = %1 %127 = call i32 @printf(ptr noundef @.str.58) br label %226 128: ; preds = %1 %129 = call i32 @printf(ptr noundef @.str.59) br label %226 130: ; preds = %1 %131 = call i32 @printf(ptr noundef @.str.60) br label %226 132: ; preds = %1 %133 = call i32 @printf(ptr noundef @.str.61) br label %226 134: ; preds = %1 %135 = call i32 @printf(ptr noundef @.str.62) br label %226 136: ; preds = %1 %137 = call i32 @printf(ptr noundef @.str.63) br label %226 138: ; preds = %1 %139 = call i32 @printf(ptr noundef @.str.64) br label %226 140: ; preds = %1 %141 = call i32 @printf(ptr noundef @.str.65) br label %226 142: ; preds = %1 %143 = call i32 @printf(ptr noundef @.str.66) br label %226 144: ; preds = %1 %145 = call i32 @printf(ptr noundef @.str.67) br label %226 146: ; preds = %1 %147 = call i32 @printf(ptr noundef @.str.68) br label %226 148: ; preds = %1 %149 = call i32 @printf(ptr noundef @.str.69) br label %226 150: ; preds = %1 %151 = call i32 @printf(ptr noundef @.str.70) br label %226 152: ; preds = %1 %153 = call i32 @printf(ptr noundef @.str.71) br label %226 154: ; preds = %1 %155 = call i32 @printf(ptr noundef @.str.72) br label %226 156: ; preds = %1 %157 = call i32 @printf(ptr noundef @.str.73) br label %226 158: ; preds = %1 %159 = call i32 @printf(ptr noundef @.str.74) br label %226 160: ; preds = %1 %161 = call i32 @printf(ptr noundef @.str.75) br label %226 162: ; preds = %1 %163 = call i32 @printf(ptr noundef @.str.76) br label %226 164: ; preds = %1 %165 = call i32 @printf(ptr noundef @.str.77) br label %226 166: ; preds = %1 %167 = call i32 @printf(ptr noundef @.str.78) br label %226 168: ; preds = %1 %169 = call i32 @printf(ptr noundef @.str.79) br label %226 170: ; preds = %1 %171 = call i32 @printf(ptr noundef @.str.80) br label %226 172: ; preds = %1 %173 = call i32 @printf(ptr noundef @.str.81) br label %226 174: ; preds = %1 %175 = call i32 @printf(ptr noundef @.str.82) br label %226 176: ; preds = %1 %177 = call i32 @printf(ptr noundef @.str.83) br label %226 178: ; preds = %1 %179 = call i32 @printf(ptr noundef @.str.84) br label %226 180: ; preds = %1 %181 = call i32 @printf(ptr noundef @.str.85) br label %226 182: ; preds = %1 %183 = call i32 @printf(ptr noundef @.str.86) br label %226 184: ; preds = %1 %185 = call i32 @printf(ptr noundef @.str.87) br label %226 186: ; preds = %1 %187 = call i32 @printf(ptr noundef @.str.88) br label %226 188: ; preds = %1 %189 = call i32 @printf(ptr noundef @.str.89) br label %226 190: ; preds = %1 %191 = call i32 @printf(ptr noundef @.str.90) br label %226 192: ; preds = %1 %193 = call i32 @printf(ptr noundef @.str.91) br label %226 194: ; preds = %1 %195 = call i32 @printf(ptr noundef @.str.92) br label %226 196: ; preds = %1 %197 = call i32 @printf(ptr noundef @.str.93) br label %226 198: ; preds = %1 %199 = call i32 @printf(ptr noundef @.str.94) br label %226 200: ; preds = %1 %201 = call i32 @printf(ptr noundef @.str.95) br label %226 202: ; preds = %1 %203 = call i32 @printf(ptr noundef @.str.96) br label %226 204: ; preds = %1 %205 = call i32 @printf(ptr noundef @.str.97) br label %226 206: ; preds = %1 %207 = call i32 @printf(ptr noundef @.str.98) br label %226 208: ; preds = %1 %209 = call i32 @printf(ptr noundef @.str.99) br label %226 210: ; preds = %1 %211 = call i32 @printf(ptr noundef @.str.100) br label %226 212: ; preds = %1 %213 = call i32 @printf(ptr noundef @.str.101) br label %226 214: ; preds = %1 %215 = call i32 @printf(ptr noundef @.str.102) br label %226 216: ; preds = %1 %217 = call i32 @printf(ptr noundef @.str.103) br label %226 218: ; preds = %1 %219 = call i32 @printf(ptr noundef @.str.104) br label %226 220: ; preds = %1 %221 = call i32 @printf(ptr noundef @.str.105) br label %226 222: ; preds = %1, %1, %1, %1, %1, %1, %1, %1 %223 = call i32 @printf(ptr noundef @.str.106) br label %226 224: ; preds = %1 %225 = call i32 @printf(ptr noundef @.str.107) br label %226 226: ; preds = %224, %222, %220, %218, %216, %214, %212, %210, %208, %206, %204, %202, %200, %198, %196, %194, %192, %190, %188, %186, %184, %182, %180, %178, %176, %174, %172, %170, %168, %166, %164, %162, %160, %158, %156, %154, %152, %150, %148, %146, %144, %142, %140, %138, %136, %134, %132, %130, %128, %126, %124, %122, %120, %118, %116, %114, %112, %110, %108, %106, %104, %102, %100, %98, %96, %94, %92, %90, %88, %86, %84, %82, %80, %78, %76, %74, %72, %70, %68, %66, %64, %62, %60, %58, %56, %54, %52, %50, %48, %46, %44, %42, %40, %38, %36, %34, %32, %30, %28, %26, %24, %22, %20, %18, %16, %14, %12, %10, %8, %6 ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpi8dkmqwq.c' source_filename = "/tmp/tmpi8dkmqwq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A input number:\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"\0A %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %6 = load i32, ptr %2, align 4 %7 = call i32 @exact_square(i32 noundef %6) store i32 %7, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %8) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @exact_square(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/tmpi8dkmqwq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A input number:\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"\0A %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %6 = load i32, ptr %2, align 4 %7 = call i32 @exact_square(i32 noundef %6) store i32 %7, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %8) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @exact_square(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/tmp60tvjuz3.c' source_filename = "/tmp/tmp60tvjuz3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"return-path\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"from\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 ptr @fakefrom(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @hfield_mult(ptr noundef @.str, ptr noundef %4, i32 noundef 1) %6 = call ptr @skin(i32 noundef %5) store ptr %6, ptr %3, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %13, label %8 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 %10 = load i8, ptr %9, align 1 %11 = sext i8 %10 to i32 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %24 13: ; preds = %8, %1 %14 = load ptr, ptr %2, align 8 %15 = call i32 @hfield_mult(ptr noundef @.str.1, ptr noundef %14, i32 noundef 1) %16 = call ptr @skin(i32 noundef %15) store ptr %16, ptr %3, align 8 %17 = icmp eq ptr %16, null br i1 %17, label %23, label %18 18: ; preds = %13 %19 = load ptr, ptr %3, align 8 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %24 23: ; preds = %18, %13 store ptr @.str.2, ptr %3, align 8 br label %24 24: ; preds = %23, %18, %8 %25 = load ptr, ptr %3, align 8 ret ptr %25 } declare ptr @skin(i32 noundef) #1 declare i32 @hfield_mult(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/tmp60tvjuz3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"return-path\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"from\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 ptr @fakefrom(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @hfield_mult(ptr noundef @.str, ptr noundef %4, i32 noundef 1) %6 = call ptr @skin(i32 noundef %5) store ptr %6, ptr %3, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %13, label %8 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 %10 = load i8, ptr %9, align 1 %11 = sext i8 %10 to i32 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %24 13: ; preds = %8, %1 %14 = load ptr, ptr %2, align 8 %15 = call i32 @hfield_mult(ptr noundef @.str.1, ptr noundef %14, i32 noundef 1) %16 = call ptr @skin(i32 noundef %15) store ptr %16, ptr %3, align 8 %17 = icmp eq ptr %16, null br i1 %17, label %23, label %18 18: ; preds = %13 %19 = load ptr, ptr %3, align 8 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %24 23: ; preds = %18, %13 store ptr @.str.2, ptr %3, align 8 br label %24 24: ; preds = %23, %18, %8 %25 = load ptr, ptr %3, align 8 ret ptr %25 } declare ptr @skin(i32 noundef) #1 declare i32 @hfield_mult(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/tmpm_k7rzwk.c' source_filename = "/tmp/tmpm_k7rzwk.c" target datalayout = "e-m:e-p270: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/tmpm_k7rzwk.c" target datalayout = "e-m:e-p270: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/tmpagrmtaeb.c' source_filename = "/tmp/tmpagrmtaeb.c" target datalayout = "e-m:e-p270: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/tmpagrmtaeb.c" target datalayout = "e-m:e-p270: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/tmp1nmapgvy.c' source_filename = "/tmp/tmp1nmapgvy.c" target datalayout = "e-m:e-p270: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 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_random_byte() #0 { %1 = alloca %struct.timeval, align 4 %2 = alloca %struct.timeval, align 4 %3 = alloca i32, align 4 %4 = call i32 @gettimeofday_or_die(ptr noundef %2) br label %5 5: ; preds = %0, %12 %6 = load i32, ptr %3, align 4 %7 = add nsw i32 %6, 1 store i32 %7, ptr %3, align 4 %8 = call i32 @gettimeofday_or_die(ptr noundef %1) %9 = call i32 @timevaldiff(ptr noundef %2, ptr noundef %1) %10 = icmp sgt i32 %9, 100 br i1 %10, label %11, label %12 11: ; preds = %5 br label %13 12: ; preds = %5 br label %5 13: ; preds = %11 %14 = load i32, ptr %3, align 4 ret i32 %14 } declare i32 @gettimeofday_or_die(ptr noundef) #1 declare i32 @timevaldiff(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/tmp1nmapgvy.c" target datalayout = "e-m:e-p270: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 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_random_byte() #0 { %1 = alloca %struct.timeval, align 4 %2 = alloca %struct.timeval, align 4 %3 = alloca i32, align 4 %4 = call i32 @gettimeofday_or_die(ptr noundef %2) br label %5 5: ; preds = %5, %0 %6 = load i32, ptr %3, align 4 %7 = add nsw i32 %6, 1 store i32 %7, ptr %3, align 4 %8 = call i32 @gettimeofday_or_die(ptr noundef %1) %9 = call i32 @timevaldiff(ptr noundef %2, ptr noundef %1) %10 = icmp sgt i32 %9, 100 br i1 %10, label %11, label %5 11: ; preds = %5 br label %12 12: ; preds = %11 %13 = load i32, ptr %3, align 4 ret i32 %13 } declare i32 @gettimeofday_or_die(ptr noundef) #1 declare i32 @timevaldiff(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_curso5h.c' source_filename = "/tmp/tmp_curso5h.c" target datalayout = "e-m:e-p270: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_curso5h.c" target datalayout = "e-m:e-p270: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/tmpliuz0g7e.c' source_filename = "/tmp/tmpliuz0g7e.c" target datalayout = "e-m:e-p270: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/tmpliuz0g7e.c" target datalayout = "e-m:e-p270: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/tmpht127xgc.c' source_filename = "/tmp/tmpht127xgc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @reverseSignedMagnitude(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %6 = load i32, ptr %3, align 4 %7 = zext i32 %6 to i64 %8 = load i32, ptr %3, align 4 %9 = load ptr, ptr %4, align 8 %10 = call i64 @binaryToDecimal(i32 noundef 1, i32 noundef %8, ptr noundef %9) store i64 %10, ptr %5, align 8 %11 = load ptr, ptr %4, align 8 %12 = getelementptr inbounds i8, ptr %11, i64 0 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp eq i32 %14, 49 br i1 %15, label %16, label %19 16: ; preds = %2 %17 = load i64, ptr %5, align 8 %18 = mul nsw i64 %17, -1 store i64 %18, ptr %5, align 8 br label %19 19: ; preds = %16, %2 %20 = load i64, ptr %5, align 8 ret i64 %20 } declare i64 @binaryToDecimal(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpht127xgc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @reverseSignedMagnitude(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %6 = load i32, ptr %3, align 4 %7 = zext i32 %6 to i64 %8 = load i32, ptr %3, align 4 %9 = load ptr, ptr %4, align 8 %10 = call i64 @binaryToDecimal(i32 noundef 1, i32 noundef %8, ptr noundef %9) store i64 %10, ptr %5, align 8 %11 = load ptr, ptr %4, align 8 %12 = getelementptr inbounds i8, ptr %11, i64 0 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp eq i32 %14, 49 br i1 %15, label %16, label %19 16: ; preds = %2 %17 = load i64, ptr %5, align 8 %18 = mul nsw i64 %17, -1 store i64 %18, ptr %5, align 8 br label %19 19: ; preds = %16, %2 %20 = load i64, ptr %5, align 8 ret i64 %20 } declare i64 @binaryToDecimal(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpb4ef000h.c' source_filename = "/tmp/tmpb4ef000h.c" target datalayout = "e-m:e-p270: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/tmpb4ef000h.c" target datalayout = "e-m:e-p270: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/tmpt1p30fn6.c' source_filename = "/tmp/tmpt1p30fn6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [29 x i8] c"Digite um inteiro positivo: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [47 x i8] c"\0ASoma dos %d primeiros inteiros positivos: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %2, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1) store i32 1, ptr %3, align 4 br label %6 6: ; preds = %14, %0 %7 = load i32, ptr %3, align 4 %8 = load i32, ptr %1, align 4 %9 = icmp sle i32 %7, %8 br i1 %9, label %10, label %17 10: ; preds = %6 %11 = load i32, ptr %2, align 4 %12 = load i32, ptr %3, align 4 %13 = add nsw i32 %11, %12 store i32 %13, ptr %2, align 4 br label %14 14: ; preds = %10 %15 = load i32, ptr %3, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %3, align 4 br label %6, !llvm.loop !6 17: ; preds = %6 %18 = load i32, ptr %1, align 4 %19 = load i32, ptr %2, align 4 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %18, i32 noundef %19) ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpt1p30fn6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [29 x i8] c"Digite um inteiro positivo: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [47 x i8] c"\0ASoma dos %d primeiros inteiros positivos: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %2, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1) store i32 1, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = load i32, ptr %1, align 4 %8 = icmp sle i32 %6, %7 br i1 %8, label %.lr.ph, label %19 .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %13 %10 = load i32, ptr %2, align 4 %11 = load i32, ptr %3, align 4 %12 = add nsw i32 %10, %11 store i32 %12, ptr %2, align 4 br label %13 13: ; preds = %9 %14 = load i32, ptr %3, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %3, align 4 %16 = load i32, ptr %3, align 4 %17 = load i32, ptr %1, align 4 %18 = icmp sle i32 %16, %17 br i1 %18, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %19 19: ; preds = %._crit_edge, %0 %20 = load i32, ptr %1, align 4 %21 = load i32, ptr %2, align 4 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %20, i32 noundef %21) ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpaqfcgdsf.c' source_filename = "/tmp/tmpaqfcgdsf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"NS\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"MD\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"MF\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"CNAME\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"SOA\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"MB\00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"MG\00", align 1 @.str.8 = private unnamed_addr constant [3 x i8] c"MR\00", align 1 @.str.9 = private unnamed_addr constant [5 x i8] c"NULL\00", align 1 @.str.10 = private unnamed_addr constant [4 x i8] c"WKS\00", align 1 @.str.11 = private unnamed_addr constant [4 x i8] c"PTR\00", align 1 @.str.12 = private unnamed_addr constant [6 x i8] c"HINFO\00", align 1 @.str.13 = private unnamed_addr constant [6 x i8] c"MINFO\00", align 1 @.str.14 = private unnamed_addr constant [3 x i8] c"MX\00", align 1 @.str.15 = private unnamed_addr constant [4 x i8] c"TXT\00", align 1 @.str.16 = private unnamed_addr constant [5 x i8] c"AAAA\00", align 1 @.str.17 = private unnamed_addr constant [4 x i8] c"OPT\00", align 1 @.str.18 = private unnamed_addr constant [5 x i8] c"AXFR\00", align 1 @.str.19 = private unnamed_addr constant [6 x i8] c"MAILB\00", align 1 @.str.20 = private unnamed_addr constant [6 x i8] c"MAILA\00", align 1 @.str.21 = private unnamed_addr constant [4 x i8] c"ANY\00", align 1 @.str.22 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @ns_typename(i32 noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 switch i32 %4, label %27 [ i32 1, label %5 i32 2, label %6 i32 3, label %7 i32 4, label %8 i32 5, label %9 i32 6, label %10 i32 7, label %11 i32 8, label %12 i32 9, label %13 i32 10, label %14 i32 11, label %15 i32 12, label %16 i32 13, label %17 i32 14, label %18 i32 15, label %19 i32 16, label %20 i32 28, label %21 i32 41, label %22 i32 252, label %23 i32 253, label %24 i32 254, label %25 i32 255, label %26 ] 5: ; preds = %1 store ptr @.str, ptr %2, align 8 br label %28 6: ; preds = %1 store ptr @.str.1, ptr %2, align 8 br label %28 7: ; preds = %1 store ptr @.str.2, ptr %2, align 8 br label %28 8: ; preds = %1 store ptr @.str.3, ptr %2, align 8 br label %28 9: ; preds = %1 store ptr @.str.4, ptr %2, align 8 br label %28 10: ; preds = %1 store ptr @.str.5, ptr %2, align 8 br label %28 11: ; preds = %1 store ptr @.str.6, ptr %2, align 8 br label %28 12: ; preds = %1 store ptr @.str.7, ptr %2, align 8 br label %28 13: ; preds = %1 store ptr @.str.8, ptr %2, align 8 br label %28 14: ; preds = %1 store ptr @.str.9, ptr %2, align 8 br label %28 15: ; preds = %1 store ptr @.str.10, ptr %2, align 8 br label %28 16: ; preds = %1 store ptr @.str.11, ptr %2, align 8 br label %28 17: ; preds = %1 store ptr @.str.12, ptr %2, align 8 br label %28 18: ; preds = %1 store ptr @.str.13, ptr %2, align 8 br label %28 19: ; preds = %1 store ptr @.str.14, ptr %2, align 8 br label %28 20: ; preds = %1 store ptr @.str.15, ptr %2, align 8 br label %28 21: ; preds = %1 store ptr @.str.16, ptr %2, align 8 br label %28 22: ; preds = %1 store ptr @.str.17, ptr %2, align 8 br label %28 23: ; preds = %1 store ptr @.str.18, ptr %2, align 8 br label %28 24: ; preds = %1 store ptr @.str.19, ptr %2, align 8 br label %28 25: ; preds = %1 store ptr @.str.20, ptr %2, align 8 br label %28 26: ; preds = %1 store ptr @.str.21, ptr %2, align 8 br label %28 27: ; preds = %1 store ptr @.str.22, ptr %2, align 8 br label %28 28: ; preds = %27, %26, %25, %24, %23, %22, %21, %20, %19, %18, %17, %16, %15, %14, %13, %12, %11, %10, %9, %8, %7, %6, %5 %29 = load ptr, ptr %2, align 8 ret ptr %29 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpaqfcgdsf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"NS\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"MD\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"MF\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"CNAME\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"SOA\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"MB\00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"MG\00", align 1 @.str.8 = private unnamed_addr constant [3 x i8] c"MR\00", align 1 @.str.9 = private unnamed_addr constant [5 x i8] c"NULL\00", align 1 @.str.10 = private unnamed_addr constant [4 x i8] c"WKS\00", align 1 @.str.11 = private unnamed_addr constant [4 x i8] c"PTR\00", align 1 @.str.12 = private unnamed_addr constant [6 x i8] c"HINFO\00", align 1 @.str.13 = private unnamed_addr constant [6 x i8] c"MINFO\00", align 1 @.str.14 = private unnamed_addr constant [3 x i8] c"MX\00", align 1 @.str.15 = private unnamed_addr constant [4 x i8] c"TXT\00", align 1 @.str.16 = private unnamed_addr constant [5 x i8] c"AAAA\00", align 1 @.str.17 = private unnamed_addr constant [4 x i8] c"OPT\00", align 1 @.str.18 = private unnamed_addr constant [5 x i8] c"AXFR\00", align 1 @.str.19 = private unnamed_addr constant [6 x i8] c"MAILB\00", align 1 @.str.20 = private unnamed_addr constant [6 x i8] c"MAILA\00", align 1 @.str.21 = private unnamed_addr constant [4 x i8] c"ANY\00", align 1 @.str.22 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @ns_typename(i32 noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 switch i32 %4, label %27 [ i32 1, label %5 i32 2, label %6 i32 3, label %7 i32 4, label %8 i32 5, label %9 i32 6, label %10 i32 7, label %11 i32 8, label %12 i32 9, label %13 i32 10, label %14 i32 11, label %15 i32 12, label %16 i32 13, label %17 i32 14, label %18 i32 15, label %19 i32 16, label %20 i32 28, label %21 i32 41, label %22 i32 252, label %23 i32 253, label %24 i32 254, label %25 i32 255, label %26 ] 5: ; preds = %1 store ptr @.str, ptr %2, align 8 br label %28 6: ; preds = %1 store ptr @.str.1, ptr %2, align 8 br label %28 7: ; preds = %1 store ptr @.str.2, ptr %2, align 8 br label %28 8: ; preds = %1 store ptr @.str.3, ptr %2, align 8 br label %28 9: ; preds = %1 store ptr @.str.4, ptr %2, align 8 br label %28 10: ; preds = %1 store ptr @.str.5, ptr %2, align 8 br label %28 11: ; preds = %1 store ptr @.str.6, ptr %2, align 8 br label %28 12: ; preds = %1 store ptr @.str.7, ptr %2, align 8 br label %28 13: ; preds = %1 store ptr @.str.8, ptr %2, align 8 br label %28 14: ; preds = %1 store ptr @.str.9, ptr %2, align 8 br label %28 15: ; preds = %1 store ptr @.str.10, ptr %2, align 8 br label %28 16: ; preds = %1 store ptr @.str.11, ptr %2, align 8 br label %28 17: ; preds = %1 store ptr @.str.12, ptr %2, align 8 br label %28 18: ; preds = %1 store ptr @.str.13, ptr %2, align 8 br label %28 19: ; preds = %1 store ptr @.str.14, ptr %2, align 8 br label %28 20: ; preds = %1 store ptr @.str.15, ptr %2, align 8 br label %28 21: ; preds = %1 store ptr @.str.16, ptr %2, align 8 br label %28 22: ; preds = %1 store ptr @.str.17, ptr %2, align 8 br label %28 23: ; preds = %1 store ptr @.str.18, ptr %2, align 8 br label %28 24: ; preds = %1 store ptr @.str.19, ptr %2, align 8 br label %28 25: ; preds = %1 store ptr @.str.20, ptr %2, align 8 br label %28 26: ; preds = %1 store ptr @.str.21, ptr %2, align 8 br label %28 27: ; preds = %1 store ptr @.str.22, ptr %2, align 8 br label %28 28: ; preds = %27, %26, %25, %24, %23, %22, %21, %20, %19, %18, %17, %16, %15, %14, %13, %12, %11, %10, %9, %8, %7, %6, %5 %29 = load ptr, ptr %2, align 8 ret ptr %29 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4ppanspr.c' source_filename = "/tmp/tmp4ppanspr.c" target datalayout = "e-m:e-p270: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/tmp4ppanspr.c" target datalayout = "e-m:e-p270: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/tmp9zwmi4ra.c' source_filename = "/tmp/tmp9zwmi4ra.c" target datalayout = "e-m:e-p270: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/tmp9zwmi4ra.c" target datalayout = "e-m:e-p270: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"}