llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmp4cspwnqg.c' source_filename = "/tmp/tmp4cspwnqg.c" target datalayout = "e-m:e-p270: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/tmp4cspwnqg.c" target datalayout = "e-m:e-p270: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/tmp4d47t129.c' source_filename = "/tmp/tmp4d47t129.c" target datalayout = "e-m:e-p270: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/tmp4d47t129.c" target datalayout = "e-m:e-p270: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/tmpbpokumq5.c' source_filename = "/tmp/tmpbpokumq5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"realloc of %u bytes failed:\00", align 1 @.str.1 = private unnamed_addr constant [171 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/carlo0815/gstreamer1.7.1/refs/heads/master/libs/gst/check/libcheck/check_error.c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @erealloc(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load i64, ptr %4, align 8 %8 = call ptr @realloc(ptr noundef %6, i64 noundef %7) #3 store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %14 11: ; preds = %2 %12 = load i64, ptr %4, align 8 %13 = call i32 @eprintf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 75, i64 noundef %12) br label %14 14: ; preds = %11, %2 %15 = load ptr, ptr %5, align 8 ret ptr %15 } ; Function Attrs: allocsize(1) declare ptr @realloc(ptr noundef, i64 noundef) #1 declare i32 @eprintf(ptr noundef, ptr noundef, i32 noundef, i64 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 = { 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 = { "frame-pointer"="all" "no-trapping-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 = { 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/tmpbpokumq5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"realloc of %u bytes failed:\00", align 1 @.str.1 = private unnamed_addr constant [171 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/carlo0815/gstreamer1.7.1/refs/heads/master/libs/gst/check/libcheck/check_error.c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @erealloc(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = load i64, ptr %4, align 8 %8 = call ptr @realloc(ptr noundef %6, i64 noundef %7) #3 store ptr %8, ptr %5, align 8 %9 = load ptr, ptr %5, align 8 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %14 11: ; preds = %2 %12 = load i64, ptr %4, align 8 %13 = call i32 @eprintf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 75, i64 noundef %12) br label %14 14: ; preds = %11, %2 %15 = load ptr, ptr %5, align 8 ret ptr %15 } ; Function Attrs: allocsize(1) declare ptr @realloc(ptr noundef, i64 noundef) #1 declare i32 @eprintf(ptr noundef, ptr noundef, i32 noundef, i64 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 = { 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 = { "frame-pointer"="all" "no-trapping-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 = { 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/tmpfswymcfx.c' source_filename = "/tmp/tmpfswymcfx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"\09 + \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @matrixsum() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [3 x [3 x i32]], align 16 %5 = alloca [3 x [3 x i32]], align 16 %6 = alloca [3 x [3 x i32]], align 16 store i32 0, ptr %2, align 4 br label %7 7: ; preds = %27, %0 %8 = load i32, ptr %2, align 4 %9 = icmp sle i32 %8, 2 br i1 %9, label %10, label %30 10: ; preds = %7 store i32 0, ptr %3, align 4 br label %11 11: ; preds = %22, %10 %12 = load i32, ptr %3, align 4 %13 = icmp sle i32 %12, 2 br i1 %13, label %14, label %25 14: ; preds = %11 %15 = load i32, ptr %2, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds [3 x [3 x i32]], ptr %4, i64 0, i64 %16 %18 = load i32, ptr %3, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds [3 x i32], ptr %17, i64 0, i64 %19 %21 = call i32 @scanf(ptr noundef @.str, ptr noundef %20) br label %22 22: ; preds = %14 %23 = load i32, ptr %3, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %3, align 4 br label %11, !llvm.loop !6 25: ; preds = %11 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %27 27: ; preds = %25 %28 = load i32, ptr %2, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %2, align 4 br label %7, !llvm.loop !8 30: ; preds = %7 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %2, align 4 br label %32 32: ; preds = %52, %30 %33 = load i32, ptr %2, align 4 %34 = icmp sle i32 %33, 2 br i1 %34, label %35, label %55 35: ; preds = %32 store i32 0, ptr %3, align 4 br label %36 36: ; preds = %47, %35 %37 = load i32, ptr %3, align 4 %38 = icmp sle i32 %37, 2 br i1 %38, label %39, label %50 39: ; preds = %36 %40 = load i32, ptr %2, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [3 x [3 x i32]], ptr %5, i64 0, i64 %41 %43 = load i32, ptr %3, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds [3 x i32], ptr %42, i64 0, i64 %44 %46 = call i32 @scanf(ptr noundef @.str, ptr noundef %45) br label %47 47: ; preds = %39 %48 = load i32, ptr %3, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %3, align 4 br label %36, !llvm.loop !9 50: ; preds = %36 %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %52 52: ; preds = %50 %53 = load i32, ptr %2, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %2, align 4 br label %32, !llvm.loop !10 55: ; preds = %32 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %2, align 4 br label %57 57: ; preds = %99, %55 %58 = load i32, ptr %2, align 4 %59 = icmp sle i32 %58, 2 br i1 %59, label %60, label %102 60: ; preds = %57 store i32 0, ptr %3, align 4 br label %61 61: ; preds = %94, %60 %62 = load i32, ptr %3, align 4 %63 = icmp sle i32 %62, 2 br i1 %63, label %64, label %97 64: ; preds = %61 %65 = load i32, ptr %2, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds [3 x [3 x i32]], ptr %4, i64 0, i64 %66 %68 = load i32, ptr %3, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds [3 x i32], ptr %67, i64 0, i64 %69 %71 = load i32, ptr %70, align 4 %72 = load i32, ptr %2, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds [3 x [3 x i32]], ptr %5, i64 0, i64 %73 %75 = load i32, ptr %3, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds [3 x i32], ptr %74, i64 0, i64 %76 %78 = load i32, ptr %77, align 4 %79 = add nsw i32 %71, %78 %80 = load i32, ptr %2, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds [3 x [3 x i32]], ptr %6, i64 0, i64 %81 %83 = load i32, ptr %3, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds [3 x i32], ptr %82, i64 0, i64 %84 store i32 %79, ptr %85, align 4 %86 = load i32, ptr %2, align 4 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds [3 x [3 x i32]], ptr %6, i64 0, i64 %87 %89 = load i32, ptr %3, align 4 %90 = sext i32 %89 to i64 %91 = getelementptr inbounds [3 x i32], ptr %88, i64 0, i64 %90 %92 = load i32, ptr %91, align 4 %93 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %92) br label %94 94: ; preds = %64 %95 = load i32, ptr %3, align 4 %96 = add nsw i32 %95, 1 store i32 %96, ptr %3, align 4 br label %61, !llvm.loop !11 97: ; preds = %61 %98 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %99 99: ; preds = %97 %100 = load i32, ptr %2, align 4 %101 = add nsw i32 %100, 1 store i32 %101, ptr %2, align 4 br label %57, !llvm.loop !12 102: ; preds = %57 %103 = load i32, ptr %1, align 4 ret i32 %103 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfswymcfx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"\09 + \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @matrixsum() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [3 x [3 x i32]], align 16 %5 = alloca [3 x [3 x i32]], align 16 %6 = alloca [3 x [3 x i32]], align 16 store i32 0, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = icmp sle i32 %7, 2 br i1 %8, label %.lr.ph2, label %32 .lr.ph2: ; preds = %0 br label %9 9: ; preds = %.lr.ph2, %27 store i32 0, ptr %3, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp sle i32 %10, 2 br i1 %11, label %.lr.ph, label %25 .lr.ph: ; preds = %9 br label %12 12: ; preds = %.lr.ph, %20 %13 = load i32, ptr %2, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds [3 x [3 x i32]], ptr %4, i64 0, i64 %14 %16 = load i32, ptr %3, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [3 x i32], ptr %15, i64 0, i64 %17 %19 = call i32 @scanf(ptr noundef @.str, ptr noundef %18) br label %20 20: ; preds = %12 %21 = load i32, ptr %3, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %3, align 4 %23 = load i32, ptr %3, align 4 %24 = icmp sle i32 %23, 2 br i1 %24, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %25 25: ; preds = %._crit_edge, %9 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %27 27: ; preds = %25 %28 = load i32, ptr %2, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %2, align 4 %30 = load i32, ptr %2, align 4 %31 = icmp sle i32 %30, 2 br i1 %31, label %9, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %27 br label %32 32: ; preds = %._crit_edge3, %0 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %2, align 4 %34 = load i32, ptr %2, align 4 %35 = icmp sle i32 %34, 2 br i1 %35, label %.lr.ph8, label %59 .lr.ph8: ; preds = %32 br label %36 36: ; preds = %.lr.ph8, %54 store i32 0, ptr %3, align 4 %37 = load i32, ptr %3, align 4 %38 = icmp sle i32 %37, 2 br i1 %38, label %.lr.ph5, label %52 .lr.ph5: ; preds = %36 br label %39 39: ; preds = %.lr.ph5, %47 %40 = load i32, ptr %2, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [3 x [3 x i32]], ptr %5, i64 0, i64 %41 %43 = load i32, ptr %3, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds [3 x i32], ptr %42, i64 0, i64 %44 %46 = call i32 @scanf(ptr noundef @.str, ptr noundef %45) br label %47 47: ; preds = %39 %48 = load i32, ptr %3, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %3, align 4 %50 = load i32, ptr %3, align 4 %51 = icmp sle i32 %50, 2 br i1 %51, label %39, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %47 br label %52 52: ; preds = %._crit_edge6, %36 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %54 54: ; preds = %52 %55 = load i32, ptr %2, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %2, align 4 %57 = load i32, ptr %2, align 4 %58 = icmp sle i32 %57, 2 br i1 %58, label %36, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %54 br label %59 59: ; preds = %._crit_edge9, %32 %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %2, align 4 %61 = load i32, ptr %2, align 4 %62 = icmp sle i32 %61, 2 br i1 %62, label %.lr.ph14, label %108 .lr.ph14: ; preds = %59 br label %63 63: ; preds = %.lr.ph14, %103 store i32 0, ptr %3, align 4 %64 = load i32, ptr %3, align 4 %65 = icmp sle i32 %64, 2 br i1 %65, label %.lr.ph11, label %101 .lr.ph11: ; preds = %63 br label %66 66: ; preds = %.lr.ph11, %96 %67 = load i32, ptr %2, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds [3 x [3 x i32]], ptr %4, i64 0, i64 %68 %70 = load i32, ptr %3, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds [3 x i32], ptr %69, i64 0, i64 %71 %73 = load i32, ptr %72, align 4 %74 = load i32, ptr %2, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds [3 x [3 x i32]], ptr %5, i64 0, i64 %75 %77 = load i32, ptr %3, align 4 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds [3 x i32], ptr %76, i64 0, i64 %78 %80 = load i32, ptr %79, align 4 %81 = add nsw i32 %73, %80 %82 = load i32, ptr %2, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds [3 x [3 x i32]], ptr %6, i64 0, i64 %83 %85 = load i32, ptr %3, align 4 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds [3 x i32], ptr %84, i64 0, i64 %86 store i32 %81, ptr %87, align 4 %88 = load i32, ptr %2, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds [3 x [3 x i32]], ptr %6, i64 0, i64 %89 %91 = load i32, ptr %3, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds [3 x i32], ptr %90, i64 0, i64 %92 %94 = load i32, ptr %93, align 4 %95 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %94) br label %96 96: ; preds = %66 %97 = load i32, ptr %3, align 4 %98 = add nsw i32 %97, 1 store i32 %98, ptr %3, align 4 %99 = load i32, ptr %3, align 4 %100 = icmp sle i32 %99, 2 br i1 %100, label %66, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %96 br label %101 101: ; preds = %._crit_edge12, %63 %102 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %103 103: ; preds = %101 %104 = load i32, ptr %2, align 4 %105 = add nsw i32 %104, 1 store i32 %105, ptr %2, align 4 %106 = load i32, ptr %2, align 4 %107 = icmp sle i32 %106, 2 br i1 %107, label %63, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %103 br label %108 108: ; preds = %._crit_edge15, %59 %109 = load i32, ptr %1, align 4 ret i32 %109 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '/tmp/tmpnt84houj.c' source_filename = "/tmp/tmpnt84houj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @bar(i32 noundef %3) %5 = mul nsw i32 2, %4 ret i32 %5 } declare i32 @bar(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/tmpnt84houj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @bar(i32 noundef %3) %5 = mul nsw i32 2, %4 ret i32 %5 } declare i32 @bar(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/tmprd810w7t.c' source_filename = "/tmp/tmprd810w7t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 store i32 1, ptr %7, align 4 store i32 1, ptr %8, align 4 store i32 0, ptr %6, align 4 store i32 1, ptr %7, align 4 store i32 1, ptr %8, align 4 br label %10 10: ; preds = %24, %2 %11 = load i32, ptr %8, align 4 %12 = icmp slt i32 %11, 4000000 br i1 %12, label %13, label %27 13: ; preds = %10 %14 = load i32, ptr %7, align 4 %15 = load i32, ptr %8, align 4 %16 = add nsw i32 %14, %15 store i32 %16, ptr %9, align 4 %17 = load i32, ptr %8, align 4 %18 = srem i32 %17, 2 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %24 20: ; preds = %13 %21 = load i32, ptr %8, align 4 %22 = load i32, ptr %6, align 4 %23 = add nsw i32 %22, %21 store i32 %23, ptr %6, align 4 br label %24 24: ; preds = %20, %13 %25 = load i32, ptr %8, align 4 store i32 %25, ptr %7, align 4 %26 = load i32, ptr %9, align 4 store i32 %26, ptr %8, align 4 br label %10, !llvm.loop !6 27: ; preds = %10 %28 = load i32, ptr %6, align 4 %29 = call i32 @printf(ptr noundef @.str, i32 noundef %28) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprd810w7t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 store i32 1, ptr %7, align 4 store i32 1, ptr %8, align 4 store i32 0, ptr %6, align 4 store i32 1, ptr %7, align 4 store i32 1, ptr %8, align 4 %10 = load i32, ptr %8, align 4 %11 = icmp slt i32 %10, 4000000 br i1 %11, label %.lr.ph, label %28 .lr.ph: ; preds = %2 br label %12 12: ; preds = %.lr.ph, %23 %13 = load i32, ptr %7, align 4 %14 = load i32, ptr %8, align 4 %15 = add nsw i32 %13, %14 store i32 %15, ptr %9, align 4 %16 = load i32, ptr %8, align 4 %17 = srem i32 %16, 2 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %23 19: ; preds = %12 %20 = load i32, ptr %8, align 4 %21 = load i32, ptr %6, align 4 %22 = add nsw i32 %21, %20 store i32 %22, ptr %6, align 4 br label %23 23: ; preds = %19, %12 %24 = load i32, ptr %8, align 4 store i32 %24, ptr %7, align 4 %25 = load i32, ptr %9, align 4 store i32 %25, ptr %8, align 4 %26 = load i32, ptr %8, align 4 %27 = icmp slt i32 %26, 4000000 br i1 %27, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %28 28: ; preds = %._crit_edge, %2 %29 = load i32, ptr %6, align 4 %30 = call i32 @printf(ptr noundef @.str, i32 noundef %29) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpkh82qceg.c' source_filename = "/tmp/tmpkh82qceg.c" target datalayout = "e-m:e-p270: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/tmpkh82qceg.c" target datalayout = "e-m:e-p270: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/tmph8qbi80f.c' source_filename = "/tmp/tmph8qbi80f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @correctedDivergence(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 store double %0, ptr %3, align 8 %4 = load double, ptr %3, align 8 %5 = fcmp oge double %4, 7.500000e-01 br i1 %5, label %6, label %7 6: ; preds = %1 store double 5.000000e+00, ptr %2, align 8 br label %12 7: ; preds = %1 %8 = load double, ptr %3, align 8 %9 = call double @llvm.fmuladd.f64(double 0xBFF5555555555555, double %8, double 1.000000e+00) %10 = call double @log(double noundef %9) #3 %11 = fmul double -7.500000e-01, %10 store double %11, ptr %2, align 8 br label %12 12: ; preds = %7, %6 %13 = load double, ptr %2, align 8 ret double %13 } ; Function Attrs: nounwind declare double @log(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmph8qbi80f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @correctedDivergence(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 store double %0, ptr %3, align 8 %4 = load double, ptr %3, align 8 %5 = fcmp oge double %4, 7.500000e-01 br i1 %5, label %6, label %7 6: ; preds = %1 store double 5.000000e+00, ptr %2, align 8 br label %12 7: ; preds = %1 %8 = load double, ptr %3, align 8 %9 = call double @llvm.fmuladd.f64(double 0xBFF5555555555555, double %8, double 1.000000e+00) %10 = call double @log(double noundef %9) #3 %11 = fmul double -7.500000e-01, %10 store double %11, ptr %2, align 8 br label %12 12: ; preds = %7, %6 %13 = load double, ptr %2, align 8 ret double %13 } ; Function Attrs: nounwind declare double @log(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp78dhc5hh.c' source_filename = "/tmp/tmp78dhc5hh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @base64encode(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca [3 x i16], align 2 %13 = alloca [4 x i16], align 2 %14 = alloca i16, align 2 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %11, align 4 %15 = load i32, ptr %8, align 4 %16 = sub nsw i32 %15, 1 store i32 %16, ptr %8, align 4 br label %17 17: ; preds = %120, %4 %18 = load i32, ptr %9, align 4 %19 = load i32, ptr %7, align 4 %20 = icmp ult i32 %18, %19 br i1 %20, label %21, label %121 21: ; preds = %17 store i16 0, ptr %14, align 2 store i32 0, ptr %10, align 4 br label %22 22: ; preds = %47, %21 %23 = load i32, ptr %10, align 4 %24 = icmp ult i32 %23, 3 br i1 %24, label %25, label %50 25: ; preds = %22 %26 = load i32, ptr %9, align 4 %27 = load i32, ptr %7, align 4 %28 = icmp ult i32 %26, %27 br i1 %28, label %29, label %36 29: ; preds = %25 %30 = load ptr, ptr %5, align 8 %31 = load i8, ptr %30, align 1 %32 = zext i8 %31 to i16 %33 = load i32, ptr %10, align 4 %34 = zext i32 %33 to i64 %35 = getelementptr inbounds [3 x i16], ptr %12, i64 0, i64 %34 store i16 %32, ptr %35, align 2 br label %42 36: ; preds = %25 %37 = load i32, ptr %10, align 4 %38 = zext i32 %37 to i64 %39 = getelementptr inbounds [3 x i16], ptr %12, i64 0, i64 %38 store i16 0, ptr %39, align 2 %40 = load i16, ptr %14, align 2 %41 = add i16 %40, 1 store i16 %41, ptr %14, align 2 br label %42 42: ; preds = %36, %29 %43 = load ptr, ptr %5, align 8 %44 = getelementptr inbounds i8, ptr %43, i32 1 store ptr %44, ptr %5, align 8 %45 = load i32, ptr %9, align 4 %46 = add i32 %45, 1 store i32 %46, ptr %9, align 4 br label %47 47: ; preds = %42 %48 = load i32, ptr %10, align 4 %49 = add i32 %48, 1 store i32 %49, ptr %10, align 4 br label %22, !llvm.loop !6 50: ; preds = %22 %51 = getelementptr inbounds [3 x i16], ptr %12, i64 0, i64 0 %52 = load i16, ptr %51, align 2 %53 = zext i16 %52 to i32 %54 = ashr i32 %53, 2 %55 = trunc i32 %54 to i16 %56 = getelementptr inbounds [4 x i16], ptr %13, i64 0, i64 0 store i16 %55, ptr %56, align 2 %57 = getelementptr inbounds [3 x i16], ptr %12, i64 0, i64 1 %58 = load i16, ptr %57, align 2 %59 = zext i16 %58 to i32 %60 = ashr i32 %59, 4 %61 = getelementptr inbounds [3 x i16], ptr %12, i64 0, i64 0 %62 = load i16, ptr %61, align 2 %63 = zext i16 %62 to i32 %64 = shl i32 %63, 4 %65 = and i32 %64, 63 %66 = or i32 %60, %65 %67 = trunc i32 %66 to i16 %68 = getelementptr inbounds [4 x i16], ptr %13, i64 0, i64 1 store i16 %67, ptr %68, align 2 %69 = getelementptr inbounds [3 x i16], ptr %12, i64 0, i64 1 %70 = load i16, ptr %69, align 2 %71 = zext i16 %70 to i32 %72 = shl i32 %71, 2 %73 = and i32 %72, 60 %74 = getelementptr inbounds [3 x i16], ptr %12, i64 0, i64 2 %75 = load i16, ptr %74, align 2 %76 = zext i16 %75 to i32 %77 = ashr i32 %76, 6 %78 = or i32 %73, %77 %79 = trunc i32 %78 to i16 %80 = getelementptr inbounds [4 x i16], ptr %13, i64 0, i64 2 store i16 %79, ptr %80, align 2 %81 = getelementptr inbounds [3 x i16], ptr %12, i64 0, i64 2 %82 = load i16, ptr %81, align 2 %83 = zext i16 %82 to i32 %84 = and i32 %83, 63 %85 = trunc i32 %84 to i16 %86 = getelementptr inbounds [4 x i16], ptr %13, i64 0, i64 3 store i16 %85, ptr %86, align 2 store i32 0, ptr %10, align 4 br label %87 87: ; preds = %117, %50 %88 = load i32, ptr %10, align 4 %89 = icmp ult i32 %88, 4 br i1 %89, label %90, label %120 90: ; preds = %87 %91 = load i32, ptr %11, align 4 %92 = load i32, ptr %8, align 4 %93 = icmp ult i32 %91, %92 br i1 %93, label %94, label %116 94: ; preds = %90 %95 = load i32, ptr %10, align 4 %96 = load i16, ptr %14, align 2 %97 = zext i16 %96 to i32 %98 = sub nsw i32 4, %97 %99 = icmp ult i32 %95, %98 br i1 %99, label %100, label %106 100: ; preds = %94 %101 = load i32, ptr %10, align 4 %102 = zext i32 %101 to i64 %103 = getelementptr inbounds [4 x i16], ptr %13, i64 0, i64 %102 %104 = load i16, ptr %103, align 2 %105 = zext i16 %104 to i32 br label %107 106: ; preds = %94 br label %107 107: ; preds = %106, %100 %108 = phi i32 [ %105, %100 ], [ 64, %106 ] %109 = trunc i32 %108 to i16 %110 = call zeroext i8 @Translate64(i16 noundef zeroext %109) %111 = load ptr, ptr %6, align 8 %112 = load i32, ptr %11, align 4 %113 = add i32 %112, 1 store i32 %113, ptr %11, align 4 %114 = zext i32 %112 to i64 %115 = getelementptr inbounds i8, ptr %111, i64 %114 store i8 %110, ptr %115, align 1 br label %116 116: ; preds = %107, %90 br label %117 117: ; preds = %116 %118 = load i32, ptr %10, align 4 %119 = add i32 %118, 1 store i32 %119, ptr %10, align 4 br label %87, !llvm.loop !8 120: ; preds = %87 br label %17, !llvm.loop !9 121: ; preds = %17 %122 = load ptr, ptr %6, align 8 %123 = load i32, ptr %11, align 4 %124 = zext i32 %123 to i64 %125 = getelementptr inbounds i8, ptr %122, i64 %124 store i8 0, ptr %125, align 1 %126 = load i32, ptr %11, align 4 ret i32 %126 } declare zeroext i8 @Translate64(i16 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp78dhc5hh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @base64encode(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca [3 x i16], align 2 %13 = alloca [4 x i16], align 2 %14 = alloca i16, align 2 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %11, align 4 %15 = load i32, ptr %8, align 4 %16 = sub nsw i32 %15, 1 store i32 %16, ptr %8, align 4 %17 = load i32, ptr %9, align 4 %18 = load i32, ptr %7, align 4 %19 = icmp ult i32 %17, %18 br i1 %19, label %.lr.ph5, label %125 .lr.ph5: ; preds = %4 br label %20 20: ; preds = %.lr.ph5, %121 store i16 0, ptr %14, align 2 store i32 0, ptr %10, align 4 %21 = load i32, ptr %10, align 4 %22 = icmp ult i32 %21, 3 br i1 %22, label %.lr.ph, label %50 .lr.ph: ; preds = %20 br label %23 23: ; preds = %.lr.ph, %45 %24 = load i32, ptr %9, align 4 %25 = load i32, ptr %7, align 4 %26 = icmp ult i32 %24, %25 br i1 %26, label %27, label %34 27: ; preds = %23 %28 = load ptr, ptr %5, align 8 %29 = load i8, ptr %28, align 1 %30 = zext i8 %29 to i16 %31 = load i32, ptr %10, align 4 %32 = zext i32 %31 to i64 %33 = getelementptr inbounds [3 x i16], ptr %12, i64 0, i64 %32 store i16 %30, ptr %33, align 2 br label %40 34: ; preds = %23 %35 = load i32, ptr %10, align 4 %36 = zext i32 %35 to i64 %37 = getelementptr inbounds [3 x i16], ptr %12, i64 0, i64 %36 store i16 0, ptr %37, align 2 %38 = load i16, ptr %14, align 2 %39 = add i16 %38, 1 store i16 %39, ptr %14, align 2 br label %40 40: ; preds = %34, %27 %41 = load ptr, ptr %5, align 8 %42 = getelementptr inbounds i8, ptr %41, i32 1 store ptr %42, ptr %5, align 8 %43 = load i32, ptr %9, align 4 %44 = add i32 %43, 1 store i32 %44, ptr %9, align 4 br label %45 45: ; preds = %40 %46 = load i32, ptr %10, align 4 %47 = add i32 %46, 1 store i32 %47, ptr %10, align 4 %48 = load i32, ptr %10, align 4 %49 = icmp ult i32 %48, 3 br i1 %49, label %23, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %45 br label %50 50: ; preds = %._crit_edge, %20 %51 = getelementptr inbounds [3 x i16], ptr %12, i64 0, i64 0 %52 = load i16, ptr %51, align 2 %53 = zext i16 %52 to i32 %54 = ashr i32 %53, 2 %55 = trunc i32 %54 to i16 %56 = getelementptr inbounds [4 x i16], ptr %13, i64 0, i64 0 store i16 %55, ptr %56, align 2 %57 = getelementptr inbounds [3 x i16], ptr %12, i64 0, i64 1 %58 = load i16, ptr %57, align 2 %59 = zext i16 %58 to i32 %60 = ashr i32 %59, 4 %61 = getelementptr inbounds [3 x i16], ptr %12, i64 0, i64 0 %62 = load i16, ptr %61, align 2 %63 = zext i16 %62 to i32 %64 = shl i32 %63, 4 %65 = and i32 %64, 63 %66 = or i32 %60, %65 %67 = trunc i32 %66 to i16 %68 = getelementptr inbounds [4 x i16], ptr %13, i64 0, i64 1 store i16 %67, ptr %68, align 2 %69 = getelementptr inbounds [3 x i16], ptr %12, i64 0, i64 1 %70 = load i16, ptr %69, align 2 %71 = zext i16 %70 to i32 %72 = shl i32 %71, 2 %73 = and i32 %72, 60 %74 = getelementptr inbounds [3 x i16], ptr %12, i64 0, i64 2 %75 = load i16, ptr %74, align 2 %76 = zext i16 %75 to i32 %77 = ashr i32 %76, 6 %78 = or i32 %73, %77 %79 = trunc i32 %78 to i16 %80 = getelementptr inbounds [4 x i16], ptr %13, i64 0, i64 2 store i16 %79, ptr %80, align 2 %81 = getelementptr inbounds [3 x i16], ptr %12, i64 0, i64 2 %82 = load i16, ptr %81, align 2 %83 = zext i16 %82 to i32 %84 = and i32 %83, 63 %85 = trunc i32 %84 to i16 %86 = getelementptr inbounds [4 x i16], ptr %13, i64 0, i64 3 store i16 %85, ptr %86, align 2 store i32 0, ptr %10, align 4 %87 = load i32, ptr %10, align 4 %88 = icmp ult i32 %87, 4 br i1 %88, label %.lr.ph2, label %121 .lr.ph2: ; preds = %50 br label %89 89: ; preds = %.lr.ph2, %116 %90 = load i32, ptr %11, align 4 %91 = load i32, ptr %8, align 4 %92 = icmp ult i32 %90, %91 br i1 %92, label %93, label %115 93: ; preds = %89 %94 = load i32, ptr %10, align 4 %95 = load i16, ptr %14, align 2 %96 = zext i16 %95 to i32 %97 = sub nsw i32 4, %96 %98 = icmp ult i32 %94, %97 br i1 %98, label %99, label %105 99: ; preds = %93 %100 = load i32, ptr %10, align 4 %101 = zext i32 %100 to i64 %102 = getelementptr inbounds [4 x i16], ptr %13, i64 0, i64 %101 %103 = load i16, ptr %102, align 2 %104 = zext i16 %103 to i32 br label %106 105: ; preds = %93 br label %106 106: ; preds = %105, %99 %107 = phi i32 [ %104, %99 ], [ 64, %105 ] %108 = trunc i32 %107 to i16 %109 = call zeroext i8 @Translate64(i16 noundef zeroext %108) %110 = load ptr, ptr %6, align 8 %111 = load i32, ptr %11, align 4 %112 = add i32 %111, 1 store i32 %112, ptr %11, align 4 %113 = zext i32 %111 to i64 %114 = getelementptr inbounds i8, ptr %110, i64 %113 store i8 %109, ptr %114, align 1 br label %115 115: ; preds = %106, %89 br label %116 116: ; preds = %115 %117 = load i32, ptr %10, align 4 %118 = add i32 %117, 1 store i32 %118, ptr %10, align 4 %119 = load i32, ptr %10, align 4 %120 = icmp ult i32 %119, 4 br i1 %120, label %89, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %116 br label %121 121: ; preds = %._crit_edge3, %50 %122 = load i32, ptr %9, align 4 %123 = load i32, ptr %7, align 4 %124 = icmp ult i32 %122, %123 br i1 %124, label %20, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %121 br label %125 125: ; preds = %._crit_edge6, %4 %126 = load ptr, ptr %6, align 8 %127 = load i32, ptr %11, align 4 %128 = zext i32 %127 to i64 %129 = getelementptr inbounds i8, ptr %126, i64 %128 store i8 0, ptr %129, align 1 %130 = load i32, ptr %11, align 4 ret i32 %130 } declare zeroext i8 @Translate64(i16 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpulie1xni.c' source_filename = "/tmp/tmpulie1xni.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"Error:\09%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [45 x i8] c"Null Pointer Exception - print_string_safely\00", align 1 @.str.2 = private unnamed_addr constant [48 x i8] c"Negative Length Exception - print_string_safely\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_string_safely(i8 noundef signext %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i8 noundef signext %4) #0 { %6 = alloca i8, align 1 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i8, align 1 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i8, align 1 %15 = alloca ptr, align 8 store i8 %0, ptr %6, align 1 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 store i8 %4, ptr %10, align 1 store i32 0, ptr %11, align 4 store i32 0, ptr %12, align 4 store i32 0, ptr %13, align 4 store i8 0, ptr %14, align 1 %16 = load ptr, ptr %8, align 8 %17 = icmp eq ptr %16, null br i1 %17, label %18, label %21 18: ; preds = %5 %19 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1) %20 = call i32 @exit(i32 noundef -1) #3 unreachable 21: ; preds = %5 %22 = load i32, ptr %9, align 4 %23 = icmp slt i32 %22, 0 br i1 %23, label %24, label %27 24: ; preds = %21 %25 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.2) %26 = call i32 @exit(i32 noundef -1) #3 unreachable 27: ; preds = %21 %28 = load ptr, ptr %7, align 8 %29 = icmp eq ptr %28, null br i1 %29, label %30, label %37 30: ; preds = %27 %31 = load i32, ptr %9, align 4 %32 = add nsw i32 %31, 2 %33 = sext i32 %32 to i64 %34 = mul i64 1, %33 %35 = trunc i64 %34 to i32 %36 = call ptr @malloc(i32 noundef %35) store ptr %36, ptr %7, align 8 store i32 1, ptr %11, align 4 br label %37 37: ; preds = %30, %27 %38 = load i8, ptr %6, align 1 %39 = load ptr, ptr %7, align 8 %40 = load ptr, ptr %8, align 8 %41 = load i32, ptr %9, align 4 %42 = call ptr @copy_prefix_safely(i8 noundef signext %38, ptr noundef %39, ptr noundef %40, i32 noundef %41) store ptr %42, ptr %15, align 8 %43 = load ptr, ptr %15, align 8 %44 = load ptr, ptr %8, align 8 %45 = ptrtoint ptr %43 to i64 %46 = ptrtoint ptr %44 to i64 %47 = sub i64 %45, %46 %48 = trunc i64 %47 to i32 store i32 %48, ptr %12, align 4 %49 = load ptr, ptr %7, align 8 %50 = load i32, ptr %12, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i8, ptr %49, i64 %51 store i8 0, ptr %52, align 1 %53 = load i8, ptr %6, align 1 %54 = load ptr, ptr %7, align 8 %55 = load i32, ptr %9, align 4 %56 = load i8, ptr %10, align 1 %57 = call i32 @print_string(i8 noundef signext %53, ptr noundef %54, i32 noundef %55, i8 noundef signext %56) %58 = load i32, ptr %11, align 4 %59 = icmp ne i32 %58, 0 br i1 %59, label %60, label %63 60: ; preds = %37 %61 = load ptr, ptr %7, align 8 %62 = call i32 @free(ptr noundef %61) br label %63 63: ; preds = %60, %37 ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @malloc(i32 noundef) #1 declare ptr @copy_prefix_safely(i8 noundef signext, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @print_string(i8 noundef signext, ptr noundef, i32 noundef, i8 noundef signext) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpulie1xni.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"Error:\09%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [45 x i8] c"Null Pointer Exception - print_string_safely\00", align 1 @.str.2 = private unnamed_addr constant [48 x i8] c"Negative Length Exception - print_string_safely\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_string_safely(i8 noundef signext %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i8 noundef signext %4) #0 { %6 = alloca i8, align 1 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i8, align 1 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i8, align 1 %15 = alloca ptr, align 8 store i8 %0, ptr %6, align 1 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 store i8 %4, ptr %10, align 1 store i32 0, ptr %11, align 4 store i32 0, ptr %12, align 4 store i32 0, ptr %13, align 4 store i8 0, ptr %14, align 1 %16 = load ptr, ptr %8, align 8 %17 = icmp eq ptr %16, null br i1 %17, label %18, label %21 18: ; preds = %5 %19 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1) %20 = call i32 @exit(i32 noundef -1) #3 unreachable 21: ; preds = %5 %22 = load i32, ptr %9, align 4 %23 = icmp slt i32 %22, 0 br i1 %23, label %24, label %27 24: ; preds = %21 %25 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.2) %26 = call i32 @exit(i32 noundef -1) #3 unreachable 27: ; preds = %21 %28 = load ptr, ptr %7, align 8 %29 = icmp eq ptr %28, null br i1 %29, label %30, label %37 30: ; preds = %27 %31 = load i32, ptr %9, align 4 %32 = add nsw i32 %31, 2 %33 = sext i32 %32 to i64 %34 = mul i64 1, %33 %35 = trunc i64 %34 to i32 %36 = call ptr @malloc(i32 noundef %35) store ptr %36, ptr %7, align 8 store i32 1, ptr %11, align 4 br label %37 37: ; preds = %30, %27 %38 = load i8, ptr %6, align 1 %39 = load ptr, ptr %7, align 8 %40 = load ptr, ptr %8, align 8 %41 = load i32, ptr %9, align 4 %42 = call ptr @copy_prefix_safely(i8 noundef signext %38, ptr noundef %39, ptr noundef %40, i32 noundef %41) store ptr %42, ptr %15, align 8 %43 = load ptr, ptr %15, align 8 %44 = load ptr, ptr %8, align 8 %45 = ptrtoint ptr %43 to i64 %46 = ptrtoint ptr %44 to i64 %47 = sub i64 %45, %46 %48 = trunc i64 %47 to i32 store i32 %48, ptr %12, align 4 %49 = load ptr, ptr %7, align 8 %50 = load i32, ptr %12, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i8, ptr %49, i64 %51 store i8 0, ptr %52, align 1 %53 = load i8, ptr %6, align 1 %54 = load ptr, ptr %7, align 8 %55 = load i32, ptr %9, align 4 %56 = load i8, ptr %10, align 1 %57 = call i32 @print_string(i8 noundef signext %53, ptr noundef %54, i32 noundef %55, i8 noundef signext %56) %58 = load i32, ptr %11, align 4 %59 = icmp ne i32 %58, 0 br i1 %59, label %60, label %63 60: ; preds = %37 %61 = load ptr, ptr %7, align 8 %62 = call i32 @free(ptr noundef %61) br label %63 63: ; preds = %60, %37 ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @malloc(i32 noundef) #1 declare ptr @copy_prefix_safely(i8 noundef signext, ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @print_string(i8 noundef signext, ptr noundef, i32 noundef, i8 noundef signext) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9r0e_dkp.c' source_filename = "/tmp/tmp9r0e_dkp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__NR_epoll_create = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @epoll_create(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr @__NR_epoll_create, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @syscall(i32 noundef %3, i32 noundef %4) ret i32 %5 } declare i32 @syscall(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/tmp9r0e_dkp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__NR_epoll_create = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @epoll_create(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr @__NR_epoll_create, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @syscall(i32 noundef %3, i32 noundef %4) ret i32 %5 } declare i32 @syscall(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/tmprxuvfc0q.c' source_filename = "/tmp/tmprxuvfc0q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rtrie__iter(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 @goto_node_zero(ptr noundef %3) ret i32 %4 } declare i32 @goto_node_zero(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprxuvfc0q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rtrie__iter(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 @goto_node_zero(ptr noundef %3) ret i32 %4 } declare i32 @goto_node_zero(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0ave7gth.c' source_filename = "/tmp/tmp0ave7gth.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"%d %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.2 = 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 ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 store i32 0, ptr %1, align 4 %9 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %3, ptr noundef %2) %10 = load i32, ptr %2, align 4 %11 = add nsw i32 %10, 1 %12 = zext i32 %11 to i64 %13 = call ptr @llvm.stacksave() store ptr %13, ptr %6, align 8 %14 = alloca i32, i64 %12, align 16 store i64 %12, ptr %7, align 8 %15 = load i32, ptr %3, align 4 %16 = zext i32 %15 to i64 %17 = alloca i32, i64 %16, align 16 store i64 %16, ptr %8, align 8 store i32 0, ptr %4, align 4 br label %18 18: ; preds = %34, %0 %19 = load i32, ptr %4, align 4 %20 = load i32, ptr %3, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %22, label %37 22: ; preds = %18 %23 = load i32, ptr %4, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i32, ptr %17, i64 %24 %26 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %25) %27 = load i32, ptr %4, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i32, ptr %17, i64 %28 %30 = load i32, ptr %29, align 4 %31 = load i32, ptr %4, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i32, ptr %14, i64 %32 store i32 %30, ptr %33, align 4 br label %34 34: ; preds = %22 %35 = load i32, ptr %4, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %4, align 4 br label %18, !llvm.loop !6 37: ; preds = %18 %38 = load i32, ptr %3, align 4 store i32 %38, ptr %5, align 4 br label %39 39: ; preds = %54, %37 %40 = load i32, ptr %5, align 4 %41 = load i32, ptr %2, align 4 %42 = add nsw i32 %41, 1 %43 = icmp slt i32 %40, %42 br i1 %43, label %44, label %57 44: ; preds = %39 %45 = load i32, ptr %5, align 4 %46 = load i32, ptr %3, align 4 %47 = sub nsw i32 %45, %46 %48 = load i32, ptr %5, align 4 %49 = sub nsw i32 %48, 1 %50 = call i32 @sumpre(ptr noundef %14, i32 noundef %47, i32 noundef %49) %51 = load i32, ptr %5, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i32, ptr %14, i64 %52 store i32 %50, ptr %53, align 4 br label %54 54: ; preds = %44 %55 = load i32, ptr %5, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %5, align 4 br label %39, !llvm.loop !8 57: ; preds = %39 %58 = load i32, ptr %2, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds i32, ptr %14, i64 %59 %61 = load i32, ptr %60, align 4 %62 = call i32 @printf(ptr noundef @.str.2, i32 noundef %61) store i32 0, ptr %1, align 4 %63 = load ptr, ptr %6, align 8 call void @llvm.stackrestore(ptr %63) %64 = load i32, ptr %1, align 4 ret i32 %64 } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @sumpre(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #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 willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0ave7gth.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"%d %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.2 = 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 ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 store i32 0, ptr %1, align 4 %9 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %3, ptr noundef %2) %10 = load i32, ptr %2, align 4 %11 = add nsw i32 %10, 1 %12 = zext i32 %11 to i64 %13 = call ptr @llvm.stacksave() store ptr %13, ptr %6, align 8 %14 = alloca i32, i64 %12, align 16 store i64 %12, ptr %7, align 8 %15 = load i32, ptr %3, align 4 %16 = zext i32 %15 to i64 %17 = alloca i32, i64 %16, align 16 store i64 %16, ptr %8, align 8 store i32 0, ptr %4, align 4 %18 = load i32, ptr %4, align 4 %19 = load i32, ptr %3, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %.lr.ph, label %39 .lr.ph: ; preds = %0 br label %21 21: ; preds = %.lr.ph, %33 %22 = load i32, ptr %4, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i32, ptr %17, i64 %23 %25 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %24) %26 = load i32, ptr %4, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i32, ptr %17, i64 %27 %29 = load i32, ptr %28, align 4 %30 = load i32, ptr %4, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i32, ptr %14, i64 %31 store i32 %29, ptr %32, align 4 br label %33 33: ; preds = %21 %34 = load i32, ptr %4, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %4, align 4 %36 = load i32, ptr %4, align 4 %37 = load i32, ptr %3, align 4 %38 = icmp slt i32 %36, %37 br i1 %38, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %33 br label %39 39: ; preds = %._crit_edge, %0 %40 = load i32, ptr %3, align 4 store i32 %40, ptr %5, align 4 %41 = load i32, ptr %5, align 4 %42 = load i32, ptr %2, align 4 %43 = add nsw i32 %42, 1 %44 = icmp slt i32 %41, %43 br i1 %44, label %.lr.ph2, label %62 .lr.ph2: ; preds = %39 br label %45 45: ; preds = %.lr.ph2, %55 %46 = load i32, ptr %5, align 4 %47 = load i32, ptr %3, align 4 %48 = sub nsw i32 %46, %47 %49 = load i32, ptr %5, align 4 %50 = sub nsw i32 %49, 1 %51 = call i32 @sumpre(ptr noundef %14, i32 noundef %48, i32 noundef %50) %52 = load i32, ptr %5, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i32, ptr %14, i64 %53 store i32 %51, ptr %54, align 4 br label %55 55: ; preds = %45 %56 = load i32, ptr %5, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %5, align 4 %58 = load i32, ptr %5, align 4 %59 = load i32, ptr %2, align 4 %60 = add nsw i32 %59, 1 %61 = icmp slt i32 %58, %60 br i1 %61, label %45, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %55 br label %62 62: ; preds = %._crit_edge3, %39 %63 = load i32, ptr %2, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds i32, ptr %14, i64 %64 %66 = load i32, ptr %65, align 4 %67 = call i32 @printf(ptr noundef @.str.2, i32 noundef %66) store i32 0, ptr %1, align 4 %68 = load ptr, ptr %6, align 8 call void @llvm.stackrestore(ptr %68) %69 = load i32, ptr %1, align 4 ret i32 %69 } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @sumpre(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #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 willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpegx3458l.c' source_filename = "/tmp/tmpegx3458l.c" target datalayout = "e-m:e-p270: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/tmpegx3458l.c" target datalayout = "e-m:e-p270: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/tmpdxb1ujkc.c' source_filename = "/tmp/tmpdxb1ujkc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 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 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 store i32 0, ptr %1, align 4 %10 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %11 = load i32, ptr %2, align 4 %12 = zext i32 %11 to i64 %13 = call ptr @llvm.stacksave() store ptr %13, ptr %7, align 8 %14 = alloca i32, i64 %12, align 16 store i64 %12, ptr %8, align 8 %15 = load i32, ptr %2, align 4 %16 = zext i32 %15 to i64 %17 = alloca i32, i64 %16, align 16 store i64 %16, ptr %9, align 8 store i32 0, ptr %5, align 4 br label %18 18: ; preds = %30, %0 %19 = load i32, ptr %5, align 4 %20 = load i32, ptr %2, align 4 %21 = icmp ne i32 %19, %20 br i1 %21, label %22, label %33 22: ; preds = %18 %23 = load i32, ptr %5, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i32, ptr %14, i64 %24 %26 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %25) %27 = load i32, ptr %5, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i32, ptr %17, i64 %28 store i32 1, ptr %29, align 4 br label %30 30: ; preds = %22 %31 = load i32, ptr %5, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %5, align 4 br label %18, !llvm.loop !6 33: ; preds = %18 store i32 1, ptr %6, align 4 store i32 1, ptr %3, align 4 br label %34 34: ; preds = %79, %33 %35 = load i32, ptr %3, align 4 %36 = load i32, ptr %2, align 4 %37 = icmp ne i32 %35, %36 br i1 %37, label %38, label %82 38: ; preds = %34 store i32 0, ptr %4, align 4 br label %39 39: ; preds = %75, %38 %40 = load i32, ptr %4, align 4 %41 = load i32, ptr %3, align 4 %42 = icmp ne i32 %40, %41 br i1 %42, label %43, label %78 43: ; preds = %39 %44 = load i32, ptr %3, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i32, ptr %14, i64 %45 %47 = load i32, ptr %46, align 4 %48 = load i32, ptr %4, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i32, ptr %14, i64 %49 %51 = load i32, ptr %50, align 4 %52 = icmp sgt i32 %47, %51 br i1 %52, label %53, label %62 53: ; preds = %43 %54 = load i32, ptr %4, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i32, ptr %17, i64 %55 %57 = load i32, ptr %56, align 4 %58 = add nsw i32 1, %57 %59 = load i32, ptr %3, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i32, ptr %17, i64 %60 store i32 %58, ptr %61, align 4 br label %62 62: ; preds = %53, %43 %63 = load i32, ptr %3, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds i32, ptr %17, i64 %64 %66 = load i32, ptr %65, align 4 %67 = load i32, ptr %6, align 4 %68 = icmp sgt i32 %66, %67 br i1 %68, label %69, label %74 69: ; preds = %62 %70 = load i32, ptr %3, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds i32, ptr %17, i64 %71 %73 = load i32, ptr %72, align 4 store i32 %73, ptr %6, align 4 br label %74 74: ; preds = %69, %62 br label %75 75: ; preds = %74 %76 = load i32, ptr %4, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %4, align 4 br label %39, !llvm.loop !8 78: ; preds = %39 br label %79 79: ; preds = %78 %80 = load i32, ptr %3, align 4 %81 = add nsw i32 %80, 1 store i32 %81, ptr %3, align 4 br label %34, !llvm.loop !9 82: ; preds = %34 %83 = load i32, ptr %6, align 4 %84 = call i32 @printf(ptr noundef @.str, i32 noundef %83) store i32 0, ptr %1, align 4 %85 = load ptr, ptr %7, align 8 call void @llvm.stackrestore(ptr %85) %86 = load i32, ptr %1, align 4 ret i32 %86 } declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @printf(ptr noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #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 willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdxb1ujkc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 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 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 store i32 0, ptr %1, align 4 %10 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %11 = load i32, ptr %2, align 4 %12 = zext i32 %11 to i64 %13 = call ptr @llvm.stacksave() store ptr %13, ptr %7, align 8 %14 = alloca i32, i64 %12, align 16 store i64 %12, ptr %8, align 8 %15 = load i32, ptr %2, align 4 %16 = zext i32 %15 to i64 %17 = alloca i32, i64 %16, align 16 store i64 %16, ptr %9, align 8 store i32 0, ptr %5, align 4 %18 = load i32, ptr %5, align 4 %19 = load i32, ptr %2, align 4 %20 = icmp ne i32 %18, %19 br i1 %20, label %.lr.ph, label %35 .lr.ph: ; preds = %0 br label %21 21: ; preds = %.lr.ph, %29 %22 = load i32, ptr %5, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i32, ptr %14, i64 %23 %25 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %24) %26 = load i32, ptr %5, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i32, ptr %17, i64 %27 store i32 1, ptr %28, align 4 br label %29 29: ; preds = %21 %30 = load i32, ptr %5, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %5, align 4 %32 = load i32, ptr %5, align 4 %33 = load i32, ptr %2, align 4 %34 = icmp ne i32 %32, %33 br i1 %34, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %35 35: ; preds = %._crit_edge, %0 store i32 1, ptr %6, align 4 store i32 1, ptr %3, align 4 %36 = load i32, ptr %3, align 4 %37 = load i32, ptr %2, align 4 %38 = icmp ne i32 %36, %37 br i1 %38, label %.lr.ph5, label %88 .lr.ph5: ; preds = %35 br label %39 39: ; preds = %.lr.ph5, %82 store i32 0, ptr %4, align 4 %40 = load i32, ptr %4, align 4 %41 = load i32, ptr %3, align 4 %42 = icmp ne i32 %40, %41 br i1 %42, label %.lr.ph2, label %81 .lr.ph2: ; preds = %39 br label %43 43: ; preds = %.lr.ph2, %75 %44 = load i32, ptr %3, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i32, ptr %14, i64 %45 %47 = load i32, ptr %46, align 4 %48 = load i32, ptr %4, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i32, ptr %14, i64 %49 %51 = load i32, ptr %50, align 4 %52 = icmp sgt i32 %47, %51 br i1 %52, label %53, label %62 53: ; preds = %43 %54 = load i32, ptr %4, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i32, ptr %17, i64 %55 %57 = load i32, ptr %56, align 4 %58 = add nsw i32 1, %57 %59 = load i32, ptr %3, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i32, ptr %17, i64 %60 store i32 %58, ptr %61, align 4 br label %62 62: ; preds = %53, %43 %63 = load i32, ptr %3, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds i32, ptr %17, i64 %64 %66 = load i32, ptr %65, align 4 %67 = load i32, ptr %6, align 4 %68 = icmp sgt i32 %66, %67 br i1 %68, label %69, label %74 69: ; preds = %62 %70 = load i32, ptr %3, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds i32, ptr %17, i64 %71 %73 = load i32, ptr %72, align 4 store i32 %73, ptr %6, align 4 br label %74 74: ; preds = %69, %62 br label %75 75: ; preds = %74 %76 = load i32, ptr %4, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %4, align 4 %78 = load i32, ptr %4, align 4 %79 = load i32, ptr %3, align 4 %80 = icmp ne i32 %78, %79 br i1 %80, label %43, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %75 br label %81 81: ; preds = %._crit_edge3, %39 br label %82 82: ; preds = %81 %83 = load i32, ptr %3, align 4 %84 = add nsw i32 %83, 1 store i32 %84, ptr %3, align 4 %85 = load i32, ptr %3, align 4 %86 = load i32, ptr %2, align 4 %87 = icmp ne i32 %85, %86 br i1 %87, label %39, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %82 br label %88 88: ; preds = %._crit_edge6, %35 %89 = load i32, ptr %6, align 4 %90 = call i32 @printf(ptr noundef @.str, i32 noundef %89) store i32 0, ptr %1, align 4 %91 = load ptr, ptr %7, align 8 call void @llvm.stackrestore(ptr %91) %92 = load i32, ptr %1, align 4 ret i32 %92 } declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @printf(ptr noundef, i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #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 willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpd1boxjs3.c' source_filename = "/tmp/tmpd1boxjs3.c" target datalayout = "e-m:e-p270: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/tmpd1boxjs3.c" target datalayout = "e-m:e-p270: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/tmptto8wl_t.c' source_filename = "/tmp/tmptto8wl_t.c" target datalayout = "e-m:e-p270: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/tmptto8wl_t.c" target datalayout = "e-m:e-p270: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/tmp2n_262df.c' source_filename = "/tmp/tmp2n_262df.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @dispInt(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %14, %1 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 10 br i1 %6, label %7, label %17 7: ; preds = %4 %8 = load ptr, ptr %2, align 8 %9 = load i32, ptr %3, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds i32, ptr %8, i64 %10 %12 = load i32, ptr %11, align 4 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %12) br label %14 14: ; preds = %7 %15 = load i32, ptr %3, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %3, align 4 br label %4, !llvm.loop !6 17: ; preds = %4 %18 = 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/tmp2n_262df.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @dispInt(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp slt i32 %4, 10 br i1 %5, label %.lr.ph, label %18 .lr.ph: ; preds = %1 br label %6 6: ; preds = %.lr.ph, %13 %7 = load ptr, ptr %2, align 8 %8 = load i32, ptr %3, align 4 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds i32, ptr %7, i64 %9 %11 = load i32, ptr %10, align 4 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %11) br label %13 13: ; preds = %6 %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 = icmp slt i32 %16, 10 br i1 %17, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %18 18: ; preds = %._crit_edge, %1 %19 = 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/tmpxd542z8q.c' source_filename = "/tmp/tmpxd542z8q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mpw_core_compute_hmac(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 br label %9 9: ; preds = %4 br label %10 10: ; preds = %9 br label %11 11: ; preds = %10 br label %12 12: ; preds = %11 %13 = load ptr, ptr %5, align 8 %14 = load ptr, ptr %6, align 8 %15 = load i64, ptr %7, align 8 %16 = load ptr, ptr %8, align 8 %17 = call i32 @libcperciva_HMAC_SHA256_Buf(ptr noundef %13, i32 noundef 64, ptr noundef %14, i64 noundef %15, ptr noundef %16) br label %18 18: ; preds = %12 br label %19 19: ; preds = %18 ret void } declare i32 @libcperciva_HMAC_SHA256_Buf(ptr noundef, i32 noundef, ptr noundef, i64 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/tmpxd542z8q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mpw_core_compute_hmac(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 br label %9 9: ; preds = %4 br label %10 10: ; preds = %9 br label %11 11: ; preds = %10 br label %12 12: ; preds = %11 %13 = load ptr, ptr %5, align 8 %14 = load ptr, ptr %6, align 8 %15 = load i64, ptr %7, align 8 %16 = load ptr, ptr %8, align 8 %17 = call i32 @libcperciva_HMAC_SHA256_Buf(ptr noundef %13, i32 noundef 64, ptr noundef %14, i64 noundef %15, ptr noundef %16) br label %18 18: ; preds = %12 br label %19 19: ; preds = %18 ret void } declare i32 @libcperciva_HMAC_SHA256_Buf(ptr noundef, i32 noundef, ptr noundef, i64 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/tmpyn7ipv5e.c' source_filename = "/tmp/tmpyn7ipv5e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @LOG_ERR = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [27 x i8] c"NewStr: out of memory (%s)\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @NewStr(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i64 @strlen(ptr noundef %5) %7 = add nsw i64 %6, 1 %8 = trunc i64 %7 to i32 %9 = call i64 @malloc(i32 noundef %8) %10 = inttoptr i64 %9 to ptr store ptr %10, ptr %4, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %16 12: ; preds = %1 %13 = load i32, ptr @LOG_ERR, align 4 %14 = load ptr, ptr %3, align 8 %15 = call i32 @syslog(i32 noundef %13, ptr noundef @.str, ptr noundef %14) store ptr null, ptr %2, align 8 br label %21 16: ; preds = %1 %17 = load ptr, ptr %4, align 8 %18 = load ptr, ptr %3, align 8 %19 = call i32 @strcpy(ptr noundef %17, ptr noundef %18) %20 = load ptr, ptr %4, align 8 store ptr %20, ptr %2, align 8 br label %21 21: ; preds = %16, %12 %22 = load ptr, ptr %2, align 8 ret ptr %22 } declare i64 @malloc(i32 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @syslog(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyn7ipv5e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @LOG_ERR = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [27 x i8] c"NewStr: out of memory (%s)\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @NewStr(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i64 @strlen(ptr noundef %5) %7 = add nsw i64 %6, 1 %8 = trunc i64 %7 to i32 %9 = call i64 @malloc(i32 noundef %8) %10 = inttoptr i64 %9 to ptr store ptr %10, ptr %4, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %16 12: ; preds = %1 %13 = load i32, ptr @LOG_ERR, align 4 %14 = load ptr, ptr %3, align 8 %15 = call i32 @syslog(i32 noundef %13, ptr noundef @.str, ptr noundef %14) store ptr null, ptr %2, align 8 br label %21 16: ; preds = %1 %17 = load ptr, ptr %4, align 8 %18 = load ptr, ptr %3, align 8 %19 = call i32 @strcpy(ptr noundef %17, ptr noundef %18) %20 = load ptr, ptr %4, align 8 store ptr %20, ptr %2, align 8 br label %21 21: ; preds = %16, %12 %22 = load ptr, ptr %2, align 8 ret ptr %22 } declare i64 @malloc(i32 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @syslog(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpx7pn0_8n.c' source_filename = "/tmp/tmpx7pn0_8n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rq_pricing_result_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @rq_pricing_result_free_data(ptr noundef %3) %5 = load ptr, ptr %2, align 8 %6 = call i32 @free(ptr noundef %5) ret void } declare i32 @rq_pricing_result_free_data(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpx7pn0_8n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rq_pricing_result_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @rq_pricing_result_free_data(ptr noundef %3) %5 = load ptr, ptr %2, align 8 %6 = call i32 @free(ptr noundef %5) ret void } declare i32 @rq_pricing_result_free_data(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptpzaevn9.c' source_filename = "/tmp/tmptpzaevn9.c" target datalayout = "e-m:e-p270: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/tmptpzaevn9.c" target datalayout = "e-m:e-p270: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/tmpvj1q6rm_.c' source_filename = "/tmp/tmpvj1q6rm_.c" target datalayout = "e-m:e-p270: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/tmpvj1q6rm_.c" target datalayout = "e-m:e-p270: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/tmpy7nivm4l.c' source_filename = "/tmp/tmpy7nivm4l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i64 } @.str = private unnamed_addr constant [146 x i8] c"/storage3/1000genomes/ftp.1000genomes.ebi.ac.uk/vol1/ftp/release/20130502/ALL.chr22.phase3_shapeit2_mvncall_integrated_v5a.20130502.genotypes.vcf\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @PROT_READ = dso_local global i32 0, align 4 @MAP_PRIVATE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca %struct.stat, align 8 %4 = alloca i64, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store ptr @.str, ptr %2, align 8 store i64 0, ptr %4, align 8 %9 = load ptr, ptr %2, align 8 %10 = load i32, ptr @O_RDONLY, align 4 %11 = call i32 @open(ptr noundef %9, i32 noundef %10) store i32 %11, ptr %5, align 4 %12 = load i32, ptr %5, align 4 %13 = call i32 @fstat(i32 noundef %12, ptr noundef %3) %14 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0 %15 = load i64, ptr %14, align 8 %16 = load i32, ptr @PROT_READ, align 4 %17 = load i32, ptr @MAP_PRIVATE, align 4 %18 = load i32, ptr %5, align 4 %19 = call ptr @mmap(i32 noundef 0, i64 noundef %15, i32 noundef %16, i32 noundef %17, i32 noundef %18, i32 noundef 0) store ptr %19, ptr %7, align 8 %20 = load ptr, ptr %7, align 8 store ptr %20, ptr %8, align 8 br label %21 21: ; preds = %47, %0 %22 = load i64, ptr %4, align 8 %23 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0 %24 = load i64, ptr %23, align 8 %25 = icmp slt i64 %22, %24 br i1 %25, label %26, label %48 26: ; preds = %21 store i32 0, ptr %6, align 4 %27 = load ptr, ptr %7, align 8 store ptr %27, ptr %8, align 8 br label %28 28: ; preds = %40, %26 %29 = load ptr, ptr %7, align 8 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = icmp ne i32 %31, 10 br i1 %32, label %33, label %38 33: ; preds = %28 %34 = load i64, ptr %4, align 8 %35 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0 %36 = load i64, ptr %35, align 8 %37 = icmp slt i64 %34, %36 br label %38 38: ; preds = %33, %28 %39 = phi i1 [ false, %28 ], [ %37, %33 ] br i1 %39, label %40, label %47 40: ; preds = %38 %41 = load ptr, ptr %7, align 8 %42 = getelementptr inbounds i8, ptr %41, i32 1 store ptr %42, ptr %7, align 8 %43 = load i64, ptr %4, align 8 %44 = add nsw i64 %43, 1 store i64 %44, ptr %4, align 8 %45 = load i32, ptr %6, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %6, align 4 br label %28, !llvm.loop !6 47: ; preds = %38 br label %21, !llvm.loop !8 48: ; preds = %21 ret i32 0 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @fstat(i32 noundef, ptr noundef) #1 declare ptr @mmap(i32 noundef, i64 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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy7nivm4l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i64 } @.str = private unnamed_addr constant [146 x i8] c"/storage3/1000genomes/ftp.1000genomes.ebi.ac.uk/vol1/ftp/release/20130502/ALL.chr22.phase3_shapeit2_mvncall_integrated_v5a.20130502.genotypes.vcf\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @PROT_READ = dso_local global i32 0, align 4 @MAP_PRIVATE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca %struct.stat, align 8 %4 = alloca i64, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store ptr @.str, ptr %2, align 8 store i64 0, ptr %4, align 8 %9 = load ptr, ptr %2, align 8 %10 = load i32, ptr @O_RDONLY, align 4 %11 = call i32 @open(ptr noundef %9, i32 noundef %10) store i32 %11, ptr %5, align 4 %12 = load i32, ptr %5, align 4 %13 = call i32 @fstat(i32 noundef %12, ptr noundef %3) %14 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0 %15 = load i64, ptr %14, align 8 %16 = load i32, ptr @PROT_READ, align 4 %17 = load i32, ptr @MAP_PRIVATE, align 4 %18 = load i32, ptr %5, align 4 %19 = call ptr @mmap(i32 noundef 0, i64 noundef %15, i32 noundef %16, i32 noundef %17, i32 noundef %18, i32 noundef 0) store ptr %19, ptr %7, align 8 %20 = load ptr, ptr %7, align 8 store ptr %20, ptr %8, align 8 %21 = load i64, ptr %4, align 8 %22 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0 %23 = load i64, ptr %22, align 8 %24 = icmp slt i64 %21, %23 br i1 %24, label %.lr.ph, label %50 .lr.ph: ; preds = %0 br label %25 25: ; preds = %.lr.ph, %46 store i32 0, ptr %6, align 4 %26 = load ptr, ptr %7, align 8 store ptr %26, ptr %8, align 8 br label %27 27: ; preds = %39, %25 %28 = load ptr, ptr %7, align 8 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 %31 = icmp ne i32 %30, 10 br i1 %31, label %32, label %37 32: ; preds = %27 %33 = load i64, ptr %4, align 8 %34 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0 %35 = load i64, ptr %34, align 8 %36 = icmp slt i64 %33, %35 br label %37 37: ; preds = %32, %27 %38 = phi i1 [ false, %27 ], [ %36, %32 ] br i1 %38, label %39, label %46 39: ; preds = %37 %40 = load ptr, ptr %7, align 8 %41 = getelementptr inbounds i8, ptr %40, i32 1 store ptr %41, ptr %7, align 8 %42 = load i64, ptr %4, align 8 %43 = add nsw i64 %42, 1 store i64 %43, ptr %4, align 8 %44 = load i32, ptr %6, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %6, align 4 br label %27, !llvm.loop !6 46: ; preds = %37 %47 = load i64, ptr %4, align 8 %48 = load i64, ptr %22, align 8 %49 = icmp slt i64 %47, %48 br i1 %49, label %25, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %46 br label %50 50: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @fstat(i32 noundef, ptr noundef) #1 declare ptr @mmap(i32 noundef, i64 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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpr65y9z5s.c' source_filename = "/tmp/tmpr65y9z5s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @centerX(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 (...) @sizeX() %4 = load ptr, ptr %2, align 8 %5 = call i32 @strlen(ptr noundef %4) %6 = sub nsw i32 %3, %5 %7 = sdiv i32 %6, 2 ret i32 %7 } declare i32 @sizeX(...) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr65y9z5s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @centerX(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 (...) @sizeX() %4 = load ptr, ptr %2, align 8 %5 = call i32 @strlen(ptr noundef %4) %6 = sub nsw i32 %3, %5 %7 = sdiv i32 %6, 2 ret i32 %7 } declare i32 @sizeX(...) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp22qfuujx.c' source_filename = "/tmp/tmp22qfuujx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @BUFSIZ = dso_local global i32 0, align 4 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %14 = load i32, ptr @BUFSIZ, align 4 %15 = zext i32 %14 to i64 %16 = call ptr @llvm.stacksave() store ptr %16, ptr %12, align 8 %17 = alloca i8, i64 %15, align 16 store i64 %15, ptr %13, align 8 %18 = load i32, ptr @stdout, align 4 %19 = call i32 @setbuf(i32 noundef %18, ptr noundef %17) %20 = load i32, ptr %4, align 4 %21 = icmp sge i32 %20, 2 br i1 %21, label %22, label %27 22: ; preds = %2 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 1 %25 = load ptr, ptr %24, align 8 %26 = call i32 @atoi(ptr noundef %25) store i32 %26, ptr %6, align 4 br label %28 27: ; preds = %2 store i32 79, ptr %6, align 4 br label %28 28: ; preds = %27, %22 %29 = load i32, ptr %4, align 4 %30 = icmp sge i32 %29, 3 br i1 %30, label %31, label %36 31: ; preds = %28 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds ptr, ptr %32, i64 2 %34 = load ptr, ptr %33, align 8 %35 = call i32 @atoi(ptr noundef %34) store i32 %35, ptr %7, align 4 br label %37 36: ; preds = %28 store i32 200, ptr %7, align 4 br label %37 37: ; preds = %36, %31 store i32 32, ptr %10, align 4 store i32 0, ptr %8, align 4 br label %38 38: ; preds = %67, %37 %39 = load i32, ptr %8, align 4 %40 = load i32, ptr %7, align 4 %41 = icmp slt i32 %39, %40 br i1 %41, label %42, label %70 42: ; preds = %38 %43 = load i32, ptr %10, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %10, align 4 %45 = icmp eq i32 %44, 127 br i1 %45, label %46, label %47 46: ; preds = %42 store i32 32, ptr %10, align 4 br label %47 47: ; preds = %46, %42 %48 = load i32, ptr %10, align 4 store i32 %48, ptr %11, align 4 store i32 0, ptr %9, align 4 br label %49 49: ; preds = %62, %47 %50 = load i32, ptr %9, align 4 %51 = load i32, ptr %6, align 4 %52 = icmp slt i32 %50, %51 br i1 %52, label %53, label %65 53: ; preds = %49 %54 = load i32, ptr %11, align 4 %55 = trunc i32 %54 to i8 %56 = call i32 @putchar(i8 noundef signext %55) %57 = load i32, ptr %11, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %11, align 4 %59 = icmp eq i32 %58, 127 br i1 %59, label %60, label %61 60: ; preds = %53 store i32 32, ptr %11, align 4 br label %61 61: ; preds = %60, %53 br label %62 62: ; preds = %61 %63 = load i32, ptr %9, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %9, align 4 br label %49, !llvm.loop !6 65: ; preds = %49 %66 = call i32 @putchar(i8 noundef signext 10) br label %67 67: ; preds = %65 %68 = load i32, ptr %8, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %8, align 4 br label %38, !llvm.loop !8 70: ; preds = %38 %71 = load i32, ptr @stdout, align 4 %72 = call i32 @fflush(i32 noundef %71) %73 = call i32 @exit(i32 noundef 0) #4 unreachable } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @setbuf(i32 noundef, ptr noundef) #2 declare i32 @atoi(ptr noundef) #2 declare i32 @putchar(i8 noundef signext) #2 declare i32 @fflush(i32 noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmp22qfuujx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @BUFSIZ = dso_local global i32 0, align 4 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %14 = load i32, ptr @BUFSIZ, align 4 %15 = zext i32 %14 to i64 %16 = call ptr @llvm.stacksave() store ptr %16, ptr %12, align 8 %17 = alloca i8, i64 %15, align 16 store i64 %15, ptr %13, align 8 %18 = load i32, ptr @stdout, align 4 %19 = call i32 @setbuf(i32 noundef %18, ptr noundef %17) %20 = load i32, ptr %4, align 4 %21 = icmp sge i32 %20, 2 br i1 %21, label %22, label %27 22: ; preds = %2 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 1 %25 = load ptr, ptr %24, align 8 %26 = call i32 @atoi(ptr noundef %25) store i32 %26, ptr %6, align 4 br label %28 27: ; preds = %2 store i32 79, ptr %6, align 4 br label %28 28: ; preds = %27, %22 %29 = load i32, ptr %4, align 4 %30 = icmp sge i32 %29, 3 br i1 %30, label %31, label %36 31: ; preds = %28 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds ptr, ptr %32, i64 2 %34 = load ptr, ptr %33, align 8 %35 = call i32 @atoi(ptr noundef %34) store i32 %35, ptr %7, align 4 br label %37 36: ; preds = %28 store i32 200, ptr %7, align 4 br label %37 37: ; preds = %36, %31 store i32 32, ptr %10, align 4 store i32 0, ptr %8, align 4 %38 = load i32, ptr %8, align 4 %39 = load i32, ptr %7, align 4 %40 = icmp slt i32 %38, %39 br i1 %40, label %.lr.ph2, label %74 .lr.ph2: ; preds = %37 br label %41 41: ; preds = %.lr.ph2, %68 %42 = load i32, ptr %10, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %10, align 4 %44 = icmp eq i32 %43, 127 br i1 %44, label %45, label %46 45: ; preds = %41 store i32 32, ptr %10, align 4 br label %46 46: ; preds = %45, %41 %47 = load i32, ptr %10, align 4 store i32 %47, ptr %11, align 4 store i32 0, ptr %9, align 4 %48 = load i32, ptr %9, align 4 %49 = load i32, ptr %6, align 4 %50 = icmp slt i32 %48, %49 br i1 %50, label %.lr.ph, label %66 .lr.ph: ; preds = %46 br label %51 51: ; preds = %.lr.ph, %60 %52 = load i32, ptr %11, align 4 %53 = trunc i32 %52 to i8 %54 = call i32 @putchar(i8 noundef signext %53) %55 = load i32, ptr %11, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %11, align 4 %57 = icmp eq i32 %56, 127 br i1 %57, label %58, label %59 58: ; preds = %51 store i32 32, ptr %11, align 4 br label %59 59: ; preds = %58, %51 br label %60 60: ; preds = %59 %61 = load i32, ptr %9, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %9, align 4 %63 = load i32, ptr %9, align 4 %64 = load i32, ptr %6, align 4 %65 = icmp slt i32 %63, %64 br i1 %65, label %51, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %60 br label %66 66: ; preds = %._crit_edge, %46 %67 = call i32 @putchar(i8 noundef signext 10) br label %68 68: ; preds = %66 %69 = load i32, ptr %8, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %8, align 4 %71 = load i32, ptr %8, align 4 %72 = load i32, ptr %7, align 4 %73 = icmp slt i32 %71, %72 br i1 %73, label %41, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %68 br label %74 74: ; preds = %._crit_edge3, %37 %75 = load i32, ptr @stdout, align 4 %76 = call i32 @fflush(i32 noundef %75) %77 = call i32 @exit(i32 noundef 0) #4 unreachable } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @setbuf(i32 noundef, ptr noundef) #2 declare i32 @atoi(ptr noundef) #2 declare i32 @putchar(i8 noundef signext) #2 declare i32 @fflush(i32 noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmppun0zkh4.c' source_filename = "/tmp/tmppun0zkh4.c" target datalayout = "e-m:e-p270: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/tmppun0zkh4.c" target datalayout = "e-m:e-p270: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/tmprgf4obpg.c' source_filename = "/tmp/tmprgf4obpg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_putstr(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %11, %1 %5 = load ptr, ptr %2, align 8 %6 = load i32, ptr %3, align 4 %7 = sext i32 %6 to i64 %8 = getelementptr inbounds i8, ptr %5, i64 %7 %9 = load i8, ptr %8, align 1 %10 = icmp ne i8 %9, 0 br i1 %10, label %11, label %19 11: ; preds = %4 %12 = load ptr, ptr %2, align 8 %13 = load i32, ptr %3, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %3, align 4 %15 = sext i32 %13 to i64 %16 = getelementptr inbounds i8, ptr %12, i64 %15 %17 = load i8, ptr %16, align 1 %18 = call i32 @ft_putchar(i8 noundef signext %17) br label %4, !llvm.loop !6 19: ; preds = %4 ret void } declare i32 @ft_putchar(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/tmprgf4obpg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_putstr(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %4 = load ptr, ptr %2, align 8 %5 = load i32, ptr %3, align 4 %6 = sext i32 %5 to i64 %7 = getelementptr inbounds i8, ptr %4, i64 %6 %8 = load i8, ptr %7, align 1 %9 = icmp ne i8 %8, 0 br i1 %9, label %.lr.ph, label %24 .lr.ph: ; preds = %1 br label %10 10: ; preds = %.lr.ph, %10 %11 = load ptr, ptr %2, align 8 %12 = load i32, ptr %3, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %3, align 4 %14 = sext i32 %12 to i64 %15 = getelementptr inbounds i8, ptr %11, i64 %14 %16 = load i8, ptr %15, align 1 %17 = call i32 @ft_putchar(i8 noundef signext %16) %18 = load ptr, ptr %2, align 8 %19 = load i32, ptr %3, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %18, i64 %20 %22 = load i8, ptr %21, align 1 %23 = icmp ne i8 %22, 0 br i1 %23, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %10 br label %24 24: ; preds = %._crit_edge, %1 ret void } declare i32 @ft_putchar(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/tmpqa3y3ht5.c' source_filename = "/tmp/tmpqa3y3ht5.c" target datalayout = "e-m:e-p270: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/tmpqa3y3ht5.c" target datalayout = "e-m:e-p270: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/tmp5ys97zbh.c' source_filename = "/tmp/tmp5ys97zbh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"test.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"a\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"Testing...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca ptr, align 8 %2 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %2, ptr %1, align 8 %3 = load ptr, ptr %1, align 8 %4 = call i32 @fprintf(ptr noundef %3, ptr noundef @.str.2) %5 = load ptr, ptr %1, align 8 %6 = call i32 @fclose(ptr noundef %5) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5ys97zbh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"test.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"a\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"Testing...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca ptr, align 8 %2 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %2, ptr %1, align 8 %3 = load ptr, ptr %1, align 8 %4 = call i32 @fprintf(ptr noundef %3, ptr noundef @.str.2) %5 = load ptr, ptr %1, align 8 %6 = call i32 @fclose(ptr noundef %5) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0a5j0xmo.c' source_filename = "/tmp/tmp0a5j0xmo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MonoalphabeticCleanUp(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/tmp0a5j0xmo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MonoalphabeticCleanUp(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/tmp496jcd6h.c' source_filename = "/tmp/tmp496jcd6h.c" target datalayout = "e-m:e-p270: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/tmp496jcd6h.c" target datalayout = "e-m:e-p270: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/tmpboge3gdy.c' source_filename = "/tmp/tmpboge3gdy.c" target datalayout = "e-m:e-p270: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/tmpboge3gdy.c" target datalayout = "e-m:e-p270: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/tmpqf8kbdnr.c' source_filename = "/tmp/tmpqf8kbdnr.c" target datalayout = "e-m:e-p270: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/tmpqf8kbdnr.c" target datalayout = "e-m:e-p270: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/tmpow2rngga.c' source_filename = "/tmp/tmpow2rngga.c" target datalayout = "e-m:e-p270: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_RDWR = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [29 x i8] c"Can not open nand image %s \0A\00", align 1 @.str.1 = private unnamed_addr constant [41 x i8] c"start_address can no be more than 0x%x \0A\00", align 1 @.str.2 = private unnamed_addr constant [51 x i8] c"start_address should be aligned to page boundary \0A\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"size can no be zero \0A\00", align 1 @.str.4 = private unnamed_addr constant [42 x i8] c"size should be aligned to page boundary \0A\00", align 1 @SEEK_SET = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca [2112 x i32], align 16 %15 = alloca [3 x i32], align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %16 = load i32, ptr %4, align 4 %17 = icmp ne i32 %16, 4 br i1 %17, label %18, label %21 18: ; preds = %2 %19 = call i32 (...) @useage() %20 = call i32 @exit(i32 noundef 1) #3 unreachable 21: ; preds = %2 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 1 %24 = load ptr, ptr %23, align 8 store ptr %24, ptr %8, align 8 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds ptr, ptr %25, i64 2 %27 = load ptr, ptr %26, align 8 %28 = call i32 @strtol(ptr noundef %27, ptr noundef null, i32 noundef 0) store i32 %28, ptr %6, align 4 %29 = load ptr, ptr %5, 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 0) store i32 %32, ptr %7, align 4 %33 = load ptr, ptr %8, align 8 %34 = load i32, ptr @O_RDWR, align 4 %35 = call i32 @open(ptr noundef %33, i32 noundef %34) store i32 %35, ptr %11, align 4 %36 = load i32, ptr %11, align 4 %37 = icmp slt i32 %36, 0 br i1 %37, label %38, label %42 38: ; preds = %21 %39 = load ptr, ptr %8, align 8 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %39) %41 = call i32 @exit(i32 noundef 1) #3 unreachable 42: ; preds = %21 %43 = load i32, ptr %6, align 4 %44 = icmp sge i32 %43, 268435456 br i1 %44, label %45, label %48 45: ; preds = %42 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef 268435456) %47 = call i32 @exit(i32 noundef 1) #3 unreachable 48: ; preds = %42 %49 = load i32, ptr %6, align 4 %50 = srem i32 %49, 2048 %51 = icmp ne i32 %50, 0 br i1 %51, label %52, label %55 52: ; preds = %48 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %54 = call i32 @exit(i32 noundef 1) #3 unreachable 55: ; preds = %48 %56 = load i32, ptr %7, align 4 %57 = icmp eq i32 %56, 0 br i1 %57, label %58, label %61 58: ; preds = %55 %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %60 = call i32 @exit(i32 noundef 1) #3 unreachable 61: ; preds = %55 %62 = load i32, ptr %7, align 4 %63 = srem i32 %62, 2048 %64 = icmp ne i32 %63, 0 br i1 %64, label %65, label %68 65: ; preds = %61 %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %67 = call i32 @exit(i32 noundef 1) #3 unreachable 68: ; preds = %61 %69 = load i32, ptr %6, align 4 %70 = sdiv i32 %69, 2048 store i32 %70, ptr %9, align 4 %71 = load i32, ptr %7, align 4 %72 = sdiv i32 %71, 2048 store i32 %72, ptr %10, align 4 store i32 0, ptr %12, align 4 br label %73 73: ; preds = %120, %68 %74 = load i32, ptr %12, align 4 %75 = load i32, ptr %10, align 4 %76 = icmp slt i32 %74, %75 br i1 %76, label %77, label %123 77: ; preds = %73 %78 = load i32, ptr %11, align 4 %79 = load i32, ptr %9, align 4 %80 = mul nsw i32 %79, 2112 %81 = load i32, ptr @SEEK_SET, align 4 %82 = call i32 @lseek(i32 noundef %78, i32 noundef %80, i32 noundef %81) %83 = load i32, ptr %11, align 4 %84 = getelementptr inbounds [2112 x i32], ptr %14, i64 0, i64 0 %85 = call i32 @read(i32 noundef %83, ptr noundef %84, i32 noundef 2112) store i32 0, ptr %13, align 4 br label %86 86: ; preds = %106, %77 %87 = load i32, ptr %13, align 4 %88 = icmp slt i32 %87, 8 br i1 %88, label %89, label %109 89: ; preds = %86 %90 = getelementptr inbounds [2112 x i32], ptr %14, i64 0, i64 0 %91 = load i32, ptr %13, align 4 %92 = mul nsw i32 %91, 256 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds i32, ptr %90, i64 %93 %95 = getelementptr inbounds [3 x i32], ptr %15, i64 0, i64 0 %96 = call i32 @nand_calculate_ecc(ptr noundef %94, ptr noundef %95) %97 = getelementptr inbounds [2112 x i32], ptr %14, i64 0, i64 0 %98 = getelementptr inbounds i32, ptr %97, i64 2048 %99 = getelementptr inbounds i32, ptr %98, i64 40 %100 = load i32, ptr %13, align 4 %101 = mul nsw i32 %100, 3 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds i32, ptr %99, i64 %102 %104 = getelementptr inbounds [3 x i32], ptr %15, i64 0, i64 0 %105 = call i32 @memcpy(ptr noundef %103, ptr noundef %104, i32 noundef 3) br label %106 106: ; preds = %89 %107 = load i32, ptr %13, align 4 %108 = add nsw i32 %107, 1 store i32 %108, ptr %13, align 4 br label %86, !llvm.loop !6 109: ; preds = %86 %110 = load i32, ptr %11, align 4 %111 = load i32, ptr %9, align 4 %112 = mul nsw i32 %111, 2112 %113 = load i32, ptr @SEEK_SET, align 4 %114 = call i32 @lseek(i32 noundef %110, i32 noundef %112, i32 noundef %113) %115 = load i32, ptr %11, align 4 %116 = getelementptr inbounds [2112 x i32], ptr %14, i64 0, i64 0 %117 = call i32 @write(i32 noundef %115, ptr noundef %116, i32 noundef 2112) %118 = load i32, ptr %9, align 4 %119 = add nsw i32 %118, 1 store i32 %119, ptr %9, align 4 br label %120 120: ; preds = %109 %121 = load i32, ptr %12, align 4 %122 = add nsw i32 %121, 1 store i32 %122, ptr %12, align 4 br label %73, !llvm.loop !8 123: ; preds = %73 %124 = load i32, ptr %11, align 4 %125 = call i32 @close(i32 noundef %124) ret i32 1 } declare i32 @useage(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @nand_calculate_ecc(ptr noundef, ptr noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpow2rngga.c" target datalayout = "e-m:e-p270: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_RDWR = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [29 x i8] c"Can not open nand image %s \0A\00", align 1 @.str.1 = private unnamed_addr constant [41 x i8] c"start_address can no be more than 0x%x \0A\00", align 1 @.str.2 = private unnamed_addr constant [51 x i8] c"start_address should be aligned to page boundary \0A\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"size can no be zero \0A\00", align 1 @.str.4 = private unnamed_addr constant [42 x i8] c"size should be aligned to page boundary \0A\00", align 1 @SEEK_SET = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca [2112 x i32], align 16 %15 = alloca [3 x i32], align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %16 = load i32, ptr %4, align 4 %17 = icmp ne i32 %16, 4 br i1 %17, label %18, label %21 18: ; preds = %2 %19 = call i32 (...) @useage() %20 = call i32 @exit(i32 noundef 1) #3 unreachable 21: ; preds = %2 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 1 %24 = load ptr, ptr %23, align 8 store ptr %24, ptr %8, align 8 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds ptr, ptr %25, i64 2 %27 = load ptr, ptr %26, align 8 %28 = call i32 @strtol(ptr noundef %27, ptr noundef null, i32 noundef 0) store i32 %28, ptr %6, align 4 %29 = load ptr, ptr %5, 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 0) store i32 %32, ptr %7, align 4 %33 = load ptr, ptr %8, align 8 %34 = load i32, ptr @O_RDWR, align 4 %35 = call i32 @open(ptr noundef %33, i32 noundef %34) store i32 %35, ptr %11, align 4 %36 = load i32, ptr %11, align 4 %37 = icmp slt i32 %36, 0 br i1 %37, label %38, label %42 38: ; preds = %21 %39 = load ptr, ptr %8, align 8 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %39) %41 = call i32 @exit(i32 noundef 1) #3 unreachable 42: ; preds = %21 %43 = load i32, ptr %6, align 4 %44 = icmp sge i32 %43, 268435456 br i1 %44, label %45, label %48 45: ; preds = %42 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef 268435456) %47 = call i32 @exit(i32 noundef 1) #3 unreachable 48: ; preds = %42 %49 = load i32, ptr %6, align 4 %50 = srem i32 %49, 2048 %51 = icmp ne i32 %50, 0 br i1 %51, label %52, label %55 52: ; preds = %48 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %54 = call i32 @exit(i32 noundef 1) #3 unreachable 55: ; preds = %48 %56 = load i32, ptr %7, align 4 %57 = icmp eq i32 %56, 0 br i1 %57, label %58, label %61 58: ; preds = %55 %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %60 = call i32 @exit(i32 noundef 1) #3 unreachable 61: ; preds = %55 %62 = load i32, ptr %7, align 4 %63 = srem i32 %62, 2048 %64 = icmp ne i32 %63, 0 br i1 %64, label %65, label %68 65: ; preds = %61 %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %67 = call i32 @exit(i32 noundef 1) #3 unreachable 68: ; preds = %61 %69 = load i32, ptr %6, align 4 %70 = sdiv i32 %69, 2048 store i32 %70, ptr %9, align 4 %71 = load i32, ptr %7, align 4 %72 = sdiv i32 %71, 2048 store i32 %72, ptr %10, align 4 store i32 0, ptr %12, align 4 %73 = load i32, ptr %12, align 4 %74 = load i32, ptr %10, align 4 %75 = icmp slt i32 %73, %74 br i1 %75, label %.lr.ph2, label %126 .lr.ph2: ; preds = %68 br label %76 76: ; preds = %.lr.ph2, %120 %77 = load i32, ptr %11, align 4 %78 = load i32, ptr %9, align 4 %79 = mul nsw i32 %78, 2112 %80 = load i32, ptr @SEEK_SET, align 4 %81 = call i32 @lseek(i32 noundef %77, i32 noundef %79, i32 noundef %80) %82 = load i32, ptr %11, align 4 %83 = getelementptr inbounds [2112 x i32], ptr %14, i64 0, i64 0 %84 = call i32 @read(i32 noundef %82, ptr noundef %83, i32 noundef 2112) store i32 0, ptr %13, align 4 %85 = load i32, ptr %13, align 4 %86 = icmp slt i32 %85, 8 br i1 %86, label %.lr.ph, label %109 .lr.ph: ; preds = %76 br label %87 87: ; preds = %.lr.ph, %104 %88 = getelementptr inbounds [2112 x i32], ptr %14, i64 0, i64 0 %89 = load i32, ptr %13, align 4 %90 = mul nsw i32 %89, 256 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds i32, ptr %88, i64 %91 %93 = getelementptr inbounds [3 x i32], ptr %15, i64 0, i64 0 %94 = call i32 @nand_calculate_ecc(ptr noundef %92, ptr noundef %93) %95 = getelementptr inbounds [2112 x i32], ptr %14, i64 0, i64 0 %96 = getelementptr inbounds i32, ptr %95, i64 2048 %97 = getelementptr inbounds i32, ptr %96, i64 40 %98 = load i32, ptr %13, align 4 %99 = mul nsw i32 %98, 3 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds i32, ptr %97, i64 %100 %102 = getelementptr inbounds [3 x i32], ptr %15, i64 0, i64 0 %103 = call i32 @memcpy(ptr noundef %101, ptr noundef %102, i32 noundef 3) br label %104 104: ; preds = %87 %105 = load i32, ptr %13, align 4 %106 = add nsw i32 %105, 1 store i32 %106, ptr %13, align 4 %107 = load i32, ptr %13, align 4 %108 = icmp slt i32 %107, 8 br i1 %108, label %87, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %104 br label %109 109: ; preds = %._crit_edge, %76 %110 = load i32, ptr %11, align 4 %111 = load i32, ptr %9, align 4 %112 = mul nsw i32 %111, 2112 %113 = load i32, ptr @SEEK_SET, align 4 %114 = call i32 @lseek(i32 noundef %110, i32 noundef %112, i32 noundef %113) %115 = load i32, ptr %11, align 4 %116 = getelementptr inbounds [2112 x i32], ptr %14, i64 0, i64 0 %117 = call i32 @write(i32 noundef %115, ptr noundef %116, i32 noundef 2112) %118 = load i32, ptr %9, align 4 %119 = add nsw i32 %118, 1 store i32 %119, ptr %9, align 4 br label %120 120: ; preds = %109 %121 = load i32, ptr %12, align 4 %122 = add nsw i32 %121, 1 store i32 %122, ptr %12, align 4 %123 = load i32, ptr %12, align 4 %124 = load i32, ptr %10, align 4 %125 = icmp slt i32 %123, %124 br i1 %125, label %76, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %120 br label %126 126: ; preds = %._crit_edge3, %68 %127 = load i32, ptr %11, align 4 %128 = call i32 @close(i32 noundef %127) ret i32 1 } declare i32 @useage(...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @nand_calculate_ecc(ptr noundef, ptr noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp84wmnu5u.c' source_filename = "/tmp/tmp84wmnu5u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @grayCode(i32 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 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %7 = load i32, ptr %3, align 4 %8 = shl i32 1, %7 %9 = load ptr, ptr %4, align 8 store i32 %8, ptr %9, align 4 store i32 %8, ptr %6, align 4 %10 = sext i32 %8 to i64 %11 = mul i64 %10, 4 %12 = trunc i64 %11 to i32 %13 = call i64 @malloc(i32 noundef %12) %14 = inttoptr i64 %13 to ptr store ptr %14, ptr %5, align 8 br label %15 15: ; preds = %19, %2 %16 = load i32, ptr %6, align 4 %17 = add nsw i32 %16, -1 store i32 %17, ptr %6, align 4 %18 = icmp ne i32 %16, 0 br i1 %18, label %19, label %28 19: ; preds = %15 %20 = load i32, ptr %6, align 4 %21 = load i32, ptr %6, align 4 %22 = ashr i32 %21, 1 %23 = xor i32 %20, %22 %24 = load ptr, ptr %5, align 8 %25 = load i32, ptr %6, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i32, ptr %24, i64 %26 store i32 %23, ptr %27, align 4 br label %15, !llvm.loop !6 28: ; preds = %15 %29 = load ptr, ptr %5, align 8 ret ptr %29 } declare i64 @malloc(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/tmp84wmnu5u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @grayCode(i32 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 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %7 = load i32, ptr %3, align 4 %8 = shl i32 1, %7 %9 = load ptr, ptr %4, align 8 store i32 %8, ptr %9, align 4 store i32 %8, ptr %6, align 4 %10 = sext i32 %8 to i64 %11 = mul i64 %10, 4 %12 = trunc i64 %11 to i32 %13 = call i64 @malloc(i32 noundef %12) %14 = inttoptr i64 %13 to ptr store ptr %14, ptr %5, align 8 %15 = load i32, ptr %6, align 4 %16 = add nsw i32 %15, -1 store i32 %16, ptr %6, align 4 %17 = icmp ne i32 %15, 0 br i1 %17, label %.lr.ph, label %30 .lr.ph: ; preds = %2 br label %18 18: ; preds = %.lr.ph, %18 %19 = load i32, ptr %6, align 4 %20 = load i32, ptr %6, align 4 %21 = ashr i32 %20, 1 %22 = xor i32 %19, %21 %23 = load ptr, ptr %5, align 8 %24 = load i32, ptr %6, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i32, ptr %23, i64 %25 store i32 %22, ptr %26, align 4 %27 = load i32, ptr %6, align 4 %28 = add nsw i32 %27, -1 store i32 %28, ptr %6, align 4 %29 = icmp ne i32 %27, 0 br i1 %29, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %18 br label %30 30: ; preds = %._crit_edge, %2 %31 = load ptr, ptr %5, align 8 ret ptr %31 } declare i64 @malloc(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/tmpjv5tfrs5.c' source_filename = "/tmp/tmpjv5tfrs5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nio_vram_pixel_set(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %4, align 4 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %6, align 4 %10 = call i32 @nio_pixel_set(i32 noundef %7, i32 noundef %8, i32 noundef %9) ret void } declare i32 @nio_pixel_set(i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjv5tfrs5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nio_vram_pixel_set(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %4, align 4 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %6, align 4 %10 = call i32 @nio_pixel_set(i32 noundef %7, i32 noundef %8, i32 noundef %9) ret void } declare i32 @nio_pixel_set(i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0l16f1cf.c' source_filename = "/tmp/tmp0l16f1cf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @errno = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [17 x i8] c"Couldn't open %s\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"Couldn't stat %s\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [17 x i8] c"No memory for %s\00", align 1 @.str.4 = private unnamed_addr constant [17 x i8] c"Couldn't read %s\00", align 1 @.str.5 = private unnamed_addr constant [18 x i8] c"Version 2 Keyfile\00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"\0A\0D\00", align 1 @.str.8 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.9 = private unnamed_addr constant [79 x i8] c"Version 1 keyfile's can't have non-numeric key indices! (\22%s\22 is not allowed)\0A\00", align 1 @.str.10 = private unnamed_addr constant [16 x i8] c"Out of memory!\0A\00", align 1 @.str.11 = private unnamed_addr constant [57 x i8] c"There is no key %s in \22%s\22. There is only 0 through %d!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @ParseKeyFile(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca %struct.stat, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %18 = load ptr, ptr %3, align 8 %19 = call ptr @fopen(ptr noundef %18, ptr noundef @.str) store ptr %19, ptr %6, align 8 store ptr null, ptr %7, align 8 store ptr null, ptr %8, align 8 %20 = load ptr, ptr %6, align 8 %21 = icmp ne ptr %20, null br i1 %21, label %26, label %22 22: ; preds = %2 %23 = load i32, ptr @errno, align 4 %24 = load ptr, ptr %3, align 8 %25 = call i32 @error(i32 noundef 0, i32 noundef %23, ptr noundef @.str.1, ptr noundef %24) br label %221 26: ; preds = %2 %27 = load ptr, ptr %3, align 8 %28 = call i32 @stat(ptr noundef %27, ptr noundef %5) %29 = icmp eq i32 %28, -1 br i1 %29, label %30, label %34 30: ; preds = %26 %31 = load i32, ptr @errno, align 4 %32 = load ptr, ptr %3, align 8 %33 = call i32 @error(i32 noundef 0, i32 noundef %31, ptr noundef @.str.2, ptr noundef %32) br label %221 34: ; preds = %26 %35 = getelementptr inbounds %struct.stat, ptr %5, i32 0, i32 0 %36 = load i32, ptr %35, align 4 %37 = call ptr @malloc(i32 noundef %36) store ptr %37, ptr %7, align 8 %38 = load ptr, ptr %7, align 8 %39 = icmp ne ptr %38, null br i1 %39, label %44, label %40 40: ; preds = %34 %41 = load i32, ptr @stderr, align 4 %42 = load ptr, ptr %3, align 8 %43 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %41, ptr noundef @.str.3, ptr noundef %42) br label %221 44: ; preds = %34 %45 = load ptr, ptr %7, align 8 %46 = getelementptr inbounds %struct.stat, ptr %5, i32 0, i32 0 %47 = load i32, ptr %46, align 4 %48 = load ptr, ptr %6, align 8 %49 = call i32 @fread(ptr noundef %45, i32 noundef 1, i32 noundef %47, ptr noundef %48) %50 = getelementptr inbounds %struct.stat, ptr %5, i32 0, i32 0 %51 = load i32, ptr %50, align 4 %52 = icmp ne i32 %49, %51 br i1 %52, label %53, label %57 53: ; preds = %44 %54 = load i32, ptr @errno, align 4 %55 = load ptr, ptr %3, align 8 %56 = call i32 @error(i32 noundef 0, i32 noundef %54, ptr noundef @.str.4, ptr noundef %55) br label %221 57: ; preds = %44 store i32 -1, ptr %12, align 4 store i32 0, ptr %9, align 4 br label %58 58: ; preds = %75, %57 %59 = load ptr, ptr %4, align 8 %60 = load i32, ptr %9, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i8, ptr %59, i64 %61 %63 = load i8, ptr %62, align 1 %64 = icmp ne i8 %63, 0 br i1 %64, label %65, label %78 65: ; preds = %58 %66 = load ptr, ptr %4, align 8 %67 = load i32, ptr %9, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds i8, ptr %66, i64 %68 %70 = load i8, ptr %69, align 1 %71 = call i32 @isdigit(i8 noundef signext %70) %72 = icmp ne i32 %71, 0 br i1 %72, label %74, label %73 73: ; preds = %65 br label %81 74: ; preds = %65 br label %75 75: ; preds = %74 %76 = load i32, ptr %9, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %9, align 4 br label %58, !llvm.loop !6 78: ; preds = %58 %79 = load ptr, ptr %4, align 8 %80 = call i32 @strtol(ptr noundef %79, ptr noundef null, i32 noundef 10) store i32 %80, ptr %12, align 4 br label %81 81: ; preds = %78, %73 %82 = load ptr, ptr %7, align 8 %83 = call i64 @strncmp(ptr noundef %82, ptr noundef @.str.5, i32 noundef 17) %84 = icmp eq i64 %83, 0 br i1 %84, label %85, label %134 85: ; preds = %81 store i32 0, ptr %9, align 4 %86 = load ptr, ptr %7, align 8 store ptr %86, ptr %15, align 8 %87 = call ptr @strsep(ptr noundef %15, ptr noundef @.str.6) br label %88 88: ; preds = %118, %99, %85 %89 = call ptr @strsep(ptr noundef %15, ptr noundef @.str.7) store ptr %89, ptr %13, align 8 %90 = icmp ne ptr %89, null br i1 %90, label %91, label %131 91: ; preds = %88 %92 = load ptr, ptr %13, align 8 store ptr %92, ptr %16, align 8 %93 = call ptr @strsep(ptr noundef %16, ptr noundef @.str.8) store ptr %93, ptr %17, align 8 %94 = load ptr, ptr %17, align 8 %95 = icmp ne ptr %94, null br i1 %95, label %96, label %99 96: ; preds = %91 %97 = load ptr, ptr %16, align 8 %98 = icmp ne ptr %97, null br i1 %98, label %100, label %99 99: ; preds = %96, %91 br label %88, !llvm.loop !8 100: ; preds = %96 %101 = load i32, ptr %9, align 4 %102 = add nsw i32 %101, 1 store i32 %102, ptr %9, align 4 %103 = load i32, ptr %12, align 4 %104 = icmp ne i32 %103, -1 br i1 %104, label %105, label %110 105: ; preds = %100 %106 = load ptr, ptr %17, align 8 %107 = call i32 @strtoul(ptr noundef %106, ptr noundef null, i32 noundef 10) %108 = load i32, ptr %12, align 4 %109 = icmp ne i32 %107, %108 br i1 %109, label %118, label %110 110: ; preds = %105, %100 %111 = load i32, ptr %12, align 4 %112 = icmp eq i32 %111, -1 br i1 %112, label %113, label %119 113: ; preds = %110 %114 = load ptr, ptr %17, align 8 %115 = load ptr, ptr %4, align 8 %116 = call i64 @strcasecmp(ptr noundef %114, ptr noundef %115) %117 = icmp ne i64 %116, 0 br i1 %117, label %118, label %119 118: ; preds = %113, %105 br label %88, !llvm.loop !8 119: ; preds = %113, %110 br label %120 120: ; preds = %125, %119 %121 = load ptr, ptr %16, align 8 %122 = load i8, ptr %121, align 1 %123 = call i64 @isspace(i8 noundef signext %122) %124 = icmp ne i64 %123, 0 br i1 %124, label %125, label %128 125: ; preds = %120 %126 = load ptr, ptr %16, align 8 %127 = getelementptr inbounds i8, ptr %126, i32 1 store ptr %127, ptr %16, align 8 br label %120, !llvm.loop !9 128: ; preds = %120 %129 = load ptr, ptr %16, align 8 %130 = call ptr @strdup(ptr noundef %129) store ptr %130, ptr %8, align 8 br label %220 131: ; preds = %88 %132 = load i32, ptr %9, align 4 %133 = add nsw i32 %132, -1 store i32 %133, ptr %9, align 4 br label %214 134: ; preds = %81 %135 = load i32, ptr %12, align 4 %136 = icmp eq i32 %135, -1 br i1 %136, label %137, label %141 137: ; preds = %134 %138 = load i32, ptr @stderr, align 4 %139 = load ptr, ptr %4, align 8 %140 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %138, ptr noundef @.str.9, ptr noundef %139) br label %221 141: ; preds = %134 store i32 0, ptr %10, align 4 store i32 0, ptr %9, align 4 br label %142 142: ; preds = %210, %141 %143 = load i32, ptr %10, align 4 %144 = getelementptr inbounds %struct.stat, ptr %5, i32 0, i32 0 %145 = load i32, ptr %144, align 4 %146 = icmp slt i32 %143, %145 br i1 %146, label %147, label %213 147: ; preds = %142 %148 = load i32, ptr %9, align 4 %149 = load i32, ptr %12, align 4 %150 = icmp eq i32 %148, %149 br i1 %150, label %151, label %198 151: ; preds = %147 %152 = load i32, ptr %10, align 4 store i32 %152, ptr %11, align 4 br label %153 153: ; preds = %168, %151 %154 = load i32, ptr %11, align 4 %155 = getelementptr inbounds %struct.stat, ptr %5, i32 0, i32 0 %156 = load i32, ptr %155, align 4 %157 = icmp slt i32 %154, %156 br i1 %157, label %158, label %171 158: ; preds = %153 %159 = load ptr, ptr %7, align 8 %160 = load i32, ptr %11, align 4 %161 = sext i32 %160 to i64 %162 = getelementptr inbounds i8, ptr %159, i64 %161 %163 = load i8, ptr %162, align 1 %164 = sext i8 %163 to i32 %165 = icmp eq i32 %164, 0 br i1 %165, label %166, label %167 166: ; preds = %158 br label %171 167: ; preds = %158 br label %168 168: ; preds = %167 %169 = load i32, ptr %11, align 4 %170 = add nsw i32 %169, 1 store i32 %170, ptr %11, align 4 br label %153, !llvm.loop !10 171: ; preds = %166, %153 %172 = load i32, ptr %11, align 4 %173 = load i32, ptr %10, align 4 %174 = sub nsw i32 %172, %173 %175 = add nsw i32 %174, 1 %176 = call ptr @malloc(i32 noundef %175) store ptr %176, ptr %8, align 8 %177 = load ptr, ptr %8, align 8 %178 = icmp ne ptr %177, null br i1 %178, label %182, label %179 179: ; preds = %171 %180 = load i32, ptr @stderr, align 4 %181 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %180, ptr noundef @.str.10) br label %221 182: ; preds = %171 %183 = load ptr, ptr %8, align 8 %184 = load ptr, ptr %7, align 8 %185 = load i32, ptr %10, align 4 %186 = sext i32 %185 to i64 %187 = getelementptr inbounds i8, ptr %184, i64 %186 %188 = load i32, ptr %11, align 4 %189 = load i32, ptr %10, align 4 %190 = sub nsw i32 %188, %189 %191 = call i32 @memcpy(ptr noundef %183, ptr noundef %187, i32 noundef %190) %192 = load ptr, ptr %8, align 8 %193 = load i32, ptr %11, align 4 %194 = load i32, ptr %10, align 4 %195 = sub nsw i32 %193, %194 %196 = sext i32 %195 to i64 %197 = getelementptr inbounds i8, ptr %192, i64 %196 store i8 0, ptr %197, align 1 br label %220 198: ; preds = %147 %199 = load ptr, ptr %7, align 8 %200 = load i32, ptr %10, align 4 %201 = sext i32 %200 to i64 %202 = getelementptr inbounds i8, ptr %199, i64 %201 %203 = load i8, ptr %202, align 1 %204 = sext i8 %203 to i32 %205 = icmp eq i32 %204, 0 br i1 %205, label %206, label %209 206: ; preds = %198 %207 = load i32, ptr %9, align 4 %208 = add nsw i32 %207, 1 store i32 %208, ptr %9, align 4 br label %209 209: ; preds = %206, %198 br label %210 210: ; preds = %209 %211 = load i32, ptr %10, align 4 %212 = add nsw i32 %211, 1 store i32 %212, ptr %10, align 4 br label %142, !llvm.loop !11 213: ; preds = %142 br label %214 214: ; preds = %213, %131 %215 = load i32, ptr @stderr, align 4 %216 = load ptr, ptr %4, align 8 %217 = load ptr, ptr %3, align 8 %218 = load i32, ptr %9, align 4 %219 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %215, ptr noundef @.str.11, ptr noundef %216, ptr noundef %217, i32 noundef %218) br label %220 220: ; preds = %214, %182, %128 br label %221 221: ; preds = %220, %179, %137, %53, %40, %30, %22 %222 = load ptr, ptr %6, align 8 %223 = icmp ne ptr %222, null br i1 %223, label %224, label %227 224: ; preds = %221 %225 = load ptr, ptr %6, align 8 %226 = call i32 @fclose(ptr noundef %225) br label %227 227: ; preds = %224, %221 %228 = load ptr, ptr %7, align 8 %229 = icmp ne ptr %228, null br i1 %229, label %230, label %233 230: ; preds = %227 %231 = load ptr, ptr %7, align 8 %232 = call i32 @free(ptr noundef %231) br label %233 233: ; preds = %230, %227 %234 = load ptr, ptr %8, align 8 ret ptr %234 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @error(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @stat(ptr noundef, ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @isdigit(i8 noundef signext) #1 declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @strsep(ptr noundef, ptr noundef) #1 declare i32 @strtoul(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @strcasecmp(ptr noundef, ptr noundef) #1 declare i64 @isspace(i8 noundef signext) #1 declare ptr @strdup(ptr noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp0l16f1cf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @errno = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [17 x i8] c"Couldn't open %s\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"Couldn't stat %s\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [17 x i8] c"No memory for %s\00", align 1 @.str.4 = private unnamed_addr constant [17 x i8] c"Couldn't read %s\00", align 1 @.str.5 = private unnamed_addr constant [18 x i8] c"Version 2 Keyfile\00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c"\0A\0D\00", align 1 @.str.8 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.9 = private unnamed_addr constant [79 x i8] c"Version 1 keyfile's can't have non-numeric key indices! (\22%s\22 is not allowed)\0A\00", align 1 @.str.10 = private unnamed_addr constant [16 x i8] c"Out of memory!\0A\00", align 1 @.str.11 = private unnamed_addr constant [57 x i8] c"There is no key %s in \22%s\22. There is only 0 through %d!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @ParseKeyFile(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca %struct.stat, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %18 = load ptr, ptr %3, align 8 %19 = call ptr @fopen(ptr noundef %18, ptr noundef @.str) store ptr %19, ptr %6, align 8 store ptr null, ptr %7, align 8 store ptr null, ptr %8, align 8 %20 = load ptr, ptr %6, align 8 %21 = icmp ne ptr %20, null br i1 %21, label %26, label %22 22: ; preds = %2 %23 = load i32, ptr @errno, align 4 %24 = load ptr, ptr %3, align 8 %25 = call i32 @error(i32 noundef 0, i32 noundef %23, ptr noundef @.str.1, ptr noundef %24) br label %234 26: ; preds = %2 %27 = load ptr, ptr %3, align 8 %28 = call i32 @stat(ptr noundef %27, ptr noundef %5) %29 = icmp eq i32 %28, -1 br i1 %29, label %30, label %34 30: ; preds = %26 %31 = load i32, ptr @errno, align 4 %32 = load ptr, ptr %3, align 8 %33 = call i32 @error(i32 noundef 0, i32 noundef %31, ptr noundef @.str.2, ptr noundef %32) br label %234 34: ; preds = %26 %35 = getelementptr inbounds %struct.stat, ptr %5, i32 0, i32 0 %36 = load i32, ptr %35, align 4 %37 = call ptr @malloc(i32 noundef %36) store ptr %37, ptr %7, align 8 %38 = load ptr, ptr %7, align 8 %39 = icmp ne ptr %38, null br i1 %39, label %44, label %40 40: ; preds = %34 %41 = load i32, ptr @stderr, align 4 %42 = load ptr, ptr %3, align 8 %43 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %41, ptr noundef @.str.3, ptr noundef %42) br label %234 44: ; preds = %34 %45 = load ptr, ptr %7, align 8 %46 = getelementptr inbounds %struct.stat, ptr %5, i32 0, i32 0 %47 = load i32, ptr %46, align 4 %48 = load ptr, ptr %6, align 8 %49 = call i32 @fread(ptr noundef %45, i32 noundef 1, i32 noundef %47, ptr noundef %48) %50 = getelementptr inbounds %struct.stat, ptr %5, i32 0, i32 0 %51 = load i32, ptr %50, align 4 %52 = icmp ne i32 %49, %51 br i1 %52, label %53, label %57 53: ; preds = %44 %54 = load i32, ptr @errno, align 4 %55 = load ptr, ptr %3, align 8 %56 = call i32 @error(i32 noundef 0, i32 noundef %54, ptr noundef @.str.4, ptr noundef %55) br label %234 57: ; preds = %44 store i32 -1, ptr %12, align 4 store i32 0, ptr %9, align 4 %58 = load ptr, ptr %4, align 8 %59 = load i32, ptr %9, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i8, ptr %58, i64 %60 %62 = load i8, ptr %61, align 1 %63 = icmp ne i8 %62, 0 br i1 %63, label %.lr.ph, label %83 .lr.ph: ; preds = %57 br label %64 64: ; preds = %.lr.ph, %74 %65 = load ptr, ptr %4, align 8 %66 = load i32, ptr %9, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds i8, ptr %65, i64 %67 %69 = load i8, ptr %68, align 1 %70 = call i32 @isdigit(i8 noundef signext %69) %71 = icmp ne i32 %70, 0 br i1 %71, label %73, label %72 72: ; preds = %64 br label %86 73: ; preds = %64 br label %74 74: ; preds = %73 %75 = load i32, ptr %9, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %9, align 4 %77 = load ptr, ptr %4, align 8 %78 = load i32, ptr %9, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds i8, ptr %77, i64 %79 %81 = load i8, ptr %80, align 1 %82 = icmp ne i8 %81, 0 br i1 %82, label %64, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %74 br label %83 83: ; preds = %._crit_edge, %57 %84 = load ptr, ptr %4, align 8 %85 = call i32 @strtol(ptr noundef %84, ptr noundef null, i32 noundef 10) store i32 %85, ptr %12, align 4 br label %86 86: ; preds = %83, %72 %87 = load ptr, ptr %7, align 8 %88 = call i64 @strncmp(ptr noundef %87, ptr noundef @.str.5, i32 noundef 17) %89 = icmp eq i64 %88, 0 br i1 %89, label %90, label %143 90: ; preds = %86 store i32 0, ptr %9, align 4 %91 = load ptr, ptr %7, align 8 store ptr %91, ptr %15, align 8 %92 = call ptr @strsep(ptr noundef %15, ptr noundef @.str.6) %93 = call ptr @strsep(ptr noundef %15, ptr noundef @.str.7) store ptr %93, ptr %13, align 8 %94 = icmp ne ptr %93, null br i1 %94, label %.lr.ph7, label %140 .lr.ph7: ; preds = %90 br label %95 95: ; preds = %.lr.ph7, %.backedge %96 = load ptr, ptr %13, align 8 store ptr %96, ptr %16, align 8 %97 = call ptr @strsep(ptr noundef %16, ptr noundef @.str.8) store ptr %97, ptr %17, align 8 %98 = load ptr, ptr %17, align 8 %99 = icmp ne ptr %98, null br i1 %99, label %100, label %103 100: ; preds = %95 %101 = load ptr, ptr %16, align 8 %102 = icmp ne ptr %101, null br i1 %102, label %106, label %103 103: ; preds = %100, %95 br label %.backedge .backedge: ; preds = %103, %124 %104 = call ptr @strsep(ptr noundef %15, ptr noundef @.str.7) store ptr %104, ptr %13, align 8 %105 = icmp ne ptr %104, null br i1 %105, label %95, label %._crit_edge8, !llvm.loop !8 106: ; preds = %100 %107 = load i32, ptr %9, align 4 %108 = add nsw i32 %107, 1 store i32 %108, ptr %9, align 4 %109 = load i32, ptr %12, align 4 %110 = icmp ne i32 %109, -1 br i1 %110, label %111, label %116 111: ; preds = %106 %112 = load ptr, ptr %17, align 8 %113 = call i32 @strtoul(ptr noundef %112, ptr noundef null, i32 noundef 10) %114 = load i32, ptr %12, align 4 %115 = icmp ne i32 %113, %114 br i1 %115, label %124, label %116 116: ; preds = %111, %106 %117 = load i32, ptr %12, align 4 %118 = icmp eq i32 %117, -1 br i1 %118, label %119, label %125 119: ; preds = %116 %120 = load ptr, ptr %17, align 8 %121 = load ptr, ptr %4, align 8 %122 = call i64 @strcasecmp(ptr noundef %120, ptr noundef %121) %123 = icmp ne i64 %122, 0 br i1 %123, label %124, label %125 124: ; preds = %119, %111 br label %.backedge 125: ; preds = %119, %116 %126 = load ptr, ptr %16, align 8 %127 = load i8, ptr %126, align 1 %128 = call i64 @isspace(i8 noundef signext %127) %129 = icmp ne i64 %128, 0 br i1 %129, label %.lr.ph10, label %137 .lr.ph10: ; preds = %125 br label %130 130: ; preds = %.lr.ph10, %130 %131 = load ptr, ptr %16, align 8 %132 = getelementptr inbounds i8, ptr %131, i32 1 store ptr %132, ptr %16, align 8 %133 = load ptr, ptr %16, align 8 %134 = load i8, ptr %133, align 1 %135 = call i64 @isspace(i8 noundef signext %134) %136 = icmp ne i64 %135, 0 br i1 %136, label %130, label %._crit_edge11, !llvm.loop !9 ._crit_edge11: ; preds = %130 br label %137 137: ; preds = %._crit_edge11, %125 %138 = load ptr, ptr %16, align 8 %139 = call ptr @strdup(ptr noundef %138) store ptr %139, ptr %8, align 8 br label %233 ._crit_edge8: ; preds = %.backedge br label %140 140: ; preds = %._crit_edge8, %90 %141 = load i32, ptr %9, align 4 %142 = add nsw i32 %141, -1 store i32 %142, ptr %9, align 4 br label %227 143: ; preds = %86 %144 = load i32, ptr %12, align 4 %145 = icmp eq i32 %144, -1 br i1 %145, label %146, label %150 146: ; preds = %143 %147 = load i32, ptr @stderr, align 4 %148 = load ptr, ptr %4, align 8 %149 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %147, ptr noundef @.str.9, ptr noundef %148) br label %234 150: ; preds = %143 store i32 0, ptr %10, align 4 store i32 0, ptr %9, align 4 %151 = load i32, ptr %10, align 4 %152 = getelementptr inbounds %struct.stat, ptr %5, i32 0, i32 0 %153 = load i32, ptr %152, align 4 %154 = icmp slt i32 %151, %153 br i1 %154, label %.lr.ph2, label %226 .lr.ph2: ; preds = %150 br label %155 155: ; preds = %.lr.ph2, %220 %156 = load i32, ptr %9, align 4 %157 = load i32, ptr %12, align 4 %158 = icmp eq i32 %156, %157 br i1 %158, label %159, label %208 159: ; preds = %155 %160 = load i32, ptr %10, align 4 store i32 %160, ptr %11, align 4 %161 = load i32, ptr %11, align 4 %162 = getelementptr inbounds %struct.stat, ptr %5, i32 0, i32 0 %163 = load i32, ptr %162, align 4 %164 = icmp slt i32 %161, %163 br i1 %164, label %.lr.ph5, label %.loopexit .lr.ph5: ; preds = %159 br label %165 165: ; preds = %.lr.ph5, %175 %166 = load ptr, ptr %7, align 8 %167 = load i32, ptr %11, align 4 %168 = sext i32 %167 to i64 %169 = getelementptr inbounds i8, ptr %166, i64 %168 %170 = load i8, ptr %169, align 1 %171 = sext i8 %170 to i32 %172 = icmp eq i32 %171, 0 br i1 %172, label %173, label %174 173: ; preds = %165 br label %181 174: ; preds = %165 br label %175 175: ; preds = %174 %176 = load i32, ptr %11, align 4 %177 = add nsw i32 %176, 1 store i32 %177, ptr %11, align 4 %178 = load i32, ptr %11, align 4 %179 = load i32, ptr %162, align 4 %180 = icmp slt i32 %178, %179 br i1 %180, label %165, label %..loopexit_crit_edge, !llvm.loop !10 ..loopexit_crit_edge: ; preds = %175 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %159 br label %181 181: ; preds = %.loopexit, %173 %182 = load i32, ptr %11, align 4 %183 = load i32, ptr %10, align 4 %184 = sub nsw i32 %182, %183 %185 = add nsw i32 %184, 1 %186 = call ptr @malloc(i32 noundef %185) store ptr %186, ptr %8, align 8 %187 = load ptr, ptr %8, align 8 %188 = icmp ne ptr %187, null br i1 %188, label %192, label %189 189: ; preds = %181 %190 = load i32, ptr @stderr, align 4 %191 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %190, ptr noundef @.str.10) br label %234 192: ; preds = %181 %193 = load ptr, ptr %8, align 8 %194 = load ptr, ptr %7, align 8 %195 = load i32, ptr %10, align 4 %196 = sext i32 %195 to i64 %197 = getelementptr inbounds i8, ptr %194, i64 %196 %198 = load i32, ptr %11, align 4 %199 = load i32, ptr %10, align 4 %200 = sub nsw i32 %198, %199 %201 = call i32 @memcpy(ptr noundef %193, ptr noundef %197, i32 noundef %200) %202 = load ptr, ptr %8, align 8 %203 = load i32, ptr %11, align 4 %204 = load i32, ptr %10, align 4 %205 = sub nsw i32 %203, %204 %206 = sext i32 %205 to i64 %207 = getelementptr inbounds i8, ptr %202, i64 %206 store i8 0, ptr %207, align 1 br label %233 208: ; preds = %155 %209 = load ptr, ptr %7, align 8 %210 = load i32, ptr %10, align 4 %211 = sext i32 %210 to i64 %212 = getelementptr inbounds i8, ptr %209, i64 %211 %213 = load i8, ptr %212, align 1 %214 = sext i8 %213 to i32 %215 = icmp eq i32 %214, 0 br i1 %215, label %216, label %219 216: ; preds = %208 %217 = load i32, ptr %9, align 4 %218 = add nsw i32 %217, 1 store i32 %218, ptr %9, align 4 br label %219 219: ; preds = %216, %208 br label %220 220: ; preds = %219 %221 = load i32, ptr %10, align 4 %222 = add nsw i32 %221, 1 store i32 %222, ptr %10, align 4 %223 = load i32, ptr %10, align 4 %224 = load i32, ptr %152, align 4 %225 = icmp slt i32 %223, %224 br i1 %225, label %155, label %._crit_edge3, !llvm.loop !11 ._crit_edge3: ; preds = %220 br label %226 226: ; preds = %._crit_edge3, %150 br label %227 227: ; preds = %226, %140 %228 = load i32, ptr @stderr, align 4 %229 = load ptr, ptr %4, align 8 %230 = load ptr, ptr %3, align 8 %231 = load i32, ptr %9, align 4 %232 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %228, ptr noundef @.str.11, ptr noundef %229, ptr noundef %230, i32 noundef %231) br label %233 233: ; preds = %227, %192, %137 br label %234 234: ; preds = %233, %189, %146, %53, %40, %30, %22 %235 = load ptr, ptr %6, align 8 %236 = icmp ne ptr %235, null br i1 %236, label %237, label %240 237: ; preds = %234 %238 = load ptr, ptr %6, align 8 %239 = call i32 @fclose(ptr noundef %238) br label %240 240: ; preds = %237, %234 %241 = load ptr, ptr %7, align 8 %242 = icmp ne ptr %241, null br i1 %242, label %243, label %246 243: ; preds = %240 %244 = load ptr, ptr %7, align 8 %245 = call i32 @free(ptr noundef %244) br label %246 246: ; preds = %243, %240 %247 = load ptr, ptr %8, align 8 ret ptr %247 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @error(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @stat(ptr noundef, ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @isdigit(i8 noundef signext) #1 declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @strsep(ptr noundef, ptr noundef) #1 declare i32 @strtoul(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @strcasecmp(ptr noundef, ptr noundef) #1 declare i64 @isspace(i8 noundef signext) #1 declare ptr @strdup(ptr noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpz3gw8j_2.c' source_filename = "/tmp/tmpz3gw8j_2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dictWstrHash(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @wstrlen(ptr noundef %4) %6 = call i32 @dictGenHashFunction(ptr noundef %3, i32 noundef %5) ret i32 %6 } declare i32 @dictGenHashFunction(ptr noundef, i32 noundef) #1 declare i32 @wstrlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz3gw8j_2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dictWstrHash(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @wstrlen(ptr noundef %4) %6 = call i32 @dictGenHashFunction(ptr noundef %3, i32 noundef %5) ret i32 %6 } declare i32 @dictGenHashFunction(ptr noundef, i32 noundef) #1 declare i32 @wstrlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpiaw07wql.c' source_filename = "/tmp/tmpiaw07wql.c" target datalayout = "e-m:e-p270: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/tmpiaw07wql.c" target datalayout = "e-m:e-p270: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/tmp9ri4pf0z.c' source_filename = "/tmp/tmp9ri4pf0z.c" target datalayout = "e-m:e-p270: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/tmp9ri4pf0z.c" target datalayout = "e-m:e-p270: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/tmpc7cznpaj.c' source_filename = "/tmp/tmpc7cznpaj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, %struct.TYPE_3__, ptr } %struct.TYPE_3__ = type { i32 } %struct.timeval = type { i32, i32 } %struct.timezone = type { i32 } %struct.hostent = type { i32, i32 } @.str = private unnamed_addr constant [38 x i8] c"usage: ./uclient <HA-ADDR> <HA-PORT>\0A\00", align 1 @AF_INET = dso_local global ptr null, align 8 @SOCK_DGRAM = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [24 x i8] c"Opening datagram socket\00", align 1 @INADDR_ANY = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [20 x i8] c"binding socket name\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"%s: unknown host\0A\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1 @.str.5 = private unnamed_addr constant [27 x i8] c"writing on datagram socket\00", align 1 @.str.6 = private unnamed_addr constant [13 x i8] c"getting time\00", align 1 @.str.7 = private unnamed_addr constant [9 x i8] c"%H:%M:%S\00", align 1 @.str.8 = private unnamed_addr constant [44 x i8] c"Sequence Number = %2d Time = %s Dest %s:%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 %struct.sockaddr_in, align 8 %8 = alloca %struct.sockaddr_in, align 8 %9 = alloca ptr, align 8 %10 = alloca [1024 x i8], align 16 %11 = alloca [64 x i8], align 16 %12 = alloca [64 x i8], align 16 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca ptr, align 8 %19 = alloca %struct.timeval, align 4 %20 = alloca %struct.timezone, align 4 %21 = 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 %22 = load i32, ptr %4, align 4 %23 = icmp slt i32 %22, 2 br i1 %23, label %24, label %29 24: ; preds = %2 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds ptr, ptr %25, i64 0 %27 = load ptr, ptr %26, align 8 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %27) store i32 0, ptr %3, align 4 br label %139 29: ; preds = %2 %30 = load ptr, ptr @AF_INET, align 8 %31 = load i32, ptr @SOCK_DGRAM, align 4 %32 = call i32 @socket(ptr noundef %30, i32 noundef %31, i32 noundef 0) store i32 %32, ptr %6, align 4 %33 = load i32, ptr %6, align 4 %34 = icmp slt i32 %33, 0 br i1 %34, label %35, label %38 35: ; preds = %29 %36 = call i32 @perror(ptr noundef @.str.1) %37 = call i32 @exit(i32 noundef 1) #3 unreachable 38: ; preds = %29 %39 = load ptr, ptr @AF_INET, align 8 %40 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 2 store ptr %39, ptr %40, align 8 %41 = load i32, ptr @INADDR_ANY, align 4 %42 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 1 %43 = getelementptr inbounds %struct.TYPE_3__, ptr %42, i32 0, i32 0 store i32 %41, ptr %43, align 4 %44 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 0 store i32 0, ptr %44, align 8 %45 = load i32, ptr %6, align 4 %46 = call i64 @bind(i32 noundef %45, ptr noundef %8, i32 noundef 16) %47 = icmp slt i64 %46, 0 br i1 %47, label %48, label %51 48: ; preds = %38 %49 = call i32 @perror(ptr noundef @.str.2) %50 = call i32 @exit(i32 noundef 1) #3 unreachable 51: ; preds = %38 %52 = load ptr, ptr @AF_INET, align 8 %53 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 2 store ptr %52, ptr %53, align 8 %54 = load ptr, ptr %5, align 8 %55 = getelementptr inbounds ptr, ptr %54, i64 1 %56 = load ptr, ptr %55, align 8 %57 = call ptr (ptr, ...) @gethostbyname(ptr noundef %56) store ptr %57, ptr %9, align 8 %58 = load ptr, ptr %9, align 8 %59 = icmp eq ptr %58, null br i1 %59, label %60, label %66 60: ; preds = %51 %61 = load ptr, ptr %5, align 8 %62 = getelementptr inbounds ptr, ptr %61, i64 1 %63 = load ptr, ptr %62, align 8 %64 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %63) %65 = call i32 @exit(i32 noundef 2) #3 unreachable 66: ; preds = %51 %67 = load ptr, ptr %9, align 8 %68 = getelementptr inbounds %struct.hostent, ptr %67, i32 0, i32 1 %69 = load i32, ptr %68, align 4 %70 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 1 %71 = load ptr, ptr %9, align 8 %72 = getelementptr inbounds %struct.hostent, ptr %71, i32 0, i32 0 %73 = load i32, ptr %72, align 4 %74 = call i32 @bcopy(i32 noundef %69, ptr noundef %70, i32 noundef %73) %75 = load ptr, ptr %5, align 8 %76 = getelementptr inbounds ptr, ptr %75, i64 2 %77 = load ptr, ptr %76, align 8 %78 = call i32 @atoi(ptr noundef %77) %79 = call i32 @htons(i32 noundef %78) %80 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0 store i32 %79, ptr %80, align 8 store i32 0, ptr %14, align 4 store i32 0, ptr %15, align 4 br label %81 81: ; preds = %133, %66 %82 = load i32, ptr %15, align 4 %83 = icmp slt i32 %82, 60 br i1 %83, label %84, label %136 84: ; preds = %81 %85 = load i32, ptr %14, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %14, align 4 %87 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0 %88 = load i32, ptr %14, align 4 %89 = load ptr, ptr %5, align 8 %90 = getelementptr inbounds ptr, ptr %89, i64 2 %91 = load ptr, ptr %90, align 8 %92 = call i32 @atoi(ptr noundef %91) %93 = call i32 @sprintf(ptr noundef %87, ptr noundef @.str.4, i32 noundef %88, i32 noundef 0, i32 noundef %92) %94 = load i32, ptr %6, align 4 %95 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0 %96 = call i32 @sendto(i32 noundef %94, ptr noundef %95, i32 noundef 1024, i32 noundef 0, ptr noundef %7, i32 noundef 16) store i32 %96, ptr %13, align 4 %97 = icmp slt i32 %96, 0 br i1 %97, label %98, label %100 98: ; preds = %84 %99 = call i32 @perror(ptr noundef @.str.5) br label %132 100: ; preds = %84 %101 = call i64 @gettimeofday(ptr noundef %19, ptr noundef %20) %102 = icmp slt i64 %101, 0 br i1 %102, label %103, label %106 103: ; preds = %100 %104 = call i32 @perror(ptr noundef @.str.6) %105 = call i32 @exit(i32 noundef 1) #3 unreachable 106: ; preds = %100 %107 = getelementptr inbounds %struct.timeval, ptr %19, i32 0, i32 1 %108 = call ptr @localtime(ptr noundef %107) store ptr %108, ptr %21, align 8 %109 = icmp ne ptr %108, null br i1 %109, label %110, label %119 110: ; preds = %106 %111 = getelementptr inbounds [64 x i8], ptr %11, i64 0, i64 0 %112 = load ptr, ptr %21, align 8 %113 = call i32 @strftime(ptr noundef %111, i32 noundef 64, ptr noundef @.str.7, ptr noundef %112) %114 = getelementptr inbounds [64 x i8], ptr %12, i64 0, i64 0 %115 = getelementptr inbounds [64 x i8], ptr %11, i64 0, i64 0 %116 = getelementptr inbounds %struct.timeval, ptr %19, i32 0, i32 0 %117 = load i32, ptr %116, align 4 %118 = call i32 @snprintf(ptr noundef %114, i32 noundef 64, ptr noundef %115, i32 noundef %117) br label %119 119: ; preds = %110, %106 %120 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 1 %121 = getelementptr inbounds %struct.TYPE_3__, ptr %120, i32 0, i32 0 %122 = load i32, ptr %121, align 4 %123 = call ptr @inet_ntoa(i32 %122) store ptr %123, ptr %18, align 8 %124 = load i32, ptr %14, align 4 %125 = getelementptr inbounds [64 x i8], ptr %12, i64 0, i64 0 %126 = load ptr, ptr %18, align 8 %127 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0 %128 = load i32, ptr %127, align 8 %129 = call i32 @htons(i32 noundef %128) %130 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %124, ptr noundef %125, ptr noundef %126, i32 noundef %129) %131 = call i32 @sleep(i32 noundef 1) br label %132 132: ; preds = %119, %98 br label %133 133: ; preds = %132 %134 = load i32, ptr %15, align 4 %135 = add nsw i32 %134, 1 store i32 %135, ptr %15, align 4 br label %81, !llvm.loop !6 136: ; preds = %81 %137 = load i32, ptr %6, align 4 %138 = call i32 @close(i32 noundef %137) store i32 0, ptr %3, align 4 br label %139 139: ; preds = %136, %24 %140 = load i32, ptr %3, align 4 ret i32 %140 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @socket(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare ptr @gethostbyname(...) #1 declare i32 @bcopy(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @gettimeofday(ptr noundef, ptr noundef) #1 declare ptr @localtime(ptr noundef) #1 declare i32 @strftime(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare ptr @inet_ntoa(i32) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpc7cznpaj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, %struct.TYPE_3__, ptr } %struct.TYPE_3__ = type { i32 } %struct.timeval = type { i32, i32 } %struct.timezone = type { i32 } %struct.hostent = type { i32, i32 } @.str = private unnamed_addr constant [38 x i8] c"usage: ./uclient <HA-ADDR> <HA-PORT>\0A\00", align 1 @AF_INET = dso_local global ptr null, align 8 @SOCK_DGRAM = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [24 x i8] c"Opening datagram socket\00", align 1 @INADDR_ANY = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [20 x i8] c"binding socket name\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"%s: unknown host\0A\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1 @.str.5 = private unnamed_addr constant [27 x i8] c"writing on datagram socket\00", align 1 @.str.6 = private unnamed_addr constant [13 x i8] c"getting time\00", align 1 @.str.7 = private unnamed_addr constant [9 x i8] c"%H:%M:%S\00", align 1 @.str.8 = private unnamed_addr constant [44 x i8] c"Sequence Number = %2d Time = %s Dest %s:%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 %struct.sockaddr_in, align 8 %8 = alloca %struct.sockaddr_in, align 8 %9 = alloca ptr, align 8 %10 = alloca [1024 x i8], align 16 %11 = alloca [64 x i8], align 16 %12 = alloca [64 x i8], align 16 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca ptr, align 8 %19 = alloca %struct.timeval, align 4 %20 = alloca %struct.timezone, align 4 %21 = 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 %22 = load i32, ptr %4, align 4 %23 = icmp slt i32 %22, 2 br i1 %23, label %24, label %29 24: ; preds = %2 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds ptr, ptr %25, i64 0 %27 = load ptr, ptr %26, align 8 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %27) store i32 0, ptr %3, align 4 br label %140 29: ; preds = %2 %30 = load ptr, ptr @AF_INET, align 8 %31 = load i32, ptr @SOCK_DGRAM, align 4 %32 = call i32 @socket(ptr noundef %30, i32 noundef %31, i32 noundef 0) store i32 %32, ptr %6, align 4 %33 = load i32, ptr %6, align 4 %34 = icmp slt i32 %33, 0 br i1 %34, label %35, label %38 35: ; preds = %29 %36 = call i32 @perror(ptr noundef @.str.1) %37 = call i32 @exit(i32 noundef 1) #3 unreachable 38: ; preds = %29 %39 = load ptr, ptr @AF_INET, align 8 %40 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 2 store ptr %39, ptr %40, align 8 %41 = load i32, ptr @INADDR_ANY, align 4 %42 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 1 %43 = getelementptr inbounds %struct.TYPE_3__, ptr %42, i32 0, i32 0 store i32 %41, ptr %43, align 4 %44 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 0 store i32 0, ptr %44, align 8 %45 = load i32, ptr %6, align 4 %46 = call i64 @bind(i32 noundef %45, ptr noundef %8, i32 noundef 16) %47 = icmp slt i64 %46, 0 br i1 %47, label %48, label %51 48: ; preds = %38 %49 = call i32 @perror(ptr noundef @.str.2) %50 = call i32 @exit(i32 noundef 1) #3 unreachable 51: ; preds = %38 %52 = load ptr, ptr @AF_INET, align 8 %53 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 2 store ptr %52, ptr %53, align 8 %54 = load ptr, ptr %5, align 8 %55 = getelementptr inbounds ptr, ptr %54, i64 1 %56 = load ptr, ptr %55, align 8 %57 = call ptr (ptr, ...) @gethostbyname(ptr noundef %56) store ptr %57, ptr %9, align 8 %58 = load ptr, ptr %9, align 8 %59 = icmp eq ptr %58, null br i1 %59, label %60, label %66 60: ; preds = %51 %61 = load ptr, ptr %5, align 8 %62 = getelementptr inbounds ptr, ptr %61, i64 1 %63 = load ptr, ptr %62, align 8 %64 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %63) %65 = call i32 @exit(i32 noundef 2) #3 unreachable 66: ; preds = %51 %67 = load ptr, ptr %9, align 8 %68 = getelementptr inbounds %struct.hostent, ptr %67, i32 0, i32 1 %69 = load i32, ptr %68, align 4 %70 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 1 %71 = load ptr, ptr %9, align 8 %72 = getelementptr inbounds %struct.hostent, ptr %71, i32 0, i32 0 %73 = load i32, ptr %72, align 4 %74 = call i32 @bcopy(i32 noundef %69, ptr noundef %70, i32 noundef %73) %75 = load ptr, ptr %5, align 8 %76 = getelementptr inbounds ptr, ptr %75, i64 2 %77 = load ptr, ptr %76, align 8 %78 = call i32 @atoi(ptr noundef %77) %79 = call i32 @htons(i32 noundef %78) %80 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0 store i32 %79, ptr %80, align 8 store i32 0, ptr %14, align 4 store i32 0, ptr %15, align 4 %81 = load i32, ptr %15, align 4 %82 = icmp slt i32 %81, 60 br i1 %82, label %.lr.ph, label %137 .lr.ph: ; preds = %66 br label %83 83: ; preds = %.lr.ph, %132 %84 = load i32, ptr %14, align 4 %85 = add nsw i32 %84, 1 store i32 %85, ptr %14, align 4 %86 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0 %87 = load i32, ptr %14, align 4 %88 = load ptr, ptr %5, align 8 %89 = getelementptr inbounds ptr, ptr %88, i64 2 %90 = load ptr, ptr %89, align 8 %91 = call i32 @atoi(ptr noundef %90) %92 = call i32 @sprintf(ptr noundef %86, ptr noundef @.str.4, i32 noundef %87, i32 noundef 0, i32 noundef %91) %93 = load i32, ptr %6, align 4 %94 = getelementptr inbounds [1024 x i8], ptr %10, i64 0, i64 0 %95 = call i32 @sendto(i32 noundef %93, ptr noundef %94, i32 noundef 1024, i32 noundef 0, ptr noundef %7, i32 noundef 16) store i32 %95, ptr %13, align 4 %96 = icmp slt i32 %95, 0 br i1 %96, label %97, label %99 97: ; preds = %83 %98 = call i32 @perror(ptr noundef @.str.5) br label %131 99: ; preds = %83 %100 = call i64 @gettimeofday(ptr noundef %19, ptr noundef %20) %101 = icmp slt i64 %100, 0 br i1 %101, label %102, label %105 102: ; preds = %99 %103 = call i32 @perror(ptr noundef @.str.6) %104 = call i32 @exit(i32 noundef 1) #3 unreachable 105: ; preds = %99 %106 = getelementptr inbounds %struct.timeval, ptr %19, i32 0, i32 1 %107 = call ptr @localtime(ptr noundef %106) store ptr %107, ptr %21, align 8 %108 = icmp ne ptr %107, null br i1 %108, label %109, label %118 109: ; preds = %105 %110 = getelementptr inbounds [64 x i8], ptr %11, i64 0, i64 0 %111 = load ptr, ptr %21, align 8 %112 = call i32 @strftime(ptr noundef %110, i32 noundef 64, ptr noundef @.str.7, ptr noundef %111) %113 = getelementptr inbounds [64 x i8], ptr %12, i64 0, i64 0 %114 = getelementptr inbounds [64 x i8], ptr %11, i64 0, i64 0 %115 = getelementptr inbounds %struct.timeval, ptr %19, i32 0, i32 0 %116 = load i32, ptr %115, align 4 %117 = call i32 @snprintf(ptr noundef %113, i32 noundef 64, ptr noundef %114, i32 noundef %116) br label %118 118: ; preds = %109, %105 %119 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 1 %120 = getelementptr inbounds %struct.TYPE_3__, ptr %119, i32 0, i32 0 %121 = load i32, ptr %120, align 4 %122 = call ptr @inet_ntoa(i32 %121) store ptr %122, ptr %18, align 8 %123 = load i32, ptr %14, align 4 %124 = getelementptr inbounds [64 x i8], ptr %12, i64 0, i64 0 %125 = load ptr, ptr %18, align 8 %126 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0 %127 = load i32, ptr %126, align 8 %128 = call i32 @htons(i32 noundef %127) %129 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %123, ptr noundef %124, ptr noundef %125, i32 noundef %128) %130 = call i32 @sleep(i32 noundef 1) br label %131 131: ; preds = %118, %97 br label %132 132: ; preds = %131 %133 = load i32, ptr %15, align 4 %134 = add nsw i32 %133, 1 store i32 %134, ptr %15, align 4 %135 = load i32, ptr %15, align 4 %136 = icmp slt i32 %135, 60 br i1 %136, label %83, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %132 br label %137 137: ; preds = %._crit_edge, %66 %138 = load i32, ptr %6, align 4 %139 = call i32 @close(i32 noundef %138) store i32 0, ptr %3, align 4 br label %140 140: ; preds = %137, %24 %141 = load i32, ptr %3, align 4 ret i32 %141 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @socket(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare ptr @gethostbyname(...) #1 declare i32 @bcopy(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @gettimeofday(ptr noundef, ptr noundef) #1 declare ptr @localtime(ptr noundef) #1 declare i32 @strftime(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare ptr @inet_ntoa(i32) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp_n0xekxq.c' source_filename = "/tmp/tmp_n0xekxq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @recomstep(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca i64, align 8 %18 = alloca i64, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 store ptr %4, ptr %10, align 8 %19 = load i32, ptr %8, align 4 %20 = zext i32 %19 to i64 %21 = load i32, ptr %9, align 4 %22 = zext i32 %21 to i64 %23 = call ptr @llvm.stacksave() store ptr %23, ptr %16, align 8 %24 = mul nuw i64 %20, %22 %25 = alloca double, i64 %24, align 16 store i64 %20, ptr %17, align 8 store i64 %22, ptr %18, align 8 store i32 0, ptr %11, align 4 br label %26 26: ; preds = %161, %5 %27 = load i32, ptr %11, align 4 %28 = load i32, ptr %8, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %30, label %164 30: ; preds = %26 %31 = load ptr, ptr %7, align 8 store ptr %31, ptr %15, align 8 store i32 0, ptr %12, align 4 br label %32 32: ; preds = %157, %30 %33 = load i32, ptr %12, align 4 %34 = load i32, ptr %9, align 4 %35 = icmp slt i32 %33, %34 br i1 %35, label %36, label %160 36: ; preds = %32 %37 = load i32, ptr %9, align 4 %38 = zext i32 %37 to i64 %39 = load ptr, ptr %6, align 8 %40 = load i32, ptr %11, align 4 %41 = sext i32 %40 to i64 %42 = mul nsw i64 %41, %38 %43 = getelementptr inbounds double, ptr %39, i64 %42 %44 = load i32, ptr %12, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds double, ptr %43, i64 %45 %47 = load double, ptr %46, align 8 %48 = load i32, ptr %9, align 4 %49 = zext i32 %48 to i64 %50 = load ptr, ptr %6, align 8 %51 = load i32, ptr %11, align 4 %52 = sext i32 %51 to i64 %53 = mul nsw i64 %52, %49 %54 = getelementptr inbounds double, ptr %50, i64 %53 %55 = load i32, ptr %12, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds double, ptr %54, i64 %56 %58 = load double, ptr %57, align 8 %59 = fmul double %47, %58 %60 = load ptr, ptr %10, align 8 %61 = load i32, ptr %11, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds i32, ptr %60, i64 %62 %64 = load i32, ptr %63, align 4 %65 = icmp ne i32 %64, 0 br i1 %65, label %66, label %72 66: ; preds = %36 %67 = load ptr, ptr %10, align 8 %68 = load i32, ptr %11, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds i32, ptr %67, i64 %69 %71 = load i32, ptr %70, align 4 br label %73 72: ; preds = %36 br label %73 73: ; preds = %72, %66 %74 = phi i32 [ %71, %66 ], [ 1, %72 ] %75 = uitofp i32 %74 to double %76 = fdiv double %59, %75 %77 = load i32, ptr %11, align 4 %78 = sext i32 %77 to i64 %79 = mul nsw i64 %78, %22 %80 = getelementptr inbounds double, ptr %25, i64 %79 %81 = load i32, ptr %12, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds double, ptr %80, i64 %82 store double %76, ptr %83, align 8 store i32 0, ptr %13, align 4 br label %84 84: ; preds = %153, %73 %85 = load i32, ptr %13, align 4 %86 = load i32, ptr %9, align 4 %87 = icmp slt i32 %85, %86 br i1 %87, label %88, label %156 88: ; preds = %84 %89 = load i32, ptr %13, align 4 %90 = add nsw i32 %89, 1 store i32 %90, ptr %14, align 4 br label %91 91: ; preds = %149, %88 %92 = load i32, ptr %14, align 4 %93 = load i32, ptr %9, align 4 %94 = icmp slt i32 %92, %93 br i1 %94, label %95, label %152 95: ; preds = %91 %96 = load ptr, ptr %15, align 8 %97 = getelementptr inbounds double, ptr %96, i32 1 store ptr %97, ptr %15, align 8 %98 = load double, ptr %96, align 8 %99 = load i32, ptr %9, align 4 %100 = zext i32 %99 to i64 %101 = load ptr, ptr %6, align 8 %102 = load i32, ptr %11, align 4 %103 = sext i32 %102 to i64 %104 = mul nsw i64 %103, %100 %105 = getelementptr inbounds double, ptr %101, i64 %104 %106 = load i32, ptr %13, align 4 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds double, ptr %105, i64 %107 %109 = load double, ptr %108, align 8 %110 = fmul double %98, %109 %111 = load i32, ptr %9, align 4 %112 = zext i32 %111 to i64 %113 = load ptr, ptr %6, align 8 %114 = load i32, ptr %11, align 4 %115 = sext i32 %114 to i64 %116 = mul nsw i64 %115, %112 %117 = getelementptr inbounds double, ptr %113, i64 %116 %118 = load i32, ptr %14, align 4 %119 = sext i32 %118 to i64 %120 = getelementptr inbounds double, ptr %117, i64 %119 %121 = load double, ptr %120, align 8 %122 = fmul double %110, %121 %123 = load ptr, ptr %10, align 8 %124 = load i32, ptr %11, align 4 %125 = sext i32 %124 to i64 %126 = getelementptr inbounds i32, ptr %123, i64 %125 %127 = load i32, ptr %126, align 4 %128 = icmp ne i32 %127, 0 br i1 %128, label %129, label %135 129: ; preds = %95 %130 = load ptr, ptr %10, align 8 %131 = load i32, ptr %11, align 4 %132 = sext i32 %131 to i64 %133 = getelementptr inbounds i32, ptr %130, i64 %132 %134 = load i32, ptr %133, align 4 br label %136 135: ; preds = %95 br label %136 136: ; preds = %135, %129 %137 = phi i32 [ %134, %129 ], [ 1, %135 ] %138 = uitofp i32 %137 to double %139 = fdiv double %122, %138 %140 = load i32, ptr %11, align 4 %141 = sext i32 %140 to i64 %142 = mul nsw i64 %141, %22 %143 = getelementptr inbounds double, ptr %25, i64 %142 %144 = load i32, ptr %12, align 4 %145 = sext i32 %144 to i64 %146 = getelementptr inbounds double, ptr %143, i64 %145 %147 = load double, ptr %146, align 8 %148 = fadd double %147, %139 store double %148, ptr %146, align 8 br label %149 149: ; preds = %136 %150 = load i32, ptr %14, align 4 %151 = add nsw i32 %150, 1 store i32 %151, ptr %14, align 4 br label %91, !llvm.loop !6 152: ; preds = %91 br label %153 153: ; preds = %152 %154 = load i32, ptr %13, align 4 %155 = add nsw i32 %154, 1 store i32 %155, ptr %13, align 4 br label %84, !llvm.loop !8 156: ; preds = %84 br label %157 157: ; preds = %156 %158 = load i32, ptr %12, align 4 %159 = add nsw i32 %158, 1 store i32 %159, ptr %12, align 4 br label %32, !llvm.loop !9 160: ; preds = %32 br label %161 161: ; preds = %160 %162 = load i32, ptr %11, align 4 %163 = add nsw i32 %162, 1 store i32 %163, ptr %11, align 4 br label %26, !llvm.loop !10 164: ; preds = %26 %165 = load ptr, ptr %6, align 8 %166 = load i32, ptr %8, align 4 %167 = sext i32 %166 to i64 %168 = mul i64 8, %167 %169 = load i32, ptr %9, align 4 %170 = sext i32 %169 to i64 %171 = mul i64 %168, %170 %172 = trunc i64 %171 to i32 %173 = call i32 @memcpy(ptr noundef %165, ptr noundef %25, i32 noundef %172) %174 = load ptr, ptr %16, align 8 call void @llvm.stackrestore(ptr %174) ret void } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_n0xekxq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @recomstep(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca i64, align 8 %18 = alloca i64, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 store ptr %4, ptr %10, align 8 %19 = load i32, ptr %8, align 4 %20 = zext i32 %19 to i64 %21 = load i32, ptr %9, align 4 %22 = zext i32 %21 to i64 %23 = call ptr @llvm.stacksave() store ptr %23, ptr %16, align 8 %24 = mul nuw i64 %20, %22 %25 = alloca double, i64 %24, align 16 store i64 %20, ptr %17, align 8 store i64 %22, ptr %18, align 8 store i32 0, ptr %11, align 4 %26 = load i32, ptr %11, align 4 %27 = load i32, ptr %8, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %.lr.ph8, label %172 .lr.ph8: ; preds = %5 br label %29 29: ; preds = %.lr.ph8, %166 %30 = load ptr, ptr %7, align 8 store ptr %30, ptr %15, align 8 store i32 0, ptr %12, align 4 %31 = load i32, ptr %12, align 4 %32 = load i32, ptr %9, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %.lr.ph5, label %165 .lr.ph5: ; preds = %29 br label %34 34: ; preds = %.lr.ph5, %159 %35 = load i32, ptr %9, align 4 %36 = zext i32 %35 to i64 %37 = load ptr, ptr %6, align 8 %38 = load i32, ptr %11, align 4 %39 = sext i32 %38 to i64 %40 = mul nsw i64 %39, %36 %41 = getelementptr inbounds double, ptr %37, i64 %40 %42 = load i32, ptr %12, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds double, ptr %41, i64 %43 %45 = load double, ptr %44, align 8 %46 = load i32, ptr %9, align 4 %47 = zext i32 %46 to i64 %48 = load ptr, ptr %6, align 8 %49 = load i32, ptr %11, align 4 %50 = sext i32 %49 to i64 %51 = mul nsw i64 %50, %47 %52 = getelementptr inbounds double, ptr %48, i64 %51 %53 = load i32, ptr %12, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds double, ptr %52, i64 %54 %56 = load double, ptr %55, align 8 %57 = fmul double %45, %56 %58 = load ptr, ptr %10, align 8 %59 = load i32, ptr %11, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i32, ptr %58, i64 %60 %62 = load i32, ptr %61, align 4 %63 = icmp ne i32 %62, 0 br i1 %63, label %64, label %70 64: ; preds = %34 %65 = load ptr, ptr %10, align 8 %66 = load i32, ptr %11, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds i32, ptr %65, i64 %67 %69 = load i32, ptr %68, align 4 br label %71 70: ; preds = %34 br label %71 71: ; preds = %70, %64 %72 = phi i32 [ %69, %64 ], [ 1, %70 ] %73 = uitofp i32 %72 to double %74 = fdiv double %57, %73 %75 = load i32, ptr %11, align 4 %76 = sext i32 %75 to i64 %77 = mul nsw i64 %76, %22 %78 = getelementptr inbounds double, ptr %25, i64 %77 %79 = load i32, ptr %12, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds double, ptr %78, i64 %80 store double %74, ptr %81, align 8 store i32 0, ptr %13, align 4 %82 = load i32, ptr %13, align 4 %83 = load i32, ptr %9, align 4 %84 = icmp slt i32 %82, %83 br i1 %84, label %.lr.ph2, label %158 .lr.ph2: ; preds = %71 br label %85 85: ; preds = %.lr.ph2, %152 %86 = load i32, ptr %13, align 4 %87 = add nsw i32 %86, 1 store i32 %87, ptr %14, align 4 %88 = load i32, ptr %14, align 4 %89 = load i32, ptr %9, align 4 %90 = icmp slt i32 %88, %89 br i1 %90, label %.lr.ph, label %151 .lr.ph: ; preds = %85 br label %91 91: ; preds = %.lr.ph, %145 %92 = load ptr, ptr %15, align 8 %93 = getelementptr inbounds double, ptr %92, i32 1 store ptr %93, ptr %15, align 8 %94 = load double, ptr %92, align 8 %95 = load i32, ptr %9, align 4 %96 = zext i32 %95 to i64 %97 = load ptr, ptr %6, align 8 %98 = load i32, ptr %11, align 4 %99 = sext i32 %98 to i64 %100 = mul nsw i64 %99, %96 %101 = getelementptr inbounds double, ptr %97, i64 %100 %102 = load i32, ptr %13, align 4 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds double, ptr %101, i64 %103 %105 = load double, ptr %104, align 8 %106 = fmul double %94, %105 %107 = load i32, ptr %9, align 4 %108 = zext i32 %107 to i64 %109 = load ptr, ptr %6, align 8 %110 = load i32, ptr %11, align 4 %111 = sext i32 %110 to i64 %112 = mul nsw i64 %111, %108 %113 = getelementptr inbounds double, ptr %109, i64 %112 %114 = load i32, ptr %14, align 4 %115 = sext i32 %114 to i64 %116 = getelementptr inbounds double, ptr %113, i64 %115 %117 = load double, ptr %116, align 8 %118 = fmul double %106, %117 %119 = load ptr, ptr %10, align 8 %120 = load i32, ptr %11, align 4 %121 = sext i32 %120 to i64 %122 = getelementptr inbounds i32, ptr %119, i64 %121 %123 = load i32, ptr %122, align 4 %124 = icmp ne i32 %123, 0 br i1 %124, label %125, label %131 125: ; preds = %91 %126 = load ptr, ptr %10, align 8 %127 = load i32, ptr %11, align 4 %128 = sext i32 %127 to i64 %129 = getelementptr inbounds i32, ptr %126, i64 %128 %130 = load i32, ptr %129, align 4 br label %132 131: ; preds = %91 br label %132 132: ; preds = %131, %125 %133 = phi i32 [ %130, %125 ], [ 1, %131 ] %134 = uitofp i32 %133 to double %135 = fdiv double %118, %134 %136 = load i32, ptr %11, align 4 %137 = sext i32 %136 to i64 %138 = mul nsw i64 %137, %22 %139 = getelementptr inbounds double, ptr %25, i64 %138 %140 = load i32, ptr %12, align 4 %141 = sext i32 %140 to i64 %142 = getelementptr inbounds double, ptr %139, i64 %141 %143 = load double, ptr %142, align 8 %144 = fadd double %143, %135 store double %144, ptr %142, align 8 br label %145 145: ; preds = %132 %146 = load i32, ptr %14, align 4 %147 = add nsw i32 %146, 1 store i32 %147, ptr %14, align 4 %148 = load i32, ptr %14, align 4 %149 = load i32, ptr %9, align 4 %150 = icmp slt i32 %148, %149 br i1 %150, label %91, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %145 br label %151 151: ; preds = %._crit_edge, %85 br label %152 152: ; preds = %151 %153 = load i32, ptr %13, align 4 %154 = add nsw i32 %153, 1 store i32 %154, ptr %13, align 4 %155 = load i32, ptr %13, align 4 %156 = load i32, ptr %9, align 4 %157 = icmp slt i32 %155, %156 br i1 %157, label %85, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %152 br label %158 158: ; preds = %._crit_edge3, %71 br label %159 159: ; preds = %158 %160 = load i32, ptr %12, align 4 %161 = add nsw i32 %160, 1 store i32 %161, ptr %12, align 4 %162 = load i32, ptr %12, align 4 %163 = load i32, ptr %9, align 4 %164 = icmp slt i32 %162, %163 br i1 %164, label %34, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %159 br label %165 165: ; preds = %._crit_edge6, %29 br label %166 166: ; preds = %165 %167 = load i32, ptr %11, align 4 %168 = add nsw i32 %167, 1 store i32 %168, ptr %11, align 4 %169 = load i32, ptr %11, align 4 %170 = load i32, ptr %8, align 4 %171 = icmp slt i32 %169, %170 br i1 %171, label %29, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %166 br label %172 172: ; preds = %._crit_edge9, %5 %173 = load ptr, ptr %6, align 8 %174 = load i32, ptr %8, align 4 %175 = sext i32 %174 to i64 %176 = mul i64 8, %175 %177 = load i32, ptr %9, align 4 %178 = sext i32 %177 to i64 %179 = mul i64 %176, %178 %180 = trunc i64 %179 to i32 %181 = call i32 @memcpy(ptr noundef %173, ptr noundef %25, i32 noundef %180) %182 = load ptr, ptr %16, align 8 call void @llvm.stackrestore(ptr %182) ret void } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmp4wp76fo3.c' source_filename = "/tmp/tmp4wp76fo3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = dso_local global i32 0, align 4 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @echo_cli(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca [1024 x i8], align 16 %4 = alloca [1024 x i8], align 16 store i32 %0, ptr %2, align 4 call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 1024, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 1024, i1 false) br label %5 5: ; preds = %10, %1 %6 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0 %7 = load i32, ptr @stdin, align 4 %8 = call ptr @fgets(ptr noundef %6, i32 noundef 1024, i32 noundef %7) %9 = icmp ne ptr %8, null br i1 %9, label %10, label %26 10: ; preds = %5 %11 = load i32, ptr %2, align 4 %12 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0 %13 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0 %14 = call i32 @strlen(ptr noundef %13) %15 = call i32 @write(i32 noundef %11, ptr noundef %12, i32 noundef %14) %16 = load i32, ptr %2, align 4 %17 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0 %18 = call i32 @read(i32 noundef %16, ptr noundef %17, i32 noundef 1024) %19 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0 %20 = load i32, ptr @stdout, align 4 %21 = call i32 @fputs(ptr noundef %19, i32 noundef %20) %22 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0 %23 = call i32 @memset(ptr noundef %22, i32 noundef 0, i32 noundef 1024) %24 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0 %25 = call i32 @memset(ptr noundef %24, i32 noundef 0, i32 noundef 1024) br label %5, !llvm.loop !6 26: ; preds = %5 %27 = load i32, ptr %2, align 4 %28 = call i32 @close(i32 noundef %27) ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare ptr @fgets(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @strlen(ptr noundef) #2 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @fputs(ptr noundef, i32 noundef) #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @close(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4wp76fo3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = dso_local global i32 0, align 4 @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @echo_cli(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca [1024 x i8], align 16 %4 = alloca [1024 x i8], align 16 store i32 %0, ptr %2, align 4 call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 1024, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 1024, i1 false) %5 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0 %6 = load i32, ptr @stdin, align 4 %7 = call ptr @fgets(ptr noundef %5, i32 noundef 1024, i32 noundef %6) %8 = icmp ne ptr %7, null br i1 %8, label %.lr.ph, label %28 .lr.ph: ; preds = %1 br label %9 9: ; preds = %.lr.ph, %9 %10 = load i32, ptr %2, align 4 %11 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0 %12 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0 %13 = call i32 @strlen(ptr noundef %12) %14 = call i32 @write(i32 noundef %10, ptr noundef %11, i32 noundef %13) %15 = load i32, ptr %2, align 4 %16 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0 %17 = call i32 @read(i32 noundef %15, ptr noundef %16, i32 noundef 1024) %18 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0 %19 = load i32, ptr @stdout, align 4 %20 = call i32 @fputs(ptr noundef %18, i32 noundef %19) %21 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0 %22 = call i32 @memset(ptr noundef %21, i32 noundef 0, i32 noundef 1024) %23 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0 %24 = call i32 @memset(ptr noundef %23, i32 noundef 0, i32 noundef 1024) %25 = load i32, ptr @stdin, align 4 %26 = call ptr @fgets(ptr noundef %5, i32 noundef 1024, i32 noundef %25) %27 = icmp ne ptr %26, null br i1 %27, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %9 br label %28 28: ; preds = %._crit_edge, %1 %29 = load i32, ptr %2, align 4 %30 = call i32 @close(i32 noundef %29) ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare ptr @fgets(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @strlen(ptr noundef) #2 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @fputs(ptr noundef, i32 noundef) #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2 declare i32 @close(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp1lamwzbf.c' source_filename = "/tmp/tmp1lamwzbf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [45 x i8] c"Terminating after receipt of SIGQUIT signal\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sigquit_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 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1lamwzbf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [45 x i8] c"Terminating after receipt of SIGQUIT signal\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sigquit_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 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1si9c33c.c' source_filename = "/tmp/tmp1si9c33c.c" target datalayout = "e-m:e-p270: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.ifreq = type { %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32, ptr } @PF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [40 x i8] c"Could not get socket to set MAC address\00", align 1 @ARPHRD_ETHER = dso_local global i32 0, align 4 @SIOCSIFHWADDR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [21 x i8] c"SIOCSIFHWADDR failed\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_macaddr(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca %struct.ifreq, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load i32, ptr @PF_INET, align 4 %8 = load i32, ptr @SOCK_DGRAM, align 4 %9 = call i32 @socket(i32 noundef %7, i32 noundef %8, i32 noundef 0) store i32 %9, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = icmp eq i32 %10, -1 br i1 %11, label %12, label %14 12: ; preds = %2 %13 = call i32 @fatal(ptr noundef @.str) br label %14 14: ; preds = %12, %2 %15 = getelementptr inbounds %struct.ifreq, ptr %5, i32 0, i32 1 %16 = load i32, ptr %15, align 8 %17 = load ptr, ptr %3, align 8 %18 = call i32 @strcpy(i32 noundef %16, ptr noundef %17) %19 = getelementptr inbounds %struct.ifreq, ptr %5, i32 0, i32 0 %20 = getelementptr inbounds %struct.TYPE_2__, ptr %19, i32 0, i32 1 %21 = load ptr, ptr %20, align 8 %22 = getelementptr inbounds i32, ptr %21, i64 0 %23 = load ptr, ptr %4, align 8 %24 = call i32 @memcpy(ptr noundef %22, ptr noundef %23, i32 noundef 6) %25 = load i32, ptr @ARPHRD_ETHER, align 4 %26 = getelementptr inbounds %struct.ifreq, ptr %5, i32 0, i32 0 %27 = getelementptr inbounds %struct.TYPE_2__, ptr %26, i32 0, i32 0 store i32 %25, ptr %27, align 8 %28 = load i32, ptr %6, align 4 %29 = load i32, ptr @SIOCSIFHWADDR, align 4 %30 = call i32 @ioctl(i32 noundef %28, i32 noundef %29, ptr noundef %5) %31 = icmp eq i32 %30, -1 br i1 %31, label %32, label %34 32: ; preds = %14 %33 = call i32 @fatal(ptr noundef @.str.1) br label %34 34: ; preds = %32, %14 %35 = load i32, ptr %6, align 4 %36 = call i32 @close(i32 noundef %35) ret void } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @fatal(ptr noundef) #1 declare i32 @strcpy(i32 noundef, ptr noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1si9c33c.c" target datalayout = "e-m:e-p270: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.ifreq = type { %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32, ptr } @PF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [40 x i8] c"Could not get socket to set MAC address\00", align 1 @ARPHRD_ETHER = dso_local global i32 0, align 4 @SIOCSIFHWADDR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [21 x i8] c"SIOCSIFHWADDR failed\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_macaddr(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca %struct.ifreq, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load i32, ptr @PF_INET, align 4 %8 = load i32, ptr @SOCK_DGRAM, align 4 %9 = call i32 @socket(i32 noundef %7, i32 noundef %8, i32 noundef 0) store i32 %9, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = icmp eq i32 %10, -1 br i1 %11, label %12, label %14 12: ; preds = %2 %13 = call i32 @fatal(ptr noundef @.str) br label %14 14: ; preds = %12, %2 %15 = getelementptr inbounds %struct.ifreq, ptr %5, i32 0, i32 1 %16 = load i32, ptr %15, align 8 %17 = load ptr, ptr %3, align 8 %18 = call i32 @strcpy(i32 noundef %16, ptr noundef %17) %19 = getelementptr inbounds %struct.ifreq, ptr %5, i32 0, i32 0 %20 = getelementptr inbounds %struct.TYPE_2__, ptr %19, i32 0, i32 1 %21 = load ptr, ptr %20, align 8 %22 = getelementptr inbounds i32, ptr %21, i64 0 %23 = load ptr, ptr %4, align 8 %24 = call i32 @memcpy(ptr noundef %22, ptr noundef %23, i32 noundef 6) %25 = load i32, ptr @ARPHRD_ETHER, align 4 %26 = getelementptr inbounds %struct.ifreq, ptr %5, i32 0, i32 0 %27 = getelementptr inbounds %struct.TYPE_2__, ptr %26, i32 0, i32 0 store i32 %25, ptr %27, align 8 %28 = load i32, ptr %6, align 4 %29 = load i32, ptr @SIOCSIFHWADDR, align 4 %30 = call i32 @ioctl(i32 noundef %28, i32 noundef %29, ptr noundef %5) %31 = icmp eq i32 %30, -1 br i1 %31, label %32, label %34 32: ; preds = %14 %33 = call i32 @fatal(ptr noundef @.str.1) br label %34 34: ; preds = %32, %14 %35 = load i32, ptr %6, align 4 %36 = call i32 @close(i32 noundef %35) ret void } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @fatal(ptr noundef) #1 declare i32 @strcpy(i32 noundef, ptr noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpec20bm_6.c' source_filename = "/tmp/tmpec20bm_6.c" target datalayout = "e-m:e-p270: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/tmpec20bm_6.c" target datalayout = "e-m:e-p270: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/tmpcrqkldad.c' source_filename = "/tmp/tmpcrqkldad.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @USBSTK5515_ULED_toggle(i16 noundef zeroext %0) #0 { %2 = alloca i16, align 2 %3 = alloca i16, align 2 %4 = alloca i16, align 2 %5 = alloca i16, align 2 %6 = alloca i16, align 2 store i16 %0, ptr %3, align 2 %7 = load i16, ptr %3, align 2 %8 = zext i16 %7 to i32 %9 = sub nsw i32 3, %8 %10 = shl i32 1, %9 %11 = trunc i32 %10 to i16 store i16 %11, ptr %6, align 2 %12 = call i64 @USBSTK5515_ULED_getall(ptr noundef %4) %13 = icmp ne i64 %12, 0 br i1 %13, label %14, label %15 14: ; preds = %1 store i16 -1, ptr %2, align 2 br label %43 15: ; preds = %1 %16 = load i16, ptr %4, align 2 %17 = zext i16 %16 to i32 %18 = load i16, ptr %6, align 2 %19 = zext i16 %18 to i32 %20 = and i32 %17, %19 %21 = icmp eq i32 %20, 0 br i1 %21, label %22, label %29 22: ; preds = %15 %23 = load i16, ptr %4, align 2 %24 = zext i16 %23 to i32 %25 = load i16, ptr %6, align 2 %26 = zext i16 %25 to i32 %27 = or i32 %24, %26 %28 = trunc i32 %27 to i16 store i16 %28, ptr %5, align 2 br label %37 29: ; preds = %15 %30 = load i16, ptr %4, align 2 %31 = zext i16 %30 to i32 %32 = load i16, ptr %6, align 2 %33 = zext i16 %32 to i32 %34 = xor i32 %33, -1 %35 = and i32 %31, %34 %36 = trunc i32 %35 to i16 store i16 %36, ptr %5, align 2 br label %37 37: ; preds = %29, %22 %38 = load i16, ptr %5, align 2 %39 = call i64 @USBSTK5515_ULED_setall(i16 noundef zeroext %38) %40 = icmp ne i64 %39, 0 br i1 %40, label %41, label %42 41: ; preds = %37 store i16 -1, ptr %2, align 2 br label %43 42: ; preds = %37 store i16 0, ptr %2, align 2 br label %43 43: ; preds = %42, %41, %14 %44 = load i16, ptr %2, align 2 ret i16 %44 } declare i64 @USBSTK5515_ULED_getall(ptr noundef) #1 declare i64 @USBSTK5515_ULED_setall(i16 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcrqkldad.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @USBSTK5515_ULED_toggle(i16 noundef zeroext %0) #0 { %2 = alloca i16, align 2 %3 = alloca i16, align 2 %4 = alloca i16, align 2 %5 = alloca i16, align 2 %6 = alloca i16, align 2 store i16 %0, ptr %3, align 2 %7 = load i16, ptr %3, align 2 %8 = zext i16 %7 to i32 %9 = sub nsw i32 3, %8 %10 = shl i32 1, %9 %11 = trunc i32 %10 to i16 store i16 %11, ptr %6, align 2 %12 = call i64 @USBSTK5515_ULED_getall(ptr noundef %4) %13 = icmp ne i64 %12, 0 br i1 %13, label %14, label %15 14: ; preds = %1 store i16 -1, ptr %2, align 2 br label %43 15: ; preds = %1 %16 = load i16, ptr %4, align 2 %17 = zext i16 %16 to i32 %18 = load i16, ptr %6, align 2 %19 = zext i16 %18 to i32 %20 = and i32 %17, %19 %21 = icmp eq i32 %20, 0 br i1 %21, label %22, label %29 22: ; preds = %15 %23 = load i16, ptr %4, align 2 %24 = zext i16 %23 to i32 %25 = load i16, ptr %6, align 2 %26 = zext i16 %25 to i32 %27 = or i32 %24, %26 %28 = trunc i32 %27 to i16 store i16 %28, ptr %5, align 2 br label %37 29: ; preds = %15 %30 = load i16, ptr %4, align 2 %31 = zext i16 %30 to i32 %32 = load i16, ptr %6, align 2 %33 = zext i16 %32 to i32 %34 = xor i32 %33, -1 %35 = and i32 %31, %34 %36 = trunc i32 %35 to i16 store i16 %36, ptr %5, align 2 br label %37 37: ; preds = %29, %22 %38 = load i16, ptr %5, align 2 %39 = call i64 @USBSTK5515_ULED_setall(i16 noundef zeroext %38) %40 = icmp ne i64 %39, 0 br i1 %40, label %41, label %42 41: ; preds = %37 store i16 -1, ptr %2, align 2 br label %43 42: ; preds = %37 store i16 0, ptr %2, align 2 br label %43 43: ; preds = %42, %41, %14 %44 = load i16, ptr %2, align 2 ret i16 %44 } declare i64 @USBSTK5515_ULED_getall(ptr noundef) #1 declare i64 @USBSTK5515_ULED_setall(i16 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpejokxs5_.c' source_filename = "/tmp/tmpejokxs5_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @outTriangularMat(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %19, %2 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %10, label %22 10: ; preds = %6 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds ptr, ptr %11, i64 %13 %15 = load ptr, ptr %14, align 8 %16 = load i32, ptr %5, align 4 %17 = add nsw i32 %16, 1 %18 = call i32 @outArrInt(ptr noundef %15, i32 noundef %17) br label %19 19: ; preds = %10 %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 @printf(ptr noundef @.str) ret void } declare i32 @outArrInt(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpejokxs5_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @outTriangularMat(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %.lr.ph, label %24 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %18 %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %5, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds ptr, ptr %10, i64 %12 %14 = load ptr, ptr %13, align 8 %15 = load i32, ptr %5, align 4 %16 = add nsw i32 %15, 1 %17 = call i32 @outArrInt(ptr noundef %14, i32 noundef %16) br label %18 18: ; preds = %9 %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 i32, ptr %4, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %18 br label %24 24: ; preds = %._crit_edge, %2 %25 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @outArrInt(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp6h_y9k7b.c' source_filename = "/tmp/tmp6h_y9k7b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"Error getting temporary file name\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"/etc/mtab\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.4 = private unnamed_addr constant [28 x i8] c"Can't create temporary file\00", align 1 @EOF = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [13 x i8] c"%s %s %s %s\0A\00", align 1 @.str.6 = private unnamed_addr constant [32 x i8] c"Can't delete old /etc/mtab file\00", align 1 @.str.7 = private unnamed_addr constant [27 x i8] c"Error installing /etc/mtab\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @add2mtab(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %13 = call ptr @tmpnam(ptr noundef null) store ptr %13, ptr %11, align 8 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %18 15: ; preds = %4 %16 = call i32 @perror(ptr noundef @.str) %17 = call i32 @exit(i32 noundef 1) #3 unreachable 18: ; preds = %4 %19 = call ptr @fopen(ptr noundef @.str.1, ptr noundef @.str.2) store ptr %19, ptr %9, align 8 %20 = load ptr, ptr %11, align 8 %21 = call ptr @fopen(ptr noundef %20, ptr noundef @.str.3) store ptr %21, ptr %10, align 8 %22 = load ptr, ptr %10, align 8 %23 = icmp ne ptr %22, null br i1 %23, label %27, label %24 24: ; preds = %18 %25 = call i32 @perror(ptr noundef @.str.4) %26 = call i32 @exit(i32 noundef 1) #3 unreachable 27: ; preds = %18 %28 = load ptr, ptr %9, align 8 %29 = icmp ne ptr %28, null br i1 %29, label %30, label %45 30: ; preds = %27 br label %31 31: ; preds = %38, %30 %32 = load ptr, ptr %9, align 8 %33 = call i32 @fgetc(ptr noundef %32) store i32 %33, ptr %12, align 4 %34 = load i32, ptr %12, align 4 %35 = load i32, ptr @EOF, align 4 %36 = icmp eq i32 %34, %35 br i1 %36, label %37, label %38 37: ; preds = %31 br label %42 38: ; preds = %31 %39 = load i32, ptr %12, align 4 %40 = load ptr, ptr %10, align 8 %41 = call i32 @fputc(i32 noundef %39, ptr noundef %40) br label %31 42: ; preds = %37 %43 = load ptr, ptr %9, align 8 %44 = call i32 @fclose(ptr noundef %43) br label %45 45: ; preds = %42, %27 %46 = load ptr, ptr %10, align 8 %47 = load ptr, ptr %5, align 8 %48 = load ptr, ptr %6, align 8 %49 = load ptr, ptr %7, align 8 %50 = load ptr, ptr %8, align 8 %51 = call i32 @fprintf(ptr noundef %46, ptr noundef @.str.5, ptr noundef %47, ptr noundef %48, ptr noundef %49, ptr noundef %50) %52 = load ptr, ptr %10, align 8 %53 = call i32 @fclose(ptr noundef %52) %54 = load ptr, ptr %9, align 8 %55 = icmp ne ptr %54, null br i1 %55, label %56, label %62 56: ; preds = %45 %57 = call i64 @unlink(ptr noundef @.str.1) %58 = icmp slt i64 %57, 0 br i1 %58, label %59, label %62 59: ; preds = %56 %60 = call i32 @perror(ptr noundef @.str.6) %61 = call i32 @exit(i32 noundef 1) #3 unreachable 62: ; preds = %56, %45 %63 = load ptr, ptr %11, align 8 %64 = call i64 @rename(ptr noundef %63, ptr noundef @.str.1) %65 = icmp slt i64 %64, 0 br i1 %65, label %66, label %69 66: ; preds = %62 %67 = call i32 @perror(ptr noundef @.str.7) %68 = call i32 @exit(i32 noundef 1) #3 unreachable 69: ; preds = %62 ret i32 0 } declare ptr @tmpnam(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fgetc(ptr noundef) #1 declare i32 @fputc(i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @unlink(ptr noundef) #1 declare i64 @rename(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6h_y9k7b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"Error getting temporary file name\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"/etc/mtab\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.4 = private unnamed_addr constant [28 x i8] c"Can't create temporary file\00", align 1 @EOF = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [13 x i8] c"%s %s %s %s\0A\00", align 1 @.str.6 = private unnamed_addr constant [32 x i8] c"Can't delete old /etc/mtab file\00", align 1 @.str.7 = private unnamed_addr constant [27 x i8] c"Error installing /etc/mtab\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @add2mtab(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %13 = call ptr @tmpnam(ptr noundef null) store ptr %13, ptr %11, align 8 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %18 15: ; preds = %4 %16 = call i32 @perror(ptr noundef @.str) %17 = call i32 @exit(i32 noundef 1) #3 unreachable 18: ; preds = %4 %19 = call ptr @fopen(ptr noundef @.str.1, ptr noundef @.str.2) store ptr %19, ptr %9, align 8 %20 = load ptr, ptr %11, align 8 %21 = call ptr @fopen(ptr noundef %20, ptr noundef @.str.3) store ptr %21, ptr %10, align 8 %22 = load ptr, ptr %10, align 8 %23 = icmp ne ptr %22, null br i1 %23, label %27, label %24 24: ; preds = %18 %25 = call i32 @perror(ptr noundef @.str.4) %26 = call i32 @exit(i32 noundef 1) #3 unreachable 27: ; preds = %18 %28 = load ptr, ptr %9, align 8 %29 = icmp ne ptr %28, null br i1 %29, label %30, label %49 30: ; preds = %27 %31 = load ptr, ptr %9, align 8 %32 = call i32 @fgetc(ptr noundef %31) store i32 %32, ptr %12, align 4 %33 = load i32, ptr %12, align 4 %34 = load i32, ptr @EOF, align 4 %35 = icmp eq i32 %33, %34 br i1 %35, label %36, label %.lr.ph .lr.ph: ; preds = %30 br label %37 ._crit_edge: ; preds = %37 br label %36 36: ; preds = %._crit_edge, %30 br label %46 37: ; preds = %.lr.ph, %37 %38 = load i32, ptr %12, align 4 %39 = load ptr, ptr %10, align 8 %40 = call i32 @fputc(i32 noundef %38, ptr noundef %39) %41 = load ptr, ptr %9, align 8 %42 = call i32 @fgetc(ptr noundef %41) store i32 %42, ptr %12, align 4 %43 = load i32, ptr %12, align 4 %44 = load i32, ptr @EOF, align 4 %45 = icmp eq i32 %43, %44 br i1 %45, label %._crit_edge, label %37 46: ; preds = %36 %47 = load ptr, ptr %9, align 8 %48 = call i32 @fclose(ptr noundef %47) br label %49 49: ; preds = %46, %27 %50 = load ptr, ptr %10, align 8 %51 = load ptr, ptr %5, align 8 %52 = load ptr, ptr %6, align 8 %53 = load ptr, ptr %7, align 8 %54 = load ptr, ptr %8, align 8 %55 = call i32 @fprintf(ptr noundef %50, ptr noundef @.str.5, ptr noundef %51, ptr noundef %52, ptr noundef %53, ptr noundef %54) %56 = load ptr, ptr %10, align 8 %57 = call i32 @fclose(ptr noundef %56) %58 = load ptr, ptr %9, align 8 %59 = icmp ne ptr %58, null br i1 %59, label %60, label %66 60: ; preds = %49 %61 = call i64 @unlink(ptr noundef @.str.1) %62 = icmp slt i64 %61, 0 br i1 %62, label %63, label %66 63: ; preds = %60 %64 = call i32 @perror(ptr noundef @.str.6) %65 = call i32 @exit(i32 noundef 1) #3 unreachable 66: ; preds = %60, %49 %67 = load ptr, ptr %11, align 8 %68 = call i64 @rename(ptr noundef %67, ptr noundef @.str.1) %69 = icmp slt i64 %68, 0 br i1 %69, label %70, label %73 70: ; preds = %66 %71 = call i32 @perror(ptr noundef @.str.7) %72 = call i32 @exit(i32 noundef 1) #3 unreachable 73: ; preds = %66 ret i32 0 } declare ptr @tmpnam(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fgetc(ptr noundef) #1 declare i32 @fputc(i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @unlink(ptr noundef) #1 declare i64 @rename(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplcg5mkwu.c' source_filename = "/tmp/tmplcg5mkwu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stricmp(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 br label %6 6: ; preds = %20, %2 %7 = load ptr, ptr %4, align 8 %8 = load i8, ptr %7, align 1 %9 = call i64 @tolower(i8 noundef signext %8) %10 = load ptr, ptr %5, align 8 %11 = load i8, ptr %10, align 1 %12 = call i64 @tolower(i8 noundef signext %11) %13 = icmp eq i64 %9, %12 br i1 %13, label %14, label %25 14: ; preds = %6 %15 = load ptr, ptr %4, align 8 %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 = %14 store i32 0, ptr %3, align 4 br label %35 20: ; preds = %14 %21 = load ptr, ptr %4, align 8 %22 = getelementptr inbounds i8, ptr %21, i32 1 store ptr %22, ptr %4, align 8 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds i8, ptr %23, i32 1 store ptr %24, ptr %5, align 8 br label %6, !llvm.loop !6 25: ; preds = %6 %26 = load ptr, ptr %4, align 8 %27 = load i8, ptr %26, align 1 %28 = call i64 @tolower(i8 noundef signext %27) %29 = trunc i64 %28 to i32 %30 = load ptr, ptr %5, align 8 %31 = load i8, ptr %30, align 1 %32 = call i64 @tolower(i8 noundef signext %31) %33 = trunc i64 %32 to i32 %34 = sub nsw i32 %29, %33 store i32 %34, ptr %3, align 4 br label %35 35: ; preds = %25, %19 %36 = load i32, ptr %3, align 4 ret i32 %36 } declare i64 @tolower(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplcg5mkwu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stricmp(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = load i8, ptr %6, align 1 %8 = call i64 @tolower(i8 noundef signext %7) %9 = load ptr, ptr %5, align 8 %10 = load i8, ptr %9, align 1 %11 = call i64 @tolower(i8 noundef signext %10) %12 = icmp eq i64 %8, %11 br i1 %12, label %.lr.ph, label %31 .lr.ph: ; preds = %2 br label %13 13: ; preds = %.lr.ph, %19 %14 = load ptr, ptr %4, align 8 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp eq i32 %16, 0 br i1 %17, label %18, label %19 18: ; preds = %13 store i32 0, ptr %3, align 4 br label %41 19: ; preds = %13 %20 = load ptr, ptr %4, align 8 %21 = getelementptr inbounds i8, ptr %20, i32 1 store ptr %21, ptr %4, align 8 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds i8, ptr %22, i32 1 store ptr %23, ptr %5, align 8 %24 = load ptr, ptr %4, align 8 %25 = load i8, ptr %24, align 1 %26 = call i64 @tolower(i8 noundef signext %25) %27 = load ptr, ptr %5, align 8 %28 = load i8, ptr %27, align 1 %29 = call i64 @tolower(i8 noundef signext %28) %30 = icmp eq i64 %26, %29 br i1 %30, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %31 31: ; preds = %._crit_edge, %2 %32 = load ptr, ptr %4, align 8 %33 = load i8, ptr %32, align 1 %34 = call i64 @tolower(i8 noundef signext %33) %35 = trunc i64 %34 to i32 %36 = load ptr, ptr %5, align 8 %37 = load i8, ptr %36, align 1 %38 = call i64 @tolower(i8 noundef signext %37) %39 = trunc i64 %38 to i32 %40 = sub nsw i32 %35, %39 store i32 %40, ptr %3, align 4 br label %41 41: ; preds = %31, %18 %42 = load i32, ptr %3, align 4 ret i32 %42 } declare i64 @tolower(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpalo_js1p.c' source_filename = "/tmp/tmpalo_js1p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @asciiToInt(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @sscanf(ptr noundef %4, ptr noundef @.str, ptr noundef %3) %6 = load i32, ptr %3, align 4 ret i32 %6 } declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpalo_js1p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @asciiToInt(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @sscanf(ptr noundef %4, ptr noundef @.str, ptr noundef %3) %6 = load i32, ptr %3, align 4 ret i32 %6 } declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_fawctqs.c' source_filename = "/tmp/tmp_fawctqs.c" target datalayout = "e-m:e-p270: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_fawctqs.c" target datalayout = "e-m:e-p270: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/tmpycel32du.c' source_filename = "/tmp/tmpycel32du.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__libc_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @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/tmpycel32du.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__libc_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @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/tmp9cv6ehx1.c' source_filename = "/tmp/tmp9cv6ehx1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [35 x i8] c"NOT IMPLEMENTED:pa_memtrap_remove\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pa_memtrap_remove() #0 { %1 = alloca i32, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = load i32, ptr %1, align 4 ret i32 %3 } 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/tmp9cv6ehx1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [35 x i8] c"NOT IMPLEMENTED:pa_memtrap_remove\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pa_memtrap_remove() #0 { %1 = alloca i32, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = load i32, ptr %1, align 4 ret i32 %3 } 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/tmp1ccs445a.c' source_filename = "/tmp/tmp1ccs445a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A Matrix is :\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c"\0A Transpose of Mat\0A\00", align 1 @.str.4 = private unnamed_addr constant [27 x i8] c"\0A Mirror image of Matrix \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca [5 x [3 x i32]], align 16 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %4, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %2, align 4 br label %6 6: ; preds = %36, %0 %7 = load i32, ptr %2, align 4 %8 = icmp slt i32 %7, 5 br i1 %8, label %9, label %39 9: ; preds = %6 store i32 0, ptr %3, align 4 br label %10 10: ; preds = %31, %9 %11 = load i32, ptr %3, align 4 %12 = icmp slt i32 %11, 3 br i1 %12, label %13, label %34 13: ; preds = %10 %14 = load i32, ptr %4, align 4 %15 = load i32, ptr %2, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds [5 x [3 x i32]], ptr %1, i64 0, i64 %16 %18 = load i32, ptr %3, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds [3 x i32], ptr %17, i64 0, i64 %19 store i32 %14, ptr %20, align 4 %21 = load i32, ptr %4, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %4, align 4 %23 = load i32, ptr %2, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [5 x [3 x i32]], ptr %1, i64 0, i64 %24 %26 = load i32, ptr %3, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [3 x i32], ptr %25, i64 0, i64 %27 %29 = load i32, ptr %28, align 4 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %29) br label %31 31: ; preds = %13 %32 = load i32, ptr %3, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %3, align 4 br label %10, !llvm.loop !6 34: ; preds = %10 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %36 36: ; preds = %34 %37 = load i32, ptr %2, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %2, align 4 br label %6, !llvm.loop !8 39: ; preds = %6 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %41 = getelementptr inbounds [5 x [3 x i32]], ptr %1, i64 0, i64 0 %42 = call i32 @transpose(ptr noundef %41, i32 noundef 5, i32 noundef 3) %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %44 = getelementptr inbounds [5 x [3 x i32]], ptr %1, i64 0, i64 0 %45 = call i32 @mirror(ptr noundef %44, i32 noundef 5, i32 noundef 3) ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @transpose(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @mirror(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1ccs445a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A Matrix is :\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c"\0A Transpose of Mat\0A\00", align 1 @.str.4 = private unnamed_addr constant [27 x i8] c"\0A Mirror image of Matrix \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca [5 x [3 x i32]], align 16 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %4, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp slt i32 %6, 5 br i1 %7, label %.lr.ph2, label %41 .lr.ph2: ; preds = %0 br label %8 8: ; preds = %.lr.ph2, %36 store i32 0, ptr %3, align 4 %9 = load i32, ptr %3, align 4 %10 = icmp slt i32 %9, 3 br i1 %10, label %.lr.ph, label %34 .lr.ph: ; preds = %8 br label %11 11: ; preds = %.lr.ph, %29 %12 = load i32, ptr %4, align 4 %13 = load i32, ptr %2, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds [5 x [3 x i32]], ptr %1, i64 0, i64 %14 %16 = load i32, ptr %3, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [3 x i32], ptr %15, i64 0, i64 %17 store i32 %12, ptr %18, align 4 %19 = load i32, ptr %4, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %4, align 4 %21 = load i32, ptr %2, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [5 x [3 x i32]], ptr %1, i64 0, i64 %22 %24 = load i32, ptr %3, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds [3 x i32], ptr %23, i64 0, i64 %25 %27 = load i32, ptr %26, align 4 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %27) br label %29 29: ; preds = %11 %30 = load i32, ptr %3, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %3, align 4 %32 = load i32, ptr %3, align 4 %33 = icmp slt i32 %32, 3 br i1 %33, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %34 34: ; preds = %._crit_edge, %8 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %36 36: ; preds = %34 %37 = load i32, ptr %2, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %2, align 4 %39 = load i32, ptr %2, align 4 %40 = icmp slt i32 %39, 5 br i1 %40, label %8, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %36 br label %41 41: ; preds = %._crit_edge3, %0 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %43 = getelementptr inbounds [5 x [3 x i32]], ptr %1, i64 0, i64 0 %44 = call i32 @transpose(ptr noundef %43, i32 noundef 5, i32 noundef 3) %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %46 = getelementptr inbounds [5 x [3 x i32]], ptr %1, i64 0, i64 0 %47 = call i32 @mirror(ptr noundef %46, i32 noundef 5, i32 noundef 3) ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @transpose(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @mirror(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmps16yw4ni.c' source_filename = "/tmp/tmps16yw4ni.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"a = %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"Hello%n\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 100, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %3) %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %2) %6 = load i32, ptr %2, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %6) 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/tmps16yw4ni.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"a = %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"Hello%n\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 100, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %3) %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %2) %6 = load i32, ptr %2, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %6) 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/tmp0md1q7d5.c' source_filename = "/tmp/tmp0md1q7d5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%ld\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"snprintf\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @longArrayToString(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 %11 = load i32, ptr %4, align 4 %12 = mul nsw i32 %11, 12 store i32 %12, ptr %6, align 4 %13 = load i32, ptr %6, align 4 %14 = call i64 @malloc(i32 noundef %13) %15 = inttoptr i64 %14 to ptr store ptr %15, ptr %7, align 8 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %9, align 4 br label %16 16: ; preds = %64, %2 %17 = load i32, ptr %9, align 4 %18 = load i32, ptr %4, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %20, label %67 20: ; preds = %16 %21 = load ptr, ptr %7, 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 i32, ptr %6, align 4 %26 = load i32, ptr %8, align 4 %27 = sub nsw i32 %25, %26 %28 = load ptr, ptr %5, align 8 %29 = load i32, ptr %9, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i64, ptr %28, i64 %30 %32 = load i64, ptr %31, align 8 %33 = call i32 @snprintf(ptr noundef %24, i32 noundef %27, ptr noundef @.str, i64 noundef %32) store i32 %33, ptr %10, align 4 %34 = load i32, ptr %10, align 4 %35 = icmp slt i32 %34, 0 br i1 %35, label %36, label %39 36: ; preds = %20 %37 = call i32 @perror(ptr noundef @.str.1) %38 = load ptr, ptr %7, align 8 store ptr %38, ptr %3, align 8 br label %69 39: ; preds = %20 %40 = load i32, ptr %10, align 4 %41 = load i32, ptr %8, align 4 %42 = add nsw i32 %41, %40 store i32 %42, ptr %8, align 4 %43 = load i32, ptr %10, align 4 %44 = add nsw i32 %43, 1 %45 = load i32, ptr %6, align 4 %46 = icmp sge i32 %44, %45 br i1 %46, label %47, label %48 47: ; preds = %39 br label %67 48: ; preds = %39 %49 = load i32, ptr %9, align 4 %50 = add nsw i32 %49, 1 %51 = load i32, ptr %4, align 4 %52 = icmp slt i32 %50, %51 br i1 %52, label %53, label %63 53: ; preds = %48 %54 = load ptr, ptr %7, align 8 %55 = load i32, ptr %8, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %8, align 4 %57 = sext i32 %55 to i64 %58 = getelementptr inbounds i8, ptr %54, i64 %57 store i8 44, ptr %58, align 1 %59 = load ptr, ptr %7, align 8 %60 = load i32, ptr %8, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i8, ptr %59, i64 %61 store i8 0, ptr %62, align 1 br label %63 63: ; preds = %53, %48 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 br label %16, !llvm.loop !6 67: ; preds = %47, %16 %68 = load ptr, ptr %7, align 8 store ptr %68, ptr %3, align 8 br label %69 69: ; preds = %67, %36 %70 = load ptr, ptr %3, align 8 ret ptr %70 } declare i64 @malloc(i32 noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i64 noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp0md1q7d5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%ld\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"snprintf\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @longArrayToString(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 %11 = load i32, ptr %4, align 4 %12 = mul nsw i32 %11, 12 store i32 %12, ptr %6, align 4 %13 = load i32, ptr %6, align 4 %14 = call i64 @malloc(i32 noundef %13) %15 = inttoptr i64 %14 to ptr store ptr %15, ptr %7, align 8 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %9, align 4 %16 = load i32, ptr %9, align 4 %17 = load i32, ptr %4, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %2 br label %19 19: ; preds = %.lr.ph, %63 %20 = load ptr, ptr %7, align 8 %21 = load i32, ptr %8, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %20, i64 %22 %24 = load i32, ptr %6, align 4 %25 = load i32, ptr %8, align 4 %26 = sub nsw i32 %24, %25 %27 = load ptr, ptr %5, align 8 %28 = load i32, ptr %9, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i64, ptr %27, i64 %29 %31 = load i64, ptr %30, align 8 %32 = call i32 @snprintf(ptr noundef %23, i32 noundef %26, ptr noundef @.str, i64 noundef %31) store i32 %32, ptr %10, align 4 %33 = load i32, ptr %10, align 4 %34 = icmp slt i32 %33, 0 br i1 %34, label %35, label %38 35: ; preds = %19 %36 = call i32 @perror(ptr noundef @.str.1) %37 = load ptr, ptr %7, align 8 store ptr %37, ptr %3, align 8 br label %71 38: ; preds = %19 %39 = load i32, ptr %10, align 4 %40 = load i32, ptr %8, align 4 %41 = add nsw i32 %40, %39 store i32 %41, ptr %8, align 4 %42 = load i32, ptr %10, align 4 %43 = add nsw i32 %42, 1 %44 = load i32, ptr %6, align 4 %45 = icmp sge i32 %43, %44 br i1 %45, label %46, label %47 46: ; preds = %38 br label %69 47: ; preds = %38 %48 = load i32, ptr %9, align 4 %49 = add nsw i32 %48, 1 %50 = load i32, ptr %4, align 4 %51 = icmp slt i32 %49, %50 br i1 %51, label %52, label %62 52: ; preds = %47 %53 = load ptr, ptr %7, align 8 %54 = load i32, ptr %8, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %8, align 4 %56 = sext i32 %54 to i64 %57 = getelementptr inbounds i8, ptr %53, i64 %56 store i8 44, ptr %57, align 1 %58 = load ptr, ptr %7, align 8 %59 = load i32, ptr %8, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i8, ptr %58, i64 %60 store i8 0, ptr %61, align 1 br label %62 62: ; preds = %52, %47 br label %63 63: ; preds = %62 %64 = load i32, ptr %9, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %9, align 4 %66 = load i32, ptr %9, align 4 %67 = load i32, ptr %4, align 4 %68 = icmp slt i32 %66, %67 br i1 %68, label %19, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %63 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %2 br label %69 69: ; preds = %.loopexit, %46 %70 = load ptr, ptr %7, align 8 store ptr %70, ptr %3, align 8 br label %71 71: ; preds = %69, %35 %72 = load ptr, ptr %3, align 8 ret ptr %72 } declare i64 @malloc(i32 noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i64 noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp26k_030b.c' source_filename = "/tmp/tmp26k_030b.c" target datalayout = "e-m:e-p270: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/tmp26k_030b.c" target datalayout = "e-m:e-p270: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/tmpmjp88p0v.c' source_filename = "/tmp/tmpmjp88p0v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cpuset_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @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/tmpmjp88p0v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cpuset_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @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/tmp6h6on0d4.c' source_filename = "/tmp/tmp6h6on0d4.c" target datalayout = "e-m:e-p270: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/tmp6h6on0d4.c" target datalayout = "e-m:e-p270: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/tmppl0ptd8g.c' source_filename = "/tmp/tmppl0ptd8g.c" target datalayout = "e-m:e-p270: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/tmppl0ptd8g.c" target datalayout = "e-m:e-p270: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/tmpc60uobrh.c' source_filename = "/tmp/tmpc60uobrh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0Aa = \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"b = \00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"eps = \00", align 1 @.str.4 = private unnamed_addr constant [24 x i8] c"\0AInitial guess for x = \00", align 1 @.str.5 = private unnamed_addr constant [24 x i8] c"\0AError: no convergence\0A\00", align 1 @.str.6 = private unnamed_addr constant [50 x i8] c"Error: complex roots - try another initial guess\0A\00", align 1 @.str.7 = private unnamed_addr constant [38 x i8] c"Iter = %3d x = %8.4f dx = %12.3e\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %9, align 4 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str) %11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %13 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %15 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4) %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %17 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5) %18 = load double, ptr %5, align 8 store double %18, ptr %6, align 8 br label %19 19: ; preds = %54, %0 %20 = load i32, ptr %9, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %9, align 4 %22 = load i32, ptr %9, align 4 %23 = icmp sgt i32 %22, 30 br i1 %23, label %24, label %27 24: ; preds = %19 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %26 = call i32 @exit(i32 noundef 1) #5 unreachable 27: ; preds = %19 %28 = load double, ptr %3, align 8 %29 = load double, ptr %2, align 8 %30 = load double, ptr %5, align 8 %31 = fmul double %29, %30 %32 = load double, ptr %5, align 8 %33 = fneg double %31 %34 = call double @llvm.fmuladd.f64(double %33, double %32, double %28) store double %34, ptr %8, align 8 %35 = load double, ptr %8, align 8 %36 = fcmp olt double %35, 0.000000e+00 br i1 %36, label %37, label %40 37: ; preds = %27 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %39 = call i32 @exit(i32 noundef 1) #5 unreachable 40: ; preds = %27 %41 = load double, ptr %8, align 8 %42 = call double @pow(double noundef %41, double noundef 2.000000e-01) #6 store double %42, ptr %5, align 8 %43 = load double, ptr %5, align 8 %44 = load double, ptr %6, align 8 %45 = fsub double %43, %44 %46 = load double, ptr %5, align 8 %47 = fdiv double %45, %46 %48 = call double @llvm.fabs.f64(double %47) store double %48, ptr %7, align 8 %49 = load double, ptr %5, align 8 store double %49, ptr %6, align 8 %50 = load i32, ptr %9, align 4 %51 = load double, ptr %5, align 8 %52 = load double, ptr %7, align 8 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %50, double noundef %51, double noundef %52) br label %54 54: ; preds = %40 %55 = load double, ptr %7, align 8 %56 = load double, ptr %4, align 8 %57 = fcmp ogt double %55, %56 br i1 %57, label %19, label %58, !llvm.loop !6 58: ; preds = %54 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 ; Function Attrs: nounwind declare double @pow(double noundef, double noundef) #4 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #5 = { noreturn } attributes #6 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpc60uobrh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0Aa = \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"b = \00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"eps = \00", align 1 @.str.4 = private unnamed_addr constant [24 x i8] c"\0AInitial guess for x = \00", align 1 @.str.5 = private unnamed_addr constant [24 x i8] c"\0AError: no convergence\0A\00", align 1 @.str.6 = private unnamed_addr constant [50 x i8] c"Error: complex roots - try another initial guess\0A\00", align 1 @.str.7 = private unnamed_addr constant [38 x i8] c"Iter = %3d x = %8.4f dx = %12.3e\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %9, align 4 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str) %11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %13 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %15 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4) %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %17 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5) %18 = load double, ptr %5, align 8 store double %18, ptr %6, align 8 br label %19 19: ; preds = %54, %0 %20 = load i32, ptr %9, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %9, align 4 %22 = load i32, ptr %9, align 4 %23 = icmp sgt i32 %22, 30 br i1 %23, label %24, label %27 24: ; preds = %19 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %26 = call i32 @exit(i32 noundef 1) #5 unreachable 27: ; preds = %19 %28 = load double, ptr %3, align 8 %29 = load double, ptr %2, align 8 %30 = load double, ptr %5, align 8 %31 = fmul double %29, %30 %32 = load double, ptr %5, align 8 %33 = fneg double %31 %34 = call double @llvm.fmuladd.f64(double %33, double %32, double %28) store double %34, ptr %8, align 8 %35 = load double, ptr %8, align 8 %36 = fcmp olt double %35, 0.000000e+00 br i1 %36, label %37, label %40 37: ; preds = %27 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %39 = call i32 @exit(i32 noundef 1) #5 unreachable 40: ; preds = %27 %41 = load double, ptr %8, align 8 %42 = call double @pow(double noundef %41, double noundef 2.000000e-01) #6 store double %42, ptr %5, align 8 %43 = load double, ptr %5, align 8 %44 = load double, ptr %6, align 8 %45 = fsub double %43, %44 %46 = load double, ptr %5, align 8 %47 = fdiv double %45, %46 %48 = call double @llvm.fabs.f64(double %47) store double %48, ptr %7, align 8 %49 = load double, ptr %5, align 8 store double %49, ptr %6, align 8 %50 = load i32, ptr %9, align 4 %51 = load double, ptr %5, align 8 %52 = load double, ptr %7, align 8 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %50, double noundef %51, double noundef %52) br label %54 54: ; preds = %40 %55 = load double, ptr %7, align 8 %56 = load double, ptr %4, align 8 %57 = fcmp ogt double %55, %56 br i1 %57, label %19, label %58, !llvm.loop !6 58: ; preds = %54 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #3 ; Function Attrs: nounwind declare double @pow(double noundef, double noundef) #4 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #5 = { noreturn } attributes #6 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpemu4r2m6.c' source_filename = "/tmp/tmpemu4r2m6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"smac: \00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%02X:\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"%02X\0A\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"sip: \00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"dmac: \00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"dip: \00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @dump_arp_ipv4(ptr noundef %0, i8 noundef zeroext %1, i8 noundef zeroext %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i8, align 1 %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 i32, align 4 store ptr %0, ptr %4, align 8 store i8 %1, ptr %5, align 1 store i8 %2, ptr %6, align 1 store i32 0, ptr %7, align 4 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 1, ptr %8, align 4 br label %13 13: ; preds = %28, %3 %14 = load i32, ptr %8, align 4 %15 = load i8, ptr %5, align 1 %16 = zext i8 %15 to i32 %17 = sub nsw i32 %16, 1 %18 = icmp slt i32 %14, %17 br i1 %18, label %19, label %31 19: ; preds = %13 %20 = load ptr, ptr %4, align 8 %21 = load i32, ptr %7, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %7, align 4 %23 = sext i32 %21 to i64 %24 = getelementptr inbounds i8, ptr %20, i64 %23 %25 = load i8, ptr %24, align 1 %26 = zext i8 %25 to i32 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %26) br label %28 28: ; preds = %19 %29 = load i32, ptr %8, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %8, align 4 br label %13, !llvm.loop !6 31: ; preds = %13 %32 = load ptr, ptr %4, align 8 %33 = load i32, ptr %7, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %7, align 4 %35 = sext i32 %33 to i64 %36 = getelementptr inbounds i8, ptr %32, i64 %35 %37 = load i8, ptr %36, align 1 %38 = zext i8 %37 to i32 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %38) %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 1, ptr %9, align 4 br label %41 41: ; preds = %56, %31 %42 = load i32, ptr %9, align 4 %43 = load i8, ptr %6, align 1 %44 = zext i8 %43 to i32 %45 = sub nsw i32 %44, 1 %46 = icmp slt i32 %42, %45 br i1 %46, label %47, label %59 47: ; preds = %41 %48 = load ptr, ptr %4, align 8 %49 = load i32, ptr %7, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %7, align 4 %51 = sext i32 %49 to i64 %52 = getelementptr inbounds i8, ptr %48, i64 %51 %53 = load i8, ptr %52, align 1 %54 = zext i8 %53 to i32 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %54) br label %56 56: ; preds = %47 %57 = load i32, ptr %9, align 4 %58 = add nsw i32 %57, 1 store i32 %58, ptr %9, align 4 br label %41, !llvm.loop !8 59: ; preds = %41 %60 = load ptr, ptr %4, align 8 %61 = load i32, ptr %7, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %7, align 4 %63 = sext i32 %61 to i64 %64 = getelementptr inbounds i8, ptr %60, i64 %63 %65 = load i8, ptr %64, align 1 %66 = zext i8 %65 to i32 %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %66) %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) store i32 1, ptr %10, align 4 br label %69 69: ; preds = %84, %59 %70 = load i32, ptr %10, align 4 %71 = load i8, ptr %5, align 1 %72 = zext i8 %71 to i32 %73 = sub nsw i32 %72, 1 %74 = icmp slt i32 %70, %73 br i1 %74, label %75, label %87 75: ; preds = %69 %76 = load ptr, ptr %4, align 8 %77 = load i32, ptr %7, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %7, align 4 %79 = sext i32 %77 to i64 %80 = getelementptr inbounds i8, ptr %76, i64 %79 %81 = load i8, ptr %80, align 1 %82 = zext i8 %81 to i32 %83 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %82) br label %84 84: ; preds = %75 %85 = load i32, ptr %10, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %10, align 4 br label %69, !llvm.loop !9 87: ; preds = %69 %88 = load ptr, ptr %4, align 8 %89 = load i32, ptr %7, align 4 %90 = add nsw i32 %89, 1 store i32 %90, ptr %7, align 4 %91 = sext i32 %89 to i64 %92 = getelementptr inbounds i8, ptr %88, i64 %91 %93 = load i8, ptr %92, align 1 %94 = zext i8 %93 to i32 %95 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %94) %96 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) store i32 1, ptr %11, align 4 br label %97 97: ; preds = %112, %87 %98 = load i32, ptr %11, align 4 %99 = load i8, ptr %6, align 1 %100 = zext i8 %99 to i32 %101 = sub nsw i32 %100, 1 %102 = icmp slt i32 %98, %101 br i1 %102, label %103, label %115 103: ; preds = %97 %104 = load ptr, ptr %4, align 8 %105 = load i32, ptr %7, align 4 %106 = add nsw i32 %105, 1 store i32 %106, ptr %7, align 4 %107 = sext i32 %105 to i64 %108 = getelementptr inbounds i8, ptr %104, i64 %107 %109 = load i8, ptr %108, align 1 %110 = zext i8 %109 to i32 %111 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %110) br label %112 112: ; preds = %103 %113 = load i32, ptr %11, align 4 %114 = add nsw i32 %113, 1 store i32 %114, ptr %11, align 4 br label %97, !llvm.loop !10 115: ; preds = %97 %116 = load ptr, ptr %4, align 8 %117 = load i32, ptr %7, align 4 %118 = add nsw i32 %117, 1 store i32 %118, ptr %7, align 4 %119 = sext i32 %117 to i64 %120 = getelementptr inbounds i8, ptr %116, i64 %119 %121 = load i8, ptr %120, align 1 %122 = zext i8 %121 to i32 %123 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %122) %124 = call i32 (ptr, ...) @printf(ptr noundef @.str.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"} !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/tmpemu4r2m6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"smac: \00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%02X:\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"%02X\0A\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"sip: \00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"dmac: \00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"dip: \00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @dump_arp_ipv4(ptr noundef %0, i8 noundef zeroext %1, i8 noundef zeroext %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i8, align 1 %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 i32, align 4 store ptr %0, ptr %4, align 8 store i8 %1, ptr %5, align 1 store i8 %2, ptr %6, align 1 store i32 0, ptr %7, align 4 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 1, ptr %8, align 4 %13 = load i32, ptr %8, align 4 %14 = load i8, ptr %5, align 1 %15 = zext i8 %14 to i32 %16 = sub nsw i32 %15, 1 %17 = icmp slt i32 %13, %16 br i1 %17, label %.lr.ph, label %35 .lr.ph: ; preds = %3 br label %18 18: ; preds = %.lr.ph, %27 %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr %7, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %7, align 4 %22 = sext i32 %20 to i64 %23 = getelementptr inbounds i8, ptr %19, i64 %22 %24 = load i8, ptr %23, align 1 %25 = zext i8 %24 to i32 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %25) br label %27 27: ; preds = %18 %28 = load i32, ptr %8, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %8, align 4 %30 = load i32, ptr %8, align 4 %31 = load i8, ptr %5, align 1 %32 = zext i8 %31 to i32 %33 = sub nsw i32 %32, 1 %34 = icmp slt i32 %30, %33 br i1 %34, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %35 35: ; preds = %._crit_edge, %3 %36 = load ptr, ptr %4, align 8 %37 = load i32, ptr %7, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %7, align 4 %39 = sext i32 %37 to i64 %40 = getelementptr inbounds i8, ptr %36, i64 %39 %41 = load i8, ptr %40, align 1 %42 = zext i8 %41 to i32 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %42) %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 1, ptr %9, align 4 %45 = load i32, ptr %9, align 4 %46 = load i8, ptr %6, align 1 %47 = zext i8 %46 to i32 %48 = sub nsw i32 %47, 1 %49 = icmp slt i32 %45, %48 br i1 %49, label %.lr.ph2, label %67 .lr.ph2: ; preds = %35 br label %50 50: ; preds = %.lr.ph2, %59 %51 = load ptr, ptr %4, align 8 %52 = load i32, ptr %7, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %7, align 4 %54 = sext i32 %52 to i64 %55 = getelementptr inbounds i8, ptr %51, i64 %54 %56 = load i8, ptr %55, align 1 %57 = zext i8 %56 to i32 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %57) br label %59 59: ; preds = %50 %60 = load i32, ptr %9, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %9, align 4 %62 = load i32, ptr %9, align 4 %63 = load i8, ptr %6, align 1 %64 = zext i8 %63 to i32 %65 = sub nsw i32 %64, 1 %66 = icmp slt i32 %62, %65 br i1 %66, label %50, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %59 br label %67 67: ; preds = %._crit_edge3, %35 %68 = load ptr, ptr %4, align 8 %69 = load i32, ptr %7, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %7, align 4 %71 = sext i32 %69 to i64 %72 = getelementptr inbounds i8, ptr %68, i64 %71 %73 = load i8, ptr %72, align 1 %74 = zext i8 %73 to i32 %75 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %74) %76 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) store i32 1, ptr %10, align 4 %77 = load i32, ptr %10, align 4 %78 = load i8, ptr %5, align 1 %79 = zext i8 %78 to i32 %80 = sub nsw i32 %79, 1 %81 = icmp slt i32 %77, %80 br i1 %81, label %.lr.ph5, label %99 .lr.ph5: ; preds = %67 br label %82 82: ; preds = %.lr.ph5, %91 %83 = load ptr, ptr %4, align 8 %84 = load i32, ptr %7, align 4 %85 = add nsw i32 %84, 1 store i32 %85, ptr %7, align 4 %86 = sext i32 %84 to i64 %87 = getelementptr inbounds i8, ptr %83, i64 %86 %88 = load i8, ptr %87, align 1 %89 = zext i8 %88 to i32 %90 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %89) br label %91 91: ; preds = %82 %92 = load i32, ptr %10, align 4 %93 = add nsw i32 %92, 1 store i32 %93, ptr %10, align 4 %94 = load i32, ptr %10, align 4 %95 = load i8, ptr %5, align 1 %96 = zext i8 %95 to i32 %97 = sub nsw i32 %96, 1 %98 = icmp slt i32 %94, %97 br i1 %98, label %82, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %91 br label %99 99: ; preds = %._crit_edge6, %67 %100 = load ptr, ptr %4, align 8 %101 = load i32, ptr %7, align 4 %102 = add nsw i32 %101, 1 store i32 %102, ptr %7, align 4 %103 = sext i32 %101 to i64 %104 = getelementptr inbounds i8, ptr %100, i64 %103 %105 = load i8, ptr %104, align 1 %106 = zext i8 %105 to i32 %107 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %106) %108 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) store i32 1, ptr %11, align 4 %109 = load i32, ptr %11, align 4 %110 = load i8, ptr %6, align 1 %111 = zext i8 %110 to i32 %112 = sub nsw i32 %111, 1 %113 = icmp slt i32 %109, %112 br i1 %113, label %.lr.ph8, label %131 .lr.ph8: ; preds = %99 br label %114 114: ; preds = %.lr.ph8, %123 %115 = load ptr, ptr %4, align 8 %116 = load i32, ptr %7, align 4 %117 = add nsw i32 %116, 1 store i32 %117, ptr %7, align 4 %118 = sext i32 %116 to i64 %119 = getelementptr inbounds i8, ptr %115, i64 %118 %120 = load i8, ptr %119, align 1 %121 = zext i8 %120 to i32 %122 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %121) br label %123 123: ; preds = %114 %124 = load i32, ptr %11, align 4 %125 = add nsw i32 %124, 1 store i32 %125, ptr %11, align 4 %126 = load i32, ptr %11, align 4 %127 = load i8, ptr %6, align 1 %128 = zext i8 %127 to i32 %129 = sub nsw i32 %128, 1 %130 = icmp slt i32 %126, %129 br i1 %130, label %114, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %123 br label %131 131: ; preds = %._crit_edge9, %99 %132 = load ptr, ptr %4, align 8 %133 = load i32, ptr %7, align 4 %134 = add nsw i32 %133, 1 store i32 %134, ptr %7, align 4 %135 = sext i32 %133 to i64 %136 = getelementptr inbounds i8, ptr %132, i64 %135 %137 = load i8, ptr %136, align 1 %138 = zext i8 %137 to i32 %139 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %138) %140 = call i32 (ptr, ...) @printf(ptr noundef @.str.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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmphg1hl9hy.c' source_filename = "/tmp/tmphg1hl9hy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [148 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/sshilovsky/vifm/refs/heads/master/tests/misc/format_str.c\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"test_no_formatting_ok\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"test_formatting_ok\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @format_str_tests() #0 { br label %1 1: ; preds = %0 %2 = call i32 @seatest_test_fixture_start(ptr noundef @.str) br label %3 3: ; preds = %1 br label %4 4: ; preds = %3 %5 = call i64 @seatest_should_run(ptr noundef @.str, ptr noundef @.str.1) %6 = icmp ne i64 %5, 0 br i1 %6, label %7, label %14 7: ; preds = %4 %8 = call i32 (...) @seatest_suite_setup() %9 = call i32 (...) @seatest_setup() %10 = call i32 (...) @test_no_formatting_ok() %11 = call i32 (...) @seatest_teardown() %12 = call i32 (...) @seatest_suite_teardown() %13 = call i32 @seatest_run_test(ptr noundef @.str, ptr noundef @.str.1) br label %14 14: ; preds = %7, %4 br label %15 15: ; preds = %14 br label %16 16: ; preds = %15 %17 = call i64 @seatest_should_run(ptr noundef @.str, ptr noundef @.str.2) %18 = icmp ne i64 %17, 0 br i1 %18, label %19, label %26 19: ; preds = %16 %20 = call i32 (...) @seatest_suite_setup() %21 = call i32 (...) @seatest_setup() %22 = call i32 (...) @test_formatting_ok() %23 = call i32 (...) @seatest_teardown() %24 = call i32 (...) @seatest_suite_teardown() %25 = call i32 @seatest_run_test(ptr noundef @.str, ptr noundef @.str.2) br label %26 26: ; preds = %19, %16 br label %27 27: ; preds = %26 br label %28 28: ; preds = %27 %29 = call i32 (...) @seatest_test_fixture_end() br label %30 30: ; preds = %28 ret void } declare i32 @seatest_test_fixture_start(ptr noundef) #1 declare i64 @seatest_should_run(ptr noundef, ptr noundef) #1 declare i32 @seatest_suite_setup(...) #1 declare i32 @seatest_setup(...) #1 declare i32 @test_no_formatting_ok(...) #1 declare i32 @seatest_teardown(...) #1 declare i32 @seatest_suite_teardown(...) #1 declare i32 @seatest_run_test(ptr noundef, ptr noundef) #1 declare i32 @test_formatting_ok(...) #1 declare i32 @seatest_test_fixture_end(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphg1hl9hy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [148 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/sshilovsky/vifm/refs/heads/master/tests/misc/format_str.c\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"test_no_formatting_ok\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"test_formatting_ok\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @format_str_tests() #0 { br label %1 1: ; preds = %0 %2 = call i32 @seatest_test_fixture_start(ptr noundef @.str) br label %3 3: ; preds = %1 br label %4 4: ; preds = %3 %5 = call i64 @seatest_should_run(ptr noundef @.str, ptr noundef @.str.1) %6 = icmp ne i64 %5, 0 br i1 %6, label %7, label %14 7: ; preds = %4 %8 = call i32 (...) @seatest_suite_setup() %9 = call i32 (...) @seatest_setup() %10 = call i32 (...) @test_no_formatting_ok() %11 = call i32 (...) @seatest_teardown() %12 = call i32 (...) @seatest_suite_teardown() %13 = call i32 @seatest_run_test(ptr noundef @.str, ptr noundef @.str.1) br label %14 14: ; preds = %7, %4 br label %15 15: ; preds = %14 br label %16 16: ; preds = %15 %17 = call i64 @seatest_should_run(ptr noundef @.str, ptr noundef @.str.2) %18 = icmp ne i64 %17, 0 br i1 %18, label %19, label %26 19: ; preds = %16 %20 = call i32 (...) @seatest_suite_setup() %21 = call i32 (...) @seatest_setup() %22 = call i32 (...) @test_formatting_ok() %23 = call i32 (...) @seatest_teardown() %24 = call i32 (...) @seatest_suite_teardown() %25 = call i32 @seatest_run_test(ptr noundef @.str, ptr noundef @.str.2) br label %26 26: ; preds = %19, %16 br label %27 27: ; preds = %26 br label %28 28: ; preds = %27 %29 = call i32 (...) @seatest_test_fixture_end() br label %30 30: ; preds = %28 ret void } declare i32 @seatest_test_fixture_start(ptr noundef) #1 declare i64 @seatest_should_run(ptr noundef, ptr noundef) #1 declare i32 @seatest_suite_setup(...) #1 declare i32 @seatest_setup(...) #1 declare i32 @test_no_formatting_ok(...) #1 declare i32 @seatest_teardown(...) #1 declare i32 @seatest_suite_teardown(...) #1 declare i32 @seatest_run_test(ptr noundef, ptr noundef) #1 declare i32 @test_formatting_ok(...) #1 declare i32 @seatest_test_fixture_end(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpf5er26jp.c' source_filename = "/tmp/tmpf5er26jp.c" target datalayout = "e-m:e-p270: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/tmpf5er26jp.c" target datalayout = "e-m:e-p270: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/tmph_6yf0ao.c' source_filename = "/tmp/tmph_6yf0ao.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @util_print_time.s = internal global [40 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [9 x i8] c"**** sec\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @util_print_time(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = call i32 @sprintf(ptr noundef @util_print_time.s, ptr noundef @.str) ret ptr @util_print_time.s } declare i32 @sprintf(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/tmph_6yf0ao.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @util_print_time.s = internal global [40 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [9 x i8] c"**** sec\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @util_print_time(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = call i32 @sprintf(ptr noundef @util_print_time.s, ptr noundef @.str) ret ptr @util_print_time.s } declare i32 @sprintf(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/tmpy1v7g_vl.c' source_filename = "/tmp/tmpy1v7g_vl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_prime(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %9 = load i32, ptr %5, align 4 %10 = call i32 @mpz_init(i32 noundef %9) %11 = load i32, ptr %6, align 4 %12 = call i32 @gmp_randinit_default(i32 noundef %11) store i32 1, ptr %7, align 4 %13 = call i64 @time(ptr noundef null) store i64 %13, ptr %8, align 8 br label %14 14: ; preds = %40, %2 %15 = load i32, ptr %7, align 4 %16 = icmp eq i32 %15, 1 br i1 %16, label %17, label %41 17: ; preds = %14 %18 = load i64, ptr %8, align 8 %19 = add nsw i64 %18, 1 store i64 %19, ptr %8, align 8 %20 = load i32, ptr %6, align 4 %21 = load i64, ptr %8, align 8 %22 = call i32 @gmp_randseed_ui(i32 noundef %20, i64 noundef %21) %23 = load i32, ptr %5, align 4 %24 = load i32, ptr %6, align 4 %25 = load i32, ptr %4, align 4 %26 = call i32 @mpz_urandomb(i32 noundef %23, i32 noundef %24, i32 noundef %25) %27 = load i32, ptr %5, align 4 %28 = call i64 @mpz_divisible_ui_p(i32 noundef %27, i32 noundef 2) %29 = icmp ne i64 %28, 0 br i1 %29, label %30, label %34 30: ; preds = %17 %31 = load i32, ptr %5, align 4 %32 = load i32, ptr %5, align 4 %33 = call i32 @mpz_add_ui(i32 noundef %31, i32 noundef %32, i32 noundef 1) br label %34 34: ; preds = %30, %17 %35 = load i32, ptr %5, align 4 %36 = call i32 @fermat(i32 noundef %35) store i32 %36, ptr %7, align 4 %37 = load i32, ptr %7, align 4 %38 = icmp eq i32 %37, 0 br i1 %38, label %39, label %40 39: ; preds = %34 br label %41 40: ; preds = %34 br label %14, !llvm.loop !6 41: ; preds = %39, %14 %42 = load ptr, ptr %3, align 8 %43 = load ptr, ptr %42, align 8 %44 = load i32, ptr %5, align 4 %45 = call i32 @mpz_get_str(ptr noundef %43, i32 noundef 10, i32 noundef %44) %46 = load i32, ptr %5, align 4 %47 = call i32 @mpz_clear(i32 noundef %46) ret i32 0 } declare i32 @mpz_init(i32 noundef) #1 declare i32 @gmp_randinit_default(i32 noundef) #1 declare i64 @time(ptr noundef) #1 declare i32 @gmp_randseed_ui(i32 noundef, i64 noundef) #1 declare i32 @mpz_urandomb(i32 noundef, i32 noundef, i32 noundef) #1 declare i64 @mpz_divisible_ui_p(i32 noundef, i32 noundef) #1 declare i32 @mpz_add_ui(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @fermat(i32 noundef) #1 declare i32 @mpz_get_str(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @mpz_clear(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/tmpy1v7g_vl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_prime(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %9 = load i32, ptr %5, align 4 %10 = call i32 @mpz_init(i32 noundef %9) %11 = load i32, ptr %6, align 4 %12 = call i32 @gmp_randinit_default(i32 noundef %11) store i32 1, ptr %7, align 4 %13 = call i64 @time(ptr noundef null) store i64 %13, ptr %8, align 8 %14 = load i32, ptr %7, align 4 %15 = icmp eq i32 %14, 1 br i1 %15, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %2 br label %19 16: ; preds = %36 %17 = load i32, ptr %7, align 4 %18 = icmp eq i32 %17, 1 br i1 %18, label %19, label %..loopexit_crit_edge, !llvm.loop !6 19: ; preds = %.lr.ph, %16 %20 = load i64, ptr %8, align 8 %21 = add nsw i64 %20, 1 store i64 %21, ptr %8, align 8 %22 = load i32, ptr %6, align 4 %23 = load i64, ptr %8, align 8 %24 = call i32 @gmp_randseed_ui(i32 noundef %22, i64 noundef %23) %25 = load i32, ptr %5, align 4 %26 = load i32, ptr %6, align 4 %27 = load i32, ptr %4, align 4 %28 = call i32 @mpz_urandomb(i32 noundef %25, i32 noundef %26, i32 noundef %27) %29 = load i32, ptr %5, align 4 %30 = call i64 @mpz_divisible_ui_p(i32 noundef %29, i32 noundef 2) %31 = icmp ne i64 %30, 0 br i1 %31, label %32, label %36 32: ; preds = %19 %33 = load i32, ptr %5, align 4 %34 = load i32, ptr %5, align 4 %35 = call i32 @mpz_add_ui(i32 noundef %33, i32 noundef %34, i32 noundef 1) br label %36 36: ; preds = %32, %19 %37 = load i32, ptr %5, align 4 %38 = call i32 @fermat(i32 noundef %37) store i32 %38, ptr %7, align 4 %39 = load i32, ptr %7, align 4 %40 = icmp eq i32 %39, 0 br i1 %40, label %41, label %16 41: ; preds = %36 br label %42 ..loopexit_crit_edge: ; preds = %16 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %2 br label %42 42: ; preds = %.loopexit, %41 %43 = load ptr, ptr %3, align 8 %44 = load ptr, ptr %43, align 8 %45 = load i32, ptr %5, align 4 %46 = call i32 @mpz_get_str(ptr noundef %44, i32 noundef 10, i32 noundef %45) %47 = load i32, ptr %5, align 4 %48 = call i32 @mpz_clear(i32 noundef %47) ret i32 0 } declare i32 @mpz_init(i32 noundef) #1 declare i32 @gmp_randinit_default(i32 noundef) #1 declare i64 @time(ptr noundef) #1 declare i32 @gmp_randseed_ui(i32 noundef, i64 noundef) #1 declare i32 @mpz_urandomb(i32 noundef, i32 noundef, i32 noundef) #1 declare i64 @mpz_divisible_ui_p(i32 noundef, i32 noundef) #1 declare i32 @mpz_add_ui(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @fermat(i32 noundef) #1 declare i32 @mpz_get_str(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @mpz_clear(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/tmpcals3747.c' source_filename = "/tmp/tmpcals3747.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nrf_802154_cca() #0 { %1 = alloca i32, align 4 %2 = call i32 @nrf_802154_request_cca(i32 noundef 0) store i32 %2, ptr %1, align 4 %3 = load i32, ptr %1, align 4 ret i32 %3 } declare i32 @nrf_802154_request_cca(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/tmpcals3747.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nrf_802154_cca() #0 { %1 = alloca i32, align 4 %2 = call i32 @nrf_802154_request_cca(i32 noundef 0) store i32 %2, ptr %1, align 4 %3 = load i32, ptr %1, align 4 ret i32 %3 } declare i32 @nrf_802154_request_cca(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/tmprjye0j47.c' source_filename = "/tmp/tmprjye0j47.c" target datalayout = "e-m:e-p270: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.main1.ib = private unnamed_addr constant [64 x i32] [i32 1, i32 1, i32 0, i32 0, i32 1, i32 0, i32 1, i32 0, i32 1, i32 1, i32 0, i32 0, i32 1, i32 0, i32 1, i32 0, i32 1, i32 1, i32 0, i32 0, i32 1, i32 0, i32 1, i32 0, i32 1, i32 1, i32 0, i32 0, i32 1, i32 0, i32 1, i32 0, i32 1, i32 1, i32 0, i32 0, i32 1, i32 0, i32 1, i32 0, i32 1, i32 1, i32 0, i32 0, i32 1, i32 0, i32 1, i32 0, i32 1, i32 1, i32 0, i32 0, i32 1, i32 0, i32 1, i32 0, i32 1, i32 1, i32 0, i32 0, i32 1, i32 0, i32 1, i32 0], align 16 @__const.main1.ic = private unnamed_addr constant [64 x i32] [i32 1, i32 1, i32 0, i32 0, i32 1, i32 0, i32 1, i32 0, i32 1, i32 1, i32 0, i32 0, i32 1, i32 0, i32 1, i32 0, i32 1, i32 1, i32 0, i32 0, i32 1, i32 0, i32 1, i32 0, i32 1, i32 1, i32 0, i32 0, i32 1, i32 0, i32 1, i32 0, i32 1, i32 1, i32 0, i32 0, i32 1, i32 0, i32 1, i32 0, i32 1, i32 1, i32 0, i32 0, i32 1, i32 0, i32 1, i32 0, i32 1, i32 1, i32 0, i32 0, i32 1, i32 0, i32 1, i32 0, i32 1, i32 1, i32 0, i32 0, i32 1, i32 0, i32 1, i32 0], align 16 @__const.main1.cb = private unnamed_addr constant [64 x i8] c"\01\01\00\00\01\00\01\00\01\01\00\00\01\00\01\00\01\01\00\00\01\00\01\00\01\01\00\00\01\00\01\00\01\01\00\00\01\00\01\00\01\01\00\00\01\00\01\00\01\01\00\00\01\00\01\00\01\01\00\00\01\00\01\00", align 16 @__const.main1.cc = private unnamed_addr constant [64 x i8] c"\01\01\00\00\01\00\01\00\01\01\00\00\01\00\01\00\01\01\00\00\01\00\01\00\01\01\00\00\01\00\01\00\01\01\00\00\01\00\01\00\01\01\00\00\01\00\01\00\01\01\00\00\01\00\01\00\01\01\00\00\01\00\01\00", align 16 @__const.main1.sb = private unnamed_addr constant [64 x i16] [i16 1, i16 1, i16 0, i16 0, i16 1, i16 0, i16 1, i16 0, i16 1, i16 1, i16 0, i16 0, i16 1, i16 0, i16 1, i16 0, i16 1, i16 1, i16 0, i16 0, i16 1, i16 0, i16 1, i16 0, i16 1, i16 1, i16 0, i16 0, i16 1, i16 0, i16 1, i16 0, i16 1, i16 1, i16 0, i16 0, i16 1, i16 0, i16 1, i16 0, i16 1, i16 1, i16 0, i16 0, i16 1, i16 0, i16 1, i16 0, i16 1, i16 1, i16 0, i16 0, i16 1, i16 0, i16 1, i16 0, i16 1, i16 1, i16 0, i16 0, i16 1, i16 0, i16 1, i16 0], align 16 @__const.main1.sc = private unnamed_addr constant [64 x i16] [i16 1, i16 1, i16 0, i16 0, i16 1, i16 0, i16 1, i16 0, i16 1, i16 1, i16 0, i16 0, i16 1, i16 0, i16 1, i16 0, i16 1, i16 1, i16 0, i16 0, i16 1, i16 0, i16 1, i16 0, i16 1, i16 1, i16 0, i16 0, i16 1, i16 0, i16 1, i16 0, i16 1, i16 1, i16 0, i16 0, i16 1, i16 0, i16 1, i16 0, i16 1, i16 1, i16 0, i16 0, i16 1, i16 0, i16 1, i16 0, i16 1, i16 1, i16 0, i16 0, i16 1, i16 0, i16 1, i16 0, i16 1, i16 1, i16 0, i16 0, i16 1, i16 0, i16 1, i16 0], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main1() #0 { %1 = alloca i32, align 4 %2 = alloca [64 x i32], align 16 %3 = alloca [64 x i32], align 16 %4 = alloca [64 x i32], align 16 %5 = alloca [64 x i8], align 16 %6 = alloca [64 x i8], align 16 %7 = alloca [64 x i8], align 16 %8 = alloca [64 x i16], align 16 %9 = alloca [64 x i16], align 16 %10 = alloca [64 x i16], align 16 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main1.ib, i64 256, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.main1.ic, i64 256, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main1.cb, i64 64, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main1.cc, i64 64, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.main1.sb, i64 128, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %10, ptr align 16 @__const.main1.sc, i64 128, i1 false) store i32 0, ptr %1, align 4 br label %11 11: ; preds = %23, %0 %12 = load i32, ptr %1, align 4 %13 = icmp slt i32 %12, 64 br i1 %13, label %14, label %26 14: ; preds = %11 %15 = load i32, ptr %1, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds [64 x i32], ptr %3, i64 0, i64 %16 %18 = load i32, ptr %17, align 4 %19 = sub nsw i32 0, %18 %20 = load i32, ptr %1, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds [64 x i32], ptr %2, i64 0, i64 %21 store i32 %19, ptr %22, align 4 br label %23 23: ; preds = %14 %24 = load i32, ptr %1, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %1, align 4 br label %11, !llvm.loop !6 26: ; preds = %11 store i32 0, ptr %1, align 4 br label %27 27: ; preds = %44, %26 %28 = load i32, ptr %1, align 4 %29 = icmp slt i32 %28, 64 br i1 %29, label %30, label %47 30: ; preds = %27 %31 = load i32, ptr %1, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [64 x i32], ptr %2, i64 0, i64 %32 %34 = load i32, ptr %33, align 4 %35 = load i32, ptr %1, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds [64 x i32], ptr %3, i64 0, i64 %36 %38 = load i32, ptr %37, align 4 %39 = sub nsw i32 0, %38 %40 = icmp ne i32 %34, %39 br i1 %40, label %41, label %43 41: ; preds = %30 %42 = call i32 (...) @abort() #3 unreachable 43: ; preds = %30 br label %44 44: ; preds = %43 %45 = load i32, ptr %1, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %1, align 4 br label %27, !llvm.loop !8 47: ; preds = %27 store i32 0, ptr %1, align 4 br label %48 48: ; preds = %62, %47 %49 = load i32, ptr %1, align 4 %50 = icmp slt i32 %49, 64 br i1 %50, label %51, label %65 51: ; preds = %48 %52 = load i32, ptr %1, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 %53 %55 = load i8, ptr %54, align 1 %56 = sext i8 %55 to i32 %57 = sub nsw i32 0, %56 %58 = trunc i32 %57 to i8 %59 = load i32, ptr %1, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds [64 x i8], ptr %5, i64 0, i64 %60 store i8 %58, ptr %61, align 1 br label %62 62: ; preds = %51 %63 = load i32, ptr %1, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %1, align 4 br label %48, !llvm.loop !9 65: ; preds = %48 store i32 0, ptr %1, align 4 br label %66 66: ; preds = %85, %65 %67 = load i32, ptr %1, align 4 %68 = icmp slt i32 %67, 64 br i1 %68, label %69, label %88 69: ; preds = %66 %70 = load i32, ptr %1, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds [64 x i8], ptr %5, i64 0, i64 %71 %73 = load i8, ptr %72, align 1 %74 = sext i8 %73 to i32 %75 = load i32, ptr %1, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 %76 %78 = load i8, ptr %77, align 1 %79 = sext i8 %78 to i32 %80 = sub nsw i32 0, %79 %81 = icmp ne i32 %74, %80 br i1 %81, label %82, label %84 82: ; preds = %69 %83 = call i32 (...) @abort() #3 unreachable 84: ; preds = %69 br label %85 85: ; preds = %84 %86 = load i32, ptr %1, align 4 %87 = add nsw i32 %86, 1 store i32 %87, ptr %1, align 4 br label %66, !llvm.loop !10 88: ; preds = %66 store i32 0, ptr %1, align 4 br label %89 89: ; preds = %103, %88 %90 = load i32, ptr %1, align 4 %91 = icmp slt i32 %90, 64 br i1 %91, label %92, label %106 92: ; preds = %89 %93 = load i32, ptr %1, align 4 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds [64 x i16], ptr %9, i64 0, i64 %94 %96 = load i16, ptr %95, align 2 %97 = sext i16 %96 to i32 %98 = sub nsw i32 0, %97 %99 = trunc i32 %98 to i16 %100 = load i32, ptr %1, align 4 %101 = sext i32 %100 to i64 %102 = getelementptr inbounds [64 x i16], ptr %8, i64 0, i64 %101 store i16 %99, ptr %102, align 2 br label %103 103: ; preds = %92 %104 = load i32, ptr %1, align 4 %105 = add nsw i32 %104, 1 store i32 %105, ptr %1, align 4 br label %89, !llvm.loop !11 106: ; preds = %89 store i32 0, ptr %1, align 4 br label %107 107: ; preds = %126, %106 %108 = load i32, ptr %1, align 4 %109 = icmp slt i32 %108, 64 br i1 %109, label %110, label %129 110: ; preds = %107 %111 = load i32, ptr %1, align 4 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds [64 x i16], ptr %8, i64 0, i64 %112 %114 = load i16, ptr %113, align 2 %115 = sext i16 %114 to i32 %116 = load i32, ptr %1, align 4 %117 = sext i32 %116 to i64 %118 = getelementptr inbounds [64 x i16], ptr %9, i64 0, i64 %117 %119 = load i16, ptr %118, align 2 %120 = sext i16 %119 to i32 %121 = sub nsw i32 0, %120 %122 = icmp ne i32 %115, %121 br i1 %122, label %123, label %125 123: ; preds = %110 %124 = call i32 (...) @abort() #3 unreachable 125: ; preds = %110 br label %126 126: ; preds = %125 %127 = load i32, ptr %1, align 4 %128 = add nsw i32 %127, 1 store i32 %128, ptr %1, align 4 br label %107, !llvm.loop !12 129: ; preds = %107 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 ; Function Attrs: noreturn declare i32 @abort(...) #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 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprjye0j47.c" target datalayout = "e-m:e-p270: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.main1.ib = private unnamed_addr constant [64 x i32] [i32 1, i32 1, i32 0, i32 0, i32 1, i32 0, i32 1, i32 0, i32 1, i32 1, i32 0, i32 0, i32 1, i32 0, i32 1, i32 0, i32 1, i32 1, i32 0, i32 0, i32 1, i32 0, i32 1, i32 0, i32 1, i32 1, i32 0, i32 0, i32 1, i32 0, i32 1, i32 0, i32 1, i32 1, i32 0, i32 0, i32 1, i32 0, i32 1, i32 0, i32 1, i32 1, i32 0, i32 0, i32 1, i32 0, i32 1, i32 0, i32 1, i32 1, i32 0, i32 0, i32 1, i32 0, i32 1, i32 0, i32 1, i32 1, i32 0, i32 0, i32 1, i32 0, i32 1, i32 0], align 16 @__const.main1.ic = private unnamed_addr constant [64 x i32] [i32 1, i32 1, i32 0, i32 0, i32 1, i32 0, i32 1, i32 0, i32 1, i32 1, i32 0, i32 0, i32 1, i32 0, i32 1, i32 0, i32 1, i32 1, i32 0, i32 0, i32 1, i32 0, i32 1, i32 0, i32 1, i32 1, i32 0, i32 0, i32 1, i32 0, i32 1, i32 0, i32 1, i32 1, i32 0, i32 0, i32 1, i32 0, i32 1, i32 0, i32 1, i32 1, i32 0, i32 0, i32 1, i32 0, i32 1, i32 0, i32 1, i32 1, i32 0, i32 0, i32 1, i32 0, i32 1, i32 0, i32 1, i32 1, i32 0, i32 0, i32 1, i32 0, i32 1, i32 0], align 16 @__const.main1.cb = private unnamed_addr constant [64 x i8] c"\01\01\00\00\01\00\01\00\01\01\00\00\01\00\01\00\01\01\00\00\01\00\01\00\01\01\00\00\01\00\01\00\01\01\00\00\01\00\01\00\01\01\00\00\01\00\01\00\01\01\00\00\01\00\01\00\01\01\00\00\01\00\01\00", align 16 @__const.main1.cc = private unnamed_addr constant [64 x i8] c"\01\01\00\00\01\00\01\00\01\01\00\00\01\00\01\00\01\01\00\00\01\00\01\00\01\01\00\00\01\00\01\00\01\01\00\00\01\00\01\00\01\01\00\00\01\00\01\00\01\01\00\00\01\00\01\00\01\01\00\00\01\00\01\00", align 16 @__const.main1.sb = private unnamed_addr constant [64 x i16] [i16 1, i16 1, i16 0, i16 0, i16 1, i16 0, i16 1, i16 0, i16 1, i16 1, i16 0, i16 0, i16 1, i16 0, i16 1, i16 0, i16 1, i16 1, i16 0, i16 0, i16 1, i16 0, i16 1, i16 0, i16 1, i16 1, i16 0, i16 0, i16 1, i16 0, i16 1, i16 0, i16 1, i16 1, i16 0, i16 0, i16 1, i16 0, i16 1, i16 0, i16 1, i16 1, i16 0, i16 0, i16 1, i16 0, i16 1, i16 0, i16 1, i16 1, i16 0, i16 0, i16 1, i16 0, i16 1, i16 0, i16 1, i16 1, i16 0, i16 0, i16 1, i16 0, i16 1, i16 0], align 16 @__const.main1.sc = private unnamed_addr constant [64 x i16] [i16 1, i16 1, i16 0, i16 0, i16 1, i16 0, i16 1, i16 0, i16 1, i16 1, i16 0, i16 0, i16 1, i16 0, i16 1, i16 0, i16 1, i16 1, i16 0, i16 0, i16 1, i16 0, i16 1, i16 0, i16 1, i16 1, i16 0, i16 0, i16 1, i16 0, i16 1, i16 0, i16 1, i16 1, i16 0, i16 0, i16 1, i16 0, i16 1, i16 0, i16 1, i16 1, i16 0, i16 0, i16 1, i16 0, i16 1, i16 0, i16 1, i16 1, i16 0, i16 0, i16 1, i16 0, i16 1, i16 0, i16 1, i16 1, i16 0, i16 0, i16 1, i16 0, i16 1, i16 0], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main1() #0 { %1 = alloca i32, align 4 %2 = alloca [64 x i32], align 16 %3 = alloca [64 x i32], align 16 %4 = alloca [64 x i32], align 16 %5 = alloca [64 x i8], align 16 %6 = alloca [64 x i8], align 16 %7 = alloca [64 x i8], align 16 %8 = alloca [64 x i16], align 16 %9 = alloca [64 x i16], align 16 %10 = alloca [64 x i16], align 16 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main1.ib, i64 256, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.main1.ic, i64 256, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main1.cb, i64 64, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main1.cc, i64 64, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.main1.sb, i64 128, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %10, ptr align 16 @__const.main1.sc, i64 128, i1 false) store i32 0, ptr %1, align 4 %11 = load i32, ptr %1, align 4 %12 = icmp slt i32 %11, 64 br i1 %12, label %.lr.ph, label %27 .lr.ph: ; preds = %0 br label %13 13: ; preds = %.lr.ph, %22 %14 = load i32, ptr %1, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds [64 x i32], ptr %3, i64 0, i64 %15 %17 = load i32, ptr %16, align 4 %18 = sub nsw i32 0, %17 %19 = load i32, ptr %1, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds [64 x i32], ptr %2, i64 0, i64 %20 store i32 %18, ptr %21, align 4 br label %22 22: ; preds = %13 %23 = load i32, ptr %1, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %1, align 4 %25 = load i32, ptr %1, align 4 %26 = icmp slt i32 %25, 64 br i1 %26, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %27 27: ; preds = %._crit_edge, %0 store i32 0, ptr %1, align 4 %28 = load i32, ptr %1, align 4 %29 = icmp slt i32 %28, 64 br i1 %29, label %.lr.ph2, label %49 .lr.ph2: ; preds = %27 br label %30 30: ; preds = %.lr.ph2, %44 %31 = load i32, ptr %1, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [64 x i32], ptr %2, i64 0, i64 %32 %34 = load i32, ptr %33, align 4 %35 = load i32, ptr %1, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds [64 x i32], ptr %3, i64 0, i64 %36 %38 = load i32, ptr %37, align 4 %39 = sub nsw i32 0, %38 %40 = icmp ne i32 %34, %39 br i1 %40, label %41, label %43 41: ; preds = %30 %42 = call i32 (...) @abort() #3 unreachable 43: ; preds = %30 br label %44 44: ; preds = %43 %45 = load i32, ptr %1, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %1, align 4 %47 = load i32, ptr %1, align 4 %48 = icmp slt i32 %47, 64 br i1 %48, label %30, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %44 br label %49 49: ; preds = %._crit_edge3, %27 store i32 0, ptr %1, align 4 %50 = load i32, ptr %1, align 4 %51 = icmp slt i32 %50, 64 br i1 %51, label %.lr.ph5, label %68 .lr.ph5: ; preds = %49 br label %52 52: ; preds = %.lr.ph5, %63 %53 = load i32, ptr %1, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 %54 %56 = load i8, ptr %55, align 1 %57 = sext i8 %56 to i32 %58 = sub nsw i32 0, %57 %59 = trunc i32 %58 to i8 %60 = load i32, ptr %1, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds [64 x i8], ptr %5, i64 0, i64 %61 store i8 %59, ptr %62, align 1 br label %63 63: ; preds = %52 %64 = load i32, ptr %1, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %1, align 4 %66 = load i32, ptr %1, align 4 %67 = icmp slt i32 %66, 64 br i1 %67, label %52, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %63 br label %68 68: ; preds = %._crit_edge6, %49 store i32 0, ptr %1, align 4 %69 = load i32, ptr %1, align 4 %70 = icmp slt i32 %69, 64 br i1 %70, label %.lr.ph8, label %92 .lr.ph8: ; preds = %68 br label %71 71: ; preds = %.lr.ph8, %87 %72 = load i32, ptr %1, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds [64 x i8], ptr %5, i64 0, i64 %73 %75 = load i8, ptr %74, align 1 %76 = sext i8 %75 to i32 %77 = load i32, ptr %1, align 4 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds [64 x i8], ptr %6, i64 0, i64 %78 %80 = load i8, ptr %79, align 1 %81 = sext i8 %80 to i32 %82 = sub nsw i32 0, %81 %83 = icmp ne i32 %76, %82 br i1 %83, label %84, label %86 84: ; preds = %71 %85 = call i32 (...) @abort() #3 unreachable 86: ; preds = %71 br label %87 87: ; preds = %86 %88 = load i32, ptr %1, align 4 %89 = add nsw i32 %88, 1 store i32 %89, ptr %1, align 4 %90 = load i32, ptr %1, align 4 %91 = icmp slt i32 %90, 64 br i1 %91, label %71, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %87 br label %92 92: ; preds = %._crit_edge9, %68 store i32 0, ptr %1, align 4 %93 = load i32, ptr %1, align 4 %94 = icmp slt i32 %93, 64 br i1 %94, label %.lr.ph11, label %111 .lr.ph11: ; preds = %92 br label %95 95: ; preds = %.lr.ph11, %106 %96 = load i32, ptr %1, align 4 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds [64 x i16], ptr %9, i64 0, i64 %97 %99 = load i16, ptr %98, align 2 %100 = sext i16 %99 to i32 %101 = sub nsw i32 0, %100 %102 = trunc i32 %101 to i16 %103 = load i32, ptr %1, align 4 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds [64 x i16], ptr %8, i64 0, i64 %104 store i16 %102, ptr %105, align 2 br label %106 106: ; preds = %95 %107 = load i32, ptr %1, align 4 %108 = add nsw i32 %107, 1 store i32 %108, ptr %1, align 4 %109 = load i32, ptr %1, align 4 %110 = icmp slt i32 %109, 64 br i1 %110, label %95, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %106 br label %111 111: ; preds = %._crit_edge12, %92 store i32 0, ptr %1, align 4 %112 = load i32, ptr %1, align 4 %113 = icmp slt i32 %112, 64 br i1 %113, label %.lr.ph14, label %135 .lr.ph14: ; preds = %111 br label %114 114: ; preds = %.lr.ph14, %130 %115 = load i32, ptr %1, align 4 %116 = sext i32 %115 to i64 %117 = getelementptr inbounds [64 x i16], ptr %8, i64 0, i64 %116 %118 = load i16, ptr %117, align 2 %119 = sext i16 %118 to i32 %120 = load i32, ptr %1, align 4 %121 = sext i32 %120 to i64 %122 = getelementptr inbounds [64 x i16], ptr %9, i64 0, i64 %121 %123 = load i16, ptr %122, align 2 %124 = sext i16 %123 to i32 %125 = sub nsw i32 0, %124 %126 = icmp ne i32 %119, %125 br i1 %126, label %127, label %129 127: ; preds = %114 %128 = call i32 (...) @abort() #3 unreachable 129: ; preds = %114 br label %130 130: ; preds = %129 %131 = load i32, ptr %1, align 4 %132 = add nsw i32 %131, 1 store i32 %132, ptr %1, align 4 %133 = load i32, ptr %1, align 4 %134 = icmp slt i32 %133, 64 br i1 %134, label %114, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %130 br label %135 135: ; preds = %._crit_edge15, %111 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 ; Function Attrs: noreturn declare i32 @abort(...) #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 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '/tmp/tmp4o2fhv7j.c' source_filename = "/tmp/tmp4o2fhv7j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__delete_task(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 br label %3 3: ; preds = %1 %4 = load ptr, ptr %2, align 8 %5 = icmp ne ptr %4, null br i1 %5, label %6, label %9 6: ; preds = %3 %7 = load ptr, ptr %2, align 8 %8 = call i32 @free(ptr noundef %7) br label %9 9: ; preds = %6, %3 store ptr null, ptr %2, align 8 br label %10 10: ; preds = %9 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/tmp4o2fhv7j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__delete_task(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 br label %3 3: ; preds = %1 %4 = load ptr, ptr %2, align 8 %5 = icmp ne ptr %4, null br i1 %5, label %6, label %9 6: ; preds = %3 %7 = load ptr, ptr %2, align 8 %8 = call i32 @free(ptr noundef %7) br label %9 9: ; preds = %6, %3 store ptr null, ptr %2, align 8 br label %10 10: ; preds = %9 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/tmp490vo9m_.c' source_filename = "/tmp/tmp490vo9m_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mixedSignedness13(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 2147483647, ptr %3, align 4 %4 = load i32, ptr %2, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp ult i32 %4, %5 %7 = zext i1 %6 to i32 %8 = call i32 @clang_analyzer_eval(i32 noundef %7) %9 = load i32, ptr %2, align 4 %10 = add nsw i32 %9, 2 %11 = load i32, ptr %3, align 4 %12 = icmp ult i32 %10, %11 %13 = zext i1 %12 to i32 %14 = call i32 @clang_analyzer_eval(i32 noundef %13) %15 = load i32, ptr %2, align 4 %16 = add i32 %15, 2 %17 = load i32, ptr %3, align 4 %18 = icmp ult i32 %16, %17 %19 = zext i1 %18 to i32 %20 = call i32 @clang_analyzer_eval(i32 noundef %19) ret void } declare i32 @clang_analyzer_eval(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/tmp490vo9m_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mixedSignedness13(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 2147483647, ptr %3, align 4 %4 = load i32, ptr %2, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp ult i32 %4, %5 %7 = zext i1 %6 to i32 %8 = call i32 @clang_analyzer_eval(i32 noundef %7) %9 = load i32, ptr %2, align 4 %10 = add nsw i32 %9, 2 %11 = load i32, ptr %3, align 4 %12 = icmp ult i32 %10, %11 %13 = zext i1 %12 to i32 %14 = call i32 @clang_analyzer_eval(i32 noundef %13) %15 = load i32, ptr %2, align 4 %16 = add i32 %15, 2 %17 = load i32, ptr %3, align 4 %18 = icmp ult i32 %16, %17 %19 = zext i1 %18 to i32 %20 = call i32 @clang_analyzer_eval(i32 noundef %19) ret void } declare i32 @clang_analyzer_eval(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/tmpkxiyfmst.c' source_filename = "/tmp/tmpkxiyfmst.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.a = private unnamed_addr constant [4 x i32] [i32 1, i32 2, i32 3, i32 4], align 16 @.str = private unnamed_addr constant [4 x i8] c"%5d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca [4 x i32], align 16 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.main.a, i64 16, i1 false) store ptr %4, ptr %2, align 8 store i32 0, ptr %3, align 4 br label %5 5: ; preds = %15, %0 %6 = load i32, ptr %3, align 4 %7 = icmp slt i32 %6, 4 br i1 %7, label %8, label %18 8: ; preds = %5 %9 = load ptr, ptr %2, align 8 %10 = load i32, ptr %3, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 %11 %13 = load i32, ptr %12, align 4 %14 = call i32 @printf(ptr noundef @.str, i32 noundef %13) br label %15 15: ; preds = %8 %16 = load i32, ptr %3, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %3, align 4 br label %5, !llvm.loop !6 18: ; preds = %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 @printf(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkxiyfmst.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.a = private unnamed_addr constant [4 x i32] [i32 1, i32 2, i32 3, i32 4], align 16 @.str = private unnamed_addr constant [4 x i8] c"%5d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca [4 x i32], align 16 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.main.a, i64 16, i1 false) store ptr %4, ptr %2, align 8 store i32 0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 4 br i1 %6, label %.lr.ph, label %19 .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %14 %8 = load ptr, ptr %2, align 8 %9 = load i32, ptr %3, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds [4 x i32], ptr %8, i64 0, i64 %10 %12 = load i32, ptr %11, align 4 %13 = call i32 @printf(ptr noundef @.str, i32 noundef %12) br label %14 14: ; preds = %7 %15 = load i32, ptr %3, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %3, align 4 %17 = load i32, ptr %3, align 4 %18 = icmp slt i32 %17, 4 br i1 %18, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %19 19: ; preds = %._crit_edge, %0 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp2qexkted.c' source_filename = "/tmp/tmp2qexkted.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @umsgpack_pack_int(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i32 @umsgpack_pack_int32(ptr noundef %5, i32 noundef %6) ret i32 %7 } declare i32 @umsgpack_pack_int32(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/tmp2qexkted.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @umsgpack_pack_int(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = call i32 @umsgpack_pack_int32(ptr noundef %5, i32 noundef %6) ret i32 %7 } declare i32 @umsgpack_pack_int32(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/tmp2ohfdl65.c' source_filename = "/tmp/tmp2ohfdl65.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 void @print_binary_of(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp ugt i32 %3, 1 br i1 %4, label %5, label %8 5: ; preds = %1 %6 = load i32, ptr %2, align 4 %7 = udiv i32 %6, 2 call void @print_binary_of(i32 noundef %7) br label %8 8: ; preds = %5, %1 %9 = load i32, ptr %2, align 4 %10 = urem i32 %9, 2 %11 = call i32 @printf(ptr noundef @.str, i32 noundef %10) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2ohfdl65.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 void @print_binary_of(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp ugt i32 %3, 1 br i1 %4, label %5, label %8 5: ; preds = %1 %6 = load i32, ptr %2, align 4 %7 = udiv i32 %6, 2 call void @print_binary_of(i32 noundef %7) br label %8 8: ; preds = %5, %1 %9 = load i32, ptr %2, align 4 %10 = urem i32 %9, 2 %11 = call i32 @printf(ptr noundef @.str, i32 noundef %10) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzlf728l8.c' source_filename = "/tmp/tmpzlf728l8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rev_byte_1(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = ashr i32 %3, 7 %5 = and i32 %4, 1 %6 = load i32, ptr %2, align 4 %7 = ashr i32 %6, 5 %8 = and i32 %7, 2 %9 = or i32 %5, %8 %10 = load i32, ptr %2, align 4 %11 = ashr i32 %10, 3 %12 = and i32 %11, 4 %13 = or i32 %9, %12 %14 = load i32, ptr %2, align 4 %15 = ashr i32 %14, 1 %16 = and i32 %15, 8 %17 = or i32 %13, %16 %18 = load i32, ptr %2, align 4 %19 = shl i32 %18, 1 %20 = and i32 %19, 16 %21 = or i32 %17, %20 %22 = load i32, ptr %2, align 4 %23 = shl i32 %22, 3 %24 = and i32 %23, 32 %25 = or i32 %21, %24 %26 = load i32, ptr %2, align 4 %27 = shl i32 %26, 5 %28 = and i32 %27, 64 %29 = or i32 %25, %28 %30 = load i32, ptr %2, align 4 %31 = shl i32 %30, 7 %32 = and i32 %31, 128 %33 = or i32 %29, %32 ret i32 %33 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzlf728l8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rev_byte_1(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = ashr i32 %3, 7 %5 = and i32 %4, 1 %6 = load i32, ptr %2, align 4 %7 = ashr i32 %6, 5 %8 = and i32 %7, 2 %9 = or i32 %5, %8 %10 = load i32, ptr %2, align 4 %11 = ashr i32 %10, 3 %12 = and i32 %11, 4 %13 = or i32 %9, %12 %14 = load i32, ptr %2, align 4 %15 = ashr i32 %14, 1 %16 = and i32 %15, 8 %17 = or i32 %13, %16 %18 = load i32, ptr %2, align 4 %19 = shl i32 %18, 1 %20 = and i32 %19, 16 %21 = or i32 %17, %20 %22 = load i32, ptr %2, align 4 %23 = shl i32 %22, 3 %24 = and i32 %23, 32 %25 = or i32 %21, %24 %26 = load i32, ptr %2, align 4 %27 = shl i32 %26, 5 %28 = and i32 %27, 64 %29 = or i32 %25, %28 %30 = load i32, ptr %2, align 4 %31 = shl i32 %30, 7 %32 = and i32 %31, 128 %33 = or i32 %29, %32 ret i32 %33 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1aksbm_4.c' source_filename = "/tmp/tmp1aksbm_4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call double @llvm.fabs.f64(double -2.000000e+00) %7 = fcmp oeq double %6, 2.000000e+00 br i1 %7, label %8, label %9 8: ; preds = %2 store i32 0, ptr %3, align 4 br label %10 9: ; preds = %2 store i32 1, ptr %3, align 4 br label %10 10: ; preds = %9, %8 %11 = load i32, ptr %3, align 4 ret i32 %11 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1aksbm_4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = call double @llvm.fabs.f64(double -2.000000e+00) %7 = fcmp oeq double %6, 2.000000e+00 br i1 %7, label %8, label %9 8: ; preds = %2 store i32 0, ptr %3, align 4 br label %10 9: ; preds = %2 store i32 1, ptr %3, align 4 br label %10 10: ; preds = %9, %8 %11 = load i32, ptr %3, align 4 ret i32 %11 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbi3l4eca.c' source_filename = "/tmp/tmpbi3l4eca.c" target datalayout = "e-m:e-p270: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/tmpbi3l4eca.c" target datalayout = "e-m:e-p270: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/tmp6kanyvha.c' source_filename = "/tmp/tmp6kanyvha.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @utilSingleAcceptServer(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = call i32 @utilServerCreate(i32 noundef %6, i32 noundef 1, i32 noundef 20, i32 noundef 1) store i32 %7, ptr %4, align 4 %8 = icmp slt i32 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %1 %10 = load i32, ptr %4, align 4 store i32 %10, ptr %2, align 4 br label %17 11: ; preds = %1 %12 = load i32, ptr %4, align 4 %13 = call i32 @accept(i32 noundef %12, ptr noundef null, ptr noundef null) store i32 %13, ptr %5, align 4 %14 = load i32, ptr %4, align 4 %15 = call i32 @close(i32 noundef %14) %16 = load i32, ptr %5, align 4 store i32 %16, ptr %2, align 4 br label %17 17: ; preds = %11, %9 %18 = load i32, ptr %2, align 4 ret i32 %18 } declare i32 @utilServerCreate(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6kanyvha.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @utilSingleAcceptServer(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = call i32 @utilServerCreate(i32 noundef %6, i32 noundef 1, i32 noundef 20, i32 noundef 1) store i32 %7, ptr %4, align 4 %8 = icmp slt i32 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %1 %10 = load i32, ptr %4, align 4 store i32 %10, ptr %2, align 4 br label %17 11: ; preds = %1 %12 = load i32, ptr %4, align 4 %13 = call i32 @accept(i32 noundef %12, ptr noundef null, ptr noundef null) store i32 %13, ptr %5, align 4 %14 = load i32, ptr %4, align 4 %15 = call i32 @close(i32 noundef %14) %16 = load i32, ptr %5, align 4 store i32 %16, ptr %2, align 4 br label %17 17: ; preds = %11, %9 %18 = load i32, ptr %2, align 4 ret i32 %18 } declare i32 @utilServerCreate(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpp1g094y3.c' source_filename = "/tmp/tmpp1g094y3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/dev/rtmotoren0\00", align 1 @O_WRONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [20 x i8] c"/dev/rtmotor_raw_l0\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"/dev/rtmotor_raw_r0\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"/dev/rtmotor0\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"Motor On\0A\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"1\00", align 1 @.str.6 = private unnamed_addr constant [26 x i8] c"Rotate counter-clockwise\0A\00", align 1 @.str.7 = private unnamed_addr constant [5 x i8] c"-400\00", align 1 @.str.8 = private unnamed_addr constant [4 x i8] c"400\00", align 1 @.str.9 = private unnamed_addr constant [2 x i8] c"0\00", align 1 @.str.10 = private unnamed_addr constant [18 x i8] c"Rotate clockwise\0A\00", align 1 @.str.11 = private unnamed_addr constant [13 x i8] c"400 -400 500\00", align 1 @.str.12 = private unnamed_addr constant [13 x i8] c"-400 400 500\00", align 1 @.str.13 = private unnamed_addr constant [11 x i8] c"Motor Off\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = load i32, ptr @O_WRONLY, align 4 %7 = call i32 @open(ptr noundef @.str, i32 noundef %6) store i32 %7, ptr %2, align 4 %8 = load i32, ptr @O_WRONLY, align 4 %9 = call i32 @open(ptr noundef @.str.1, i32 noundef %8) store i32 %9, ptr %3, align 4 %10 = load i32, ptr @O_WRONLY, align 4 %11 = call i32 @open(ptr noundef @.str.2, i32 noundef %10) store i32 %11, ptr %4, align 4 %12 = load i32, ptr @O_WRONLY, align 4 %13 = call i32 @open(ptr noundef @.str.3, i32 noundef %12) store i32 %13, ptr %5, align 4 %14 = call i32 @printf(ptr noundef @.str.4) %15 = load i32, ptr %2, align 4 %16 = call i32 @write(i32 noundef %15, ptr noundef @.str.5, i32 noundef 1) %17 = call i32 @usleep(i32 noundef 500000) %18 = call i32 @printf(ptr noundef @.str.6) %19 = load i32, ptr %3, align 4 %20 = call i32 @write(i32 noundef %19, ptr noundef @.str.7, i32 noundef 5) %21 = load i32, ptr %4, align 4 %22 = call i32 @write(i32 noundef %21, ptr noundef @.str.8, i32 noundef 5) %23 = call i32 @usleep(i32 noundef 500000) %24 = load i32, ptr %3, align 4 %25 = call i32 @write(i32 noundef %24, ptr noundef @.str.9, i32 noundef 5) %26 = load i32, ptr %4, align 4 %27 = call i32 @write(i32 noundef %26, ptr noundef @.str.9, i32 noundef 5) %28 = call i32 @usleep(i32 noundef 500000) %29 = call i32 @printf(ptr noundef @.str.10) %30 = load i32, ptr %3, align 4 %31 = call i32 @write(i32 noundef %30, ptr noundef @.str.8, i32 noundef 5) %32 = load i32, ptr %4, align 4 %33 = call i32 @write(i32 noundef %32, ptr noundef @.str.7, i32 noundef 5) %34 = call i32 @usleep(i32 noundef 500000) %35 = load i32, ptr %3, align 4 %36 = call i32 @write(i32 noundef %35, ptr noundef @.str.9, i32 noundef 5) %37 = load i32, ptr %4, align 4 %38 = call i32 @write(i32 noundef %37, ptr noundef @.str.9, i32 noundef 5) %39 = call i32 @usleep(i32 noundef 500000) %40 = call i32 @printf(ptr noundef @.str.10) %41 = load i32, ptr %5, align 4 %42 = call i32 @write(i32 noundef %41, ptr noundef @.str.11, i32 noundef 15) %43 = call i32 @usleep(i32 noundef 500000) %44 = call i32 @printf(ptr noundef @.str.6) %45 = load i32, ptr %5, align 4 %46 = call i32 @write(i32 noundef %45, ptr noundef @.str.12, i32 noundef 15) %47 = call i32 @printf(ptr noundef @.str.13) %48 = load i32, ptr %2, align 4 %49 = call i32 @write(i32 noundef %48, ptr noundef @.str.9, i32 noundef 1) %50 = load i32, ptr %2, align 4 %51 = call i32 @close(i32 noundef %50) %52 = load i32, ptr %3, align 4 %53 = call i32 @close(i32 noundef %52) %54 = load i32, ptr %4, align 4 %55 = call i32 @close(i32 noundef %54) %56 = load i32, ptr %5, align 4 %57 = call i32 @close(i32 noundef %56) ret i32 0 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @usleep(i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp1g094y3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/dev/rtmotoren0\00", align 1 @O_WRONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [20 x i8] c"/dev/rtmotor_raw_l0\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"/dev/rtmotor_raw_r0\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"/dev/rtmotor0\00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"Motor On\0A\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"1\00", align 1 @.str.6 = private unnamed_addr constant [26 x i8] c"Rotate counter-clockwise\0A\00", align 1 @.str.7 = private unnamed_addr constant [5 x i8] c"-400\00", align 1 @.str.8 = private unnamed_addr constant [4 x i8] c"400\00", align 1 @.str.9 = private unnamed_addr constant [2 x i8] c"0\00", align 1 @.str.10 = private unnamed_addr constant [18 x i8] c"Rotate clockwise\0A\00", align 1 @.str.11 = private unnamed_addr constant [13 x i8] c"400 -400 500\00", align 1 @.str.12 = private unnamed_addr constant [13 x i8] c"-400 400 500\00", align 1 @.str.13 = private unnamed_addr constant [11 x i8] c"Motor Off\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = load i32, ptr @O_WRONLY, align 4 %7 = call i32 @open(ptr noundef @.str, i32 noundef %6) store i32 %7, ptr %2, align 4 %8 = load i32, ptr @O_WRONLY, align 4 %9 = call i32 @open(ptr noundef @.str.1, i32 noundef %8) store i32 %9, ptr %3, align 4 %10 = load i32, ptr @O_WRONLY, align 4 %11 = call i32 @open(ptr noundef @.str.2, i32 noundef %10) store i32 %11, ptr %4, align 4 %12 = load i32, ptr @O_WRONLY, align 4 %13 = call i32 @open(ptr noundef @.str.3, i32 noundef %12) store i32 %13, ptr %5, align 4 %14 = call i32 @printf(ptr noundef @.str.4) %15 = load i32, ptr %2, align 4 %16 = call i32 @write(i32 noundef %15, ptr noundef @.str.5, i32 noundef 1) %17 = call i32 @usleep(i32 noundef 500000) %18 = call i32 @printf(ptr noundef @.str.6) %19 = load i32, ptr %3, align 4 %20 = call i32 @write(i32 noundef %19, ptr noundef @.str.7, i32 noundef 5) %21 = load i32, ptr %4, align 4 %22 = call i32 @write(i32 noundef %21, ptr noundef @.str.8, i32 noundef 5) %23 = call i32 @usleep(i32 noundef 500000) %24 = load i32, ptr %3, align 4 %25 = call i32 @write(i32 noundef %24, ptr noundef @.str.9, i32 noundef 5) %26 = load i32, ptr %4, align 4 %27 = call i32 @write(i32 noundef %26, ptr noundef @.str.9, i32 noundef 5) %28 = call i32 @usleep(i32 noundef 500000) %29 = call i32 @printf(ptr noundef @.str.10) %30 = load i32, ptr %3, align 4 %31 = call i32 @write(i32 noundef %30, ptr noundef @.str.8, i32 noundef 5) %32 = load i32, ptr %4, align 4 %33 = call i32 @write(i32 noundef %32, ptr noundef @.str.7, i32 noundef 5) %34 = call i32 @usleep(i32 noundef 500000) %35 = load i32, ptr %3, align 4 %36 = call i32 @write(i32 noundef %35, ptr noundef @.str.9, i32 noundef 5) %37 = load i32, ptr %4, align 4 %38 = call i32 @write(i32 noundef %37, ptr noundef @.str.9, i32 noundef 5) %39 = call i32 @usleep(i32 noundef 500000) %40 = call i32 @printf(ptr noundef @.str.10) %41 = load i32, ptr %5, align 4 %42 = call i32 @write(i32 noundef %41, ptr noundef @.str.11, i32 noundef 15) %43 = call i32 @usleep(i32 noundef 500000) %44 = call i32 @printf(ptr noundef @.str.6) %45 = load i32, ptr %5, align 4 %46 = call i32 @write(i32 noundef %45, ptr noundef @.str.12, i32 noundef 15) %47 = call i32 @printf(ptr noundef @.str.13) %48 = load i32, ptr %2, align 4 %49 = call i32 @write(i32 noundef %48, ptr noundef @.str.9, i32 noundef 1) %50 = load i32, ptr %2, align 4 %51 = call i32 @close(i32 noundef %50) %52 = load i32, ptr %3, align 4 %53 = call i32 @close(i32 noundef %52) %54 = load i32, ptr %4, align 4 %55 = call i32 @close(i32 noundef %54) %56 = load i32, ptr %5, align 4 %57 = call i32 @close(i32 noundef %56) ret i32 0 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @usleep(i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_axu4v7k.c' source_filename = "/tmp/tmp_axu4v7k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_mm_cmpeq_ps(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @_mm_cmpeq_ps(i32 noundef %5, i32 noundef %6) ret i32 %7 } declare i32 @_mm_cmpeq_ps(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/tmp_axu4v7k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_mm_cmpeq_ps(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @_mm_cmpeq_ps(i32 noundef %5, i32 noundef %6) ret i32 %7 } declare i32 @_mm_cmpeq_ps(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/tmpp9bm00or.c' source_filename = "/tmp/tmpp9bm00or.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @charstringInit(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 @charArrayInit(ptr noundef %3, i32 noundef 1) ret void } declare i32 @charArrayInit(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/tmpp9bm00or.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @charstringInit(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 @charArrayInit(ptr noundef %3, i32 noundef 1) ret void } declare i32 @charArrayInit(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/tmpo5gdprgx.c' source_filename = "/tmp/tmpo5gdprgx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ERROR ENCRYPTING FILE: %s%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c"ENCRYPTED %s TO %s WITH %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c".enc\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"CANNOT STAT %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [13 x i8] c"ARG IS A DIR\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c".pad\00", align 1 @.str.6 = private unnamed_addr constant [44 x i8] c"SourceFile: %s\0APadFile: %s\0AEncryptFile: %s\0A\00", align 1 @.str.7 = private unnamed_addr constant [22 x i8] c"ERRRO MAKING PAD: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [257 x i8], align 16 %7 = alloca [257 x i8], align 16 %8 = alloca [257 x i8], align 16 %9 = alloca i64, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %14 = load i32, ptr %4, align 4 %15 = icmp eq i32 %14, 4 br i1 %15, label %16, label %46 16: ; preds = %2 %17 = getelementptr inbounds [257 x i8], ptr %6, i64 0, i64 0 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 1 %20 = load ptr, ptr %19, align 8 %21 = call i32 @strcpy(ptr noundef %17, ptr noundef %20) %22 = getelementptr inbounds [257 x i8], ptr %7, i64 0, i64 0 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 2 %25 = load ptr, ptr %24, align 8 %26 = call i32 @strcpy(ptr noundef %22, ptr noundef %25) %27 = getelementptr inbounds [257 x i8], ptr %8, i64 0, i64 0 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds ptr, ptr %28, i64 3 %30 = load ptr, ptr %29, align 8 %31 = call i32 @strcpy(ptr noundef %27, ptr noundef %30) %32 = getelementptr inbounds [257 x i8], ptr %6, i64 0, i64 0 %33 = getelementptr inbounds [257 x i8], ptr %7, i64 0, i64 0 %34 = getelementptr inbounds [257 x i8], ptr %8, i64 0, i64 0 %35 = call i32 @_EncryptSSE_EncryptFile(ptr noundef %32, ptr noundef %33, ptr noundef %34) %36 = icmp eq i32 %35, -1 br i1 %36, label %37, label %41 37: ; preds = %16 %38 = call ptr (...) @_EncryptSSE_PropErrMsg() %39 = call i32 (...) @_EncryptSSE_PropErrDesc() %40 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %38, i32 noundef %39) store i32 -1, ptr %3, align 4 br label %144 41: ; preds = %16 %42 = getelementptr inbounds [257 x i8], ptr %6, i64 0, i64 0 %43 = getelementptr inbounds [257 x i8], ptr %8, i64 0, i64 0 %44 = getelementptr inbounds [257 x i8], ptr %7, i64 0, i64 0 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %42, ptr noundef %43, ptr noundef %44) store i32 0, ptr %3, align 4 br label %144 46: ; preds = %2 %47 = load i32, ptr %4, align 4 %48 = icmp eq i32 %47, 3 br i1 %48, label %49, label %79 49: ; preds = %46 %50 = getelementptr inbounds [257 x i8], ptr %6, i64 0, i64 0 %51 = load ptr, ptr %5, align 8 %52 = getelementptr inbounds ptr, ptr %51, i64 1 %53 = load ptr, ptr %52, align 8 %54 = call i32 @strcpy(ptr noundef %50, ptr noundef %53) %55 = getelementptr inbounds [257 x i8], ptr %7, i64 0, i64 0 %56 = load ptr, ptr %5, align 8 %57 = getelementptr inbounds ptr, ptr %56, i64 2 %58 = load ptr, ptr %57, align 8 %59 = call i32 @strcpy(ptr noundef %55, ptr noundef %58) %60 = getelementptr inbounds [257 x i8], ptr %8, i64 0, i64 0 %61 = getelementptr inbounds [257 x i8], ptr %6, i64 0, i64 0 %62 = call i32 @strcpy(ptr noundef %60, ptr noundef %61) %63 = getelementptr inbounds [257 x i8], ptr %8, i64 0, i64 0 %64 = call i32 @strcat(ptr noundef %63, ptr noundef @.str.2) %65 = getelementptr inbounds [257 x i8], ptr %6, i64 0, i64 0 %66 = getelementptr inbounds [257 x i8], ptr %7, i64 0, i64 0 %67 = getelementptr inbounds [257 x i8], ptr %8, i64 0, i64 0 %68 = call i32 @_EncryptSSE_EncryptFile(ptr noundef %65, ptr noundef %66, ptr noundef %67) %69 = icmp eq i32 %68, -1 br i1 %69, label %70, label %74 70: ; preds = %49 %71 = call ptr (...) @_EncryptSSE_PropErrMsg() %72 = call i32 (...) @_EncryptSSE_PropErrDesc() %73 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %71, i32 noundef %72) store i32 -1, ptr %3, align 4 br label %144 74: ; preds = %49 %75 = getelementptr inbounds [257 x i8], ptr %6, i64 0, i64 0 %76 = getelementptr inbounds [257 x i8], ptr %8, i64 0, i64 0 %77 = getelementptr inbounds [257 x i8], ptr %7, i64 0, i64 0 %78 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %75, ptr noundef %76, ptr noundef %77) store i32 0, ptr %3, align 4 br label %144 79: ; preds = %46 %80 = load i32, ptr %4, align 4 %81 = icmp eq i32 %80, 2 br i1 %81, label %82, label %141 82: ; preds = %79 %83 = getelementptr inbounds [257 x i8], ptr %6, i64 0, i64 0 %84 = load ptr, ptr %5, align 8 %85 = getelementptr inbounds ptr, ptr %84, i64 1 %86 = load ptr, ptr %85, align 8 %87 = call i32 @strcpy(ptr noundef %83, ptr noundef %86) %88 = load ptr, ptr %5, align 8 %89 = getelementptr inbounds ptr, ptr %88, i64 1 %90 = load ptr, ptr %89, align 8 %91 = call i32 @FileStat(ptr noundef %90, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12) %92 = icmp eq i32 %91, -1 br i1 %92, label %93, label %98 93: ; preds = %82 %94 = load ptr, ptr %5, align 8 %95 = getelementptr inbounds ptr, ptr %94, i64 1 %96 = load ptr, ptr %95, align 8 %97 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %96) store i32 -1, ptr %3, align 4 br label %144 98: ; preds = %82 %99 = load i32, ptr %12, align 4 %100 = icmp eq i32 %99, 1 br i1 %100, label %101, label %103 101: ; preds = %98 %102 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) store i32 -1, ptr %3, align 4 br label %144 103: ; preds = %98 %104 = getelementptr inbounds [257 x i8], ptr %7, i64 0, i64 0 %105 = getelementptr inbounds [257 x i8], ptr %6, i64 0, i64 0 %106 = call i32 @strcpy(ptr noundef %104, ptr noundef %105) %107 = getelementptr inbounds [257 x i8], ptr %7, i64 0, i64 0 %108 = call i32 @strcat(ptr noundef %107, ptr noundef @.str.5) %109 = getelementptr inbounds [257 x i8], ptr %8, i64 0, i64 0 %110 = getelementptr inbounds [257 x i8], ptr %6, i64 0, i64 0 %111 = call i32 @strcpy(ptr noundef %109, ptr noundef %110) %112 = getelementptr inbounds [257 x i8], ptr %8, i64 0, i64 0 %113 = call i32 @strcat(ptr noundef %112, ptr noundef @.str.2) %114 = getelementptr inbounds [257 x i8], ptr %6, i64 0, i64 0 %115 = getelementptr inbounds [257 x i8], ptr %7, i64 0, i64 0 %116 = getelementptr inbounds [257 x i8], ptr %8, i64 0, i64 0 %117 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %114, ptr noundef %115, ptr noundef %116) %118 = getelementptr inbounds [257 x i8], ptr %7, i64 0, i64 0 %119 = load i64, ptr %9, align 8 %120 = call i32 @_Padmake_MakePadFile(ptr noundef %118, i64 noundef %119, i32 noundef 1) %121 = icmp eq i32 %120, -1 br i1 %121, label %122, label %125 122: ; preds = %103 %123 = call ptr (...) @_Padmake_PropErrMsg() %124 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %123) store i32 -1, ptr %3, align 4 br label %144 125: ; preds = %103 %126 = getelementptr inbounds [257 x i8], ptr %6, i64 0, i64 0 %127 = getelementptr inbounds [257 x i8], ptr %7, i64 0, i64 0 %128 = getelementptr inbounds [257 x i8], ptr %8, i64 0, i64 0 %129 = call i32 @_EncryptSSE_EncryptFile(ptr noundef %126, ptr noundef %127, ptr noundef %128) %130 = icmp eq i32 %129, -1 br i1 %130, label %131, label %135 131: ; preds = %125 %132 = call ptr (...) @_EncryptSSE_PropErrMsg() %133 = call i32 (...) @_EncryptSSE_PropErrDesc() %134 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %132, i32 noundef %133) store i32 -1, ptr %3, align 4 br label %144 135: ; preds = %125 %136 = getelementptr inbounds [257 x i8], ptr %6, i64 0, i64 0 %137 = getelementptr inbounds [257 x i8], ptr %7, i64 0, i64 0 %138 = getelementptr inbounds [257 x i8], ptr %8, i64 0, i64 0 %139 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %136, ptr noundef %137, ptr noundef %138) br label %140 140: ; preds = %135 br label %141 141: ; preds = %140, %79 br label %142 142: ; preds = %141 br label %143 143: ; preds = %142 store i32 0, ptr %3, align 4 br label %144 144: ; preds = %143, %131, %122, %101, %93, %74, %70, %41, %37 %145 = load i32, ptr %3, align 4 ret i32 %145 } declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @_EncryptSSE_EncryptFile(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @_EncryptSSE_PropErrMsg(...) #1 declare i32 @_EncryptSSE_PropErrDesc(...) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @FileStat(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @_Padmake_MakePadFile(ptr noundef, i64 noundef, i32 noundef) #1 declare ptr @_Padmake_PropErrMsg(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo5gdprgx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ERROR ENCRYPTING FILE: %s%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c"ENCRYPTED %s TO %s WITH %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c".enc\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"CANNOT STAT %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [13 x i8] c"ARG IS A DIR\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c".pad\00", align 1 @.str.6 = private unnamed_addr constant [44 x i8] c"SourceFile: %s\0APadFile: %s\0AEncryptFile: %s\0A\00", align 1 @.str.7 = private unnamed_addr constant [22 x i8] c"ERRRO MAKING PAD: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [257 x i8], align 16 %7 = alloca [257 x i8], align 16 %8 = alloca [257 x i8], align 16 %9 = alloca i64, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %14 = load i32, ptr %4, align 4 %15 = icmp eq i32 %14, 4 br i1 %15, label %16, label %46 16: ; preds = %2 %17 = getelementptr inbounds [257 x i8], ptr %6, i64 0, i64 0 %18 = load ptr, ptr %5, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 1 %20 = load ptr, ptr %19, align 8 %21 = call i32 @strcpy(ptr noundef %17, ptr noundef %20) %22 = getelementptr inbounds [257 x i8], ptr %7, i64 0, i64 0 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 2 %25 = load ptr, ptr %24, align 8 %26 = call i32 @strcpy(ptr noundef %22, ptr noundef %25) %27 = getelementptr inbounds [257 x i8], ptr %8, i64 0, i64 0 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds ptr, ptr %28, i64 3 %30 = load ptr, ptr %29, align 8 %31 = call i32 @strcpy(ptr noundef %27, ptr noundef %30) %32 = getelementptr inbounds [257 x i8], ptr %6, i64 0, i64 0 %33 = getelementptr inbounds [257 x i8], ptr %7, i64 0, i64 0 %34 = getelementptr inbounds [257 x i8], ptr %8, i64 0, i64 0 %35 = call i32 @_EncryptSSE_EncryptFile(ptr noundef %32, ptr noundef %33, ptr noundef %34) %36 = icmp eq i32 %35, -1 br i1 %36, label %37, label %41 37: ; preds = %16 %38 = call ptr (...) @_EncryptSSE_PropErrMsg() %39 = call i32 (...) @_EncryptSSE_PropErrDesc() %40 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %38, i32 noundef %39) store i32 -1, ptr %3, align 4 br label %144 41: ; preds = %16 %42 = getelementptr inbounds [257 x i8], ptr %6, i64 0, i64 0 %43 = getelementptr inbounds [257 x i8], ptr %8, i64 0, i64 0 %44 = getelementptr inbounds [257 x i8], ptr %7, i64 0, i64 0 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %42, ptr noundef %43, ptr noundef %44) store i32 0, ptr %3, align 4 br label %144 46: ; preds = %2 %47 = load i32, ptr %4, align 4 %48 = icmp eq i32 %47, 3 br i1 %48, label %49, label %79 49: ; preds = %46 %50 = getelementptr inbounds [257 x i8], ptr %6, i64 0, i64 0 %51 = load ptr, ptr %5, align 8 %52 = getelementptr inbounds ptr, ptr %51, i64 1 %53 = load ptr, ptr %52, align 8 %54 = call i32 @strcpy(ptr noundef %50, ptr noundef %53) %55 = getelementptr inbounds [257 x i8], ptr %7, i64 0, i64 0 %56 = load ptr, ptr %5, align 8 %57 = getelementptr inbounds ptr, ptr %56, i64 2 %58 = load ptr, ptr %57, align 8 %59 = call i32 @strcpy(ptr noundef %55, ptr noundef %58) %60 = getelementptr inbounds [257 x i8], ptr %8, i64 0, i64 0 %61 = getelementptr inbounds [257 x i8], ptr %6, i64 0, i64 0 %62 = call i32 @strcpy(ptr noundef %60, ptr noundef %61) %63 = getelementptr inbounds [257 x i8], ptr %8, i64 0, i64 0 %64 = call i32 @strcat(ptr noundef %63, ptr noundef @.str.2) %65 = getelementptr inbounds [257 x i8], ptr %6, i64 0, i64 0 %66 = getelementptr inbounds [257 x i8], ptr %7, i64 0, i64 0 %67 = getelementptr inbounds [257 x i8], ptr %8, i64 0, i64 0 %68 = call i32 @_EncryptSSE_EncryptFile(ptr noundef %65, ptr noundef %66, ptr noundef %67) %69 = icmp eq i32 %68, -1 br i1 %69, label %70, label %74 70: ; preds = %49 %71 = call ptr (...) @_EncryptSSE_PropErrMsg() %72 = call i32 (...) @_EncryptSSE_PropErrDesc() %73 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %71, i32 noundef %72) store i32 -1, ptr %3, align 4 br label %144 74: ; preds = %49 %75 = getelementptr inbounds [257 x i8], ptr %6, i64 0, i64 0 %76 = getelementptr inbounds [257 x i8], ptr %8, i64 0, i64 0 %77 = getelementptr inbounds [257 x i8], ptr %7, i64 0, i64 0 %78 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %75, ptr noundef %76, ptr noundef %77) store i32 0, ptr %3, align 4 br label %144 79: ; preds = %46 %80 = load i32, ptr %4, align 4 %81 = icmp eq i32 %80, 2 br i1 %81, label %82, label %141 82: ; preds = %79 %83 = getelementptr inbounds [257 x i8], ptr %6, i64 0, i64 0 %84 = load ptr, ptr %5, align 8 %85 = getelementptr inbounds ptr, ptr %84, i64 1 %86 = load ptr, ptr %85, align 8 %87 = call i32 @strcpy(ptr noundef %83, ptr noundef %86) %88 = load ptr, ptr %5, align 8 %89 = getelementptr inbounds ptr, ptr %88, i64 1 %90 = load ptr, ptr %89, align 8 %91 = call i32 @FileStat(ptr noundef %90, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12) %92 = icmp eq i32 %91, -1 br i1 %92, label %93, label %98 93: ; preds = %82 %94 = load ptr, ptr %5, align 8 %95 = getelementptr inbounds ptr, ptr %94, i64 1 %96 = load ptr, ptr %95, align 8 %97 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %96) store i32 -1, ptr %3, align 4 br label %144 98: ; preds = %82 %99 = load i32, ptr %12, align 4 %100 = icmp eq i32 %99, 1 br i1 %100, label %101, label %103 101: ; preds = %98 %102 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) store i32 -1, ptr %3, align 4 br label %144 103: ; preds = %98 %104 = getelementptr inbounds [257 x i8], ptr %7, i64 0, i64 0 %105 = getelementptr inbounds [257 x i8], ptr %6, i64 0, i64 0 %106 = call i32 @strcpy(ptr noundef %104, ptr noundef %105) %107 = getelementptr inbounds [257 x i8], ptr %7, i64 0, i64 0 %108 = call i32 @strcat(ptr noundef %107, ptr noundef @.str.5) %109 = getelementptr inbounds [257 x i8], ptr %8, i64 0, i64 0 %110 = getelementptr inbounds [257 x i8], ptr %6, i64 0, i64 0 %111 = call i32 @strcpy(ptr noundef %109, ptr noundef %110) %112 = getelementptr inbounds [257 x i8], ptr %8, i64 0, i64 0 %113 = call i32 @strcat(ptr noundef %112, ptr noundef @.str.2) %114 = getelementptr inbounds [257 x i8], ptr %6, i64 0, i64 0 %115 = getelementptr inbounds [257 x i8], ptr %7, i64 0, i64 0 %116 = getelementptr inbounds [257 x i8], ptr %8, i64 0, i64 0 %117 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %114, ptr noundef %115, ptr noundef %116) %118 = getelementptr inbounds [257 x i8], ptr %7, i64 0, i64 0 %119 = load i64, ptr %9, align 8 %120 = call i32 @_Padmake_MakePadFile(ptr noundef %118, i64 noundef %119, i32 noundef 1) %121 = icmp eq i32 %120, -1 br i1 %121, label %122, label %125 122: ; preds = %103 %123 = call ptr (...) @_Padmake_PropErrMsg() %124 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %123) store i32 -1, ptr %3, align 4 br label %144 125: ; preds = %103 %126 = getelementptr inbounds [257 x i8], ptr %6, i64 0, i64 0 %127 = getelementptr inbounds [257 x i8], ptr %7, i64 0, i64 0 %128 = getelementptr inbounds [257 x i8], ptr %8, i64 0, i64 0 %129 = call i32 @_EncryptSSE_EncryptFile(ptr noundef %126, ptr noundef %127, ptr noundef %128) %130 = icmp eq i32 %129, -1 br i1 %130, label %131, label %135 131: ; preds = %125 %132 = call ptr (...) @_EncryptSSE_PropErrMsg() %133 = call i32 (...) @_EncryptSSE_PropErrDesc() %134 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %132, i32 noundef %133) store i32 -1, ptr %3, align 4 br label %144 135: ; preds = %125 %136 = getelementptr inbounds [257 x i8], ptr %6, i64 0, i64 0 %137 = getelementptr inbounds [257 x i8], ptr %7, i64 0, i64 0 %138 = getelementptr inbounds [257 x i8], ptr %8, i64 0, i64 0 %139 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %136, ptr noundef %137, ptr noundef %138) br label %140 140: ; preds = %135 br label %141 141: ; preds = %140, %79 br label %142 142: ; preds = %141 br label %143 143: ; preds = %142 store i32 0, ptr %3, align 4 br label %144 144: ; preds = %143, %131, %122, %101, %93, %74, %70, %41, %37 %145 = load i32, ptr %3, align 4 ret i32 %145 } declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @_EncryptSSE_EncryptFile(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @_EncryptSSE_PropErrMsg(...) #1 declare i32 @_EncryptSSE_PropErrDesc(...) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @FileStat(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @_Padmake_MakePadFile(ptr noundef, i64 noundef, i32 noundef) #1 declare ptr @_Padmake_PropErrMsg(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpceqhqp3n.c' source_filename = "/tmp/tmpceqhqp3n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @n2a_wcsdup(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i32 @wcslen(ptr noundef %6) %8 = add nsw i32 %7, 1 %9 = sext i32 %8 to i64 store i64 %9, ptr %5, align 8 %10 = load i64, ptr %5, align 8 %11 = mul i64 %10, 4 %12 = call ptr @malloc(i64 noundef %11) store ptr %12, ptr %4, align 8 %13 = load ptr, ptr %4, align 8 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %16 15: ; preds = %1 store ptr null, ptr %2, align 8 br label %22 16: ; preds = %1 %17 = load ptr, ptr %4, align 8 %18 = load ptr, ptr %3, align 8 %19 = load i64, ptr %5, align 8 %20 = call i32 @n2a_wcscpy(ptr noundef %17, ptr noundef %18, i64 noundef %19) %21 = load ptr, ptr %4, align 8 store ptr %21, ptr %2, align 8 br label %22 22: ; preds = %16, %15 %23 = load ptr, ptr %2, align 8 ret ptr %23 } declare i32 @wcslen(ptr noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i32 @n2a_wcscpy(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpceqhqp3n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @n2a_wcsdup(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i32 @wcslen(ptr noundef %6) %8 = add nsw i32 %7, 1 %9 = sext i32 %8 to i64 store i64 %9, ptr %5, align 8 %10 = load i64, ptr %5, align 8 %11 = mul i64 %10, 4 %12 = call ptr @malloc(i64 noundef %11) store ptr %12, ptr %4, align 8 %13 = load ptr, ptr %4, align 8 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %16 15: ; preds = %1 store ptr null, ptr %2, align 8 br label %22 16: ; preds = %1 %17 = load ptr, ptr %4, align 8 %18 = load ptr, ptr %3, align 8 %19 = load i64, ptr %5, align 8 %20 = call i32 @n2a_wcscpy(ptr noundef %17, ptr noundef %18, i64 noundef %19) %21 = load ptr, ptr %4, align 8 store ptr %21, ptr %2, align 8 br label %22 22: ; preds = %16, %15 %23 = load ptr, ptr %2, align 8 ret ptr %23 } declare i32 @wcslen(ptr noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i32 @n2a_wcscpy(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpl1k4k503.c' source_filename = "/tmp/tmpl1k4k503.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @s_sqrt(float noundef %0) #0 { %2 = alloca float, align 4 %3 = alloca float, align 4 store float %0, ptr %3, align 4 %4 = load float, ptr %3, align 4 %5 = fpext float %4 to double %6 = fcmp olt double %5, 0.000000e+00 br i1 %6, label %7, label %12 7: ; preds = %1 %8 = load float, ptr %3, align 4 %9 = call float @abs(float noundef %8) %10 = call float @sqrt(float noundef %9) %11 = fneg float %10 store float %11, ptr %2, align 4 br label %15 12: ; preds = %1 %13 = load float, ptr %3, align 4 %14 = call float @sqrt(float noundef %13) store float %14, ptr %2, align 4 br label %15 15: ; preds = %12, %7 %16 = load float, ptr %2, align 4 ret float %16 } declare float @sqrt(float noundef) #1 declare float @abs(float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpl1k4k503.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @s_sqrt(float noundef %0) #0 { %2 = alloca float, align 4 %3 = alloca float, align 4 store float %0, ptr %3, align 4 %4 = load float, ptr %3, align 4 %5 = fpext float %4 to double %6 = fcmp olt double %5, 0.000000e+00 br i1 %6, label %7, label %12 7: ; preds = %1 %8 = load float, ptr %3, align 4 %9 = call float @abs(float noundef %8) %10 = call float @sqrt(float noundef %9) %11 = fneg float %10 store float %11, ptr %2, align 4 br label %15 12: ; preds = %1 %13 = load float, ptr %3, align 4 %14 = call float @sqrt(float noundef %13) store float %14, ptr %2, align 4 br label %15 15: ; preds = %12, %7 %16 = load float, ptr %2, align 4 ret float %16 } declare float @sqrt(float noundef) #1 declare float @abs(float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppjgdhzs3.c' source_filename = "/tmp/tmppjgdhzs3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nop_milli() #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 sle i32 %3, 293 br i1 %4, label %5, label %10 5: ; preds = %2 %6 = call i32 (...) @nop() 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 @nop(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmppjgdhzs3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nop_milli() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = load i32, ptr %1, align 4 %3 = icmp sle i32 %2, 293 br i1 %3, label %.lr.ph, label %11 .lr.ph: ; preds = %0 br label %4 4: ; preds = %.lr.ph, %6 %5 = call i32 (...) @nop() 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 sle i32 %9, 293 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 @nop(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpw2vytkjo.c' source_filename = "/tmp/tmpw2vytkjo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = load i32, ptr @EOF, align 4 store i32 %5, ptr %2, align 4 store i32 0, ptr %3, align 4 br label %6 6: ; preds = %51, %0 %7 = call i32 (...) @getchar() store i32 %7, ptr %2, align 4 %8 = load i32, ptr @EOF, align 4 %9 = icmp ne i32 %7, %8 br i1 %9, label %10, label %52 10: ; preds = %6 %11 = load i32, ptr %2, align 4 %12 = icmp eq i32 %11, 32 br i1 %12, label %13, label %35 13: ; preds = %10 %14 = call i32 @count_num_spaces(ptr noundef %2) store i32 %14, ptr %4, align 4 br label %15 15: ; preds = %18, %13 %16 = load i32, ptr %4, align 4 %17 = icmp sge i32 %16, 4 br i1 %17, label %18, label %24 18: ; preds = %15 %19 = load i32, ptr %4, align 4 %20 = sub nsw i32 %19, 4 store i32 %20, ptr %4, align 4 %21 = call i32 @putchar(i32 noundef 9) %22 = load i32, ptr %3, align 4 %23 = add nsw i32 %22, 4 store i32 %23, ptr %3, align 4 br label %15, !llvm.loop !6 24: ; preds = %15 br label %25 25: ; preds = %28, %24 %26 = load i32, ptr %4, align 4 %27 = icmp sgt i32 %26, 0 br i1 %27, label %28, label %34 28: ; preds = %25 %29 = load i32, ptr %4, align 4 %30 = add nsw i32 %29, -1 store i32 %30, ptr %4, align 4 %31 = call i32 @putchar(i32 noundef 32) %32 = load i32, ptr %3, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %3, align 4 br label %25, !llvm.loop !8 34: ; preds = %25 br label %35 35: ; preds = %34, %10 %36 = load i32, ptr %2, align 4 %37 = icmp eq i32 %36, 10 br i1 %37, label %38, label %40 38: ; preds = %35 store i32 0, ptr %3, align 4 %39 = call i32 @putchar(i32 noundef 10) br label %40 40: ; preds = %38, %35 %41 = load i32, ptr %2, align 4 %42 = icmp ne i32 %41, 10 br i1 %42, label %43, label %51 43: ; preds = %40 %44 = load i32, ptr %2, align 4 %45 = icmp ne i32 %44, 32 br i1 %45, label %46, label %51 46: ; preds = %43 %47 = load i32, ptr %2, align 4 %48 = call i32 @putchar(i32 noundef %47) %49 = load i32, ptr %3, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %3, align 4 br label %51 51: ; preds = %46, %43, %40 br label %6, !llvm.loop !9 52: ; preds = %6 ret i32 0 } declare i32 @getchar(...) #1 declare i32 @count_num_spaces(ptr noundef) #1 declare i32 @putchar(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/tmpw2vytkjo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = load i32, ptr @EOF, align 4 store i32 %5, ptr %2, align 4 store i32 0, ptr %3, align 4 %6 = call i32 (...) @getchar() store i32 %6, ptr %2, align 4 %7 = load i32, ptr @EOF, align 4 %8 = icmp ne i32 %6, %7 br i1 %8, label %.lr.ph5, label %56 .lr.ph5: ; preds = %0 br label %9 9: ; preds = %.lr.ph5, %52 %10 = load i32, ptr %2, align 4 %11 = icmp eq i32 %10, 32 br i1 %11, label %12, label %36 12: ; preds = %9 %13 = call i32 @count_num_spaces(ptr noundef %2) store i32 %13, ptr %4, align 4 %14 = load i32, ptr %4, align 4 %15 = icmp sge i32 %14, 4 br i1 %15, label %.lr.ph, label %24 .lr.ph: ; preds = %12 br label %16 16: ; preds = %.lr.ph, %16 %17 = load i32, ptr %4, align 4 %18 = sub nsw i32 %17, 4 store i32 %18, ptr %4, align 4 %19 = call i32 @putchar(i32 noundef 9) %20 = load i32, ptr %3, align 4 %21 = add nsw i32 %20, 4 store i32 %21, ptr %3, align 4 %22 = load i32, ptr %4, align 4 %23 = icmp sge i32 %22, 4 br i1 %23, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %24 24: ; preds = %._crit_edge, %12 %25 = load i32, ptr %4, align 4 %26 = icmp sgt i32 %25, 0 br i1 %26, label %.lr.ph2, label %35 .lr.ph2: ; preds = %24 br label %27 27: ; preds = %.lr.ph2, %27 %28 = load i32, ptr %4, align 4 %29 = add nsw i32 %28, -1 store i32 %29, ptr %4, align 4 %30 = call i32 @putchar(i32 noundef 32) %31 = load i32, ptr %3, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %3, align 4 %33 = load i32, ptr %4, align 4 %34 = icmp sgt i32 %33, 0 br i1 %34, label %27, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %27 br label %35 35: ; preds = %._crit_edge3, %24 br label %36 36: ; preds = %35, %9 %37 = load i32, ptr %2, align 4 %38 = icmp eq i32 %37, 10 br i1 %38, label %39, label %41 39: ; preds = %36 store i32 0, ptr %3, align 4 %40 = call i32 @putchar(i32 noundef 10) br label %41 41: ; preds = %39, %36 %42 = load i32, ptr %2, align 4 %43 = icmp ne i32 %42, 10 br i1 %43, label %44, label %52 44: ; preds = %41 %45 = load i32, ptr %2, align 4 %46 = icmp ne i32 %45, 32 br i1 %46, label %47, label %52 47: ; preds = %44 %48 = load i32, ptr %2, align 4 %49 = call i32 @putchar(i32 noundef %48) %50 = load i32, ptr %3, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %3, align 4 br label %52 52: ; preds = %47, %44, %41 %53 = call i32 (...) @getchar() store i32 %53, ptr %2, align 4 %54 = load i32, ptr @EOF, align 4 %55 = icmp ne i32 %53, %54 br i1 %55, label %9, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %52 br label %56 56: ; preds = %._crit_edge6, %0 ret i32 0 } declare i32 @getchar(...) #1 declare i32 @count_num_spaces(ptr noundef) #1 declare i32 @putchar(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/tmpn4syeta0.c' source_filename = "/tmp/tmpn4syeta0.c" target datalayout = "e-m:e-p270: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/tmpn4syeta0.c" target datalayout = "e-m:e-p270: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/tmpuwykj4yy.c' source_filename = "/tmp/tmpuwykj4yy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\09bar\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_task_b() #0 { br label %1 1: ; preds = %0, %1 %2 = call i32 @sys_write(ptr noundef @.str) %3 = call i32 @task_destroy(i32 noundef 1) br label %1 } declare i32 @sys_write(ptr noundef) #1 declare i32 @task_destroy(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/tmpuwykj4yy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\09bar\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_task_b() #0 { br label %1 1: ; preds = %1, %0 %2 = call i32 @sys_write(ptr noundef @.str) %3 = call i32 @task_destroy(i32 noundef 1) br label %1 } declare i32 @sys_write(ptr noundef) #1 declare i32 @task_destroy(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/tmpy5gojgqn.c' source_filename = "/tmp/tmpy5gojgqn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"out of memory\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @srealloc(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %8, label %12 8: ; preds = %2 %9 = load ptr, ptr %3, align 8 %10 = load i64, ptr %4, align 8 %11 = call ptr @realloc(ptr noundef %9, i64 noundef %10) #4 store ptr %11, ptr %5, align 8 br label %15 12: ; preds = %2 %13 = load i64, ptr %4, align 8 %14 = call ptr @malloc(i64 noundef %13) #5 store ptr %14, ptr %5, align 8 br label %15 15: ; preds = %12, %8 %16 = load ptr, ptr %5, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %20, label %18 18: ; preds = %15 %19 = call i32 @fatal(ptr noundef @.str) br label %20 20: ; preds = %18, %15 %21 = load ptr, ptr %5, align 8 ret ptr %21 } ; Function Attrs: allocsize(1) declare ptr @realloc(ptr noundef, i64 noundef) #1 ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #2 declare i32 @fatal(ptr noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { allocsize(1) } attributes #5 = { allocsize(0) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy5gojgqn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"out of memory\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @srealloc(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %8, label %12 8: ; preds = %2 %9 = load ptr, ptr %3, align 8 %10 = load i64, ptr %4, align 8 %11 = call ptr @realloc(ptr noundef %9, i64 noundef %10) #4 store ptr %11, ptr %5, align 8 br label %15 12: ; preds = %2 %13 = load i64, ptr %4, align 8 %14 = call ptr @malloc(i64 noundef %13) #5 store ptr %14, ptr %5, align 8 br label %15 15: ; preds = %12, %8 %16 = load ptr, ptr %5, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %20, label %18 18: ; preds = %15 %19 = call i32 @fatal(ptr noundef @.str) br label %20 20: ; preds = %18, %15 %21 = load ptr, ptr %5, align 8 ret ptr %21 } ; Function Attrs: allocsize(1) declare ptr @realloc(ptr noundef, i64 noundef) #1 ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #2 declare i32 @fatal(ptr noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { allocsize(1) } attributes #5 = { allocsize(0) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbj5lotjz.c' source_filename = "/tmp/tmpbj5lotjz.c" target datalayout = "e-m:e-p270: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/tmpbj5lotjz.c" target datalayout = "e-m:e-p270: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/tmpj2tfh2z2.c' source_filename = "/tmp/tmpj2tfh2z2.c" target datalayout = "e-m:e-p270: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 [42 x i8] c"Usage [-d][-p PORT][-t TIMEOUT] <device>\0A\00", align 1 @.str.1 = private unnamed_addr constant [59 x i8] c"Where <device> is /dev/ttyUSB0:9600:8N1 or localhost:5000\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = load i32, ptr @stderr, align 4 %4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.1) %5 = call i32 @exit(i32 noundef 2) #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/tmpj2tfh2z2.c" target datalayout = "e-m:e-p270: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 [42 x i8] c"Usage [-d][-p PORT][-t TIMEOUT] <device>\0A\00", align 1 @.str.1 = private unnamed_addr constant [59 x i8] c"Where <device> is /dev/ttyUSB0:9600:8N1 or localhost:5000\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = load i32, ptr @stderr, align 4 %4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.1) %5 = call i32 @exit(i32 noundef 2) #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/tmpxt71gj4y.c' source_filename = "/tmp/tmpxt71gj4y.c" target datalayout = "e-m:e-p270: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/tmpxt71gj4y.c" target datalayout = "e-m:e-p270: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/tmpqii5y41z.c' source_filename = "/tmp/tmpqii5y41z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [41 x i8] c"Usage: wlan_interleaver_gentab [OPTION]\0A\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c" h : print help\0A\00", align 1 @.str.2 = private unnamed_addr constant [49 x i8] c" r : rate {6,9,12,18,24,36,48,54} M bits/s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqii5y41z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [41 x i8] c"Usage: wlan_interleaver_gentab [OPTION]\0A\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c" h : print help\0A\00", align 1 @.str.2 = private unnamed_addr constant [49 x i8] c" r : rate {6,9,12,18,24,36,48,54} M bits/s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpw5kcnnwx.c' source_filename = "/tmp/tmpw5kcnnwx.c" target datalayout = "e-m:e-p270: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/tmpw5kcnnwx.c" target datalayout = "e-m:e-p270: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/tmp73p0t5iu.c' source_filename = "/tmp/tmp73p0t5iu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"==> %s <==\0A\00", align 1 @STDOUT_FILENO = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_string(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [100 x i8], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 100, ptr %4, align 4 %6 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0 %7 = load i32, ptr %4, align 4 %8 = load ptr, ptr %2, align 8 %9 = call i32 @snprintf(ptr noundef %6, i32 noundef %7, ptr noundef @.str, ptr noundef %8) store i32 0, ptr %5, align 4 br label %10 10: ; preds = %27, %1 %11 = load i32, ptr %5, align 4 %12 = icmp slt i32 %11, 200 br i1 %12, label %13, label %30 13: ; preds = %10 %14 = load i32, ptr @STDOUT_FILENO, align 4 %15 = load i32, ptr %5, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 %16 %18 = call i32 @write(i32 noundef %14, ptr noundef %17, i32 noundef 1) %19 = load i32, ptr %5, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 %20 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = icmp eq i32 %23, 10 br i1 %24, label %25, label %26 25: ; preds = %13 br label %30 26: ; preds = %13 br label %27 27: ; preds = %26 %28 = load i32, ptr %5, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %5, align 4 br label %10, !llvm.loop !6 30: ; preds = %25, %10 ret void } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @write(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/tmp73p0t5iu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"==> %s <==\0A\00", align 1 @STDOUT_FILENO = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_string(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [100 x i8], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 100, ptr %4, align 4 %6 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0 %7 = load i32, ptr %4, align 4 %8 = load ptr, ptr %2, align 8 %9 = call i32 @snprintf(ptr noundef %6, i32 noundef %7, ptr noundef @.str, ptr noundef %8) store i32 0, ptr %5, align 4 %10 = load i32, ptr %5, align 4 %11 = icmp slt i32 %10, 200 br i1 %11, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %1 br label %12 12: ; preds = %.lr.ph, %26 %13 = load i32, ptr @STDOUT_FILENO, align 4 %14 = load i32, ptr %5, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 %15 %17 = call i32 @write(i32 noundef %13, ptr noundef %16, i32 noundef 1) %18 = load i32, ptr %5, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 %19 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp eq i32 %22, 10 br i1 %23, label %24, label %25 24: ; preds = %12 br label %31 25: ; preds = %12 br label %26 26: ; preds = %25 %27 = load i32, ptr %5, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %5, align 4 %29 = load i32, ptr %5, align 4 %30 = icmp slt i32 %29, 200 br i1 %30, label %12, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %26 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %1 br label %31 31: ; preds = %.loopexit, %24 ret void } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @write(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/tmpmk074gx2.c' source_filename = "/tmp/tmpmk074gx2.c" target datalayout = "e-m:e-p270: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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = load i32, ptr %4, align 4 %10 = icmp eq i32 %9, 1 br i1 %10, label %11, label %18 11: ; preds = %2 br label %12 12: ; preds = %15, %11 %13 = call i32 @read(i32 noundef 0, ptr noundef %7, i32 noundef 1) %14 = icmp eq i32 %13, 1 br i1 %14, label %15, label %17 15: ; preds = %12 %16 = call i32 @write(i32 noundef 1, ptr noundef %7, i32 noundef 1) br label %12, !llvm.loop !6 17: ; preds = %12 br label %47 18: ; preds = %2 store i32 1, ptr %8, align 4 br label %19 19: ; preds = %43, %18 %20 = load i32, ptr %8, align 4 %21 = load i32, ptr %4, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %23, label %46 23: ; preds = %19 %24 = load ptr, ptr %5, align 8 %25 = load i32, ptr %8, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds ptr, ptr %24, i64 %26 %28 = load ptr, ptr %27, align 8 %29 = load i32, ptr @O_RDONLY, align 4 %30 = call i32 @open(ptr noundef %28, i32 noundef %29, i32 noundef 0) store i32 %30, ptr %6, align 4 %31 = icmp eq i32 %30, -1 br i1 %31, label %32, label %33 32: ; preds = %23 store i32 1, ptr %3, align 4 br label %48 33: ; preds = %23 br label %34 34: ; preds = %38, %33 %35 = load i32, ptr %6, align 4 %36 = call i32 @read(i32 noundef %35, ptr noundef %7, i32 noundef 1) %37 = icmp eq i32 %36, 1 br i1 %37, label %38, label %40 38: ; preds = %34 %39 = call i32 @write(i32 noundef 1, ptr noundef %7, i32 noundef 1) br label %34, !llvm.loop !8 40: ; preds = %34 %41 = load i32, ptr %6, align 4 %42 = call i32 @close(i32 noundef %41) br label %43 43: ; preds = %40 %44 = load i32, ptr %8, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %8, align 4 br label %19, !llvm.loop !9 46: ; preds = %19 br label %47 47: ; preds = %46, %17 store i32 0, ptr %3, align 4 br label %48 48: ; preds = %47, %32 %49 = load i32, ptr %3, align 4 ret i32 %49 } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @open(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"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmk074gx2.c" target datalayout = "e-m:e-p270: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 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = load i32, ptr %4, align 4 %10 = icmp eq i32 %9, 1 br i1 %10, label %11, label %19 11: ; preds = %2 %12 = call i32 @read(i32 noundef 0, ptr noundef %7, i32 noundef 1) %13 = icmp eq i32 %12, 1 br i1 %13, label %.lr.ph5, label %18 .lr.ph5: ; preds = %11 br label %14 14: ; preds = %.lr.ph5, %14 %15 = call i32 @write(i32 noundef 1, ptr noundef %7, i32 noundef 1) %16 = call i32 @read(i32 noundef 0, ptr noundef %7, i32 noundef 1) %17 = icmp eq i32 %16, 1 br i1 %17, label %14, label %._crit_edge6, !llvm.loop !6 ._crit_edge6: ; preds = %14 br label %18 18: ; preds = %._crit_edge6, %11 br label %52 19: ; preds = %2 store i32 1, ptr %8, align 4 %20 = load i32, ptr %8, align 4 %21 = load i32, ptr %4, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %.lr.ph2, label %51 .lr.ph2: ; preds = %19 br label %23 23: ; preds = %.lr.ph2, %45 %24 = load ptr, ptr %5, align 8 %25 = load i32, ptr %8, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds ptr, ptr %24, i64 %26 %28 = load ptr, ptr %27, align 8 %29 = load i32, ptr @O_RDONLY, align 4 %30 = call i32 @open(ptr noundef %28, i32 noundef %29, i32 noundef 0) store i32 %30, ptr %6, align 4 %31 = icmp eq i32 %30, -1 br i1 %31, label %32, label %33 32: ; preds = %23 store i32 1, ptr %3, align 4 br label %53 33: ; preds = %23 %34 = load i32, ptr %6, align 4 %35 = call i32 @read(i32 noundef %34, ptr noundef %7, i32 noundef 1) %36 = icmp eq i32 %35, 1 br i1 %36, label %.lr.ph, label %42 .lr.ph: ; preds = %33 br label %37 37: ; preds = %.lr.ph, %37 %38 = call i32 @write(i32 noundef 1, ptr noundef %7, i32 noundef 1) %39 = load i32, ptr %6, align 4 %40 = call i32 @read(i32 noundef %39, ptr noundef %7, i32 noundef 1) %41 = icmp eq i32 %40, 1 br i1 %41, label %37, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %37 br label %42 42: ; preds = %._crit_edge, %33 %43 = load i32, ptr %6, align 4 %44 = call i32 @close(i32 noundef %43) br label %45 45: ; preds = %42 %46 = load i32, ptr %8, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %8, align 4 %48 = load i32, ptr %8, align 4 %49 = load i32, ptr %4, align 4 %50 = icmp slt i32 %48, %49 br i1 %50, label %23, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %45 br label %51 51: ; preds = %._crit_edge3, %19 br label %52 52: ; preds = %51, %18 store i32 0, ptr %3, align 4 br label %53 53: ; preds = %52, %32 %54 = load i32, ptr %3, align 4 ret i32 %54 } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @open(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"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpkre807u9.c' source_filename = "/tmp/tmpkre807u9.c" target datalayout = "e-m:e-p270: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/tmpkre807u9.c" target datalayout = "e-m:e-p270: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/tmp9t7nwc8m.c' source_filename = "/tmp/tmp9t7nwc8m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"The time is %ld\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 store i32 0, ptr %1, align 4 store i32 1, ptr %2, align 4 br label %4 4: ; preds = %12, %0 %5 = load i32, ptr %2, align 4 %6 = icmp sle i32 %5, 10 br i1 %6, label %7, label %15 7: ; preds = %4 %8 = call i32 @time(ptr noundef null) store i32 %8, ptr %3, align 4 %9 = load i32, ptr %3, align 4 %10 = call i32 @printf(ptr noundef @.str, i32 noundef %9) %11 = call i32 @sleep(i32 noundef 2) br label %12 12: ; preds = %7 %13 = load i32, ptr %2, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %2, align 4 br label %4, !llvm.loop !6 15: ; preds = %4 %16 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @time(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @sleep(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9t7nwc8m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"The time is %ld\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 store i32 0, ptr %1, align 4 store i32 1, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp sle i32 %4, 10 br i1 %5, label %.lr.ph, label %16 .lr.ph: ; preds = %0 br label %6 6: ; preds = %.lr.ph, %11 %7 = call i32 @time(ptr noundef null) store i32 %7, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = call i32 @printf(ptr noundef @.str, i32 noundef %8) %10 = call i32 @sleep(i32 noundef 2) br label %11 11: ; preds = %6 %12 = load i32, ptr %2, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %2, align 4 %14 = load i32, ptr %2, align 4 %15 = icmp sle i32 %14, 10 br i1 %15, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %11 br label %16 16: ; preds = %._crit_edge, %0 %17 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @time(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @sleep(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpoise2boy.c' source_filename = "/tmp/tmpoise2boy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 void @factors(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 1, ptr %3, align 4 br label %4 4: ; preds = %17, %1 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp sle i32 %5, %6 br i1 %7, label %8, label %20 8: ; preds = %4 %9 = load i32, ptr %2, align 4 %10 = load i32, ptr %3, align 4 %11 = srem i32 %9, %10 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %8 %14 = load i32, ptr %3, align 4 %15 = call i32 @printf(ptr noundef @.str, i32 noundef %14) br label %16 16: ; preds = %13, %8 br label %17 17: ; preds = %16 %18 = load i32, ptr %3, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %3, align 4 br label %4, !llvm.loop !6 20: ; preds = %4 ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpoise2boy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 void @factors(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 1, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = load i32, ptr %2, align 4 %6 = icmp sle i32 %4, %5 br i1 %6, label %.lr.ph, label %22 .lr.ph: ; preds = %1 br label %7 7: ; preds = %.lr.ph, %16 %8 = load i32, ptr %2, align 4 %9 = load i32, ptr %3, align 4 %10 = srem i32 %8, %9 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %15 12: ; preds = %7 %13 = load i32, ptr %3, align 4 %14 = call i32 @printf(ptr noundef @.str, i32 noundef %13) br label %15 15: ; preds = %12, %7 br label %16 16: ; preds = %15 %17 = load i32, ptr %3, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %3, align 4 %19 = load i32, ptr %3, align 4 %20 = load i32, ptr %2, align 4 %21 = icmp sle i32 %19, %20 br i1 %21, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %22 22: ; preds = %._crit_edge, %1 ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}